Python Forum
can we write command output to new csv file using Panda package?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
can we write command output to new csv file using Panda package?
#1
Dear,
I need to execute some commands on remote servers and i need to write the output to as CSV file in python.
can we write command output to new CSV file using Panda package? how can we do this?
Reply
#2
Do you really need to use pandas? The standard library csv module might be useful: https://docs.python.org/3/library/csv.html.
Reply
#3
whether CSV or Pandas which ever is easy?
Reply
#4
Why don't you try the standard library module first then?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How can I write formatted (i.e. bold, italic, change font size, etc.) text to a file? JohnJSal 12 27,754 Feb-13-2025, 04:48 AM
Last Post: tomhansky
  MPEG DASH Package implementation similar to M3U8 package anantha_narayanan 0 530 Feb-06-2025, 03:55 AM
Last Post: anantha_narayanan
  How to write variable in a python file then import it in another python file? tatahuft 4 846 Jan-01-2025, 12:18 AM
Last Post: Skaperen
  How to run shell command, capture the output, then write it into textfile? tatahuft 4 847 Dec-20-2024, 02:13 PM
Last Post: Axel_Erfurt
  [SOLVED] [Linux] Write file and change owner? Winfried 6 1,456 Oct-17-2024, 01:15 AM
Last Post: Winfried
  How to Randomly Print a Quote From a Text File When User Types a Command on Main Menu BillKochman 13 4,067 Apr-24-2024, 05:47 AM
Last Post: Bronjer
  What does .flush do? How can I change this to write to the file? Pedroski55 3 1,278 Apr-22-2024, 01:15 PM
Last Post: snippsat
  Last record in file doesn't write to newline gonksoup 3 1,505 Jan-22-2024, 12:56 PM
Last Post: deanhystad
  Not able to install package caldwellpy and requirement txt file Samta282006 1 1,565 Dec-07-2023, 11:59 PM
Last Post: Larz60+
  write to csv file problem jacksfrustration 11 4,772 Nov-09-2023, 01:56 PM
Last Post: deanhystad

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020