| | |
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 |
alarm assignment avogadro beginner bluetooth character cmd code customdialog cx-freeze data decimals dictionary directory dynamic error examples exe file float format function generator gnu graphics gui halp homework http ideas import input itunes java leftmouse line linux list lists logging loop maintain maze module mouse mysqldb number numbers output parsing path port prime programming projects push py2exe pygame pyglet pyqt python queue random recursion schedule screensaverloopinactive script scrolledtext slicenotation sqlite ssh stdout string strings sudokusolver table terminal text thread threading time tkinter tlapse tuple tutorial ubuntu unicode urllib urllib2 variable variables ventrilo verify vigenere web webservice wikipedia windows wxpython xlib





