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

Ask questions about projects relating to: computer science or pure mathematics (such as probability, statistics, geometry, etc...).

Moderators: kgudger, bfinio, Moderators

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

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

Post by ComputerProgrammer »

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: 581
Joined: Mon Aug 22, 2016 4:39 pm
Occupation: Administrator
Project Question: -
Project Due Date: -
Project Status: Not applicable

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

Post by AmyCowen »

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

Post by ComputerProgrammer »

The window is completely blank, except for the menu bars. I'm using version 3.6.3.
bfinio
Expert
Posts: 752
Joined: Mon Aug 12, 2013 2:41 pm
Occupation: Science Buddies Staff
Project Question: Expert
Project Due Date: n/a
Project Status: Not applicable

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

Post by bfinio »

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

Post by ComputerProgrammer »

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

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