[RELEASE] The first Python 3.11 beta (3.11.0b1) is available - Feature freeze is here

2022-05-07 Thread Pablo Galindo Salgado
We did it, team!! After quite a bumpy release process and a bunch of last-time fixes, we have reached **beta 1** and **feature freeze**. What a ride eh? You can get the shiny new release artefacts from here: https://www.python.org/downloads/release/python-3110b1/ ## This is a beta preview of

[RELEASE] The last Python 3.11 alpha (3.11.0a7) is available - Prepare for beta freeze

2022-04-06 Thread Pablo Galindo Salgado
Br. do you feel that? That's the chill of *beta freeze* coming closer. Meanwhile, your friendly CPython release team doesn’t rest and we have prepared a shiny new release for you: Python 3.1

[RELEASE] The last Python 3.10 alpha (3.10.0a7) is available - Prepare for beta freeze

2021-04-06 Thread Pablo Galindo Salgado
Br. do you feel that? That's the chill of *beta freeze* coming closer. Meanwhile, your friendly CPython release team doesn’t rest even on holidays and we have prepared a shiny new release for you: Python 3.10.0a7. Dear fellow

Re: Upgrade from Python 3.6 to 3.8 and cx-freeze is not available more

2020-07-22 Thread Souvik Dutta
Py2exe might help in making .exe files On Tue, Jul 21, 2020, 11:42 PM Christian SCHEIBER / KLS GmbH < [email protected]> wrote: > > > I’d like to do exe files, so the pythin interpreter has not tob e > installed. > > That’s why I use cx-freeze, but installing Python 3.8

Upgrade from Python 3.6 to 3.8 and cx-freeze is not available more

2020-07-21 Thread Christian SCHEIBER / KLS GmbH
I’d like to do exe files, so the pythin interpreter has not tob e installed. That’s why I use cx-freeze, but installing Python 3.8 after using Python 3.6 does not work. Can you tell me how I can make cx-freeze in Python 3.8 or how I can produce exe files for Windows 7 32 / 64 Bit and Win10

How to decide which module is in charge of this error? cx-Freeze or pynput or six?

2020-01-09 Thread jfong
pynput\_util\__init__.py from six.moves import queue to import queue and re-build, then that missing warning is gone and hello.exe excutes correctly. My question is how to decide which module causes this problem? PS. My environment is Windows 8.1, Python 3.6.8, cx-Freeze 5.1.1, pynput 1

Re: Dealing with errors in interactive subprocess running python interpreter that freeze the process

