Enable JavaScript to use search. / 検索を使用するには JavaScript を有効にしてください。
Posts with #python
Tue, August 6, 2019
2 min read
Managing Multiple Versions of Ansible with virtualenv
How to install multiple Ansible versions side by side using virtualenv and virtualenvwrapper on macOS.
read more →
Sat, September 1, 2018
1 min read
instagram-scraper: A Python Tool for Downloading Instagram Images and Videos
How to install and use the Python CLI tool instagram-scraper to download Instagram images and videos.
Tue, August 28, 2018
How to Install Python 3 on macOS High Sierra
Run brew install python3 on macOS High Sierra to get Python 3.7, then verify python3 and pip3.
Fri, February 27, 2026
3 min read
Migrating from openai-whisper to faster-whisper for Faster Transcription
Migrated from openai-whisper to faster-whisper for up to 4x faster audio transcription.
Thu, August 25, 2011
Read CodeZine's Pre-Event Report Before Going to 'PyCon JP 2011' [Python]
A round-up of CodeZine pre-event reports worth reading before PyCon JP 2011.
Tue, June 19, 2012
How to Install Python 2.7.1 on CORESERVER
Installing Python 2.7.1 on CORESERVER and fixing python -V still showing 2.4.3.
Fri, August 26, 2011
4 min read
[Python] Tried Getting Product Condition Comments from Amazon API
Fetching Amazon Marketplace ConditionNote via the Product Advertising API in Python with BeautifulSoup.
Wed, August 24, 2011
[Python] I Tried the Amazon Product Advertising API
Calling the Amazon Product Advertising API from Python and searching books by keyword, with signed request code.
Tue, January 17, 2012
[Python] How to Do 'Scraping' to Extract Only Necessary Data from Websites Using BeautifulSoup
Extracting only the links from a web page with Python's BeautifulSoup library as a first taste of scraping.
Wed, March 20, 2024
I Became a Personal Sponsor of Python
Becoming a personal sponsor of Python via GitHub Sponsors since I rely on it for AI/LLM app development.
Sat, August 27, 2011
[Regular Expression] Beginner's Tutorial Using Python re Module
Reading notes on the PyJUG-published beginner's tutorial for Python's re regex module.
Sun, August 28, 2011
[Regular Expression] How to Get Sentences Containing Specific Words in Python
Filtering Amazon Marketplace condition comments with Python's re.search to keep only sentences containing a target word.
[Python] How to Run Programs from Mac Terminal
Running a Python script from the macOS terminal by cd'ing to its directory and typing `python test.py`.
Sat, May 2, 2020
How to Easily Start a Web Server with macOS + Python
Quickly serving files from macOS with `python3 -m http.server 8000` (or the python2 equivalent).
[Python] Converting, Replacing, and Removing Line Breaks with string.replace()
Using Python's string.replace() to convert, replace, or strip line-break characters like `\r\n`.
[Character Encoding] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 [Python]
Resolving a UnicodeDecodeError from the Amazon API call by switching the keyword argument to a Unicode string.
[Python] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe3
Resolving a UnicodeDecodeError in a GAE Python handler by encoding the POSTed value to UTF-8.
Sat, December 2, 2023
Managing Multiple Python Versions with asdf
Setting up multi-version Python management on M1 macOS with the asdf-python plugin.
Sun, December 25, 2011
[Books] Free PDF of 'Python Web Apps for Everyone' Now Available
The out-of-print book 'Python Web Apps for Everyone' was released as a free PDF by the author.
[Python] How to Handle Static Files (js, css, images, etc.) in web.py
Placing js, css, and images under a `static` directory to serve them from a web.py app.
Tue, January 2, 2024
How to Fix ERROR: Could not find a version that satisfies the requirement torch (from versions: none)
Getting PyTorch to install by downgrading Python from 3.12 to 3.10.13 via asdf.
Sat, August 6, 2022
Download Twitter Spaces Audio Files with twspace-dl
Installing and running the Python CLI twspace-dl on macOS to download Twitter Spaces audio.
Thu, August 8, 2019
Renaming virtualenvwrapper environment names
Renaming a virtualenvwrapper environment by combining cpvirtualenv and rmvirtualenv.
Wed, April 18, 2012
[Python] The Zen of Python
The original PEP 20 The Zen of Python side by side with a Japanese translation.