I'm not sure if this is more a Python question or a Linux question, but here goes: I have a script file tied to the key combo Ctrl+Alt+P to navigate to my script folder and run Python. That part works.
However, I also want it to run a few lines of Python script, like import some standard libraries so I don't have to re-type them in every time. How do I do that? I tried adjusting the program like so:
But it just opens a blank Terminal window with a flashing cursor, which disappears when I click on it.
1 2 |
#!/bin/bash mate - terminal - - working - directory = "/home/flexico/Documents/Python_Scripts" - - title = "Python" - - command python |
1 2 |
#!/bin/bash mate - terminal - - working - directory = "/home/flexico/Documents/Python_Scripts" - - title = "Python" - - command "python /home/flexico/python_start.py" |