469,955 Members | 2,310 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,955 developers. It's quick & easy.

Re: Shared script

On Fri, 2008-08-01 at 14:41 -0700, Zach Hobesh wrote:
I wrote a script that several different people on different machines
need to run on a regular basis. When I first wrote it, it was in
crisis mode, I got something out that was quick and dirty, very bare
bones. Recently I had some more time, so I pushed most of the
functions that the script uses into a module, because I use those
functions on a pretty regular basis.

My problem is this:

The module is on MY machine in MY Python25 folder. I like it there,
because like I said, I use the functions within it on a pretty regular
basis. However, the other people who need to run the original script
don't have the module. My quick fix was to throw the module into the
shared folder, which works, but means everytime I have to update the
module I have to update 2 different files, the one in my Python25
folder and the one in the shared network folder. Is there a better
way to do this, short of asking everybody else to put the module in
thir Python 25 folder (which would mean me e-mailing them to update
the module, and then assuming that they did) ?!?


You could just give the script and the module to the other people who
use your script, and tell them to put the files in the same directory.
I hope this could help you.


Aug 1 '08 #1
0 766

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Patricio Stegmann | last post: by
1 post views Thread by tshad | last post: by
6 posts views Thread by Jeff | last post: by
reply views Thread by www.gerardvignes.com | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.