Forum: Python Dec 10th, 2007 |
| Replies: 3 Views: 7,096 a few helpful libraries are: urllib, htmllib, urllib2, cookielib |
Forum: Python Dec 10th, 2007 |
| Replies: 2 Views: 3,202 You could probably use GetInsertionPoint, along with GetRange, eg
line_number = len( self.editor.GetRange( 0, self.editor.GetInsertionPoint() ).split("\n") ) |
Forum: Python Mar 2nd, 2006 |
| Replies: 3 Views: 2,816 Sorry, i've solved it on my own. In the tkinter text widget, tags are used for formatting:
Text.add_tag(name='myTag',start=1.0,stop=END,font='ariel 20')
Thanks anyway! :cheesy: :mrgreen: |
Forum: Python Mar 1st, 2006 |
| Replies: 3 Views: 2,816 For the Tkinter Text widget, is there a way to assign the selected text to a new tag?(other than 'sel',which changes) |
Forum: Python Mar 1st, 2006 |
| Replies: 3 Views: 13,635 There is a cheater way. You need to (this is very important):
cd into your idlelib directory
run: python PyShell.py
It raises an error if you havnt cd-d into idlelib |