This file contains 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
[ | |
{ "city" : "Beograd", "_id" : 11000 }, | |
{ "city" : "Beograd Vozdovac", "_id" : 11010 }, | |
{ "city" : "Beograd Čukarica", "_id" : 11030 }, | |
{ "city" : "Beograd Zvezdara", "_id" : 11050 }, | |
{ "city" : "Beograd Palilula", "_id" : 11060 }, | |
{ "city" : "Novi Beograd", "_id" : 11070 }, | |
{ "city" : "Beograd Zemun", "_id" : 11080 }, | |
{ "city" : "Beograd Rakovica", "_id" : 11090 }, | |
{ "city" : "Kaluđerica", "_id" : 11130 }, |
This file contains 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
# | |
# Copyright (C) 2013 Vinay Sajip. New BSD License. | |
# | |
import os | |
import os.path | |
from subprocess import Popen, PIPE | |
import sys | |
from threading import Thread | |
from urllib.parse import urlparse | |
from urllib.request import urlretrieve |
This file contains 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/evn python | |
# -*- coding: utf8 -*- | |
import os | |
import struct | |
magics = { | |
20121: 'Python 1.5.x', | |
50428: 'Python 1.6', | |
50823: 'Python 2.0.x', |