Answer the question
In order to leave comments, you need to log in
Python33 and Python27
In general, it was Python33, I wrote an application in the GUI and decided to make an exe, after searching the internet I realized that I needed Python27, downloaded it + libraries, now there are problems:
1) You can’t just run the script on the desktop, you need to write c: \ pythonXX in cmd the address of the script . How to make 33 by default? in Path specified everything.
2) Encoding when using 27, although I wrote at the beginning # -*- coding: utf-8 -*- still does not work, does not accept Russian even in comments. How to fix it? Version 27 is only needed to make an exe with py2exe.
Answer the question
In order to leave comments, you need to log in
I can be wrong, but in my opinion this tool allows you to build exe for the 3rd python
http://cx-freeze.sourceforge.net/
The python that you consider not the main one needs to be renamed, i.e. in the python 2.7 folder, rename python.exe to python27.exe. Then version 3 will be called by default, and you will need to specify the path for this specifically. I didn’t use it myself, I read it somewhere in Google because I myself have such a zoo. There is a simpler winpython method and some other assemblies are provided in a portable way, which is the way I went. On the second point, I'm afraid in no way, utf appeared in python only from the third version.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question