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
  If I open a file write or append, is the file loaded into RAM? Pedroski55 11 1,118 Jan-14-2026, 07:49 AM
Last Post: Pedroski55
  How to Randomly Print a Quote From a Text File When User Types a Command on Main Menu BillKochman 13 7,273 Dec-16-2025, 05:29 PM
Last Post: zodazy
  how to write/overwrite data in a txt. file according to inp Quinn 2 1,587 Aug-12-2025, 04:20 PM
Last Post: Quinn
  How can I write formatted (i.e. bold, italic, change font size, etc.) text to a file? JohnJSal 13 36,670 May-20-2025, 12:26 PM
Last Post: hanmen9527
  MPEG DASH Package implementation similar to M3U8 package anantha_narayanan 1 2,105 May-05-2025, 08:34 AM
Last Post: pintailscratchy
  How to write variable in a python file then import it in another python file? tatahuft 4 2,253 Jan-01-2025, 12:18 AM
Last Post: Skaperen
  How to run shell command, capture the output, then write it into textfile? tatahuft 4 1,827 Dec-20-2024, 02:13 PM
Last Post: Axel_Erfurt
  [SOLVED] [Linux] Write file and change owner? Winfried 6 3,193 Oct-17-2024, 01:15 AM
Last Post: Winfried
  What does .flush do? How can I change this to write to the file? Pedroski55 3 2,259 Apr-22-2024, 01:15 PM
Last Post: snippsat
  Last record in file doesn't write to newline gonksoup 3 2,852 Jan-22-2024, 12: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