[Tutor] the bios serial number

2008-02-15 Thread Jason Coggins
How do you pull up the bios serial number in Python? Jason___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] example of spawn

2007-06-05 Thread Jason Coggins
Would someone please provide me a short, simple example of the spawn statement. I am having trouble figuring the syntax out. Jason___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] example of spawn

2007-06-05 Thread Jason Coggins
', '/dev/null') Jason - Original Message - From: Alan Gauld [EMAIL PROTECTED] To: tutor@python.org Sent: Tuesday, June 05, 2007 5:32 PM Subject: Re: [Tutor] example of spawn Jason Coggins [EMAIL PROTECTED] wrote Would someone

[Tutor] Command Line Promps

2007-06-03 Thread Jason Coggins
Is it possible to have a Python program issue a command line promp to the terminal while the program is running? Jason___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Command Line Promps

2007-06-03 Thread Jason Coggins
time. I used the reply button to send a reply to the first message. I did not realize it would send the reply directly to you instead of the list. I have tried to send this reply to the list. Thanks, Jason - Original Message - From: Bob Gailer [EMAIL PROTECTED] To: Jason Coggins

[Tutor] command lines

2007-05-06 Thread Jason Coggins
Is there a way to send a command to the Linux Terminal from inside a Python program? Jason___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[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

[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] os.path.join question

2007-05-03 Thread Jason Coggins
Is it possible to use os.path.join to link to a file located in the directory above where you are currently located? If so, what is the syntax? Jason___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] What's wrong with this?

2007-05-03 Thread Jason Coggins
I have the following function in a program: os.popen('filename.py') What I want to do is launch the program in the os.popen() function. The file I am trying to launch is located in the same directory as the program the function is contained in. I also use Linux if that makes a difference.