I have a bash script that does:
apt-get source $PACKAGE
I need to CD into the dir it creates. I am happy to re-write it in py if I could figure out how to use py-apt.
so... how do I figure out what dir it is going to create?
also, how would I 'apt-get source $PACKAGE' using py-apt?