There is a standalone desktop application for vk. Authorization takes place according to the method of Implicit flow using OAuth 2.0 protocol. After successful authorization, I get access_token in the URL fragment of the link. At the moment, after each authorization or after the access_token expiration date, I copy the token from the url manually, that is, users will also have to do this. For me, the task is to implement this authorization method in my program, but in an automated form (automatic extraction of the token for the application user), but retrieving the token directly from the link due to a multitude of restrictions is difficult and incomprehensible to me. One of these difficulties is that you need to use some kind of environment, within which there is a browser component.
I found on the Internet methods of extracting access_token by pretending to be a browser ( https://github.com/dzhioev/vk_api_auth ), but this method requires manual input of a password and login, and authorization is not using OAuth protocol (Another question for me is whether to save the data entered by the user for authorization).
I also found another module for authorization ( https://github.com/dimka665/vk ), but for me, as a beginner, it’s complicated and I don’t understand how it works (how authorization happens) and how to use it in my program. If possible, please explain how it can be applied in practice.
The following module is described on the habre - https://habrahabr.ru/post/201074/ . It is ideal for me, but it is written for C # in MS Visual Studio, and I am writing a program in Python 3.5. This module uses WebAuthenticationBroker (a special class that launches a standard window that opens a link for authorization) (Figure 1). Is there an analogue of something similar in Python 3.5?
Tell me, please, how to solve this problem and what are your thoughts on this issue.

get_access_token()used in skype bot (with oauth2): Send a message in skype chat using python - jfs