How to deactivate all python ports
sudo port deactivate py-* and active should do what you want. Note that py-* packages in MacPorts are usually just placeholders for the versioned ports, e.g. py27-*, so you might want to deactivate those, too.