Search Results

Showing results 1 to 5 of 5
Search took 0.01 seconds.
Search: Posts Made By: JabaPyth
Forum: Python Dec 10th, 2007
Replies: 3
Views: 7,096
Posted By JabaPyth
a few helpful libraries are: urllib, htmllib, urllib2, cookielib
Forum: Python Dec 10th, 2007
Replies: 2
Views: 3,202
Posted By JabaPyth
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
Posted By JabaPyth
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
Posted By JabaPyth
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
Posted By JabaPyth
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
Showing results 1 to 5 of 5

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC