If it is as simple as using the sys and dot befour the argv then I have
it made.. The example I was trying to get that from came from the
first edition programming python (I think they were using version 1.3).
thanks for the help I will give that a try.
https://sourceforge.net/project/stats/?group_id=156455&ugn=dex-tracker
Fredrik Lundh wrote:
>Eric_Dexter at msn.com wrote:
>> > I almost have this thing running like I want it to run but I want
> > the values to come from the program that calls this one. There are two
> > things I want to pass File_Name and CutString. They both need to go to
> > loadFile routine of Class WordGrid to replace constants.
>> note that your code is already using "sys.argv" to read arguments from
> the command line (inside the main function), so obviously you know how
> to do that, and your code is passing arguments around (to both the
> constructor and the main function), so obviously you know how to do that.
>> so what's the problem here? why not just use the mechanisms you already
> know how to use?
>> </F>