BTW, GMail brings up some interesting sponsored links when the subject line
has string.strip in it ( :-0)
On 9/30/07, Alan Gauld <[EMAIL PROTECTED]> wrote:
>
>
> "wesley chun" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> >> > I'm not sure how to proceed. My biggest stumbling
>
Working my way through Alan Gauld's tutorial, and I am on the
section on modules.
When I call:
import sys
sys.exit()
I get a traceback error saying it needs more input
Same when I do:
import sys
print sys.path()
Both of these work if I do
sys.exit
or print sys.path without the parentheses.
Is th
r script (0 = okay,
other = problem).
sys.path is an attribute (of type list) of sys not a function.
So don't put () after path.
I hope it will help.
Damien.
Bob Nienhuis wrote:
Working my way through Alan Gauld's tutorial, and I am on
the
section on modules.
When I call:
import sys
sys
24\Lib\site-packages\pythonwin\pywin\framework\interact.py", line 257, in runcode
exec code in self.globals, self.locals
File "", line 1, in ?
SystemExit
sys.exit(0)
>>> On 9/21/05, Bob Nienhuis <[EMAIL PROTECTED]> wrote:
When I do:
import sys
sys.exit(0)
I
Have you had the experience of finding a nifty bit of code on the
web, trying it out, and then discovering that technique
only worked in version X.YY, or requires module Z that
is no longer available?
Well perhaps we can address this situation.
I would like to see an online system that facilitat