KhueApps
Home/Python

Python

Python is a versatile, high-level programming language known for its readability and extensive libraries. It’s widely used in web development, data analysis, scripting, and automation, making it accessible for both beginners and experienced developers.

Auto-Detect Popular Candlestick Patterns with Python

Updated: Oct 10, 2025
Overview This guide shows how to auto-detect popular candlestick patterns with Python and pandas. It focuses on practical, vectorized rules you can run on OHLC data for algorithmic trading. Patterns covered: Doji Hammer and Shooting......

Auto Detect Cup and Handle Pattern with Python

Updated: Oct 10, 2025
Overview The cup and handle is a bullish continuation pattern: a rounded “cup” (two near-equal peaks with a trough) followed by a shallow “handle” pullback and a breakout above resistance. This guide shows how to auto-detect it in Python......

Manage Risk in Algorithmic Trading with Python: Practical Guide

Updated: Oct 10, 2025
Why risk management matters Algorithmic strategies live or die by how they size positions, cap losses, and survive volatility spikes. This guide shows practical Python patterns to control risk: volatility targeting, stop-losses, leverage......

Turtle Trading in Python: ATR-Sized Breakout Backtest

Updated: Oct 10, 2025
Overview This guide shows how to implement the classic Turtle Trading system in Python for single-asset backtesting. It uses: Breakout entries: highest high (N) for long, lowest low (N) for short ATR-based position sizing (risk parity by......

Publish and Analyze Algo Trading Results in Google Sheets with Python

Updated: Oct 10, 2025
Overview Use Python to compute key algorithmic trading metrics (CAGR, Sharpe, drawdown) and publish both raw PnL and summaries to Google Sheets. This guide shows a minimal working example and practical tips for reliable, fast updates. What......

Python 3.13 vs 3.10 for Automation: Features, Speed, Upgrade Guide

Updated: Oct 07, 2025
Why this comparison If you automate file ops, CLI tools, or scheduled jobs with Python, upgrading from 3.10 to 3.13 brings performance boosts, modern concurrency primitives, and simpler config parsing—often with little code change. TL;DR......

Track Per‑App Usage Time on macOS with Python (PyObjC)

Updated: Oct 07, 2025
Overview Track how long each app is active (frontmost) on macOS using Python. This script polls the current frontmost application via NSWorkspace and uses Quartz to detect user idle time. It aggregates per‑app durations, prints a summary,......

Track app usage time on Windows with Python (foreground polling)

Updated: Oct 07, 2025
Overview This guide shows how to track time spent in each app on Windows using Python. We poll the current foreground window via the Windows API and attribute elapsed time to its owning process. It’s simple, robust, and good enough for......

Track Steam Sales with Python: Store API Polling and Alerts

Updated: Oct 07, 2025
Overview This guide shows how to use Python to track Steam game discounts by polling the Steam Store API for app pricing and discount fields. You will: Query price and discount_percent for selected app IDs Persist last-seen prices to......

Automate Excel Editing in Python with openpyxl and pandas

Updated: Oct 07, 2025
Using Python to automatically edit Excel files Automating Excel edits with Python is reliable and fast for .xlsx files. This guide shows practical patterns with openpyxl (structural edits, styles) and pandas (bulk data updates). You do not......

Remove Duplicate Files with Python: Size and Content Hashing

Updated: Oct 07, 2025
Overview Automate boring tasks with Python: scan a directory, find duplicate files, and optionally remove them safely. This guide shows a practical, fast approach using file size and cryptographic hashes to avoid false......

Batch rename photos with Python via EXIF dates

Updated: Oct 07, 2025
Overview Renaming large photo collections is tedious by hand. This guide shows a practical Python approach to batch-rename photos using EXIF capture dates (with fallbacks), safe collision handling, and a dry-run mode. It fits the Automate......
Page 1 of 3 Next →