Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion List of modules available for import inside Python?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jason Scheirer  
View profile  
 More options Aug 28 2008, 2:23 pm
Newsgroups: comp.lang.python
From: Jason Scheirer <jason.schei...@gmail.com>
Date: Thu, 28 Aug 2008 11:23:01 -0700 (PDT)
Local: Thurs, Aug 28 2008 2:23 pm
Subject: Re: List of modules available for import inside Python?
On Aug 27, 11:04 pm, Fredrik Lundh <fred...@pythonware.com> wrote:

> ssecorp wrote:
> > Is there a way to view all the modules I have available for import
> > from within Python?
> > Like writing in the interpreter:
> > import.modules

> there's a helper script in the 2.5 source code kit that locates all
> existing standard modules:

> http://svn.python.org/projects/python/tags/r252/Doc/tools/listmodules.py

> to get all modules, remove the for-loop that follows after the comment
> "get rid of site packages".

> also see:

> http://effbot.org/zone/listmodules-cgi.htm

> </F>

I like to direct new users to pydoc's built-in HTTP server:

import pydoc
pydoc.gui()
(then click the 'open browser' button)


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google