Actually, there is a solution but not very clean.
I was surprise by two différent tools:
- Statifier (but it needs to be compiled without ASLR)
- And ErminePro which is very powerful to transform dynamic
executables to static.
But if someone is aware about compiling python code to static more
pro
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
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
> 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
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
> 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
Santiago Caracol wrote:
> Hello,
>
> I want to write a web application that does this:
>
> (1) The user submits a query:
>
> -
> | What is the answer? |
> -
>
>
> (2) The web server gives the user N answers and a button saying "M
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://mail.python.org/mailman/listinfo/python
> 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
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? I tried it with a
> c
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'
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
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
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
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
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
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]+[
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
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:python-
> [EMAIL PROTECTED] On Behalf Of Kirk
> Sent: Wednesday, June 25, 2008 11:20 AM
> To: python-list@python.org
> Subject: Freeze problem with Regular Expression
>
> Hi All,
> the following regular expression matching seems to en
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
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
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:
>
> "Warning: unknown modules remain: _locale _random _sock
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 (*)
>
> As far as I understand t
On 13 Feb, 16:48, [EMAIL PROTECTED] (Cameron Laird) wrote:
> How is Freeze--freeze.py http://wiki.python.org/moin/Freeze>--packaged
> for Debian? *Is* it packaged for Debian?
A search for freeze.py in package contents conducted from the Debian
packages page [1] indicates that the file in question
I did look at cx_Freeze at one point in time, but the documentation on
their site is pretty sparse and doesn't actually mention being able to
build for a different platform. I'll take another look. Thanks.
--
Jerry
--
http://mail.python.org/mailman/listinfo/python-list
Jarek Zgoda <[EMAIL PROTECTED]> wrote:
> Jerry napisal:
>
>> I am looking for a freeze tool for Python that is similar to perl2exe
>> in that I can "compile" a script on one platform that is built for
>> another. Basically, I would like to be able to build a Python script
>> for Solaris using my
CX_Freeze?
http://starship.python.net/crew/atuining/cx_Freeze/
--
http://mail.python.org/mailman/listinfo/python-list
Jerry napisal:
> I am looking for a freeze tool for Python that is similar to perl2exe
> in that I can "compile" a script on one platform that is built for
> another. Basically, I would like to be able to build a Python script
> for Solaris using my Windows workstation. Is there any tool that fi
What happens when you take a copy of python23.dll and put it in the
path on that machine? Does the program run?
If so, (and I am not familiar with freeze) it seems freeze did not put
the dll into the .exe file.
--
http://mail.python.org/mailman/listinfo/python-list
29 matches
Mail list logo