G+_Rud Dog Posted September 21, 2015 Share Posted September 21, 2015 Created some executables using py2exe they worked fine in fact tested them on Windows 7, 8 and XP. OK XP reported the wrong space but it ran to the end. Now couple days later some executables don't work. Now I keep the editor copies in a safe place. So recreated the failing script to executables and they still fail. Interesting enough the editor copies or originals work fine when run in the editor environment. Guessing there is no way to debug the exe's so does anyone have any suggestions? BTW these are just short hobby scripts I wrote nothing elaborate. Running in Windows using Pyrhon3 Link to comment Share on other sites More sharing options...
G+_Kenneth Longcrier (Chie Posted October 14, 2015 Share Posted October 14, 2015 The only way I've found to debug .exe files is to use Message boxes (windows apps) or Console writes (Console apps) or Response.write (usually in HTML Coments) for web apps Link to comment Share on other sites More sharing options...
G+_Rud Dog Posted October 14, 2015 Author Share Posted October 14, 2015 Thank you Kenneth Longcrier DDG-34 was mine what was yours? Link to comment Share on other sites More sharing options...
G+_Kenneth Longcrier (Chie Posted October 15, 2015 Share Posted October 15, 2015 SSN 687 and SSN 677 (now Schick and Gillette) Link to comment Share on other sites More sharing options...
G+_Rud Dog Posted October 15, 2015 Author Share Posted October 15, 2015 Subs! Link to comment Share on other sites More sharing options...
G+_Kenneth Longcrier (Chie Posted October 15, 2015 Share Posted October 15, 2015 Rudy Trujillo? you should know by now that there are only two kinds of vessels in the Navy: Submarines and Targets? Link to comment Share on other sites More sharing options...
G+_Rud Dog Posted October 16, 2015 Author Share Posted October 16, 2015 In the days of old this was so true but with the sub-hunting-missile the tide has turned. Link to comment Share on other sites More sharing options...
G+_Jon Melbo Posted October 27, 2015 Share Posted October 27, 2015 I'm just starting to explore this, and found pyinstaller is supposed to be the best packager. Supposedly better and easier. Link to comment Share on other sites More sharing options...
G+_Rud Dog Posted October 27, 2015 Author Share Posted October 27, 2015 Hi Jon Melbo trying to remember back, while visiting their website isn't there a host of requirements for pyinnstalled installation? Did you find an EZ install and use? Want to revisit the pyinstaller but was put off by what I read while getting ready to install it. My brain was pretty much fried by the time was ready to try this so that could be the problem. Would like to hear all about the install and operation if you don't mind. Are you casual user or advanced this might have bearing on your ease of use and install recommendations. Oh and are the output form pyinstaller multiplatform? Link to comment Share on other sites More sharing options...
G+_Jon Melbo Posted October 28, 2015 Share Posted October 28, 2015 Hello Rudy. Believe me, I'm really pretty green with Python. I have been reading and poking around in it for a while now. Where I am at with it is that I can make a simple Hello World program, and have read enough to try something a bit more useful. I have decided that Qt4 (perhaps 5 sometime) is the way to do GUI in Python. But before I really invest a lot of effort, I want to see how making stand alone .exe goes. So I am just starting to fiddle with pyinstaller. Link to comment Share on other sites More sharing options...
G+_Jon Melbo Posted October 28, 2015 Share Posted October 28, 2015 Oh I forgot.... from the PyInstaller web site: "PyInstaller runs in Windows XP or newer. It can create graphical windowed apps (apps that do not need a command window). PyInstaller requires the PyWin32 or pypiwin32 Python extension for Windows. If you install PyInstaller using pip, and PyWin32 is not found, pypiwin32 is automatically installed." Link to comment Share on other sites More sharing options...
G+_Rud Dog Posted October 28, 2015 Author Share Posted October 28, 2015 Just finished doing a quick search for what PyWin32 and Pypiwin32 are/do, a kind of "For Dummies" and got a headache. Have you stumbled into any newbie level explanations as to what these two do? Oh and running Windows 8 with Python 3.4 my initial search showed some folks having problems getting them to work didn't drill down but was wondering what your OS and Python versions are. Link to comment Share on other sites More sharing options...
G+_Jon Melbo Posted October 28, 2015 Share Posted October 28, 2015 I got PyInstaller working! Wasn't too bad really. I have information on what I think is the best and easiest way to set this all up. Since making a writeup that covers it under varying circumstances is more work than I want to do right now, I would prefer to converse about it. It would be quicker and easier for me. But it's a good setup with good flexability. I tried to contact you via hangouts but it sent an invite to you. Link to comment Share on other sites More sharing options...
Recommended Posts