Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Keep getting Session management error when running imshow in pycharm
Post: Keep getting Session management error when running...

So I've tried following the advice in other post about this error, but have yet to solve the issue. When I use cv2.imshow I get the error: Qt: Session management error: None of the authentication pro...
pace General Coding Help 0 2,100 Mar-25-2021, 10:06 AM
    Thread: How to break out of nested loops
Post: RE: How to break out of nested loops

Your absolutely right thank you kindly, the issue was with my code timing. stupid mistake, but you helped me identify it.. **thumbsup**
pace General Coding Help 11 5,380 Mar-03-2021, 06:25 PM
    Thread: How to break out of nested loops
Post: RE: How to break out of nested loops

(Mar-03-2021, 05:12 PM)deanhystad Wrote: You only want to break out of the inner loop. You want the outer loop to run until it finds all 4 numbers. And it does reset the inner loop for the next it...
pace General Coding Help 11 5,380 Mar-03-2021, 05:16 PM
    Thread: How to break out of nested loops
Post: RE: How to break out of nested loops

(Mar-03-2021, 04:42 PM)deanhystad Wrote: break? Just like you are doing? That doesn't work, as it only breaks the inner loop and doesn't reset the loop for the next iteration.
pace General Coding Help 11 5,380 Mar-03-2021, 05:00 PM
    Thread: How to break out of nested loops
Post: RE: How to break out of nested loops

Yes agreed, an outside for loop would be better, how do I break these loops once the if statement is matched? def crack_password(): pw = [0,0,0,0] for x in range(4): for i in range (0...
pace General Coding Help 11 5,380 Mar-03-2021, 04:08 PM
    Thread: How to break out of nested loops
Post: RE: How to break out of nested loops

(Mar-03-2021, 12:29 PM)deanhystad Wrote: You need an outer loop to repeat the cracking code foor each digit of the 4 digit code. Break will do exactly what you want for the "inner" loop, ending the...
pace General Coding Help 11 5,380 Mar-03-2021, 02:11 PM
    Thread: How to break out of nested loops
Post: How to break out of nested loops

I'm struggling with a piece of code that I am writing for a computer security course. I am trying to write a piece of test code that test a 4 digit password based on the time to resolve. I want to st...
pace General Coding Help 11 5,380 Mar-03-2021, 10:33 AM
    Thread: socket.connect question about parenthesis
Post: socket.connect question about parenthesis

Hi everyone, I have been starting out with python over the past 8 months. I know I'm just at the start of my journey, and this is the first programming language that I have been working with. I am ...
pace Networking 1 2,364 Jan-27-2021, 04:18 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020