Advertisement
clockworkpc

Clockwork PC Python Script Generator

Apr 3rd, 2011
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.42 KB | None | 0 0
  1. #!/bin/bash
  2. #py.sh
  3. #BASH script to generate Python scripts
  4. #Released under a GPLv3 Licence by Clockwork PC
  5. #www.clockworkpc.com.au
  6.  
  7. echo "What do you want to call your Python script?"
  8. read RESPONSE
  9. echo "#!/usr/bin/python" | tee $RESPONSE.py
  10. echo \#Filename:$RESPONSE.py | tee -a $RESPONSE.py
  11. echo \#Released under a GPLv3 Licence by Clockwork PC | tee -a $RESPONSE.py
  12.  
  13. chmod +x $RESPONSE.py
  14.  
  15. gedit $RESPONSE.py
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement