Monday, March 21, 2011

3/21


installed a module in python, and set up a distribution cycle


^^^^
my module in action, called from a file

the coding of my module


Im having an issue with syntax, the book im using says to use the following code:

else:
      for tab_stop in range(level):
            print("\t", end='')
     print(each_item)

however IDLE is giving me a syntax error
ive rearranged the code every way I can think, and cant get it to work, if anyone knows whats up could you contact me.

that is 2 '   ' to make it clear


edit: 3/27
I figured the issue out. Idle was running python 2.6.6 and I was coding python 3.2

No comments:

Post a Comment