ComputerProgrammer
Posts: 3
Joined: Wed Jan 03, 2018 7:44 am
Occupation: Student

Password Security: How Easily Can Your Password Be Hacked? Python problems

Postby ComputerProgrammer » Wed Jan 03, 2018 7:56 am

Whenever I try to open crack_password.py in IDLE, nothing happens.

I open IDLE, then I click file, then I click open.
Then I click on crack_password.py in my files, to open the file.
Once I click it, the file window closes and another IDLE window pops up but there is nothing in it.

Am I doing something wrong?

AmyCowen
Site Admin
Posts: 109
Joined: Mon Aug 22, 2016 4:39 pm
Occupation: Administrator

Re: Password Security: How Easily Can Your Password Be Hacked? Python problems

Postby AmyCowen » Wed Jan 03, 2018 2:02 pm

What version of Python are you using and what kind of system? I just tested the crack_password.py file in IDLE, and using File/Open and selecting the file, it opens up properly in a new window. The window you are seeing is totally blank? Does the new window that opens have a menu bar at the top of commands?


Amy
Science Buddies

ComputerProgrammer
Posts: 3
Joined: Wed Jan 03, 2018 7:44 am
Occupation: Student

Re: Password Security: How Easily Can Your Password Be Hacked? Python problems

Postby ComputerProgrammer » Thu Jan 04, 2018 12:10 pm

The window is completely blank, except for the menu bars. I'm using version 3.6.3.

bfinio
Expert
Posts: 341
Joined: Mon Aug 12, 2013 2:41 pm
Occupation: Science Buddies Staff

Re: Password Security: How Easily Can Your Password Be Hacked? Python problems

Postby bfinio » Thu Jan 04, 2018 12:47 pm

Hi ComputerProgrammer,

I also just tried this with a fresh download of crack_password.py and a fresh installation of Python 3.6.3 on a Windows computer and everything worked. A couple other things you can try:

- If you're on Windows, navigate to where you have crack_password.py saved, right-click it, and select Edit with IDLE -> Edit with IDLE. Does that work?
- Launch IDLE, and create your own .py file (select File -> New, write a few lines of code, then save it). Close IDLE and re-open it. Are you able to open your own file using File -> Open, or do you have the same problem?
- It looks like they released version 3.6.4 a couple weeks ago. I have not tried it yet, but you could try upgrading to the newest version and see if that works.

Hope that helps,

Ben

ComputerProgrammer
Posts: 3
Joined: Wed Jan 03, 2018 7:44 am
Occupation: Student

Re: Password Security: How Easily Can Your Password Be Hacked? Python problems

Postby ComputerProgrammer » Thu Jan 04, 2018 5:29 pm

I just tried the right clicking on the program, clicking open with IDLE and edit with IDLE, and it worked! Thank you!


Return to “Grades 9-12: Math and Computer Science”