Oct-01-2018, 05:26 PM
I do something like this in perl
have no idea how to in python help please.
tia
oldcity
have no idea how to in python help please.
tia
oldcity
#!/usr/bin/python i = 0 with open('test-exp-yrs', 'r') as file: for line in file: datafile = line.strip(",") i = i + 1 print '(', i, ')', datafile ( 1 ) expense-16 ( 2 ) expense-17 ( 3 ) expense-18 ans=raw_input("choose file ? ") # with open(datafile, 'r') as file: # do stuff