From: Falco, O. <ori...@th...> - 2004-07-21 14:51:49
|
Hi! =20 I wrote a program in Python and a GUI in PythonCard and I'm trying to create two windows standalone executables. I wrote the setup scrip but when I tried to run the executables in a machine that doesn't have Python, I got an error message. Why is this?? Any light on the subject?? THANKS!!!! |
From: Anoop A J. <aj...@us...> - 2004-09-25 02:47:12
|
Hi everyone I had a question about py2exe. I wrote a script like this : # setup.py from distutils.core import setup import py2exe =20 setup(console=3D["AlarmTime.py"]) I wrote this to make AlarmTime.py into an exe I typed this into command : c:\python23\python setup.py py2exe --help but it says " cant open file 'setupalarm.py' " Can anyone help me out? Thanks |
From: programer_vedran_d <pro...@ne...> - 2006-07-28 08:06:53
|
HELLO ALL WHO CAN HELP ME ABOUT PYTHON FUCKING SCRIPTS SETUP,HI,AGAIN WHEN I WRITE IN PYTHON SHELL:from distutils.core import setupimport py2exesetup(name="myscript", version='1.0', scripts=["myftp"])FUCKING ERROR IS:Traceback (most recent call last): File "<pyshell#1>", line 1, in -toplevel- setup(name="myscript", version='1.0', scripts=["myftp"]) File "C:\Python24\distutils\core.py", line 101, in setup _setup_distribution = dist = klass(attrs) File "C:\Python24\distutils\dist.py", line 130, in __init__ setattr(self, method_name, getattr(self.metadata, method_name))AttributeError: DistributionMetadata instance has no attribute 'get___doc__' THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -- Odaberite XXLadsl - od sada 2 x brži uz iste cijene priključka i paketa! Više saznajte na http://www.iskon.biz/xxladsl |
From: Nathan R. Y. <na...@ye...> - 2006-07-28 15:36:27
|
programer_vedran_d wrote: > HELLO ALL WHO CAN HELP ME ABOUT PYTHON FUCKING SCRIPTS SETUP, Oh yes, shouting makes us anxious to help you. >=20 > HI,AGAIN WHEN I WRITE IN PYTHON SHELL: >=20 > from distutils.core import setup > import py2exe > setup(name=3D"myscript", > version=3D'1.0', > scripts=3D["myftp"]) It sounds like you're doing this in the interactive shell, which isn't how it usually works. You typically save the code you wrote above to a file (setup.py) and run it, along with a command (i.e., sdist, bdist, py2exe). So for example, setup.py might contain the following: from distutils.core import setup import py2exe setup(name=3D'myscript', version=3D'1.0', scripts=3D['myftp']) And then you would run that from the command line: c:\>python setup.py sdist Where sdist can be replaced with any distutils target (install, bdist, py2exe, etc). Note that specifying py2exe won't work because you haven't specified a windows or console argument. >=20 > FUCKING ERROR IS: Hrmmm.. maybe it's FUCKING you :). Or maybe you should read the FUCKING documentation (see http://py2exe.org). Just a thought, just trying to use the word of the day :). >=20 > Traceback (most recent call last): > File "<pyshell#1>", line 1, in -toplevel- > setup(name=3D"myscript", > version=3D'1.0', > scripts=3D["myftp"]) > File "C:\Python24\distutils\core.py", line 101, in setup > _setup_distribution =3D dist =3D klass(attrs) > File "C:\Python24\distutils\dist.py&q uot;, line 130, in __init__ > setattr(self, method_name, getattr(self.metadata, method_name)) > AttributeError: DistributionMetadata instance has no attribute 'get___d= oc__' >=20 > = &nb > sp; ; =20 > THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! >=20 > --=20 > Odaberite XXLadsl - od sada 2 x br=C2=BEi uz iste cijene priklju=C3=A8k= a i paketa! > Vi=C2=B9e saznajte na http://www.iskon.biz/xxladsl >=20 >=20 > -----------------------------------------------------------------------= - >=20 > -----------------------------------------------------------------------= -- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share= your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV >=20 >=20 > -----------------------------------------------------------------------= - >=20 > _______________________________________________ > Py2exe-users mailing list > Py2...@li... > https://lists.sourceforge.net/lists/listinfo/py2exe-users |
From: Umesh S. <ush...@gm...> - 2011-05-26 12:01:15
|
hi, i have written a python script which uses comtypes package to automation of Microsoft outlook , Can i make a .exe file using Py2exe which runs on windows without insalling python. thanks Umesh Sharma |
From: Massa, H. A. <ch...@gh...> - 2011-05-26 13:07:20
|
yes you can. For examples look within site-packes/py2exe/samples/pywin32/com_server and site-packes/py2exe/samples/pywin32/com_typelib. Best wishes Harald On Thu, May 26, 2011 at 14:00, Umesh Sharma <ush...@gm...> wrote: > hi, > i have written a python script which uses comtypes package to automation > of Microsoft outlook , > Can i make a .exe file using Py2exe which runs on windows without insalling > python. > > thanks > > Umesh Sharma > > > ------------------------------------------------------------------------------ > vRanger cuts backup time in half-while increasing security. > With the market-leading solution for virtual backup and recovery, > you get blazing-fast, flexible, and affordable data protection. > Download your free trial now. > http://p.sf.net/sfu/quest-d2dcopy1 > _______________________________________________ > Py2exe-users mailing list > Py2...@li... > https://lists.sourceforge.net/lists/listinfo/py2exe-users > > -- GHUM GmbH Harald Armin Massa Spielberger Straße 49 70435 Stuttgart 0173/9409607 Amtsgericht Stuttgart, HRB 734971 - persuadere. et programmare |
From: David F. <da...@sj...> - 2004-07-21 15:09:17
|
Falco, Oriana wrote: > Hi! > > I wrote a program in Python and a GUI in PythonCard and I’m trying to > create two windows standalone executables. I wrote the setup scrip but > when I tried to run the executables in a machine that doesn’t have > Python, I got an error message. Why is this?? Any light on the > subject?? THANKS!!!! > Hi There could be lots of reasons why you have an error message, but its very hard to tell if you don't tell us what the error message is! Please write back to the list with the exact error message and any other info... David PS http://www.catb.org/~esr/faqs/smart-questions.html is a good article on what kind of information to include when asking questions... |