passing lists

Earl Eiland eee at nmt.edu
Wed Mar 2 16:05:18 EST 2005


I have a program in which I'm passing a list to functions.  When I
reference an element in a function to which it is passed, I get the
error message "unsubscriptable object".  When printing the list contents
in that same function, I get "xxx is <Reader object at 0xyyyy>".  How do
I pass a list?

Earl Eiland




More information about the Python-list mailing list