newbieAuggie2019 Wrote:because I tried your suggestion (term.py) and others from the cmder site, and I'm not sure I have done it right:
I did post this,so
term.py
is just name i used for your code that i run in cmder
(Sep-17-2019, 04:23 PM)snippsat Wrote: Test term.py is your latest code.
# term.py
import sys
from termcolor import colored, cprint
text = colored('Hello, World!', 'red', attrs=['reverse', 'blink'])
print(text)
cprint('Hello, World!', 'green', 'on_red')
print_red_on_cyan = lambda x: cprint(x, 'red', 'on_cyan')
print_red_on_cyan('Hello, World!')
print_red_on_cyan('Hello, Universe!')
for i in range(10):
cprint(i, 'magenta', end=' ')
cprint("Attention!", 'red', attrs=['bold'], file=sys.stderr)
newbieAuggie2019 Wrote:I always have problems with path
Windows Path most work,means that
python
and
pip
command most work form any folder.
C:\code
λ python -V
Python 3.7.2
C:\code
λ pip -V
pip 19.2.3 from c:\python37\lib\site-packages\pip (python 3.7)
If don't work fix it,all info needed is here
Python 3.6/3.7 and pip installation under Windows.