I am learning python from learnpythonthehardway. In Windows I had no issues with going through a lot of the exercises because the setup was easier, but I want to learn Linux as well and Ubuntu seemed to me the nicest choice.
Now I am having trouble with setting up. I can get access to the terminal and then /usr/lib/python.2.7, but I don't know if I should save the script in this directory? If I try to make a directory inside this through mkdir I can't as permission is denied. I also tried to do chmod but didn't know how or if to do it.
How can I correctly save my script? I would like to be able to run the script like this:
user@user$ python sampleexcercise.py and have it work.
I'm using Ubuntu 12.04.