cx_Freeze - Another packager to create Windows.py2exe - same as py2app but for Windows.rumps - Ridiculously Uncomplicated Mac OS X Python Statusbar Apps.PyInstaller - Another tool to create cross-platform standalone apps (libraries like PyQt, Django or matplotlib are fully supported).Submitting a Python App to the Mac App Store ().Tkinter, Tkinter resource collection, An Introduction to Tkinter.With these settings, the app will have the following infos: 'NSHumanReadableCopyright': u "Copyright © 2015, Chris Hager, All Rights Reserved" 'CFBundleGetInfoString': "Making Sandwiches", ![]() ![]() # -*- coding: utf-8 -*- from setuptools import setup Referencing a File with a Full Path and Name As seen in Tutorials 12 and 13, you can refer to a local file in Python using the file's full path and file name. To run your application directly from the Terminal On this page: open(), file path, CWD ('current working directory'), r 'raw string' prefix, os.getcwd(), os.chdir(). Or the open command ( $ open dist/Sandwich.app). The resulting development app in dist/Sandwich.app can be opened just like any other. The app built with alias mode simply references the original code files, so any changes you make to the original Sandwich.py file are instantly available on the next app start. This is not a standalone application, and the applications built in alias mode are not portable to other machines! ![]() │ │ ├── config -> /Users/chris/Projects/chris/python-gui/tkinter/env/bin/./lib/python2.7/config │ │ └── python -> /Users/chris/Projects/chris/python-gui/tkinter/env/bin/./bin/python
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |