#Is there anyway to cog a class view with out puting at the top of the script?
1 messages · Page 1 of 1 (latest)
possible yes (i think), but you really shouldn't
because its just not the way to do OOP
just make a seperate file for the view, its easier
then import that
then pass it to the view when you make it
i mean to pass those things to the class when you instantiate it
View(parameter1, parameter2...)