On Thu, Jul 30, 2015 at 11:41:56PM +0000, ltc.hots...@gmail.com wrote: > Hi Everyone: > > > Why is open not defined in the following code:NameError: name 'open' is not > defined
Are you still running your code on the PythonTutor website? http://pythontutor.com/visualize.html says in the fine-print at the bottom of the page: "Online Python Tutor currently supports five languages (despite its name!): 1. Python 2.7 and 3.3 with limited module imports and no file I/O." So open() is not defined because the Online Python Tutor website has removed it. By the way, I tried working with that website for a little while. It is *amazingly* slow and clunky and painful to use on my computer. I don't know how you can bear to use it. Have you considered installing Python on your computer and working directly on that? -- Steve _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor