Python Forum
Is it possible to have my python shell change the backgrounds colour?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is it possible to have my python shell change the backgrounds colour?
#1
In an battle i'd like to have my python shell to change the backgrounds colour is this possibe?
Reply
#2
https://stackoverflow.com/questions/3173...-in-python

Try this:
import os

os.system("color 1f")
Reply
#3
That depends entirely on which shell you are using.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to make a Python program run in a dos shell (cmd) Pedroski55 2 565 Nov-09-2020, 10:17 AM
Last Post: DeaD_EyE
Bug Python Shell 3.9.0 - Issue with indentation Earis 17 1,736 Oct-31-2020, 07:00 AM
Last Post: Earis
  Adding colour to Python console Archangelos 4 892 Apr-15-2020, 05:15 PM
Last Post: newbieAuggie2019
  Python "Terminal" vs "Shell" SectionProperties 2 1,032 Apr-10-2020, 08:36 AM
Last Post: SectionProperties
  python shell teelado 1 885 Jun-13-2019, 01:49 AM
Last Post: Larz60+
  running python script from shell invoked with os.system("x-terminal-emulator -e /bin/ markhaus 2 1,427 Feb-21-2019, 11:55 PM
Last Post: markhaus
  python shell elabroting output kapilan15 2 1,108 Feb-11-2019, 07:09 PM
Last Post: snippsat
  Need shell for python 3.6 kaiba 6 1,698 Oct-28-2018, 01:36 PM
Last Post: kaiba
  using a shell script within python Krszt 2 1,462 Oct-10-2018, 11:00 AM
Last Post: snippsat
  Pop up the Python shell after clicking a window aking76 0 1,002 Sep-18-2018, 02:27 PM
Last Post: aking76

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020