Skip to content

Instantly share code, notes, and snippets.

@IVainqueur
Created October 3, 2022 16:53
Show Gist options
  • Save IVainqueur/fea3afdc169f96a7f60026cf7a0092f9 to your computer and use it in GitHub Desktop.
Save IVainqueur/fea3afdc169f96a7f60026cf7a0092f9 to your computer and use it in GitHub Desktop.
Python3 is Python, most of the times!
#!/bin/bash
# Apparently /bin/sh and /bin/bash are a little bit different
# In this instance, /bin/sh can't output colored text ( using ANSI code ) but /bin/bash can
params=$@
echo -e "\u001b[33m\u001b[1mRedirecting to python3...\u001b[0m" && sleep 2
eval "python3 $params"
## name: Python3-is-Python
## author: IVainqueur
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment