use the "call" command
my code is something like this
Expand|Select|Wrap|Line Numbers
- def con():
- input = raw_input('Press y to start:')
- if input == "y" or "Y":
- return(menu_1())
- else:
- print 'OMG YA NOOB I SAID PRESS y!'
- return
- def menu_1():
- print '(1) Write noob to start "Stupid Program"'
- print '(2) Write calc to start "Talking"'
- print '(3) This section is under construction'
- print '(4) This section is under construction'
- input2 = raw_input('Insert text here \n'*1)
it just won't start, i think i need to make it activate automaticlly without the need to write the con() at the start, how do i do that?
do i need to use the __init__ or __call__ thingy i have no idea how to use it, yes i searched the web, but it wasnt very newby-friendly!
please help me!