Sep-17-2019, 04:48 PM
(This post was last modified: Sep-17-2019, 05:08 PM by newbieAuggie2019.)
As it seems that only the last part was working I modified the program as:
<-[1m<-[31mAttention!<-[0m
<-[1m<-[32mAttention!<-[0m
<-[1m<-[33mAttention!<-[0m
<-[1m<-[36mAttention!<-[0m
<-[1m<-[30mAttention!<-[0m
<-[1m<-[34mAttention!<-[0m
<-[1m<-[37mAttention!<-[0m
<-[1m<-[35mAttention!<-[0m
It looks promising, but when executing Cmder.exe, I received a message from my Avast antivirus saying:
Blocked threat
We have blocked init.bat because it was infected with IDP.ALEXA.51
What should I do???
import sys from termcolor import colored, cprint cprint("Attention!", 'red', attrs=['bold'], file=sys.stderr) cprint("Attention!", 'green', attrs=['bold'], file=sys.stderr) cprint("Attention!", 'yellow', attrs=['bold'], file=sys.stderr) cprint("Attention!", 'cyan', attrs=['bold'], file=sys.stderr) cprint("Attention!", 'grey', attrs=['bold'], file=sys.stderr) cprint("Attention!", 'blue', attrs=['bold'], file=sys.stderr) cprint("Attention!", 'white', attrs=['bold'], file=sys.stderr) cprint("Attention!", 'magenta', attrs=['bold'], file=sys.stderr)but then everything was printed in red, also with the annoying arrows, brackets and ANSI code numbers:
<-[1m<-[31mAttention!<-[0m
<-[1m<-[32mAttention!<-[0m
<-[1m<-[33mAttention!<-[0m
<-[1m<-[36mAttention!<-[0m
<-[1m<-[30mAttention!<-[0m
<-[1m<-[34mAttention!<-[0m
<-[1m<-[37mAttention!<-[0m
<-[1m<-[35mAttention!<-[0m
(Sep-17-2019, 04:42 PM)snippsat Wrote: Need a better Terminal shell than cmd/Poweshell.Thanks a lot!
I only use cmder | Github
Also remember to do.\cmder.exe /REGISTER ALL
.
So get a shortcut in file explorer,to go directly to cmder.
Testterm.py
is your latest code.
It looks promising, but when executing Cmder.exe, I received a message from my Avast antivirus saying:
Blocked threat
We have blocked init.bat because it was infected with IDP.ALEXA.51
What should I do???
newbieAuggie2019
"That's been one of my mantras - focus and simplicity. Simple can be harder than complex: You have to work hard to get your thinking clean to make it simple. But it's worth it in the end because once you get there, you can move mountains."
Steve Jobs
"That's been one of my mantras - focus and simplicity. Simple can be harder than complex: You have to work hard to get your thinking clean to make it simple. But it's worth it in the end because once you get there, you can move mountains."
Steve Jobs