login

What is wrong with these lines?

What is wrong with these lines? Question: I have the following lines in a large program. username = Entry(loginPage) password = Entry(loginPage) button1 = Button(loginPage,text = “Login”, fg = “red”, command = loginClicked(username.get(),password.get())) When the program is run, the function loginClicked runs once at the start (when the fields are empty and the button hasn’t …

Total answers: 1

Unable to load files using pickle and multiple modules

Unable to load files using pickle and multiple modules Question: I’m trying to create a user system, which uses a setting and Gui module, and when the GUI module requests for the file to load up using pickle, I keep getting an attribute error. this is from the settings module: import pickle import hashlib class …

Total answers: 5

Login to website using urllib2 – Python 2.7

Login to website using urllib2 – Python 2.7 Question: Okay, so I am using this for a reddit bot, but I want to be able to figure out HOW to log in to any website. If that makes sense…. I realise that different websites use different login forms etc. So how do I figure out …

Total answers: 1

Unable log in to the django admin page with a valid username and password

Unable log in to the django admin page with a valid username and password Question: I can’t log in to the django admin page. When I enter a valid username and password, it just brings up the login page again, with no error messages This question is in the django FAQ, but I’ve gone over …

Total answers: 26

How to implement user_loader callback in Flask-Login

How to implement user_loader callback in Flask-Login Question: I’m attempting to use Flask and the Flask-Login extension to implement user authentication in a Flask app. The goal is to pull user account information from a database and then log in a user, but I’m getting stuck; however, I’ve narrowed it down to a particular part …

Total answers: 3

Django: signal when user logs in?

Django: signal when user logs in? Question: In my Django app, I need to start running a few periodic background jobs when a user logs in and stop running them when the user logs out, so I am looking for an elegant way to get notified of a user login/logout query user login status From …

Total answers: 7