org_text
stringlengths
830
329k
texts
list
scores
list
num_lines
int64
1
8.05k
avg_score
float64
0
0.27
check
bool
1 class
from django.http import HttpResponse from django.core.servers.basehttp import FileWrapper import csv, codecs, cStringIO from feedback2013.models import Subject, Student, Score, Feedback class UnicodeWriter: """ A CSV writer which will write rows to CSV file "f", which is encoded in the given encoding. """ def...
[ "from django.http import HttpResponse\n", "from django.core.servers.basehttp import FileWrapper\n", "import csv, codecs, cStringIO\n", "\n", "from feedback2013.models import Subject, Student, Score, Feedback\n", "\n", "\n", "class UnicodeWriter:\n", "\t\"\"\"\n", "\tA CSV writer which will write r...
[ 0, 0, 0.03333333333333333, 0, 0, 0, 0, 0, 0.2, 0.018867924528301886, 0.024390243902439025, 0.2, 0, 0.014492753623188406, 0.03225806451612903, 0.027777777777777776, 0.015625, 0.05555555555555555, 0.017241379310344827, 0, 0.038461538461538464, 0.017543859649122806, 0.023809...
90
0.063146
false
#FLM: Component Dump # Version 2.0 # # Will look through a font and write out a text file that lists any glyph with a # component(s), one glyph per line of the file. On each line, the script writes # the glyph name, the width of the glyph, and then each component name and x, y # offset for that compnent. These values ...
[ "#FLM: Component Dump\n", "# Version 2.0\n", "#\n", "# Will look through a font and write out a text file that lists any glyph with a\n", "# component(s), one glyph per line of the file. On each line, the script writes\n", "# the glyph name, the width of the glyph, and then each component name and x, y\n"...
[ 0.047619047619047616, 0, 0, 0.012345679012345678, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.3333333333333333, 0, 0.3333333333333333, 0, 0, 0, 0, 0, 0, 0.3333333333333333, 0.012345679012345678, 0, 0.3333333333333333, 0, 0, 0, 0, 0, 0, 0...
76
0.027366
false
# -*- coding: utf-8 -*- # ProjectEuler/src/python/problem109.py # # Darts # ===== # Published on Friday, 18th November 2005, 06:00 pm # # In the game of darts a player throws three darts at a target board which is # split into twenty equal sized sections numbered one to twenty. The score # of a dart is determined b...
[ "# -*- coding: utf-8 -*-\n", "# ProjectEuler/src/python/problem109.py\n", "#\n", "# Darts\n", "# =====\n", "# Published on Friday, 18th November 2005, 06:00 pm\n", "#\n", "# In the game of darts a player throws three darts at a target board which is\n", "# split into twenty equal sized sections numb...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.08333333333333333, 0, 0, 0.037037037037037035, 0 ]
41
0.002936
false
import cv2 from PyQt5.QtWidgets import QErrorMessage #from socket import socket #from pickle import loads from Socket import Socket class CannotReadFrame(BaseException) : pass class StreamReader : def __init__(self) : self._server = None self._capturedDevice = None pass def conne...
[ "import cv2\n", "from PyQt5.QtWidgets import QErrorMessage\n", "#from socket import socket\n", "#from pickle import loads\n", "from Socket import Socket\n", "\n", "class CannotReadFrame(BaseException) :\n", " pass\n", "\n", "class StreamReader :\n", " def __init__(self) :\n", " se...
[ 0, 0, 0.037037037037037035, 0.038461538461538464, 0, 0, 0.05128205128205128, 0, 0, 0.09523809523809523, 0.04, 0, 0, 0, 0, 0.08771929824561403, 0, 0, 0, 0.030303030303030304, 0, 0.11764705882352941, 0, 0, 0.02857142857142857, 0, 0, 0.009900990099009901, 0, 0....
93
0.027124
false
#!/usr/bin/env python # coding: UTF-8 print('Hello World!') #如果try中有异常发生时,将执行异常的归属,执行except。 #异常层层比较,看是否是exception1, exception2...,直到找到其归属,执行相应的except中的语句。 #如果except后面没有任何参数,那么表示所有的exception都交给这段程序处理。 re1 = iter(range(5)) try: #当循环进行到第6次的时候,re.next()不会再返回元素,而是抛出(raise)StopIteration的异常。 for i in range(100): ...
[ "#!/usr/bin/env python\n", "# coding: UTF-8\n", "\n", "print('Hello World!')\n", "\n", "#如果try中有异常发生时,将执行异常的归属,执行except。\n", "#异常层层比较,看是否是exception1, exception2...,直到找到其归属,执行相应的except中的语句。\n", "#如果except后面没有任何参数,那么表示所有的exception都交给这段程序处理。\n", "re1 = iter(range(5))\n", "try:\n", " #当循环进行到第6次的时...
[ 0, 0, 0, 0, 0, 0.030303030303030304, 0.015873015873015872, 0.022222222222222223, 0, 0, 0.015625, 0, 0.03225806451612903, 0, 0.06896551724137931, 0, 0, 0.125, 0.03125, 0.024390243902439025, 0, 0, 0, 0, 0, 0, 0.029411764705882353, 0, 0.05555555555555555, 0.023...
114
0.068821
false
# -*- encoding: utf-8 -*- ############################################################################## # # OrgFileExporter, a python module exporter for exporting WikidPad files to # orgfiles. # Copyright (c) 2012 Josep Mones Teixidor # All rights reserved. # # # Redistribution and use in sour...
[ "# -*- encoding: utf-8 -*-\n", "##############################################################################\n", "#\n", "# OrgFileExporter, a python module exporter for exporting WikidPad files to\n", "# orgfiles.\n", "# Copyright (c) 2012 Josep Mones Teixidor\n", "# All rights reserved.\n...
[ 0, 0, 0, 0, 0, 0, 0, 0.16666666666666666, 0.16666666666666666, 0.011627906976744186, 0, 0.16666666666666666, 0.012195121951219513, 0, 0.011764705882352941, 0.011764705882352941, 0, 0.011904761904761904, 0.012345679012345678, 0, 0.16666666666666666, 0.16666666666666666, 0....
496
0.013093
false
# Copyright (C) 2009 Tim Gaggstatter <Tim.Gaggstatter AT gmx DOT net> # Copyright (C) 2010 Eduardo Robles Elvira <edulix AT gmail DOT com> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundatio...
[ "# Copyright (C) 2009 Tim Gaggstatter <Tim.Gaggstatter AT gmx DOT net>\n", "# Copyright (C) 2010 Eduardo Robles Elvira <edulix AT gmail DOT com>\n", "#\n", "# This program is free software: you can redistribute it and/or modify\n", "# it under the terms of the GNU Affero General Public License as published ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.038461538461538464, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.034482758620689655, ...
200
0.00296
false
RowNum = int(input("Row: ")) ColumnNum = int(input("Column: ")) MatrixRow = [] MatrixColumn = [] for i in range(0, RowNum): for j in range(0, ColumnNum): MatrixColumn.append(j) MatrixRow.append(MatrixColumn) MatrixColumn = [] LineIndex = 0 j = 1 Max = ColumnNum * RowNum while 1: for i in range...
[ "RowNum = int(input(\"Row: \"))\n", "ColumnNum = int(input(\"Column: \"))\n", "MatrixRow = []\n", "MatrixColumn = []\n", "for i in range(0, RowNum):\n", " for j in range(0, ColumnNum):\n", " MatrixColumn.append(j)\n", " MatrixRow.append(MatrixColumn)\n", " MatrixColumn = []\n", "Li...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.038461538461538464, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
38
0.001012
false
# -*- coding: utf-8 -*- # ProjectEuler/src/python/problem428.py # # Necklace of circles # =================== # Published on Sunday, 19th May 2013, 01:00 am # # Let a, b and c be positive numbers. Let W, X, Y, Z be four collinear points # where |WX| = a, |XY| = b, |YZ| = c and |WZ| = a + b + c. Let Cin be the # circ...
[ "# -*- coding: utf-8 -*-\n", "# ProjectEuler/src/python/problem428.py\n", "#\n", "# Necklace of circles\n", "# ===================\n", "# Published on Sunday, 19th May 2013, 01:00 am\n", "#\n", "# Let a, b and c be positive numbers. Let W, X, Y, Z be four collinear points\n", "# where |WX| = a, |XY...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.08333333333333333, 0, 0, 0.037037037037037035, 0 ]
27
0.004458
false
# This file is part of Plex:CS. # # Plex:CS is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Plex:CS is distributed in the ho...
[ "# This file is part of Plex:CS.\n", "#\n", "# Plex:CS is free software: you can redistribute it and/or modify\n", "# it under the terms of the GNU General Public License as published by\n", "# the Free Software Foundation, either version 3 of the License, or\n", "# (at your option) any later version...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.007692307692307693, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
438
0.002839
false
""" Represents the Depend settings """ # Always try to import cElementTree since it's faster if it exists try: import xml.etree.cElementTree as ET except ImportError: import xml.etree.ElementTree as ET import platform from os.path import join, abspath, exists from pylib.logwrapper import LogWrapper from pyli...
[ "\"\"\"\n", "Represents the Depend settings\n", "\"\"\"\n", "\n", "# Always try to import cElementTree since it's faster if it exists\n", "try:\n", " import xml.etree.cElementTree as ET\n", "except ImportError:\n", " import xml.etree.ElementTree as ET\n", "\n", "import platform\n", "from...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.03333333333333333, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.04, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
114
0.001588
false
# coding: UTF-8 # Name: 配置信息 # Author: LYC # Created: 2014-04-08 import re class Configuration(object): """ 配置 """ UserDeclarator = ":" VarPrefix = "$" FuncPrefix = "#" ConstantPrefix = "$$" VarRealPrefix = "_" FuncRealPrefix = "func_" UnknownNumber = "$$" AnswerConstant...
[ "# coding: UTF-8\n", "# Name: 配置信息\n", "# Author: LYC\n", "# Created: 2014-04-08\n", "\n", "import re\n", "\n", "class Configuration(object):\n", " \"\"\"\n", " 配置\n", " \"\"\"\n", " UserDeclarator = \":\"\n", " VarPrefix = \"$\"\n", " FuncPrefix = \"#\"\n", " Consta...
[ 0, 0, 0, 0, 0, 0, 0, 0.034482758620689655, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.07272727272727272, 0.05454545454545454, 0, 0, 0, 0.043478260869565216, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
56
0.004223
false
# -*- coding: utf-8 -*- """ Region - descendant class of BaseRegion. """ import datetime import os import time from common_exceptions import FailExit, FindFailed from Location import Location from BaseRegion import BaseRegion, logger, DELAY_BETWEEN_CV_ATTEMPT from Match import Match from Pattern im...
[ "# -*- coding: utf-8 -*-\r\n", "\r\n", "\"\"\"\r\n", " Region - descendant class of BaseRegion.\r\n", "\"\"\"\r\n", "\r\n", "import datetime\r\n", "import os\r\n", "import time\r\n", "\r\n", "from common_exceptions import FailExit, FindFailed\r\n", "from Location import Location\r\n", "fro...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.011904761904761904, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.011235955056179775, 0, 0, 0, 0, 0, 0, 0, 0, ...
343
0.001366
false
# Used for perf measurements. Defines a simple function and makes 100 calls in a row. # I ran 10K calls, total 1 million invocations, total time is around 250ms on my laptop (64bit 2.7GHz, Release mode, running .exe directly, no debugger); # 0.4 microseconds per call. m = 5 def addm(x, y): x + y + m x = addm(1...
[ "# Used for perf measurements. Defines a simple function and makes 100 calls in a row.\n", "# I ran 10K calls, total 1 million invocations, total time is around 250ms on my laptop (64bit 2.7GHz, Release mode, running .exe directly, no debugger);\n", "# 0.4 microseconds per call. \n", "\n", "m = 5\n", "\n"...
[ 0.011627906976744186, 0.006493506493506494, 0.03333333333333333, 0, 0, 0, 0.0625, 0.08333333333333333, 0.3333333333333333, 0.06666666666666667, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
119
0.013423
false
from django import template register = template.Library() """ Will be included in 1.4 """ @register.filter() def truncatechars(value, length): """ truncate after a certain number of characters, if the last character is not space truncate at the next space Edit by Taco: Now a...
[ "from django import template\n", "\n", "register = template.Library()\n", "\n", "\"\"\"\n", " Will be included in 1.4\n", "\"\"\"\n", "\n", "@register.filter()\n", "def truncatechars(value, length):\n", " \"\"\"\n", " truncate after a certain number of characters,\n", " i...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0.05263157894736842, 0, 0, 0, 0, 0.1111111111111111, 0, 0, 0, 0, 0.045454545454545456, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.029411764705882353, 0, 0, 0, 0.1111111111111111, 0, 0, 0, 0.027027027...
61
0.010695
false
#!/usr/bin/env python #coding:utf-8 # Author: mozman # Purpose: a hack to generate XML containing CDATA by ElementTree # Created: 26.05.2012 # Copyright (C) 2012, Manfred Moitzi # License: GPLv3 # usage: # # from svgwrite.etree import etree, CDATA # # element = etree.Element('myTag') # element.append(CD...
[ "#!/usr/bin/env python\r\n", "#coding:utf-8\r\n", "# Author: mozman\r\n", "# Purpose: a hack to generate XML containing CDATA by ElementTree\r\n", "# Created: 26.05.2012\r\n", "# Copyright (C) 2012, Manfred Moitzi\r\n", "# License: GPLv3\r\n", "\r\n", "# usage:\r\n", "#\r\n", "# from svgwrite.e...
[ 0, 0.06666666666666667, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.02564102564102564, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.16666666666666666, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.011494252873563218, 0, 0, 0, 0, ...
56
0.007806
false
# -*- coding: utf-8 -*- ############################################################################################### # # MediaPortal for Dreambox OS # # Coded by MediaPortal Team (c) 2013-2017 # # This plugin is open source but it is NOT free software. # # This plugin may only be distributed to and executed...
[ "# -*- coding: utf-8 -*-\n", "###############################################################################################\n", "#\n", "# MediaPortal for Dreambox OS\n", "#\n", "# Coded by MediaPortal Team (c) 2013-2017\n", "#\n", "# This plugin is open source but it is NOT free software.\n",...
[ 0, 0.010416666666666666, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.011235955056179775, 0, 0.010638297872340425, 0, 0, 0, 0, 0, 0, 0.011235955056179775, 0, 0, 0.009174311926605505, 0.011627906976744186, 0, 0, 0.011235955056179775, 0.01098901098901099, 0.0120481927710...
256
0.031371
false
# -*- coding: UTF-8 -*- # Задача 8. Вариант 15. # # Доработайте игру "Анаграммы" (см. М.Доусон Программируем на Python. Гл.4) так, чтобы к каждому слову полагалась подсказка. Игрок должен получать право на подсказку в том случае, если у него нет никаких предположений. Разработайте систему начисления очков, по кото...
[ "# -*- coding: UTF-8 -*-\r\n", "# Задача 8. Вариант 15.\r\n", "# \r\n", "# Доработайте игру \"Анаграммы\" (см. М.Доусон Программируем на Python. Гл.4) так, чтобы к каждому слову полагалась подсказка. Игрок должен получать право на подсказку в том случае, если у него нет никаких предположений. Разработайте сис...
[ 0, 0, 0.25, 0.002793296089385475, 0, 0, 0, 0, 0.09278350515463918, 0.04672897196261682, 0.047619047619047616, 0.043859649122807015, 0.025, 0.037037037037037035, 0.07142857142857142, 0.09090909090909091, 0.16666666666666666, 0.16666666666666666, 0.125, 0, 0.023809523809523808,...
43
0.048057
false
# -*- coding: utf-8 -*- # Copyright (C) 2009 PSchem Contributors (see CONTRIBUTORS for details) # This file is part of PSchem Database # PSchem is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, eithe...
[ "# -*- coding: utf-8 -*-\n", "\n", "# Copyright (C) 2009 PSchem Contributors (see CONTRIBUTORS for details)\n", "\n", "# This file is part of PSchem Database\n", " \n", "# PSchem is free software: you can redistribute it and/or modify\n", "# it under the terms of the GNU Lesser General Public License ...
[ 0, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.045454545454545456, 0, 0, 0, 0.045454545454545456, 0, 0, 0.043478260869565216, 0, 0.05555555555555555, 0, 0, 0, 0, 0, 0.07692307692307693, 0, 0, 0, 0.1111111111111111, 0, 0, ...
526
0.015904
false
#!/usr/bin/env python # # VM Backup extension # # Copyright 2014 Microsoft Corporation # # 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 # # ...
[ "#!/usr/bin/env python\n", "#\n", "# VM Backup extension\n", "#\n", "# Copyright 2014 Microsoft Corporation\n", "#\n", "# Licensed under the Apache License, Version 2.0 (the \"License\");\n", "# you may not use this file except in compliance with the License.\n", "# You may obtain a copy of the Lice...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.041666666666666664, 0, 0.03225806451612903, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.007633587786259542, 0, 0.014285714285714285, 0.020689655172413793, 0.2, ...
49
0.006756
false
#!/usr/bin/env python3.2 import http.client #class InvalidResponse(http.client.HTTPException): # """ Exception raised when the Closure Compilder URL # returned an HTTP return code other than 200 """ # def __init__(self, code, message): # self.code = code # self.message = message ...
[ "#!/usr/bin/env python3.2\r\n", "\r\n", "import http.client\r\n", "\r\n", "#class InvalidResponse(http.client.HTTPException):\r\n", "# \"\"\" Exception raised when the Closure Compilder URL\r\n", "# returned an HTTP return code other than 200 \"\"\"\r\n", "# def __init__(self, code, messa...
[ 0, 0, 0, 0, 0.019230769230769232, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.009345794392523364, 0.08333333333333333, 0, 0.02127659574468085, 0.018867924528301886, 0.029411764705882353, 0.1, 0, 0, 0, 0, 0.043478260869565216, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
160
0.005722
false
# coding: utf-8 #------------------------------------------------------------------------- # Copyright (c) Microsoft. 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 #...
[ "# coding: utf-8\n", "\n", "#-------------------------------------------------------------------------\n", "# Copyright (c) Microsoft. All rights reserved.\n", "#\n", "# Licensed under the Apache License, Version 2.0 (the \"License\");\n", "# you may not use this file except in compliance with the Lice...
[ 0, 0, 0.013333333333333334, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.013157894736842105, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.08695652173913043, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.03125, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
389
0.004203
false
elif msg.text in ["/listgroup","/Listgroup"]: gid = cl.getGroupIdsJoined() h = "" for i in gid: h += "[=> %s\n" % (cl.getGroup(i).name) cl.sendText(msg.to,h) def autolike(): for zx in range(0,20): ...
[ "elif msg.text in [\"/listgroup\",\"/Listgroup\"]:\r\n", " gid = cl.getGroupIdsJoined()\r\n", " h = \"\"\r\n", " for i in gid:\r\n", " h += \"[=> %s\\n\" % (cl.getGroup(i).name)\r\n", " cl.sendText(msg.to,h)\r\n", " ...
[ 0.02127659574468085, 0.021739130434782608, 0, 0, 0, 0.02564102564102564, 0.05555555555555555, 0.058823529411764705, 0.03571428571428571, 0, 0.014705882352941176, 0.06666666666666667, 0.022222222222222223, 0.01675977653631285, 0.022222222222222223, 0.01675977653631285, 0, 0.05882352...
228
0.002302
false
import wsgi_intercept.webtest_intercept from applications.sahana.modules.s3.s3test import WSGI_Test class CR_Test(WSGI_Test): """ Extended version of WSGI_Test for Shelter Registry. Designed to be run from Web2Py shell Copy to modules folder & run as: from applications.sahana.m...
[ "import wsgi_intercept.webtest_intercept\n", "from applications.sahana.modules.s3.s3test import WSGI_Test\n", "\n", "class CR_Test(WSGI_Test):\n", " \"\"\"\n", " Extended version of WSGI_Test for Shelter Registry.\n", " Designed to be run from Web2Py shell\n", " Copy to modules...
[ 0, 0, 0, 0.038461538461538464, 0, 0, 0, 0, 0, 0, 0.011904761904761904, 0, 0.2, 0, 0, 0, 0, 0, 0.1111111111111111, 0.041666666666666664, 0, 0.011627906976744186, 0, 0, 0, 0.03333333333333333, 0.03225806451612903, 0, 0, 0, 0.038461538461538464, 0, 0, 0...
84
0.01613
false
#--------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. #--------------------------------------------------------------------...
[ "#---------------------------------------------------------------------------------------------\n", "# Copyright (c) Microsoft Corporation. All rights reserved.\n", "# Licensed under the MIT License. See License.txt in the project root for license information.\n", "#-------------------------------------------...
[ 0.021052631578947368, 0, 0.010526315789473684, 0.021052631578947368, 0.03225806451612903, 0.0273972602739726, 0, 0, 0, 0.011363636363636364, 0.010752688172043012, 0.00980392156862745, 0.008130081300813009, 0.007462686567164179, 0, 0.00510204081632653, 0.006993006993006993, 0.006802...
62
0.022507
false
# coding:utf-8 ''' sudoku augmented reality v1.0 with python solver from web winxos 2016-03-02 ''' import cv2 import numpy as np import time from datetime import datetime import math from sudokuSlove import Sudoku digits=[0 for i in range(10)] for i in range(9): digits[i]=cv2.imread("%d.png"%(i+1),0) def find(img)...
[ "# coding:utf-8\n", "'''\n", "sudoku augmented reality v1.0 with python\n", "solver from web\n", "winxos 2016-03-02\n", "'''\n", "import cv2\n", "import numpy as np\n", "import time\n", "from datetime import datetime\n", "import math\n", "from sudokuSlove import Sudoku\n", "digits=[0 for i i...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.03333333333333333, 0, 0.06976744186046512, 0.06666666666666667, 0.01818181818181818, 0.125, 0.1, 0, 0.045454545454545456, 0.05555555555555555, 0.05555555555555555, 0.047619047619047616, 0.058823529411764705, 0.058823529411764705...
228
0.020026
false
#------------------------------------------------------------------------- # Copyright (c) Microsoft. 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.apa...
[ "#-------------------------------------------------------------------------\n", "# Copyright (c) Microsoft. All rights reserved.\n", "#\n", "# Licensed under the Apache License, Version 2.0 (the \"License\");\n", "# you may not use this file except in compliance with the License.\n", "# You may obtain a ...
[ 0.013333333333333334, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.013157894736842105, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
35
0.000757
false
# -*- coding: utf-8 -*- # ------------------------------------------------------------ # pelisalacarta - XBMC Plugin # Conector para nowvideo # http://blog.tvalacarta.info/plugin-xbmc/pelisalacarta/ # ------------------------------------------------------------ # Credits: # Unwise and main algorithm taken from Eldorad...
[ "# -*- coding: utf-8 -*-\n", "# ------------------------------------------------------------\n", "# pelisalacarta - XBMC Plugin\n", "# Conector para nowvideo\n", "# http://blog.tvalacarta.info/plugin-xbmc/pelisalacarta/\n", "# ------------------------------------------------------------\n", "# Credits:\...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.02702702702702703, 0, 0, 0, 0, 0, 0, 0, 0.010309278350515464, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.011764705882352941, 0, 0, 0, 0.010869565217391304, 0, 0, 0, 0, 0, 0, 0, 0, 0...
234
0.002375
false
# -*- coding: utf-8 -*- # Copyright 2015 Ivebo. # #This program is free software: you can redistribute it and/or modify #it under the terms of the GNU General Public License as published by #the Free Software Foundation, either version 3 of the License, or #(at your option) any later version. #This program is distrib...
[ "# -*- coding: utf-8 -*-\n", "# Copyright 2015 Ivebo.\n", "#\n", "#This program is free software: you can redistribute it and/or modify\n", "#it under the terms of the GNU General Public License as published by\n", "#the Free Software Foundation, either version 3 of the License, or\n", "#(at your option...
[ 0, 0, 0, 0.014285714285714285, 0.014285714285714285, 0.014925373134328358, 0.02702702702702703, 0, 0.015384615384615385, 0.015625, 0.015873015873015872, 0.021739130434782608, 0, 0.014925373134328358, 0.014084507042253521, 0, 0, 0.047619047619047616, 0, 0, 0, 0.1111111111111...
87
0.012269
false
#! /usr/bin/env python3 # -*- coding: utf-8 -*- """ Project: Telugu OCR Author : Rakeshvara Rao License: GNU GPL 3.0 This module contains functions that take a unicode Telugu string and break it up in to pieces. E.g:- the letter స is broken in to a ✓ and a bottom part represented as స again. ...
[ "#! /usr/bin/env python3\n", "# -*- coding: utf-8 -*-\n", "\"\"\"\n", " Project: Telugu OCR\n", " Author : Rakeshvara Rao\n", " License: GNU GPL 3.0\n", "\n", " This module contains functions that take a unicode Telugu string and \n", " break it up in to pieces. E.g:- the letter స is ...
[ 0, 0, 0, 0, 0, 0, 0, 0.013513513513513514, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.02040816326530612, 0, 0, 0, 0.029411764705882353, 0, 0, 0, 0, 0.02564102564102564, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
124
0.001524
false
from django.shortcuts import get_object_or_404, render from django.http import Http404, HttpResponse, HttpResponseRedirect from django.core.urlresolvers import reverse from django.views import generic from django.utils import timezone from .models import Question, Choice class IndexView(generic.ListView): templa...
[ "from django.shortcuts import get_object_or_404, render\n", "from django.http import Http404, HttpResponse, HttpResponseRedirect\n", "from django.core.urlresolvers import reverse\n", "from django.views import generic\n", "from django.utils import timezone\n", "\n", "from .models import Question, Choice\...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0.02857142857142857, 0, 0, 0, 0, 0.07692307692307693, 0, 0, 0, 0, 0.015151515151515152, 0, 0.02631578947368421, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.02564102564102564, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.09523809523809523, 0,...
75
0.004143
false
""" This script runs the application using a development server. """ import bottle import os import sys # routes contains the HTTP handlers for our server and must be imported. from routes import index from routes.dtos import crud from routes.dtos import operations as operationsDtos from routes.entities import opera...
[ "\"\"\"\n", "This script runs the application using a development server.\n", "\"\"\"\n", "\n", "import bottle\n", "import os\n", "import sys\n", "\n", "# routes contains the HTTP handlers for our server and must be imported.\n", "from routes import index\n", "from routes.dtos import crud\n", ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.0625, 0, 0, 0, 0, 0.037037037037037035, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
49
0.002031
false
import common, rechat, twitch import xbmcaddon import xbmcgui import xbmc import xbmcvfs import stuff import classes import time from common import Cache, Debugger d = Debugger() Cache.CACHE_PATH = 'special://temp/reXChat/' # d.dialog('script started') addon = xbmcaddon.Addon() # addon.openSettings() addonname =...
[ "import common, rechat, twitch\n", "import xbmcaddon\n", "import xbmcgui\n", "import xbmc\n", "import xbmcvfs\n", "\n", "import stuff\n", "import classes\n", "\n", "import time\n", "\n", "from common import Cache, Debugger\n", "\n", "d = Debugger()\n", "Cache.CACHE_PATH = 'special://tem...
[ 0.03333333333333333, 0, 0, 0, 0, 0, 0, 0, 0, 0.07692307692307693, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.047619047619047616, 0, 0, 0, 0, 0.047619047619047616, 0.011494252873563218, 0.009345794392523364, 0, 0, 0, 0.010309278350515464, 0, ...
208
0.011499
false
# -*- coding: utf-8 -*- # # Copyright (C) 2013 Tristan Fischer (sphere@dersphere.de) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at ...
[ "# -*- coding: utf-8 -*-\n", "#\n", "# Copyright (C) 2013 Tristan Fischer (sphere@dersphere.de)\n", "#\n", "# This program is free software: you can redistribute it and/or modify\n", "# it under the terms of the GNU General Public License as published by\n", "# the Free Software Foundation,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.03225806451612903, 0, 0, 0.03125, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
208
0.000927
false
""" xml2json.py Kailash Nadh, http://nadh.in December 2012 License: MIT License Documentation: http://nadh.in/code/xmlutils.py """ import codecs import xml.etree.ElementTree as et import json class xml2json: def __init__(self, input_file, output_file = None, encoding='utf-8'): """Initialize the ...
[ "\"\"\"\n", "\txml2json.py\n", "\tKailash Nadh, http://nadh.in\n", "\tDecember 2012\n", "\t\n", "\tLicense: MIT License\n", "\tDocumentation: http://nadh.in/code/xmlutils.py\n", "\"\"\"\n", "\n", "import codecs\n", "import xml.etree.ElementTree as et\n", "import json\n", "\n", "c...
[ 0, 0.07692307692307693, 0.03333333333333333, 0.06666666666666667, 1, 0.034482758620689655, 0.0196078431372549, 0, 0, 0, 0, 0, 0, 0.0625, 0, 0.04225352112676056, 0.015873015873015872, 0.037037037037037035, 0, 0.047619047619047616, 0.02857142857142857, 0.02631578947368421, ...
123
0.057774
false
print(""".Language=English,English .Options CtrlColorChar=\\ @Contents=RGB @RGB""") x_step = 16 y_step = 16 def print_color(r, g, b): print(r"\(T0:T{:02X}{:02X}{:02X})".format(r, g, b)) def line(color, light): def out(r, g, b): def with_light(x): return max(0, min(int(x + light), 255)) print_color( wi...
[ "print(\"\"\".Language=English,English\n", ".Options CtrlColorChar=\\\\\n", "\n", "@Contents=RGB\n", "@RGB\"\"\")\n", "\n", "x_step = 16\n", "y_step = 16\n", "\n", "def print_color(r, g, b):\n", "\tprint(r\"\\(T0:T{:02X}{:02X}{:02X})\".format(r, g, b))\n", "\n", "def line(color, light):\n", ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.038461538461538464, 0.018867924528301886, 0, 0.041666666666666664, 0.05263157894736842, 0.047619047619047616, 0.023255813953488372, 0, 0.06666666666666667, 0.05555555555555555, 0.05555555555555555, 0.058823529411764705, 0.25, 0, 0.05, 0, ...
75
0.035649
false
import datetime import aiohttp import discord from config import WarGamingAppID async def wows(cmd, message, args): q = ' '.join(args).lower() game_region, game_username = q.split(maxsplit=1) if game_region == 'na': game_region = 'com' try: url_base = 'https://api.worldofwarships.' + ...
[ "import datetime\n", "import aiohttp\n", "import discord\n", "from config import WarGamingAppID\n", "\n", "\n", "async def wows(cmd, message, args):\n", " q = ' '.join(args).lower()\n", " game_region, game_username = q.split(maxsplit=1)\n", " if game_region == 'na':\n", " game_re...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.006666666666666667, 0, 0, 0, 0.08333333333333333, 0.012048192771084338, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.08333333333333333, 0, 0, 0, 0.006993006993006993, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
102
0.00377
false
#------------------------------------------------------------------------- # Copyright (c) Microsoft. 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.apa...
[ "#-------------------------------------------------------------------------\n", "# Copyright (c) Microsoft. All rights reserved.\n", "#\n", "# Licensed under the Apache License, Version 2.0 (the \"License\");\n", "# you may not use this file except in compliance with the License.\n", "# You may obtain a ...
[ 0.013333333333333334, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.013157894736842105, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.08333333333333333, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.03225806451612903, 0,...
479
0.004648
false
#Задача 10. Вариант 10. #Напишите программу "Генератор персонажей" для игры. Пользователю должно быть предоставлено 30 пунктов, которые можно распределить между четырьмя характеристиками: Сила, Здоровье, Мудрость и Ловкость. Надо сделать так, чтобы пользователь мог не только брать эти пункты из общего "пула", но и во...
[ "#Задача 10. Вариант 10.\n", "\n", "#Напишите программу \"Генератор персонажей\" для игры. Пользователю должно быть предоставлено 30 пунктов, которые можно распределить между четырьмя характеристиками: Сила, Здоровье, Мудрость и Ловкость. Надо сделать так, чтобы пользователь мог не только брать эти пункты из об...
[ 0.041666666666666664, 0, 0.005361930294906166, 0, 0.07692307692307693, 0.08333333333333333, 0.5, 0.09090909090909091, 0.03773584905660377, 0.03278688524590164, 0.018404907975460124, 0, 0.16666666666666666, 0.2, 0.16666666666666666, 0.16666666666666666, 0.1111111111111111, 0.1111111...
58
0.070262
false
# -*- coding: utf-8 -*- #= IMPORT ====================================================================== from src.channel import rpg_channel from src.enums import CHANNEL from src.log import log #= FUNZIONI ==================================================================== def command_whisper(entity, argu...
[ "# -*- coding: utf-8 -*-\n", "\n", "#= IMPORT ======================================================================\n", "\n", "from src.channel import rpg_channel\n", "from src.enums import CHANNEL\n", "from src.log import log\n", "\n", "\n", "#= FUNZIONI ===================================...
[ 0, 0, 0.024691358024691357, 0, 0, 0.03125, 0.03571428571428571, 0, 0, 0.024691358024691357, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.012048192771084338, 0.05263157894736842, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.011904761904761904, 0, 0, 0, 0.05263157894...
38
0.006462
false
################################################################################ ### Copyright © 2012-2013 BlackDragonHunt ### ### This file is part of the Super Duper Script Editor. ### ### The Super Duper Script Editor is free software: you can redistribute it ### and/or modify it under the terms of the GNU Genera...
[ "################################################################################\n", "### Copyright © 2012-2013 BlackDragonHunt\n", "### \n", "### This file is part of the Super Duper Script Editor.\n", "### \n", "### The Super Duper Script Editor is free software: you can redistribute it\n", "### and/...
[ 0.012345679012345678, 0.023809523809523808, 0.2, 0.017857142857142856, 0.2, 0.013157894736842105, 0.013513513513513514, 0.0125, 0.023255813953488372, 0.2, 0.012987012987012988, 0.013333333333333334, 0.015151515151515152, 0.02040816326530612, 0.2, 0.014285714285714285, 0.0217391304347...
654
0.061249
false
# --------------------------------------------------------------------------- # Name: IPP_EuclideanDistance2.py # # Purpose: Creates the Statistical Search Area around the IPP using Ring Model # (25%, 50%, 75% and 95%) based on historical data related to Lost Person # Behavior. Specific subject category is...
[ "# ---------------------------------------------------------------------------\n", "# Name: IPP_EuclideanDistance2.py\n", "#\n", "# Purpose: Creates the Statistical Search Area around the IPP using Ring Model\n", "# (25%, 50%, 75% and 95%) based on historical data related to Lost Person\n", "# ...
[ 0, 0, 0, 0.012345679012345678, 0, 0, 0.012345679012345678, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.024691358024691357, 0, 0, 0, 0, 0, 0, 0.045454545454545456, 0, 0, 0, 0, 0.011904761904761904, 0.017543859649122806, 0....
422
0.01937
false
# -------------------------------------------------------------------------- # # Copyright (c) Microsoft Corporation. All rights reserved. # # The MIT License (MIT) # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the ""Software""),...
[ "# --------------------------------------------------------------------------\n", "#\n", "# Copyright (c) Microsoft Corporation. All rights reserved.\n", "#\n", "# The MIT License (MIT)\n", "#\n", "# Permission is hereby granted, free of charge, to any person obtaining a copy\n", "# of this software a...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
161
0
false
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. # # This work is licensed under the Creative Commons Attribution-NonCommercial # 4.0 International License. To view a copy of this license, visit # http://creativecommons.org/licenses/by-nc/4.0/ or send a letter to # Creative Commons, PO Box 1866, Mountain...
[ "# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.\n", "#\n", "# This work is licensed under the Creative Commons Attribution-NonCommercial\n", "# 4.0 International License. To view a copy of this license, visit\n", "# http://creativecommons.org/licenses/by-nc/4.0/ or send a letter to\n", "# ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.08333333333333333, 0, 0.010101010101010102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.011764705882352941, 0, 0, 0, 0, 0, 0, 0, 0.037037037037037035, 0 ]
45
0.003161
false
#!/usr/bin/python3 # -*- coding: utf-8 -*- import sys import datetime from PyQt5.QtCore import * from PyQt5.QtWidgets import * from PyQt5.QtGui import * import xlsxwriter import conopy.util as util class LinksMenu(QMenu): sections = None win = None view = None def __init__(self, win, parent=None): ...
[ "#!/usr/bin/python3\n", "# -*- coding: utf-8 -*-\n", "\n", "import sys\n", "import datetime\n", "from PyQt5.QtCore import *\n", "from PyQt5.QtWidgets import *\n", "from PyQt5.QtGui import *\n", "import xlsxwriter\n", "import conopy.util as util\n", "\n", "class LinksMenu(QMenu):\n", " sect...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.041666666666666664, 0.05263157894736842, 0.07142857142857142, 0.06666666666666667, 0.04878048780487805, 0.03225806451612903, 0.047619047619047616, 0.05555555555555555, 0.05405405405405406, 0.0625, 0.02127659574468085, 0.04166666666666666...
110
0.034587
false
# QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. # Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. # # 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 Lice...
[ "# QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.\n", "# Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.\n", "#\n", "# Licensed under the Apache License, Version 2.0 (the \"License\");\n", "# you may not use this file except in compliance with the License.\n...
[ 0, 0.012345679012345678, 0, 0, 0, 0.011764705882352941, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.047619047619047616, 0.037037037037037035, 0.029411764705882353, 0.02702702702702703, 0.02127659574468085, 0.018518518518518517, 0.017543859649122806, 0.023809523809523...
53
0.021648
false
# -*- Mode: python; coding: utf-8; tab-width: 8; indent-tabs-mode: t; -*- """ read audio stream from audio file """ import os import struct import xbmcvfs class UnknownFormat(Exception):pass class FormatError(Exception):pass class AudioFile(object): f = None audioStart = 0 def AudioFile(self): ...
[ "# -*- Mode: python; coding: utf-8; tab-width: 8; indent-tabs-mode: t; -*-\n", "\"\"\"\n", "read audio stream from audio file\n", "\"\"\"\n", "\n", "import os\n", "import struct\n", "import xbmcvfs\n", "\n", "class UnknownFormat(Exception):pass\n", "class FormatError(Exception):pass\n", "\n", ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.08333333333333333, 0.058823529411764705, 0, 0.04, 0, 0, 0, 0, 0, 0, 0, 0.04, 0, 0, 0, 0.0425531914893617, 0.02127659574468085, 0.02127659574468085, 0.02, 0.029411764705882353, 0.030303030303030304, 0.030303030303030304, 0.027...
128
0.008817
false
# QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. # Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. # # 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 Lice...
[ "# QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.\n", "# Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.\n", "#\n", "# Licensed under the Apache License, Version 2.0 (the \"License\");\n", "# you may not use this file except in compliance with the License.\n...
[ 0, 0.012345679012345678, 0, 0, 0, 0.011764705882352941, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.047619047619047616, 0.037037037037037035, 0.02127659574468085, 0.017543859649122806, 0.018518518518518517, 0.017543859649122806, 0.02702702702702703, 0, 0.071428571428571...
69
0.010759
false
import json, urllib from django.conf import settings from django.contrib import messages from django.contrib.auth import logout, authenticate, login as auth_login from django.contrib.auth.models import User from django.core.urlresolvers import reverse from django.http import HttpResponse, HttpResponseRedirect ...
[ "import json, urllib\r\n", "\r\n", "from django.conf import settings\r\n", "from django.contrib import messages\r\n", "from django.contrib.auth import logout, authenticate, login as auth_login\r\n", "from django.contrib.auth.models import User\r\n", "from django.core.urlresolvers import reverse\r\n", ...
[ 0.047619047619047616, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.047619047619047616, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.029411764705882353, 0, 0, 0, 0.029411764705882353, 0, 0, 0, 0, 0, 0.027149321266968326, 0, 0.0476...
117
0.005841
false
# -*- coding: utf-8 -*- # ProjectEuler/src/python/problem419.py # # Look and say sequence # ===================== # Published on Saturday, 16th March 2013, 10:00 pm # # The look and say sequence goes 1, 11, 21, 1211, 111221, 312211, 13112221, # 1113213211, ... The sequence starts with 1 and all other members are # ob...
[ "# -*- coding: utf-8 -*-\n", "# ProjectEuler/src/python/problem419.py\n", "#\n", "# Look and say sequence\n", "# =====================\n", "# Published on Saturday, 16th March 2013, 10:00 pm\n", "#\n", "# The look and say sequence goes 1, 11, 21, 1211, 111221, 312211, 13112221,\n", "# 1113213211, .....
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.08333333333333333, 0, 0, 0.037037037037037035, 0 ]
26
0.00463
false
#-------------------------------------------------------------------------- # # Copyright (c) Microsoft Corporation. All rights reserved. # # The MIT License (MIT) # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the ""Software""),...
[ "#--------------------------------------------------------------------------\n", "#\n", "# Copyright (c) Microsoft Corporation. All rights reserved. \n", "#\n", "# The MIT License (MIT)\n", "#\n", "# Permission is hereby granted, free of charge, to any person obtaining a copy\n", "# of this software a...
[ 0.013157894736842105, 0, 0.01639344262295082, 0, 0, 0, 0, 0.012195121951219513, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.013157894736842105, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
191
0.00301
false
# The MIT License (MIT) # # Copyright (c) 2015 Lucas Koegel # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, mod...
[ "# The MIT License (MIT)\n", "#\n", "# Copyright (c) 2015 Lucas Koegel\n", "#\n", "# Permission is hereby granted, free of charge, to any person obtaining a copy\n", "# of this software and associated documentation files (the \"Software\"), to deal\n", "# in the Software without restriction, including w...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.012345679012345678, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.030303030303030304, 0, 0, 0, 0, 0, 0, 0, 0.00980392156862745, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.03571428571428571,...
88
0.011174
false
#------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. #-------------------------------------------------------------------------- __author__...
[ "#-------------------------------------------------------------------------\n", "# Copyright (c) Microsoft Corporation. All rights reserved.\n", "# Licensed under the MIT License. See License.txt in the project root for\n", "# license information.\n", "#------------------------------------------------------...
[ 0.013333333333333334, 0, 0, 0, 0.013157894736842105, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.012195121951219513, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.012195121951219513 ]
36
0.001413
false
from .ir import * from .irvisitor import IRTransformer from .symbol import Symbol class TupleTransformer(IRTransformer): def __init__(self): super().__init__() def process(self, scope): super().process(scope) def visit_EXPR(self, ir): ir.exp = self.visit(ir.exp) self.new...
[ "from .ir import *\n", "from .irvisitor import IRTransformer\n", "from .symbol import Symbol\n", "\n", "\n", "class TupleTransformer(IRTransformer):\n", " def __init__(self):\n", " super().__init__()\n", "\n", " def process(self, scope):\n", " super().process(scope)\n", "\n...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.009009009009009009, 0, 0, 0, 0, 0, 0, 0,...
86
0.000598
false
# QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. # Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. # # 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 Li...
[ "# QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.\n", "# Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.\n", "# \n", "# Licensed under the Apache License, Version 2.0 (the \"License\"); \n", "# you may not use this file except in compliance with the License....
[ 0, 0.012345679012345678, 0.3333333333333333, 0.014925373134328358, 0, 0.011764705882352941, 0.3333333333333333, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.047619047619047616, 0.037037037037037035, 0.02702702702702703, 0.02631578947368421, 0.09523809523809523, 0, 0, 0, ...
83
0.024049
false
import urllib2 import json import sys import os from HTMLParser import HTMLParser #Created by: @Elite_Soba #Usage: openrec.py VIDEOID #Usage: openrec.py VIDEOID STARTTIME ENDTIME #Choosing a STARTTIME < 0 is equivalent to setting STARTTIME to 0 #Choosing an ENDTIME > video length is equivalent to setting ENDTIME to v...
[ "import urllib2\n", "import json\n", "import sys\n", "import os\n", "from HTMLParser import HTMLParser\n", "\n", "#Created by: @Elite_Soba\n", "#Usage: openrec.py VIDEOID\n", "#Usage: openrec.py VIDEOID STARTTIME ENDTIME\n", "#Choosing a STARTTIME < 0 is equivalent to setting STARTTIME to 0\n", ...
[ 0, 0, 0, 0, 0, 0, 0.04, 0.037037037037037035, 0.022222222222222223, 0.015151515151515152, 0.023529411764705882, 0.0196078431372549, 0.0125, 0.025, 0, 0.05263157894736842, 0.06451612903225806, 0.041666666666666664, 0.1, 0.09090909090909091, 0.03333333333333333, 0.02857142857...
147
0.109984
false
import functools from concurrent.futures import ThreadPoolExecutor import arrow import discord from sigma.plugins.core_functions.details.user_data_fill import generate_member_data def clean_guild_icon(icon_url): if icon_url: icon_url = '.'.join(icon_url.split('.')[:-1]) + '.png' else: icon_...
[ "import functools\n", "from concurrent.futures import ThreadPoolExecutor\n", "\n", "import arrow\n", "import discord\n", "\n", "from sigma.plugins.core_functions.details.user_data_fill import generate_member_data\n", "\n", "\n", "def clean_guild_icon(icon_url):\n", " if icon_url:\n", " ...
[ 0, 0, 0, 0, 0, 0, 0.011764705882352941, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.01098901098901099, 0, ...
88
0.000518
false
# # This file is part of Dragonfly. # (c) Copyright 2007, 2008 by Christo Butcher # Licensed under the LGPL. # # Dragonfly is free software: you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published # by the Free Software Foundation, either version 3 of the ...
[ "#\n", "# This file is part of Dragonfly.\n", "# (c) Copyright 2007, 2008 by Christo Butcher\n", "# Licensed under the LGPL.\n", "#\n", "# Dragonfly is free software: you can redistribute it and/or modify it\n", "# under the terms of the GNU Lesser General Public License as published\n", "# by t...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
313
0
false
# -*- coding: utf-8 -*- # # Copyright (C) 2016 Taifxx # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version....
[ "# -*- coding: utf-8 -*-\n", "#\n", "# Copyright (C) 2016 Taifxx\n", "#\n", "# This program is free software: you can redistribute it and/or modify\n", "# it under the terms of the GNU General Public License as published by\n", "# the Free Software Foundation, either version 3 of the Licens...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.058823529411764705, 0, 0.043478260869565216, 0, 0, 0, 0, 0, 0.047619047619047616, 0.09090909090909091, 0.125, 0, 0.027777777777777776, 0, 0, 0, 0, 0, 0.1111111111111111, 0, 0, 0.111111111...
498
0.041654
false
# QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. # Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. # # 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 Lice...
[ "# QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.\n", "# Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.\n", "#\n", "# Licensed under the Apache License, Version 2.0 (the \"License\");\n", "# you may not use this file except in compliance with the License.\n...
[ 0, 0.012345679012345678, 0, 0, 0, 0.011764705882352941, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.047619047619047616, 0.037037037037037035, 0.029411764705882353, 0.02702702702702703, 0.02127659574468085, 0.017543859649122806, 0.019230769230769232, 0.017543859649122806, ...
100
0.009838
false
# -*- coding: utf-8 -*- """ @author: Jörg Encke, Wilfried Hortschitz, Matthias Kahr, Veronika Schrenk This class is able to connect to the Stanford Lock-In Amplifier SR830, regardless what Gpib-Adress the Amplifier is set. All major functionalities have been implemented in public methods. Literature - Refer...
[ "# -*- coding: utf-8 -*-\r\n", "\"\"\"\r\n", "@author: Jörg Encke, Wilfried Hortschitz, Matthias Kahr, Veronika Schrenk\r\n", "\r\n", "This class is able to connect to the Stanford Lock-In Amplifier SR830, \r\n", "regardless what Gpib-Adress the Amplifier is set.\r\n", "All major functionalities have be...
[ 0, 0, 0, 0, 0.0136986301369863, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.05263157894736842, 0.16666666666666666, 0, 0, 0.012048192771084338, 0, 0, 0, 0, 0, 0, 0.011363636363636364, 0, 0, 0, 0, 0, 0, 0, 0, ...
1,351
0.0183
false
import asyncio import aiohttp import bot from typing import Any, Dict, Optional # noqa: F401 async def getGlobalEmotes() -> Optional[Dict[str, str]]: url: str = 'https://api.betterttv.net/2/emotes' response: aiohttp.ClientResponse try: async with aiohttp.ClientSession(raise_for_status=True) a...
[ "import asyncio\n", "\n", "import aiohttp\n", "\n", "import bot\n", "\n", "from typing import Any, Dict, Optional # noqa: F401\n", "\n", "\n", "async def getGlobalEmotes() -> Optional[Dict[str, str]]:\n", " url: str = 'https://api.betterttv.net/2/emotes'\n", " response: aiohttp.ClientRe...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
51
0
false
#!/usr/bin/env python # -*- coding: utf-8 -*- from nose.tools import * from utilities import execution_path, run_all import os, mapnik from glob import glob default_logging_severity = mapnik.logger.get_severity() def setup(): mapnik.logger.set_severity(mapnik.severity_type.None) # All of the paths used are ...
[ "#!/usr/bin/env python\n", "# -*- coding: utf-8 -*-\n", "\n", "from nose.tools import *\n", "from utilities import execution_path, run_all\n", "import os, mapnik\n", "from glob import glob\n", "\n", "default_logging_severity = mapnik.logger.get_severity()\n", "\n", "def setup():\n", " mapni...
[ 0, 0, 0, 0, 0, 0.05555555555555555, 0, 0, 0, 0, 0.07692307692307693, 0, 0, 0, 0, 0, 0.0625, 0, 0, 0.05263157894736842, 0.045454545454545456, 0.03125, 0.043478260869565216, 0.030303030303030304, 0.045454545454545456, 0.045454545454545456, 0.045454545454545456, 0,...
61
0.013761
false
from steam import WebAPI from config import SteamAPI import discord async def csgo(cmd, message, args): if not args: return csgo_input = ' '.join(args) try: api = WebAPI(SteamAPI) userID = api.call('ISteamUser.ResolveVanityURL', vanityurl=csgo_input, url_type=1)['response']['stea...
[ "from steam import WebAPI\n", "from config import SteamAPI\n", "import discord\n", "\n", "\n", "async def csgo(cmd, message, args):\n", " if not args:\n", " return\n", " csgo_input = ' '.join(args)\n", "\n", " try:\n", " api = WebAPI(SteamAPI)\n", " userID = api...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.008771929824561403, 0.008547008547008548, 0.009708737864077669, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.012048192771084338, 0.01020408163265306, 0.0109890109...
70
0.001203
false
import os import sqlite3 ####################### # TRANSFER OBJECTS ####################### #################################################################################################### class Partition: def __init__(self): self.pk = None self.idx = None self.uid = None se...
[ "import os\n", "import sqlite3\n", "\n", "#######################\n", "# TRANSFER OBJECTS\n", "#######################\n", "\n", "####################################################################################################\n", "class Partition:\n", " def __init__(self):\n", " ...
[ 0, 0, 0, 0, 0, 0, 0, 0.009900990099009901, 0.058823529411764705, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.009900990099009901, 0.0625, 0, 0, 0, 0, 0, 0, 0, 0, 0.009900990099009901, 0.08333333333333333, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
349
0.004649
false
# QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. # Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. # # 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 Lice...
[ "# QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.\n", "# Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.\n", "#\n", "# Licensed under the Apache License, Version 2.0 (the \"License\");\n", "# you may not use this file except in compliance with the License.\n...
[ 0, 0.012345679012345678, 0, 0, 0, 0.011764705882352941, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.047619047619047616, 0.037037037037037035, 0.02702702702702703, 0.018867924528301886, 0.023255813953488372, 0.02127659574468085, 0.022727272727272728, 0.02127659574468085, ...
98
0.026386
false
# Copyright 2014-2016 The ODL development group # # This file is part of ODL. # # ODL is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. ...
[ "# Copyright 2014-2016 The ODL development group\n", "#\n", "# This file is part of ODL.\n", "#\n", "# ODL is free software: you can redistribute it and/or modify\n", "# it under the terms of the GNU General Public License as published by\n", "# the Free Software Foundation, either version 3 of the Lice...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
1,316
0
false
import json class QiStream(object): """Qi stream definition""" def __init__(self): self.__Id = 0 self.__Name = None self.__Description = None self.__TypeId = None self.__BehaviourId = None def getId(self): return self.__Id def setId(self, Id): ...
[ "import json\n", "\n", "class QiStream(object):\n", " \"\"\"Qi stream definition\"\"\"\n", "\n", " def __init__(self):\n", " self.__Id = 0\n", " self.__Name = None\n", " self.__Description = None\n", " self.__TypeId = None\n", " self.__BehaviourId = None\...
[ 0, 0, 0.041666666666666664, 0, 0, 0, 0, 0, 0, 0, 0, 0.2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.043478260869565216, 0, 0, 0, 0, 0, 0, 0, 0.2, 0.03333333333333333, 0, 0, 0, 0, 0, 0, 0, 0, 0.04, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
107
0.021496
false
#!/usr/bin/env python3 # The MIT License (MIT) # # Copyright (c) 2015 Lucas Koegel # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the ri...
[ "#!/usr/bin/env python3\n", "\n", "# The MIT License (MIT)\n", "#\n", "# Copyright (c) 2015 Lucas Koegel\n", "#\n", "# Permission is hereby granted, free of charge, to any person obtaining a copy\n", "# of this software and associated documentation files (the \"Software\"), to deal\n", "# in the Sof...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.012345679012345678, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.030303030303030304, 0, 0, 0, 0, 0, 0, 0.008403361344537815, 0, 0, 0, 0, 0, 0, 0, 0, 0.034482758620689655, 0.033...
178
0.016644
false
#----------------------------------------------------------------------------------------------- # Name: dbutils.py # Purpose: Realizar operaciones sobre Bases de Datos # # Author: William Lopez # # Created: 08/05/2015 #-----------------------------------------------------------------------------...
[ "#-----------------------------------------------------------------------------------------------\n", "# Name: dbutils.py\n", "# Purpose: Realizar operaciones sobre Bases de Datos\n", "#\n", "# Author: William Lopez\n", "#\n", "# Created: 08/05/2015\n", "#------------------------...
[ 0.020618556701030927, 0, 0, 0, 0, 0, 0, 0.020618556701030927, 0, 0, 0, 0, 0, 0.029411764705882353, 0, 0.03333333333333333, 0, 0, 0, 0, 0, 0, 0, 0.024691358024691357, 0.041666666666666664, 0.024691358024691357, 0.06666666666666667, 0, 0.024691358024691357, 0....
93
0.007609
false
# Задача 12 # Разработайте игру "Крестики-нолики". (см. М.Доусон Программируем на Python #гл. 6). # Danilenkov M.A. X = "X" O = "O" EMPTY = " " TIE = "TIE" NUM_SQUARES = 9 def display_instruct(): """Инструкции""" print( """ На ходу, введи цифру, согласно рисунку: 0 | 1 | ...
[ "# Задача 12\n", "# Разработайте игру \"Крестики-нолики\". (см. М.Доусон Программируем на Python\n", "#гл. 6).\n", "\n", "# Danilenkov M.A.\n", "\n", "X = \"X\"\n", "O = \"O\"\n", "EMPTY = \" \"\n", "TIE = \"TIE\"\n", "NUM_SQUARES = 9\n", "\n", "\n", "def display_instruct():\n", " \"\...
[ 0, 0, 0.1111111111111111, 0, 0, 0, 0, 0.125, 0, 0, 0, 0, 0, 0, 0.043478260869565216, 0, 0.125, 0, 0.2, 0, 0, 0, 0, 0, 0, 0.2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
196
0.008409
false
import c4d from c4d import documents, plugins, storage #Author: Joey Gaspe #OBJ export settings example def main(): # Get OBJ export plugin, 1030178 is its ID plug = plugins.FindPlugin(1030178, c4d.PLUGINTYPE_SCENESAVER) if plug is None: return # Get a path to save the exported file fil...
[ "import c4d\n", "from c4d import documents, plugins, storage\n", "\n", "#Author: Joey Gaspe\n", "#OBJ export settings example\n", "\n", "def main():\n", "\n", " # Get OBJ export plugin, 1030178 is its ID\n", " plug = plugins.FindPlugin(1030178, c4d.PLUGINTYPE_SCENESAVER)\n", " if plug i...
[ 0, 0, 0, 0.05, 0.034482758620689655, 0, 0.08333333333333333, 0, 0, 0, 0, 0, 0, 0, 0.008403361344537815, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.011111111111111112, 0, 0, 0, 0, 0.009433962264150943, 0, 0, 0, 0, ...
49
0.005648
false
# Copyright (C) 2015 Kevin S. Graer # # # This file is part of PseudoTV Live. # # PseudoTV is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later ve...
[ "# Copyright (C) 2015 Kevin S. Graer\n", "#\n", "#\n", "# This file is part of PseudoTV Live.\n", "#\n", "# PseudoTV is free software: you can redistribute it and/or modify\n", "# it under the terms of the GNU General Public License as published by\n", "# the Free Software Foundation, either version...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.013513513513513514, 0.018867924528301886, 0.017241379310344827, 0.015873015873015872, 0.018867924528301886, 0.018867924528301886, 0.023255813953488372, 0.014285714285714285, 0.01515151515151515...
356
0.011642
false
from config import permitted_id import discord import inspect async def evaluate(cmd, message, args): if message.author.id in permitted_id: if not args: await message.channel.send(cmd.help()) else: try: execution = " ".join(args) output = ev...
[ "from config import permitted_id\n", "import discord\n", "import inspect\n", "\n", "\n", "async def evaluate(cmd, message, args):\n", " if message.author.id in permitted_id:\n", " if not args:\n", " await message.channel.send(cmd.help())\n", " else:\n", " t...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.01020408163265306, 0.03571428571428571, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.01, 0 ]
31
0.001804
false
#------------------------------------------------------------------------- # Copyright (c) Microsoft. 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://w...
[ "#-------------------------------------------------------------------------\r\n", "# Copyright (c) Microsoft. All rights reserved.\r\n", "#\r\n", "# Licensed under the Apache License, Version 2.0 (the \"License\");\r\n", "# you may not use this file except in compliance with the License.\r\n", "# You may...
[ 0.013157894736842105, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.012987012987012988, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
1,094
0.002476
false
#!/usr/bin/env python import os import csv, sys, json def run_cuffdiff_docker(samples_host_dir_1,samples_host_dir_2,samples_name_1,samples_name_2, organism_I,host_indexes_dir_I, host_dirname_O, threads = 1, library_norm_method = 'quartile', fdr = 0.05, ...
[ "#!/usr/bin/env python\n", "import os\n", "import csv, sys, json\n", "\n", "def run_cuffdiff_docker(samples_host_dir_1,samples_host_dir_2,samples_name_1,samples_name_2,\n", " organism_I,host_indexes_dir_I,\n", " host_dirname_O, threads = 1,\n", " ...
[ 0, 0, 0.045454545454545456, 0, 0.053763440860215055, 0.0392156862745098, 0.061224489795918366, 0.07692307692307693, 0.0392156862745098, 0.0967741935483871, 0.02564102564102564, 0, 0, 0.012048192771084338, 0.012048192771084338, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.0055555...
152
0.020588
false
# QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. # Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. # # 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 Lice...
[ "# QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.\n", "# Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.\n", "#\n", "# Licensed under the Apache License, Version 2.0 (the \"License\");\n", "# you may not use this file except in compliance with the License.\n...
[ 0, 0.012345679012345678, 0, 0, 0, 0.011764705882352941, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.047619047619047616, 0.037037037037037035, 0.02702702702702703, 0.02564102564102564, 0.024390243902439025, 0, 0.07142857142857142, 0.02040816326530612, 0.06666666666666667...
78
0.009033
false
import os from ctypes import cast, c_void_p import pybgfx as bgfx runtimeDir = "../runtime/" def loadMem(filePath): filePath = runtimeDir + filePath with open(filePath, "rb") as f: read_data = f.read() size = len(read_data) memory = bgfx.copy(cast(read_data, c_void_p), size) ...
[ "import os\n", "\n", "from ctypes import cast, c_void_p\n", "\n", "import pybgfx as bgfx\n", "\n", "runtimeDir = \"../runtime/\"\n", "\n", "\n", "def loadMem(filePath):\n", " filePath = runtimeDir + filePath\n", " with open(filePath, \"rb\") as f:\n", " read_data = f.read()\n", ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.04, 0, 0 ]
41
0.000976
false
# -*- coding: utf-8 -*- #------------------------------------------------------------ # pelisalacarta - XBMC Plugin # platformtools # http://blog.tvalacarta.info/plugin-xbmc/pelisalacarta/ #------------------------------------------------------------ # Herramientas responsables de adaptar los diferentes # cuadros de ...
[ "# -*- coding: utf-8 -*-\n", "#------------------------------------------------------------\n", "# pelisalacarta - XBMC Plugin\n", "# platformtools\n", "# http://blog.tvalacarta.info/plugin-xbmc/pelisalacarta/\n", "#------------------------------------------------------------\n", "# Herramientas respons...
[ 0, 0.016129032258064516, 0, 0, 0, 0.016129032258064516, 0.01818181818181818, 0, 0, 0, 0, 0, 0, 0, 0.0196078431372549, 0, 0.2, 0.013513513513513514, 0, 0, 0.020618556701030927, 0, 0.3333333333333333, 0.05714285714285714, 0, 0.2, 0.017543859649122806, 0.0416666666...
81
0.039878
false
# ============================================================ # KCleaner - Version 2.9 by D. Lanik (2017) # ------------------------------------------------------------ # Clean up Kodi # ------------------------------------------------------------ # License: GPL (http://www.gnu.org/licenses/gpl-3.0.html) # ==========...
[ "# ============================================================\n", "# KCleaner - Version 2.9 by D. Lanik (2017)\n", "# ------------------------------------------------------------\n", "# Clean up Kodi\n", "# ------------------------------------------------------------\n", "# License: GPL (http://www.gnu....
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.011494252873563218, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.010638297872340...
234
0.000949
false
import copy import random import sys import time import Tkinter from tkMessageBox import * BOARD_WIDTH = 10 # 10 BOARD_HEIGHT = 24 # 24 UNIT_X = 18 # 18 UNIT_Y = 18 # Centrering av tetrominoerna (alltså klossarna) PIECE_INIT_X = 3 # 3 PIECE_INIT_Y = -4 # -4 DIFFICULTY = 1 BACKGROUND_COLOR = '#0f0f0f' #=======...
[ "import copy\n", "import random\n", "import sys\n", "import time\n", "import Tkinter\n", "from tkMessageBox import *\n", "\n", "BOARD_WIDTH = 10 # 10\n", "BOARD_HEIGHT = 24 # 24\n", "\n", "UNIT_X = 18 # 18\n", "UNIT_Y = 18 \n", "\n", "# Centrering av tetrominoerna (alltså klossarna)\n", ...
[ 0, 0, 0, 0, 0, 0, 0, 0.045454545454545456, 0.043478260869565216, 0, 0.058823529411764705, 0.07692307692307693, 0, 0, 0.047619047619047616, 0, 0, 0, 0, 0, 0, 0.024691358024691357, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
363
0.00973
false
# -*- coding: utf-8 -*- # ProjectEuler/src/python/problem299.py # # Three similar triangles # ======================= # Published on Saturday, 3rd July 2010, 01:00 am # # Four points with integer coordinates are selected:A(a, 0), B(b, 0), C(0, c) # and D(0, d), with 0  a  b and 0  c  d. Point P, also with integer #...
[ "# -*- coding: utf-8 -*-\n", "# ProjectEuler/src/python/problem299.py\n", "#\n", "# Three similar triangles\n", "# =======================\n", "# Published on Saturday, 3rd July 2010, 01:00 am\n", "#\n", "# Four points with integer coordinates are selected:A(a, 0), B(b, 0), C(0, c)\n", "# and D(0, d...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.08333333333333333, 0, 0, 0.037037037037037035, 0 ]
29
0.004151
false
# coding:utf-8 ''' angle game augmented reality v0.1 with python winxos 2016-03-12 ''' import cv2 import numpy as np import time from datetime import datetime import math WIN_NAME="ANGLE AR v1" class board: mask = None board_field = None showflag = True solved = False img_ans = None sum = 0 #f...
[ "# coding:utf-8\n", "'''\n", "angle game augmented reality v0.1 with python\n", "winxos 2016-03-12\n", "'''\n", "import cv2\n", "import numpy as np\n", "import time\n", "from datetime import datetime\n", "import math\n", "WIN_NAME=\"ANGLE AR v1\"\n", "\n", "class board:\n", " mask = Non...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.043478260869565216, 0, 0.07692307692307693, 0, 0, 0, 0, 0, 0.09523809523809523, 0.1, 0.07692307692307693, 0.041666666666666664, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.04, 0, 0.025, 0.010309278350515464, 0.010416666666666666,...
122
0.02605
false
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' Copyright (C) 2011-2015 German Aerospace Center DLR (Deutsches Zentrum fuer Luft- und Raumfahrt e.V.), Institute of System Dynamics and Control All rights reserved. This file is licensed under the "BSD New" license (see also http://opensource.org/licenses/BSD-3-Claus...
[ "#!/usr/bin/env python\n", "# -*- coding: utf-8 -*-\n", "\n", "'''\n", "Copyright (C) 2011-2015 German Aerospace Center DLR\n", "(Deutsches Zentrum fuer Luft- und Raumfahrt e.V.),\n", "Institute of System Dynamics and Control\n", "All rights reserved.\n", "\n", "This file is licensed under the \"B...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.012345679012345678, 0, 0, 0, 0, 0, 0, 0.011494252873563218, 0, 0, 0, 0, 0, 0.010526315789473684, 0.012345679012345678, 0, 0, 0.012048192771084338, 0, 0.011363636363636364, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
515
0.016403
false
# coding: UTF-8 import socket import urllib2 import traceback import MySQLdb import time from bs4 import BeautifulSoup from complainDetail import * timeout = 10 socket.setdefaulttimeout(timeout) def getPageNum(): pageNum = 0 tryNum = 3 tn = 0 while tn < tryNum: try: f = urllib2.u...
[ "# coding: UTF-8 \n", "import socket\n", "import urllib2\n", "import traceback\n", "import MySQLdb\n", "import time\n", "from bs4 import BeautifulSoup\n", "from complainDetail import *\n", "\n", "timeout = 10\n", "socket.setdefaulttimeout(timeout)\n", "\n", "def getPageNum():\n", " page...
[ 0.058823529411764705, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.05555555555555555, 0, 0, 0, 0, 0, 0.011235955056179775, 0.03125, 0, 0.015384615384615385, 0, 0, 0, 0, 0.03571428571428571, 0, 0, 0, 0, 0.03333333333333333, 0.05263157894736842, 0, 0, 0, 0...
172
0.035882
false
# This file is part of Tautulli. # # Tautulli is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Tautulli is distributed in the ...
[ "# This file is part of Tautulli.\n", "#\n", "# Tautulli is free software: you can redistribute it and/or modify\n", "# it under the terms of the GNU General Public License as published by\n", "# the Free Software Foundation, either version 3 of the License, or\n", "# (at your option) any later versio...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.022222222222222223, 0, 0, 0, 0, 0, 0.012048192771084338, 0, 0, 0, 0, 0.01086956521...
906
0.001865
false
""" examples that show how to obtain information about an individual event """ from eventregistry import * er = EventRegistry() # # NOTE: if you don't have access to historical data, you have to change the event URI # to some recent event that you can access in order to run the example # eventUri = "eng-2940883" #...
[ "\"\"\"\n", "examples that show how to obtain information about an individual event\n", "\"\"\"\n", "from eventregistry import *\n", "\n", "er = EventRegistry()\n", "\n", "#\n", "# NOTE: if you don't have access to historical data, you have to change the event URI\n", "# to some recent event that ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0.011627906976744186, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.010416666666666666, 0, 0.125, 0.1111111111111111, 0, 0, 0, 0, 0.009708737864077669, 0, 0.1111111111111111, 0, 0, 0, 0, 0.009009009009009009, 0, 0.05, 0, 0, 0, ...
79
0.019663
false
#------------------------------------------------------------------------- # Copyright (c) Microsoft. 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://w...
[ "#-------------------------------------------------------------------------\r\n", "# Copyright (c) Microsoft. All rights reserved.\r\n", "#\r\n", "# Licensed under the Apache License, Version 2.0 (the \"License\");\r\n", "# you may not use this file except in compliance with the License.\r\n", "# You may...
[ 0.013157894736842105, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.012987012987012988, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.014285714285714285, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
74
0.002236
false
# Copyright 2016 The Johns Hopkins University Applied Physics Laboratory # # 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 required by...
[ "# Copyright 2016 The Johns Hopkins University Applied Physics Laboratory\n", "#\n", "# Licensed under the Apache License, Version 2.0 (the \"License\");\n", "# you may not use this file except in compliance with the License.\n", "# You may obtain a copy of the License at\n", "#\n", "# http://www.apache...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.012345679012345678, 0, 0, 0, 0, 0, 0, 0.012195121951219513, 0, 0, 0, 0, 0, 0, 0, 0, ...
963
0.00047
false
# Copyright 2015 Altova GmbH # # 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 required by applicable law or agreed to in writing,...
[ "# Copyright 2015 Altova GmbH\n", "#\n", "# Licensed under the Apache License, Version 2.0 (the \"License\");\n", "# you may not use this file except in compliance with the License.\n", "# You may obtain a copy of the License at\n", "#\n", "# http://www.apache.org/licenses/LICENSE-2.0\n", "#\n", ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.008849557522123894, 0, 0, 0.011111111111111112, 0, 0, 0.128, 0, 0, 0.041666666666666664, 0, 0, 0, 0.014285714285714285, 0, 0.0273972602739726, 0.01910828025477707, 0.01910828025477707, 0.01818181818...
1,083
0.006792
false
# Runs the evaluation of the task 2 response # Requires python 3 and numpy # Usage: # # <Python3 executable> t2_eval.py -s <std_dir> -t <test_dir> [-o <output_dir>] [-m] # -s [std_dir] - path to the standard files directory # -t [test_dir] - path to the response files directory # -o [output_d...
[ "# Runs the evaluation of the task 2 response\n", "# Requires python 3 and numpy\n", "\n", "# Usage:\n", "#\n", "# <Python3 executable> t2_eval.py -s <std_dir> -t <test_dir> [-o <output_dir>] [-m]\n", "# -s [std_dir] - path to the standard files directory\n", "# -t [test_dir] - path...
[ 0, 0, 0, 0, 0, 0.011627906976744186, 0, 0, 0, 0.010526315789473684, 0, 0, 0, 0.011111111111111112, 0, 0, 0, 0, 0, 0, 0, 0.011111111111111112, 0, 0.07692307692307693, 0, 0.010526315789473684, 0, 0, 0, 0.009615384615384616, 0, 0, 0.08333333333333333, 0...
71
0.018241
false
""" This module contains the 'confirm_password' menu node. """ from hashlib import sha256 from textwrap import dedent from django.conf import settings from evennia import logger from menu.character import _login from menu.email_address import text_email_address def confirm_password(caller, input): """Ask the...
[ "\"\"\"\n", "This module contains the 'confirm_password' menu node.\n", "\n", "\"\"\"\n", "\n", "from hashlib import sha256\n", "from textwrap import dedent\n", "\n", "from django.conf import settings\n", "\n", "from evennia import logger\n", "\n", "from menu.character import _login\n", "f...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.02702702702702703, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.0232558139534883...
83
0.000606
false
from suds.client import Client from suds.wsse import * import socket, logging import suds CURSOR=None __ConfServiceClient=None __DefServiceClient=None __host = None __port = None __usr = None __pwd = None __ssl = None class ConnectionService(object): """Connnection Initialization. :param: hos...
[ "from suds.client import Client\n", "from suds.wsse import *\n", "import socket, logging\n", "import suds\n", "CURSOR=None\n", "__ConfServiceClient=None\n", "__DefServiceClient=None\n", "__host = None\n", "__port = None\n", "__usr = None\n", "__pwd = None\n", "__ssl = None\n", "\n", "cl...
[ 0, 0, 0.043478260869565216, 0, 0.08333333333333333, 0.04, 0.041666666666666664, 0, 0, 0.07142857142857142, 0.07142857142857142, 0.07142857142857142, 0, 0.030303030303030304, 0, 0.07142857142857142, 0, 0, 0, 0, 0, 0.08928571428571429, 0, 0, 0, 0.07142857142857142, ...
942
0.012405
false
# Copyright (C) 2014 Robby Zeitfuchs (@robbyFux) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is ...
[ "# Copyright (C) 2014 Robby Zeitfuchs (@robbyFux)\n", "#\n", "# This program is free software: you can redistribute it and/or modify\n", "# it under the terms of the GNU General Public License as published by\n", "# the Free Software Foundation, either version 3 of the License, or\n", "# (at your option) ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.03333333333333333, 0, 0, 0, 0, 0, 0, 0, 0.009174311926605505, 0.009174311926605505, 0.009174311926605505, 0.006756756756756757, 0.006756756756756757, 0.006756756756756757, 0.006756756756756757, 0, ...
56
0.001741
false
# QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. # Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. # # 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 Lice...
[ "# QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.\n", "# Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.\n", "#\n", "# Licensed under the Apache License, Version 2.0 (the \"License\");\n", "# you may not use this file except in compliance with the License.\n...
[ 0, 0.012345679012345678, 0, 0, 0, 0.011764705882352941, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.047619047619047616, 0.037037037037037035, 0.02127659574468085, 0.02, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.0108695...
58
0.004447
false
''' Lib for Plugin Authors: Andrey Kvichansky (kvichans on github.com) Version: '1.0.3 2018-02-01' Content log Logger with timing get_translation i18n dlg_wrapper Wrapper for dlg_custom: pack/unpack values, h-align controls ToDo: (see end of file) ''' import sys, os...
[ "''' Lib for Plugin\n", "Authors:\n", " Andrey Kvichansky (kvichans on github.com)\n", "Version:\n", " '1.0.3 2018-02-01'\n", "Content\n", " log Logger with timing\n", " get_translation i18n\n", " dlg_wrapper Wrapper for dlg_custom: pack/unpack values, h...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0.011764705882352941, 0, 0, 0, 0.03389830508474576, 0.05, 0.06451612903225806, 0.06451612903225806, 0, 0.023809523809523808, 0.03389830508474576, 0, 0.0625, 0.13513513513513514, 0.10344827586206896, 0.12121212121212122, 0.14285714285714285, 0...
582
0.031141
false
# Future Imports for py2/3 backwards compat. from __future__ import (absolute_import, division, print_function, unicode_literals) from builtins import range from nexpose import OpenNexposeSession, as_string from future import standard_library import http.client standard_library.install_aliases(...
[ "# Future Imports for py2/3 backwards compat.\n", "from __future__ import (absolute_import, division, print_function,\n", " unicode_literals)\n", "from builtins import range\n", "from nexpose import OpenNexposeSession, as_string\n", "from future import standard_library\n", "import...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.011363636363636364, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
50
0.000227
false
# Copied (and slightly altered) from script.pseudotv.live # with permission of Lunatixz: # http://forum.xbmc.org/showthread.php?tid=177296 # On 21st January 2014 # https://github.com/Lunatixz/script.pseudotv.live/tree/master/resources/lib/parsers import xbmc import os, shutil import codecs import xbmcvfs import x...
[ "# Copied (and slightly altered) from script.pseudotv.live\n", "# with permission of Lunatixz:\n", "# http://forum.xbmc.org/showthread.php?tid=177296\n", "# On 21st January 2014\n", "# https://github.com/Lunatixz/script.pseudotv.live/tree/master/resources/lib/parsers\n", "\n", "import xbmc\n", "im...
[ 0, 0, 0, 0, 0, 0, 0, 0.05555555555555555, 0, 0, 0, 0, 0, 0, 0.018867924528301886, 0.022222222222222223, 0, 0, 0, 0, 0, 0.018867924528301886, 0, 0, 0, 0.05555555555555555, 0, 0, 0.03389830508474576, 0.05405405405405406, 0, 0, 0, 0, 0, 0.0555555555...
207
0.021937
false
# -*- coding: utf-8 -*- import xbmc, xbmcgui, xbmcplugin, xbmcaddon, urllib2, urllib, re, string, sys, os, gzip, StringIO from uuid import uuid4 from random import random,randint from math import floor import hashlib import time import simplejson # Plugin constants __addonname__ = "奇艺视频(QIYI)" __addonid__ = "plugi...
[ "# -*- coding: utf-8 -*-\n", "import xbmc, xbmcgui, xbmcplugin, xbmcaddon, urllib2, urllib, re, string, sys, os, gzip, StringIO\n", "from uuid import uuid4\n", "from random import random,randint\n", "from math import floor\n", "import hashlib\n", "import time\n", "import simplejson\n", "\n", "# Pl...
[ 0, 0.02040816326530612, 0, 0.029411764705882353, 0, 0, 0, 0, 0, 0.05, 0, 0.027777777777777776, 0.020833333333333332, 0, 0.0784313725490196, 0.04878048780487805, 0.056338028169014086, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
633
0.01261
false
# -*- coding: utf-8 -*- # # Copyright (C) 2016 Taifxx # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version....
[ "# -*- coding: utf-8 -*-\n", "#\n", "# Copyright (C) 2016 Taifxx\n", "#\n", "# This program is free software: you can redistribute it and/or modify\n", "# it under the terms of the GNU General Public License as published by\n", "# the Free Software Foundation, either version 3 of the Licens...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.058823529411764705, 0, 0.043478260869565216, 0, 0, 0, 0.02857142857142857, 0.03508771929824561, 0, 0, 0.05, 0, 0, 0.022222222222222223, 0.05357142857142857, 0, 0.043478260869565216, 0, 0.025974...
206
0.025658
false