Answer the question
In order to leave comments, you need to log in
How to rewrite c# code to python?
Good day.
I am writing a wrapper for steam authorization in python, successfully implemented https://api.steampowered.com/ISteamUserAuth/Authen...
interface, but ran into
https://api.steampowered.com/ISteamUserAuth/Authen...
(SteamWeb method .DoLogin is absolutely not interesting)
there was a problem when generating the loginKey/sessionKey to test the operation of the method, there is an example code in C # https://github.com/Jessecar96/SteamBot/blob/master...
but I try unsuccessfully to implement it in python, Maybe someone met with a similar or already have a ready-made solution?
Answer the question
In order to leave comments, you need to log in
In the line to which the link leads, the context manager is used. Keyword using
in C# and with
in Python. I didn’t see any more C#-specific constructions in this block.
isn't it in Python?
https://github.com/smiley/steamapi
https://pypi.python.org/pypi/steam
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question