Open renderman21 opened 3 years ago
no no, .
means the current directory, it needs that otherwise it will
attempt to open a file in path, or what is system32 if you use that shitty
abomination called Microsoft Windows
On Tue, Jul 6, 2021, 06:28 ph3b3 @.***> wrote:
the . at the start of directorys is a unix thing i think
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/PolyMarsDev/Flappuccino/pull/21#issuecomment-874471351, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH5R7YUBGIECCP5FY3ZLG2LTWKIBHANCNFSM47DEJEBA .
youll have to edit all of the directory references
on your local version
youll have to edit all of the directory references
but it works on Windows as well, have you not used cmd
?
@phoebe-leong this guy is right though, it's supposed to be ./
not just .
no no,
.
means the current directory, it needs that otherwise it will attempt to open a file in path, or what is system32 if you use that shitty abomination called Microsoft Windows … On Tue, Jul 6, 2021, 06:28 ph3b3 @.***> wrote: the . at the start of directorys is a unix thing i think — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#21 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH5R7YUBGIECCP5FY3ZLG2LTWKIBHANCNFSM47DEJEBA .
Ah okay okay, I am using Linux in testing the game. And the .
before the referenced python files such as player.py
utils.py
, etc., is a hidden file. Guessed I didn't account for Windows though.
Running the game, there is a sudden error in the console that most of them are "undefined". And when importing the files for main.py, there is a dot (.) before the referenced file, thus throwing off an error