| | |
How to permenantly set PYTHONPATH for 2.6 and 3.0?
Please support our Python advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved |
0
#11 Nov 6th, 2009
Yes, I knew there was a function like this, but I couldn't remember where it was. Thanks.
0
#12 Nov 6th, 2009
That means that the startup code from Gribouillis could also be written this way ...
Well, both ways ought to work equally well. 
The advantage with the code from Gribouillis is that is somewhat self-documenting.
python Syntax (Toggle Plain Text)
# mystartup.py import sys from distutils.sysconfig import get_python_lib sys.path.append(get_python_lib())

The advantage with the code from Gribouillis is that is somewhat self-documenting.
Last edited by vegaseat; Nov 6th, 2009 at 3:17 pm.
May 'the Google' be with you!
![]() |
Similar Threads
- Insert a struct in a set (C++)
- Trying to set up wireless lan (Networking Hardware Configuration)
- Airport Base Station Set Up??? (OS X)
- How can I set up my own email a/c with a domain name using microsoft outlook/express (Web Browsers)
- best chip set anyone? (Motherboards, CPUs and RAM)
- Set Precision in C++.NET? (C++)
- New Portal set up (DaniWeb Community Feedback)
Other Threads in the Python Forum
- Previous Thread: loops and parameters?
- Next Thread: List convert to string
Views: 537 | Replies: 11
| Thread Tools | Search this Thread |
Tag cloud for Python
accessdenied alarm aliased basic beginner casino character code corners cursor definedlines development dictionary digital dynamic editing error events examples excel exe file filename float format ftp function graphics gui handling homework ideas iframe import input java line linux list lists logging loop matching mouse newb number numbers numeric output parameters parsing path port prime program programming progressbar projects py py2exe pygame pygtk pyqt pysimplewizard python random recursion recursive return reverse schedule scrolledtext searchingfile shebang skinning ssh statistics stdout string strings table tails terminal text thread threading time tkinter tlapse tricks tuple tutorial ubuntu unicode urllib urllib2 variable voip windows wxpython






