mirror of
https://github.com/Brandon-Rozek/website.git
synced 2025-10-10 06:51:13 +00:00
Medium syndication information
This commit is contained in:
parent
e5a96d735a
commit
c5ff5538a6
276 changed files with 371 additions and 80 deletions
|
@ -3,6 +3,7 @@ title: "Detect Python Version"
|
|||
date: 2021-03-15T18:09:38-04:00
|
||||
draft: false
|
||||
tags: ["Python"]
|
||||
medium_enabled: true
|
||||
---
|
||||
|
||||
I was working on a distribution recently where `python` was mapped to `python2`. It mixed me up for a bit since I was writing a script for `python3` but it ran partially under `python2`. To lower confusion in the future, I think it's a great idea to check the python version and exit if it isn't the version you expect.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue