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
def first(): | |
jj = 'qqq' | |
jj = second() | |
print jj | |
def second(): | |
jj = 'www' | |
1/0 | |
return jj |
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
{% load crispy_forms_tags %} | |
{% block content %} | |
{% crispy form %} | |
{% endblock %} |
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 matplotlib.pyplot as plt | |
bbox = { | |
'n': 52.4311573, | |
's': 52.3182742, | |
'e': 5.0683726, | |
'w': 4.7288558, | |
} | |
gh_boxes = [{'s': 52.294921875, 'e': 5.09765625, 'w': 5.0537109375, 'n': 52.3388671875}, {'s': 52.294921875, 'e': 5.0537109375, 'w': 5.009765625, 'n': 52.3388671875}, {'s': 52.294921875, 'e': 5.009765625, 'w': 4.9658203125, 'n': 52.3388671875}, {'s': 52.294921875, 'e': 4.9658203125, 'w': 4.921875, 'n': 52.3388671875}, {'s': 52.294921875, 'e': 4.921875, 'w': 4.8779296875, 'n': 52.3388671875}, {'s': 52.294921875, 'e': 4.8779296875, 'w': 4.833984375, 'n': 52.3388671875}, {'s': 52.294921875, 'e': 4.833984375, 'w': 4.7900390625, 'n': 52.3388671875}, {'s': 52.294921875, 'e': 4.7900390625, 'w': 4.74609375, 'n': 52.3388671875}, {'s': 52.294921875, 'e': 4.74609375, 'w': 4.7021484375, 'n': 52.3388671875}, {'s': 52.3388671875, 'e': 5.09765625, 'w': 5.0537109375, 'n': 52.3828125}, {'s': 52.3388671875, 'e': 5.0537109375, 'w': 5.009765625, 'n': 52.3828125}, {'s': 52.3388671875, 'e': 5.009765625, 'w |
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 sys | |
from io import BytesIO | |
from PIL import Image | |
import xml.etree.cElementTree as et | |
from django.core.exceptions import ValidationError | |
from django.forms import ImageField as DjangoImageField | |
from django.utils import six |
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 asyncio | |
import pathlib | |
import socket | |
import ssl | |
import pytest | |
import aiohttp | |
from aiohttp import web | |
from aiohttp.resolver import DefaultResolver |