Apps for Ubuntu (outdated) ---> http://cid-23a283fc1010a1bb.skydrive...%20Wine|6?uc=1
Use Mnemosyne to Study for School!
Dive into Python is not for beginner programmers - author assumes experience in other language, and just dives in.
Check wiki in my sig for good links (also linked from sticky FAQ)
I dont understand the following from byteofpython:
You are now able to run the program as long as you know the exact path of the program - but what if
you wanted to be able to run the program from anywhere? You can do this by storing the program in one
of the directories listed in the PATH environment variable. Whenever you run any program, the system
looks for that program in each of the directories listed in the PATH environment variable and then runs
that program. We can make this program available everywhere by simply copying this source file to one
of the directories listed in PATH.
$ echo $PATH
/opt/mono/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/swaroop/bin
$ cp helloworld.py /home/swaroop/bin/helloworld
$ helloworld
Hello World
Can someone explain it to me in further detail please?
Apps for Ubuntu (outdated) ---> http://cid-23a283fc1010a1bb.skydrive...%20Wine|6?uc=1
Use Mnemosyne to Study for School!
that's the problem of not getting familiar with your shell and shell environments before plunging into Python. Explanation here
Well, I guess it is trying to show me how to run my programs regardless of where they are but, cding to directory alone should do it for me [atleast for now], right?
Apps for Ubuntu (outdated) ---> http://cid-23a283fc1010a1bb.skydrive...%20Wine|6?uc=1
Use Mnemosyne to Study for School!
Another thing I am not really getting:
Note for Regular Expression Users
Always use raw strings when dealing with regular expressions. Otherwise, a lot of backwhack-
ing may be required. For example, backreferences can be referred to as '\\1' or r'\1'.
I bolded what I don't get. for the first one, I keep thinking the \ makes the first ' diseappear and I am getting confused. Can someone clarify this for me please?
Apps for Ubuntu (outdated) ---> http://cid-23a283fc1010a1bb.skydrive...%20Wine|6?uc=1
Use Mnemosyne to Study for School!
Bookmarks