Renderer Posted August 17, 2015 Share Posted August 17, 2015 Hello GUYS ! I use the 3.4 version of Python. I've got a question to ask you:What is the code to change to color only for a specific string, but not for the entire console?I'm waiting for your answers! Thanks in advance! Link to comment Share on other sites More sharing options...
MikahS Posted August 17, 2015 Share Posted August 17, 2015 Termcolor might be what you are looking for. Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ Link to comment Share on other sites More sharing options...
Renderer Posted August 17, 2015 Author Share Posted August 17, 2015 I've tried this,but there's no any module named termcolor. Link to comment Share on other sites More sharing options...
MikahS Posted August 17, 2015 Share Posted August 17, 2015 This stackoverflow question could potentially help out. Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ Link to comment Share on other sites More sharing options...
TheDcoder Posted August 17, 2015 Share Posted August 17, 2015 @Renderer You need to download the termcolor module, You will find the download link in post #2 EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion Link to comment Share on other sites More sharing options...
Renderer Posted August 17, 2015 Author Share Posted August 17, 2015 thanks to everyone! Link to comment Share on other sites More sharing options...
MikahS Posted August 17, 2015 Share Posted August 17, 2015 My pleasure. Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ Link to comment Share on other sites More sharing options...
TheDcoder Posted August 18, 2015 Share Posted August 18, 2015 Glad that I was a help EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now