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
  set -x shell equivalent of python, possible/available? ggpf900 1 436 Jan-25-2025, 08:01 PM
Last Post: Gribouillis
  Help creating shell scrip for python file marciokoko 10 3,336 Sep-16-2023, 09:46 PM
Last Post: snippsat
  Launch Python IDLE Shell from terminal Pavel_47 5 2,575 Feb-17-2023, 02:53 PM
Last Post: Pavel_47
  batch file for running python scipt in Windows shell MaartenRo 2 3,003 Jan-21-2022, 02:36 PM
Last Post: MaartenRo
Question convert autohotkey script to python / macro - press key when pixel get colour willson94d 1 5,074 Jan-01-2022, 08:13 PM
Last Post: Yoriz
  How to make a Python program run in a dos shell (cmd) Pedroski55 2 3,216 Nov-09-2020, 10:17 AM
Last Post: DeaD_EyE
Bug Python Shell 3.9.0 - Issue with indentation Earis 17 10,338 Oct-31-2020, 07:00 AM
Last Post: Earis
  Adding colour to Python console Archangelos 4 3,767 Apr-15-2020, 05:15 PM
Last Post: newbieAuggie2019
  Python "Terminal" vs "Shell" SectionProperties 2 3,421 Apr-10-2020, 08:36 AM
Last Post: SectionProperties
  python shell teelado 1 24,741 Jun-13-2019, 01:49 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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