Hi,
I wrote this sample piece of code:
def main():
lambda x: 'ABC%s' % str(x)
for k in range(2): exec('print %s' % k)
main()
With the lambda line, I get this:
SyntaxError: unqualified exec is not allowed in function 'main'
it con
2005, Feb 25 -> Scott David Daniels wrote :
> Attila Szabo wrote:
> >Hi,
> >def main():
> >lambda x: 'ABC%s' % str(x)
> >for k in range(2): exec('print %s' % k)
> OK, to no real effect, in main you define an unnamed function th
Hi,
I'm a unix programmer and I have minimal ideas, how things work under windows.
I have a tkinter stuff, that has to accept data from explorer,
I've done it via pipes, because I guess no drag'n'drop method exists...
At program launch, it registers a context menu handler to png files, that sends