Calling LLM APIs for Conversation with Python
17/12/2025

Calling LLM APIs for Conversation with Python

I. OpenAI (GPT) 1. Install Package bash pip install openai 2. Configure API Key and Base URL python OPENAI_API_KEY = “sk-xxxxx” OPENAI_BASE_URL = “https://api.openai.com/v1” 3. API Call Example python import…

10 Python Scripts to Automate 80% of Repetitive Work
12/12/2025

10 Python Scripts to Automate 80% of Repetitive Work

I. Overview 1.1 Background Introduction In operations and maintenance work, a large number of repetitive tasks occupy 60%-80% of engineers’ time: log analysis, batch operations, monitoring and alerting, resource cleanup,…

10 Practical Python Automation Scripts
12/12/2025

10 Practical Python Automation Scripts

Repetitive tasks are always time-consuming and boring. Think about wanting to crop 100 photos one by one, or tasks like fetching APIs, correcting spelling and grammar—all of these tasks take…