Message191520
I just tried freezing the program
from multiprocessing import freeze_support,Manager
if __name__ == '__main__':
freeze_support()
m=Manager()
l = m.list([1,2,3])
l.append(4)
print(l)
print(repr(l))
using cx_Freeze with Python 2.7, and it worked fine:
PS> cxfreeze.bat foo.py
copying C:\Python27\lib\site-packages\cx_Freeze\bases\Console.exe -> C:\Tmp\dir\dist\foo.exe
copying C:\Windows\system32\python27.dll -> C:\Tmp\dir\dist\python27.dll
writing zip file C:\Tmp\dir\dist\foo.exe
...
PS> dist\foo
[1, 2, 3, 4]
<ListProxy object, typeid 'list' at 0x206f410> |
|
Date |
User |
Action |
Args |
2013-06-20 14:40:59 | sbt | set | recipients:
+ sbt, jnoller, sgm, spongebob, BreamoreBoy |
2013-06-20 14:40:59 | sbt | set | messageid: <1371739259.83.0.445372930627.issue6461@psf.upfronthosting.co.za> |
2013-06-20 14:40:59 | sbt | link | issue6461 messages |
2013-06-20 14:40:59 | sbt | create | |
|