Skip to content

antigravity Module

The antigravity module is an Easter egg in Python that opens a web browser to an XKCD comic when imported.

Complexity Reference

Operation Time Space Notes
Import module O(1) O(1) Open browser

The Easter Egg

Importing antigravity

import antigravity

# Opens: https://xkcd.com/353/
# Shows "Python" comic where person achieves flight