| | |
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 |
Tag cloud for Python
accessdenied apache application argv beginner book change code color dictionary dynamic edit editing enter examples excel file filename float format ftp function gui homework import inches input java keyboard lapse library line lines linux list lists loop microphone mouse movingimageswithpygame mysql newb number numbers numeric output parameters parsing path port prime program programming projects py2exe pygame pyopengl pyqt python random recursion recursive redirect remote reverse rpg scrolledtext search server session simple smtp software sprite ssh statictext string strings syntax table tennis terminal text thread threading time tkinter tlapse trick tuple tutorial ubuntu unicode unit urllib urllib2 variable windows wordgame wxpython





