Python one-liner Python
Ein Python-Snippet für Python one-liner, das Anfragen an /pixel.gif mit dem leeren GIF beantwortet, das einmal beim Start dekodiert wird.
Python one-liner Python
python3 -c "import base64, pathlib; pathlib.Path('pixel.gif').write_bytes(base64.b64decode('R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=='))"
Wir haben dieses Snippet ausgeführt und die zurückgegebenen Bytes verglichen.
Offizielle Website: Python one-liner