[Tutor] how to uninstall distutils?
Hi, I have distutils 0.9 install under Python 2.7. I want to uninstall it. I am on a Macbook pro running Lion. The site-packages directory is in /Lib/Python/2.7/site-packages. There distutils exists along with a lot of other stuff I have installed. I do not have pip installed and in fact installed distutils 0.9 from the distutils directory by running as usual sudo python2.7 setup.py install. I am unsure whether I can just remove the distutils stuff in the site-packages directory and do so safely. Can you please advise me on the safe way to completely remove distutils? Thanks for your help. Comer ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] how to uninstall distutils?
Wow, I screwed up. I meant docutils rather than distutils !! Sorry for the crazy fingers. On Thu, Feb 23, 2012 at 3:14 PM, Comer Duncan wrote: > Hi, > > I have distutils 0.9 install under Python 2.7. I want to uninstall it. > I am on a Macbook pro running Lion. The site-packages directory is in > /Lib/Python/2.7/site-packages. There distutils exists along with a > lot of other stuff I have installed. I do not have pip installed and > in fact installed distutils 0.9 from the distutils directory by > running as usual sudo python2.7 setup.py install. I am unsure whether > I can just remove the distutils stuff in the site-packages directory > and do so safely. Can you please advise me on the safe way to > completely remove distutils? > > Thanks for your help. > > Comer ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
[Tutor] question about listing variables defined since session started
Hi, I have a newbie type question. Say I have started a python (or ipython) session and have done some imports and have also defined some new variables since the session started. So, I have in my current namespace a bunch of things. Suppose I want to list just those variable names which have been defined since the session started but not include the names of the objects that who and whos will return. How to do that? In matlab, this is what the who returns, but in python I seem to always get a raft of things since I typically do import a bunch of things. Thanks for your suggestions. Comer ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor