Skip to content

Instantly share code, notes, and snippets.

View Kronen's full-sized avatar

Alberto González Lagos Kronen

View GitHub Profile
@Kronen
Kronen / cards.py
Created November 12, 2017 14:11
deck of cards
import random
class Card(object):
#"""Represents the values of the cards."""
def __init__(self, suit, facevalue):
self.suit = suit
self.facevalue = facevalue
@Kronen
Kronen / ratings.py
Created September 29, 2016 15:00
Get filmaffinity ratings from film filenames
import os
import asyncio
import requests
import aiohttp
from bs4 import BeautifulSoup
from guessit import guessit
from progressbar import ProgressBar, UnknownLength