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
  Help creating shell scrip for python file marciokoko 10 1,256 Sep-16-2023, 09:46 PM
Last Post: snippsat
  Launch Python IDLE Shell from terminal Pavel_47 5 1,143 Feb-17-2023, 02:53 PM
Last Post: Pavel_47
  batch file for running python scipt in Windows shell MaartenRo 2 1,825 Jan-21-2022, 02:36 PM
Last Post: MaartenRo
Question convert autohotkey script to python / macro - press key when pixel get colour willson94d 1 3,573 Jan-01-2022, 08:13 PM
Last Post: Yoriz
  How to make a Python program run in a dos shell (cmd) Pedroski55 2 2,256 Nov-09-2020, 10:17 AM
Last Post: DeaD_EyE
Bug Python Shell 3.9.0 - Issue with indentation Earis 17 6,430 Oct-31-2020, 07:00 AM
Last Post: Earis
  Adding colour to Python console Archangelos 4 2,687 Apr-15-2020, 05:15 PM
Last Post: newbieAuggie2019
  Python "Terminal" vs "Shell" SectionProperties 2 2,617 Apr-10-2020, 08:36 AM
Last Post: SectionProperties
  python shell teelado 1 13,683 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 3,018 Feb-21-2019, 11:55 PM
Last Post: markhaus

Forum Jump:

User Panel Messages

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