RE: [Zope] Should I switch to Python 1.5.2?
A strange thing indeed. Even more exciting is that you can do this: import string for foo in string.split('this is a test', ' '): pass foo = string.split('this is a test', ' ') But not this: import string foo = string.split('this is a test', ' ') for foo in string.split('this is a test', ' '): pass Beats me. _______________________ Ron Bickers Logic Etc, Inc. rbickers@logicetc.com
-----Original Message----- From: Kyler B. Laird [mailto:laird@ecn.purdue.edu] Sent: Saturday, February 10, 2001 12:48 AM To: Ron Bickers Subject: Re: [Zope] Should I switch to Python 1.5.2?
I found that in Python Scripts (and maybe other places?) you cannot do 'import string',
I can. That's the problem. I can do import string for foo in string.split('this is a test', ' '): ... but not import string foo = string.split('this is a test', ' '):
participants (1)
-
Ron Bickers