[Twisted-Python] Question regarding widgets
twisted_low at contact.com.my
Tue Nov 5 20:12:52 EST 2002
---------- Original Message ----------------------------------
From: Andrew Bennetts <andrew-twisted at puzzling.org>
Reply-To: twisted-python at twistedmatrix.com
Date: Wed, 6 Nov 2002 12:12:12 +1100
>On Wed, Nov 06, 2002 at 09:00:13AM +0800, lals;dfjsd wrote:
>> >IIRC. However, I don't understand what you're trying to do here. If you have
>> >Twisted installed in your C:\python22\lib\site-packages (as with setup.py or
>> >the .exe installer) then you shouldn't be adding anything to your PYTHONPATH to
>> >get 'twisted' to import.
>> Well following the example for woven, I thought that you needed to add
>> to pythonpath where ever you are putting your code for your
>> application, as in if I want to put my code in c:\web2\mohan_koteh\
>> then i should add this to the pythonpath to get it to work. Isn't it
>> so ? I just kept on trying the woven examples but without success
>> until i added the directory which i was working on to the pythonpath.
>> Maybe I am doing something wrong here but can someone actually tell me
>> how it is done ?
>He's just pointing out that you shouldn't need to do anything special to
>get Twisted itself to import -- the installer/setup.py should've done
>that for you (anything in %PYTHONHOME%/Lib/site-packages is
>automatically on the python path).
>What you need to do with your own application that uses Twisted is a
Ummm so does that mean I have to add something to the pythonpath for a web application that I am building in a particular directory ?
>Twisted-Python mailing list
>Twisted-Python at twistedmatrix.com
iRepublics.com - Free Web Hosting for Businesses
33MB webspace free, SMS messaging, 30 email accounts, your own domain name
Sign up Now at http://www.iRepublics.com
More information about the Twisted-Python