December 2nd, 2012, 10:11 PM
How do you get the input and output file names?
I'd use stdin and stdout with command line redirection, as in
$ myprogram < wordlist.txt > scrambled.txt
You'll assuredly respond that that is illegal. Even so, it might be a good start.
Can you write a program that copies input to output?
Opens a file for reading or for writing?
Why is people scrambled in your output example?
[/code] are essential for python code!