Python Forum

Full Version: Cookie and Session
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, is there any native python module that I can use to work with cookie and session ?
I've never tried it but this may do what you want:

https://pypi.org/project/sanic-cookies/
It's a task, but perhaps you can find something here
requests supports working with Cookies and Sessions
I appreciate the help, but I need work with native and official language modules. That's why the question was about a native python module and not official third parties.
(Apr-14-2020, 12:05 PM)JohnnyCoffee Wrote: [ -> ]I need work with native and official language modules
I thought this might be the case.
I know probably it's not under your control, but limiting yourself to just Python Standard Library will make you reinvent the wheel for a lot ot things.
As to the requests - it was transferred to PSF last year and the repo is under their control.

From Standard library I think you should look at urllib.request
(Apr-14-2020, 12:36 PM)buran Wrote: [ -> ]
(Apr-14-2020, 12:05 PM)JohnnyCoffee Wrote: [ -> ]I need work with native and official language modules
I thought this might be the case.
I know probably it's not under your control, but limiting yourself to just Python Standard Library will make you reinvent the wheel for a lot ot things.
As to the requests - it was transferred to PSF last year and the repo is under their control.

From Standard library I think you should look at urllib.request

Thank.