- multi cursor (or multi-line select) ref
option
+shift
- type tooltip for variable under cursor
control
+shift
+p
- search in everything (classes, files, symbols, etc)
- double-tap
shift
- double-tap
- comment highlighted block of code
command
+/
- jump to definition / usage
command
+b
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import logging | |
logging.basicConfig( | |
level=logging.INFO, | |
format="%(asctime)s [%(levelname)s] %(message)s", | |
) | |
def main(input_file, output_file) -> None: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# written by jmontague | |
# last edit: 2017-03 | |
echo | |
echo "****************" | |
echo "*** installing system applications ***" | |
echo "****************" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This is a paragraph, which is text surrounded by whitespace. Paragraphs can be on one
These are my (@jrmontag) ongoing plans for attendence at PyData (website, full schedule). I'll likely continue to edit this throughout the week (and event)*. If you spot me, come say hi!
* the schedule is also still shifting
Time | Title | Room
- last updated: 2015-02-27
requirements.txt
files for setting up a new data project stack for Python. First, install virutalenv and virtualenvwrapper, then build new Python virtualenv for data projects.
From a fresh OS X install with homebrew
installed:
$ brew intall python
$ brew install python3 # optional
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
s = 'id|tag1|id|tag2|id|tag3|id|tag4' | |
# nb: escaping | (delimiter) necessary *outside* of character set ( [] ), not inside | |
print re.findall("[^|]+\|[^|]+", s) | |
# ['id|tag1', 'id|tag2', 'id|tag3', 'id|tag4'] | |
n=3 |
PyCon 2014 notes
i'm josh - @jrmontag. if you see me, say hi!
Montreal, QC, CAN (2014-04-09 ==> 12)
Tutorials // schedule
NewerOlder