Re: python3 package import difference?

2024-08-07 Thread Ronaldo Sc via Python-list
I believe you will need to track the modules in the folder *dbi *in the root file '__init__.py'. So there's an alternative to use the statement __all__ in the root filet __init__.py, check the link where I find a use case: *https://sentry.io/answers/what-is-init-py-for-in-python/#using-__init__

Re: Python for the Playstation 3

2008-10-03 Thread sc
Terry Reedy wrote: > machine. So this seems a timely idea. But I don't have a Playstation > -- yet. > tjr have you priced them recently? I just looked and they are $200 less than the last time I looked -- eeks! Now _I_ want one! -- http://mail.python.org/mailman/listinfo/python-list

Re: list to tuple conversion

2008-10-01 Thread sc
Gary M. Josack wrote: > sc wrote: >> clp: >> >> Thanx to a recent thread I am able to have a print string >> with a variable number of formatters -- what I now lack for >> the creation of an elegant print statement is a tuple -- >> following is the cod

list to tuple conversion

2008-10-01 Thread sc
clp: Thanx to a recent thread I am able to have a print string with a variable number of formatters -- what I now lack for the creation of an elegant print statement is a tuple -- following is the code, the last line of which does not work: #!/usr/bin/python import xml.sax import eaddyhandler p

Re: List of modules available for import inside Python?

2008-09-07 Thread sc
PIL. Line > 927 in PIL/__init__.py does not exist. > > 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) > nice Gabriel, thanx! At least now "help(); modules" gives me a beautiful list -- I guess I'll find out what the buggy module is if/when I try to use it...(all PIL/__init__.py is is about 15 lines of comments (referencing a README I can't find)) sc -- http://mail.python.org/mailman/listinfo/python-list

where to join a open project in Python

2008-01-21 Thread scsoce sc
hi,all: as a newbie, i found that finding a suitable open project in Python seems hard, well, i has tried sourceforge and google code, python project is just rare or not fit for me. so i want to get any suggestion or experience from you dear pythonmates. thank you scsoce -- http://mail.python.org