Launch Python script in Git Bash -


i'm writing git commands through python script (on windows) when double click on myscript.py, commands launched in windows command prompt. execute them in git bash.

any idea how without opening git bash , write python myscript.py?

in top of python file add #!/usr/bin/python can rename mv myscript.py myscript , run chmod 755 myscript. make can run file ./myscript adding file directory path or linking path if want able run anywhere.


Comments

Popular posts from this blog

C# random value from dictionary and tuple -

cgi - How do I interpret URLs without extension as files rather than missing directories in nginx? -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -