From c7f3e561d21455047f969449c099811cf29ab31f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D0=B8=D1=80=D0=B8=D0=BB=D0=BB=20=D0=9A=D1=83=D1=82?= =?UTF-8?q?=D0=BB=D0=B0=D1=85=D0=BC=D0=B5=D1=82=D0=BE=D0=B2?= Date: Tue, 26 May 2026 01:24:07 +0000 Subject: [PATCH] reset main.py --- main.py | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 main.py diff --git a/main.py b/main.py deleted file mode 100644 index ce959f6..0000000 --- a/main.py +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env python3 -"""Simple script demonstrating basic functionality. - -This script fetches a public API endpoint and prints the response. -""" - -import requests - -API_URL = "https://api.github.com" - - -def main(): - try: - response = requests.get(API_URL, timeout=5) - response.raise_for_status() - data = response.json() - print("GitHub API status:", data.get("current_user_url")) - except requests.RequestException as e: - print("Error fetching API:", e) - -if __name__ == "__main__": - main()