Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~2K People Reached
Favorite Forums
Favorite Tags

3 Posted Topics

Member Avatar for pdxwebdev

Ok, lets say I have a string [CODE] str = "main,sub,sub_sub" [/CODE] how could I use that to edit the value inside the dict [CODE] dicx = {'main':{'sub':{'sub_sub':'value to change'}}} [/CODE]

Member Avatar for Member #562630
0
123
Member Avatar for sneekula

to all the n00bs out there, like myself, with Fedora 11 or less, just do [CODE]yum install tk-devel ./configure make make install[/CODE] all within the extracted python download folder. You have have to re-configure, re-make, and re-install python, if you've already done so, after installing tk-devel

Member Avatar for pdxwebdev
0
1K
Member Avatar for pdxwebdev

[CODE] def doKey(e): print(e.widget.get("1.0","end")) root= Tk() root.title('yada') txta = Text(root, width=40, height=10) txta.bind("<Key>", doKey) txta.pack(side=LEFT) root.mainloop() [/CODE] Pressing a key in this text area will always output the string prior to your pressing the key. Am I missing something?

Member Avatar for pdxwebdev
0
149

The End.