Re: Newbie: AttributeError: 'module' object has no attribute 'Client'

Irmen de Jong <[email protected]>
Newsgroups gmane.comp.python.pyro
Message-ID <[email protected]>
On 27-5-2012 15:34, Schneider wrote:
> Moving the code from the global scope into a main method solved the problem.
> As in the chatbox example, an import of the client in the server does not
> seem to be required. I am a little puzzled why this is.

The import is done by Python itself when it's unpickling the request data.

> Irmen, I love your documentation, which is great. Also, the examples are
> really good. However, getting away from the computer for a day and just a
> little hint from somebody sometimes does help as well.

Fair enough!  And thank you.

Irmen

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.