2018-08-03 Thread Chris Angelico
On Sat, Aug 4, 2018 at 12:03 AM, Oscar Benjamin wrote: > On 2 August 2018 at 20:54, wrote: >> >>> As others have mentioned, separate threads for the individual pipes >>> may help, or if you need to go that far there are specialised >>> libraries, I believe (pexpect is one, but from what I know i

Re: Dealing with errors in interactive subprocess running python interpreter that freeze the process

2018-08-03 Thread Oscar Benjamin
On 2 August 2018 at 20:54, wrote: > >> As others have mentioned, separate threads for the individual pipes >> may help, or if you need to go that far there are specialised >> libraries, I believe (pexpect is one, but from what I know it's fairly >> Unix-specific, so I'm not very familiar with it)

Re: Dealing with errors in interactive subprocess running python interpreter that freeze the process

2018-08-02 Thread Terry Reedy
On 8/2/2018 3:52 PM, [email protected] wrote: subprocess is not meant for interaction through the pipes. That is why, I have been told, IDLE uses a socket for interaction. Multiprocess is apparently better suited for interaction without resorting to a socket. So use normal socket on local

Re: Dealing with errors in interactive subprocess running python interpreter that freeze the process

2018-08-02 Thread Paul Moore
On Thu, 2 Aug 2018 at 20:58, wrote: > > Sorry, but there's no "simple" answer here for you (although you may > > well be able to get something that works well enough for your specific > > needs - but it's not obvious from your snippet of code what you're > > trying to achieve). > > To send and rec

Re: Dealing with errors in interactive subprocess running python interpreter that freeze the process

2018-08-02 Thread cseberino
> Another possibility: If the ONLY thing you're doing with stdout/stderr > is passing them through to the screen, simply don't change them. Let > them remain bound to the console. You can have a pipe for stdin > without also having pipes for the others. But that won't work if you > intend to do a

Re: Dealing with errors in interactive subprocess running python interpreter that freeze the process

2018-08-02 Thread cseberino
> subprocess is not meant for interaction through the pipes. That is why, > I have been told, IDLE uses a socket for interaction. Multiprocess is > apparently better suited for interaction without resorting to a socket. So use normal socket on localhost for this? Don't you still need subpro

Re: Dealing with errors in interactive subprocess running python interpreter that freeze the process

2018-08-02 Thread cseberino
> As others have mentioned, separate threads for the individual pipes > may help, or if you need to go that far there are specialised > libraries, I believe (pexpect is one, but from what I know it's fairly > Unix-specific, so I'm not very familiar with it). I'm on Linux so pexpect is a possibil

Re: Dealing with errors in interactive subprocess running python interpreter that freeze the process

2018-08-02 Thread cseberino
> -I think the Python interpreter actually sends its output to stderr, so to > capture it you'd probably want it to go to the same place as stdout, so use > stderr = subprocess.STDOUT Yes that captured the error messages! Thanks! > -You're only reading 1 line out output for each thing, so i

Re: Dealing with errors in interactive subprocess running python interpreter that freeze the process

2018-08-02 Thread Chris Angelico
On Thu, Aug 2, 2018 at 6:46 PM, Paul Moore wrote: > On Wed, 1 Aug 2018 at 21:17, wrote: >> >> I can run python3 interactively in a subprocess w/ Popen but >> if I sent it text, that throws an exception, the process freezes >> instead of just printing the exception like the normal interpreter.. >>

Re: Dealing with errors in interactive subprocess running python interpreter that freeze the process

2018-08-02 Thread Paul Moore
On Wed, 1 Aug 2018 at 21:17, wrote: > > I can run python3 interactively in a subprocess w/ Popen but > if I sent it text, that throws an exception, the process freezes > instead of just printing the exception like the normal interpreter.. > why? how fix? Here is my code below. > > (I suspect when

Re: Dealing with errors in interactive subprocess running python interpreter that freeze the process

2018-08-01 Thread Terry Reedy
On 8/1/2018 4:11 PM, [email protected] wrote: I can run python3 interactively in a subprocess w/ Popen but if I sent it text, that throws an exception, the process freezes instead of just printing the exception like the normal interpreter.. why? how fix? Here is my code below. (I suspect when

RE: Dealing with errors in interactive subprocess running python interpreter that freeze the process

2018-08-01 Thread David Raymond
;t know what to suggest for that, sorry. -Original Message- From: Python-list [mailto:[email protected]] On Behalf Of [email protected] Sent: Wednesday, August 01, 2018 4:11 PM To: [email protected] Subject: Dealing with errors in interactive

Re: Dealing with errors in interactive subprocess running python interpreter that freeze the process

2018-08-01 Thread Chris Angelico
On Thu, Aug 2, 2018 at 6:11 AM, wrote: > I can run python3 interactively in a subprocess w/ Popen but > if I sent it text, that throws an exception, the process freezes > instead of just printing the exception like the normal interpreter.. > why? how fix? Here is my code below. > > (I suspect wh

Dealing with errors in interactive subprocess running python interpreter that freeze the process

2018-08-01 Thread cseberino
I can run python3 interactively in a subprocess w/ Popen but if I sent it text, that throws an exception, the process freezes instead of just printing the exception like the normal interpreter.. why? how fix? Here is my code below. (I suspect when there is an exception, there is NO output to stdi

Re: Fwd: Fwd: Python freeze fails with warning: the use of `tempnam' is dangerous, better use `mkstemp'

2016-09-08 Thread dieter
"Alexander N. Moibenko" writes: > In fact I tried issuing commands manually, but they did not give me > any hint more than I already had. When I remember right, then "gcc" has an option to show details about the calling of the phase commands ("gcc" is a coordinating programm delegating the real w

Re: Fwd: Fwd: Python freeze fails with warning: the use of `tempnam' is dangerous, better use `mkstemp'

2016-09-08 Thread Alexander N. Moibenko
On 09/08/2016 12:19 PM, Chris Angelico wrote: On Fri, Sep 9, 2016 at 2:50 AM, Alexander N. Moibenko wrote: The output is long so, I am replying to you only: Not too long, fortunately. Replying back to the list with a trimmed version. make[1]: Entering directory `/opt/enstore/src/ENCPBIN_TE

Re: Fwd: Fwd: Python freeze fails with warning: the use of `tempnam' is dangerous, better use `mkstemp'

2016-09-08 Thread Chris Angelico
On Fri, Sep 9, 2016 at 2:50 AM, Alexander N. Moibenko wrote: > The output is long so, I am replying to you only: Not too long, fortunately. Replying back to the list with a trimmed version. > make[1]: Entering directory `/opt/enstore/src/ENCPBIN_TEMP' (Curious path name.) > /opt/enstore/Python

Re: Fwd: Fwd: Python freeze fails with warning: the use of `tempnam' is dangerous, better use `mkstemp'

2016-09-08 Thread Chris Angelico
On Fri, Sep 9, 2016 at 1:12 AM, Alexander N. Moibenko wrote: > Yes this Linux Red Hat 6. > > [enstore@dmsen02 enstore-log]$ cat /etc/redhat-release > Scientific Linux Fermi release 6.5 (Ramsey) > Please note that the same set of modules buils with python 2.6.3 and fails > with python 2.7 ( I m

Re: Fwd: Fwd: Python freeze fails with warning: the use of `tempnam' is dangerous, better use `mkstemp'

2016-09-08 Thread Alexander N. Moibenko
On 09/08/2016 11:06 AM, Rustom Mody wrote: On Thursday, September 8, 2016 at 8:57:23 PM UTC+5:30, Alexander N. Moibenko wrote: Yes this Linux Red Hat 6. [enstore@dmsen02 enstore-log]$ cat /etc/redhat-release Scientific Linux Fermi release 6.5 (Ramsey) Please note that the same set of modules

Re: Fwd: Fwd: Python freeze fails with warning: the use of `tempnam' is dangerous, better use `mkstemp'

2016-09-08 Thread Rustom Mody
On Thursday, September 8, 2016 at 8:57:23 PM UTC+5:30, Alexander N. Moibenko wrote: > Yes this Linux Red Hat 6. > > [enstore@dmsen02 enstore-log]$ cat /etc/redhat-release > Scientific Linux Fermi release 6.5 (Ramsey) > Please note that the same set of modules buils with python 2.6.3 and > fails

Re: Fwd: Fwd: Python freeze fails with warning: the use of `tempnam' is dangerous, better use `mkstemp'

2016-09-08 Thread Alexander N. Moibenko
Yes this Linux Red Hat 6. [enstore@dmsen02 enstore-log]$ cat /etc/redhat-release Scientific Linux Fermi release 6.5 (Ramsey) Please note that the same set of modules buils with python 2.6.3 and fails with python 2.7 ( I mean any pyhon 2.7 release). On 09/08/2016 09:51 AM, Chris Angelico w

Re: Fwd: Fwd: Python freeze fails with warning: the use of `tempnam' is dangerous, better use `mkstemp'

2016-09-08 Thread Chris Angelico
On Fri, Sep 9, 2016 at 12:48 AM, Alexander N. Moibenko wrote: > In fact I tried issuing commands manually, but they did not give me any hint > more than I already had. > > In python 2.6 this all works with the same libc, of course (because I tried > to compile on the same machine). > Can you prov

Re: Fwd: Fwd: Python freeze fails with warning: the use of `tempnam' is dangerous, better use `mkstemp'

2016-09-08 Thread Alexander N. Moibenko
In fact I tried issuing commands manually, but they did not give me any hint more than I already had. In python 2.6 this all works with the same libc, of course (because I tried to compile on the same machine). Thanks anyway. On 09/08/2016 01:22 AM, dieter wrote: "Alexander N. Moibenko"

Re: Fwd: Fwd: Python freeze fails with warning: the use of `tempnam' is dangerous, better use `mkstemp'

2016-09-08 Thread Alexander N. Moibenko
Yes, of course I did not write posixmodule.c, it is a part of the python 2.7 distribution and I have no idea how to not use it and I believe I have no control over it, unless I go inside of python distribution and modify it. Is this what you are recommending? On 09/07/2016 05:36 PM, Ben Finne

Re: Fwd: Fwd: Python freeze fails with warning: the use of `tempnam' is dangerous, better use `mkstemp'

2016-09-07 Thread dieter
"Alexander N. Moibenko" writes: > when I build a binary with python 2.6 it builds without any problem. > When I build with python 2.7 the build fails after warnings like: > /opt/python/Python-2.7.12/Modules/posixmodule.o: In function > `posix_tempnam': > /opt/python/Python-2.7.12/./Modules/posixmo

Re: Fwd: Fwd: Python freeze fails with warning: the use of `tempnam' is dangerous, better use `mkstemp'

2016-09-07 Thread Ben Finney
"Alexander N. Moibenko" writes: > /opt/python/Python-2.7.12/./Modules/posixmodule.c:7578: warning: the > use of `tempnam' is dangerous, better use `mkstemp' > collect2: ld returned 1 exit status > > How this can be fixed? The clearest answer is already there in the warning message. Replace your

Fwd: Fwd: Python freeze fails with warning: the use of `tempnam' is dangerous, better use `mkstemp'

2016-09-07 Thread Alexander N. Moibenko
Hello, when I build a binary with python 2.6 it builds without any problem. When I build with python 2.7 the build fails after warnings like: /opt/python/Python-2.7.12/Modules/posixmodule.o: In function `posix_tempnam': /opt/python/Python-2.7.12/./Modules/posixmodule.c:7578: warning: the use of

Re: What is the best way to freeze a Python 3 app (Windows)?

2012-04-03 Thread Andrew Berg
cx_Freeze is the only program that can freeze py3k code that I know of. I didn't have any major issues with it, but I've only played with it. In any case, if you're going to roll your own, I'd be happy to help test it. -- CPython 3.2.2 | Windows NT 6.1.7601.17640 -- ht

What is the best way to freeze a Python 3 app (Windows)?

2012-04-03 Thread Paul Moore
I want to package up some of my Python 3 scripts to run standalone, without depending on a system-installed Python. For my development, I use virtualenv and install all my dependencies in the virtualenv, develop the script and test it. When I'm done, I want to build an executable which can run with

Re: Freeze statically

2011-07-15 Thread Sebastien Dudek
properly, I'm in! On Jul 11, 2:24 pm, Sebastien Dudek wrote: > Hi everyone! > > Let me explain you my big adventure. So I trying to make a static > python executable using the native Python freeze. I've modified the > file Modules/Setup.dist using this perl cli : perl

Freeze statically

2011-07-11 Thread Sebastien Dudek
Hi everyone! Let me explain you my big adventure. So I trying to make a static python executable using the native Python freeze. I've modified the file Modules/Setup.dist using this perl cli : perl -pi -e 's!(^# \*shared\*)!*static*\n$1!' Modules/Setup.dist Then ./configure, make

Re: freeze function calls

2010-08-11 Thread Santiago Caracol
Peter, thanks again for all this code. You helped me a lot. > Didn't you say you weren't interested in the web specific aspects? I thought that, although my problem had to do with client-server stuff, it wasn't really web-specific. But now I think that that was part of my problem. I failed to se

Re: freeze function calls

2010-08-10 Thread Peter Otten
Santiago Caracol wrote: >> Run the above with >> >> $ python wsgi_demo.py >> Serving on port 8000... >> > > Thanks a lot for this code. The problem with it is that the whole > application IS a generator function. That means that if I run the code > at, say foo.org, then any user that visits the s

Re: freeze function calls

2010-08-10 Thread Santiago Caracol
> Run the above with > > $ python wsgi_demo.py > Serving on port 8000... > Thanks a lot for this code. The problem with it is that the whole application IS a generator function. That means that if I run the code at, say foo.org, then any user that visits the site will augment the answer number of

Re: freeze function calls

2010-08-10 Thread Peter Otten
Santiago Caracol wrote: >> Python offers an elegant mechanism to calculate values on demand: the >> generator function: >> >> >>> def calculate_answers(): >> >> ... for i in range(100): >> ... print "calculating answer #%d" % i >> ... yield i * i >> ... >> > > Thanks f

Re: freeze function calls

2010-08-10 Thread Santiago Caracol
> Python offers an elegant mechanism to calculate values on demand: the > generator function: > > >>> def calculate_answers(): > > ...     for i in range(100): > ...             print "calculating answer #%d" % i > ...             yield i * i > ... > Thanks for pointing this out. I was aware of th

Re: freeze function calls

2010-08-10 Thread Peter Otten
gets a -signal within a reasonable period > of time, it goes on producing more answers exactly at the point at > which it got frozen. If no signal is sent, the function call is > terminated automatically after > M seconds. > > Note that, although the program to be written is a w

Window crash/freeze after "python test.py" in \Gnuplot

2010-03-07 Thread gujax
Hi, My computer OS is Win ME, and I am running a Py2.5 version. Gnuplot is v4.2, Gnuplot_py is v1.8. However, whenever I give a command "python test.py" to test Gnuplot_py, I sometimes get message " #Gnuplot.for enjoyment #press return to open a window >.. >clear terminal #t

Re: freeze in python3

2009-12-10 Thread Patrick Stinson
awesome! On Thu, Dec 10, 2009 at 2:17 PM, Martin v. Loewis wrote: >> For example, initerrno should now be PyInit_errno. Am I missing something? > > No; freeze hasn't been ported to Python 3 yet. Contributions are welcome. > > Regards, > Martin > -- > http://

Re: freeze in python3

2009-12-10 Thread Martin v. Loewis
> For example, initerrno should now be PyInit_errno. Am I missing something? No; freeze hasn't been ported to Python 3 yet. Contributions are welcome. Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list

Re: freeze in python3

2009-12-10 Thread Almar Klein
Hi Patrick, It's not exactly what you asked, but I've been able to freeze a Python 3 project using cx_Freeze. Almar 2009/12/10 Patrick Stinson : > NOTE: This is related but is not a duplicate of my post from yesterday. > > Has anyone used Tools/freeze/freeze.py in python3

freeze in python3

2009-12-09 Thread Patrick Stinson
NOTE: This is related but is not a duplicate of my post from yesterday. Has anyone used Tools/freeze/freeze.py in python3? I tried it with a clean source distribution and for some reason freeze.py is generating code that uses the old naming convention for module init functions. I get the

Re: ftpilb.FTP.stor...() freeze mystery

2009-10-30 Thread Anthra Norell
of web pages to a hosting service.[...] I wrote a loop that iterates through the file names and calls either of the stor... () methods as appropriate. The loop successfully uploads eight of some twenty files and then freezes. Ctrl-C doesn't unlock the freeze. I have to kill the IDLE w

Re: ftpilb.FTP.stor...() freeze mystery

2009-10-29 Thread Gabriel Genellina
service.[...] I wrote a loop that iterates through the file names and calls either of the stor... () methods as appropriate. The loop successfully uploads eight of some twenty files and then freezes. Ctrl-C doesn't unlock the freeze. I have to kill the IDLE window freezes are

Re: ftpilb.FTP.stor...() freeze mystery

2009-10-29 Thread Anthra Norell
names and calls either of the stor... () methods as appropriate. The loop successfully uploads eight of some twenty files and then freezes. Ctrl-C doesn't unlock the freeze. I have to kill the IDLE window freezes are less predictable than it seemed in the beginning. On one occasion it occ

Re: ftpilb.FTP.stor...() freeze mystery

2009-10-28 Thread Gabriel Genellina
the stor... () methods as appropriate. The loop successfully uploads eight of some twenty files and then freezes. Ctrl-C doesn't unlock the freeze. I have to kill the IDLE window freezes are less predictable than it seemed in the beginning. On one occasion it occurred after the transf

Re: ftpilb.FTP.stor...() freeze mystery

2009-10-28 Thread Anthra Norell
doesn't unlock the freeze. I have to kill the IDLE window which raises a confirmation request "are you sure? The program is still running." Having no alternative I am sure. I open a new IDLE window and start over. Every retry fails the exact same way. From the description alone I

Re: ftpilb.FTP.stor...() freeze mystery

2009-10-27 Thread Gabriel Genellina
the pictures. So far no problem. In order to upload the whole set of files I wrote a loop that iterates through the file names and calls either of the stor... () methods as appropriate. The loop successfully uploads eight of some twenty files and then freezes. Ctrl-C doesn't unlock the f

Re: ftpilb.FTP.stor...() freeze mystery

2009-10-27 Thread Gabriel Genellina
the pictures. So far no problem. In order to upload the whole set of files I wrote a loop that iterates through the file names and calls either of the stor... () methods as appropriate. The loop successfully uploads eight of some twenty files and then freezes. Ctrl-C doesn't unlock the f

urllib.FTP.stor...() freeze mystery

2009-10-27 Thread Anthra Norell
from the IDLE command line works beautifully. The loop, however, freezes after exactly seven successful passes. Ctrl-C doesn't stop the freeze. I have to open a new IDLE window and start over. A second attempt failed the exact same way. Could there be a limit on open files on the server sid

ftpilb.FTP.stor...() freeze mystery

2009-10-27 Thread Anthra Norell
set of files I wrote a loop that iterates through the file names and calls either of the stor... () methods as appropriate. The loop successfully uploads eight of some twenty files and then freezes. Ctrl-C doesn't unlock the freeze. I have to kill the IDLE window which raises a confirm

Re: GUI(eclipse+pydev/SPE) freeze when doing python auto-completion under Linux

2009-06-19 Thread Fabio Zadrozny
gt;> > wrote: >> >> >> >> Do you experience the same problem even on an empty program file or is >> >> it >> >> limited to just one file? >> >> >> >> -Tyler >> >> >> >> On Wed, Jun 17, 2009 at 7:47 P

Re: GUI(eclipse+pydev/SPE) freeze when doing python auto-completion under Linux

2009-06-18 Thread Wei, Xiaohai
gt; >> Do you experience the same problem even on an empty program file or is > it > >> limited to just one file? > >> > >> -Tyler > >> > >> On Wed, Jun 17, 2009 at 7:47 PM, Wei, James wrote: > >>> > >>> On Jun 18, 10:45 a

Re: GUI(eclipse+pydev/SPE) freeze when doing python auto-completion under Linux

2009-06-18 Thread Fabio Zadrozny
Wed, Jun 17, 2009 at 7:47 PM, Wei, James wrote: >>> >>> On Jun 18, 10:45 am, "Wei, James" wrote: >>> > When I am editing python program with SPE, I found that SPE will >>> > freeze when it is doing auto-completion. The behavior is very strange >&

Re: GUI(eclipse+pydev/SPE) freeze when doing python auto-completion under Linux

2009-06-17 Thread Wei, Xiaohai
, Wei, James wrote: > >> On Jun 18, 10:45 am, "Wei, James" wrote: >> > When I am editing python program with SPE, I found that SPE will >> > freeze when it is doing auto-completion. The behavior is very strange >> > that I can not edit the file again.

Re: GUI(eclipse+pydev/SPE) freeze when doing python auto-completion under Linux

2009-06-17 Thread Tyler Laing
Do you experience the same problem even on an empty program file or is it limited to just one file? -Tyler On Wed, Jun 17, 2009 at 7:47 PM, Wei, James wrote: > On Jun 18, 10:45 am, "Wei, James" wrote: > > When I am editing python program with SPE, I found that SPE will &g

Re: GUI(eclipse+pydev/SPE) freeze when doing python auto-completion under Linux

2009-06-17 Thread Wei, James
On Jun 18, 10:45 am, "Wei, James" wrote: > When I am editing python program with SPE, I found that SPE will > freeze when it is doing auto-completion. The behavior is very strange > that I can not edit the file again. If I switch to another file and > then switch back, I can

GUI(eclipse+pydev/SPE) freeze when doing python auto-completion under Linux

2009-06-17 Thread Wei, James
When I am editing python program with SPE, I found that SPE will freeze when it is doing auto-completion. The behavior is very strange that I can not edit the file again. If I switch to another file and then switch back, I can edit it again. So I switch to eclipse+pydev, but I found the same

undefined reference to `init_warnings' when compiling after freeze...

2009-02-24 Thread PS
Hello Python users I am trying to compile .py files using freeze with Python 2.6.1, but I get an error even when trying with hello.py from the examples. Freeze semes to do its work (last lines only): p...@linux-s7f4:~/soft/Python-2.6.1/Tools/freeze> python freeze.py hello.py generating ta

Re: python freeze help

2008-09-23 Thread Gabriel Rossetti
Mike Driscoll wrote: On Sep 23, 5:01 am, Gabriel Rossetti <[EMAIL PROTECTED]> wrote: Hello everyone, I'm trying to use python's freeze utility but I'm running into problems. I called it like this : python /usr/share/doc/python2.5/examples/Tools/freeze/freeze.py ~/Docu

Re: python freeze help

2008-09-23 Thread Mike Driscoll
On Sep 23, 5:01 am, Gabriel Rossetti <[EMAIL PROTECTED]> wrote: > Hello everyone, > > I'm trying to use python's freeze utility but I'm running into problems. > I called it like this : > > python /usr/share/doc/python2.5/examples/Tools/freeze/freeze.

python freeze help

2008-09-23 Thread Gabriel Rossetti
Hello everyone, I'm trying to use python's freeze utility but I'm running into problems. I called it like this : python /usr/share/doc/python2.5/examples/Tools/freeze/freeze.py ~/Documents/Code/Python/src/jester/service.py -m jester then I did : make then I tried to run

Re: Help needed to freeze a script.

2008-09-04 Thread Gabriel Genellina
En Thu, 04 Sep 2008 14:11:45 -0300, LB <[EMAIL PROTECTED]> escribi�: Do you know if py2exe executable embedding a lot of C extensions - like numpy and scipy - can ben executed on another computer, with a different architecture (64bits vs 32 bits) and a different OS ? Forget it, Jake. -- Gabri

Re: Help needed to freeze a script.

2008-09-04 Thread LB
> Did you try py2exe instead offreeze? On the page > > http://www.py2exe.org/index.cgi/WorkingWithVariousPackagesAndModules > > there is only one brief mention of numpy packaging troubles, > suggesting that it might work better. I have used py2exe in the past > without much trouble. Unfortunately,

Re: Help needed to freeze a script.

2008-09-03 Thread Michael Palmer
On Sep 3, 1:30 pm, LB <[EMAIL PROTECTED]> wrote: > Hi, > > I would like to freeze a numpy based script in order to have an > application which could run without having to install numpy and cie. > > Indeed, I'm not root on the targeted computer and I can't e

Help needed to freeze a script.

2008-09-03 Thread LB
Hi, I would like to freeze a numpy based script in order to have an application which could run without having to install numpy and cie. Indeed, I'm not root on the targeted computer and I can't easily make a complete install of numpy and scipy. So I decided to test the freeze.py to

Re: Freeze problem with Regular Expression

2008-07-01 Thread Kirk
On Mon, 30 Jun 2008 13:43:22 -0700, John Machin wrote: >> I reply here to all of you about such point: that's not important, >> although I appreciate very much your suggestions! My point was >> 'something that works in Perl, has problems in Python'. > > It *is* important; our point was 'you didn'

Re: Freeze problem with Regular Expression

2008-06-30 Thread John Machin
On Jul 1, 12:45 am, Kirk <[EMAIL PROTECTED]> wrote: > On Wed, 25 Jun 2008 15:29:38 -0700, John Machin wrote: > > Several problems: > > Ciao John (and All partecipating in this thread), > first of all I'm sorry for the delay but I was out for business. > > > (1) lose the vertical bars (as advised by

Re: Freeze problem with Regular Expression

2008-06-30 Thread Kirk
On Wed, 25 Jun 2008 15:29:38 -0700, John Machin wrote: > Several problems: Ciao John (and All partecipating in this thread), first of all I'm sorry for the delay but I was out for business. > (1) lose the vertical bars (as advised by others) (2) ALWAYS use a raw > string for regexes; your \s* wi

Re: Freeze problem with Regular Expression

2008-06-26 Thread Peter Pearson
On Thu, 26 Jun 2008 11:20:01 -0500, Peter Pearson wrote: > On 25 Jun 2008 15:20:04 GMT, Kirk <[EMAIL PROTECTED]> wrote: [snip] >> the following regular expression matching seems to enter in a infinite >> loop: [snip] >> import re >> text = ' MSX INTERNATIONAL HOLDINGS ITALIA srl (di seguito MSX IT

Re: Freeze problem with Regular Expression

2008-06-26 Thread Peter Pearson
On 25 Jun 2008 15:20:04 GMT, Kirk <[EMAIL PROTECTED]> wrote: > Hi All, > the following regular expression matching seems to enter in a infinite > loop: > > > import re > text = ' MSX INTERNATIONAL HOLDINGS ITALIA srl (di seguito MSX ITALIA) > una ' > re.findall('[^A-Z|0-9]*((?:[0

Re: Freeze problem with Regular Expression

2008-06-26 Thread John Machin
On Jun 26, 8:29 am, John Machin <[EMAIL PROTECTED]> wrote: > (2) ALWAYS use a raw string for regexes; your \s* will match on lower- > case 's', not on spaces and should have written: (2) ALWAYS use a raw string for regexes. <<<=== Big fat full stop aka period. but he was at the time only half-wa

Re: Freeze problem with Regular Expression

2008-06-25 Thread John Machin
On Jun 26, 1:20 am, Kirk <[EMAIL PROTECTED]> wrote: > Hi All, > the following regular expression matching seems to enter in a infinite > loop: > > > import re > text = ' MSX INTERNATIONAL HOLDINGS ITALIA srl (di seguito MSX ITALIA) > una ' > re.findall('[^A-Z|0-9]*((?:[0-9]*[A-Z]+[

Re: Freeze problem with Regular Expression

2008-06-25 Thread Maric Michaud
Le Wednesday 25 June 2008 18:40:08 cirfu, vous avez écrit : > On 25 Juni, 17:20, Kirk <[EMAIL PROTECTED]> wrote: > > Hi All, > > the following regular expression matching seems to enter in a infinite > > loop: > > > > > > import re > > text = ' MSX INTERNATIONAL HOLDINGS ITALIA srl

RE: Freeze problem with Regular Expression

2008-06-25 Thread Reedick, Andrew
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of Kirk > Sent: Wednesday, June 25, 2008 11:20 AM > To: [email protected] > Subject: Freeze problem with Regular Expression > > Hi All, > the following regular e

Re: Freeze problem with Regular Expression

2008-06-25 Thread cirfu
On 25 Juni, 17:20, Kirk <[EMAIL PROTECTED]> wrote: > Hi All, > the following regular expression matching seems to enter in a infinite > loop: > > > import re > text = ' MSX INTERNATIONAL HOLDINGS ITALIA srl (di seguito MSX ITALIA) > una ' > re.findall('[^A-Z|0-9]*((?:[0-9]*[A-Z]+[0

Freeze problem with Regular Expression

2008-06-25 Thread Kirk
Hi All, the following regular expression matching seems to enter in a infinite loop: import re text = ' MSX INTERNATIONAL HOLDINGS ITALIA srl (di seguito MSX ITALIA) una ' re.findall('[^A-Z|0-9]*((?:[0-9]*[A-Z]+[0-9|a-z|\-]*)+\s*[a-z]*\s*(?:[0-9] *[A-Z]+[0-9|a-z|\-]*\s*)*)([^A-Z

Re: What should I use under *nix instead of freeze?

2008-02-04 Thread Eric Brunel
On Sat, 02 Feb 2008 00:08:21 +0100, Mike Kent <[EMAIL PROTECTED]> wrote: > In a comment Guido made on a recent bug report for the 'freeze' > utility, he stated: > > "I think nobody really cares about freeze any more -- it isn't > maintained." >

Re: What should I use under *nix instead of freeze?

2008-02-02 Thread Martin v. Löwis
>>> That being the case, what is the preferred/best replacement for freeze >>> on a *nix platform? >> >> I don't think that there is one, or that there should be one. >> > > So haven't I understood what freeze does? Isn't pyinstaller just t

Re: What should I use under *nix instead of freeze?

2008-02-02 Thread Thorsten Kampe
* Wildemar Wildenburger (Sat, 02 Feb 2008 01:39:05 +0100) > Mike Kent wrote: > > That being the case, what is the preferred/best replacement for > > freeze on a *nix platform? > > Don't know about best or preferred, but pyinstaller seems to do > that. http://p

Re: What should I use under *nix instead of freeze?

2008-02-02 Thread Wildemar Wildenburger
Martin v. Löwis wrote: >> That being the case, what is the preferred/best replacement for freeze >> on a *nix platform? > > I don't think that there is one, or that there should be one. > So haven't I understood what freeze does? Isn't pyinstaller just

Re: What should I use under *nix instead of freeze?

2008-02-01 Thread Martin v. Löwis
> "I think nobody really cares about freeze any more -- it isn't > maintained." > > That being the case, what is the preferred/best replacement for freeze > on a *nix platform? I don't think that there is one, or that there should be one. If you care about

Re: What should I use under *nix instead of freeze?

2008-02-01 Thread Wildemar Wildenburger
Mike Kent wrote: > That being the case, what is the preferred/best replacement for freeze > on a *nix platform? Don't know about best or preferred, but pyinstaller seems to do that. http://pyinstaller.python-hosting.com> good luck /W -- http://mail.python.org/mailman/listinfo/python-list

Re: What should I use under *nix instead of freeze?

2008-02-01 Thread Noah
On Feb 1, 3:08 pm, Mike Kent <[EMAIL PROTECTED]> wrote: > In a comment Guido made on a recent bug report for the 'freeze' > utility, he stated: > > "I think nobody really cares about freeze any more -- it isn't > maintained." > > That being

What should I use under *nix instead of freeze?

2008-02-01 Thread Mike Kent
In a comment Guido made on a recent bug report for the 'freeze' utility, he stated: "I think nobody really cares about freeze any more -- it isn't maintained." That being the case, what is the preferred/best replacement for freeze on a *nix platform? I'm looking f

Freeze and problem with shared libraries

2007-07-03 Thread [EMAIL PROTECTED]
I am trying to use freeze to create a single binary executable for one of my program. When I run freeze, it runs fine with the following modules. These modules are available in the dyn-load directory and I can import them from the python interpreter. Warning: unknown modules remain: _bisect _heapq

freeze: standard modules unknown

2007-07-02 Thread [EMAIL PROTECTED]
I am trying to use freeze to create a single binary executable for one of my program. When I run freeze, it runs fine with the following modules. These modules are available in the dyn-load directory and I can import them from the python interpreter. Warning: unknown modules remain: _bisect _heapq

Re: freeze and problem with static libraries

2007-04-25 Thread Flyzone
On 24 Apr, 17:23, Flyzone <[EMAIL PROTECTED]> wrote: > I get this warning on freezing my source: I use the command: ./Python-2.3.6/Tools/freeze/freeze.py /path/to/my/file.py -- http://mail.python.org/mailman/listinfo/python-list

Re: freeze and problem with static libraries

2007-04-25 Thread Chris Miles
What command are you using to "freeze" your source? On Apr 24, 4:23 pm, Flyzone <[EMAIL PROTECTED]> wrote: > Hi, i need to "compile" a python source (2.3.6) to make it standalone > on Solaris 9. > I get this warning on freezing my source: > > "Wa

freeze and problem with static libraries

2007-04-24 Thread Flyzone
ared), and to reinstall python of course (recompiling my source) but the same problem occour. In Modules/Setup i don't have shared libraries and the line "*shared*" is commented. I have tried also other freeze application (Gordon MacMillan, cx_freeze), but i get a fatal error importing zlib

Re: Freeze vs cx_Freeze

2007-04-06 Thread Phil Thompson
On Friday 06 April 2007 9:08 am, mathieu wrote: > Hello, > >I am currently investigating how to distribute a python based > application on a targeted linux system (debian) and so far I only > found two options: > - Freeze (shipped with python dist) > - cx_Freeze (*) >

Freeze vs cx_Freeze

2007-04-06 Thread mathieu
Hello, I am currently investigating how to distribute a python based application on a targeted linux system (debian) and so far I only found two options: - Freeze (shipped with python dist) - cx_Freeze (*) As far as I understand those two options are very close. According to the cx_Freeze

Freeze problem(second time do not imported)

2007-03-28 Thread dyp
Hi, I am using DLLs from freez.py and these dll are running inside a program(Not OS level). If I have 2 dlls such as A.dll, B.dll, I can import and run a(A.run()) function in A.dl, next I can import and run a function(B.run()) in B.dll Next if I try to run A.run(), it doesn't work at all. Anyon

Re: looking for Java final/Ruby freeze functionality in Python

2007-03-04 Thread Antoine De Groote
o make a list (or something else) immutable. Could >> anybody point me to docs about this matter or give me a reason why this >> (apparently) doesn't exist in Python? > > First result from google 'python freeze object': > > http://www.python.org/dev/peps/pe

  1   2   >