I hereby claim:
- I am pfhreak on github.
- I am pfhreak (https://keybase.io/pfhreak) on keybase.
- I have a public key whose fingerprint is BD86 F4BD DBE4 F6B9 9956 15EB 73A2 DE77 EF84 E822
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#This is the git ignore file used in Duck Hunted | |
#Note that ! negates an ignore. We ignore everything in Library then | |
#un-ignore the metadata folder and some specific files | |
#Use at your own risk, this may totally destroy your project, but it worked for us | |
#NOTE: this will cause your collaborators to re-import assets periodically | |
Temp/* | |
Library/* | |
Build/* |
import sqlite3 | |
from bs4 import BeautifulSoup | |
from collections import defaultdict | |
conn = sqlite3.connect("C:\Users\Phill\Dropbox\code\python\compendium\items.db") | |
c = conn.cursor() | |
count = 0 | |
for row in c.execute("SELECT * FROM weapondata LIMIT 5"): |
from bs4 import BeautifulSoup | |
import sqlite3 | |
from collections import defaultdict | |
conn = sqlite3.connect("poison.db") | |
c = conn.cursor() | |
insert = conn.cursor() | |
c.execute("SELECT name FROM sqlite_master WHERE type='table' AND name='poison'") | |
if c.fetchone() == None: |