Skip to content

Added line to make Unix OSes use python when it runs via command line.#15

Open
byemc wants to merge 2 commits into
PolyMarsDev:mainfrom
byemc:patch-1
Open

Added line to make Unix OSes use python when it runs via command line.#15
byemc wants to merge 2 commits into
PolyMarsDev:mainfrom
byemc:patch-1

Conversation

@byemc

@byemc byemc commented Apr 6, 2021

Copy link
Copy Markdown

(to run the file you need to type chmod +x main.py into a Unix terminal open in the folder with Flappucchino, then use ./main.py to open it afterwards (you only need to run chmod once))

(to run the file you need to type ```chmod +x main.py``` into a Unix terminal open in the folder with Flappucchino, then use ```./main.py``` to open it afterwards (you only need to run ```chmod``` once))
@firefish111

Copy link
Copy Markdown

#/usr/bin/env

Isn't it meant to be #!? Correct me if I'm wrong.

@byemc

byemc commented Apr 17, 2021

Copy link
Copy Markdown
Author

#/usr/bin/env

Isn't it meant to be #!? Correct me if I'm wrong.

Oh right, thanks for that!

@red-socks294

Copy link
Copy Markdown

Looked at the code you added in, it will work. (I did not test it)

@byemc byemc changed the title Added line to make Unix OS'es use python when it runs via command line. Added line to make Unix OSes use python when it runs via command line. Feb 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants