Python Forum
modify the color a string of characters in python 3.6
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
modify the color a string of characters in python 3.6
#1
hello;
I look for a method python associated to objects that type is str; like the methods : upper(), lower() ...
which can help me to change the color of the character string. and the character of string is contained in a TEXT field of a database sqlite3

In addition to this field I have other fields that add to a tkinter 'Text' widget

Currently this character string is written in black and I want to change its color without integrating it into the 'Label' widget of tkinter

thanks for the help
Reply


Messages In This Thread
modify the color a string of characters in python 3.6 - by atlass218 - Feb-24-2019, 12:13 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Turtle Star Fill Color Yellow-White Interchanging Color Effect codelab 9 990 Oct-25-2023, 09:09 AM
Last Post: codelab
  doing string split with 2 or more split characters Skaperen 22 2,486 Aug-13-2023, 01:57 AM
Last Post: Skaperen
  How do I check if the first X characters of a string are numbers? FirstBornAlbratross 6 1,521 Apr-12-2023, 10:39 AM
Last Post: jefsummers
Question Help me modify this .txt into .csv with Python mgzz 1 739 Dec-14-2022, 01:38 PM
Last Post: Axel_Erfurt
  How to modify python script to append data on file using sql server 2019? ahmedbarbary 1 1,215 Aug-03-2022, 06:03 AM
Last Post: Pedroski55
Photo Visual studio code unable to color syntax on python interpreter tomtom 4 6,866 Mar-02-2022, 01:23 AM
Last Post: tomtom
Question [SOLVED] Delete specific characters from string lines EnfantNicolas 4 2,203 Oct-21-2021, 11:28 AM
Last Post: EnfantNicolas
  I am writing a car rental program on python. In this function I am trying to modify aboo 2 2,730 Aug-05-2021, 06:00 PM
Last Post: deanhystad
  Extract continuous numeric characters from a string in Python Robotguy 2 2,630 Jan-16-2021, 12:44 AM
Last Post: snippsat
  Python win32api keybd_event: How do I input a string of characters? JaneTan 3 3,803 Oct-19-2020, 04:16 AM
Last Post: deanhystad

Forum Jump:

User Panel Messages

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