Python Forum
[PyQt] [Solved]Help Passing Variables
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyQt] [Solved]Help Passing Variables
#3
(May-12-2022, 08:29 PM)deanhystad Wrote: You should not write a function that returns True or None. None is falsy, but if a function can return True, the only other return value should be False.

It looks like your dictionaries contain numbers for the password and you are passing a string. "1234" does not equal 1234

How do I convert the string to an int then? Do I have to do something fancy since it's PyQt or do I just go int(userInputPassword)?
Reply


Messages In This Thread
[Solved]Help Passing Variables - by Extra - May-12-2022, 08:04 PM
RE: Help Passing Variables - by deanhystad - May-12-2022, 08:29 PM
RE: Help Passing Variables - by Extra - May-12-2022, 08:39 PM
RE: Help Passing Variables - by deanhystad - May-12-2022, 09:02 PM
RE: Help Passing Variables - by Extra - May-12-2022, 11:04 PM

Forum Jump:

User Panel Messages

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