newbie

Brain Murphy brianomorchoe at yahoo.co.uk
Mon Feb 27 15:35:53 EST 2006


I have some questions, 1) I am trying to have multiple def's but it is not working.
  for instance, i am using the tutoreals and am trying to combine the phone book as well as the grades..ect so that it would look somthing like this:
   
  def print_options():
              print "options:"
              print " 'p' print options"
              print " 'g' grades"
              print " 'b' phonebook"
              print " 'q' quit"
  choice ="p"
  while choice != "q":
          if choice == "g":
              def print_menu():
  ...ect
  what am i doing wrong.
   
  also i have heard that there are no crackers using python why is this??
   
  Brian

		
---------------------------------
Win a BlackBerry device from O2 with Yahoo!. Enter now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20060227/d858ca41/attachment.html>


More information about the Python-list mailing list