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

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

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