We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8991b9c commit 6a887abCopy full SHA for 6a887ab
Lab 08 - Sprites/lab_08.py
@@ -25,13 +25,10 @@ class MyGame(arcade.Window):
25
""" Main application class """
26
27
28
+
29
def __init__(self, width, height, title):
30
super().__init__(width, height, title)
31
- # Set the working directory (where we expect to find files) to the same
32
- # directory this .py file is in. You can leave this out of your own
33
- # code, but it is needed to easily run the examples using "python -m"
34
- # as mentioned at the top of this program.
35
file_path = os.path.dirname(os.path.abspath(__file__))
36
os.chdir(file_path)
37
0 commit comments