Re: packages discoverer

2021-07-17 Thread Cameron Simpson
On 18Jul2021 00:53, jak wrote: >Sometimes, wandering around the web, I find some example of python code >that uses some class or function that I don't know and that I would like >to try. I copy the code locally and when I try to run it, I find that >the package containing the class/function is not

Re: Packages installing problem

2015-12-07 Thread Laura Creighton
In a message of Mon, 07 Dec 2015 00:32:37 +, lalith writes: >Dear sir. > >I was using Python2.7 and i move to Python3.5. >I face big trouble with installing software packages, i need in my >development. > >Lalith >-- >https://mail.python.org/mailman/listinfo/python-list Do you want to instal

Re: Re: packages, modules and double imports - oh my!

2011-10-03 Thread Dave Angel
On 01/-10/-28163 02:59 PM, Chris Withers wrote: On 03/10/2011 11:22, Chris Rebert wrote: http://docs.python.org/library/runpy.html : "The runpy module['s] main use is to implement the -m command line switch" "If the supplied module name refers to a package rather than a normal module, then tha

Re: packages, modules and double imports - oh my!

2011-10-03 Thread Chris Withers
On 03/10/2011 11:22, Chris Rebert wrote: http://docs.python.org/library/runpy.html : "The runpy module['s] main use is to implement the -m command line switch" "If the supplied module name refers to a package rather than a normal module, then that package is imported and the __main__ submodule wi

Re: packages, modules and double imports - oh my!

2011-10-03 Thread Chris Rebert
On Mon, Oct 3, 2011 at 3:11 AM, Chris Withers wrote: > Hi All, > > The attached package gives that smallest possible example of problems I'm > hitting with some SQLAlchemy declarative classes. > > In short, I want to be able to do: > > python -m pack.module and have if the __name__=='__main__' blo

Re: Packages at Python.org

2010-12-01 Thread kirby urner
Good to hear from you sir. I've enjoying working with your modules and am getting some good results. I sent you a note off-list wondering how actively you might be supporting this valuable utility. Encouraging to find you here so quickly. Kirby On Wed, Dec 1, 2010 at 2:32 PM, Ethan Furman wr

Re: Packages at Python.org

