Re: [python-win32] First post to list, etc.
On 17/05/2011 14:16, Jacob Kruger wrote: I’m now (finally) starting to actually try get started with python, etc., and aside from being partly interested in the symbian/phone implementation thereof, I am initially just starting off looking into python apps running on windows systems, but aside from an actually installed interpreter, etc., am also just wondering about things like the sort of wrapper possibilities, where you can include some sort of compiled python code in an .exe file etc. That should then be able to (hopefully) run on most windows machines as a sort of standalone app, but if I’m totally confused about possibilities, then would also like to know for sure, and also wondering if this might be related to being limited to only certain versions of python, etc.? py2exe[1] is the usual recommendation. There's also pyInstaller[2]. Alternatively, where’s the best place to start looking for things like this? This is probably as good a place as any. There's also the main Python mailing list[3] (which has more readers...) TJG [1] http://www.py2exe.org/ [2] http://www.pyinstaller.org/ [3] http://mail.python.org/mailman/listinfo/python-list ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32
Re: [python-win32] First post to list, etc.
Jacob: Sounds like you have arrived at the read a book stage. For Python in general try: Dive into Python http://diveintopython.org/ which is available on line or in print. For Windows specific applications, the book by Mark Hammond still has good information, even though it was written ten years ago and is based on a very old version of python. Python Programming on Win 32. I think an electronic version of it may have been pirated on line as well. Yes, everything in pywin32 works on 64 bit versions of Windows and Python, too. -- Vernon Cole On Tue, May 17, 2011 at 7:16 AM, Jacob Kruger jac...@proscanmobility.co.za wrote: I’m now (finally) starting to actually try get started with python, etc., and aside from being partly interested in the symbian/phone implementation thereof, I am initially just starting off looking into python apps running on windows systems, but aside from an actually installed interpreter, etc., am also just wondering about things like the sort of wrapper possibilities, where you can include some sort of compiled python code in an .exe file etc. That should then be able to (hopefully) run on most windows machines as a sort of standalone app, but if I’m totally confused about possibilities, then would also like to know for sure, and also wondering if this might be related to being limited to only certain versions of python, etc.? Currently have both 2.6 and 3.2 installed on this machine – windows7 32 bit, but also on my other primary machine – windows7 64 bit, but I do also have another windows XP machine that might also want to test/try these things out on. Alternatively, where’s the best place to start looking for things like this? TIA Jacob Jacob Kruger Software Developer Tel: +27 11 615 3103 Fax: +27 11 615 2811 Fax to Email: 086 590 5107 email: jac...@proscanmobility.co.za ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32
Re: [python-win32] First post to list, etc.
At 06:16 AM 5/17/2011, Jacob Kruger wrote: Im now (finally) starting to actually try get started with python, etc., and aside from being partly interested in the symbian/phone implementation thereof, I am initially just starting off looking into python apps running on windows systems, but aside from an actually installed interpreter, etc., am also just wondering about things like the sort of wrapper possibilities, where you can include some sort of compiled python code in an .exe file etc. http://www.py2exe.org/index.cgi/Tutorial Almost all my code gets compiled you can also include C in your code, or Win32 library calls via ctypes That should then be able to (hopefully) run on most windows machines as a sort of standalone app, but if Im totally confused about possibilities, then would also like to know for sure, and also wondering if this might be related to being limited to only certain versions of python, etc.? there is not a py2exe for Python3 yet, but you can still freeze apps and distribute only compiled libraries http://cx-freeze.sourceforge.net/ Currently have both 2.6 and 3.2 installed on this machine windows7 32 bit, but also on my other primary machine windows7 64 bit, but I do also have another windows XP machine that might also want to test/try these things out on. I stick with 2.6/2.7 for now, as many of the nicest libraries are not ported to 3 yet Alternatively, wheres the best place to start looking for things like this? http://pypi.python.org/pypi http://wxpython.org/ ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32
Re: [python-win32] First post to list, etc.
Jacob Kruger wrote: I’m now (finally) starting to actually try get started with python, etc., and aside from being partly interested in the symbian/phone implementation thereof, I am initially just starting off looking into python apps running on windows systems, but aside from an actually installed interpreter, etc., am also just wondering about things like the sort of wrapper possibilities, where you can include some sort of compiled python code in an .exe file etc. That should then be able to (hopefully) run on most windows machines as a sort of standalone app, but if I’m totally confused about possibilities, then would also like to know for sure, and also wondering if this might be related to being limited to only certain versions of python, etc.? Python code is not compiled, at least not in the mainstream implementations. There must always be an interpreter. Packages like py2exe bundle up your script, the interpreter, and the necessary files from the standard library into a single file that can be run AS IF it were a compiled binary. At run time, the pieces are unzipped into a local directory, executed, and then released. That does have a certain amount of overhead, but it means you always use the version you expect. In our local office, I've pushed a copy of the interpreter onto all of our machines, just so I can run scripts without that overhead. By the way, the HTML email overhead in your message was quite obnoxious. Less than 1/3 of the surface area of your email was dedicated to your message. The rest was advertising and a legally pointless disclaimer. I'm sure you don't have any control over that, but I hope you remind your management team once in a while that many people really dislike that kind of email. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32