ash wrote:
> hi,
> i want to know is there a way to run/control an external program form
> within a python program?
> thanks in advance for any
Have you tried os.system()?
--
http://mail.python.org/mailman/listinfo/python-list
If you use 'from os import *' then you shouldn't preface the commands
with os.
So, two options:
from os import *
print "Working Path: %s" % getcwd()
OR
import os
print "Working Path: %s" % os.getcwd()
One of these two ways you're not supposed to use for security reasons,
but I'm spacing on whi
Have you tried the tutorial on python.org? It's pretty good, even for
seasoned programmers.
Calad Sigilon
David Rasmussen wrote:
> What is the best book for Python newbies (seasoned programmer in other
> languages)?
>
> /David
--
http://mail.python.org/mailman/listinfo/python-list
Works fine for me, and I check it pretty frequently. Perhaps it's a
problem with your ISP's communication with the Python.org ISP?
Sybren Stuvel wrote:
> Hi all,
>
> In the past weeks, I often got this message from the python.org
> webserver:
>
> ---