[Tutor] Proper useage of "open"

Matthew Ngaha chigga101 at gmail.com
Wed Dec 12 22:28:59 CET 2012


> I typed in to my script:
> a = open (dupli, r)
> and got an error stating that "dupli" is not deffined.

it needs the quotes around it. so try:

a = open ("dupli", "r")


More information about the Tutor mailing list