Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: kmarris
  • Content: Threads
  • Order by date
  1. kmarris

    shell script through Python

    I have a LINUX bash shell script that sets environment variables. I need to execute this script through Python. I've tried to use os.system and subprocess.call, but each time, the shell script seems to modify the environment variables in a subshell and exits. How can I run a LINUX shell...
  2. kmarris

    How to use variables in an alias?

    From the command line I can execute the following with success: ps | awk '{print $1}' It prints the first column of a ps listing as expected. However, if I bind this command to an alias, it does not handle the "$1" variable correctly. I've tried escaping the variable with a backslash, single...
  3. kmarris

    How to create hotkeys with Tk?

    I know Perl, but I don't know Tk. I have a Perl script that someone else wrote. When it runs, there is a GUI with an Exit button. Rather than click the Exit button, I want to assign a keyboard shortcut to exit the GUI. Can someone tell me how to add this functionality to the Perl script?

Part and Inventory Search

Back
Top