+ 4
Colorama Import
How do you import colorama onto android?
3 ответов
+ 7
I wish I could elaborate for you, however the instructions are very lengthy to submit here but I've included a link: https://pypi.python.org/pypi/colorama
0
pip install colorama
Type this in Command prompt. (Windows)
But if CM returns message that command is unknown you should navigate in Comm. Prompt to folder where Python is installed right to the folder \scripts
Or
to set system enviromental variable so no need for that step
Bellow I reposted how I solved issue with installing modules so it might be helpful (expecially with system variable)
There I had problem how to install module Pyinstaller and how to use it so dealing with it was valuable lesson ;)
0
I tried Pyinstaller to make exe file of script and it worked, with some issues I had to resolve.
Now I have a real program that is converted to an exe file and that store data to a separate file (with pickle module), (tkinter is waiting to be implemented :) ).
So maybe this could be helpful to those who come accross this issues also.
To use Python commands in Windows 7 Command Prompt without navigating to Py folder (as Pyinstaller have to be applied on folder where your Python program is stored) you have to add path to Python folder to the System Variables.
Path to Py folder is something like (Right click on desktop shortcut e.g)
C:\Users\NZ\AppData\Local\Programs\Python\Python36\Scripts (add Scripts on the end)
To reach System Variables:
right-click My Computer - Advanced System Settings - Tab, Advanced (Enviroment Variables (below)) - System Variables (below)
Scroll down to "Path" variable and click Edit. On the end, right after the other paths, add this path where Python is installed (w Scripts)