Wow, that was easy!
Thanks Myles!!!
--
http://mail.python.org/mailman/listinfo/python-list
in spam.py, how about something like this:
try:
eggs.someFunction()
except:
import eggs
--
http://mail.python.org/mailman/listinfo/python-list
Flash and Python could be a VERY powerful pair of tools for building
quick apps, Yet I don't see much on the web about it.
I was excited to see that it is possible to make them play together
here:
http://www.klaustrofobik.org/blog/archives/000235.html
Unfortunately, these folks seem to have gotte
Many thanks Jeff!!!
This is what should be in the TK docs. Your example was very clear.
And now I've learned some new stuff... :)
For my project, I needed to add three pieces of data per link like
this:
text.insert(Tkinter.END, "link", ("a", "href:"+href,"another:This Is
More Data", "last:and one
I've been hacking around this for a few days and have gotten close to
what I want... but not quite...
The TKinter Docs provide this example:
# configure text tag
text.tag_config("a", foreground="blue", underline=1)
text.tag_bind("a", "", show_hand_cursor)
text.tag_bind("a", "", sho
> vees, cons = [], []
> [(vees, cons)[ch in vocals].append(ch) for ch in wlist]
Wow, that's horribly twisted Reinhold...
I spent about an hour last night trying something similar, to no end...
:)
Neat tricks people...
I like Duncan's use of "or" to solve it.
I didn't see that in the python docs o
Reinhold,
Thanks for your response in the previous thread.
Yours is an interesting question. I haven't come up with a solution,
but I did realize that in the previous problem, the source 'word'
doesn't really need to stay intact...
So perhaps a solution along these lines?
>>> for a in enumerate(
Wow... Thanks for all the tips guys...
I will study the above examples.
...down to 8 lines of exquisitely readable code... Wow... Python
rocks...
(still aspiring to greatness myself,)
cheers,
-John
x=["ohndes","j","wu","x[1][0]+x[0][:3]+chr(((len(x))*16))+x[2]+x[0][2:]+`rou
Hi All,
I've been lurking the list for a month and this is my first post. I am
hoping this post is appropriate here, otherwise, my apologies.
I'm somewhat new to Python, (I'm reading all the tutorials I can find,
and have read through Andre Lessa's Developers Handbook.)
I am trying to learn the