| | |
Superscribe and subscribe
Please support our Python advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Oct 2008
Posts: 45
Reputation:
Solved Threads: 6
Look here and see if it helps:
http://www.daniweb.com/forums/thread133360.html
if that isn't what you are looking for, maybe you can clarify what you are trying to do? is this going to be CLI or are you wanting to put something on a GUI?
http://www.daniweb.com/forums/thread133360.html
if that isn't what you are looking for, maybe you can clarify what you are trying to do? is this going to be CLI or are you wanting to put something on a GUI?
Last edited by tyincali; Oct 30th, 2008 at 3:54 pm.
I wish I had something cool to put here...
•
•
Join Date: Oct 2008
Posts: 45
Reputation:
Solved Threads: 6
The thing about outputting super/subscript in term is that it will vary from system to system. Experiment with the '\x##' replacing ## with any hex number from 01 to FF. Eventually you will find the characters you want to use.
this will print a list of every character for you:
this will print a list of every character for you:
python Syntax (Toggle Plain Text)
nums = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'] for a in nums: for b in nums: exec("print '\\\\x"+a+b+": \\x"+a+b+"'")
Last edited by tyincali; Oct 31st, 2008 at 12:30 pm.
I wish I had something cool to put here...
![]() |
Other Threads in the Python Forum
- Previous Thread: Python (Django) vs PHP
- Next Thread: What editor do you use and why?
| Thread Tools | Search this Thread |
abrupt ansi anti approximation assignment avogadro backend beginner binary bluetooth calculator character cmd code customdialog decimals dictionaries dictionary directory drive dynamic error examples excel exe file float format function gnu graphics gui heads homework http ideas import input java launcher leftmouse line linux list lists logging loop module mouse number numbers output parsing path pointer port prime programming progressbar projects push py2exe pygame pyqt python random recursion schedule scrolledtext sqlite statistics stdout string strings sudokusolver sum table terminal text thread threading time tkinter tlapse tricks tuple tutorial twoup ubuntu unicode update urllib urllib2 variable ventrilo wikipedia windows write wxpython xlib





