Skip to content

Instantly share code, notes, and snippets.

View IuriiDoc's full-sized avatar

JordiRus IuriiDoc

View GitHub Profile
@IuriiDoc
IuriiDoc / pygame_install.md
Created March 1, 2020 18:01 — forked from BrambleXu/pygame_install.md
Installing Pygame, Python 3.6 with Anaconda on OS X

Please make sure you already install the Anaconda.

I will create a virtual environment with anaconda and install the pygame in this virtual environment.

  • First create a virtual environment called pygame and install the Python 3.6 version.
conda create --name pygame python=3.6
  • Change to the pygame virtual environment.
@IuriiDoc
IuriiDoc / pyscript.py
Created March 1, 2020 17:27 — forked from nhoffman/pyscript.py
Python script template
#!/usr/bin/env python
"""A simple python script template.
"""
from __future__ import print_function
import os
import sys
import argparse