[Tutor] Already Initialized Object Inheritance?

Steven D'Aprano steve at pearwood.info
Wed Jun 15 13:35:05 CEST 2011


WolfRage wrote:
> Unfortunately I am not able to inherit "stdscr" using that method. As
> Python returns with an error stating that "stdscr" is not defined. This
> error is returned at run time and by the compiler prior to actual
> execution. If you would like I can write a quick example that will
> generate the error message for that method.

You shouldn't need to ask that question, just do it.

My guess is that the error you get is a NameError. The solution to that 
is to fix the name error, not to run off chasing wild geese. Object 
inheritance? This has nothing to do with that!

What is stdscr? Where does it come from? How is it defined?

Please copy and paste the *exact* error message you get, including the 
full traceback.


-- 
Steven


More information about the Tutor mailing list