electronut / pp

Code for book Python Playground by Mahesh Venkitachalam (No Starch Press, USA)
568 stars 499 forks source link

reading files #5

Closed JessicaLund closed 8 years ago

JessicaLund commented 8 years ago

i am new to programming and dont understand calling the final code playlist.py to read specified files. how do i run the programme?

electronut commented 8 years ago

You need to open a command prompt (or shell if you are on OS X or Linux) and then cd to the directory with the input files, and then run the command. For example:

python playlist.py --stats test-data/rating.xml