Hey there everyone I need a little help. Right now I am in the process of writing a program that uses subscripts and superscript but I dont have a clue how to get them. I am not even sure if they can be used in python so if any of you could give me a little help I would love it. :)
Scuppery 29 Newbie Poster
Recommended Answers
Jump to PostXML handles subscripts and superscripts amongst other things. Look into the module PyXML or wxPython's Fancytext widget.
For a fancytext example see:
http://www.daniweb.com/forums/post643697-23.htmlAnother way would be to use the richedit format, again wxPython's TextCtrl() widget can handle that.
Jump to PostGood news: the convention for scientific notation
2.72e-2 (which is the correct rendering)
is so well-recognized that superscripting is not required.
Jeff
All 8 Replies
Agni 370 Practically a Master Poster Featured Poster
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
jlm699 320 Veteran Poster
Scuppery 29 Newbie Poster
jlm699 320 Veteran Poster
Scuppery 29 Newbie Poster
jlm699 320 Veteran Poster
jrcagle 77 Practically a Master Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.