611
Comment:
|
2971
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
# cmd.py # ^^^^^^ # Mimics the windows command line. Good if the system admin has locked it off. # Made for Windows XP |
#acl_rights_default = "All:read" #format wiki #language en #pragma section-numbers off = py2exe = py2exe is a [[http://www.python.org/|Python]] [[http://www.python.org/doc/current/distutils/|Distutils]] extension which converts Python scripts into executable Windows programs, able to run without requiring a Python installation. |
Line 6: | Line 8: |
import os | Development is hosted at [[http://sourceforge.net/projects/py2exe/|SourceForge]]. You can find the [[https://lists.sourceforge.net/lists/listinfo/py2exe-users|mailing list]], [[http://sourceforge.net/svn/?group_id=15583|svn]], and [[http://sourceforge.net/project/showfiles.php?group_id=15583|downloads]] there. |
Line 8: | Line 10: |
command = "" wd = os.getcwd() print "Shell Window Replacement by fatalGlory" print "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" print "" while command != "exit": command = raw_input("" + wd + ">") if command.split(" ")[0] == "cd": try: os.chdir(command.split(" ")[1]) wd = os.getcwd() except: print "Bad command or file name." else: cmd2 = os.popen(command) print cmd2.read() |
py2exe was originally developed by ThomasHeller who still makes contributions, JimmyRetzlaff is the current maintainer, and MarkHammond also makes regular contributions. Code contributions are always welcome from the community and many people provide invaluable help on the mailing list and the Wiki. py2exe is used by [[http://www.bittorrent.com|BitTorrent]], [[http://spambayes.sourceforge.net/windows.html|SpamBayes]], and thousands more - py2exe averages over 5,000 downloads per month. In an effort to limit Wiki spam, this front page is not editable. Feel free to edit other pages with content relevant to py2exe. You will need an account to edit (but not to read) and your account information will be used only for the purposes of administering this Wiki. The old [[http://www.py2exe.org/old|py2exe]] web site is still available until that information has found its way into this wiki. == Starting Points == * [[http://sourceforge.net/project/showfiles.php?group_id=15583|Download py2exe from SourceForge]] * [[News]]: information about the most recent releases * [[Tutorial]]: the basics of creating a Windows executable * [[FAQ]]: What does py2exe actually do and what are all those files? * GeneralTipsAndTricks: general tips for working with special situations * WorkingWithVariousPackagesAndModules: many just work, others need more handling * ProblemsToBeFixed * TroubleshootingImportErrors * ReleaseProcess * NonEnglish: read about py2exe in other languages * [[https://lists.sourceforge.net/lists/listinfo/py2exe-users|Get help on the mailing list]] * [[irc://irc.freenode.net/py2exe|#py2exe]] IRC channel at Freenode.net == How to use this site == A Wiki is a collaborative site, anyone can contribute and share: * Edit any page by pressing '''<<GetText(Edit)>>''' at the top or the bottom of the page * Create a link to another page with joined capitalized words (like WikiSandBox) or with {{{[[words in brackets]]}}} * Search for page titles or text within pages using the search box at the top of any page * See HelpForBeginners to get you going, HelpContents for all help pages. To learn more about what a WikiWikiWeb is, read about MoinMoin:WhyWikiWorks and the MoinMoin:WikiNature. This wiki is powered by [[http://moinmo.in/|MoinMoin]]. |
py2exe
py2exe is a Python Distutils extension which converts Python scripts into executable Windows programs, able to run without requiring a Python installation.
Development is hosted at SourceForge. You can find the mailing list, svn, and downloads there.
py2exe was originally developed by ThomasHeller who still makes contributions, JimmyRetzlaff is the current maintainer, and MarkHammond also makes regular contributions. Code contributions are always welcome from the community and many people provide invaluable help on the mailing list and the Wiki.
py2exe is used by BitTorrent, SpamBayes, and thousands more - py2exe averages over 5,000 downloads per month.
In an effort to limit Wiki spam, this front page is not editable. Feel free to edit other pages with content relevant to py2exe. You will need an account to edit (but not to read) and your account information will be used only for the purposes of administering this Wiki.
The old py2exe web site is still available until that information has found its way into this wiki.
Starting Points
News: information about the most recent releases
Tutorial: the basics of creating a Windows executable
FAQ: What does py2exe actually do and what are all those files?
GeneralTipsAndTricks: general tips for working with special situations
WorkingWithVariousPackagesAndModules: many just work, others need more handling
NonEnglish: read about py2exe in other languages
#py2exe IRC channel at Freenode.net
How to use this site
A Wiki is a collaborative site, anyone can contribute and share:
Edit any page by pressing Edit at the top or the bottom of the page
Create a link to another page with joined capitalized words (like WikiSandBox) or with [[words in brackets]]
- Search for page titles or text within pages using the search box at the top of any page
See HelpForBeginners to get you going, HelpContents for all help pages.
To learn more about what a WikiWikiWeb is, read about WhyWikiWorks and the WikiNature.
This wiki is powered by MoinMoin.