Ask coding questions

← Back to all posts
functions question
JeremyIrwin (44)

Line 101 in main.py
I want to call a move in moves.py and I don't know how to do that
thanks!

Comments
hotnewtop
SixBeeps (5335)

You'll have to import the file along with any of its functions. Like this:

from moves import * # Imports everything from moves.py

# Me when it is a Wednesday
while(True):
  puke_fire()