Re: [Tutor] Exploring the Standard Library

2008-07-08 Thread Tim Golden
Hansen, Mike wrote: [mailto:[EMAIL PROTECTED] On Behalf Of Nathan Farrar Sent: Saturday, July 05, 2008 12:24 PM To: Python Tutor Subject: [Tutor] Exploring the Standard Library I'd like to spend some time exploring the standard library. I'm running python on Ubuntu. How would

Re: [Tutor] Exploring the Standard Library

2008-07-08 Thread Hansen, Mike
> [mailto:[EMAIL PROTECTED] On Behalf Of Nathan Farrar > Sent: Saturday, July 05, 2008 12:24 PM > To: Python Tutor > Subject: [Tutor] Exploring the Standard Library > > I'd like to spend some time exploring the standard library. > I'm running python on Ubuntu.

Re: [Tutor] Exploring the Standard Library

2008-07-06 Thread bhaaluu
On Sat, Jul 5, 2008 at 2:23 PM, Nathan Farrar <[EMAIL PROTECTED]> wrote: > I'd like to spend some time exploring the standard library. I'm running > python on Ubuntu. How would I find the location of the modules (find / > -name "os.py" does not yield results)? > > Thanks! > Nathan > _

Re: [Tutor] Exploring the Standard Library

2008-07-05 Thread arsyed
This might work: >>> import os >>> print os.__file__ c:\devtools\Python25\lib\os.pyc Also, you might find Doug Hellman's "Python Module Of The Week" helpful: http://www.doughellmann.com/projects/PyMOTW/ On 7/5/08, Nathan Farrar <[EMAIL PROTECTED]> wrote: > > I'd like to spend some time expl

Re: [Tutor] Exploring the Standard Library

2008-07-05 Thread Monika Jisswel
import sys print sys.path but no one recommends starting with python from there. you're better of reading the python.org/doc files. 2008/7/5 Nathan Farrar <[EMAIL PROTECTED]>: > I'd like to spend some time exploring the standard library. I'm running > python on Ubuntu. How would I find the

Re: [Tutor] Exploring the Standard Library

2008-07-05 Thread amingv
The python interpreter can give you this information; just type: import sys for i in sys.path: print i And search in the lib directories it shows. You might also be interested in the std library reference at docs.python.org. -- Amin Rainmaker--- Begin Message --- I'd like to spend some time

[Tutor] Exploring the Standard Library

2008-07-05 Thread Nathan Farrar
I'd like to spend some time exploring the standard library. I'm running python on Ubuntu. How would I find the location of the modules (find / -name "os.py" does not yield results)? Thanks! Nathan ___ Tutor maillist - Tutor@python.org http://mail.pyt