On Thursday, August 28, 2008 at 1:12:04 AM UTC-5, Michele Simionato wrote:
> On Aug 28, 6:21 am, ssecorp wrote:
> > Is there a way to view all the modules I have available for import
> > from within Python?
> > Like writing in the interpreter:
>
> Try:
>
> >>> help()
> help> modules
> Please wai
On 2008-09-10, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> (snip) ...
>
> So to refine the question:
>how can I list all modules that might be importable on my system,
>without actually importing them all ?
>
> (How about a "pydoc2" that's well thought out, doesn't crash ...
> let me ask
Michele Simionato wrote:
I have just tried the following on my Ubuntu box with the system
Python:
~$ python /usr/lib/python2.5/doc/tools/listmodules.py
/usr/lib/python2.5/doc/tools/listmodules.py:99: DeprecationWarning:
the rgbimg module is deprecated
__import__(m)
** (process:24863): WARNIN
On Sep 10, 1:45 pm, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > how can I list all modules that might be importable on my system,
> > without actually importing them all ?
>
> I'm pretty sure I mentioned a way to do that back when this thread was
> opened. let's s
[EMAIL PROTECTED] wrote:
how can I list all modules that might be importable on my system,
without actually importing them all ?
I'm pretty sure I mentioned a way to do that back when this thread was
opened. let's see, yes, here it is:
...
there's a helper script in the 2.5 source c
> > A quick fix is to replace line 1854 in pydoc.py (ModuleScanner.run) with
> > this one:
>
> > for importer, modname, ispkg in
> > pkgutil.walk_packages(onerror=lambda name:None):
>
> > (the onerror argument makes it to ignore all errors)
well not all, for example
GLUT: Fatal Err
Gabriel Genellina wrote:
> En Sat, 06 Sep 2008 17:18:55 -0300, clurker <[EMAIL PROTECTED]>
> escribió:
>
>> Michele Simionato wrote:
>>
>>> On Aug 28, 6:21 am, ssecorp <[EMAIL PROTECTED]> wrote:
Is there a way to view all the modules I have available for import
from within Python?
En Sat, 06 Sep 2008 17:18:55 -0300, clurker <[EMAIL PROTECTED]> escribió:
> Michele Simionato wrote:
>
>> On Aug 28, 6:21 am, ssecorp <[EMAIL PROTECTED]> wrote:
>>> Is there a way to view all the modules I have available for import
>>> from within Python?
>>> Like writing in the interpreter:
>>
>>
Michele Simionato wrote:
> On Aug 28, 6:21 am, ssecorp <[EMAIL PROTECTED]> wrote:
>> Is there a way to view all the modules I have available for import
>> from within Python?
>> Like writing in the interpreter:
>
> Try:
>
help()
> help> modules
> Please wait a moment while I gather a list o
Am Thu, 28 Aug 2008 11:23:01 -0700 schrieb Jason Scheirer:
>
> I like to direct new users to pydoc's built-in HTTP server:
>
> import pydoc
> pydoc.gui()
> (then click the 'open browser' button)
>
Now, this is cool !
Thanks a lot!
Martin
--
http://mail.python.org/mailman/listinfo/python-list
On Aug 27, 11:04 pm, Fredrik Lundh <[EMAIL PROTECTED]> 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 a
[EMAIL PROTECTED] 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
Also, is there anything like Cpan for Python?
Isn't the most obvious answer to the first question this link?
depends on whether you
On Aug 28, 12:21 am, ssecorp <[EMAIL PROTECTED]> 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
>
> Also, is there anything like Cpan for Python?
Isn't the most obvious answer to the first questi
On Aug 28, 6:21 am, ssecorp <[EMAIL PROTECTED]> wrote:
> Is there a way to view all the modules I have available for import
> from within Python?
> Like writing in the interpreter:
Try:
>>> help()
help> modules
Please wait a moment while I gather a list of all available modules...
--
http://mail
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/r25
On Thu, Aug 28, 2008 at 2:21 PM, ssecorp <[EMAIL PROTECTED]> wrote:
> Also, is there anything like Cpan for Python?
Try the Python Cheese Shop / PyPi
http://pypi.python.org/pypi
cheers
James
--
--
-- "Problems are solved by method"
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, Aug 27, 2008 at 9:21 PM, ssecorp <[EMAIL PROTECTED]> 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
>
>
> Also, is there anything like Cpan for Python?
The closest thing would be PyPI (th
Is there a way to view all the modules I have available for import
from within Python?
Like writing in the interpreter:
import.modules
Also, is there anything like Cpan for Python?
--
http://mail.python.org/mailman/listinfo/python-list
18 matches
Mail list logo