Installing Python/XML on Windows?
Darrell
Darrell at p98.f112.n480.z2.fidonet.org
Thu Jul 1 07:14:38 EDT 1999
More information about the Python-list mailing list
Thu Jul 1 07:14:38 EDT 1999
- Previous message (by thread): Installing Python/XML on Windows?
- Next message (by thread): Installing Python/XML on Windows?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: "Darrell" <news at dorb.com> Check the doc for the details but in short. Use site.pth which for me on windows is in my python directory. It looks something like this. d:/python/site-packages d:/python/site-packages/other d:/python/site-packages/Aycock d:/python/site-packages/kj In this same vein I use this to avoid adding each one of these to my system path. #!/usr/bin/env python """ The .py you want to run is in the python path but not in your shell path. I know everyone but me already has this problem solved in a better way than this. If so please show me the way. Assuming this is runIt.py then runIt.py someScript.py arg1 arg2 """ import sys import imp fp, pathname, description = imp.find_module(sys.argv[1]) sys.argv=sys.argv[2:] md=imp.load_module('__main__', fp, pathname, description) -- --Darrell Jonathan W Hendry <jhendry at shrike.depaul.edu> wrote in message news:377bab1c at news.depaul.edu... > Does any documentation exist on this? How do I set up the > paths so that Python can use all the various components of > the package? > > Thanks, > > - Jon
- Previous message (by thread): Installing Python/XML on Windows?
- Next message (by thread): Installing Python/XML on Windows?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list