from a module return a class

kevind0718 at gmail.com kevind0718 at gmail.com
Fri Mar 18 08:40:12 EDT 2016


On Thursday, March 17, 2016 at 4:59:32 PM UTC-4, Rick Johnson wrote:
> On Thursday, March 17, 2016 at 1:24:10 PM UTC-5, Laurent Pointal wrote:
> > So the error: SyntaxError: 'return' outside function
> 
> My suspicion is the the OP misunderstands how modules work. He is assuming that he can return a value from them. But without the source, who knows??? I think John has the same suspicion as me.

yep OP is not sure how the pieces go together.
source code for promptUser_PWord has been posted.

thanks for your attention to this matter.

KD



More information about the Python-list mailing list