Hi everyone,
hope someone can give me some hints about my problem.
I write a program that read users input through command line(args).
This input i put it as a list. User type number that they want separated with comma
--number 1,2,3,4
The next process is to read the file and and use those numbers above to determine which part of the file will be outputted.
The file is a 2 row file which 1st row represented the user's input
1 20
2 56
3 42
4 53
5 90
6 33
So based on the user input, the system should display
1 20
2 56
3 42
4 53
My problem is because the user input i put as lists, python complains that it should be integer.
Can anyone gives me a hint? still stuck in this problem :(
Many thanks before
feli