The "code" is just a very simple test thingy at the start of the book, I don't think it'll tell you much.
It looks like this:
def draw():
screen.draw.text("Hello", topleft=(10, 10))
And we have to call this code hello.py and then we're supposed to open it in cmb, by doing this:
pgzrun C:\Users\myrealname\OneDrive\Desktop\python games\hello\hello.py
And cmd then replies with this:
pgzrun is not recognized as an internal or external command, operable program or batch file.
And then I'm like this:
It looks like this:
def draw():
screen.draw.text("Hello", topleft=(10, 10))
And we have to call this code hello.py and then we're supposed to open it in cmb, by doing this:
pgzrun C:\Users\myrealname\OneDrive\Desktop\python games\hello\hello.py
And cmd then replies with this:
pgzrun is not recognized as an internal or external command, operable program or batch file.
And then I'm like this: