Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.40K
Hello: Please help me to solve this: >>> def printA(): ... try: print a ... except NameError: print 'variable undefined' ... >>> printA() variable undefined >>> a = "foo" >>> printA() foo >>> I tried to do the same think by importing a file "test.py" which has the function 'printA()' … |