<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Python on Christopher Tyler</title><link>https://cetyler.github.io/tags/python/</link><description>Recent content in Python on Christopher Tyler</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 05 Jul 2026 20:27:53 -0500</lastBuildDate><atom:link href="https://cetyler.github.io/tags/python/index.xml" rel="self" type="application/rss+xml"/><item><title>Scripting Good Practices in Python</title><link>https://cetyler.github.io/posts/2026/2026-7-5_good_scripting/</link><pubDate>Sun, 05 Jul 2026 19:33:10 -0500</pubDate><guid>https://cetyler.github.io/posts/2026/2026-7-5_good_scripting/</guid><description>A good article from Bite Code.</description></item><item><title>Using uv and subprocess module</title><link>https://cetyler.github.io/til/2026/2026-5-29_uv_subprocess_python/</link><pubDate>Fri, 29 May 2026 20:34:06 -0500</pubDate><guid>https://cetyler.github.io/til/2026/2026-5-29_uv_subprocess_python/</guid><description>Need to be careful when using uv to call a Python program with subprocesses</description></item><item><title>Use Python for Scripting</title><link>https://cetyler.github.io/posts/2026/2026-5-2_python_scripts/</link><pubDate>Sat, 02 May 2026 16:09:57 -0500</pubDate><guid>https://cetyler.github.io/posts/2026/2026-5-2_python_scripts/</guid><description>Using Python for scripting especially with uv can replace other scripting languages.</description></item><item><title>Python tip: name your unicode characters</title><link>https://cetyler.github.io/til/2026/2026-5-2_name_unicode/</link><pubDate>Sat, 02 May 2026 16:01:12 -0500</pubDate><guid>https://cetyler.github.io/til/2026/2026-5-2_name_unicode/</guid><description>Another helpful tip from Trey.</description></item><item><title>uv Python Upgrade</title><link>https://cetyler.github.io/til/2026/2026-5-2_uv_python_upgrade/</link><pubDate>Sat, 02 May 2026 15:41:06 -0500</pubDate><guid>https://cetyler.github.io/til/2026/2026-5-2_uv_python_upgrade/</guid><description>If you use uv, an easy way to update Python.</description></item><item><title>How to Select Python Libraries</title><link>https://cetyler.github.io/posts/2025/2025-11-15_pretty_table/</link><pubDate>Sat, 15 Nov 2025 23:21:16 -0600</pubDate><guid>https://cetyler.github.io/posts/2025/2025-11-15_pretty_table/</guid><description>Found a library that suits my needs but may also be abandoned.</description></item><item><title>Use filter() instead of for loop</title><link>https://cetyler.github.io/til/2025/2025-10-18_use_filter/</link><pubDate>Sat, 18 Oct 2025 16:54:59 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-10-18_use_filter/</guid><description>A helpful tip to use Python&amp;rsquo;s built-ins.</description></item><item><title>How to Version in pyproject</title><link>https://cetyler.github.io/til/2025/2025-10-18_pyproject_version/</link><pubDate>Sat, 18 Oct 2025 16:35:28 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-10-18_pyproject_version/</guid><description>This is from the packaging project&amp;rsquo;s documentation.</description></item><item><title>Remove Telemetry from Streamlit</title><link>https://cetyler.github.io/til/2025/2025-10-18_streamlit_telemetry/</link><pubDate>Sat, 18 Oct 2025 15:24:48 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-10-18_streamlit_telemetry/</guid><description>Disable telemetry in StreamLit especially for work projects.</description></item><item><title>uv Cheatsheet</title><link>https://cetyler.github.io/til/2025/2025-08-26_uv/</link><pubDate>Tue, 26 Aug 2025 14:41:40 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-08-26_uv/</guid><description>Nice cheatsheet from Rodrigo.</description></item><item><title>Python Gotcha: Logging an uncaught exception</title><link>https://cetyler.github.io/til/2025/2025-07-14_exception/</link><pubDate>Thu, 17 Jul 2025 14:41:40 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-07-14_exception/</guid><description>A much better method than a huge try/except block.</description></item><item><title>Finding Differences in Images with Python and Pillow</title><link>https://cetyler.github.io/til/2025/2025-5-20_pillow/</link><pubDate>Tue, 20 May 2025 08:08:59 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-5-20_pillow/</guid><description>An easy way to determine the differences between images.</description></item><item><title>Install pre-commit with uv</title><link>https://cetyler.github.io/til/2025/2025-5-14_uv_precommit/</link><pubDate>Wed, 14 May 2025 07:50:59 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-5-14_uv_precommit/</guid><description>Conscise explanation of using uv and pre-commit.</description></item><item><title>How to Run Python in Production</title><link>https://cetyler.github.io/posts/2025/2025-5-3_how_to_run_python_prod/</link><pubDate>Sat, 03 May 2025 15:43:32 -0500</pubDate><guid>https://cetyler.github.io/posts/2025/2025-5-3_how_to_run_python_prod/</guid><description>An informative article from Ashish.</description></item><item><title>Python sh Package</title><link>https://cetyler.github.io/til/2025/2025-4-30_python_sh/</link><pubDate>Wed, 30 Apr 2025 19:03:42 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-4-30_python_sh/</guid><description>sh is a full-fledged subprocess replacement for Python 3.8 - 3.11, PyPy that allows you to call any program as if it were a function.</description></item><item><title>De-duplicate with sets &amp; dict.fromkeys</title><link>https://cetyler.github.io/til/2025/2025-04-16-sets/</link><pubDate>Wed, 16 Apr 2025 11:31:28 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-04-16-sets/</guid><description>Some more useful tips from Trey.</description></item><item><title>A Quick Guide to Generating Fake Data with Pandas</title><link>https://cetyler.github.io/til/2025/2025-4-6_fake_data/</link><pubDate>Sun, 06 Apr 2025 11:46:46 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-4-6_fake_data/</guid><description>A excellent article from Erin.</description></item><item><title>Writing Python Like It's Rust</title><link>https://cetyler.github.io/til/2025/2025-4-6_rust_python/</link><pubDate>Sun, 06 Apr 2025 11:38:22 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-4-6_rust_python/</guid><description>Good article from Jakub.</description></item><item><title>Escape Keys using psycopg2</title><link>https://cetyler.github.io/til/2025/2025-4-6_escape_keys/</link><pubDate>Sun, 06 Apr 2025 11:29:10 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-4-6_escape_keys/</guid><description>A mistake I seem to make repeatedly.</description></item><item><title>Ultimate Guide to Python Debugging</title><link>https://cetyler.github.io/til/2025/2025-4-6_debugging/</link><pubDate>Sun, 06 Apr 2025 11:13:33 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-4-6_debugging/</guid><description>A good guide to Python debugging.</description></item><item><title>Practical Decorators</title><link>https://cetyler.github.io/til/2025/2025-4-6_practical_decorators/</link><pubDate>Sun, 06 Apr 2025 10:36:56 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-4-6_practical_decorators/</guid><description>Reuven&amp;rsquo;s talk from PyCon 2019.</description></item><item><title>How to Create PowerShell Alias</title><link>https://cetyler.github.io/til/2025/2025-4-6_powershell_alias/</link><pubDate>Sun, 06 Apr 2025 10:16:29 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-4-6_powershell_alias/</guid><description>Example of an alias with Python virtual environment.</description></item><item><title>Self-Contained Python Scripts with uv</title><link>https://cetyler.github.io/til/2025/2025-04-04_uv/</link><pubDate>Fri, 04 Apr 2025 12:25:47 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-04-04_uv/</guid><description>As long as uv is installed, be able to run a python script with dependencies.</description></item><item><title>Check Iterable Equality the Right Way</title><link>https://cetyler.github.io/til/2025/2025-04-02_iterable_equality/</link><pubDate>Wed, 02 Apr 2025 19:09:30 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-04-02_iterable_equality/</guid><description>From his Python Morsels newsletter.</description></item><item><title>Using Assert Never in Python</title><link>https://cetyler.github.io/til/2025/2025-4-1_assert_python/</link><pubDate>Tue, 01 Apr 2025 18:29:06 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-4-1_assert_python/</guid><description>Similar to how to do it in SQL you can do in Python.</description></item><item><title>Stub Code</title><link>https://cetyler.github.io/til/2025/2025-3-31_stub_code/</link><pubDate>Mon, 31 Mar 2025 20:41:19 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-3-31_stub_code/</guid><description>A better way to have a new function that is not ready.</description></item><item><title>List of Named Color for Pandas</title><link>https://cetyler.github.io/til/2025/2025-3-29_pandas_color/</link><pubDate>Sat, 29 Mar 2025 21:22:08 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-3-29_pandas_color/</guid><description>How to get a list of colors.</description></item><item><title>Using Document Properties to Track Your Excel Reports</title><link>https://cetyler.github.io/til/2025/2025-3-29_doc_property/</link><pubDate>Sat, 29 Mar 2025 21:11:00 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-3-29_doc_property/</guid><description>A good way to add some info to an Excel file.</description></item><item><title>Passing a List of Arguments with Click</title><link>https://cetyler.github.io/til/2025/2025-3-29_list_arguments_clicks/</link><pubDate>Sat, 29 Mar 2025 21:04:57 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-3-29_list_arguments_clicks/</guid><description>This can be useful when an option can take multiples at the same time.</description></item><item><title>Linear Regression</title><link>https://cetyler.github.io/til/2025/2025-3-29_linear_regression/</link><pubDate>Sat, 29 Mar 2025 20:57:27 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-3-29_linear_regression/</guid><description>How to do linear regression with SQL.</description></item><item><title>Interpolation</title><link>https://cetyler.github.io/til/2025/2025-3-29_interpolation/</link><pubDate>Sat, 29 Mar 2025 20:52:38 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-3-29_interpolation/</guid><description>One method to fill in data.</description></item><item><title>VS Code to Copy and Paste to Terminal</title><link>https://cetyler.github.io/til/2025/2025-03-10_vs_code_copy_pasta/</link><pubDate>Mon, 10 Mar 2025 11:18:37 -0500</pubDate><guid>https://cetyler.github.io/til/2025/2025-03-10_vs_code_copy_pasta/</guid><description>Very useful tip from Mehdi without leaving your IDE</description></item><item><title>Uv has a killer feature you should know about</title><link>https://cetyler.github.io/til/2025/2025-01-17_uv/</link><pubDate>Sat, 22 Feb 2025 20:39:14 -0600</pubDate><guid>https://cetyler.github.io/til/2025/2025-01-17_uv/</guid><description>Lukas pointed out how to use a package with uv run.</description></item><item><title>Using uv to build and install Python CLI apps</title><link>https://cetyler.github.io/til/2025/2025-02-13_uv/</link><pubDate>Sat, 22 Feb 2025 20:31:59 -0600</pubDate><guid>https://cetyler.github.io/til/2025/2025-02-13_uv/</guid><description>Not the full article but a couple of new items I did not know about.</description></item><item><title>Open Mateo Weather API</title><link>https://cetyler.github.io/til/2025/2025-02-01_openmateo/</link><pubDate>Sat, 01 Feb 2025 19:22:40 -0600</pubDate><guid>https://cetyler.github.io/til/2025/2025-02-01_openmateo/</guid><description>Open Mateo can be an alternative to Open Weather Map.</description></item><item><title>Great Tables and StreamLit</title><link>https://cetyler.github.io/til/2025/2025-02-01_great_tables/</link><pubDate>Sat, 01 Feb 2025 16:02:22 -0600</pubDate><guid>https://cetyler.github.io/til/2025/2025-02-01_great_tables/</guid><description>The Great Tables package is all about making it simple to produce nice-looking display tables.</description></item><item><title>How to Reinstall Python with uv</title><link>https://cetyler.github.io/til/2025/2025-01-11_uv_python/</link><pubDate>Sat, 11 Jan 2025 14:21:41 -0600</pubDate><guid>https://cetyler.github.io/til/2025/2025-01-11_uv_python/</guid><description>uv python install &amp;ndash;reinstall 3.13</description></item><item><title>Setting up OpenWeather Report GitHub Actions</title><link>https://cetyler.github.io/posts/2025/2025-01-06_github_actions/</link><pubDate>Mon, 06 Jan 2025 19:50:52 -0600</pubDate><guid>https://cetyler.github.io/posts/2025/2025-01-06_github_actions/</guid><description>Adding GitHub workflows to help with linting, testing and publishing.</description></item><item><title>WAT Python Inspection Tool</title><link>https://cetyler.github.io/til/2025/2025-01-01_wat/</link><pubDate>Wed, 01 Jan 2025 15:44:34 -0600</pubDate><guid>https://cetyler.github.io/til/2025/2025-01-01_wat/</guid><description>A powerful inspection tool to help with unknown Python objects.</description></item><item><title>RightTyper to Generate Types</title><link>https://cetyler.github.io/til/2024/2024-12-31-right_typer/</link><pubDate>Tue, 31 Dec 2024 21:37:26 -0500</pubDate><guid>https://cetyler.github.io/til/2024/2024-12-31-right_typer/</guid><description>Get a helper with typing.</description></item><item><title>Setup Apt-Mirror on Ubuntu</title><link>https://cetyler.github.io/posts/2024/2024-09-13-setup_aptmirror/</link><pubDate>Fri, 13 Sep 2024 21:43:02 -0500</pubDate><guid>https://cetyler.github.io/posts/2024/2024-09-13-setup_aptmirror/</guid><description>Notes on how to setup apt-mirror with Ubuntu 24.04</description></item><item><title>Rebuild Pelican Source</title><link>https://cetyler.github.io/posts/2024/2024-08-11-rebuild_website/</link><pubDate>Sun, 11 Aug 2024 15:54:00 -0500</pubDate><guid>https://cetyler.github.io/posts/2024/2024-08-11-rebuild_website/</guid><description>More work than expected to get my development system to work with Pelican.</description></item><item><title>Fastest Way to Read Excel in Python</title><link>https://cetyler.github.io/til/2024/2024-6-22_excel_duckdb/</link><pubDate>Sat, 22 Jun 2024 15:20:48 -0500</pubDate><guid>https://cetyler.github.io/til/2024/2024-6-22_excel_duckdb/</guid><description>Hint, use DuckDB.</description></item><item><title>Deprecated</title><link>https://cetyler.github.io/til/2023/20230617165321/</link><pubDate>Tue, 19 Sep 2023 11:00:00 -0500</pubDate><guid>https://cetyler.github.io/til/2023/20230617165321/</guid><description>I neat way to deprecate parts of a Python program.</description></item><item><title>How to Use a match case Statement</title><link>https://cetyler.github.io/til/2023/20230515090746/</link><pubDate>Tue, 29 Aug 2023 11:00:00 -0500</pubDate><guid>https://cetyler.github.io/til/2023/20230515090746/</guid><description>Some examples of how to use match case statement in Python.</description></item><item><title>Built-in Functions in Python</title><link>https://cetyler.github.io/til/2023/2023-6-14_python_builtin/</link><pubDate>Wed, 14 Jun 2023 23:27:41 -0500</pubDate><guid>https://cetyler.github.io/til/2023/2023-6-14_python_builtin/</guid><description>A couple of functions that I now know.</description></item><item><title>Escape Keys using psycopg2</title><link>https://cetyler.github.io/til/2023/20230502141136/</link><pubDate>Fri, 02 Jun 2023 20:00:00 -0500</pubDate><guid>https://cetyler.github.io/til/2023/20230502141136/</guid><description>Making sure that using &lt;code&gt;%&lt;/code&gt; in PostgreSQL works with psycopg2.</description></item><item><title>Setup Python Package to use with Pipx</title><link>https://cetyler.github.io/til/2023/20230502135936/</link><pubDate>Fri, 26 May 2023 20:00:00 -0500</pubDate><guid>https://cetyler.github.io/til/2023/20230502135936/</guid><description>Setting up your Python project to work with pipx and pyproject.toml</description></item><item><title>Weather Project - Initial Release</title><link>https://cetyler.github.io/posts/2023/2023-04-30-weather_project_initial_release/</link><pubDate>Sun, 30 Apr 2023 20:10:00 -0500</pubDate><guid>https://cetyler.github.io/posts/2023/2023-04-30-weather_project_initial_release/</guid><description>Initial working release.</description></item><item><title>Using Rich Inspect to Interrogate Python Objects</title><link>https://cetyler.github.io/til/2023/20230805171754/</link><pubDate>Sun, 13 Nov 2022 14:00:00 -0500</pubDate><guid>https://cetyler.github.io/til/2023/20230805171754/</guid><description>Using Rich can help format an object in the REPL.</description></item><item><title>Weather Project - Requirements and Roadmap</title><link>https://cetyler.github.io/posts/2022/2022-09-02-weather_project_requirements/</link><pubDate>Fri, 16 Sep 2022 20:00:00 -0500</pubDate><guid>https://cetyler.github.io/posts/2022/2022-09-02-weather_project_requirements/</guid><description>Create a roadmap and requirements.</description></item><item><title>Weather Project - PyPi</title><link>https://cetyler.github.io/posts/2022/2022-08-01-weather_project_pypi/</link><pubDate>Thu, 11 Aug 2022 20:00:00 -0500</pubDate><guid>https://cetyler.github.io/posts/2022/2022-08-01-weather_project_pypi/</guid><description>Setup PyPi with an empty project to lock in the project name.</description></item><item><title>Weather Project</title><link>https://cetyler.github.io/posts/2022/2022-07-19-weather_project/</link><pubDate>Tue, 19 Jul 2022 20:00:00 -0500</pubDate><guid>https://cetyler.github.io/posts/2022/2022-07-19-weather_project/</guid><description>Create a simple weather project to document how to add projects to PyPi and to aid with data analysis.</description></item><item><title>Reuven Lerner's Weekly Python Exercise A3</title><link>https://cetyler.github.io/posts/2022/2022-01-14-reuven_wpe/</link><pubDate>Fri, 14 Jan 2022 00:00:00 -0500</pubDate><guid>https://cetyler.github.io/posts/2022/2022-01-14-reuven_wpe/</guid><description>Review of Reuven&amp;rsquo;s Weekly Python Exercise A3.</description></item><item><title>Reuven Lerner's Object-orient Python</title><link>https://cetyler.github.io/posts/2022/2022-01-08-reuven_oop/</link><pubDate>Sat, 08 Jan 2022 00:00:00 -0500</pubDate><guid>https://cetyler.github.io/posts/2022/2022-01-08-reuven_oop/</guid><description>Review of Reuven&amp;rsquo;s OOP Python self pace course.</description></item></channel></rss>