On Wednesday, July 23, 2014 4:43:11 AM UTC-4, Leo jay wrote:
> But if you use windows and you happen to use multiprocessing,
> please be aware of this bug I encountered several years ago.
> https://mail.python.org/pipermail/python-dev/2011-December/115071.html
It looks like this was fixed for 3.2
On Wed, 23 Jul 2014 15:23:10 +0300, Burak Arslan wrote:
> On 07/23/14 07:23, Steven D'Aprano wrote:
>> A little known feature of Python: you can wrap your Python application
>> in a zip file and distribute it as a single file.
[...]
> does it support package_data? or more specifically, does
> pkg_
On 07/23/14 07:23, Steven D'Aprano wrote:
> A little known feature of Python: you can wrap your Python application in
> a zip file and distribute it as a single file. The trick to make it
> runnable is to put your main function inside a file called __main__.py
> inside the zip file. Here's a ba
On Wed, Jul 23, 2014 at 12:23 PM, Steven D'Aprano wrote:
> A little known feature of Python: you can wrap your Python application in
> a zip file and distribute it as a single file. The trick to make it
> runnable is to put your main function inside a file called __main__.py
> inside the zip file.
Am 23.07.2014 06:23, schrieb Steven D'Aprano:
A little known feature of Python: you can wrap your Python application in
a zip file and distribute it as a single file. The trick to make it
runnable is to put your main function inside a file called __main__.py
inside the zip file.
Look here:
htt
On Wed, Jul 23, 2014 at 2:23 PM, Steven D'Aprano wrote:
> On Linux, you can even hack the zip file to include a shebang line!
>
>
> steve@runes:~$ cat appl
> #!/usr/bin/env python
> # This is a Python application stored in a ZIP archive.
> steve@runes:~$ cat appl.zip >> appl
> steve@runes:~$ chmod
On 23/07/2014 06:30, Gary Herron wrote:
> On 07/22/2014 09:23 PM, Steven D'Aprano wrote:
>> A little known feature of Python: you can wrap your Python application in
>> a zip file and distribute it as a single file.
> Really! 20 years of Pythoning, and I'd never seen this! When was this
> intr
On Tue, Jul 22, 2014 at 9:23 PM, Steven D'Aprano wrote:
> A little known feature of Python: you can wrap your Python application in
> a zip file and distribute it as a single file. The trick to make it
> runnable is to put your main function inside a file called __main__.py
> inside the zip file.
On 07/22/2014 09:23 PM, Steven D'Aprano wrote:
A little known feature of Python: you can wrap your Python application in
a zip file and distribute it as a single file. The trick to make it
runnable is to put your main function inside a file called __main__.py
inside the zip file. Here's a basic e
A little known feature of Python: you can wrap your Python application in
a zip file and distribute it as a single file. The trick to make it
runnable is to put your main function inside a file called __main__.py
inside the zip file. Here's a basic example:
steve@runes:~$ cat __main__.py
print
En Sat, 10 Feb 2007 09:21:29 -0300, <[EMAIL PROTECTED]> escribió:
> It has been such a painful thing for me.
Ouch... why was that? Programming in Python, or using py2exe?
> As I made a program to
> encrypt files, now I want to distribute that program over other
> computers. I created .EXE file w
[EMAIL PROTECTED] wrote:
> Hello,
>
> It has been such a painful thing for me. As I made a program to
> encrypt files, now I want to distribute that program over other
> computers. I created .EXE file with py2exe but the "dist" folder makes
> around 2 mb and it restricts for the python DLL to be w
Hello,
It has been such a painful thing for me. As I made a program to
encrypt files, now I want to distribute that program over other
computers. I created .EXE file with py2exe but the "dist" folder makes
around 2 mb and it restricts for the python DLL to be within the same
folder. Is there any e
13 matches
Mail list logo