AttributeError: 'function' object has no attribute 'my_args'
<p>How can i get access to my_args , list data type in <strong>main</strong></p>

<pre>
# test1.py 

#!/usr/bin/env python

def main():
    print 'main function'
    one()

def one():
    print 'one function'
    my_args = ["QA-65"]

def two():
    print 'two function'

if __name__ == "__main__":
    main()
    getattr(my_args, pop)

</pre>
