Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
#!/usr/bin/env python | |
""" | |
===================================== | |
PEP 20 (The Zen of Python) by example | |
===================================== | |
Usage: %prog | |
:Author: Hunter Blanks, hblanks@artifex.org / hblanks@monetate.com |
-- This script includes examples for using AppleScript to perform several | |
-- useful tasks with Evernote. | |
-- Each section illustrates a chunk of Evernote's AppleScript interface, | |
-- and each section also cleans up after itself. | |
-- Please refer to the Evernote application's scripting dictionary for |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
""" | |
Gist made by Kshitij Chawla (Github name: kchawla-pi) for the Nilearn library in Feb/March 2019. | |
GPLv3 | |
""" | |
def replace_parameters(replacement_params, | |
end_version='future', | |
lib_name='Nilearn', | |
): | |
""" |
This document gives coding conventions example for the Python code. This style guide evolves over time as additional conventions are identified and past conventions are rendered obsolete by changes in the language itself.