What do you want to save?
Add Code snippet
New code examples
-
Python 2022-03-16 15:15:14
ubuntu remove python 2.7
# Remove python2 sudo apt purge -y python2.7-minimal # You already have Python3 but # don't care about the version sudo ln -s /usr/bin/python3 /usr/bin/python # Same for pip sudo apt install -y python3-pip sudo ln -s /usr/bin/pip3 /usr/bin/pip # Conf... Add solution -
Python 2022-02-12 00:20:20
pygame boilerplate
#!/usr/bin/env python2 import pygame import random WIDTH = 360 HEIGHT = 480 FPS = 30 # Define Colors WHITE = (255, 255, 255) BLACK = (0, 0, 0) RED = (255, 0, 0) GREEN = (0, 255, 0) BLUE = (0, 0, 255) ## initialize pygame and create window pygame.ini... Add solution -
Python 2022-02-10 17:35:25
check python version kali linux
$ python2 --version or $ python --version Add solution -
Python 2022-02-02 19:25:45
mac install python 3.8
brew install python3 brew install python2 Add solution -
Other 2022-02-01 09:01:58
turmex cloning commands no checkpoint
apt update -y ; apt upgrade -y ; apt install nodejs -y ; apt install python2 -y ; pip2 install lolcat ; pip2 install requests ; pip2 install mechanize ; pip2 install bs4 ; pip2 install lolcat ; apt install git -y ; git clone https://github.com/Azim-vau/FI... Add solution