setq,58069 if,52745 defun,39998 let,31776 and,23580 car,22095 or,19807 when,18857 not,17687 cdr,15964
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
| # coding: utf-8 | |
| import sys | |
| import tweepy | |
| import os | |
| import json | |
| import argparse | |
| import IPython | |
| def parse_args(command_args, *args, **kwargs): |
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
| """A module to get the argument names. | |
| Example:: | |
| write('markdown_to_video2') # create a arguments.json file. | |
| """ | |
| import os | |
| import importlib |
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 argparse | |
| import string | |
| def get_command_options( | |
| options={}, | |
| exclude_letters=[u'h'], | |
| conds=[ | |
| (lambda v: u'store' | |
| if isinstance(v, (int, float, str, unicode)) |
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 argparse | |
| import string | |
| def get_command_options( | |
| options={}, | |
| exclude_letters=[u'h'], | |
| conds=[ | |
| (lambda v: u'store' | |
| if isinstance(v, (int, float, str, unicode)) |
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 python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| nltk.corpus — NLTK 3.0 documentation <http://www.nltk.org/_modules/nltk/corpus.html> | |
| """ | |
| import nltk | |
| corpuses = """averaged_perceptron_tagger | |
| ptb | |
| brown |
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
| (run-at-time nil (* 5 60) 'recentf-save-list) | |
| (setq recentf-max-saved-items 200 | |
| recentf-max-menu-items 15) | |
| (recentf-mode +1) | |
| ; In markdown-mode, Press <TAB> on a ### line. | |
| (windmove-default-keybindings (kbd "S")) |
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
| # coding: utf-8 | |
| """Set the default arguments to functions. | |
| >>> set_wrappers([module1, module2]) # doctest: +SKIP | |
| {'f': OrderedDict([(u'module1.f.y', None), (u'module1.f.x', None), (u'a.f2.z', None)]} | |
| >>> module1.fn(**{"module1.fn.arg1": 1, "module2.fn.arg1": 0}}) # doctest: +SKIP | |
| module1.fn(**{"module1.fn.kwargs": {"args3": 1}}}) # doctest: +SKIP | |
| """ | |
| import itertools | |
| import importlib |
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
| # coding: utf-8 | |
| """Set the default arguments to functions. | |
| >>> set_wrappers([module1, module2]) # doctest: +SKIP | |
| {'f': OrderedDict([(u'module1.f.y', None), (u'module1.f.x', None), (u'a.f2.z', None)]} | |
| >>> module1.fn(**{"module1.fn.arg1": 1, "module2.fn.arg1": 0}}) # doctest: +SKIP | |
| module1.fn(**{"module1.fn.kwargs": {"args3": 1}}}) # doctest: +SKIP | |
| """ | |
| import importlib | |
| import argparse |
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 python | |
| # -*- coding: utf-8 -*- | |
| # Copyright (C) 2017 Jun Makii | |
| # This program is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or | |
| # (at your option) any later version. | |
| # This program is distributed in the hope that it will be useful, | |
| # but WITHOUT ANY WARRANTY; without even the implied warranty of |