On 8/5/2017 1:45 AM, Ulli Horlacher wrote:
Any kind of installer is not acceptable.
Is the requirement "no installer" or "single file" or both?
You can satisfy the "no installer" requirement also by just distributing
the .py file, the interpreter and a .bat file that e.g. contains
"python27\python.exe programm.py".
I have been doing this for years, sometimes just letting people run the
.bat from a network share.
Is there a recommendation for using tk or wx?
I would recommend wx.
For Python 2.7 you can use either the 'Classic' version 3 or the new
version 4 called 'Phoenix'. I have been using Python 2 plus Classic for
15 years and have switched to Python 3 and Phoenix a year ago. If you
plan to switch to Python 3 at any time then go for Phoenix right now.
The pyinstaller may not yet support Phoenix, which is e.g. required for
Python 3. So you may be restricted to the Classic version.
Classic: https://sourceforge.net/projects/wxpython/files/wxPython/3.0.2.0/
Phoenix: https://pypi.python.org/pypi/wxPython/4.0.0b1
(It's still beta, but is perfectly usable.)
For documentation, get the book "wxPython in Action".
For questions there's a helpful mailing list wxpython-users.
If your requirement is basically to have some user input forms, then you
should give wxGlade a try (use the version from the repository
https://bitbucket.org/wxglade/wxglade/get/default.zip as a release is in
preparation; then press F1 for the tutorial). A GUI builder should make
the start much easier, especially when it comes to Sizers (the layout
managers).
Regards,
Dietmar
--
https://mail.python.org/mailman/listinfo/python-list