Python Forum
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python In Lunix
#6
You don't need subprocess to repeat the @nilamo's example.
Read the file using the csv module and delimiter ':'. Get the first element of each row.
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply


Messages In This Thread
Python In Lunix - by Wizard - May-11-2017, 03:38 PM
RE: Python In Lunix - by nilamo - May-11-2017, 03:55 PM
RE: Python In Lunix - by Wizard - May-11-2017, 04:54 PM
RE: Python In Lunix - by nilamo - May-11-2017, 05:00 PM
RE: Python In Lunix - by Wizard - May-11-2017, 05:59 PM
RE: Python In Lunix - by wavic - May-11-2017, 07:52 PM
RE: Python In Lunix - by Wizard - May-11-2017, 09:07 PM
RE: Python In Lunix - by nilamo - May-11-2017, 09:15 PM
RE: Python In Lunix - by Ofnuts - May-12-2017, 09:52 AM

Forum Jump:

User Panel Messages

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