How do you make an installer for your python program?

Regarding Installer Program (for windows). I think what you are looking for is InstallForge. This is a tool that you can use to build your own installation wizard. This website pythonguis is a tutorial for PyInstaller and InstallForge. You can skip the PyInstaller part and go towards the middle to view the InstallForge tutorial if … Read more

What is the cross-platform method of enumerating serial ports in Python (including virtual ports)?

This is what I’ve been using. It’s a mashup of the methods I posted above. I’d still like to see better solutions, though. # A function that tries to list serial ports on most common platforms def list_serial_ports(): system_name = platform.system() if system_name == “Windows”: # Scan for available ports. available = [] for i … Read more

Is node.js a viable alternative to traditional scripting languages like Perl and Python? [closed]

In terms of Node.js, I can’t see it becoming a mainstream way of using javascript as a general purpose scripting language. The main reason for that would be the async nature of 99% of the libraries and functions available in Node.js. Because of the async nature, you have to completely change your thinking. Not having … Read more

Why does the calculated width and height in pixel of a string in Tkinter differ between platforms?

You have two problems. Let’s tackle them one at a time 1: the difference between python 2.5 and 2.6 on the same platform with the same font These two versions of python use different versions of tk. On my mac box, 2.5 uses tk version 8.4.19 and 2.6 uses 8.5.7. In version 8.5.2 of tk … Read more

tech