Link to home
Start Free TrialLog in
Avatar of Y Djff
Y DjffFlag for Canada

asked on

python file

I want to get specific string from file 

for example here is puzzle.smt file

the file contains is 

sat

( (V0 4)

  (V1 7)

  (V2 1)

  (V3 6)

  (V4 3)

  (V5 5)

  (V6 2)

  (V7 7)

  (V8 4)

  (V9 5)

  (V10 1) )


and I want to get number from each line after V# in this case I want to get number 

4 7 1 6 3 5 2 7 4 5 1 

how can I write this code ?



ASKER CERTIFIED SOLUTION
Avatar of slightwv (䄆 Netminder)
slightwv (䄆 Netminder)

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial