blob_id
stringlengths
40
40
formatted
stringlengths
15
1.74M
input_ids
listlengths
7
1.19M
tokens
listlengths
7
1.19M
rows
listlengths
7
1.19M
cols
listlengths
7
1.19M
fdcee5b3f6b3ec170c9ef3017e0cc6c4b28cf22d
from django.contrib import admin from .models import Advert, Category, ImageAd @admin.register(Advert) class AdminAdvert(admin.ModelAdmin): filter_horizontal = ("categories",) @admin.register(Category) class AdminCategory(admin.ModelAdmin): pass @admin.register(ImageAd) class AdminImageAd(admin.ModelAdmin...
[ 1097, 8532, 51, 12060, 1220, 5611, 222, 1097, 657, 3404, 1220, 3604, 1645, 49, 9954, 49, 4393, 1785, 499, 222, 69, 2317, 51, 3334, 45, 1785, 1645, 46, 222, 842, 9132, 1785, 1645, 45, 2317, 51, 1262, 4208, 731, 303, 2785, 100, 10634,...
[ "from", "Ġdjango", ".", "contrib", "Ġimport", "Ġadmin", "Ċ", "from", "Ġ.", "models", "Ġimport", "ĠAd", "vert", ",", "ĠCategory", ",", "ĠImage", "Ad", "ĊĊ", "Ċ", "@", "admin", ".", "register", "(", "Ad", "vert", ")", "Ċ", "class", "ĠAdmin", "Ad", "vert"...
[ 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 9, 10, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, ...
[ 1, 5, 12, 13, 20, 27, 33, 1, 5, 7, 13, 20, 23, 27, 28, 37, 38, 44, 46, 1, 1, 2, 7, 8, 16, 17, 19, 23, 24, 1, 6, 12, 14, 18, 19, 24, 25, 30, 35, 37, 4, 11, 12, 22, 24, 27, 37, 39, 40, 1, 1, 2, 7, 8, 16, 17, ...
ae5f87f1c383478ea5f370af1c85d63a472a7788
# Array In Python from array import array numbers = array("i", [1, 2, 3]) numbers[0] = 0 print(list(numbers))
[ 40, 2647, 719, 5006, 222, 222, 1097, 1437, 1220, 1437, 222, 222, 14995, 299, 1437, 459, 110, 411, 447, 54, 49, 244, 55, 49, 244, 56, 1156, 222, 14995, 96, 53, 98, 299, 244, 53, 222, 1243, 45, 687, 45, 14995, 509, 222 ]
[ "#", "ĠArray", "ĠIn", "ĠPython", "Ċ", "Ċ", "from", "Ġarray", "Ġimport", "Ġarray", "Ċ", "Ċ", "numbers", "Ġ=", "Ġarray", "(\"", "i", "\",", "Ġ[", "1", ",", "Ġ", "2", ",", "Ġ", "3", "])", "Ċ", "numbers", "[", "0", "]", "Ġ=", "Ġ", "0", "Ċ", "print"...
[ 1, 1, 1, 1, 1, 2, 3, 3, 3, 3, 3, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7 ]
[ 1, 2, 8, 11, 18, 1, 1, 5, 11, 18, 24, 1, 1, 8, 10, 16, 18, 19, 21, 23, 24, 25, 26, 27, 28, 29, 30, 32, 1, 8, 9, 10, 11, 13, 14, 15, 1, 6, 7, 11, 12, 19, 21 ]
9c05b39a12ab29db99397e62315efddd8cdf1df4
dict1 = [{"a": 1}, {"a": 2}, {"a": 3}] a = dict1[1]["a"] # print(a) correlation_dict = {"${class_id}": 123} data = {"token": "${self.token}", "name": "api测试", "class_id": "${class_id}"} for k in data: for key in correlation_dict: if data[k] in key: data[k] = correlation_dict[key] print(data)...
[ 2734, 54, 299, 28288, 102, 582, 244, 54, 855, 3479, 102, 582, 244, 55, 855, 3479, 102, 582, 244, 56, 10608, 222, 222, 102, 299, 5473, 54, 96, 54, 11210, 102, 1465, 222, 40, 1489, 45, 102, 46, 222, 222, 26154, 100, 2734, 299, 347...
[ "dict", "1", "Ġ=", "Ġ[{\"", "a", "\":", "Ġ", "1", "},", "Ġ{\"", "a", "\":", "Ġ", "2", "},", "Ġ{\"", "a", "\":", "Ġ", "3", "}]", "Ċ", "Ċ", "a", "Ġ=", "Ġdict", "1", "[", "1", "][\"", "a", "\"]", "Ċ", "#", "Ġprint", "(", "a", ")", "Ċ", "Ċ", ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 8, 8, 8, 8, 8, 8...
[ 1, 5, 6, 8, 12, 13, 15, 16, 17, 19, 22, 23, 25, 26, 27, 29, 32, 33, 35, 36, 37, 39, 1, 1, 2, 4, 9, 10, 11, 12, 15, 16, 18, 1, 2, 8, 9, 10, 11, 1, 1, 12, 13, 17, 19, 22, 24, 29, 30, 32, 33, 35, 36, 37, 38, 3...
51af54c55834c4bdb8e1cbe4ac55b86bdc61bf4d
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations from django.utils.timezone import utc import datetime class Migration(migrations.Migration): dependencies = [ ("notesapp", "0008_auto_20150819_1222"), ] operations = [ migrations.Rena...
[ 40, 8571, 10633, 63, 6471, 50, 61, 8571, 222, 1097, 1176, 9689, 523, 1220, 15393, 100, 30828, 222, 222, 1097, 8532, 51, 1219, 1220, 4590, 49, 12520, 222, 1097, 8532, 51, 2324, 51, 18216, 1220, 8196, 104, 222, 485, 7181, 499, 222, 84...
[ "#", "Ġ-*-", "Ġcoding", ":", "Ġutf", "-", "8", "Ġ-*-", "Ċ", "from", "Ġ__", "future", "__", "Ġimport", "Ġunicode", "_", "literals", "Ċ", "Ċ", "from", "Ġdjango", ".", "db", "Ġimport", "Ġmodels", ",", "Ġmigrations", "Ċ", "from", "Ġdjango", ".", "utils", "...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 8, 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, ...
[ 1, 2, 6, 13, 14, 18, 19, 20, 24, 1, 5, 8, 14, 16, 23, 31, 32, 40, 1, 1, 5, 12, 13, 15, 22, 29, 30, 41, 1, 5, 12, 13, 18, 19, 27, 34, 37, 38, 1, 7, 16, 1, 1, 6, 16, 17, 27, 28, 37, 39, 4, 17, 19, 21, 8, 11, ...
a8b1b218e6649545000803c91c803580cfdbd4f1
import random # Imports MongoClient for base level access to the local MongoDB from pymongo import MongoClient # Imports datetime class to create timestamp for weather data storage from datetime import datetime # Importing DailyReportModel class to use the implemented method to insert data into daily_report_model co...
[ 485, 4051, 222, 222, 40, 44949, 14907, 1503, 456, 1712, 3215, 2872, 391, 341, 2212, 22698, 222, 1097, 317, 2225, 6637, 1220, 14907, 1503, 222, 222, 40, 44949, 7181, 462, 391, 1506, 6356, 456, 20104, 727, 4780, 222, 1097, 7181, 1220, 7...
[ "import", "Ġrandom", "Ċ", "Ċ", "#", "ĠImports", "ĠMongo", "Client", "Ġfor", "Ġbase", "Ġlevel", "Ġaccess", "Ġto", "Ġthe", "Ġlocal", "ĠMongoDB", "Ċ", "from", "Ġp", "ym", "ongo", "Ġimport", "ĠMongo", "Client", "Ċ", "Ċ", "#", "ĠImports", "Ġdatetime", "Ġclass", ...
[ 1, 1, 1, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9...
[ 1, 7, 14, 1, 1, 2, 10, 16, 22, 26, 31, 37, 44, 47, 51, 57, 65, 1, 5, 7, 9, 13, 20, 26, 32, 1, 1, 2, 10, 19, 25, 28, 35, 45, 49, 57, 62, 70, 1, 5, 14, 21, 30, 1, 1, 2, 9, 12, 18, 24, 29, 35, 38, 42, 46, 58, ...
8cd582915c5abd96a4ef8a3a5309311f2a73a156
with open("file.txt", "r") as fh: data = fh.readline() lis = data.split(" ") my_dict = {} for key in lis: if key in my_dict.keys(): my_dict[key] += 1 else: my_dict[key] = 1 print(my_dict)
[ 1814, 2177, 459, 781, 51, 2787, 411, 332, 119, 678, 641, 23785, 63, 303, 727, 299, 23785, 51, 25658, 365, 222, 222, 32177, 299, 727, 51, 3045, 459, 7816, 222, 1791, 100, 2734, 299, 2172, 222, 222, 999, 1221, 347, 475, 316, 63, 303...
[ "with", "Ġopen", "(\"", "file", ".", "txt", "\",", "Ġ\"", "r", "\")", "Ġas", "Ġfh", ":", "ĊĠĠĠ", "Ġdata", "Ġ=", "Ġfh", ".", "readline", "()", "Ċ", "Ċ", "lis", "Ġ=", "Ġdata", ".", "split", "(\"", "Ġ\")", "Ċ", "my", "_", "dict", "Ġ=", "Ġ{}", "Ċ", ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 3, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 6, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9...
[ 1, 5, 10, 12, 16, 17, 20, 22, 24, 25, 27, 30, 33, 34, 4, 9, 11, 14, 15, 23, 25, 1, 1, 4, 6, 11, 12, 17, 19, 22, 1, 3, 4, 8, 10, 13, 1, 1, 4, 8, 11, 13, 15, 16, 4, 7, 11, 14, 17, 18, 22, 23, 27, 30, 8, 11, ...
f55b286448f114f3823f099a576af7bec1780a8c
# -*- coding: utf-8 -*- try: from greenlet import getcurrent as get_current_greenlet except ImportError: get_current_greenlet = int from thread import get_ident as get_current_thread from threading import Lock if get_current_greenlet is int: # Use thread get_ident = get_current_thread else: # Use green...
[ 40, 8571, 10633, 63, 6471, 50, 61, 8571, 222, 1287, 63, 303, 664, 9743, 749, 1220, 640, 1719, 641, 640, 100, 1719, 100, 6583, 749, 222, 7364, 29994, 63, 303, 640, 100, 1719, 100, 6583, 749, 299, 648, 222, 222, 1097, 3682, 1220, 64...
[ "#", "Ġ-*-", "Ġcoding", ":", "Ġutf", "-", "8", "Ġ-*-", "Ċ", "try", ":", "ĊĠĠĠ", "Ġfrom", "Ġgreen", "let", "Ġimport", "Ġget", "current", "Ġas", "Ġget", "_", "current", "_", "green", "let", "Ċ", "except", "ĠImportError", ":", "ĊĠĠĠ", "Ġget", "_", "curren...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 10, 11, 11, 11, 11...
[ 1, 2, 6, 13, 14, 18, 19, 20, 24, 1, 4, 5, 4, 9, 15, 18, 25, 29, 36, 39, 43, 44, 51, 52, 57, 60, 1, 7, 19, 20, 4, 8, 9, 16, 17, 22, 25, 27, 31, 1, 1, 5, 12, 19, 23, 24, 29, 32, 36, 37, 44, 45, 51, 1, 5, 15, ...
e864dad3f46fc9c6c472823bd06ce74fb5cb3f41
#!/usr/bin/env python import rospy import cv2 import numpy as np from cv_bridge import CvBridge from matplotlib import pyplot as plt from sensor_msgs.msg import Image from drone_app_msgs.msg import BBox, Drone, DroneArray from rospy.numpy_msg import numpy_msg # --------------------------------------- # This is an impl...
[ 8758, 3392, 52, 1793, 52, 2141, 4406, 222, 485, 33746, 222, 485, 6781, 55, 222, 485, 6610, 641, 2115, 222, 1097, 6781, 100, 12157, 1220, 409, 123, 13481, 222, 1097, 13168, 1220, 3643, 3570, 641, 6020, 222, 1097, 11556, 100, 12617, 51,...
[ "#!/", "usr", "/", "bin", "/", "env", "Ġpython", "Ċ", "import", "Ġrospy", "Ċ", "import", "Ġcv", "2", "Ċ", "import", "Ġnumpy", "Ġas", "Ġnp", "Ċ", "from", "Ġcv", "_", "bridge", "Ġimport", "ĠC", "v", "Bridge", "Ċ", "from", "Ġmatplotlib", "Ġimport", "Ġpy",...
[ 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8...
[ 1, 4, 7, 8, 11, 12, 15, 22, 1, 7, 13, 1, 7, 10, 11, 1, 7, 13, 16, 19, 1, 5, 8, 9, 15, 22, 24, 25, 31, 1, 5, 16, 23, 26, 30, 33, 37, 1, 5, 12, 13, 17, 18, 21, 28, 34, 1, 5, 8, 11, 12, 15, 16, 20, 21, 24, 3...
f3a63a22f8746d4a1f127bfe9e8c9d822109ab3c
import logging import os import textwrap from urllib.request import urlopen from bs4 import BeautifulSoup from tqdm import tqdm from doc_curation import book_data from doc_curation.md import get_md_with_pandoc from doc_curation.md.file import MdFile from doc_curation.scraping.misc_sites import iitk from doc_curation....
[ 485, 5751, 222, 485, 2355, 222, 485, 1367, 4087, 222, 1097, 22296, 51, 1375, 1220, 13387, 33875, 222, 222, 1097, 14270, 57, 1220, 39693, 222, 1097, 24826, 1220, 24826, 222, 222, 1097, 3714, 100, 104, 1232, 1220, 7638, 100, 624, 222, 1...
[ "import", "Ġlogging", "Ċ", "import", "Ġos", "Ċ", "import", "Ġtext", "wrap", "Ċ", "from", "Ġurllib", ".", "request", "Ġimport", "Ġur", "lopen", "Ċ", "Ċ", "from", "Ġbs", "4", "Ġimport", "ĠBeautifulSoup", "Ċ", "from", "Ġtqdm", "Ġimport", "Ġtqdm", "Ċ", "Ċ", ...
[ 1, 1, 1, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 5, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 11,...
[ 1, 7, 15, 1, 7, 10, 1, 7, 12, 16, 1, 5, 12, 13, 20, 27, 30, 35, 1, 1, 5, 8, 9, 16, 30, 1, 5, 10, 17, 22, 1, 1, 5, 9, 10, 11, 18, 25, 30, 31, 35, 1, 5, 9, 10, 11, 18, 19, 21, 28, 32, 33, 35, 36, 40, 41, 45...
90bb70b0a97c7872c8581a176ebacc50df8e1f72
import datetime def year_choices(): return [(r, r) for r in range(1984, datetime.date.today().year + 1)] def current_year(): return datetime.date.today().year
[ 485, 7181, 499, 222, 610, 4970, 100, 19878, 2284, 303, 461, 10474, 119, 49, 559, 46, 456, 559, 347, 2189, 45, 54, 62, 61, 57, 49, 7181, 51, 787, 51, 16029, 941, 4614, 494, 244, 54, 2201, 499, 222, 610, 1565, 100, 4614, 2284, 303...
[ "import", "Ġdatetime", "ĊĊ", "Ċ", "def", "Ġyear", "_", "choices", "():", "ĊĠĠĠ", "Ġreturn", "Ġ[(", "r", ",", "Ġr", ")", "Ġfor", "Ġr", "Ġin", "Ġrange", "(", "1", "9", "8", "4", ",", "Ġdatetime", ".", "date", ".", "today", "().", "year", "Ġ+", "Ġ", ...
[ 1, 1, 1, 3, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 7, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9 ]
[ 1, 7, 16, 1, 1, 4, 9, 10, 17, 20, 4, 11, 14, 15, 16, 18, 19, 23, 25, 28, 34, 35, 36, 37, 38, 39, 40, 49, 50, 54, 55, 60, 63, 67, 69, 70, 71, 73, 1, 1, 4, 12, 13, 17, 20, 4, 11, 20, 21, 25, 26, 31, 34, 38 ]
d1b2420778e788d78be2a12a27c80f5fa1b15a0f
import functools import re from pprint import pprint def heading(*, marker=""): """ Add a new line with the same number of heading markers as the characters in the title Need to specify marker to one of the valid rst line markups """ def wrapper_heading(func): @functools.wraps(func) ...
[ 485, 35383, 222, 485, 334, 222, 1097, 25852, 1220, 25852, 499, 222, 610, 19335, 2761, 49, 10091, 366, 10320, 303, 1547, 303, 2242, 331, 556, 1646, 642, 341, 2454, 1470, 451, 19335, 24303, 641, 341, 7152, 347, 341, 1799, 303, 17377, 39...
[ "import", "Ġfunctools", "Ċ", "import", "Ġre", "Ċ", "from", "Ġpprint", "Ġimport", "Ġpprint", "ĊĊ", "Ċ", "def", "Ġheading", "(*", ",", "Ġmarker", "=\"", "\"):", "ĊĠĠĠ", "Ġ\"\"\"", "ĊĠĠĠ", "ĠAdd", "Ġa", "Ġnew", "Ġline", "Ġwith", "Ġthe", "Ġsame", "Ġnumber", "Ġ...
[ 1, 1, 1, 2, 2, 2, 3, 3, 3, 3, 3, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, 12, 12, 12, 12, 12, 12, ...
[ 1, 7, 17, 1, 7, 10, 1, 5, 12, 19, 26, 1, 1, 4, 12, 14, 15, 22, 24, 27, 4, 8, 4, 8, 10, 14, 19, 24, 28, 33, 40, 43, 51, 59, 62, 66, 77, 80, 84, 90, 4, 9, 12, 20, 27, 30, 34, 37, 41, 47, 51, 56, 61, 64, 4, 8,...
29bee4ef11281380aa05d22ef54cb76502ecd685
from enum import Enum class CellState(Enum): EMPTY = 1 DEAD = 2 ALIVE = 3 WAS_ALIVE = 4 def __str__(self): default_str = super(CellState, self).__str__() if default_str == "CellState.EMPTY": return "E" elif default_str == "CellState.DEAD": return "D...
[ 1097, 3858, 1220, 7827, 499, 222, 842, 9880, 1095, 45, 2773, 731, 303, 29390, 299, 244, 54, 303, 2295, 1208, 299, 244, 55, 303, 418, 1816, 2494, 299, 244, 56, 303, 643, 1117, 100, 744, 5765, 299, 244, 57, 465, 684, 1176, 484, 3232...
[ "from", "Ġenum", "Ġimport", "ĠEnum", "ĊĊ", "Ċ", "class", "ĠCell", "State", "(", "Enum", "):", "ĊĠĠĠ", "ĠEMPTY", "Ġ=", "Ġ", "1", "ĊĠĠĠ", "ĠDE", "AD", "Ġ=", "Ġ", "2", "ĊĠĠĠ", "ĠA", "LI", "VE", "Ġ=", "Ġ", "3", "ĊĠĠĠ", "ĠW", "AS", "_", "AL", "IVE", ...
[ 1, 1, 1, 1, 1, 3, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11...
[ 1, 5, 10, 17, 22, 1, 1, 6, 11, 16, 17, 21, 23, 4, 10, 12, 13, 14, 4, 7, 9, 11, 12, 13, 4, 6, 8, 10, 12, 13, 14, 4, 6, 8, 9, 11, 14, 16, 17, 18, 4, 8, 11, 14, 17, 21, 23, 8, 16, 17, 20, 22, 28, 29, 33, 38, ...
b453006b4d4c5f17bb58110fe8197d7796ca0c6c
# -*- coding: utf-8 -*- __author__ = "tqs" from win32com.client import Dispatch import win32com.client import time import os import re import win32api """ windows操作部分说明: 考试波及知识点: 1.删除文件及文件夹 2.复制文件及文件夹 3.移动文件及文件夹 4.文件及文件夹改名 5.文件属性 考试样例: 1、在“蕨类植物”文件夹中,新建一个子文件夹“薄囊蕨类”。 2、将文件“淡水藻.ddd”移动到“藻类植物”文件夹中。 3、设置“螺旋藻.aaa”文件属性为“只读”。 ...
[ 40, 8571, 10633, 63, 6471, 50, 61, 8571, 222, 523, 2133, 523, 299, 332, 121, 11816, 39, 222, 1097, 8902, 56, 55, 527, 51, 1598, 1220, 21220, 222, 485, 8902, 56, 55, 527, 51, 1598, 222, 485, 1153, 222, 485, 2355, 222, 485, 334, 2...
[ "#", "Ġ-*-", "Ġcoding", ":", "Ġutf", "-", "8", "Ġ-*-", "Ċ", "__", "author", "__", "Ġ=", "Ġ\"", "t", "qs", "\"", "Ċ", "from", "Ġwin", "3", "2", "com", ".", "client", "Ġimport", "ĠDispatch", "Ċ", "import", "Ġwin", "3", "2", "com", ".", "client", "Ċ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7, 8, 8, 8, 8, 8, 8, 9, 10, 10, 11, 11, 11, 11, 11, 11, 12, 12...
[ 1, 2, 6, 13, 14, 18, 19, 20, 24, 1, 3, 9, 11, 13, 15, 16, 18, 19, 1, 5, 9, 10, 11, 14, 15, 21, 28, 37, 1, 7, 11, 12, 13, 16, 17, 23, 1, 7, 12, 1, 7, 10, 1, 7, 10, 1, 7, 11, 12, 13, 16, 1, 1, 4, 1, 8, 10, ...
170d0560c40f3f642f319f6113b68ab8a6bea9ef
import csv import matplotlib.pyplot as plt import numpy as np from scipy.optimize import curve_fit # funktion def func(w, rc): return 1 / (np.sqrt(1 + w**2 * rc**2)) # daten einlesen with open("data/phase.csv") as csvfile: reader = csv.reader(csvfile, delimiter=",") header_row = next(reader) f, U, a...
[ 485, 11490, 222, 485, 13168, 51, 18553, 641, 6020, 222, 485, 6610, 641, 2115, 222, 1097, 18945, 51, 22990, 1220, 14574, 100, 4803, 499, 222, 40, 47326, 222, 610, 3439, 45, 124, 49, 7636, 731, 303, 461, 244, 54, 536, 327, 2399, 51, ...
[ "import", "Ġcsv", "Ċ", "import", "Ġmatplotlib", ".", "pyplot", "Ġas", "Ġplt", "Ċ", "import", "Ġnumpy", "Ġas", "Ġnp", "Ċ", "from", "Ġscipy", ".", "optimize", "Ġimport", "Ġcurve", "_", "fit", "ĊĊ", "Ċ", "#", "Ġfunktion", "Ċ", "def", "Ġfunc", "(", "w", ",...
[ 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 6, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 11, 12, 12, 12, 12, 12, ...
[ 1, 7, 11, 1, 7, 18, 19, 25, 28, 32, 1, 7, 13, 16, 19, 1, 5, 11, 12, 20, 27, 33, 34, 37, 1, 1, 2, 11, 1, 4, 9, 10, 11, 12, 15, 17, 4, 11, 12, 13, 15, 17, 19, 20, 24, 25, 26, 28, 30, 32, 33, 35, 38, 40, 41, 4...
c9cf65eeec49eba004312491cdd2321200fa6a61
import cv2 import pandas from sklearn import tree import pydotplus from sklearn.tree import DecisionTreeClassifier import matplotlib.pyplot as plt import matplotlib.image as pltimg df = pandas.read_csv("show.csv") d = {"UK": 0, "USA": 1, "N": 2} df["Nationality"] = df["Nationality"].map(d) d = {"YES": 1, "NO": 0} df["...
[ 485, 6781, 55, 222, 485, 13247, 222, 1097, 14415, 1220, 4369, 222, 485, 3643, 4297, 5447, 222, 1097, 14415, 51, 3266, 1220, 37236, 3371, 16077, 222, 485, 13168, 51, 18553, 641, 6020, 222, 485, 13168, 51, 915, 641, 6020, 1296, 222, 222...
[ "import", "Ġcv", "2", "Ċ", "import", "Ġpandas", "Ċ", "from", "Ġsklearn", "Ġimport", "Ġtree", "Ċ", "import", "Ġpy", "dot", "plus", "Ċ", "from", "Ġsklearn", ".", "tree", "Ġimport", "ĠDecision", "Tree", "Classifier", "Ċ", "import", "Ġmatplotlib", ".", "pyplot",...
[ 1, 1, 1, 1, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, ...
[ 1, 7, 10, 11, 1, 7, 14, 1, 5, 13, 20, 25, 1, 7, 10, 13, 17, 1, 5, 13, 14, 18, 25, 34, 38, 48, 1, 7, 18, 19, 25, 28, 32, 1, 7, 18, 19, 24, 27, 31, 34, 1, 1, 3, 5, 12, 13, 17, 18, 21, 23, 27, 28, 31, 33, 1, ...
c893095be88636e6cb06eb3b939d8106fbb7a8ca
# Arushi Patel (aruship) from tkinter import * import random ###################################### # images taken from wikipedia,pixabay, # trans americas, clipartpanda,pngimg, # findicons, microsoft word ###################################### #################################### # init ############################...
[ 40, 5534, 1391, 110, 466, 351, 113, 327, 301, 1391, 658, 46, 222, 1097, 19488, 1164, 1220, 338, 222, 485, 4051, 222, 222, 4427, 14308, 222, 40, 5753, 11560, 664, 360, 30419, 49, 14833, 380, 414, 49, 222, 40, 1650, 331, 2322, 21343, ...
[ "#", "ĠAr", "ush", "i", "ĠP", "ate", "l", "Ġ(", "ar", "ush", "ip", ")", "Ċ", "from", "Ġtk", "inter", "Ġimport", "Ġ*", "Ċ", "import", "Ġrandom", "Ċ", "Ċ", "################################", "######", "Ċ", "#", "Ġimages", "Ġtaken", "Ġfrom", "Ġw", "ikipedi...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 4, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9...
[ 1, 2, 5, 8, 9, 11, 14, 15, 17, 19, 22, 24, 25, 1, 5, 8, 13, 20, 22, 1, 7, 14, 1, 1, 33, 39, 1, 2, 9, 15, 20, 22, 30, 31, 34, 36, 38, 39, 1, 2, 8, 10, 13, 17, 18, 22, 25, 27, 31, 32, 35, 38, 39, 1, 2, 7, 1...
d0448ca8e3fd2f3bb8a3a7ec052e29ab0be6351a
import matplotlib.pyplot as plt from sklearn.decomposition import PCA from sklearn.discriminant_analysis import LinearDiscriminantAnalysis import pandas as pd import numpy as np from sklearn import datasets from sklearn.datasets import make_classification from sklearn.model_selection import train_test_split # a = pd....
[ 485, 13168, 51, 18553, 641, 6020, 222, 1097, 14415, 51, 305, 20263, 1220, 42079, 222, 1097, 14415, 51, 1303, 17664, 710, 100, 11513, 1220, 14138, 1744, 17664, 710, 9759, 222, 222, 485, 13247, 641, 6451, 222, 485, 6610, 641, 2115, 222, ...
[ "import", "Ġmatplotlib", ".", "pyplot", "Ġas", "Ġplt", "Ċ", "from", "Ġsklearn", ".", "de", "composition", "Ġimport", "ĠPCA", "Ċ", "from", "Ġsklearn", ".", "dis", "crimin", "ant", "_", "analysis", "Ġimport", "ĠLinear", "Dis", "crimin", "ant", "Analysis", "Ċ",...
[ 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9...
[ 1, 7, 18, 19, 25, 28, 32, 1, 5, 13, 14, 16, 27, 34, 38, 1, 5, 13, 14, 17, 23, 26, 27, 35, 42, 49, 52, 58, 61, 69, 1, 1, 7, 14, 17, 20, 1, 7, 13, 16, 19, 1, 5, 13, 20, 29, 1, 5, 13, 14, 22, 29, 34, 35, 49, 1...
6d7db5b9a64ec25763f5af6ceec1a46d629d549c
import re import ngram import smoothedNgram def split_into_sentences(text): text = text.lower() sentences = re.split(r"(?<!\w\.\w.)(?<![A-Z][a-z]\.)(?<=\.|\?)\s", text) getSentences(sentences, text) return sentences def getTextWithoutSpaces(text): withoutLineBreaks = text.replace("\n", "") w...
[ 485, 334, 222, 485, 329, 1786, 222, 485, 328, 794, 385, 2054, 83, 1786, 499, 222, 610, 6168, 100, 8017, 100, 32923, 45, 897, 731, 303, 1367, 299, 1367, 51, 5773, 365, 303, 29031, 299, 334, 51, 3045, 45, 119, 39, 12421, 7842, 97, ...
[ "import", "Ġre", "Ċ", "import", "Ġn", "gram", "Ċ", "import", "Ġs", "mo", "ot", "hed", "N", "gram", "ĊĊ", "Ċ", "def", "Ġsplit", "_", "into", "_", "sentences", "(", "text", "):", "ĊĠĠĠ", "Ġtext", "Ġ=", "Ġtext", ".", "lower", "()", "ĊĠĠĠ", "Ġsentences",...
[ 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8...
[ 1, 7, 10, 1, 7, 9, 13, 1, 7, 9, 11, 13, 16, 17, 21, 1, 1, 4, 10, 11, 15, 16, 25, 26, 30, 32, 4, 9, 11, 16, 17, 22, 24, 4, 14, 16, 19, 20, 25, 26, 27, 28, 30, 32, 33, 34, 35, 37, 38, 39, 41, 43, 45, 46, 47, ...
654586443e96f84aae70b3ce3263b0458a27334b
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads_v1/proto/services/user_interest_service.proto import sys _b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1")) from google.protobuf import descriptor as _descriptor from google....
[ 40, 8571, 10633, 63, 6471, 50, 61, 8571, 222, 40, 13046, 829, 341, 7088, 3129, 8986, 51, 244, 4103, 2387, 18805, 38, 222, 40, 1932, 63, 9293, 52, 8592, 52, 44592, 100, 123, 54, 52, 1822, 52, 4270, 52, 514, 100, 13954, 100, 2140, ...
[ "#", "Ġ-*-", "Ġcoding", ":", "Ġutf", "-", "8", "Ġ-*-", "Ċ", "#", "ĠGenerated", "Ġby", "Ġthe", "Ġprotocol", "Ġbuffer", "Ġcompiler", ".", "Ġ", "ĠDO", "ĠNOT", "ĠEDIT", "!", "Ċ", "#", "Ġsource", ":", "Ġgoogle", "/", "ads", "/", "googleads", "_", "v", "1"...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 5, 5, 5, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7...
[ 1, 2, 6, 13, 14, 18, 19, 20, 24, 1, 2, 12, 15, 19, 28, 35, 44, 45, 46, 49, 53, 58, 59, 1, 2, 9, 10, 17, 18, 21, 22, 31, 32, 33, 34, 35, 40, 41, 49, 50, 54, 55, 63, 64, 71, 72, 77, 1, 1, 7, 11, 1, 1, 2, 3, 5...
7bd2a29bff1e435cf813dd54109d7f4e17612425
# from tinyTensor.Node import Node import tinyTensor import plotly.plotly as py from graphviz import render # from tinyTensor.Operation import Operation def init(): global _default_graph _default_graph = None def postOrder(node): nodes_postorder = [] def recurse(node): if isinstance(node, t...
[ 40, 664, 19119, 7972, 51, 1230, 1220, 4021, 222, 485, 19119, 7972, 222, 485, 7036, 651, 51, 3570, 651, 641, 3643, 222, 1097, 4023, 19486, 1220, 2922, 222, 40, 664, 19119, 7972, 51, 3786, 1220, 11957, 499, 222, 610, 3238, 2284, 303, ...
[ "#", "Ġfrom", "Ġtiny", "Tensor", ".", "Node", "Ġimport", "ĠNode", "Ċ", "import", "Ġtiny", "Tensor", "Ċ", "import", "Ġplot", "ly", ".", "plot", "ly", "Ġas", "Ġpy", "Ċ", "from", "Ġgraph", "viz", "Ġimport", "Ġrender", "Ċ", "#", "Ġfrom", "Ġtiny", "Tensor", ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 7, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 12, 13, 13, 13, 13, 13, ...
[ 1, 2, 7, 12, 18, 19, 23, 30, 35, 1, 7, 12, 18, 1, 7, 12, 14, 15, 19, 21, 24, 27, 1, 5, 11, 14, 21, 28, 1, 2, 7, 12, 18, 19, 28, 35, 45, 1, 1, 4, 9, 12, 4, 11, 13, 20, 21, 26, 4, 6, 13, 14, 19, 21, 26, 1, ...
22da05d9bf6139a0306bfb2d1df96e9e2cf6a0c6
# vim: tabstop=4 expandtab autoindent shiftwidth=4 fileencoding=utf-8 from django.contrib.auth.decorators import login_required from django.contrib.auth import models as auth_models from django.contrib.auth import forms as auth_forms from django.contrib.auth import authenticate, login from django.core.urlresolvers i...
[ 40, 19232, 63, 4890, 4074, 66, 57, 11782, 3019, 2283, 9383, 5746, 1660, 66, 57, 822, 8657, 66, 3330, 50, 61, 222, 222, 1097, 8532, 51, 12060, 51, 2408, 51, 28466, 1220, 6212, 100, 3662, 222, 222, 1097, 8532, 51, 12060, 51, 2408, 1...
[ "#", "Ġvim", ":", "Ġtab", "stop", "=", "4", "Ġexpand", "tab", "Ġauto", "indent", "Ġshift", "width", "=", "4", "Ġfile", "encoding", "=", "utf", "-", "8", "Ċ", "Ċ", "from", "Ġdjango", ".", "contrib", ".", "auth", ".", "decorators", "Ġimport", "Ġlogin", ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7...
[ 1, 2, 6, 7, 11, 15, 16, 17, 24, 27, 32, 38, 44, 49, 50, 51, 56, 64, 65, 68, 69, 70, 1, 1, 5, 12, 13, 20, 21, 25, 26, 36, 43, 49, 50, 58, 1, 1, 5, 12, 13, 20, 21, 25, 32, 39, 42, 47, 48, 54, 1, 5, 12, 13, 20, ...
40158bbfd9c95a8344f34431d0b0e98c4a1bf6ed
""" Code for mmDGM Author: Chongxuan Li (chongxuanli1991@gmail.com) Version = '1.0' """ import gpulearn_mm_z_x import sys, os import time import color n_hidden = (500, 500) if len(sys.argv) > 2: n_hidden = tuple([int(x) for x in sys.argv[2:]]) nz = 500 if os.environ.has_key("nz"): nz = int(os.environ["nz"]) i...
[ 3012, 222, 1241, 456, 12213, 73, 15185, 222, 4372, 63, 1902, 805, 125, 10476, 8110, 327, 399, 805, 125, 10476, 393, 54, 62, 62, 54, 69, 7265, 51, 527, 46, 222, 2080, 299, 349, 54, 51, 53, 44, 222, 3012, 222, 222, 485, 15612, 779...
[ "\"\"\"", "Ċ", "Code", "Ġfor", "Ġmm", "D", "GM", "Ċ", "Author", ":", "ĠCh", "ong", "x", "uan", "ĠLi", "Ġ(", "ch", "ong", "x", "uan", "li", "1", "9", "9", "1", "@", "gmail", ".", "com", ")", "Ċ", "Version", "Ġ=", "Ġ'", "1", ".", "0", "'", "Ċ...
[ 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 9, 9, 9, 10, 10, ...
[ 1, 4, 1, 5, 9, 12, 13, 15, 1, 7, 8, 11, 14, 15, 18, 21, 23, 25, 28, 29, 32, 34, 35, 36, 37, 38, 39, 44, 45, 48, 49, 1, 8, 10, 12, 13, 14, 15, 16, 1, 4, 1, 1, 7, 10, 13, 16, 17, 19, 20, 21, 22, 23, 1, 7, 11,...
e543c7f7f1b249e53b8ebf82641ec398abf557af
button6 = Button(tk, text=" ", font=("Times 26 bold"), heigh=4, width=8, command=lambda: checker(button6)) button6.grid(row=2, column=2, sticky=S + N + E + W) button7 = Button(tk, text=" ", font=("Times 26 bold"), heigh=4, width=8, command=lambda: checker(button7)) button7.grid(row=3, column=0, sticky=S + N + E + W) bu...
[ 1654, 59, 299, 7413, 45, 4708, 49, 1367, 366, 3021, 2377, 66, 459, 9695, 244, 55, 59, 13769, 2132, 957, 1821, 66, 57, 49, 1882, 66, 61, 49, 2035, 66, 6034, 63, 26626, 45, 1654, 59, 509, 222, 1654, 59, 51, 3393, 45, 661, 66, 55...
[ "button", "6", "Ġ=", "ĠButton", "(", "tk", ",", "Ġtext", "=\"", "Ġ\",", "Ġfont", "=", "(\"", "Times", "Ġ", "2", "6", "Ġbold", "\"),", "Ġhe", "igh", "=", "4", ",", "Ġwidth", "=", "8", ",", "Ġcommand", "=", "lambda", ":", "Ġchecker", "(", "button", ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3...
[ 1, 7, 8, 10, 17, 18, 20, 21, 26, 28, 31, 36, 37, 39, 44, 45, 46, 47, 52, 55, 58, 61, 62, 63, 64, 70, 71, 72, 73, 81, 82, 88, 89, 97, 98, 104, 105, 107, 1, 7, 8, 9, 13, 14, 17, 18, 19, 20, 27, 28, 29, 30, 37, 38...
647dde6e3288ded29336062b78baacc3a92908a7
import re import random import requests from bs4 import BeautifulSoup import js2py from fake_useragent import UserAgent def _get_request_key(session): res = session.post("https://spys.one/en/socks-proxy-list/") soup = BeautifulSoup(res.text, "html.parser") return soup.find("input", {"name": "xx0"}).get("v...
[ 485, 334, 222, 485, 4051, 222, 485, 5188, 222, 1097, 14270, 57, 1220, 39693, 222, 485, 4071, 55, 997, 222, 1097, 11174, 100, 514, 4881, 1220, 2694, 6150, 499, 222, 610, 634, 390, 100, 1375, 100, 697, 45, 2867, 731, 303, 755, 299, ...
[ "import", "Ġre", "Ċ", "import", "Ġrandom", "Ċ", "import", "Ġrequests", "Ċ", "from", "Ġbs", "4", "Ġimport", "ĠBeautifulSoup", "Ċ", "import", "Ġjs", "2", "py", "Ċ", "from", "Ġfake", "_", "user", "agent", "Ġimport", "ĠUser", "Agent", "ĊĊ", "Ċ", "def", "Ġ_",...
[ 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,...
[ 1, 7, 10, 1, 7, 14, 1, 7, 16, 1, 5, 8, 9, 16, 30, 1, 7, 10, 11, 13, 1, 5, 10, 11, 15, 20, 27, 32, 37, 1, 1, 4, 6, 9, 10, 17, 18, 21, 22, 29, 31, 4, 8, 10, 18, 19, 23, 25, 30, 33, 35, 37, 38, 41, 42, 44, 4...
aebc8665a97ab0a71b1d8a920b5cbf2643254883
from base_page import Base_Page import locators class Product_Object: "Page Object for the table" # locators def get_all_text(self): "Get the text within the table" table_text = [] row_doms = self.get_elements(self.rows_xpath) for index, row_dom in enumerate(row_doms): ...
[ 1097, 1712, 100, 1655, 1220, 3787, 100, 1983, 222, 485, 2600, 4079, 499, 222, 842, 7697, 100, 976, 63, 303, 332, 1983, 2210, 456, 341, 1877, 39, 465, 607, 2600, 4079, 465, 684, 640, 100, 483, 100, 897, 45, 803, 731, 310, 332, 953,...
[ "from", "Ġbase", "_", "page", "Ġimport", "ĠBase", "_", "Page", "Ċ", "import", "Ġloc", "ators", "ĊĊ", "Ċ", "class", "ĠProduct", "_", "Object", ":", "ĊĠĠĠ", "Ġ\"", "Page", "ĠObject", "Ġfor", "Ġthe", "Ġtable", "\"", "ĊĊĠĠĠ", "Ġ#", "Ġloc", "ators", "ĊĊĠĠĠ", ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 4, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 8, 8, 8, 8, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 12, 13, ...
[ 1, 5, 10, 11, 15, 22, 27, 28, 32, 1, 7, 11, 16, 1, 1, 6, 14, 15, 21, 22, 4, 6, 10, 17, 21, 25, 31, 32, 4, 6, 10, 15, 4, 8, 12, 13, 16, 17, 21, 22, 26, 28, 8, 10, 13, 17, 22, 29, 33, 39, 40, 8, 14, 15, 19, 2...
759ff4cc123e85bdc8c1457bb521cd35841956cd
import numpy as np import cv2 face_cascade = cv2.CascadeClassifier("haarcascade_frontalface_default.xml") eye_cascade = cv2.CascadeClassifier("haarcascade_eye.xml") img = cv2.imread("modi.jpg") gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) faces = face_cascade.detectMultiScale(gray, 1.3, 5) # Write the for loop code ...
[ 485, 6610, 641, 2115, 222, 485, 6781, 55, 222, 222, 1179, 100, 26650, 299, 6781, 55, 51, 31155, 16077, 459, 4958, 10272, 321, 9017, 100, 5608, 298, 1179, 100, 1555, 51, 2608, 678, 222, 14771, 100, 26650, 299, 6781, 55, 51, 31155, 16...
[ "import", "Ġnumpy", "Ġas", "Ġnp", "Ċ", "import", "Ġcv", "2", "Ċ", "Ċ", "face", "_", "cascade", "Ġ=", "Ġcv", "2", ".", "Cascade", "Classifier", "(\"", "ha", "arc", "as", "cade", "_", "front", "al", "face", "_", "default", ".", "xml", "\")", "Ċ", "ey...
[ 1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7...
[ 1, 7, 13, 16, 19, 1, 7, 10, 11, 1, 1, 5, 6, 13, 15, 18, 19, 20, 27, 37, 39, 41, 44, 46, 50, 51, 56, 58, 62, 63, 70, 71, 74, 76, 1, 4, 5, 12, 14, 17, 18, 19, 26, 36, 38, 40, 43, 45, 49, 50, 53, 54, 57, 59, 1, ...
1d524312cbd3b735850046131f31c03fdfa90bbc
my_dict = {"one": "1", "two": "2"} for key in my_dict: print("{} - {}".format(key, my_dict[key]))
[ 1791, 100, 2734, 299, 3479, 677, 582, 332, 54, 411, 332, 8295, 582, 332, 55, 3667, 222, 999, 1221, 347, 1690, 100, 2734, 63, 303, 1489, 35186, 449, 16669, 1664, 45, 697, 49, 1690, 100, 2734, 96, 697, 5310, 222 ]
[ "my", "_", "dict", "Ġ=", "Ġ{\"", "one", "\":", "Ġ\"", "1", "\",", "Ġ\"", "two", "\":", "Ġ\"", "2", "\"}", "Ċ", "for", "Ġkey", "Ġin", "Ġmy", "_", "dict", ":", "ĊĠĠĠ", "Ġprint", "(\"{}", "Ġ-", "Ġ{}\".", "format", "(", "key", ",", "Ġmy", "_", "dict"...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3 ]
[ 1, 3, 4, 8, 10, 13, 16, 18, 20, 21, 23, 25, 28, 30, 32, 33, 35, 1, 4, 8, 11, 14, 15, 19, 20, 4, 10, 14, 16, 21, 27, 28, 31, 32, 35, 36, 40, 41, 44, 47 ]
add56d52f3c88f814a166d12c3bc5a5906268864
from django.conf.urls import url from . import views urlpatterns = [ url(r"^class/([^/]+)/?$", views.puppet_class, name="puppet-class"), url(r"^edit-host/(?P<fqdn>[^/]+)?/?$", views.edit_host, name="edit-host"), url(r"^add-host/(?P<fqdn>[^/]+)?/?$", views.add_host, name="add-host"), url(r"^delete/([^/...
[ 1097, 8532, 51, 2982, 51, 11420, 1220, 2001, 222, 222, 1097, 657, 1220, 11887, 222, 222, 983, 15735, 299, 447, 303, 2001, 45, 119, 39, 99, 842, 52, 24175, 52, 45727, 68, 30201, 11887, 51, 33491, 100, 842, 49, 655, 366, 33491, 50, ...
[ "from", "Ġdjango", ".", "conf", ".", "urls", "Ġimport", "Ġurl", "Ċ", "Ċ", "from", "Ġ.", "Ġimport", "Ġviews", "Ċ", "Ċ", "url", "patterns", "Ġ=", "Ġ[", "ĊĠĠĠ", "Ġurl", "(", "r", "\"", "^", "class", "/", "([^", "/", "]+)/", "?", "$\",", "Ġviews", ".",...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 3, 3, 3, 3, 4, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7...
[ 1, 5, 12, 13, 17, 18, 22, 29, 33, 1, 1, 5, 7, 14, 20, 1, 1, 4, 12, 14, 16, 4, 8, 9, 10, 11, 12, 17, 18, 21, 22, 26, 27, 30, 36, 37, 43, 44, 49, 50, 55, 57, 63, 64, 69, 72, 4, 8, 9, 10, 11, 12, 16, 17, 21, 2...
00e9872136e5753364117adbf60793e660c8bef0
from __future__ import annotations import pytest from pytest import param import ibis import ibis.expr.datatypes as dt from ibis.backends.base.sql.alchemy.geospatial import geospatial_supported DB_TYPES = [ # Exact numbers ("BIGINT", dt.int64), ("BIT", dt.boolean), ("DECIMAL", dt.Decimal(precision=18...
[ 1097, 1176, 9689, 523, 1220, 14711, 222, 222, 485, 13090, 222, 1097, 13090, 1220, 4380, 222, 222, 485, 24168, 316, 222, 485, 24168, 316, 51, 3396, 51, 18176, 1707, 641, 8837, 222, 1097, 24168, 316, 51, 11522, 51, 1460, 51, 2622, 51, ...
[ "from", "Ġ__", "future", "__", "Ġimport", "Ġannotations", "Ċ", "Ċ", "import", "Ġpytest", "Ċ", "from", "Ġpytest", "Ġimport", "Ġparam", "Ċ", "Ċ", "import", "Ġib", "is", "Ċ", "import", "Ġib", "is", ".", "expr", ".", "datat", "ypes", "Ġas", "Ġdt", "Ċ", "fr...
[ 1, 1, 1, 1, 1, 1, 1, 2, 3, 3, 3, 4, 4, 4, 4, 4, 5, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 10, 10, 10, 10, 10, 10, 11, 11, 11,...
[ 1, 5, 8, 14, 16, 23, 35, 1, 1, 7, 14, 1, 5, 12, 19, 25, 1, 1, 7, 10, 12, 1, 7, 10, 12, 13, 17, 18, 23, 27, 30, 33, 1, 5, 8, 10, 11, 19, 20, 24, 25, 28, 29, 36, 37, 40, 47, 54, 58, 65, 66, 75, 1, 1, 3, 4, ...
25aa0766505b22588107d44e15c3596e9383d4e9
import datetime from ..core.indicator import Indicator, IndicatorState from ..core.toolwindow import ToolWindow class HaakePhoenix(ToolWindow): required_devices = ["haakephoenix"] def __init__(self, *args, **wargs): self.indicators = {} super().__init__(*args, **wargs) def init_gui(self...
[ 485, 7181, 222, 222, 1097, 4390, 1284, 51, 18368, 1220, 44029, 49, 44029, 1095, 222, 1097, 4390, 1284, 51, 3749, 3537, 1220, 10023, 1684, 499, 222, 842, 29955, 1082, 2839, 116, 23954, 45, 3670, 1684, 731, 303, 2147, 100, 13224, 299, 3...
[ "import", "Ġdatetime", "Ċ", "Ċ", "from", "Ġ..", "core", ".", "indicator", "Ġimport", "ĠIndicator", ",", "ĠIndicator", "State", "Ċ", "from", "Ġ..", "core", ".", "tool", "window", "Ġimport", "ĠTool", "Window", "ĊĊ", "Ċ", "class", "ĠHa", "ake", "Ph", "o", "...
[ 1, 1, 1, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,...
[ 1, 7, 16, 1, 1, 5, 8, 12, 13, 22, 29, 39, 40, 50, 55, 1, 5, 8, 12, 13, 17, 23, 30, 35, 41, 1, 1, 6, 9, 12, 14, 15, 19, 20, 24, 30, 32, 4, 13, 14, 21, 23, 26, 28, 31, 38, 40, 4, 8, 11, 15, 18, 22, 23, 25, 29...
de6b9961e0572338c87802314e7ae3cded5168b4
import matplotlib.pyplot as plt import numpy as np import scipy.io as scio import estimateGaussian as eg import multivariateGaussian as mvg import visualizeFit as vf import selectThreshold as st plt.ion() # np.set_printoptions(formatter={'float': '{: 0.6f}'.format}) """第1部分 加载示例数据集""" # 先通过一个小数据集进行异常检测 便于可视化 # 数据...
[ 485, 13168, 51, 18553, 641, 6020, 222, 485, 6610, 641, 2115, 222, 485, 18945, 51, 735, 641, 2240, 735, 222, 222, 485, 21251, 33651, 641, 16314, 222, 485, 10164, 28206, 33651, 641, 364, 8168, 222, 485, 34895, 14088, 641, 32393, 222, 48...
[ "import", "Ġmatplotlib", ".", "pyplot", "Ġas", "Ġplt", "Ċ", "import", "Ġnumpy", "Ġas", "Ġnp", "Ċ", "import", "Ġscipy", ".", "io", "Ġas", "Ġsc", "io", "Ċ", "Ċ", "import", "Ġestimate", "Gaussian", "Ġas", "Ġeg", "Ċ", "import", "Ġmult", "ivariate", "Gaussian",...
[ 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 4, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 9, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, ...
[ 1, 7, 18, 19, 25, 28, 32, 1, 7, 13, 16, 19, 1, 7, 13, 14, 16, 19, 22, 24, 1, 1, 7, 16, 24, 27, 30, 1, 7, 12, 20, 28, 31, 33, 35, 1, 7, 17, 20, 23, 26, 1, 7, 14, 23, 26, 29, 1, 1, 4, 5, 8, 10, 1, 2, 5, 6, ...
e37e468d8a41b8711fb0eb4ddec7db67691f9156
""" Created on 3 Jul 2009 @author: charanpal An abstract base class which represents a graph generator. The graph generator takes an existing empty graph and produces edges over it. """ from apgl.util.Util import Util class AbstractGraphGenerator(object): def generate(self, graph): Util.abstract()
[ 3012, 222, 6880, 563, 244, 56, 11023, 244, 55, 53, 53, 62, 222, 222, 69, 2133, 63, 1370, 297, 11567, 222, 222, 1062, 5560, 1712, 462, 1532, 10684, 331, 4023, 9790, 51, 906, 4023, 9790, 222, 121, 4085, 619, 4917, 3517, 4023, 480, 2...
[ "\"\"\"", "Ċ", "Created", "Ġon", "Ġ", "3", "ĠJul", "Ġ", "2", "0", "0", "9", "Ċ", "Ċ", "@", "author", ":", "Ġchar", "an", "pal", "Ċ", "Ċ", "An", "Ġabstract", "Ġbase", "Ġclass", "Ġwhich", "Ġrepresents", "Ġa", "Ġgraph", "Ġgenerator", ".", "ĠThe", "Ġgrap...
[ 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 4, 4, 4, 4, 4, 4, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10...
[ 1, 4, 1, 8, 11, 12, 13, 17, 18, 19, 20, 21, 22, 1, 1, 2, 8, 9, 14, 16, 19, 1, 1, 3, 12, 17, 23, 29, 40, 42, 48, 58, 59, 63, 69, 79, 1, 2, 6, 9, 18, 24, 30, 34, 43, 49, 54, 57, 58, 1, 4, 1, 1, 5, 8, 10, 11...
dc226a646af32d052c6d51832b95a340d6986e08
print("\n") # Первый вариант def fn1(): print("One") def fn2(): print("Two") def fn3(): print("Three") fndict = {"A": fn1, "B": fn2, "C": fn3} keynames = ["A", "B", "C"] fndict[keynames[1]]() fndict["C"]() # Второй вариант def add(one, two): c = one + two print(c) print(type(c)) ...
[ 1243, 5564, 115, 678, 222, 222, 40, 15679, 4994, 3717, 23238, 3876, 12571, 1286, 4905, 1288, 499, 222, 610, 2788, 54, 2284, 303, 1489, 459, 3597, 678, 499, 222, 610, 2788, 55, 2284, 303, 1489, 459, 8625, 678, 499, 222, 610, 2788, 56...
[ "print", "(\"\\", "n", "\")", "Ċ", "Ċ", "#", "ĠÐŁ", "еÑĢ", "в", "Ñĭй", "Ġв", "аÑĢ", "и", "ан", "ÑĤ", "ĊĊ", "Ċ", "def", "Ġfn", "1", "():", "ĊĠĠĠ", "Ġprint", "(\"", "One", "\")", "ĊĊ", "Ċ", "def", "Ġfn", "2", "():", "ĊĠĠĠ", "Ġprint", "(\"",...
[ 1, 1, 1, 1, 1, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 5, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 9, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 13, 14, 14, 14, 14, 14, 15, 15, 15, 15, 15, 17, 18, 18, 18, 18, 18, 18, 18,...
[ 1, 6, 9, 10, 12, 1, 1, 2, 4, 6, 7, 9, 11, 13, 14, 16, 17, 1, 1, 4, 7, 8, 11, 4, 10, 12, 15, 17, 1, 1, 4, 7, 8, 11, 4, 10, 12, 15, 17, 1, 1, 4, 7, 8, 11, 4, 10, 12, 17, 19, 1, 1, 3, 7, 9, 12, 13, 15, 1...
a491772258a52bdfc93083343d2a2e48a240340d
# -*- coding:utf-8 -*- # Copyright (C) 2020. Huawei Technologies Co., Ltd. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE...
[ 40, 8571, 10633, 63, 3330, 50, 61, 8571, 222, 222, 40, 2657, 327, 72, 46, 244, 55, 53, 55, 53, 51, 32137, 32279, 25823, 5633, 4345, 19534, 51, 3381, 4760, 5225, 51, 222, 40, 222, 40, 4773, 1549, 341, 3954, 1196, 49, 3050, 244, 5...
[ "#", "Ġ-*-", "Ġcoding", ":", "utf", "-", "8", "Ġ-*-", "Ċ", "Ċ", "#", "ĠCopyright", "Ġ(", "C", ")", "Ġ", "2", "0", "2", "0", ".", "ĠHu", "awei", "ĠTechnologies", "ĠCo", ".,", "ĠLtd", ".", "ĠAll", "Ġrights", "Ġreserved", ".", "Ċ", "#", "Ċ", "#", ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6...
[ 1, 2, 6, 13, 14, 17, 18, 19, 23, 1, 1, 2, 12, 14, 15, 16, 17, 18, 19, 20, 21, 22, 25, 29, 42, 45, 47, 51, 52, 56, 63, 72, 73, 1, 2, 1, 2, 11, 17, 21, 28, 36, 37, 45, 46, 47, 48, 49, 51, 54, 56, 63, 66, 1, 2, ...
2b8ca0c8c7878536da4f31652976988cdba62d89
from django.contrib import admin from main_app.models import sites, statuses, redirects # Register your models here. admin.site.register(statuses) admin.site.register(sites) admin.site.register(redirects)
[ 1097, 8532, 51, 12060, 1220, 5611, 222, 1097, 2594, 100, 745, 51, 3404, 1220, 17333, 49, 35831, 49, 41960, 222, 222, 40, 7017, 1390, 4590, 2464, 51, 222, 2317, 51, 2870, 51, 3334, 45, 27623, 46, 222, 2317, 51, 2870, 51, 3334, 45, ...
[ "from", "Ġdjango", ".", "contrib", "Ġimport", "Ġadmin", "Ċ", "from", "Ġmain", "_", "app", ".", "models", "Ġimport", "Ġsites", ",", "Ġstatuses", ",", "Ġredirects", "Ċ", "Ċ", "#", "ĠRegister", "Ġyour", "Ġmodels", "Ġhere", ".", "Ċ", "admin", ".", "site", "....
[ 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7 ]
[ 1, 5, 12, 13, 20, 27, 33, 1, 5, 10, 11, 14, 15, 21, 28, 34, 35, 44, 45, 55, 1, 1, 2, 11, 16, 23, 28, 29, 1, 6, 7, 11, 12, 20, 21, 29, 30, 1, 6, 7, 11, 12, 20, 21, 26, 27, 1, 6, 7, 11, 12, 20, 21, 30, 31 ]
19bb58ab440ca00bf6410a70a8b6bbc24eec96c1
from django.apps import AppConfig class MarketingemailsConfig(AppConfig): name = "marketingemails"
[ 1097, 8532, 51, 7520, 1220, 2013, 1081, 499, 222, 842, 7797, 8845, 28773, 1081, 45, 42728, 731, 303, 655, 299, 332, 41807, 28773, 39, 222 ]
[ "from", "Ġdjango", ".", "apps", "Ġimport", "ĠApp", "Config", "ĊĊ", "Ċ", "class", "ĠMark", "eting", "emails", "Config", "(", "AppConfig", "):", "ĊĠĠĠ", "Ġname", "Ġ=", "Ġ\"", "marketing", "emails", "\"", "Ċ" ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5 ]
[ 1, 5, 12, 13, 17, 24, 28, 34, 1, 1, 6, 11, 16, 22, 28, 29, 38, 40, 4, 9, 11, 13, 22, 28, 29 ]
1614157c57b3d1b30087c42cb840d617dc91eecb
# Bengisu Ayan - 2236974 # Ceren Gürsoy - 2237485 import numpy as np import cv2 B1 = "THE3-Images/B1.jpg" B2 = "THE3-Images/B2.jpg" B3 = "THE3-Images/B3.jpg" B4 = "THE3-Images/B4.jpg" B5 = "THE3-Images/B5.jpg" def segmentation_function(image, name, blue_mask=False, white_mask=False, yellow_mask=False): # Smooth...
[ 40, 570, 838, 316, 122, 418, 14488, 449, 244, 55, 55, 56, 59, 62, 60, 57, 222, 40, 409, 16052, 590, 7258, 780, 126, 449, 244, 55, 55, 56, 60, 57, 61, 58, 222, 222, 485, 6610, 641, 2115, 222, 485, 6781, 55, 222, 222, 71, 54, ...
[ "#", "ĠB", "eng", "is", "u", "ĠA", "yan", "Ġ-", "Ġ", "2", "2", "3", "6", "9", "7", "4", "Ċ", "#", "ĠC", "eren", "ĠG", "ür", "so", "y", "Ġ-", "Ġ", "2", "2", "3", "7", "4", "8", "5", "Ċ", "Ċ", "import", "Ġnumpy", "Ġas", "Ġnp", "Ċ", "impo...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 4, 4, 4, 4, 4, 5, 5, 5, 5, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8...
[ 1, 2, 4, 7, 9, 10, 12, 15, 17, 18, 19, 20, 21, 22, 23, 24, 25, 1, 2, 4, 8, 10, 12, 14, 15, 17, 18, 19, 20, 21, 22, 23, 24, 25, 1, 1, 7, 13, 16, 19, 1, 7, 10, 11, 1, 1, 2, 3, 5, 7, 10, 11, 12, 18, 19, 20, ...
065a566b3e520c14f20d0d7d668ec58404d6e11b
# coding=utf-8 # Copyright 2016 Mystopia. from __future__ import absolute_import, division, generators, nested_scopes, print_function, unicode_literals, with_statement from django.db.models.signals import m2m_changed, post_save from django.dispatch import receiver from dicpick.models import Task, TaskType # The si...
[ 40, 10633, 66, 3330, 50, 61, 222, 40, 2657, 244, 55, 53, 54, 59, 507, 757, 539, 923, 51, 222, 222, 1097, 1176, 9689, 523, 1220, 7984, 100, 485, 49, 20707, 49, 34478, 49, 11825, 100, 25640, 49, 1489, 100, 1144, 49, 15393, 100, 30...
[ "#", "Ġcoding", "=", "utf", "-", "8", "Ċ", "#", "ĠCopyright", "Ġ", "2", "0", "1", "6", "ĠM", "yst", "op", "ia", ".", "Ċ", "Ċ", "from", "Ġ__", "future", "__", "Ġimport", "Ġabsolute", "_", "import", ",", "Ġdivision", ",", "Ġgenerators", ",", "Ġnested...
[ 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6...
[ 1, 2, 9, 10, 13, 14, 15, 1, 2, 12, 13, 14, 15, 16, 17, 19, 22, 24, 26, 27, 1, 1, 5, 8, 14, 16, 23, 32, 33, 39, 40, 49, 50, 61, 62, 69, 70, 76, 77, 83, 84, 92, 93, 101, 102, 110, 111, 116, 117, 126, 1, 1, 5, 12,...
dc88686d3cbb4223b4de6847bf4fc29b93054b00
#! /usr/bin/env python3 import EchooFunctions, cgi, MySQLdb, hashlib, time, requests, os print("Content-type: text/html\n") form = cgi.FieldStorage() # database connection user = "i494f18_team34" db_pass = "my+sql=i494f18_team34" db_con = MySQLdb.connect(host="db.soic.indiana.edu", port=3306, user=user, passwd=db_p...
[ 38359, 536, 3392, 52, 1793, 52, 2141, 4406, 56, 222, 222, 485, 535, 399, 623, 10910, 49, 300, 5140, 49, 15887, 1219, 49, 42575, 49, 1153, 49, 5188, 49, 2355, 222, 222, 1243, 459, 1795, 50, 700, 63, 1367, 52, 935, 97, 115, 678, 2...
[ "#!", "Ġ/", "usr", "/", "bin", "/", "env", "Ġpython", "3", "Ċ", "Ċ", "import", "ĠE", "ch", "oo", "Functions", ",", "Ġc", "gi", ",", "ĠMySQL", "db", ",", "Ġhashlib", ",", "Ġtime", ",", "Ġrequests", ",", "Ġos", "Ċ", "Ċ", "print", "(\"", "Content", ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 9, 9, 9, 9, 10, 10, 10, ...
[ 1, 3, 5, 8, 9, 12, 13, 16, 23, 24, 1, 1, 7, 9, 11, 13, 22, 23, 25, 27, 28, 34, 36, 37, 45, 46, 51, 52, 61, 62, 65, 1, 1, 6, 8, 15, 16, 20, 21, 26, 27, 31, 32, 33, 35, 1, 1, 5, 7, 9, 11, 12, 17, 24, 26, 1, ...
653e65281984ebb06467aeadb6f0e2b11f1bcb4d
#!/usr/bin/python3 def file_to_code(fname): mem = [] for line in open(fname, "r"): mem.extend([int(i) for i in line.split(",")]) return mem class Opcode(object): def __init__(self, mem, ptr, code, inc): """ >>> o = Opcode([1001, 2, 4, 1], 0, 1, 4) >>> o._Opcode__par_m...
[ 8758, 3392, 52, 1793, 52, 2980, 56, 499, 222, 610, 822, 100, 471, 100, 707, 45, 10572, 731, 303, 2366, 299, 1627, 303, 456, 1646, 347, 2177, 45, 10572, 49, 332, 119, 10320, 310, 2366, 51, 8258, 2034, 429, 45, 110, 46, 456, 613, ...
[ "#!/", "usr", "/", "bin", "/", "python", "3", "ĊĊ", "Ċ", "def", "Ġfile", "_", "to", "_", "code", "(", "fname", "):", "ĊĠĠĠ", "Ġmem", "Ġ=", "Ġ[]", "ĊĠĠĠ", "Ġfor", "Ġline", "Ġin", "Ġopen", "(", "fname", ",", "Ġ\"", "r", "\"):", "ĊĠĠĠĠĠĠĠ", "Ġmem", ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 10, 11, 11, 11, 11, 11, 11, 12, ...
[ 1, 4, 7, 8, 11, 12, 18, 19, 1, 1, 4, 9, 10, 12, 13, 17, 18, 23, 25, 4, 8, 10, 13, 4, 8, 13, 16, 21, 22, 27, 28, 30, 31, 34, 8, 12, 13, 19, 21, 24, 25, 26, 27, 31, 33, 36, 41, 42, 47, 52, 54, 4, 11, 15, 1, 1...
8d5b75dc945844d48f52159be08fc1e6aa51fdf5
# Takes in a word and makes a list containing individual characters def split(word): return [char for char in word] # Removes empty strings from a list def removeEmptyStrings(lst): while "" in lst: lst.remove("") ints = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"] tokenList = [] class Token:...
[ 40, 37389, 347, 331, 3619, 480, 7437, 331, 1168, 6663, 10139, 7152, 222, 610, 6168, 45, 1131, 731, 303, 461, 447, 1612, 456, 1370, 347, 3619, 98, 499, 222, 40, 24968, 3517, 5872, 664, 331, 1168, 222, 610, 3365, 2779, 9634, 45, 10015...
[ "#", "ĠTakes", "Ġin", "Ġa", "Ġword", "Ġand", "Ġmakes", "Ġa", "Ġlist", "Ġcontaining", "Ġindividual", "Ġcharacters", "Ċ", "def", "Ġsplit", "(", "word", "):", "ĊĠĠĠ", "Ġreturn", "Ġ[", "char", "Ġfor", "Ġchar", "Ġin", "Ġword", "]", "ĊĊ", "Ċ", "#", "ĠRemoves", ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 11, 12, 12, 12, 12, 12, ...
[ 1, 2, 8, 11, 13, 18, 22, 28, 30, 35, 46, 57, 68, 1, 4, 10, 11, 15, 17, 4, 11, 13, 17, 21, 26, 29, 34, 35, 1, 1, 2, 10, 16, 24, 29, 31, 36, 1, 4, 11, 16, 23, 24, 27, 29, 4, 10, 13, 16, 20, 21, 8, 12, 13, 19, ...
20649decd3ff21b1aa814d0a04180195cac3629b
# loadconc.py - possibly these classes will be added to ajustador/loader.py when ready # -*- coding:utf-8 -*- from __future__ import print_function, division import numpy as np from ajustador import xml, nrd_fitness import glob import os import operator msec_per_sec = 1000 nM_per_uM = 1000 nM_per_mM = 1e6 class tra...
[ 40, 2480, 14855, 51, 997, 449, 19698, 3301, 6052, 1118, 545, 3654, 391, 331, 4524, 6725, 52, 4579, 51, 997, 1429, 8768, 222, 40, 8571, 10633, 63, 3330, 50, 61, 8571, 222, 222, 1097, 1176, 9689, 523, 1220, 1489, 100, 1144, 49, 20707,...
[ "#", "Ġload", "conc", ".", "py", "Ġ-", "Ġpossibly", "Ġthese", "Ġclasses", "Ġwill", "Ġbe", "Ġadded", "Ġto", "Ġa", "just", "ador", "/", "loader", ".", "py", "Ġwhen", "Ġready", "Ċ", "#", "Ġ-*-", "Ġcoding", ":", "utf", "-", "8", "Ġ-*-", "Ċ", "Ċ", "from",...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7...
[ 1, 2, 7, 11, 12, 14, 16, 25, 31, 39, 44, 47, 53, 56, 58, 62, 66, 67, 73, 74, 76, 81, 87, 1, 2, 6, 13, 14, 17, 18, 19, 23, 1, 1, 5, 8, 14, 16, 23, 29, 30, 38, 39, 48, 1, 7, 13, 16, 19, 1, 5, 7, 11, 15, 22, 2...
bb2c684fd5b962c97c033d4b4c2027d52b7371fd
import voldemort import time authorStore = voldemort.StoreClient("authorStore", [{"0", 6666}]) stack = [] components = [] index = 1 # Implementation of the Tarjan algorithm for the detection of strongly connected components. # Function collects all authors in the database and outputs them as strongly connected compo...
[ 485, 3937, 13235, 392, 222, 485, 1153, 222, 222, 2133, 2796, 299, 3937, 13235, 392, 51, 2796, 1503, 459, 2133, 2796, 411, 28288, 53, 411, 244, 59, 59, 59, 59, 130, 1156, 222, 3056, 299, 1627, 222, 3545, 299, 1627, 222, 1076, 299, ...
[ "import", "Ġvol", "dem", "ort", "Ċ", "import", "Ġtime", "Ċ", "Ċ", "author", "Store", "Ġ=", "Ġvol", "dem", "ort", ".", "Store", "Client", "(\"", "author", "Store", "\",", "Ġ[{\"", "0", "\",", "Ġ", "6", "6", "6", "6", "}", "])", "Ċ", "stack", "Ġ=", ...
[ 1, 1, 1, 1, 1, 2, 2, 2, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7, 7, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,...
[ 1, 7, 11, 14, 17, 1, 7, 12, 1, 1, 7, 12, 14, 18, 21, 24, 25, 30, 36, 38, 44, 49, 51, 55, 56, 58, 59, 60, 61, 62, 63, 64, 66, 1, 6, 8, 11, 1, 11, 13, 16, 1, 6, 8, 9, 10, 1, 1, 2, 17, 20, 24, 28, 31, 41, 45, ...
9ab3dd87f17ac75a3831e9ec1f0746ad81fad70d
# Any object containing execute(self) method is considered to be IDE App # this is Duck typing concept class PyCharm: def execute(self): print("pycharm ide runnig") class MyIde: def execute(self): print("MyIde running") class Laptop: def code(self, ide): ide.execute() ide = M...
[ 40, 6213, 1319, 6663, 5755, 45, 803, 46, 1431, 458, 11901, 391, 545, 16299, 2013, 222, 40, 477, 458, 493, 7206, 12018, 10271, 499, 222, 842, 4374, 2674, 114, 63, 303, 684, 5755, 45, 803, 731, 310, 1489, 459, 997, 39289, 6128, 1441, ...
[ "#", "ĠAny", "Ġobject", "Ġcontaining", "Ġexecute", "(", "self", ")", "Ġmethod", "Ġis", "Ġconsidered", "Ġto", "Ġbe", "ĠIDE", "ĠApp", "Ċ", "#", "Ġthis", "Ġis", "ĠD", "uck", "Ġtyping", "Ġconcept", "ĊĊ", "Ċ", "class", "ĠPy", "Char", "m", ":", "ĊĠĠĠ", "Ġdef",...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 4, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 9, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 12, 12, ...
[ 1, 2, 6, 13, 24, 32, 33, 37, 38, 45, 48, 59, 62, 65, 69, 73, 1, 2, 7, 10, 12, 15, 22, 30, 1, 1, 6, 9, 13, 14, 15, 4, 8, 16, 17, 21, 23, 8, 14, 16, 18, 23, 27, 31, 32, 34, 36, 1, 1, 6, 9, 12, 13, 4, 8, 16, ...
6d61df9ac072100d01a1ce3cf7b4c056f66a163c
import pygame import sys import time import random from snake_gym.envs.modules import * from pygame.locals import * import numpy as np class SnakeGame(object): def __init__(self): self.screen = pygame.display.set_mode((SCREEN_WIDTH, SCREEN_HEIGHT), 0, 32) self.surface = pygame.Surface(self.screen....
[ 485, 23967, 222, 485, 5263, 222, 485, 1153, 222, 485, 4051, 222, 1097, 34784, 100, 46334, 51, 16450, 51, 3490, 1220, 338, 222, 1097, 23967, 51, 22427, 1220, 338, 222, 485, 6610, 641, 2115, 499, 222, 842, 16569, 1082, 3783, 45, 1491, ...
[ "import", "Ġpygame", "Ċ", "import", "Ġsys", "Ċ", "import", "Ġtime", "Ċ", "import", "Ġrandom", "Ċ", "from", "Ġsnake", "_", "gym", ".", "envs", ".", "modules", "Ġimport", "Ġ*", "Ċ", "from", "Ġpygame", ".", "locals", "Ġimport", "Ġ*", "Ċ", "import", "Ġnumpy"...
[ 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 9, 10, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 12, 12, 12, ...
[ 1, 7, 14, 1, 7, 11, 1, 7, 12, 1, 7, 14, 1, 5, 11, 12, 15, 16, 20, 21, 28, 35, 37, 1, 5, 12, 13, 19, 26, 28, 1, 7, 13, 16, 19, 1, 1, 6, 9, 12, 16, 17, 23, 25, 4, 8, 11, 15, 18, 22, 24, 8, 13, 14, 20, 22, 2...
d69bffb85d81ab3969bfe7dfe2759fa809890208
# Generated by Django 3.1.1 on 2020-10-07 04:04 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("articals", "0001_initial"), ] operations = [ migrations.AddField( model_name="artical", name="thumb", fie...
[ 40, 13046, 829, 18288, 244, 56, 51, 54, 51, 54, 563, 244, 55, 53, 55, 53, 50, 54, 53, 50, 53, 60, 244, 53, 57, 63, 53, 57, 222, 222, 1097, 8532, 51, 1219, 1220, 12520, 49, 4590, 499, 222, 842, 18572, 45, 19772, 51, 12071, 73...
[ "#", "ĠGenerated", "Ġby", "ĠDjango", "Ġ", "3", ".", "1", ".", "1", "Ġon", "Ġ", "2", "0", "2", "0", "-", "1", "0", "-", "0", "7", "Ġ", "0", "4", ":", "0", "4", "Ċ", "Ċ", "from", "Ġdjango", ".", "db", "Ġimport", "Ġmigrations", ",", "Ġmodels", ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8...
[ 1, 2, 12, 15, 22, 23, 24, 25, 26, 27, 28, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 1, 1, 5, 12, 13, 15, 22, 33, 34, 41, 1, 1, 6, 16, 17, 27, 28, 37, 39, 4, 17, 19, 21, 8, 11, 14...
2ff85ac059f160fcc6b39b4298e8216cbad77ab3
import http.server import socketserver from http.server import BaseHTTPRequestHandler, HTTPServer import time import json import io import urllib import requests from lib.Emby_ws import xnoppo_ws from lib.Emby_http import * from lib.Xnoppo import * from lib.Xnoppo_TV import * import lib.Xnoppo_AVR import shutil import ...
[ 485, 1930, 51, 1805, 222, 485, 6241, 1805, 222, 1097, 1930, 51, 1805, 1220, 3787, 5078, 29911, 49, 4818, 2077, 222, 485, 1153, 222, 485, 2379, 222, 485, 3377, 222, 485, 22296, 222, 485, 5188, 222, 1097, 5053, 51, 12306, 1186, 100, 3...
[ "import", "Ġhttp", ".", "server", "Ċ", "import", "Ġsocket", "server", "Ċ", "from", "Ġhttp", ".", "server", "Ġimport", "ĠBase", "HTTP", "RequestHandler", ",", "ĠHTTP", "Server", "Ċ", "import", "Ġtime", "Ċ", "import", "Ġjson", "Ċ", "import", "Ġio", "Ċ", "imp...
[ 1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, ...
[ 1, 7, 12, 13, 19, 1, 7, 14, 20, 1, 5, 10, 11, 17, 24, 29, 33, 47, 48, 53, 59, 1, 7, 12, 1, 7, 12, 1, 7, 10, 1, 7, 14, 1, 7, 16, 1, 5, 9, 10, 12, 14, 15, 17, 24, 26, 29, 31, 32, 34, 1, 5, 9, 10, 12, 14, 15...
5dc8f420e16ee14ecfdc61413f10a783e819ec32
import sys def is_huge(A, B): return (A[0] > B[0]) and (A[1] > B[1]) if __name__ == "__main__": bulks = [] num = int(sys.stdin.readline()) for i in range(num): bulks.append(list(map(int, sys.stdin.readline().split()))) for i in range(len(bulks)): count = 0 for j in range...
[ 485, 5263, 499, 222, 610, 458, 100, 46463, 45, 70, 49, 570, 731, 303, 461, 327, 70, 96, 53, 98, 868, 570, 96, 53, 1156, 480, 327, 70, 96, 54, 98, 868, 570, 96, 54, 1156, 499, 222, 344, 1176, 444, 523, 630, 9609, 1850, 18021, ...
[ "import", "Ġsys", "ĊĊ", "Ċ", "def", "Ġis", "_", "huge", "(", "A", ",", "ĠB", "):", "ĊĠĠĠ", "Ġreturn", "Ġ(", "A", "[", "0", "]", "Ġ>", "ĠB", "[", "0", "])", "Ġand", "Ġ(", "A", "[", "1", "]", "Ġ>", "ĠB", "[", "1", "])", "ĊĊ", "Ċ", "if", "Ġ_...
[ 1, 1, 1, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10...
[ 1, 7, 11, 1, 1, 4, 7, 8, 12, 13, 14, 15, 17, 19, 4, 11, 13, 14, 15, 16, 17, 19, 21, 22, 23, 25, 29, 31, 32, 33, 34, 35, 37, 39, 40, 41, 43, 1, 1, 3, 6, 10, 12, 15, 19, 23, 27, 4, 8, 10, 12, 15, 4, 8, 10, 14...
d6a677ed537f6493bb43bd893f3096dc058e27da
# -*- coding: utf-8 -*- # # Copyright 2019 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
[ 40, 8571, 10633, 63, 6471, 50, 61, 8571, 607, 222, 40, 2657, 244, 55, 53, 54, 62, 6608, 21000, 51, 3381, 12902, 11921, 51, 222, 40, 222, 40, 4773, 1549, 341, 3954, 1196, 49, 3050, 244, 55, 51, 53, 327, 1402, 332, 3801, 742, 222,...
[ "#", "Ġ-*-", "Ġcoding", ":", "Ġutf", "-", "8", "Ġ-*-", "Ġ#", "Ċ", "#", "ĠCopyright", "Ġ", "2", "0", "1", "9", "ĠGoogle", "ĠLLC", ".", "ĠAll", "ĠRights", "ĠReserved", ".", "Ċ", "#", "Ċ", "#", "ĠLicensed", "Ġunder", "Ġthe", "ĠApache", "ĠLicense", ",", ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6...
[ 1, 2, 6, 13, 14, 18, 19, 20, 24, 26, 1, 2, 12, 13, 14, 15, 16, 17, 24, 28, 29, 33, 40, 49, 50, 1, 2, 1, 2, 11, 17, 21, 28, 36, 37, 45, 46, 47, 48, 49, 51, 54, 56, 63, 66, 1, 2, 6, 10, 14, 18, 23, 28, 35, 38, ...
e6acc7b022001d8419095ad6364a6ae9504ec7aa
from __future__ import annotations from functools import cache class Solution: def countArrangement(self, n: int) -> int: cache = {} def helper(perm): digits = len(perm) if digits == 1: return 1 if perm in cache: return cache[per...
[ 1097, 1176, 9689, 523, 1220, 14711, 222, 1097, 35383, 1220, 3337, 499, 222, 842, 12219, 63, 303, 684, 2409, 38774, 488, 45, 803, 49, 329, 63, 648, 46, 984, 648, 63, 310, 3337, 299, 2172, 603, 684, 9348, 45, 13178, 731, 343, 16198, ...
[ "from", "Ġ__", "future", "__", "Ġimport", "Ġannotations", "Ċ", "from", "Ġfunctools", "Ġimport", "Ġcache", "ĊĊ", "Ċ", "class", "ĠSolution", ":", "ĊĠĠĠ", "Ġdef", "Ġcount", "Arrange", "ment", "(", "self", ",", "Ġn", ":", "Ġint", ")", "Ġ->", "Ġint", ":", "ĊĠ...
[ 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 4, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 12, 12, 12, 12, ...
[ 1, 5, 8, 14, 16, 23, 35, 1, 5, 15, 22, 28, 1, 1, 6, 15, 16, 4, 8, 14, 21, 25, 26, 30, 31, 33, 34, 38, 39, 42, 46, 47, 8, 14, 16, 19, 8, 12, 19, 20, 24, 26, 12, 19, 21, 25, 26, 30, 31, 12, 15, 22, 25, 26, 27, ...
fd5fca0e9abbb669ddff4d676147acc4344cdd1c
from django import forms class RemoveProdutoDoCarrinhoForm(forms.Form): class Meta: fields = "produto_id" produto_id = forms.CharField(widget=forms.HiddenInput()) class QuantidadeForm(forms.Form): class Meta: fields = ("quantidade", "produto_id") # <input type="hidden" name="produt...
[ 1097, 8532, 1220, 10556, 499, 222, 842, 6491, 45896, 2573, 72, 865, 285, 3493, 1260, 45, 8543, 51, 1260, 731, 303, 462, 11990, 63, 310, 3844, 299, 332, 48949, 100, 333, 39, 465, 18326, 1318, 100, 333, 299, 10556, 51, 16347, 45, 3872...
[ "from", "Ġdjango", "Ġimport", "Ġforms", "ĊĊ", "Ċ", "class", "ĠRemove", "Produto", "Do", "C", "arr", "in", "ho", "Form", "(", "forms", ".", "Form", "):", "ĊĠĠĠ", "Ġclass", "ĠMeta", ":", "ĊĠĠĠĠĠĠĠ", "Ġfields", "Ġ=", "Ġ\"", "produto", "_", "id", "\"", "ĊĊ...
[ 1, 1, 1, 1, 1, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, ...
[ 1, 5, 12, 19, 25, 1, 1, 6, 13, 20, 22, 23, 26, 28, 30, 34, 35, 40, 41, 45, 47, 4, 10, 15, 16, 8, 15, 17, 19, 26, 27, 29, 30, 4, 9, 12, 13, 15, 17, 23, 24, 33, 34, 40, 41, 46, 47, 53, 58, 61, 1, 1, 6, 12, 17, ...
d654aea3da3e36ccde8a5f4e03798a0dea5aad8a
import pandas as pd import pyranges as pr import numpy as np import sys import logging from methplotlib.utils import file_sniffer import pysam class Methylation(object): def __init__(self, table, data_type, name, called_sites): self.table = table self.data_type = data_type self.name = name...
[ 485, 13247, 641, 6451, 222, 485, 3643, 20009, 641, 1173, 222, 485, 6610, 641, 2115, 222, 485, 5263, 222, 485, 5751, 222, 1097, 41850, 10727, 51, 2324, 1220, 822, 100, 4654, 10282, 222, 485, 317, 1291, 424, 499, 222, 842, 3130, 23458, ...
[ "import", "Ġpandas", "Ġas", "Ġpd", "Ċ", "import", "Ġpy", "ranges", "Ġas", "Ġpr", "Ċ", "import", "Ġnumpy", "Ġas", "Ġnp", "Ċ", "import", "Ġsys", "Ċ", "import", "Ġlogging", "Ċ", "from", "Ġmeth", "plotlib", ".", "utils", "Ġimport", "Ġfile", "_", "sn", "iffer...
[ 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 9, 10, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 1...
[ 1, 7, 14, 17, 20, 1, 7, 10, 16, 19, 22, 1, 7, 13, 16, 19, 1, 7, 11, 1, 7, 15, 1, 5, 10, 17, 18, 23, 30, 35, 36, 38, 43, 1, 7, 9, 11, 13, 1, 1, 6, 9, 12, 18, 19, 25, 27, 4, 8, 11, 15, 18, 22, 23, 29, 30, 3...
6ee36994f63d64e35c4e76f65e9c4f09797a161e
class Node: def __init__(self, info): self.info = info self.left = None self.right = None self.level = None def __str__(self): return str(self.info) class BinarySearchTree: def __init__(self): self.root = None def create(self, val): if self.roo...
[ 842, 4021, 63, 303, 684, 1176, 1683, 3232, 803, 49, 3116, 731, 310, 649, 51, 1357, 299, 3116, 310, 649, 51, 1892, 299, 1686, 310, 649, 51, 1009, 299, 1686, 310, 649, 51, 2675, 299, 1686, 465, 684, 1176, 484, 3232, 803, 731, 310, ...
[ "class", "ĠNode", ":", "ĊĠĠĠ", "Ġdef", "Ġ__", "init", "__(", "self", ",", "Ġinfo", "):", "ĊĠĠĠĠĠĠĠ", "Ġself", ".", "info", "Ġ=", "Ġinfo", "ĊĠĠĠĠĠĠĠ", "Ġself", ".", "left", "Ġ=", "ĠNone", "ĊĠĠĠĠĠĠĠ", "Ġself", ".", "right", "Ġ=", "ĠNone", "ĊĠĠĠĠĠĠĠ", "Ġsel...
[ 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 11, 12, 12, 12, 12, 12, 12, 13, 13, 13...
[ 1, 6, 11, 12, 4, 8, 11, 15, 18, 22, 23, 28, 30, 8, 13, 14, 18, 20, 25, 8, 13, 14, 18, 20, 25, 8, 13, 14, 19, 21, 26, 8, 13, 14, 19, 21, 26, 4, 8, 11, 14, 17, 21, 23, 8, 15, 19, 20, 24, 25, 29, 30, 1, 1, 6, ...
207b6e56b683c0b069c531a4c6076c2822814390
file = open("yo.txt", "wr") file.write("Yo")
[ 781, 299, 2177, 459, 11404, 51, 2787, 411, 332, 7024, 678, 222, 222, 781, 51, 1838, 459, 26482, 678, 222 ]
[ "file", "Ġ=", "Ġopen", "(\"", "yo", ".", "txt", "\",", "Ġ\"", "wr", "\")", "Ċ", "Ċ", "file", ".", "write", "(\"", "Yo", "\")", "Ċ" ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 3, 3, 3, 3, 3, 3 ]
[ 1, 5, 7, 12, 14, 16, 17, 20, 22, 24, 26, 28, 1, 1, 5, 6, 11, 13, 15, 17 ]
e6af221f1d6397d0fc52671cdd27d43549d0aecb
__author__ = "jjpr" import pyrr import barleycorn as bc def test_xyz123(): cone_x = bc.primitives.Cone(1.0, 1.0)
[ 523, 2133, 523, 299, 332, 15515, 796, 39, 222, 222, 485, 3643, 609, 222, 485, 5710, 8345, 48400, 641, 17740, 499, 222, 610, 913, 100, 11482, 54, 55, 56, 2284, 303, 476, 106, 100, 125, 299, 17740, 51, 31101, 51, 628, 106, 45, 54, ...
[ "__", "author", "__", "Ġ=", "Ġ\"", "jj", "pr", "\"", "Ċ", "Ċ", "import", "Ġpy", "rr", "Ċ", "import", "Ġbar", "ley", "corn", "Ġas", "Ġbc", "ĊĊ", "Ċ", "def", "Ġtest", "_", "xyz", "1", "2", "3", "():", "ĊĠĠĠ", "Ġcon", "e", "_", "x", "Ġ=", "Ġbc", ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8 ]
[ 1, 3, 9, 11, 13, 15, 17, 19, 20, 1, 1, 7, 10, 12, 1, 7, 11, 14, 18, 21, 24, 1, 1, 4, 9, 10, 13, 14, 15, 16, 19, 4, 8, 9, 10, 11, 13, 16, 17, 27, 28, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42 ]
ce75c23c6b0862dde797225f53c900b4ebc56428
from bbdd import * def usuario(): global usser usser = input("Introduce un usuario : ") if len(usser) < 5 or len(usser) > 15: print("El usuario debe tener entre 5 y 15 caracteres") usuario() elif usser.isalnum() == False: print("Los valores del usurio deben ser únicamente letra...
[ 1097, 18560, 601, 1220, 338, 499, 222, 610, 17830, 2284, 303, 3671, 1790, 528, 303, 1790, 528, 299, 1533, 459, 16038, 4092, 725, 17830, 518, 7816, 303, 434, 2095, 45, 371, 528, 46, 350, 244, 58, 575, 2095, 45, 371, 528, 46, 868, 2...
[ "from", "Ġbb", "dd", "Ġimport", "Ġ*", "ĊĊ", "Ċ", "def", "Ġusuario", "():", "ĊĠĠĠ", "Ġglobal", "Ġus", "ser", "ĊĠĠĠ", "Ġus", "ser", "Ġ=", "Ġinput", "(\"", "Intro", "duce", "Ġun", "Ġusuario", "Ġ:", "Ġ\")", "ĊĠĠĠ", "Ġif", "Ġlen", "(", "us", "ser", ")", "...
[ 1, 1, 1, 1, 1, 1, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8...
[ 1, 5, 8, 10, 17, 19, 1, 1, 4, 12, 15, 4, 11, 14, 17, 4, 7, 10, 12, 18, 20, 25, 29, 32, 40, 42, 45, 4, 7, 11, 12, 14, 17, 18, 20, 21, 22, 25, 29, 30, 32, 35, 36, 38, 39, 40, 41, 42, 8, 14, 16, 18, 26, 31, 37, ...
345967e2aeafda6ce30cbbbbacf976c97b17def7
myDict = {"Friends": ["AP", "Soham", "Baba"], "Likes": ["Math", "Programming"], "languages": ["C++", "Python", "Java"]} myInt = 123 myFloat = 12.3333 myName = "Somesh Thakur"
[ 1791, 7205, 299, 3479, 32272, 582, 3059, 1910, 411, 332, 4185, 11809, 411, 332, 71, 11635, 3461, 332, 27703, 326, 582, 3059, 5728, 411, 332, 23538, 3461, 332, 11870, 582, 3059, 72, 1065, 411, 332, 8378, 411, 332, 5445, 35049, 222, 179...
[ "my", "Dict", "Ġ=", "Ġ{\"", "Friends", "\":", "Ġ[\"", "AP", "\",", "Ġ\"", "So", "ham", "\",", "Ġ\"", "B", "aba", "\"],", "Ġ\"", "Lik", "es", "\":", "Ġ[\"", "Math", "\",", "Ġ\"", "Programming", "\"],", "Ġ\"", "languages", "\":", "Ġ[\"", "C", "++", "\"...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4...
[ 1, 3, 7, 9, 12, 19, 21, 24, 26, 28, 30, 32, 35, 37, 39, 40, 43, 46, 48, 51, 53, 55, 58, 62, 64, 66, 77, 80, 82, 91, 93, 96, 97, 99, 101, 103, 109, 111, 113, 117, 120, 1, 3, 6, 8, 9, 10, 11, 12, 1, 3, 8, 10, 11,...
f70f66926b9e2bf8b387d481263493d7f4c65397
""" " articulo cliente venta ventadet """ class Articulo: def __init__(self, cod, des, pre, stoc): self.codigo = cod self.descripcion = des self.precio = pre self.stock = stoc class ventaDetalle: def __init__(self, pro, pre, cant): self.producto = pro self.pre...
[ 3012, 332, 222, 521, 20172, 222, 21274, 222, 18085, 222, 672, 1546, 121, 222, 3012, 499, 222, 842, 9134, 20172, 63, 303, 684, 1176, 1683, 3232, 803, 49, 7075, 49, 3993, 49, 1426, 49, 395, 561, 731, 310, 649, 51, 25782, 299, 7075, ...
[ "\"\"\"", "Ġ\"", "Ċ", "art", "iculo", "Ċ", "cliente", "Ċ", "venta", "Ċ", "vent", "ade", "t", "Ċ", "\"\"\"", "ĊĊ", "Ċ", "class", "ĠArt", "iculo", ":", "ĊĠĠĠ", "Ġdef", "Ġ__", "init", "__(", "self", ",", "Ġcod", ",", "Ġdes", ",", "Ġpre", ",", "Ġst", ...
[ 1, 1, 1, 2, 2, 2, 3, 3, 4, 4, 5, 5, 5, 5, 6, 6, 8, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 14...
[ 1, 4, 6, 1, 4, 9, 1, 8, 1, 6, 1, 5, 8, 9, 1, 4, 1, 1, 6, 10, 15, 16, 4, 8, 11, 15, 18, 22, 23, 27, 28, 32, 33, 37, 38, 41, 43, 45, 8, 13, 14, 20, 22, 26, 8, 13, 14, 25, 27, 31, 8, 13, 14, 20, 22, 26, 8, ...
b8fcd8e6dce8d210576bc4166dd258e5fd51278d
""" This module contains the logic to resolve the head-tail orientation of a predicted video time series. """ import logging import numpy as np import numpy.ma as ma from wormpose.pose.distance_metrics import angle_distance, skeleton_distance from wormpose.pose.results_datatypes import ( BaseResults, Shuffle...
[ 3012, 222, 2287, 2313, 4326, 341, 8143, 391, 5895, 341, 5783, 50, 9836, 14111, 451, 331, 23762, 6044, 1153, 9523, 51, 222, 3012, 222, 222, 485, 5751, 222, 222, 485, 6610, 641, 2115, 222, 485, 6610, 51, 954, 641, 13016, 222, 222, 109...
[ "\"\"\"", "Ċ", "This", "Ġmodule", "Ġcontains", "Ġthe", "Ġlogic", "Ġto", "Ġresolve", "Ġthe", "Ġhead", "-", "tail", "Ġorientation", "Ġof", "Ġa", "Ġpredicted", "Ġvideo", "Ġtime", "Ġseries", ".", "Ċ", "\"\"\"", "Ċ", "Ċ", "import", "Ġlogging", "Ċ", "Ċ", "import",...
[ 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 4, 5, 5, 5, 6, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, ...
[ 1, 4, 1, 5, 12, 21, 25, 31, 34, 42, 46, 51, 52, 56, 68, 71, 73, 83, 89, 94, 101, 102, 1, 4, 1, 1, 7, 15, 1, 1, 7, 13, 16, 19, 1, 7, 13, 14, 16, 19, 22, 1, 1, 5, 9, 11, 14, 15, 19, 20, 28, 29, 36, 43, 49, 50...
ec90c731a0e546d9d399cbb68c92be1acca8cbe0
from package import * class mysql(MakePackage): dependencies = ["cmake"] fetch = "http://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.10.tar.gz/from/http://cdn.mysql.com/" config = 'cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=%(prefix)s -DWITH_READLINE=1'
[ 1097, 2670, 1220, 338, 499, 222, 842, 13062, 45, 6685, 4057, 731, 303, 6450, 299, 3059, 14130, 1465, 303, 5644, 299, 332, 544, 574, 1920, 51, 7546, 51, 527, 52, 390, 52, 27467, 52, 14685, 50, 58, 51, 59, 52, 7546, 50, 58, 51, 59...
[ "from", "Ġpackage", "Ġimport", "Ġ*", "ĊĊ", "Ċ", "class", "Ġmysql", "(", "Make", "Package", "):", "ĊĠĠĠ", "Ġdependencies", "Ġ=", "Ġ[\"", "cmake", "\"]", "ĊĠĠĠ", "Ġfetch", "Ġ=", "Ġ\"", "http", "://", "dev", ".", "mysql", ".", "com", "/", "get", "/", "Dow...
[ 1, 1, 1, 1, 1, 3, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6...
[ 1, 5, 13, 20, 22, 1, 1, 6, 12, 13, 17, 24, 26, 4, 17, 19, 22, 27, 29, 4, 10, 12, 14, 18, 21, 24, 25, 30, 31, 34, 35, 38, 39, 48, 49, 54, 55, 56, 57, 58, 59, 64, 65, 66, 67, 68, 69, 70, 71, 72, 75, 76, 78, 79, ...
372d8c8cb9ec8f579db8588aff7799c73c5af255
#!/home/nick/.virtualenvs/twitterbots/bin/python3.5 # -*- coding: utf-8 -*- import tweepy import sqlite3 from configparser import ConfigParser """ A little OOP would be good later for authenticated user data, c, conn, api """ def main(): Collector.collect() class Collector: # Main function def collec...
[ 8758, 2849, 52, 14987, 4735, 5010, 16450, 52, 7643, 38289, 52, 1793, 52, 2980, 56, 51, 58, 222, 40, 8571, 10633, 63, 6471, 50, 61, 8571, 222, 222, 485, 292, 16817, 126, 222, 485, 17743, 56, 222, 222, 1097, 1377, 3936, 1220, 3395, ...
[ "#!/", "home", "/", "nick", "/.", "virtual", "envs", "/", "twitter", "bots", "/", "bin", "/", "python", "3", ".", "5", "Ċ", "#", "Ġ-*-", "Ġcoding", ":", "Ġutf", "-", "8", "Ġ-*-", "Ċ", "Ċ", "import", "Ġt", "weep", "y", "Ċ", "import", "Ġsqlite", "3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 4, 4, 4, 4, 4, 5, 5, 5, 5, 6, 7, 7, 7, 7, 7, 7, 7, 8, 9, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, ...
[ 1, 4, 8, 9, 13, 15, 22, 26, 27, 34, 38, 39, 42, 43, 49, 50, 51, 52, 1, 2, 6, 13, 14, 18, 19, 20, 24, 1, 1, 7, 9, 13, 14, 1, 7, 14, 15, 1, 1, 5, 12, 18, 25, 32, 38, 1, 1, 4, 1, 2, 9, 11, 13, 19, 22, 27, 33...
8dfef0a4525328be8dfb4723f0a168dc22eb5eb2
#!/usr/bin/env python """ This is a Cog used to display processes/ programs running on the client to a discord text channel Commented using reStructuredText (reST) ToDo create and use a database for multiple servers """ # Futures # Built-in/Generic Imports import os import sys import configparser import shutil ...
[ 8758, 3392, 52, 1793, 52, 2141, 4406, 222, 222, 3012, 222, 2287, 458, 331, 409, 835, 1674, 391, 2540, 13209, 52, 18359, 3991, 563, 341, 2060, 391, 331, 20779, 1367, 3842, 222, 222, 6327, 337, 1493, 334, 30741, 1049, 327, 287, 654, 4...
[ "#!/", "usr", "/", "bin", "/", "env", "Ġpython", "Ċ", "Ċ", "\"\"\"", "Ċ", "This", "Ġis", "Ġa", "ĠC", "og", "Ġused", "Ġto", "Ġdisplay", "Ġprocesses", "/", "Ġprograms", "Ġrunning", "Ġon", "Ġthe", "Ġclient", "Ġto", "Ġa", "Ġdiscord", "Ġtext", "Ġchannel", "Ċ"...
[ 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, 11, 11, 11, 11, ...
[ 1, 4, 7, 8, 11, 12, 15, 22, 1, 1, 4, 1, 5, 8, 10, 12, 14, 19, 22, 30, 40, 41, 50, 58, 61, 65, 72, 75, 77, 85, 90, 98, 1, 1, 8, 10, 16, 19, 29, 33, 35, 37, 39, 40, 1, 1, 5, 4, 11, 15, 19, 21, 30, 34, 43, 51,...
9c09309d23510aee4409a6d9021c2991afd2d349
################################################################################ # # titleStrip.py # # Generates an output file with the titles of the input stripped # Usage: # python titleStrip.py [input filename] [output filename] # ################################################################################ imp...
[ 31362, 222, 40, 222, 40, 1799, 7046, 51, 997, 222, 40, 222, 40, 32476, 619, 1716, 822, 642, 341, 28120, 451, 341, 1533, 42738, 222, 40, 10495, 63, 222, 40, 4406, 1799, 7046, 51, 997, 447, 1151, 4891, 98, 447, 2051, 4891, 98, 222, ...
[ "################################################################################", "Ċ", "#", "Ċ", "#", "Ġtitle", "Strip", ".", "py", "Ċ", "#", "Ċ", "#", "ĠGenerates", "Ġan", "Ġoutput", "Ġfile", "Ġwith", "Ġthe", "Ġtitles", "Ġof", "Ġthe", "Ġinput", "Ġstripped", "Ċ", ...
[ 1, 1, 2, 2, 3, 3, 3, 3, 3, 3, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 9, 9, 10, 11, 11, 11, 11, 11, 12, 13, 13, 13, 13, 13, 14, ...
[ 1, 81, 1, 2, 1, 2, 8, 13, 14, 16, 1, 2, 1, 2, 12, 15, 22, 27, 32, 36, 43, 46, 50, 56, 65, 1, 2, 8, 9, 1, 2, 9, 15, 20, 21, 23, 25, 30, 39, 40, 42, 48, 57, 58, 1, 2, 1, 81, 1, 1, 7, 10, 11, 15, 1, 1, 2, ...
8f3abc5beaded94b6d7b93ac2cfcd12145d75fe8
class Meta(type): def __new__(meta, name, bases, class_dict): print(f"* Running {meta}.__new__ for {name}") print("Bases:", bases) print(class_dict) return type.__new__(meta, name, bases, class_dict) class MyClass(metaclass=Meta): stuff = 123 def foo(self): pass ...
[ 842, 11990, 45, 700, 731, 303, 684, 1176, 909, 3232, 2874, 49, 655, 49, 26425, 49, 462, 100, 2734, 731, 310, 1489, 45, 107, 41701, 13794, 320, 2874, 130, 3688, 909, 523, 456, 320, 444, 8531, 310, 1489, 459, 48242, 9398, 26425, 46, ...
[ "class", "ĠMeta", "(", "type", "):", "ĊĠĠĠ", "Ġdef", "Ġ__", "new", "__(", "meta", ",", "Ġname", ",", "Ġbases", ",", "Ġclass", "_", "dict", "):", "ĊĠĠĠĠĠĠĠ", "Ġprint", "(", "f", "\"*", "ĠRunning", "Ġ{", "meta", "}", ".__", "new", "__", "Ġfor", "Ġ{", ...
[ 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6...
[ 1, 6, 11, 12, 16, 18, 4, 8, 11, 14, 17, 21, 22, 27, 28, 34, 35, 41, 42, 46, 48, 8, 14, 15, 16, 18, 26, 28, 32, 33, 36, 39, 41, 45, 47, 51, 54, 8, 14, 16, 21, 24, 30, 31, 8, 14, 15, 20, 21, 25, 26, 8, 15, 20, ...
6801d68ebcc6ff52d9be92efeeb8727997a14bbd
#!/usr/bin/env python import json import requests from requests.auth import HTTPBasicAuth if __name__ == "__main__": auth = HTTPBasicAuth("cisco", "cisco") headers = {"Accept": "application/json", "Content-Type": "application/json"} url = "https://asav/api/interfaces/physical/GigabitEthernet0_API_SLASH_0...
[ 8758, 3392, 52, 1793, 52, 2141, 4406, 222, 222, 485, 2379, 222, 485, 5188, 222, 1097, 5188, 51, 2408, 1220, 4818, 7114, 2693, 222, 222, 344, 1176, 444, 523, 630, 9609, 1850, 18021, 303, 3813, 299, 4818, 7114, 2693, 459, 42718, 411, ...
[ "#!/", "usr", "/", "bin", "/", "env", "Ġpython", "Ċ", "Ċ", "import", "Ġjson", "Ċ", "import", "Ġrequests", "Ċ", "from", "Ġrequests", ".", "auth", "Ġimport", "ĠHTTP", "Basic", "Auth", "Ċ", "Ċ", "if", "Ġ__", "name", "__", "Ġ==", "Ġ\"__", "main", "__\":", ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9...
[ 1, 4, 7, 8, 11, 12, 15, 22, 1, 1, 7, 12, 1, 7, 16, 1, 5, 14, 15, 19, 26, 31, 36, 40, 1, 1, 3, 6, 10, 12, 15, 19, 23, 27, 4, 9, 11, 16, 21, 25, 27, 32, 34, 36, 41, 43, 4, 12, 14, 17, 23, 25, 27, 38, 39, 43, ...
6e3bb17696953256af6d8194128427acebf1daac
from random import randint, shuffle class Generator: opset = ["+", "-", "*", "/", "²", "√", "sin", "cos", "tan"] @staticmethod def generate(level): """ 根据 level 生成指定等级的算术题 0:小学;1:初中;2:高中 """ """ 生成操作数序列以及二元运算符序列 """ length = randint(0 if le...
[ 1097, 4051, 1220, 10510, 429, 49, 20932, 499, 222, 842, 15419, 63, 303, 3107, 489, 299, 3059, 32681, 32762, 41988, 31849, 332, 42496, 411, 332, 21022, 272, 411, 332, 7137, 411, 332, 4984, 411, 332, 21977, 1465, 465, 496, 16130, 303, 6...
[ "from", "Ġrandom", "Ġimport", "Ġrand", "int", ",", "Ġshuffle", "ĊĊ", "Ċ", "class", "ĠGenerator", ":", "ĊĠĠĠ", "Ġop", "set", "Ġ=", "Ġ[\"", "+\",", "Ġ\"-\",", "Ġ\"*\",", "Ġ\"/\",", "Ġ\"", "²", "\",", "Ġ\"", "âĪ", "ļ", "\",", "Ġ\"", "sin", "\",", "Ġ\"", ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 7, 7, 7, 8, 8, 8, 8, 8, 8, 9, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, ...
[ 1, 5, 12, 19, 24, 27, 28, 36, 1, 1, 6, 16, 17, 4, 7, 10, 12, 15, 18, 23, 28, 33, 35, 36, 38, 40, 40, 41, 43, 45, 48, 50, 52, 55, 57, 59, 62, 64, 4, 6, 18, 4, 8, 17, 18, 23, 25, 8, 12, 8, 11, 17, 20, 22, 23, ...
83117000f5f34490cb14580a9867b1e871ccc2ae
from services.BureauActif.libbureauactif.db.Base import db, BaseModel class BureauActifCalendarDataType(db.Model, BaseModel): __tablename__ = "ba_calendar_data_type" id_calendar_data_type = db.Column( db.Integer, db.Sequence("id_calendar_data_type_sequence"), primary_key=True, autoincrement=True )...
[ 1097, 6694, 51, 71, 532, 4474, 1845, 344, 51, 1379, 103, 532, 4474, 555, 344, 51, 1219, 51, 1778, 1220, 3100, 49, 3787, 1262, 499, 222, 842, 570, 532, 4474, 1845, 344, 9391, 9894, 45, 1219, 51, 1262, 49, 3787, 1262, 731, 303, 1176...
[ "from", "Ġservices", ".", "B", "ure", "au", "Act", "if", ".", "lib", "b", "ure", "au", "act", "if", ".", "db", ".", "Base", "Ġimport", "Ġdb", ",", "ĠBase", "Model", "ĊĊ", "Ċ", "class", "ĠB", "ure", "au", "Act", "if", "Calendar", "DataType", "(", ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6...
[ 1, 5, 14, 15, 16, 19, 21, 24, 26, 27, 30, 31, 34, 36, 39, 41, 42, 44, 45, 49, 56, 59, 60, 65, 70, 1, 1, 6, 8, 11, 13, 16, 18, 26, 34, 35, 37, 38, 43, 44, 49, 54, 56, 4, 7, 16, 18, 20, 22, 24, 25, 33, 34, 38, ...
4462fec6e0edc25530c93ffeeae2372c86fef2cc
import numpy as np import imutils import cv2 image = cv2.imread("D:\\Github\\python-opencv\\images\\trex.png") cv2.imshow("Original", image) cv2.waitKey(0) (h, w) = image.shape[:2] # get height and width of the image center = (w / 2, h / 2) # which point to rotate around M = cv2.getRotationMatrix2D(center, 45, 1.0...
[ 485, 6610, 641, 2115, 222, 485, 3987, 2324, 222, 485, 6781, 55, 222, 222, 915, 299, 6781, 55, 51, 41190, 459, 73, 16397, 20163, 1750, 2980, 50, 16202, 1750, 2266, 1750, 5325, 125, 51, 1665, 678, 222, 4167, 55, 51, 24184, 459, 11313,...
[ "import", "Ġnumpy", "Ġas", "Ġnp", "Ċ", "import", "Ġim", "utils", "Ċ", "import", "Ġcv", "2", "Ċ", "Ċ", "image", "Ġ=", "Ġcv", "2", ".", "imread", "(\"", "D", ":\\\\", "Github", "\\\\", "python", "-", "opencv", "\\\\", "images", "\\\\", "tre", "x", ".",...
[ 1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 9, 9, 9, 9, 9, 9, 9...
[ 1, 7, 13, 16, 19, 1, 7, 10, 15, 1, 7, 10, 11, 1, 1, 6, 8, 11, 12, 13, 19, 21, 22, 25, 31, 33, 39, 40, 46, 48, 54, 56, 59, 60, 61, 64, 66, 1, 3, 4, 5, 11, 13, 21, 23, 29, 30, 1, 3, 4, 5, 9, 12, 13, 14, 15, ...
934921b22d036bd611134ce74f6eba3a2710018e
import cv2 import numpy as np result = cv2.VideoCapture(0) while True: ret, square = result.read() area = square[100:200, 100:200] cv2.imshow("video", square) cv2.imshow("video2", area) print(square) if cv2.waitKey(25) & 0xFF == ord("q"): break result.release() cv2.destroyAllWindows(...
[ 485, 6781, 55, 222, 485, 6610, 641, 2115, 499, 222, 1285, 299, 6781, 55, 51, 6086, 11882, 45, 53, 46, 222, 222, 5544, 2969, 63, 303, 2170, 49, 14708, 299, 1074, 51, 870, 365, 303, 5978, 299, 14708, 96, 54, 53, 53, 63, 55, 53, ...
[ "import", "Ġcv", "2", "Ċ", "import", "Ġnumpy", "Ġas", "Ġnp", "ĊĊ", "Ċ", "result", "Ġ=", "Ġcv", "2", ".", "Video", "Capture", "(", "0", ")", "Ċ", "Ċ", "while", "ĠTrue", ":", "ĊĠĠĠ", "Ġret", ",", "Ġsquare", "Ġ=", "Ġresult", ".", "read", "()", "ĊĠĠĠ",...
[ 1, 1, 1, 1, 2, 2, 2, 2, 2, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 1...
[ 1, 7, 10, 11, 1, 7, 13, 16, 19, 1, 1, 7, 9, 12, 13, 14, 19, 26, 27, 28, 29, 1, 1, 6, 11, 12, 4, 8, 9, 16, 18, 25, 26, 30, 32, 4, 9, 11, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35...
76d166bc227986863db77aa784be3de8110437ff
import logging, numpy as np, time, pandas as pd from abc import abstractmethod from kombu import binding from tqdm import tqdm from functools import lru_cache from threading import Thread from math import ceil from copy import copy from .pos import Position from .base import BaseConsumer from .event import SignalEven...
[ 485, 5751, 49, 6610, 641, 2115, 49, 1153, 49, 13247, 641, 6451, 222, 222, 1097, 20701, 1220, 5560, 1978, 222, 1097, 18845, 716, 1220, 9461, 222, 1097, 24826, 1220, 24826, 222, 1097, 35383, 1220, 475, 2965, 100, 2630, 222, 1097, 26311, ...
[ "import", "Ġlogging", ",", "Ġnumpy", "Ġas", "Ġnp", ",", "Ġtime", ",", "Ġpandas", "Ġas", "Ġpd", "Ċ", "Ċ", "from", "Ġabc", "Ġimport", "Ġabstract", "method", "Ċ", "from", "Ġkom", "bu", "Ġimport", "Ġbinding", "Ċ", "from", "Ġtqdm", "Ġimport", "Ġtqdm", "Ċ", "f...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 10, 11, 11, 11, 11, 11, 11, 12, ...
[ 1, 7, 15, 16, 22, 25, 28, 29, 34, 35, 42, 45, 48, 1, 1, 5, 9, 16, 25, 31, 1, 5, 9, 11, 18, 26, 1, 5, 10, 17, 22, 1, 5, 15, 22, 24, 26, 27, 32, 1, 5, 15, 22, 29, 1, 5, 10, 17, 22, 1, 5, 10, 17, 22, 1, 1, 5...
3ae0149af78216d6cc85313ebaa6f7cd99185c05
def postfix(expression): operators, stack = "+-*/", [] for item in expression.split(): if item not in operators: stack.append(item) else: operand_1, operand_2 = stack.pop(), stack.pop() stack.append(str(eval(operand_2 + item + operand_1))) return int(float...
[ 610, 44981, 45, 7681, 731, 303, 15629, 49, 4154, 299, 6771, 50, 1975, 411, 1627, 303, 456, 1641, 347, 6112, 51, 3045, 2284, 310, 434, 1641, 666, 347, 15629, 63, 343, 4154, 51, 1713, 45, 1113, 46, 310, 832, 63, 343, 19229, 100, 54,...
[ "def", "Ġpostfix", "(", "expression", "):", "ĊĠĠĠ", "Ġoperators", ",", "Ġstack", "Ġ=", "Ġ\"+", "-", "*/", "\",", "Ġ[]", "ĊĠĠĠ", "Ġfor", "Ġitem", "Ġin", "Ġexpression", ".", "split", "():", "ĊĠĠĠĠĠĠĠ", "Ġif", "Ġitem", "Ġnot", "Ġin", "Ġoperators", ":", "ĊĠĠĠĠ...
[ 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8...
[ 1, 4, 12, 13, 23, 25, 4, 14, 15, 21, 23, 26, 27, 29, 31, 34, 4, 8, 13, 16, 27, 28, 33, 36, 8, 11, 16, 20, 23, 33, 34, 12, 18, 19, 25, 26, 30, 31, 8, 13, 14, 12, 20, 21, 22, 23, 31, 32, 33, 35, 41, 42, 45, 48, ...
d95d899c6eae5a90c90d3d920ee40b38bf304805
# coding: utf-8 """ 1) Encontre em um texto os nomes próprios e os retorne em uma lista. Utilize o Regex (‘import re’) e a função findall(). Na versão básica, retorne todas as palavras que iniciam com maiúscula. 2) Apresente um plot de alguns segundos dos dados de acelerômetro do dataset: https://archive.ics.uci.edu/...
[ 40, 10633, 63, 6471, 50, 61, 222, 3012, 222, 54, 46, 2445, 685, 287, 2667, 4225, 27566, 2355, 15443, 120, 42503, 2066, 519, 503, 2355, 2170, 290, 960, 2667, 9432, 16332, 51, 7292, 537, 356, 18035, 327, 33647, 485, 334, 2754, 46, 503...
[ "#", "Ġcoding", ":", "Ġutf", "-", "8", "Ċ", "\"\"\"", "Ċ", "1", ")", "ĠEn", "cont", "re", "Ġem", "Ġum", "Ġtexto", "Ġos", "Ġnome", "s", "Ġpró", "pri", "os", "Ġe", "Ġos", "Ġret", "or", "ne", "Ġem", "Ġuma", "Ġlista", ".", "ĠUtil", "ize", "Ġo", "ĠRe...
[ 1, 1, 1, 1, 1, 1, 1, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3...
[ 1, 2, 9, 10, 14, 15, 16, 1, 4, 1, 2, 3, 6, 10, 12, 15, 18, 24, 27, 32, 33, 37, 40, 42, 44, 47, 51, 53, 55, 58, 62, 68, 69, 74, 77, 79, 85, 87, 88, 94, 97, 98, 99, 101, 103, 110, 115, 118, 121, 124, 131, 133, 135,...
dd7ade05ef912f7c094883507768cc21f95f31f6
""" A module for constants. """ # fin adding notes for keys and uncomment KEYS = [ "CM", "GM", # , # "DM", # "AM", # "EM", # "BM", # "FSM", # "CSM", # "Am", # "Em", # "Bm", # "FSm", # "CSm", # "GSm", # "DSm", # "ASm", ] NOTES_FOR_KEY = { "CM": [...
[ 3012, 222, 70, 2313, 456, 12405, 51, 222, 222, 3012, 222, 222, 40, 3770, 7178, 10178, 456, 5050, 480, 39629, 222, 21784, 299, 447, 303, 332, 3123, 411, 303, 332, 15185, 411, 303, 607, 1737, 303, 607, 332, 10844, 411, 303, 607, 332, ...
[ "\"\"\"", "Ċ", "A", "Ġmodule", "Ġfor", "Ġconstants", ".", "Ċ", "Ċ", "\"\"\"", "Ċ", "Ċ", "#", "Ġfin", "Ġadding", "Ġnotes", "Ġfor", "Ġkeys", "Ġand", "Ġuncomment", "Ċ", "KEYS", "Ġ=", "Ġ[", "ĊĠĠĠ", "Ġ\"", "CM", "\",", "ĊĠĠĠ", "Ġ\"", "GM", "\",", "ĊĠĠĠ", ...
[ 1, 1, 2, 2, 2, 2, 2, 2, 3, 4, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 9, 9, 9, 9, 10, 10, 10, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 14, 14, 14, 14, 14, 15, 15, 1...
[ 1, 4, 1, 2, 9, 13, 23, 24, 1, 1, 4, 1, 1, 2, 6, 13, 19, 23, 28, 32, 42, 1, 5, 7, 9, 4, 6, 8, 10, 4, 6, 8, 10, 4, 6, 8, 4, 6, 8, 10, 12, 4, 6, 8, 10, 12, 4, 6, 8, 10, 12, 4, 6, 8, 10, 12, 4, 6, 8, 11...
0c68bd65cac3c8b9fd080900a00991b2d19260ee
from django.test import TestCase from core.factories import CompanyFactory, EmployeeFactory from core.pair_matcher import MaximumWeightGraphMatcher class PairMatcherTestCase(TestCase): def setUp(self): self.company = CompanyFactory.create() def test_simple(self): employees = EmployeeFactory....
[ 1097, 8532, 51, 881, 1220, 19189, 222, 222, 1097, 5305, 51, 42007, 1220, 16507, 2232, 49, 21658, 2232, 222, 1097, 5305, 51, 5227, 100, 16943, 1220, 18698, 7602, 3418, 11947, 499, 222, 842, 16594, 11947, 7246, 45, 7246, 731, 303, 684, ...
[ "from", "Ġdjango", ".", "test", "Ġimport", "ĠTestCase", "Ċ", "Ċ", "from", "Ġcore", ".", "factories", "Ġimport", "ĠCompany", "Factory", ",", "ĠEmployee", "Factory", "Ċ", "from", "Ġcore", ".", "pair", "_", "matcher", "Ġimport", "ĠMaximum", "Weight", "Graph", "...
[ 1, 1, 1, 1, 1, 1, 1, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 6, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 11, 11, 11, 11, 11, 11, ...
[ 1, 5, 12, 13, 17, 24, 33, 1, 1, 5, 10, 11, 20, 27, 35, 42, 43, 52, 59, 1, 5, 10, 11, 15, 16, 23, 30, 38, 44, 49, 56, 1, 1, 6, 11, 18, 26, 27, 35, 37, 4, 8, 14, 15, 19, 21, 8, 13, 14, 21, 23, 31, 38, 39, 45, ...
32ed07a89a6f929a6c4b78fd79e687b85e01015b
from flask_wtf import FlaskForm from wtforms import ( StringField, SelectField, SubmitField, PasswordField, RadioField, MultipleFileField, SubmitField, TextAreaField, ) from wtforms.fields.html5 import EmailField, TelField, DateField from wtforms.validators import DataRequired, Email, Le...
[ 1097, 18958, 100, 124, 4274, 1220, 24033, 1260, 222, 1097, 35648, 8543, 1220, 327, 303, 910, 1195, 49, 303, 6629, 1195, 49, 303, 22878, 1195, 49, 303, 12576, 1195, 49, 303, 24549, 1195, 49, 303, 21205, 991, 1195, 49, 303, 22878, 1195,...
[ "from", "Ġflask", "_", "w", "tf", "Ġimport", "ĠFlask", "Form", "Ċ", "from", "Ġwt", "forms", "Ġimport", "Ġ(", "ĊĠĠĠ", "ĠString", "Field", ",", "ĊĠĠĠ", "ĠSelect", "Field", ",", "ĊĠĠĠ", "ĠSubmit", "Field", ",", "ĊĠĠĠ", "ĠPassword", "Field", ",", "ĊĠĠĠ", "ĠR...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 8, 9, 9, 9, 9, 10, 10, 10, 10, 10, 11, 11, 12, 12, 12, 12, 12, 12, 12, 12, 12, ...
[ 1, 5, 11, 12, 13, 15, 22, 28, 32, 1, 5, 8, 13, 20, 22, 4, 11, 16, 17, 4, 11, 16, 17, 4, 11, 16, 17, 4, 13, 18, 19, 4, 10, 15, 16, 4, 13, 17, 22, 23, 4, 11, 16, 17, 4, 9, 13, 18, 19, 1, 2, 1, 5, 8, 13, 14, ...
257f18db95e069c037341d2af372269e988b0a80
# Generated by Django 3.1.2 on 2021-07-02 05:38 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ("asset", "0001_initial"), ] operations = [ migrations.RemoveField( model_name="balance", name="title", ), ]
[ 40, 13046, 829, 18288, 244, 56, 51, 54, 51, 55, 563, 244, 55, 53, 55, 54, 50, 53, 60, 50, 53, 55, 244, 53, 58, 63, 56, 61, 222, 222, 1097, 8532, 51, 1219, 1220, 12520, 499, 222, 842, 18572, 45, 19772, 51, 12071, 731, 303, 64...
[ "#", "ĠGenerated", "Ġby", "ĠDjango", "Ġ", "3", ".", "1", ".", "2", "Ġon", "Ġ", "2", "0", "2", "1", "-", "0", "7", "-", "0", "2", "Ġ", "0", "5", ":", "3", "8", "Ċ", "Ċ", "from", "Ġdjango", ".", "db", "Ġimport", "Ġmigrations", "ĊĊ", "Ċ", "cla...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 3, 3, 3, 3, 3, 3, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9...
[ 1, 2, 12, 15, 22, 23, 24, 25, 26, 27, 28, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 1, 1, 5, 12, 13, 15, 22, 33, 1, 1, 6, 16, 17, 27, 28, 37, 39, 4, 17, 19, 21, 8, 11, 16, 18, 20...
74cb06ffa41748af431b46c9ff98eb91771a5015
# Get roll numbers, name & marks of the students of a class(get from user) and store these details in a file- marks.txt count = int(input("How many students are there in class? ")) fileObj = open("marks.txt", "w") for i in range(count): print("Enter details for student", (i + 1), "below:") rollNo = int(input(...
[ 40, 1408, 12356, 7560, 49, 655, 568, 26760, 451, 341, 16545, 451, 331, 462, 45, 390, 664, 1275, 46, 480, 2989, 3301, 4261, 347, 331, 822, 50, 26760, 51, 2787, 222, 222, 1016, 299, 648, 45, 1151, 459, 8276, 5110, 16545, 904, 2038, ...
[ "#", "ĠGet", "Ġroll", "Ġnumbers", ",", "Ġname", "Ġ&", "Ġmarks", "Ġof", "Ġthe", "Ġstudents", "Ġof", "Ġa", "Ġclass", "(", "get", "Ġfrom", "Ġuser", ")", "Ġand", "Ġstore", "Ġthese", "Ġdetails", "Ġin", "Ġa", "Ġfile", "-", "Ġmarks", ".", "txt", "Ċ", "Ċ", "co...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 6, 6...
[ 1, 2, 6, 11, 19, 20, 25, 27, 33, 36, 40, 49, 52, 54, 60, 61, 64, 69, 74, 75, 79, 85, 91, 99, 102, 104, 109, 110, 116, 117, 120, 1, 1, 6, 8, 12, 13, 18, 20, 23, 28, 37, 41, 47, 50, 56, 57, 61, 1, 5, 8, 10, 15, 1...
955cf040aaf882328e31e6a943bce04cf721cb11
#!/usr/bin/env python3 # # Copyright (C) 2011-2015 Codethink Limited # # 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; version 2 of the License. # # This program is distributed in the hope that...
[ 8758, 3392, 52, 1793, 52, 2141, 4406, 56, 222, 40, 222, 40, 2657, 327, 72, 46, 244, 55, 53, 54, 54, 50, 55, 53, 54, 58, 244, 4420, 16454, 30980, 222, 40, 222, 40, 1369, 3477, 458, 3760, 2951, 64, 863, 902, 14081, 580, 480, 52,...
[ "#!/", "usr", "/", "bin", "/", "env", "Ġpython", "3", "Ċ", "#", "Ċ", "#", "ĠCopyright", "Ġ(", "C", ")", "Ġ", "2", "0", "1", "1", "-", "2", "0", "1", "5", "Ġ", "ĠCode", "think", "ĠLimited", "Ċ", "#", "Ċ", "#", "ĠThis", "Ġprogram", "Ġis", "Ġfre...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6...
[ 1, 4, 7, 8, 11, 12, 15, 22, 23, 1, 2, 1, 2, 12, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 32, 37, 45, 1, 2, 1, 2, 7, 15, 18, 23, 32, 33, 37, 41, 54, 57, 61, 62, 64, 71, 1, 2, 5, 11, 15, 21, 24...
68a503b2a94304530e20d79baf9fb094024ba67e
from django.conf.urls import patterns, include, url # Uncomment the next two lines to enable the admin: from django.contrib import admin admin.autodiscover() from django.conf import settings from django.conf.urls.static import static from django.contrib.staticfiles.urls import staticfiles_urlpatterns from dajaxice....
[ 1097, 8532, 51, 2982, 51, 11420, 1220, 15137, 49, 2323, 49, 2001, 222, 222, 40, 47234, 341, 2371, 3161, 5452, 391, 5362, 341, 5611, 63, 222, 1097, 8532, 51, 12060, 1220, 5611, 222, 222, 2317, 51, 4872, 450, 316, 4120, 365, 222, 222,...
[ "from", "Ġdjango", ".", "conf", ".", "urls", "Ġimport", "Ġpatterns", ",", "Ġinclude", ",", "Ġurl", "Ċ", "Ċ", "#", "ĠUncomment", "Ġthe", "Ġnext", "Ġtwo", "Ġlines", "Ġto", "Ġenable", "Ġthe", "Ġadmin", ":", "Ċ", "from", "Ġdjango", ".", "contrib", "Ġimport", ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 10, 11, ...
[ 1, 5, 12, 13, 17, 18, 22, 29, 38, 39, 47, 48, 52, 1, 1, 2, 12, 16, 21, 25, 31, 34, 41, 45, 51, 52, 1, 5, 12, 13, 20, 27, 33, 1, 1, 6, 7, 10, 12, 14, 19, 21, 1, 1, 5, 12, 13, 17, 24, 33, 1, 5, 12, 13, 17, 18...
81dec10686b521dc9400a209caabc1601efd2a88
# -*- coding: utf-8 -*- import abc import datetime import importlib import inspect import os import re import six from .library import HalLibrary @six.add_metaclass(abc.ABCMeta) class Hal: def __init__(self, configpath): self.configpath = configpath # Find libraries inside the lib directory ...
[ 40, 8571, 10633, 63, 6471, 50, 61, 8571, 222, 222, 485, 20701, 222, 485, 7181, 222, 485, 46233, 222, 485, 17878, 222, 485, 2355, 222, 485, 334, 222, 485, 18834, 222, 222, 1097, 657, 5261, 1220, 42614, 5887, 499, 222, 69, 25924, 51, ...
[ "#", "Ġ-*-", "Ġcoding", ":", "Ġutf", "-", "8", "Ġ-*-", "Ċ", "Ċ", "import", "Ġabc", "Ċ", "import", "Ġdatetime", "Ċ", "import", "Ġimportlib", "Ċ", "import", "Ġinspect", "Ċ", "import", "Ġos", "Ċ", "import", "Ġre", "Ċ", "import", "Ġsix", "Ċ", "Ċ", "from", ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, 9, 10, 11, 11, 11, 11, 11, 11, 11, 13, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 15, 15, 15, ...
[ 1, 2, 6, 13, 14, 18, 19, 20, 24, 1, 1, 7, 11, 1, 7, 16, 1, 7, 17, 1, 7, 15, 1, 7, 10, 1, 7, 10, 1, 7, 11, 1, 1, 5, 7, 14, 21, 25, 32, 1, 1, 2, 5, 6, 9, 10, 13, 19, 20, 23, 24, 26, 28, 31, 32, 1, 6, 10, ...
66edf0d2f7e25e166563bdb1063a1ed45ecda0e6
Easy = [ ["4 + 12 = ?", 16], ["45 -34 = ?", 11], ["27 + 12 -18 = ?", 21], ["25 - 5 * 4 = ?", 5], ["18 + 45 / 5 - 3 * 2 = ?", 21], ["5! = ?", 120], ["3! + 2! = ?", 8], ["7 + 5! / 4! - 6 / 3 = ?", 10], ["(25 + 5) / 6 * 4 = ?", 20], ["4(3+c)+c=c+4; c=?", -2], ["​√​121 = ?", 11]...
[ 21309, 299, 447, 303, 3059, 57, 494, 244, 54, 55, 299, 35189, 244, 54, 59, 636, 303, 3059, 57, 58, 449, 56, 57, 299, 35189, 244, 54, 54, 636, 303, 3059, 55, 60, 494, 244, 54, 55, 449, 54, 61, 299, 35189, 244, 55, 54, 636, 30...
[ "Easy", "Ġ=", "Ġ[", "ĊĠĠĠ", "Ġ[\"", "4", "Ġ+", "Ġ", "1", "2", "Ġ=", "Ġ?\",", "Ġ", "1", "6", "],", "ĊĠĠĠ", "Ġ[\"", "4", "5", "Ġ-", "3", "4", "Ġ=", "Ġ?\",", "Ġ", "1", "1", "],", "ĊĠĠĠ", "Ġ[\"", "2", "7", "Ġ+", "Ġ", "1", "2", "Ġ-", "1", "8",...
[ 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6...
[ 1, 5, 7, 9, 4, 7, 8, 10, 11, 12, 13, 15, 19, 20, 21, 22, 24, 4, 7, 8, 9, 11, 12, 13, 15, 19, 20, 21, 22, 24, 4, 7, 8, 9, 11, 12, 13, 14, 16, 17, 18, 20, 24, 25, 26, 27, 29, 4, 7, 8, 9, 11, 12, 13, 15, 16, ...
7d099012584b84e9767bf0ce9d9df1596ca3bbab
# Set up path references and dependencies. import os, sys, inspect currentdir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe()))) parentdir = os.path.dirname(currentdir) sys.path.insert(0, parentdir) sys.path.append(os.path.join(parentdir, "utils")) # Import important helper libraries. from fl...
[ 40, 1776, 992, 1536, 10656, 480, 6450, 51, 222, 485, 2355, 49, 5263, 49, 17878, 222, 222, 1719, 1537, 299, 2355, 51, 1005, 51, 7792, 45, 519, 51, 1005, 51, 21424, 45, 18710, 51, 390, 781, 45, 18710, 51, 1719, 1763, 28237, 222, 256...
[ "#", "ĠSet", "Ġup", "Ġpath", "Ġreferences", "Ġand", "Ġdependencies", ".", "Ċ", "import", "Ġos", ",", "Ġsys", ",", "Ġinspect", "Ċ", "Ċ", "current", "dir", "Ġ=", "Ġos", ".", "path", ".", "dirname", "(", "os", ".", "path", ".", "abspath", "(", "inspect", ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6...
[ 1, 2, 6, 9, 14, 25, 29, 42, 43, 1, 7, 10, 11, 15, 16, 24, 1, 1, 8, 11, 13, 16, 17, 21, 22, 29, 30, 32, 33, 37, 38, 45, 46, 53, 54, 57, 61, 62, 69, 70, 77, 82, 87, 1, 7, 10, 12, 15, 16, 20, 21, 28, 29, 36, 39,...
169ad888e7629faff9509399ac7ead7a149a9602
import TryItYourSelf_9_8 as userObj print("\n\n\n\n") admin1 = userObj.Admin("john", "deer", 30) admin1.describe_user() print("\n") admin1.set_user_name("Reven10") print("\n") admin1.describe_user() admin1.privileges.show_privileges()
[ 485, 8982, 1029, 10195, 8183, 100, 62, 100, 61, 641, 1275, 3287, 222, 222, 1243, 5564, 115, 97, 115, 97, 115, 97, 115, 678, 222, 2317, 54, 299, 1275, 3287, 51, 4208, 459, 25158, 411, 332, 305, 284, 411, 244, 56, 53, 46, 222, 231...
[ "import", "ĠTry", "It", "Your", "Self", "_", "9", "_", "8", "Ġas", "Ġuser", "Obj", "Ċ", "Ċ", "print", "(\"\\", "n", "\\", "n", "\\", "n", "\\", "n", "\")", "Ċ", "admin", "1", "Ġ=", "Ġuser", "Obj", ".", "Admin", "(\"", "john", "\",", "Ġ\"", "de"...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 7, 8, 8, 8, 8, 8, 8...
[ 1, 7, 11, 13, 17, 21, 22, 23, 24, 25, 28, 33, 36, 1, 1, 6, 9, 10, 11, 12, 13, 14, 15, 16, 18, 1, 6, 7, 9, 14, 17, 18, 23, 25, 29, 31, 33, 35, 37, 39, 40, 41, 42, 43, 1, 6, 7, 8, 16, 17, 21, 23, 1, 6, 9, 10,...
eb246beb05249f5dfde019b773698ba3bb1b1118
# ------------------------------------------------------------------------------- # Name: module1 # Purpose: # # Author: Nirvana # # Created: 07/06/2014 # Copyright: (c) Nirvana 2014 # Licence: <your licence> # ------------------------------------------------------------------------------- import...
[ 40, 6549, 12117, 222, 40, 3286, 63, 370, 2313, 54, 222, 40, 26129, 63, 222, 40, 222, 40, 6265, 63, 665, 508, 11503, 5505, 222, 40, 222, 40, 6956, 63, 665, 53, 60, 52, 53, 59, 52, 55, 53, 54, 57, 222, 40, 2657, 63, 280, 327, ...
[ "#", "Ġ----------------------------------------------------------------", "---------------", "Ċ", "#", "ĠName", ":", "ĠĠĠĠĠĠĠ", "Ġmodule", "1", "Ċ", "#", "ĠPurpose", ":", "Ċ", "#", "Ċ", "#", "ĠAuthor", ":", "ĠĠĠĠĠ", "ĠN", "irv", "ana", "Ċ", "#", "Ċ", "#", "ĠCr...
[ 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9...
[ 1, 2, 67, 82, 1, 2, 7, 8, 15, 22, 23, 1, 2, 10, 11, 1, 2, 1, 2, 9, 10, 15, 17, 20, 23, 1, 2, 1, 2, 10, 11, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 1, 2, 12, 13, 15, 17, 18, 19, 21, 24, 27, 28, 29, 30, ...
bcc4276ea240247519cabbf5fc5646a9147ee3be
import sublime import sublime_plugin class PromptSurrounderCommand(sublime_plugin.WindowCommand): def run(self): self.window.show_input_panel("Surround by:", "", self.on_done, None, None) def on_done(self, tag): try: if self.window.active_view(): self.window.active...
[ 485, 1381, 15607, 222, 485, 1381, 15607, 100, 2809, 499, 222, 842, 39654, 12404, 309, 8505, 2037, 45, 1133, 15607, 100, 2809, 51, 1684, 2037, 731, 303, 684, 1441, 45, 803, 731, 310, 649, 51, 3537, 51, 2276, 100, 1151, 100, 4719, 459...
[ "import", "Ġsub", "lime", "Ċ", "import", "Ġsub", "lime", "_", "plugin", "ĊĊ", "Ċ", "class", "ĠPrompt", "Sur", "ro", "under", "Command", "(", "sub", "lime", "_", "plugin", ".", "Window", "Command", "):", "ĊĠĠĠ", "Ġdef", "Ġrun", "(", "self", "):", "ĊĠĠĠĠ...
[ 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 9, 9, 9, 9, 9...
[ 1, 7, 11, 15, 1, 7, 11, 15, 16, 22, 1, 1, 6, 13, 16, 18, 23, 30, 31, 34, 38, 39, 45, 46, 52, 59, 61, 4, 8, 12, 13, 17, 19, 8, 13, 14, 20, 21, 25, 26, 31, 32, 37, 39, 42, 47, 50, 53, 57, 62, 63, 65, 66, 70, 71...
07783921da2fb4ae9452324f833b08b3f92ba294
""" commands/map.py description: Generates a blank configuration file in the current directory """ from json import dumps from .base_command import BaseCommand class Map(BaseCommand): def run(self): from lib.models import Mapping from lib.models import Migration migration = Mi...
[ 3012, 222, 222, 7626, 52, 1130, 51, 997, 222, 222, 2328, 63, 310, 32476, 331, 11778, 3505, 822, 347, 341, 1565, 3378, 222, 222, 3012, 222, 222, 1097, 2379, 1220, 10137, 120, 222, 1097, 657, 1460, 100, 2514, 1220, 3787, 2037, 499, 22...
[ "\"\"\"", "Ċ", "Ċ", "commands", "/", "map", ".", "py", "Ċ", "Ċ", "description", ":", "ĊĠĠĠĠĠĠĠ", "ĠGenerates", "Ġa", "Ġblank", "Ġconfiguration", "Ġfile", "Ġin", "Ġthe", "Ġcurrent", "Ġdirectory", "Ċ", "Ċ", "\"\"\"", "Ċ", "Ċ", "from", "Ġjson", "Ġimport", "Ġd...
[ 1, 1, 2, 3, 3, 3, 3, 3, 3, 4, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 8, 8, 9, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 13, 14, 14, 14, 14, 14, 14, 14, 15, 15, 15, 15, 15, 15, 16, 1...
[ 1, 4, 1, 1, 9, 10, 13, 14, 16, 1, 1, 12, 13, 8, 18, 20, 26, 40, 45, 48, 52, 60, 70, 1, 1, 4, 1, 1, 5, 10, 17, 22, 23, 1, 5, 7, 11, 12, 19, 26, 31, 38, 1, 1, 6, 10, 11, 15, 22, 24, 4, 8, 12, 13, 17, 19, 8,...
2f8dff78f5bc5ed18df97e2574b47f0a7711d372
# encoding: utf-8 """ File: demo.py Author: Rock Johnson Description: 此文件为案例文件 """ import sys sys.path.append("../") try: from panicbuying.panic import Panic except: from panicbuying.panicbuying.panic import Panic def main(): """ 公共参数: store: 商城或书店名称(小米|文泉), browser: 浏览器(目前只支持Chrome), versi...
[ 40, 7348, 63, 6471, 50, 61, 222, 222, 3012, 222, 991, 63, 10891, 51, 997, 222, 4372, 63, 578, 1060, 21588, 1174, 222, 3250, 63, 41680, 6162, 3397, 15928, 7229, 6162, 222, 3012, 222, 222, 485, 5263, 222, 222, 3750, 51, 1005, 51, 17...
[ "#", "Ġencoding", ":", "Ġutf", "-", "8", "Ċ", "Ċ", "\"\"\"", "Ċ", "File", ":", "Ġdemo", ".", "py", "Ċ", "Author", ":", "ĠR", "ock", "ĠJohn", "son", "Ċ", "Description", ":", "ĠæŃ¤", "æĸĩä»¶", "为", "æ¡Ī", "ä¾ĭ", "æĸĩä»¶", "Ċ", "\"\"\"", "Ċ", "Ċ", ...
[ 1, 1, 1, 1, 1, 1, 1, 2, 3, 3, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 8, 9, 9, 9, 10, 11, 11, 11, 11, 11, 11, 11, 11, 12, 12, 12, 13, 13, 13, 13, 13, 13, 13, 13, 13, ...
[ 1, 2, 11, 12, 16, 17, 18, 1, 1, 4, 1, 5, 6, 11, 12, 14, 1, 7, 8, 10, 13, 18, 21, 1, 12, 13, 15, 17, 18, 19, 20, 22, 1, 4, 1, 1, 7, 11, 1, 1, 4, 5, 9, 10, 16, 21, 23, 1, 4, 5, 4, 9, 15, 18, 21, 22, 27, 3...
03dd37346ed12bbd66cbebc46fadc37be319b986
import unittest from reactivex import interval from reactivex import operators as ops from reactivex.testing import ReactiveTest, TestScheduler from reactivex.testing.marbles import marbles_testing from reactivex.testing.subscription import Subscription on_next = ReactiveTest.on_next on_completed = ReactiveTest.on_co...
[ 485, 15790, 222, 222, 1097, 334, 5453, 346, 1220, 7917, 222, 1097, 334, 5453, 346, 1220, 15629, 641, 13727, 222, 1097, 334, 5453, 346, 51, 4280, 1220, 30965, 1024, 49, 2128, 11438, 222, 1097, 334, 5453, 346, 51, 4280, 51, 3321, 29451,...
[ "import", "Ġunittest", "Ċ", "Ċ", "from", "Ġre", "activ", "ex", "Ġimport", "Ġinterval", "Ċ", "from", "Ġre", "activ", "ex", "Ġimport", "Ġoperators", "Ġas", "Ġops", "Ċ", "from", "Ġre", "activ", "ex", ".", "testing", "Ġimport", "ĠReactive", "Test", ",", "ĠTest...
[ 1, 1, 1, 2, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 9, 9, 9...
[ 1, 7, 16, 1, 1, 5, 8, 13, 15, 22, 31, 1, 5, 8, 13, 15, 22, 32, 35, 39, 1, 5, 8, 13, 15, 16, 23, 30, 39, 43, 44, 49, 58, 1, 5, 8, 13, 15, 16, 23, 24, 27, 31, 38, 40, 43, 46, 47, 54, 1, 5, 8, 13, 15, 16, 23, ...
e8a36bd7826c5d71cf8012ea82df6c127dd858fc
from typing import Dict, Optional from collections import OrderedDict import torch import torch.nn as nn import torch.optim as optim import yaml def get_device() -> torch.device: if torch.cuda.is_available(): return torch.device("cuda") return torch.device("cpu") def load_yaml_config(config_path: s...
[ 1097, 12018, 1220, 14609, 49, 5663, 222, 1097, 13722, 1220, 34279, 222, 222, 485, 5665, 222, 485, 5665, 51, 4042, 641, 8507, 222, 485, 5665, 51, 8411, 641, 6630, 222, 485, 14478, 499, 222, 610, 640, 100, 2949, 365, 984, 5665, 51, 29...
[ "from", "Ġtyping", "Ġimport", "ĠDict", ",", "ĠOptional", "Ċ", "from", "Ġcollections", "Ġimport", "ĠOrderedDict", "Ċ", "Ċ", "import", "Ġtorch", "Ċ", "import", "Ġtorch", ".", "nn", "Ġas", "Ġnn", "Ċ", "import", "Ġtorch", ".", "optim", "Ġas", "Ġoptim", "Ċ", "i...
[ 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 12, 12, 12, 12...
[ 1, 5, 12, 19, 24, 25, 34, 1, 5, 17, 24, 36, 1, 1, 7, 13, 1, 7, 13, 14, 16, 19, 22, 1, 7, 13, 14, 19, 22, 28, 1, 7, 12, 1, 1, 4, 8, 9, 15, 17, 20, 26, 27, 33, 34, 4, 7, 13, 14, 18, 19, 21, 22, 31, 34, 8, 1...
8bb39149a5b7f4f4b1d3d62a002ab97421905ea1
#!/usr/bin/env python # -*- coding: utf-8 -*- """ 处理与合约名字有关的变量 """ import re # 上期所 PRODUCTS_SHFE = {"cu", "al", "zn", "pb", "ni", "sn", "au", "ag", "rb", "wr", "hc", "fu", "bu", "ru"} # 中金所 PRODUCTS_CFFEX = {"IF", "IC", "IH", "T", "TF"} # 郑商所 PRODUCTS_CZCE = { "SR", "CF", "ZC", "FG", "TA", "WH...
[ 8758, 3392, 52, 1793, 52, 2141, 4406, 222, 40, 8571, 10633, 63, 6471, 50, 61, 8571, 222, 3012, 222, 11474, 8933, 6363, 24447, 38317, 3052, 6830, 1096, 16699, 222, 3012, 222, 222, 485, 334, 222, 222, 40, 28803, 9820, 5995, 222, 16011, ...
[ "#!/", "usr", "/", "bin", "/", "env", "Ġpython", "Ċ", "#", "Ġ-*-", "Ġcoding", ":", "Ġutf", "-", "8", "Ġ-*-", "Ċ", "\"\"\"", "Ċ", "å¤ĦçIJĨ", "ä¸İ", "åIJĪ", "约", "åIJįåŃĹ", "æľī", "åħ³", "çļĦ", "åıĺéĩı", "Ċ", "\"\"\"", "Ċ", "Ċ", "import", "Ġre", "Ċ", ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 6, 7, 7, 7, 8, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,...
[ 1, 4, 7, 8, 11, 12, 15, 22, 1, 2, 6, 13, 14, 18, 19, 20, 24, 1, 4, 1, 3, 4, 5, 6, 8, 9, 10, 11, 13, 1, 4, 1, 1, 7, 10, 1, 1, 2, 4, 5, 6, 1, 8, 9, 10, 12, 14, 16, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, ...
58aa72588357b18ab42391dfffbf2a1b66589edd
# pyOCD debugger # Copyright (c) 2006-2013,2018 Arm Limited # SPDX-License-Identifier: Apache-2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENS...
[ 40, 3643, 84, 4778, 25856, 222, 40, 2657, 327, 104, 46, 244, 55, 53, 53, 59, 50, 55, 53, 54, 56, 49, 55, 53, 54, 61, 29009, 30980, 222, 40, 18769, 50, 3801, 50, 5551, 63, 3954, 50, 55, 51, 53, 222, 40, 222, 40, 4773, 1549, ...
[ "#", "Ġpy", "O", "CD", "Ġdebugger", "Ċ", "#", "ĠCopyright", "Ġ(", "c", ")", "Ġ", "2", "0", "0", "6", "-", "2", "0", "1", "3", ",", "2", "0", "1", "8", "ĠArm", "ĠLimited", "Ċ", "#", "ĠSPDX", "-", "License", "-", "Identifier", ":", "ĠApache", "...
[ 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6...
[ 1, 2, 5, 6, 8, 17, 1, 2, 12, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 35, 43, 1, 2, 7, 8, 15, 16, 26, 27, 34, 35, 36, 37, 38, 1, 2, 1, 2, 11, 17, 21, 28, 36, 37, 45, 46, 47, 4...
18c2fe40b51ad1489d55aa2be068a1c4f381a2a5
import datetime from django.db import models from django.utils import timezone class Acoount(models.Model): first_name = models.CharField("Ім'я", max_length=50) last_name = models.CharField("Прізвище", max_length=50) username = models.CharField("Псевдонім", max_length=50) email = models.CharField("Ел...
[ 485, 7181, 222, 1097, 8532, 51, 1219, 1220, 4590, 222, 222, 1097, 8532, 51, 2324, 1220, 22145, 499, 222, 842, 418, 352, 1066, 45, 3404, 51, 1262, 731, 303, 1950, 100, 444, 299, 4590, 51, 16347, 459, 176, 252, 3994, 44, 2808, 411, ...
[ "import", "Ġdatetime", "Ċ", "from", "Ġdjango", ".", "db", "Ġimport", "Ġmodels", "Ċ", "Ċ", "from", "Ġdjango", ".", "utils", "Ġimport", "Ġtimezone", "ĊĊ", "Ċ", "class", "ĠA", "co", "ount", "(", "models", ".", "Model", "):", "ĊĠĠĠ", "Ġfirst", "_", "name", ...
[ 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 3, 4, 4, 4, 4, 4, 4, 4, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9...
[ 1, 7, 16, 1, 5, 12, 13, 15, 22, 29, 1, 1, 5, 12, 13, 18, 25, 34, 1, 1, 6, 8, 10, 14, 15, 21, 22, 27, 29, 4, 10, 11, 15, 17, 24, 25, 34, 36, 36, 37, 38, 39, 40, 42, 46, 47, 53, 54, 55, 56, 57, 4, 9, 10, 14, ...
3f8c13be547099aa6612365452926db95828b9a0
from setuptools import setup setup( name="RedHatSecurityAdvisory", version="0.1", description="Script that automatically checks the RedHat security advisories to see if a CVE applies", author="Pieter-Jan Moreels", url="https://github.com/PidgeyL/RedHat-Advisory-Checker", entry_points={"console_...
[ 1097, 29910, 1220, 4721, 222, 222, 5536, 45, 303, 655, 366, 4038, 41546, 5196, 1785, 1893, 647, 411, 303, 1522, 366, 53, 51, 54, 411, 303, 3066, 366, 3223, 708, 6936, 9378, 341, 4777, 41546, 7669, 1564, 1893, 3121, 391, 2337, 434, 3...
[ "from", "Ġsetuptools", "Ġimport", "Ġsetup", "Ċ", "Ċ", "setup", "(", "ĊĠĠĠ", "Ġname", "=\"", "Red", "Hat", "Security", "Ad", "vis", "ory", "\",", "ĊĠĠĠ", "Ġversion", "=\"", "0", ".", "1", "\",", "ĊĠĠĠ", "Ġdescription", "=\"", "Script", "Ġthat", "Ġautomatica...
[ 1, 1, 1, 1, 1, 2, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8...
[ 1, 5, 16, 23, 29, 1, 1, 6, 7, 4, 9, 11, 14, 17, 25, 27, 30, 33, 35, 4, 12, 14, 15, 16, 17, 19, 4, 16, 18, 24, 29, 43, 50, 54, 58, 61, 70, 73, 76, 81, 84, 88, 91, 93, 97, 105, 107, 4, 11, 13, 14, 17, 19, 20, 2...
5ef65ace397be17be62625ed27b5753d15565d61
from abc import ABC, abstractmethod class DatasetFileManager(ABC): @abstractmethod def read_dataset(self): pass
[ 1097, 20701, 1220, 41449, 49, 5560, 1978, 499, 222, 842, 19265, 45275, 45, 16701, 731, 303, 496, 37664, 303, 684, 1511, 100, 5709, 45, 803, 731, 310, 3119, 222 ]
[ "from", "Ġabc", "Ġimport", "ĠABC", ",", "Ġabstract", "method", "ĊĊ", "Ċ", "class", "ĠDataset", "FileManager", "(", "ABC", "):", "ĊĠĠĠ", "Ġ@", "abstractmethod", "ĊĠĠĠ", "Ġdef", "Ġread", "_", "dataset", "(", "self", "):", "ĊĠĠĠĠĠĠĠ", "Ġpass", "Ċ" ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 3, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7 ]
[ 1, 5, 9, 16, 20, 21, 30, 36, 1, 1, 6, 14, 25, 26, 29, 31, 4, 6, 20, 4, 8, 13, 14, 21, 22, 26, 28, 8, 13 ]
236dd70dec8d53062d6c38c370cb8f11dc5ef9d0
import thinkbayes2 as thinkbayes from thinkbayes2 import Pmf import thinkplot class Dice2(Pmf): def __init__(self, sides): Pmf.__init__(self) for x in range(1, sides + 1): self.Set(x, 1) self.Normalize() if __name__ == "__main__": d6 = Dice2(6) dices = [d6] * 6 th...
[ 485, 3558, 26773, 326, 55, 641, 3558, 26773, 326, 222, 1097, 3558, 26773, 326, 55, 1220, 466, 10599, 222, 485, 3558, 3570, 499, 222, 842, 493, 584, 55, 45, 85, 10599, 731, 303, 684, 1176, 1683, 3232, 803, 49, 29820, 731, 310, 466, ...
[ "import", "Ġthink", "bay", "es", "2", "Ġas", "Ġthink", "bay", "es", "Ċ", "from", "Ġthink", "bay", "es", "2", "Ġimport", "ĠP", "mf", "Ċ", "import", "Ġthink", "plot", "ĊĊ", "Ċ", "class", "ĠD", "ice", "2", "(", "P", "mf", "):", "ĊĠĠĠ", "Ġdef", "Ġ__", ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1...
[ 1, 7, 13, 16, 18, 19, 22, 28, 31, 33, 1, 5, 11, 14, 16, 17, 24, 26, 28, 1, 7, 13, 17, 1, 1, 6, 8, 11, 12, 13, 14, 16, 18, 4, 8, 11, 15, 18, 22, 23, 29, 31, 8, 10, 12, 15, 19, 22, 26, 27, 8, 12, 14, 17, 23, ...
b9bd1c0f4a5d2e6eeb75ba4f27d33ad5fb22530e
# coding: utf-8 """ Upbit Open API ## REST API for Upbit Exchange - Base URL: [https://api.upbit.com] - Official Upbit API Documents: [https://docs.upbit.com] - Official Support email: [open-api@upbit.com] # noqa: E501 OpenAPI spec version: 1.0.0 Contact: ujhin942@gmail.com Generated by: https://github.com/swagger...
[ 40, 10633, 63, 6471, 50, 61, 222, 222, 3012, 222, 1405, 2417, 3944, 2347, 222, 222, 452, 12437, 2347, 456, 2791, 2417, 20034, 449, 3787, 3846, 63, 447, 662, 574, 1256, 51, 436, 2417, 51, 527, 98, 449, 43754, 583, 2791, 2417, 2347, ...
[ "#", "Ġcoding", ":", "Ġutf", "-", "8", "Ċ", "Ċ", "\"\"\"", "Ċ", "Up", "bit", "ĠOpen", "ĠAPI", "Ċ", "Ċ", "##", "ĠREST", "ĠAPI", "Ġfor", "ĠUp", "bit", "ĠExchange", "Ġ-", "ĠBase", "ĠURL", ":", "Ġ[", "https", "://", "api", ".", "up", "bit", ".", "com...
[ 1, 1, 1, 1, 1, 1, 1, 2, 3, 3, 4, 4, 4, 4, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6...
[ 1, 2, 9, 10, 14, 15, 16, 1, 1, 4, 1, 3, 6, 11, 15, 1, 1, 3, 8, 12, 16, 19, 22, 31, 33, 38, 42, 43, 45, 50, 53, 56, 57, 59, 62, 63, 66, 67, 69, 75, 78, 81, 84, 88, 98, 99, 101, 106, 109, 113, 114, 116, 119, 120,...
d1dc807ecc92d9108db2c9bd00ee9781e174a1aa
from datetime import datetime from django.core import mail from entity_event import context_loader from entity_emailer.models import Email from entity_emailer.utils import ( get_medium, get_from_email_address, get_subscribed_email_addresses, create_email_message, extract_email_subject_from_html_c...
[ 1097, 7181, 1220, 7181, 222, 222, 1097, 8532, 51, 1284, 1220, 10863, 222, 1097, 4436, 100, 1585, 1220, 1637, 100, 4579, 222, 222, 1097, 4436, 100, 1951, 284, 51, 3404, 1220, 10028, 222, 222, 1097, 4436, 100, 1951, 284, 51, 2324, 1220,...
[ "from", "Ġdatetime", "Ġimport", "Ġdatetime", "Ċ", "Ċ", "from", "Ġdjango", ".", "core", "Ġimport", "Ġmail", "Ċ", "from", "Ġentity", "_", "event", "Ġimport", "Ġcontext", "_", "loader", "Ċ", "Ċ", "from", "Ġentity", "_", "email", "er", ".", "models", "Ġimport"...
[ 1, 1, 1, 1, 1, 2, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, ...
[ 1, 5, 14, 21, 30, 1, 1, 5, 12, 13, 17, 24, 29, 1, 5, 12, 13, 18, 25, 33, 34, 40, 1, 1, 5, 12, 13, 18, 20, 21, 27, 34, 40, 1, 1, 5, 12, 13, 18, 20, 21, 26, 33, 35, 4, 8, 9, 15, 16, 4, 8, 9, 13, 14, 19, 20, ...
7a1be5c9c48413ba1969631e99ecb45cf15ef613
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models import django.core.validators class Migration(migrations.Migration): dependencies = [ ("Registration", "0015_auto_20150525_1815"), ] operations = [ migrations.AlterField( ...
[ 40, 8571, 10633, 63, 6471, 50, 61, 8571, 222, 1097, 1176, 9689, 523, 1220, 15393, 100, 30828, 222, 222, 1097, 8532, 51, 1219, 1220, 12520, 49, 4590, 222, 485, 8532, 51, 1284, 51, 24878, 499, 222, 842, 18572, 45, 19772, 51, 12071, 73...
[ "#", "Ġ-*-", "Ġcoding", ":", "Ġutf", "-", "8", "Ġ-*-", "Ċ", "from", "Ġ__", "future", "__", "Ġimport", "Ġunicode", "_", "literals", "Ċ", "Ċ", "from", "Ġdjango", ".", "db", "Ġimport", "Ġmigrations", ",", "Ġmodels", "Ċ", "import", "Ġdjango", ".", "core", ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 7, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, ...
[ 1, 2, 6, 13, 14, 18, 19, 20, 24, 1, 5, 8, 14, 16, 23, 31, 32, 40, 1, 1, 5, 12, 13, 15, 22, 33, 34, 41, 1, 7, 14, 15, 19, 20, 30, 1, 1, 6, 16, 17, 27, 28, 37, 39, 4, 17, 19, 21, 8, 11, 23, 25, 27, 28, 29, 30...
34b23e80b3c4aaf62f31c19fee0b47ace1561a8c
# cor = input('Escolha uma cor: ') # print(f"Cor escolhida {cor:=^10}\n" # f"Cor escolhida {cor:>10}\n" # f"Cor escolhida {cor:<10}\n") n1 = 7 n2 = 3 # print(f'Soma {n1+n2}') s = n1 + n2 m = n1 * n2 d = n1 / n2 di = n1 // n2 e = n1**n2 print(f"s = {s}\n m = {m}\n d = {d:.2f}\n di = {di}\n e = {e}", end="")
[ 40, 6715, 299, 1533, 482, 17583, 770, 4958, 9432, 6715, 63, 11172, 222, 40, 1489, 45, 107, 39, 8714, 47553, 109, 8802, 320, 2881, 13639, 99, 54, 53, 4127, 115, 39, 222, 40, 315, 39, 8714, 47553, 109, 8802, 320, 2881, 63, 67, 54, ...
[ "#", "Ġcor", "Ġ=", "Ġinput", "('", "Es", "col", "ha", "Ġuma", "Ġcor", ":", "Ġ')", "Ċ", "#", "Ġprint", "(", "f", "\"", "Cor", "Ġescol", "h", "ida", "Ġ{", "cor", ":=", "^", "1", "0", "}\\", "n", "\"", "Ċ", "#", "Ġf", "\"", "Cor", "Ġescol", "h",...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4...
[ 1, 2, 6, 8, 14, 16, 18, 21, 23, 27, 31, 32, 35, 1, 2, 8, 9, 10, 11, 14, 20, 21, 24, 26, 29, 31, 32, 33, 34, 36, 37, 38, 1, 2, 4, 5, 8, 14, 15, 18, 20, 23, 24, 25, 26, 27, 29, 30, 31, 1, 2, 4, 5, 8, 14, 15, ...
c52d1c187edb17e85a8e2b47aa6731bc9a41ab1b
print("Hello Workls!")
[ 1243, 459, 8302, 6352, 3259, 16013, 222 ]
[ "print", "(\"", "Hello", "ĠWork", "ls", "!\")", "Ċ" ]
[ 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 6, 8, 13, 18, 20, 23 ]