Re: [Tutor] base directory

2007-05-05 Thread Andreas Kostyrka
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jason Coggins wrote: > I am new to Linux. On Windows the base directory is c:\. If I wanted > to open a file in a specific location in windows I would use a path such > as c:\programs\fileName.py. > > What is the base directory for Linux? / is c

[Tutor] base directory

2007-05-05 Thread Jason Coggins
I am new to Linux. On Windows the base directory is c:\. If I wanted to open a file in a specific location in windows I would use a path such as c:\programs\fileName.py. What is the base directory for Linux? Jason___ Tutor maillist - Tutor@python.

Re: [Tutor] Convert .pyc to .py

2007-05-05 Thread Shuai Jiang (Runiteking1)
Is there no opensource (free) version? I'm a kid and I don't have a credit card or bank account. On 5/5/07, Andreas Kostyrka <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Check out http://www.crazy-compilers.com/decompyle/service.html > > Andreas > > -BEGIN P

Re: [Tutor] Convert .pyc to .py

2007-05-05 Thread Andreas Kostyrka
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Check out http://www.crazy-compilers.com/decompyle/service.html Andreas Shuai Jiang (Runiteking1) wrote: > Hello, > > I was playing with pyInstaller and I moved the file to the directory. > After I finished playing with it, > I accidentally deleted

Re: [Tutor] exec syntax

2007-05-05 Thread Rikard Bosnjakovic
On 5/5/07, Jason Coggins <[EMAIL PROTECTED]> wrote: > I can see how to use it to execute a script of code embedded in the program > (that example was provided in the documentation) but I cannot figure out the > syntax to use it to run another python program in another file. Use execfile(). --

[Tutor] exec syntax

2007-05-05 Thread Jason Coggins
Would someone please provide me with a simple example of the syntax to use the exec command to open a file. I can see how to use it to execute a script of code embedded in the program (that example was provided in the documentation) but I cannot figure out the syntax to use it to run another py

[Tutor] version and path

2007-05-05 Thread linda.s
how to check how many versions of Python i have in my mac machine? also, how to put the path to the version I desire? Thanks a lot! ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] Convert .pyc to .py

2007-05-05 Thread Shuai Jiang (Runiteking1)
Hello, I was playing with pyInstaller and I moved the file to the directory. After I finished playing with it, I accidentally deleted it (I bypassed the recycle bin). Now I lost my project files and my file restoration didn't find it, but I still have the .pyc file though. I'm wondering weather