Could use some help with this. Python 2.4.3 on RHEL 5.x.
In the functions file that gets imported:
def append_customer(line_list):
global customers
cust = line_list[0] // list with Customer info in [0]
cust = clean_word(cust) // Trims white space
if
On 27/08/13 18:58, leam hall wrote:
def append_customer(line_list):
global customers
cust = line_list[0] // list with Customer info in [0]
cust = clean_word(cust) // Trims white space
if len(cust) and cust not in customers:
leam hall wrote:
Could use some help with this. Python 2.4.3 on RHEL 5.x.
In the functions file that gets imported:
def append_customer(line_list):
global customers
cust = line_list[0] // list with Customer info in [0]
cust = clean_word(cust) // Trims white
On 27/08/13 19:50, leam hall wrote:
Well, I'm happy to change things but my python is only so good. And much
of that is based off of shell programming.
You will need to change something because what you have won;t work.
The question is what to change?
What the data looks like is fairly
On 28/08/13 03:58, leam hall wrote:
Could use some help with this. Python 2.4.3 on RHEL 5.x.
In the functions file that gets imported:
def append_customer(line_list):
global customers
Globals are not globally global, they are global to the module. Otherwise
variables defined in