Fwd: What can Nuitka do?

2014-06-28 Thread Chris “Kwpolska” Warrick
On Sat, Jun 28, 2014 at 7:40 AM, CM wrote: > I'm confused as to why it's not just a .py file. On Linux, the `nuitka` script would be run. Things in $PATH tend not to have an extension, and you don’t need one to run Python. (you can’t import files that don’t end in .py, though) > The nuitka.bat

django models

2014-06-28 Thread ngangsia akumbo
please what field can go within these django models page, events, news, offers, room types, services? -- https://mail.python.org/mailman/listinfo/python-list

nice sex

2014-06-28 Thread osmankhald86
-- https://mail.python.org/mailman/listinfo/python-list

Re: print statements and profiling a function slowed performance

2014-06-28 Thread Chris Angelico
On Sat, Jun 28, 2014 at 11:41 PM, Dennis Lee Bieber wrote: > On Fri, 27 Jun 2014 12:06:54 +1000, Chris Angelico > declaimed the following: > >> >>If x is, say, range(100), a simple "for foo in x: pass" will >>complete fairly quickly (maybe 100ms on my computer), while the >>progress-indicated

why i can't install ez_setup

2014-06-28 Thread 水静流深
I have downloaoded ez_setup.py ,when i install it ,the wrong message: >python d:\ez_setup.py Downloading https://pypi.python.org/packages/source/s/setuptools/setuptools-5.2. zip Exception calling "DownloadFile" with "2" argument(s): "Unable to connect to th e remote server" At line:1 char:152 + [

Re: What can Nuitka do?

2014-06-28 Thread Gisle Vanem
"Chris Angelico" wrote: The only other time I've been waiting for X display was when I was mobile, on a 3G connection, and using X11 forwarding on an SSH link back to my home LAN. Doing X11 calls over a network could really be a nuisance for others. And an archaic design IMHO. I remember

Re: What can Nuitka do?

2014-06-28 Thread Chris Angelico
On Sat, Jun 28, 2014 at 8:39 PM, Gisle Vanem wrote: > "Chris Angelico" wrote: > >> The only other time I've been waiting for X display was when I was >> mobile, on a 3G connection, and using X11 forwarding on an SSH link >> back to my home LAN. > > > Doing X11 calls over a network could really be

Re: why i can't install ez_setup

2014-06-28 Thread Chris “Kwpolska” Warrick
On Sat, Jun 28, 2014 at 1:49 PM, 水静流深 <1248283...@qq.com> wrote: > I have downloaoded ez_setup.py ,when i install it ,the wrong message: > >>python d:\ez_setup.py > Downloading > https://pypi.python.org/packages/source/s/setuptools/setuptools-5.2. > zip > Exception calling "DownloadFile" with "2"

Re: What can Nuitka do?

2014-06-28 Thread Roy Smith
In article , "Gisle Vanem" wrote: > "Chris Angelico" wrote: > > > The only other time I've been waiting for X display was when I was > > mobile, on a 3G connection, and using X11 forwarding on an SSH link > > back to my home LAN. > > Doing X11 calls over a network could really be a nuisance

Re: why i can't install ez_setup

2014-06-28 Thread Mark Lawrence
On 28/06/2014 16:36, Chris “Kwpolska” Warrick wrote: On Sat, Jun 28, 2014 at 1:49 PM, 水静流深 <1248283...@qq.com> wrote: I have downloaoded ez_setup.py ,when i install it ,the wrong message: python d:\ez_setup.py Downloading https://pypi.python.org/packages/source/s/setuptools/setuptools-5.2. z

Re: why i can't install ez_setup

2014-06-28 Thread Steven D'Aprano
On Sat, 28 Jun 2014 18:24:21 +0100, Mark Lawrence wrote: [snip] > Or get Python 3.4 which can get pip for you if you so desire. Hey Mark, how about trimming your replies a little, please? Thanks. -- Steven -- https://mail.python.org/mailman/listinfo/python-list

Re: why i can't install ez_setup

2014-06-28 Thread Mark Lawrence
On 28/06/2014 19:15, Steven D'Aprano wrote: On Sat, 28 Jun 2014 18:24:21 +0100, Mark Lawrence wrote: [snip] Or get Python 3.4 which can get pip for you if you so desire. Hey Mark, how about trimming your replies a little, please? Thanks. Okay, as soon as folks stop using google groups :)

Re: print statements and profiling a function slowed performance

2014-06-28 Thread Marko Rauhamaa
Chris Angelico : > Threading is a focus of so many myths. People who don't understand it > think that threads are magic pixie dust that fixes everything, or else > magic pixie dust that breaks everything. Or both, at the same time. > Neither notion is true. I'm in the latter camp. More precisely

回复: why i can't install ez_setup

2014-06-28 Thread 水静流深
I have download the setuptools-5.2.zip with wget 1.download setuptools-5.2.zip‍ ‍C:\Users\pengsir>d:\wget -c https://pypi.python.org/packages/source/s/setuptools /setuptools-5.2.zip --2014-06-29 06:42:30-- https://pypi.python.org/packages/source/s/setuptools/se tuptools-5.2.zip Resolving pypi.

Re: print statements and profiling a function slowed performance

2014-06-28 Thread Chris Angelico
On Sun, Jun 29, 2014 at 5:20 AM, Marko Rauhamaa wrote: > Chris Angelico : > >> Threading is a focus of so many myths. People who don't understand it >> think that threads are magic pixie dust that fixes everything, or else >> magic pixie dust that breaks everything. Or both, at the same time. >> N

Re: why i can't install ez_setup

2014-06-28 Thread Peter Tomcsanyi
I cannot answer the original question. But: do you need ez_setup at all? From your text it's clear that you are using Python on Windows. Therefore I suggest you to forget about the obscure Python installation tools and look at: http://www.lfd.uci.edu/~gohlke/pythonlibs/ Find there the Python

Re: why i can't install ez_setup

2014-06-28 Thread Mark Lawrence
On 29/06/2014 00:50, Peter Tomcsanyi wrote: I cannot answer the original question. But: do you need ez_setup at all? From your text it's clear that you are using Python on Windows. Therefore I suggest you to forget about the obscure Python installation tools and look at: http://www.lfd.uci.edu

Re: print statements and profiling a function slowed performance

2014-06-28 Thread Rustom Mody
On Sunday, June 29, 2014 12:50:19 AM UTC+5:30, Marko Rauhamaa wrote: > Chris Angelico wrote: > > Threading is a focus of so many myths. People who don't understand it > > think that threads are magic pixie dust that fixes everything, or else > > magic pixie dust that breaks everything. Or both, at

Re: print statements and profiling a function slowed performance

2014-06-28 Thread Chris Angelico
On Sun, Jun 29, 2014 at 12:25 PM, Rustom Mody wrote: > On Sunday, June 29, 2014 12:50:19 AM UTC+5:30, Marko Rauhamaa wrote: >> Chris Angelico wrote: > >> > Threading is a focus of so many myths. People who don't understand it >> > think that threads are magic pixie dust that fixes everything, or e