y'all,
Thanks for the explanations! Sorry for the delay in responding, it's been a
rough year these past couple weeks.
As noted, the fix was to put the "import socket" above the class
declaration. What confuses me is that in the calling program I'm importing
the class:
from mysocket import mys
On 10/03/17 12:38, leam hall wrote:
> As noted, the fix was to put the "import socket" above the class
> declaration. What confuses me is that in the calling program I'm importing
> the class:
>
> from mysocket import mysocket
>
> In mysocket.py the "import socket" is above the class declarati