2010-12-01 Thread Jon Clements
On Dec 1, 10:32 pm, Ethan Furman wrote: > kirby.ur...@gmail.com wrote: > > > With Microsoft abandoning Visual FoxPro come 2015, we have 100K > > developers > > jumping ship (rough guess), perhaps to dot NET, but not necessarily.** > > > This page is potentially getting a lot of hits (I'm not privy

Re: Packages at Python.org

2010-12-01 Thread Ethan Furman
kirby.ur...@gmail.com wrote: With Microsoft abandoning Visual FoxPro come 2015, we have 100K developers jumping ship (rough guess), perhaps to dot NET, but not necessarily.** This page is potentially getting a lot of hits (I'm not privy to the analytics): http://packages.python.org/dbf/ The

Re: Packages at Python.org

2010-12-01 Thread python
> You may want to take a look at Dabo > http://dabodev.com/ +1 Malcolm -- http://mail.python.org/mailman/listinfo/python-list

Re: Packages at Python.org

2010-12-01 Thread Jon Clements
On Dec 1, 8:56 pm, "kirby.ur...@gmail.com" wrote: > >http://packages.python.org/dbf/ > > > So how *do* you get source code from such a web place?  I'm not > > finding > > a tar ball or installer.  Sorry if I'm missing something obvious, like > > a link > > to Sourceforge. > > Thanks to very quick

Re: Packages at Python.org

2010-12-01 Thread Robert Kern
On 12/1/10 2:56 PM, kirby.ur...@gmail.com wrote: http://packages.python.org/dbf/ So how *do* you get source code from such a web place? I'm not finding a tar ball or installer. Sorry if I'm missing something obvious, like a link to Sourceforge. Thanks to very quick replies with pointers t

Re: Packages at Python.org

2010-12-01 Thread Chris Rebert
On Wed, Dec 1, 2010 at 12:56 PM, kirby.ur...@gmail.com wrote: >> http://packages.python.org/dbf/ >> >> So how *do* you get source code from such a web place?  I'm not >> finding >> a tar ball or installer.  Sorry if I'm missing something obvious, like >> a link >> to Sourceforge. >> > > Thanks to

Re: Packages at Python.org

2010-12-01 Thread kirby.ur...@gmail.com
> http://packages.python.org/dbf/ > > So how *do* you get source code from such a web place?  I'm not > finding > a tar ball or installer.  Sorry if I'm missing something obvious, like > a link > to Sourceforge. > Thanks to very quick replies with pointers to http://pypi.python.org/pypi/dbf/ in

RE: Packages at Python.org

2010-12-01 Thread Dino Viehland
Kirby wrote: > ** Unconfirmed rumors about IronPython leave me blog searching this > afternoon. Still part of Codeplex? IronPython is still using CodePlex for bug tracking and posting releases but active development is now on GitHub w/ a Mercurial mirror. Jeff's blog has more info: http://jdha

Re: Packages at Python.org

2010-12-01 Thread Ian
On Dec 1, 1:38 pm, "kirby.ur...@gmail.com" wrote: > http://packages.python.org/dbf/ > > So how *do* you get source code from such a web place?  I'm not > finding > a tar ball or installer.  Sorry if I'm missing something obvious, like > a link > to Sourceforge. That site only contains documentati

Re: Packages at Python.org

2010-12-01 Thread Chris Rebert
On Wed, Dec 1, 2010 at 12:38 PM, kirby.ur...@gmail.com wrote: > With Microsoft abandoning Visual FoxPro come 2015, we have 100K > developers > jumping ship (rough guess), perhaps to dot NET, but not necessarily.** > > This page is potentially getting a lot of hits (I'm not privy to the > analytics

Re: Packages

2007-07-27 Thread Kevin T. Ryan
On Jul 27, 7:21 pm, Alex Popescu <[EMAIL PROTECTED]> wrote: > "Kevin T. Ryan" <[EMAIL PROTECTED]> wrote innews:[EMAIL PROTECTED]: > > > > > Hi All - > > > I'm having a problem and I hope you can help. I can't seem to import > > packages from within the package substructure as I think I should be >

Re: Packages

2007-07-27 Thread Alex Popescu
"Kevin T. Ryan" <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > Hi All - > > I'm having a problem and I hope you can help. I can't seem to import > packages from within the package substructure as I think I should be > able to. For example, I create a directory structure as follows: >

Re: Packages and modules

2005-07-26 Thread Peter Hansen
Dan wrote: >>>no executable code in >>>__init__.py is executed, even though "import test" seems to succeed. > > I've discovered that "import test" *does* cause executable code in the > package to be executed. However, I can't execute it on the command line > using "python test". Is there a way to

Re: Packages and modules

2005-07-26 Thread Dan
> > no executable code in > > __init__.py is executed, even though "import test" seems to succeed. I've discovered that "import test" *does* cause executable code in the package to be executed. However, I can't execute it on the command line using "python test". Is there a way to do this? > There

Re: Packages and modules

2005-07-26 Thread Peter Hansen
Dan Richter wrote: > I'm trying to create a package+module structure, specifically a "test" > package with all the unit tests. I'd like to have a package (directory) > "test" that has various test modules, and I'd also like "test" itself to > be a module that runs all the tests. Is this not possibl

Re: packages

2005-04-19 Thread Greg Ewing
tiissa wrote: There is: see PEP 8. http://www.python.org/peps/pep-0008.html However, I understood there was no definitive convention hence various common styles. I think this is a relatively recent development. At the time the tutorial was written, and the older parts of the standard library, ther

Re: packages

2005-04-18 Thread tiissa
Jaime Wyant wrote: What I *dont* like about the example is the PascalStyleCasing used for the package names. Is their not some *suggested* standard on naming conventions? There is: see PEP 8. http://www.python.org/peps/pep-0008.html However, I understood there was no definitive convention hence va

Re: packages

2005-04-18 Thread F. Petitjean
Le Mon, 18 Apr 2005 20:29:39 +0200, Mage a écrit : >Hello, > > I read about modules and packages in the tutorial. I think I understand > how to use packages and modules, even I know how to create a module (as > far I understand it's a simple .py) file , but I don't know how can I > create

Re: packages

2005-04-18 Thread Jaime Wyant
A package is a collection of related modules. The modules are 'collected' in a directory that contains a special __init__.py script. Put this directory some where in your PYTHONPATH and you can do stuff like -> from mypackage.mymodule import MyObject The tutorial uses a sound package as its exam

Re: packages

2005-04-18 Thread Chris Cioffi
Check out http://docs.python.org/tut/node8.html#SECTION00840 Basically a package is a directory with one or more Python modules along with the "special" module called __init__.py. Chris On 18/04/05, Mage <[EMAIL PROTECTED]> wrote: > Hello, > > I read about modules and pack