On 08/31/2012 04:58 PM, Alan Gauld wrote:
>
> Creating a module is just a matter of creating a standard python file
>
>
> #! /bin/python# you don't even really need a shebang for modules!
> myVar = 66
> < end of myvar.py -->
>
> import myvar
> print
On 31/08/12 22:51, Ray Jones wrote:
Okay. Now I must figure out how to create the module and have my calling
script look in the right place ;)
Creating a module is just a matter of creating a standard python file
#! /bin/python# you don't even really
On 08/31/2012 02:19 PM, Alan Gauld wrote:
> On 31/08/12 18:05, Ray Jones wrote:
>
>> script and have it parse. Is there another method for one Python script
>> to call/import/execute a Python script and integrate the name space so
>> that the variables in each of the calling scripts would be direct
On 31/08/12 18:05, Ray Jones wrote:
script and have it parse. Is there another method for one Python script
to call/import/execute a Python script and integrate the name space so
that the variables in each of the calling scripts would be directly
usable by the Python module/child process/whateve