I am wondering how to source your bashrc from python. I automate turning scripts into aliases and whatnot. Here is what I see in shell:
In [6]: subprocess.call(['sudo', 'source', '/home/cchilders/.bashrc'])
sudo: source: command not found
Out[6]: 1
In [7]: subprocess.call(['sudo', '.', '/home/cchilders/.bashrc'])
sudo: .: command not found
Thank you