how to open new console and do print strings on that window in python
I want is i have a script, i want to open a new window after it gets started on that windows i want to print strings like Logs basically like the following:
[INFO] A() is Running
[WARNING] A() Is Running SO BAD
[FINISHED] A() IS Done
WOuld be helpfull if the question is anwered
try to write extra program for handling args to logs. but you will need to execute new python instance from OS using cmd/bash script
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.