• dougler1

    Error was between seat and keyboard...thanks

    posted in Pythonista read more
  • dougler1

    Here Is the code I’m trying to run

    board=['1','2','3', '4','5', '6', '7','8','9']
    def play():
        print('got here')
        printBoard
    def printBoard(): 
        print
        for square in range (0,9 ):
            print('|', board [square],'|', end='')
            
            if square ==2 or square ==5 :
                print ('\n')
                print('__________')
                print
                
    if __name__==' __main__':
            play()
    

    posted in Pythonista read more
  • dougler1

    The script is called gameBoard.py which is in gray text in the tabs. The run arrowhead is in gray. From the examples I think it should be in green to be active.
    The file itself is just a series of print statements about 10 lines long. I just want to get a feel for the editor

    posted in Pythonista read more
  • dougler1

    I’m new to python and use IDLE on my laptop.
    I copied some code into what appears to be the editing area - where the examples appear.
    I gave it a name that appears on the upper tabs, but I can’t run the program. The run icon above dose nothing and I can’t find documentation on the mechanics of the editor.

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!