472,356 Members | 2,087 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,356 software developers and data experts.

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 823

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Simon | last post by:
Hello. I wanna use my dynamic shared library(built with C language) with php script. (PHP version is 4.0.6) So I making a shared library(*.so) in Solaris environment(2.7) and it is successful....
by: Patricio Stegmann | last post by:
Hi, I am trying to develop a very basic but portable chat engine with php. I would like to develop it without any database or filesystem stuff, because I want it very portable and easy to install....
by: Phil | last post by:
I realize this is the php group, but I have a question that recurses back to my php install. My objective is a pure 64 bit shared object installation of php 5.0 on UltraSparc Solaris 9 compiled...
by: Claudio Grondi | last post by:
Background information: --------------------------------- in order to monitor mainboard sensory data as fan speeds, temperatures, applications like SpeedFan http://www.almico.com/speedfan.php or...
by: tshad | last post by:
I just put this together from O'Reillys book (with much of the code stripped out). Global.asax: ****************************************** <%@ Application Language="VB" %> <script...
by: daFou | last post by:
Please help me how to access shared members in my global.asax in ASP.NET 2.0 This is what i do. First I create a new website using VS.NET 2005. I select a location where the website should be...
by: Javier Martinez | last post by:
Hi I have asp application in a machine with a virtual directory referring a shared directory in another machine When I try to load any aspx page of my portal I get the following error: ...
by: Jeff | last post by:
Hi - I understand how to create a directory folder, but how can I programatically create a _shared_ directory folder and set its permissions?? (I'm using VB.NET.) Thanks for your help. -...
by: www.gerardvignes.com | last post by:
I'm adding secure login to a PHP 3 web application on Linux/Apache. I can't afford my own SSL certificate, so I'm using the shared SSL provided by my web hosting company. I tried this back in...
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. header("Location:".$urlback); Is this the right layout the...
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and...
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.