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
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
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
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
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
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
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
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
> You may want to take a look at Dabo
> http://dabodev.com/
+1
Malcolm
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
> 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
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
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
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
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
>
"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:
>
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
> > 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
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
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
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
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
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
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
26 matches
Mail list logo