Python
Link
Excerpt
Python is a programming language that lets you work quickly and integrate systems more effectively.
Resources
- Python Social Auth
Python Social Auth is an easy to setup social authentication/registration mechanism with support for several frameworks and auth providers.
- awesome-python
A curated list of awesome Python frameworks, libraries, software and resources
- The Python Tutorial
- strftime reference cheatsheet - formatting codes for rendering datetimes as strings
- Using % and .format() for great good!
- strftime reference and sandbox
FAQ
Use aiohttp and asyncio to run I/O coroutines concurrently
Example:
import aiohttp
import asyncio
async def get_9():
async with aiohttp.ClientSession() as session:
async with session.get('https://httpbin.org/delay/9') as response:
await response.text()
print("9 finished")
async def get_3():
async with aiohttp.ClientSession() as session:
async with session.get('https://httpbin.org/delay/3') as response:
await response.text()
print("3 finished")
async def main():
await asyncio.gather(get_9(), get_3())
asyncio.run(main())