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 requests | |
url = "https://ru.wikipedia.org/w/api.php" | |
query = {'action':'query', | |
'list':'categorymembers', | |
'cmtitle':'Категория: Персоналии по алфавиту', | |
'cmstartsortkeyprefix':'А', | |
'format':'json', | |
'cmlimit':500 | |
} |
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
%custom IPython Notebook / NBConvert template | |
%based on latex_article.tplx from ipython notebook | |
%modified by Ilya V. Schurov <ilya at schurov.com> | |
%license: BSD-like (see http://ipython.org/ipython-doc/stable/about/license_and_copyright.html for details) | |
% Default to the notebook output style | |
((* if not cell_style is defined *)) | |
((* set cell_style = 'style_ipython.tplx' *)) | |
((* endif *)) |
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 glob | |
import re | |
import os.path | |
import sys | |
published_dir=sys.argv[1] if len(sys.argv)>1 else "published" | |
ipynb=glob.glob("*.ipynb") | |
bns=map(lambda f: os.path.splitext(f)[0], ipynb) |
NewerOlder