[error] [client 178.59.111.223] (2)No such file or directory: exec of

Steven D'Aprano steve+comp.lang.python at pearwood.info
Wed Aug 28 18:56:55 EDT 2013


On Wed, 28 Aug 2013 06:11:13 -0700, Ferrous Cranus wrote:

> This si what iam tryign now since the function ishish proposed wont help
> me.

I see that your apology for careless writing didn't last very long.

[...]
> except:
>   print( repr(e) )

What is the value of "e" here, and where is it defined?

Let's look at the error in your log file:


> [Wed Aug 28 13:08:27 2013] [error] [client 108.162.231.120]     print(
> repr(e) ) [Wed Aug 28 13:08:27 2013] [error] [client 108.162.231.120]
> NameError: name 'e' is not defined


Did you bother to read the error before asking for help?

Variable 'e' is not defined. Perhaps you should define it?


-- 
Steven



More information about the Python-list mailing list