You can add: as the first line of your script and then run "chmod 755 app.py" to make it executable.
You can add: as the first line of your script and then run "chmod 755 app.py" to make it executable.
Thanks, it worked!
-> #!usr/bin/env python in my app.py file
-> changed permissions
-> and used this script:
#!/bin/bash
dir_name=$0
if [ -L $dir_name ]; then
dir_name=`readlink $dir_name`
fi
dir_name=`dirname $dir_name`
cd $dir_name
ulimit -s 1024
python intro.pyw
-> created a shortcut (drag and droped my sh file) on desktop and now I can run it with just one click![]()
Bookmarks