<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://entorb.net//wiki/index.php?action=history&amp;feed=atom&amp;title=Python_-_py2exe</id>
	<title>Python - py2exe - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://entorb.net//wiki/index.php?action=history&amp;feed=atom&amp;title=Python_-_py2exe"/>
	<link rel="alternate" type="text/html" href="https://entorb.net//wiki/index.php?title=Python_-_py2exe&amp;action=history"/>
	<updated>2026-05-06T10:23:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://entorb.net//wiki/index.php?title=Python_-_py2exe&amp;diff=4845&amp;oldid=prev</id>
		<title>Torben at 20:21, 30 October 2024</title>
		<link rel="alternate" type="text/html" href="https://entorb.net//wiki/index.php?title=Python_-_py2exe&amp;diff=4845&amp;oldid=prev"/>
		<updated>2024-10-30T20:21:47Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Coding]][[Category:Python]]&lt;br /&gt;
==pyinstaller==&lt;br /&gt;
 pip install pyinstaller&lt;br /&gt;
&lt;br /&gt;
 pyinstaller --onefile --console your.py&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==as of 07.01.2019: py2exe works only for python &amp;lt;= 3.4==&lt;br /&gt;
py2exe converts .py -&amp;gt; .exe in order to run on computers with no python installed&lt;br /&gt;
&lt;br /&gt;
Download and install it form here: [http://www.py2exe.org py2exe]&lt;br /&gt;
&lt;br /&gt;
===Command line scripts===&lt;br /&gt;
see [http://www.py2exe.org/index.cgi/Tutorial py2exe Tutorial]&lt;br /&gt;
&lt;br /&gt;
create a file called setup.py:&lt;br /&gt;
 from distutils.core import setup&lt;br /&gt;
 import py2exe&lt;br /&gt;
 setup(console=[&amp;#039;myScript.py&amp;#039;])  # &amp;lt;---- change this&lt;br /&gt;
now run&lt;br /&gt;
 python setup.py py2exe&lt;br /&gt;
&lt;br /&gt;
===Gui using Qt===&lt;br /&gt;
see [http://www.py2exe.org/index.cgi/Py2exeAndPyQt Py2exeAndPyQt]&lt;br /&gt;
create a file called setup.py:&lt;br /&gt;
 from distutils.core import setup&lt;br /&gt;
 import py2exe&lt;br /&gt;
 setup(windows=[{&amp;quot;script&amp;quot; : &amp;quot;myScript.py&amp;quot;}], options={&amp;quot;py2exe&amp;quot;:{&amp;quot;includes&amp;quot;:[&amp;quot;sip&amp;quot;]}})&lt;br /&gt;
now run&lt;br /&gt;
 python setup.py py2exe&lt;/div&gt;</summary>
		<author><name>Torben</name></author>
	</entry>
</feed>