Open study

is now brainly

With Brainly you can:

  • Get homework help from millions of students and moderators
  • Learn how to solve problems with step-by-step explanations
  • Share your knowledge and earn points by helping other students
  • Learn anywhere, anytime with the Brainly app!

A community for students.

I have been following along with the MMOOC course but I have tried to do what I can without actually downloading IDLE, compiling my code in the Python environment provided by Codecademy's labs. This has gone smoothly until I tried running the Hangman game project, which requires a "words.txt" file. Although I was able to follow the instructions and get the game to work with the fixed secret word "claptrap", it seems that I cannot carry out Step 8 in the lab environment. Is there an efficient way to incorporate "words.txt" into the Hangman game using codecademy's lab environment?

MIT 6.189 A Gentle Introduction to Programming Using Python (OCW)
See more answers at
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Join Brainly to access

this expert answer


To see the expert answer you'll need to create a free account at Brainly

I don't think so...writing a file needs disk space, though of course, you could maybe make a virtual disk somewhere in the cloud...but it's less work.
I'm just curious, why CC labs and not IDLE? I found their labs not so, ... 'good'... to work with.... (especially since i found pyScripter! )
Agree with petew71. You don't have much control over the Python environment in CC. Trying to figure out what went wrong behind scenes can be a nightmare. I have pyscripter installed also, but am using IDLE for this course since I wanted to minimize distractions and concentrate mainly on Python not on one or more IDEs.

Not the answer you are looking for?

Search for more explanations.

Ask your own question

Other answers:

IDLE is just an editor. Your computer probably has one or more plain text editors already. In other words, you don't really need IDLE If you have Windows, and have downloaded Python, or you have a Mac or *nix box, you already have IDLE.

Not the answer you are looking for?

Search for more explanations.

Ask your own question