Jump to content
×
×
  • Create New...
  • 0

Python problem


mafianekcek

Question

Hello, i have problem in my intrologin.py.

       for i in range(1,5):
            self.accountssave[i-1].SetEvent(lambda arg=i: self.SaveAccount(arg))
            self.accountsload[i-1].SetEvent(lambda arg=i: self.LoadAccount(arg))
            self.accountsdelete[i-1].SetEvent(lambda arg=i: self.DeleteAccount(arg))

When i put this lines then dont work keyboard in select character(ENTER,ESC,DARTS)
Please do you know what is wrong? Because when i comented this lines keyboard work. PLEASE HELP ME.

Thank you.

PS: Sorry for my terrible English.

Link to comment
Share on other sites

  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.