human
Can I use an alias to execute a program from a python script
assistant
Here is some code to execute command 'source .bashrc; shopt -s expand_aliases; nuke -x scriptPath' from python script

os.system('source .bashrc; shopt -s expand_aliases; nuke -x scriptPath')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.