Shorthand snippets for Python.
fileheader
-> # -*- coding: utf-8 -*-'
shebang
-> #!/usr/bin/env python
ipdb
-> import ipdb; ipdb.set_trace() # noqa
ifname
-> if __name__ == "__main__":
imr
-> import re
imnp
-> import numpy as np
impd
-> import pandas as pd
imbs
-> from bs4 import BeautifulSoup
immpl
-> from matplotlib import pyplot as pl
imdt
-> from datetime import datetime
imreq
-> import requests
fori
-> basic for loop template.forr
-> for loop in range length.foro
-> one-liner for loop.func
-> basic function template.mainclass
-> creates a class template.subclass
-> creates a subclass template.More coming soon...
Issues, Pull Requests, and suggestion are welcome.
[ ] Add fancy gifs. [ ] Add contributers list.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.