Integrates:
The code below displays a single paginated table with a simple filter.
Inspired by this article
Integrates:
The code below displays a single paginated table with a simple filter.
Inspired by this article
| import mechanize | |
| import requests | |
| import re | |
| import logging | |
| import argparse | |
| import sys | |
| reload(sys) | |
| sys.setdefaultencoding('utf8') |
| { | |
| "selector": "source.matlab", | |
| "shell": true, | |
| "windows": { | |
| "cmd": ["matlab", "-nodesktop", "-nosplash", "-r", "$file_base_name"] | |
| }, | |
| "osx": { | |
| "cmd": ["matlab", "-nodisplay", "-nosplash", "-r", "$file_base_name"] | |
| }, |
| { | |
| "cmd": ["g++", "-o", "${file_path}/${file_base_name}.exe", "-static-libgcc", "-static-libstdc++", "*.cpp"], | |
| "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", | |
| "working_dir": "${file_path}", | |
| "selector": "source.c, source.cpp, source.c++", | |
| "path": "c:/Program Files/mingw-w64/mingw64/bin", | |
| "shell": true, | |
| "variants": [ | |
| { | |
| "name": "Run", |
| """ | |
| Creates formatted, readable .docx file from directory of udacity SRT files (assuming fixed directory structure). | |
| """ | |
| import re, sys, os | |
| from docx import Document | |
| from docx.shared import Inches | |
| #Hardcoded directory; assumes .srt files are inside SUB-directories of this directory | |
| directory = 'Knowledge-Based AI_ Cognitive Systems Subtitles/' |