On Apr 13, 2007, at 7:04 AM, Robert Rawlins - Think Blue wrote:
#!/usr/bin/python

# Filename: Firewall.py



class Firewall:



       def __init__(self):

              Self.FireArray = array(c)



p = Firewall()

print p





Throws:



Traceback (most recent call last):

  File "./firewall.py", line 9, in ?

    p = Firewall()

  File "./firewall.py", line 7, in __init__

    Self.FireArray = array(c)

NameError: global name 'array' is not defined



How can I solve this problem?
from array import array


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to