PDA

View Full Version : Setting the PYTHONDOCS env. variable properly in Gutsy



MikeMLP
December 4th, 2007, 05:53 PM
Hi. I feel like I've been hanging around the forums, the blogs, and the slashdot for a good while now, but I don't know much at all about programming, and I definitely think it would be of great use to me to start learning. I realize the enormous size of the task, but I am not daunted at all.

I have a very simple question: I am following the python tutorial here: http://www.swaroopch.com/byteofpython/
and I am at an early step where I want to set the PYTHONDOCS env. variable properly so I can view things like help ('print') at the interpreter prompt.

The problem is that the tutorial suggests this step (for Fedora):


$ env PYTHONDOCS=/usr/share/doc/python-docs-2.3.4/html/ python
Python 2.3.4 (#1, Oct 26 2004, 16:42:40)...


but, when I go to /usr/share/doc... there is not "python-docs" folder for Python 2.5. I am wondering what folder I need to set the environment variable to in order to gain said functionality.

MikeMLP
December 4th, 2007, 05:58 PM
Nevermind, found it...

kitcha
September 13th, 2011, 10:45 AM
@mikeMLP: can you please tell me the "what folder I need to set the environment variable to in order to gain said functionality"

im using the same reference as well and hope u would help me !!

btw,im using ubuntu 11.04

nothingspecial
September 13th, 2011, 10:52 AM
Hi. Please create a new thread rather than digging one up from 4 years ago. Thanks