Python Programming - Standard Libraries - Discussion

Discussion Forum : Standard Libraries - General Questions (Q.No. 66)
66.
Which module in Python provides support for working with asynchronous I/O operations?
asyncio
asyncioio
asyncioioops
asyncops
Answer: Option
Explanation:
import asyncio

# Example usage of asyncio for asynchronous I/O
async def main():
    print("Hello")
    await asyncio.sleep(1)
    print("World")

asyncio.run(main())
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.