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
213 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
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
7f0f4837fafc558b09afd963d8f795589efc7442
2fcfb5238a79f1da6c015b53483ec3e7d8d120cc
/doga2/feladat4.py
1aa95f8626f88625014c9ccb34319101686a51d3
[]
no_license
offJUSTME/Szkriptnyelvek2020
2be4392d43fe4ec470230be28c48ccdb55c457c5
7e18fa2632344511bdfca14444f671cb87f1bd82
refs/heads/master
2023-03-10T05:41:28.916013
2021-02-22T10:49:36
2021-02-22T10:49:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
575
py
#!/usr/bin/env python3 def colltaz_make(number): re = [number] first = number while first != 1: if first % 2 == 0: first = first / 2 re.append(first) else: first = 3 * first + 1 re.append(first) return re def colltaz_p...
[ "noreply@github.com" ]
offJUSTME.noreply@github.com
9db634250873ec3896650ba2344333f21ec7b2a2
558cee907e06d74fd3c44f1ad896ff4dc8ccec5b
/ex5.py
74dfe5dc1a3c444b729cf2e61f1cb9901036a523
[]
no_license
wangha43/learnpythonthehardway
74b89648bcc9ec65ca2d4cf552f24d19d35757c4
7b44a6c8e258075c52a4b568ded88ac0b333f324
refs/heads/master
2016-09-10T17:19:16.964871
2015-10-31T10:41:19
2015-10-31T10:41:19
40,523,557
0
0
null
null
null
null
UTF-8
Python
false
false
458
py
my_name='Zed A. Shaw' my_age=35 my_height = 74 my_weight = 180 my_eyes = 'blue' my_teeth = 'white' my_hair = 'brown' print "Let's talk about %s." % my_name print "He is %d inches tall."% my_height print "He is %d pounds heavy."% my_weight print "He has %s eyes and %s hair."%(my_eyes,my_hair) print "His teeth are usual...
[ "wangha43@163.com" ]
wangha43@163.com
e842a0b0122230b18a59c01e0b2b0561a33e8a9a
6a33cb94d4af1d8a7329ddc6c9d42f870c35bb2f
/python/euler24.py
f4dfa43b28627a2b567d1d09688bcc6fd94d3b85
[]
no_license
vochong/project-euler
836321cc8e7d2e7cdf22b3b136d44dcba74a8701
6a0c7103861ff825bf84800b6e2e62819a41e36d
refs/heads/master
2020-04-29T10:41:48.487159
2018-09-19T00:13:34
2018-09-19T00:13:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
from itertools import permutations def euler24(): """ A permutation is an ordered arrangement of objects. For example, 3124 is one possible permutation of the digits 1, 2, 3 and 4. If all of the permutations are listed numerically or alphabetically, we call it lexicographic order. The lexicographic permutations o...
[ "kueltz.anton@gmail.com" ]
kueltz.anton@gmail.com
17614de3ca2c792cd99a96df0bdf12f55b420636
316a3ae4f91f4b3e883597eb1dce3f681a6ec1ea
/bm.py
380fc789e7c752d2c813b9f5a159c3815f79a74c
[]
no_license
marciopocebon/black-mirror-project
d10f567ac2b3bd977b7195e3f3868063ee687601
966bb695c521d4abe64302fe42438cd8eca3d72a
refs/heads/master
2020-07-04T07:11:39.315615
2018-04-11T21:18:51
2018-04-11T21:18:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,834
py
# -*- coding: utf-8 -*- import matplotlib.pyplot as plt import csv import numpy class Dado(object): def __init__(self,hora, idade, sexo, cidade, tipo=None, arma=None): super(Dado, self).__init__() self.hora = hora self.idade = idade self.sexo = sexo self.cidade = cidade ...
[ "josebezerraneto@outlook.com" ]
josebezerraneto@outlook.com
51431d1b72da594936ee55c4251605eed641c873
a1829caf8720beee453ad647ab991cc92ae66b98
/CombinedLimit/ZPrimeCombine/validateInputs.py
c1746cfe74cad8f620e4930418a12f4358dfd2af
[]
no_license
IMSA-CMS/HCT
373d73b97b63e54eb63b01b44712dc07f69ff861
06bdccdf73d439db1d2856cff751b222f3cfd9c2
refs/heads/master
2020-07-03T18:32:04.099154
2019-08-12T20:26:16
2019-08-12T20:26:16
201,993,169
0
0
null
null
null
null
UTF-8
Python
false
false
7,024
py
import sys import os sys.path.append('cfgs/') sys.path.append('input/') import ROOT from ROOT import gROOT from numpy import array from createInputs import createWS if __name__ == "__main__": import argparse parser = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter) ...
[ "kgumpula@imsa.edu" ]
kgumpula@imsa.edu
0516724e956d3a03c966ac81dd33f50bb9a93f14
f019ca1e4029b4077472087d1b677052583c0392
/qa/rpc-tests/keypool.py
aeaa4435c0d9ce9ede5ce333dced5cf31e78ffc9
[ "MIT" ]
permissive
mirzaei-ce/core-civilbit
9204dd9c4c3ce04f867105da4e7fa9a56af1f8ba
cab3e53bdc6b04a84f4bc48114efc07865be814a
refs/heads/master
2021-04-26T05:03:32.282526
2017-10-16T15:39:44
2017-10-16T15:39:44
107,148,188
0
0
null
null
null
null
UTF-8
Python
false
false
3,338
py
#!/usr/bin/env python2 # Copyright (c) 2014-2015 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # Exercise the wallet keypool, and interaction with wallet encryption/locking # Add python-civilbitrpc t...
[ "mirzaei@ce.sharif.edu" ]
mirzaei@ce.sharif.edu
04f12188571a497fda662ea24ac06908fcdb2d1d
a387dd9c116fc7a6abec332360a73daeb09cf006
/web1/web1/callDateTime.py
e1e9c23f070f56940587d4d3260b9513efaeb31f
[]
no_license
berryme/pythonPractice
2eebd60a8fe55e5ebc42fb0c1092e848c088ec04
7c2a1d2a94cc04c6cf1a280477107cda09b20ca8
refs/heads/main
2023-02-07T16:37:14.679291
2023-02-05T21:27:38
2023-02-05T21:27:38
151,255,756
0
0
null
2023-02-05T21:27:39
2018-10-02T13:05:12
Python
UTF-8
Python
false
false
367
py
import requests def callDateTime(): URL = "http://date.jsontest.com/" # defining a params dict for the parameters to be sent to the API PARAMS = {} # sending get request and saving the response as response object r = requests.get(url=URL, params=PARAMS) # extracting data in json format ...
[ "berryme@yahoo.com" ]
berryme@yahoo.com
a8d9cba4430c6aa6426707ebe6d148e66e184f96
f5b698c3b3029ff4e8b099d3c8d4211c92eb0032
/LalithaPythonClass/Exceptions/RaiseException.py
1ae5e7c651ed1c28eb69a8dd3b68fce5e9a797ae
[]
no_license
YerraboluHimajaReddy/LalithaClass
a0db8dcf6f49af699c80e944794ed0e76ed82805
b50165a71a29047a215f19b0c1670b86d710f77d
refs/heads/master
2023-09-04T22:48:30.698825
2021-11-18T12:44:30
2021-11-18T12:44:30
425,481,847
0
0
null
null
null
null
UTF-8
Python
false
false
307
py
try: a = int(input("Enter a positive integer: ")) if a <= 0: raise ValueError("That is not a positive number!") except ValueError as ve: print(ve) # Enter a positive integer: 2 # # Process finished with exit code 0 # Enter a positive integer: -1 # That is not a positive number!
[ "himaja04.selenium@gmail.com" ]
himaja04.selenium@gmail.com
3e9d10617e89796ad60f68397f9e864c802ccd07
46d3f70c73c87cecb7e71ff4629b5203b0da21fa
/dbhelper.py
51cc176affd25d83bd0d5e3365b55070145f1b57
[]
no_license
jitendra1998/TodoBot
943a7e3d0f66a3d2f8e6a8f12a54b839be576492
7c51b12f85b2262ce82fed499eed821b4bc88157
refs/heads/master
2021-08-08T09:01:09.833526
2017-11-10T01:46:46
2017-11-10T01:46:46
110,188,407
0
0
null
null
null
null
UTF-8
Python
false
false
1,202
py
import sqlite3 class DBHelper: def __init__(self, dbname="todo.sqlite"): self.dbname = dbname self.conn = sqlite3.connect(dbname) def setup(self): tblstmt = "CREATE TABLE IF NOT EXISTS items (description text, owner text)" itemidx = "CREATE INDEX IF NOT EXISTS item...
[ "noreply@github.com" ]
jitendra1998.noreply@github.com
eaa9e3662e78f9f1fb39c52cf1e2e525f22310eb
a169199ebb9f4a7b81cd00ff23af50aeb591ffe4
/clpy/types/mutabledict.py
8b4c40a0ef9fc6e1b78077e8aad89ceb47cf9954
[]
no_license
zielmicha/clojure-pypy
b2eab9437997e4c250d455b3a6d5f4c036855cdf
41c8f14a19173c1b5452bcdb1f7f6df23e6cdecf
refs/heads/master
2021-01-23T12:18:45.583076
2014-02-21T19:22:30
2014-02-21T19:22:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
723
py
from clpy.types.root import Root from clpy.types.dict import PersistentHashTrie class MutableDict(Root): ''' Mutable dictionary that should be based on PyPy's implementation, but I can't get it accepted by translator. So, for now, it's based on persistent hash trie. ''' def __init__(self, spac...
[ "michal@zielinscy.org.pl" ]
michal@zielinscy.org.pl
0451be4ebad70baaebda136c6e39d0b94af42b94
073dc345e8612c3052f87b4280425a28c5a9cacc
/prost_site.py
3d5c4a9adff27c49dec64f8b1ff54045f201747c
[]
no_license
Grafstain/Example_python_code
2a4f08671c7ac5a830855ac02ce2afc3de72817e
b3ee14f6a7f44c70a517eb0647df45a089649f2d
refs/heads/master
2020-09-29T04:23:36.680012
2019-12-09T19:30:49
2019-12-09T19:30:49
226,950,195
0
0
null
null
null
null
UTF-8
Python
false
false
490
py
import time startTimer = time.time() n=600851475143 if n % 2==0: lastFactor=2 n=n // 2 while n % 2==0: n=n // 2 else: lastFactor=1 factor=3 maxFactor= n while n>1 and factor<=maxFactor: if n % factor==0: n=n // factor lastFactor=factor while n % factor==0: n=n // factor ...
[ "noreply@github.com" ]
Grafstain.noreply@github.com
d48e178b35e991bfe7a02a398b545c43e7840e31
dbb761fb5c423835bf88b5970021f1ff8656f2b0
/quantization_python/convert/darknet2caffe.py
3d2ee54be74e4886176d69d692c4655061593b8c
[]
no_license
Majiawei/quantization_caffe_yolo
608034f01eb468ae721a4be8c6f34db404e3f288
3cf5c765a7276fc39a51981f8d8773527f8f8466
refs/heads/master
2022-11-15T06:31:30.394333
2020-07-10T14:27:23
2020-07-10T14:27:23
276,799,857
0
0
null
null
null
null
UTF-8
Python
false
false
21,961
py
import sys sys.path.append('/home/user/Work/mjw/test/ezai/caffe_base_ezai/python/') import caffe import numpy as np from collections import OrderedDict from cfg import * from prototxt import * def darknet2caffe(cfgfile, weightfile, protofile, caffemodel): net_info = cfg2prototxt(cfgfile) save_prototxt(net_info...
[ "931429379@qq.com" ]
931429379@qq.com
c6a95baea0c0c6555f1f9da0338a23566d6d9c19
f81677b1c5a44122986f10d9ccfea91e8d85bfb0
/helloEpydemic.py
9819d96a76f051fce03933e7be5a0fda936a5a17
[ "BSD-2-Clause" ]
permissive
cshunk/EpydemicTest
f8b16d2890a76c52f2745d55da06decda687638c
28f64738a05cba7bb1e391ed5a52d0fbac2751f0
refs/heads/master
2022-07-06T21:48:23.633555
2020-05-11T03:44:17
2020-05-11T03:44:17
257,732,737
0
0
null
null
null
null
UTF-8
Python
false
false
2,388
py
import epydemic import networkx as nx import matplotlib import matplotlib.pyplot as plt import pandas as pd import numpy as np class MonitoredSIR(epydemic.SIR): INTERVAL = 'interval' PROGRESS = 'progress' def setUp(self, params): """Schedule the monitoring event. :param pa...
[ "cshunk@gmail.com" ]
cshunk@gmail.com
3a7c5fde92109bfd042a941929ec5850029ed64f
8b96516253d26cf9dc86178931f99ba0bca3ca37
/erickChallenge.py
ce2e4ebf01f23a75814ce9fc9f79bbc702f8f45e
[]
no_license
rosswelltiongco/EE-381-Probability-and-Statistics
1b0fe01b14499ec215bf64f49350e78bb59012b0
904fbda80e7b03eee6b2e0009933ac514446da06
refs/heads/master
2020-05-21T14:37:45.192572
2019-05-11T04:00:16
2019-05-11T04:00:16
186,085,368
0
0
null
null
null
null
UTF-8
Python
false
false
634
py
maxNum = 0 maxLength = 0 storage = {} def getLength(n): length = 0 test = n while test > 1: if test%2==0: if test in storage: return storage[test] + length else: test=test/2 length+=1 else: if test in sto...
[ "rosswelltiongco@gmail.com" ]
rosswelltiongco@gmail.com
2dd499357629e6660622ac953c97b0b54d50e92c
d4d9cf1f27ba057d0995eb0594f417686901c5e5
/script/new_customerandfollow_p.py
73698e0e5e58a6b41bc826a5a9bda4a14f5e3249
[]
no_license
xlliu/ct
c5956bb3316fa5fdb83c6ed2c6ee0421de39b734
fed8e1ff67db68be0852c04a884ad54bec846afa
refs/heads/master
2021-01-10T01:21:26.709144
2016-01-04T14:58:01
2016-01-04T14:58:01
49,002,765
0
0
null
null
null
null
UTF-8
Python
false
false
16,756
py
#!flask/bin/python # -*- coding: utf-8 -*- import os import sys import xlsxwriter reload(sys) sys.setdefaultencoding('utf8') __author__ = 'xlliu' import datetime,time import pymysql class OffeceBuilding(object): # dbhost = 'rds75fa0kz8u0lcvqmmd1.mysql.rds.aliyuncs.com' # dbuser = 'online' # dbpassword =...
[ "liuxuelong@qq.com" ]
liuxuelong@qq.com
34d3bd0138a6b1ff374de550600bd1e994e01e20
15fb62305a2fa0146cc84b289642cc01a8407aab
/Python/230-KthSmallestElementInBST.py
e1fce7116f90027161bad3e1f527125aaa0290c7
[]
no_license
geniousisme/leetCode
ec9bc91864cbe7520b085bdab0db67539d3627bd
6e12d67e4ab2d197d588b65c1ddb1f9c52a7e047
refs/heads/master
2016-09-09T23:34:03.522079
2015-09-23T16:15:05
2015-09-23T16:15:05
32,052,408
1
0
null
null
null
null
UTF-8
Python
false
false
1,342
py
# Definition for a binary tree node. class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: # @param {TreeNode} root # @param {integer} k # @return {integer} def recurKthSmallest(self, root, k): res = [] self.in...
[ "chia-hao.hsu@aiesec.net" ]
chia-hao.hsu@aiesec.net
7316ca8cd2560553bbda0c988c96fc3a76193be1
21fb852e0be0e0df9564ede1ff7d211b901a0f39
/printresult/printres.py
a41b6149999a316eda8740b3ef847dc350d1248c
[]
no_license
sumanth-lingappa/prayathna
cdea332ea835fec872ce8642b9b5bb1b659b7987
bb6f01c2e8ee10aa89b92307f321bcaf1b3231c2
refs/heads/master
2022-12-12T23:39:04.722832
2020-09-12T03:59:26
2020-09-12T03:59:26
49,435,731
1
0
null
null
null
null
UTF-8
Python
false
false
864
py
from inputdata import PROJECTDATA print '-'*100 print "{:<15}{:<15}{:<50}{:<10}{:<10}".format('PROJECT','SUITE','TESTCASE','STATUS','ERRORS') print '-'*100 pproj = '' psuite = '' projList = sorted(PROJECTDATA.keys()) for proj in projList: projData = PROJECTDATA[proj] suiteList = sorted(projData['suit...
[ "sumanthmadivala@gmail.com" ]
sumanthmadivala@gmail.com
13bd6f9b12884f741a4e85492028653512ac3a9a
5efd9d88a5100fed6fbba947d77bb8c9b50605b7
/stack_queue/largestRectangleArea.py
ab073f3d08fa56f36e799dd2b7ce1fe0f2960de4
[]
no_license
dearleiii/Python-Tutorial-
6cc5a576c519bcdeda0b22d0edd7f21ca33e641f
c46d7d6db7ad1fce9c1c512aee60d5ebf8d5bdb3
refs/heads/master
2020-03-23T02:09:27.131721
2019-05-22T22:59:02
2019-05-22T22:59:02
140,959,312
1
0
null
null
null
null
UTF-8
Python
false
false
687
py
class Solution: def largestRectangleArea(self, heights): """ :type heights: List[int] :rtype: int """ if heights is None or len(heights) == 0: return 0 indices_stack = [] area = 0 for index, height in enumerate(heights + [0]): whi...
[ "noreply@github.com" ]
dearleiii.noreply@github.com
8fb00b2b591073c2820802c16f940e1416f6d14c
eafd84d0948eeb985a1dcb91948af479176c011a
/div2/313/a.py
fb56ca56287c38c226d94c2c8767f737307fc214
[]
no_license
haya14busa/codeforces
29a11bd00ca319d01088d943fdffd3fadafe1f5a
24844da8ae1e35883b915ff11cce0bf13e9f65c3
refs/heads/master
2020-04-30T13:27:31.165286
2015-08-30T07:58:34
2015-08-30T07:58:34
39,081,511
0
0
null
null
null
null
UTF-8
Python
false
false
674
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import unittest def solve(n, xs): return -1 if 1 in xs else 1 def getinput(): def getints_line(): return list(map(int, input().split(' '))) n = int(input()) return n, getints_line() def test(): art = Assert() # x = 1 art.equal(solv...
[ "hayabusa1419@gmail.com" ]
hayabusa1419@gmail.com
5c8168f273a9b0e9f1c20acdf248a207bd4e4fd0
00cbc0f9e524dea4ba561575ffc05c0ffffc488f
/openstackclient/tests/network/test_common.py
a3396b9da88e1b0bbfaff87ac97a0d5f649b9a9b
[ "Apache-2.0" ]
permissive
Aresall1990/python-openstackclient
6e3b7c3e1d49a5c60e04affad0cbcbaf8ac1d198
42b607edf117e4a3f421a554308330409c88dbb1
refs/heads/master
2021-01-24T03:53:09.426271
2016-02-04T22:56:57
2016-02-04T22:56:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,342
py
# 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, software # distrib...
[ "rtheis@us.ibm.com" ]
rtheis@us.ibm.com
654a3b93891efa6720ed3a9bef89c16612cdd5f4
5dd93a32e9803cbe29de37434d9bd1209f871b84
/queshou/src/queshou/servers/http/__init__.py
f366b634ad4ae74a3ab6b0c6f2bf9d94a686a061
[]
no_license
cnbcloud/mjserver
71e9448478d6b6c04e852fc74968b3b2cb75f51c
b5b08a85d49c3bed460255a62dc5201b998d88d4
refs/heads/master
2021-01-21T17:46:29.073368
2017-07-27T09:25:49
2017-07-27T09:25:49
98,517,509
1
1
null
null
null
null
UTF-8
Python
false
false
79
py
# -*- coding:utf-8 -*- """ @author: huangtao @date: 2016/02/27 """
[ "gamedev@jundeMac-mini.local" ]
gamedev@jundeMac-mini.local
a6c46893d0637e127dc338df8181555430a3ae64
8c10414632ce4f56c926ca8e99c167d502a3c550
/Chrono_Version1.py
1e47f00e7e20aa24a6b7a2cd8b99da0a171d6a7a
[]
no_license
AryanBiswari/web_browser
5468637df561779e0deff1c2d119bbef5abb52bb
642ea6b51b81d40871ef41c6a00f5df41b235177
refs/heads/main
2023-03-05T06:01:03.585799
2021-02-21T11:03:48
2021-02-21T11:03:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,712
py
#!/usr/bin/env python # coding: utf-8 # In[1]: import sys from PyQt5.QtCore import * from PyQt5.QtWidgets import * from PyQt5.QtWebEngineWidgets import * class MainWindow(QMainWindow): def __init__(self): super(MainWindow, self).__init__() self.browser = QWebEngineView() self.browser.se...
[ "noreply@github.com" ]
AryanBiswari.noreply@github.com
0fd089e10dd682bc982636463237c11a26e11749
f376f56fca1f57859c737bd95d9a9c6ef47904cc
/src/visualization/visualize.py
b93081c9968413c3d0433bb4c4b1358c28a72d13
[]
no_license
ajits-github/covid-19-data-science
b0511fd68b4f67b22d8c5bb5b386d259046fa7a9
186198c669b97e60b4215d9c867ea6b25f941fc4
refs/heads/master
2023-01-04T13:32:28.816870
2020-10-28T13:08:04
2020-10-28T13:08:04
295,719,299
0
0
null
null
null
null
UTF-8
Python
false
false
6,169
py
import pandas as pd import numpy as np import subprocess import dash dash.__version__ import dash_core_components as dcc import dash_html_components as html from dash.dependencies import Input, Output, State import plotly.graph_objects as go from sklearn import linear_model reg = linear_model.LinearRegression(fit_i...
[ "ajit110920@gmail.com" ]
ajit110920@gmail.com
755d6aaeee71030185d492833dfef66356bbd803
d293b1b5037f7e493eddbe8572cc03ffd9f78890
/code/sort.py
574a24cd3b45ffb3a643147fc331bc61787fd95d
[]
no_license
weilaidb/pyqt5
49f587e6ec3b74f6b27f070cd007a6946a26820a
0ad65ed435ecfc87ca32e392bbf67973b4b13e68
refs/heads/master
2020-03-07T23:04:51.365624
2018-08-01T15:30:44
2018-08-01T15:30:44
127,771,719
1
0
null
null
null
null
UTF-8
Python
false
false
316
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- print(sorted([36, 5, -12, 9, -21])) print(sorted([36, 5, -12, 9, -21], key=abs)) print(sorted(['bob', 'about', 'Zoo', 'Credit'])) print(sorted(['bob', 'about', 'Zoo', 'Credit'], key=str.lower)) print(sorted(['bob', 'about', 'Zoo', 'Credit'], key=str.lower, reverse=True))
[ "wxjlmr@126.com" ]
wxjlmr@126.com
eacce69b378416016d039a6ad32db54a175b0222
a0e3908174c06a65248a4b05fc69c6821214e916
/Dictionary.py
47a8310f067ac787e06e05ce29c7a86ecfa173b8
[ "MIT" ]
permissive
Anupamad7/Python-Data-Structures
6690d926838c35f48736eeb6fb2d905b557ef601
c742f9833cbbe4842b6b6ef71b4051155142efba
refs/heads/master
2021-04-16T06:23:17.764323
2020-04-24T13:41:54
2020-04-24T13:41:54
249,334,023
0
1
null
null
null
null
UTF-8
Python
false
false
953
py
Country_Names = ['India', 'russia', 'China', 'Kroatia', 'Ukrain', 'Sweeden', 'England', 'US', 'Iraq', 'Iran', 'Iraq'] def writefile(): import random nums = 5000000 f = open("TestingDictionary.txt", "w") for i in range(nums): f.write(random.choice(Country_Names)+'\n') f.close() ...
[ "noreply@github.com" ]
Anupamad7.noreply@github.com
5b7c11305018c8d6cc11cb9b92cf8664e533f6e3
aed0fce5428c04619763bd667beb5832b5647c65
/blog/urls.py
88869ccc807505fa1943eb3efa6e078728a9cade
[]
no_license
aleksanderpe/my_first_blog
57f01405d2d119815a35432a562d8160c27cf6b2
7db9910ade34fabd10d0b1f48a6704cd96ac4bbb
refs/heads/master
2020-03-15T17:04:44.016633
2018-05-06T18:41:44
2018-05-06T18:41:44
132,157,554
0
0
null
null
null
null
UTF-8
Python
false
false
801
py
"""blog URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/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...
[ "olekpeczot@gmail.com" ]
olekpeczot@gmail.com
d49d9eb6c8717ccde8a3a9fb5629628f7f989129
ecf0d106831b9e08578845674a457a166b6e0a14
/OOP/inheritance_EXERCISE/players_and_monsters/project/blade_knight.py
f3fe7f02553cff2f5de2b7045840784a828df529
[]
no_license
ivo-bass/SoftUni-Solutions
015dad72cff917bb74caeeed5e23b4c5fdeeca75
75612d4bdb6f41b749e88f8d9c512d0e00712011
refs/heads/master
2023-05-09T23:21:40.922503
2021-05-27T19:42:03
2021-05-27T19:42:03
311,329,921
8
5
null
null
null
null
UTF-8
Python
false
false
169
py
from project.dark_knight import DarkKnight class BladeKnight(DarkKnight): def __init__(self, username: str, level: int): super().__init__(username, level)
[ "ivailo.ignatoff@gmail.com" ]
ivailo.ignatoff@gmail.com
9d707755487a66dea36d2f8b6b39e1388880bad7
49351d39e2f2d4778969ed794a612e8564bbbc57
/config/logConfig.py
c60b3793511c20c4d7f0b74f3c03d311f6b5db42
[]
no_license
1418500295/py_appium
443b8188bef546408d73a496e5e7b62788c4f7bf
4057ee191d8d049e392cd724c116dfc94cc65865
refs/heads/master
2022-12-14T11:43:12.847321
2020-08-05T11:42:55
2020-08-05T11:42:55
246,295,024
0
0
null
2022-12-08T03:46:31
2020-03-10T12:28:21
HTML
UTF-8
Python
false
false
1,016
py
import logging import sys class LogConfig(): @staticmethod def get_log(): # 创建一个日志器logger并设置其日志级别为DEBUG logger = logging.getLogger("test_logger") logger.setLevel(logging.DEBUG) # 将结果写入日志文件 handler = logging.FileHandler("../report/app.log", encoding="utf-8") # 创...
[ "daine0513@gmail.com" ]
daine0513@gmail.com
c05daee6a610e471c7a51494fa24aa4b42799fea
1c2e3d1f84a98886117c459931ce07d5a5aaf5cf
/Main.py
e93e953a9194254cd8f4f1b0a795ac4fa135c817
[]
no_license
gokulbnr/Mini-SQL-Engine
4cc1cc96f0c452e98414e8df86667d89eedf6336
7d524eff45bdf419323379905f13749ad9183a73
refs/heads/master
2020-08-13T11:06:51.920705
2019-10-14T05:54:51
2019-10-14T05:54:51
214,959,109
0
0
null
null
null
null
UTF-8
Python
false
false
1,147
py
#!/usr/bin/env python import copy import csv import sqlparse import sys dat = {} tab = {} def loadData(file): op = 0 name = "a" for line in file: if line == "<begin_table>": op = 1; elif op == 1: dat[line] = []; op = 0; name = line; elif line == "<end_table>": continue else: dat[name].ap...
[ "gokulbnr@gmail.com" ]
gokulbnr@gmail.com
5b50c10d07ae2f3c0af1d08a1f18be0424422408
20ff04a8a0542824b9c34567bde84aba80f60de9
/cameraInterfaceV1/globals.py
72837ce921772711120941b45f88ebd33575e3b6
[]
no_license
mcdermatt/autofocusProject
8dfda5e85c620a66774ee81342f9c1658dbc029f
7d348cc09c391eec9e26920a71ac61e2cd9f1c3a
refs/heads/master
2020-07-25T18:46:55.023833
2019-09-14T15:36:13
2019-09-14T15:36:13
208,390,839
2
0
null
null
null
null
UTF-8
Python
false
false
53
py
class Globals: focus_mode = "zone" scene = "menu"
[ "mcdermatt@gmail.com" ]
mcdermatt@gmail.com
cd52d96a48e3c55906571e3c4c6f2658b5e60148
e98f5238da632add0aaacd18c1b9798075186bd3
/env/bin/django-admin
76a52339f300ea3b0ddab73cecab5593cbde430b
[]
no_license
Akshaytechis/django_forum
a05ad08159f6cf9b4c38fdbbda5185e1ebff5f8d
21884e8355398a589558827c61bc57d695ae5dfb
refs/heads/master
2023-08-29T13:48:17.442664
2021-10-19T01:14:51
2021-10-19T01:14:51
411,563,826
0
1
null
null
null
null
UTF-8
Python
false
false
297
#!/Users/musubi/Desktop/django_forum/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line())
[ "musubi@musubis-MacBook-Air.local" ]
musubi@musubis-MacBook-Air.local
f66383b30307ff2dba27464df2168e737f546c9c
810ac2881791f6d6d690968854ba7d01325b63c6
/Home Work 2/score_model.py
59211970139f1ced50f5c6f606c9bd712724e84b
[]
no_license
dilipganesan/DATA622_BigData-and-Machine-Learning
9d7443333f27de00f1279a32c11b2fc33ea860af
a9e20e739f090b358afd8413af0e2e60348c5cb0
refs/heads/master
2020-03-31T11:38:29.204633
2018-12-13T03:26:09
2018-12-13T03:26:09
152,184,865
0
0
null
null
null
null
UTF-8
Python
false
false
1,867
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ CUNY DATA 622 Home Work 2 Created on Mon Oct 8 23:18:11 2018 @author: dilipganesan When this is called using python score_model.py in the command line, this will ingest the .pkl random forest file and apply the model to the locally saved scoring dataset csv. Th...
[ "noreply@github.com" ]
dilipganesan.noreply@github.com
61144733a7ba970967c47e9af7a46cadf1f7c2db
3be8b5d0334de1f3521dd5dfd8a58704fb8347f9
/create_session_index.py
dc01fc1ffa77f8416331b23701799095cea70a20
[ "MIT" ]
permissive
bmillham/djrq2
21a8cbc3087d7ad46087cd816892883cd276db7d
5f357b3951600a9aecbe6c50727891b1485df210
refs/heads/master
2023-07-07T01:07:35.093669
2023-06-26T05:21:33
2023-06-26T05:21:33
72,969,773
1
0
null
null
null
null
UTF-8
Python
false
false
239
py
""" Run this one time, to setup the automatic expiration of sessions """ from web.app.djrq.model.session import Session from pymongo import MongoClient collection = MongoClient().djrq2.sessions Session._expires.create_index(collection)
[ "bmillham@gmail.com" ]
bmillham@gmail.com
0f5084fe7deefe3d514592c7c60d72832e33f11f
066612a390af03bb170d74a21b0fb0b7bcbfe524
/tests/testcases.py
12602c0da2e5760fc9d92fd91d9c22da1a2732ca
[ "MIT" ]
permissive
kikeh/django-graphql-extensions
873577cc9e0085630889fea9fa5539962c31dbcc
951b295235ca68270066cc70148e2ae937d4eb56
refs/heads/master
2020-12-26T05:23:12.039826
2020-01-31T09:41:43
2020-01-31T09:41:43
237,398,866
0
0
MIT
2020-01-31T09:32:25
2020-01-31T09:32:24
null
UTF-8
Python
false
false
685
py
from django.contrib.auth import get_user_model from django.contrib.auth.models import Group from django.test import testcases from graphql_extensions import testcases as extensions_testcases from . import schema class TestCase(testcases.TestCase): def setUp(self): self.group = Group.objects.create(name...
[ "domake.io@gmail.com" ]
domake.io@gmail.com
44e9059459640303d271a1f066c083a99614abaf
457d0a6af4c20c2ce9dc8ae17c92b381251ef107
/Yangs-Method/1.Features/4.ED-PSSM/Training/EDPSSM.py
f5fb09cf38b15f5fbe376ce065d7d9eb6aeb709d
[]
no_license
raf1305/Academic-Thesis
39b8861b140dc45f67480e7b146f6fdd77e32f42
a7144de91a8cb61906aa176aa7a4e2a9a1208f6f
refs/heads/master
2021-02-03T23:49:03.792307
2020-03-03T17:42:13
2020-03-03T17:42:13
243,576,435
0
0
null
null
null
null
UTF-8
Python
false
false
1,582
py
import sys import pandas as pd from math import pow s = sys.argv[1] _type = sys.argv[2] words = s.split('.') f = open(s) num_lines = sum(1 for line in f) amino_num = num_lines-1 #print(amino_num) f.close() f1=open('PSSM-ED-Trainingset.csv',"a+") P = [[0 for x in range(20)] for y in range(num_lines-1)] #print(P) j = 0...
[ "rafeen1305099@gmail.com" ]
rafeen1305099@gmail.com
1fc7b0a0014c76550b270c663b6cd0e1367c5ff4
d1a84f0ef4660245c7cdbf1deab176f5917a0de9
/met_plot/ngl/pynio-develop/pynio-develop/test/test_netcdf.py
6c10597c9fdc898cc2cf5ec6a528b1d860a0678f
[ "Apache-2.0" ]
permissive
cycle13/study_demo
f1048c2d63adbbe841537e5985337366464354be
0c8154d614b54cd0dce952e0d31dbd157c8d9fa2
refs/heads/master
2021-01-08T02:50:24.365562
2020-02-20T06:54:00
2020-02-20T06:54:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,917
py
import Nio import numpy as np import numpy.testing as nt import os import unittest as ut file_to_test = '../ncarg/data/netcdf/pop.nc' class Test(ut.TestCase): def setUp(self): self.f = Nio.open_file(os.path.realpath(os.path.join(os.path.dirname(__file__), file_to_test))) def test_netcdf_variables(sel...
[ "857956255@qq.com" ]
857956255@qq.com
d86ebf62cfba1698923c1901510e7e9f1be2816c
955b968d46b4c436be55daf8aa1b8fc8fe402610
/other/get_timezone.py
d32feb2a1fb16ad7235d22228884263287fa7712
[]
no_license
han-huang/python_selenium
1c8159fd1421b1f0e87cb0df20ae4fe82450f879
56f9f5e5687cf533c678a1c12e1ecaa4c50a7795
refs/heads/master
2020-03-09T02:24:48.882279
2018-04-07T15:06:18
2018-04-07T15:06:18
128,535,917
0
0
null
null
null
null
UTF-8
Python
false
false
2,387
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from time import gmtime, strftime, localtime import locale, time, sys # Windows 10 platform tz1 = strftime("%z", gmtime()) print('gmtime()', gmtime()) print(tz1) # +0800 tz2 = strftime("%z", localtime()) print('localtime()', localtime()) print(tz2) # +0800 print() tz3 = ...
[ "vagrant@LaravelDemoSite" ]
vagrant@LaravelDemoSite
c0e5af073a3f0da90d9ab6f254bc0b2988935599
754104eedb36cf8f51d1c12f653f23cf3fad199d
/YumYum/urls.py
ad7418a23316e75ce6de5cc5c55e57a4e4f9ea70
[]
no_license
dudamarlena/YumYum
7f8354fc4fe234f3bad7f79b45982d52c02471e2
3f5a59ab28cf4d4c78e401adbf92227015f33850
refs/heads/master
2020-03-16T23:44:17.797909
2018-05-25T16:01:30
2018-05-25T16:01:30
133,089,078
0
0
null
null
null
null
UTF-8
Python
false
false
534
py
"""YumYum URL Configuration""" from django.conf.urls import url from django.contrib import admin from recipes.views import RecipeView, RecommendedRecipeView, RecipeDetailView, search_recipe urlpatterns = [ url(r'^admin/', admin.site.urls), url(r'^recipes/$', RecipeView.as_view(), name="recipes"), url(r'^se...
[ "marlena_duda@onet.eu" ]
marlena_duda@onet.eu
7afa88cebb5b5d6ef8b5e582eb11610354d8615f
bc4a4c7aabfa19cdd5307f58dc07b9bfa42bd2db
/blog/migrations/0008_auto_20200818_2223.py
1644867b5d9f8d952c7e20582d02a603807cf446
[]
no_license
dydwkd486/animal_sounds
8b9d93bd9c369c3346d618631c6d9d0e35d98267
079a6594b073fa06f2fa8c988b69352a9c1f4da4
refs/heads/master
2021-06-14T16:40:02.244434
2021-04-04T14:51:20
2021-04-04T14:51:20
173,652,539
0
3
null
2021-06-10T21:15:46
2019-03-04T01:28:09
HTML
UTF-8
Python
false
false
796
py
# Generated by Django 2.0.13 on 2020-08-18 13:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0007_auto_20190524_1945'), ] operations = [ migrations.AlterField( model_name='animal_map', name='address',...
[ "gichanac@naver.com" ]
gichanac@naver.com
1f782349391f9b5a8874a516580a48d3fa94526d
0a6728d8a872e35eb88e04e01d613e1cafac38b7
/sortCriteria.py
bb57401b103c126b1b8f7f1b2582faa65c255919
[]
no_license
kojoidrissa/pycascades_2018
c37cffc37af360b6c99c6704bcc34fd6ce6e8e87
883cb01f3d5328c07cf03441ecdda9e698731408
refs/heads/master
2021-09-05T05:41:54.192229
2018-01-24T14:17:04
2018-01-24T14:17:04
114,677,426
2
0
null
null
null
null
UTF-8
Python
false
false
572
py
def sort_criteria(header_row): ''' tuple --> tuple takes in a tuple (in THIS case, in the form of the header row of an OpenPyXL worksheet object) returns a tuple of indexes to be used as keys by itemgetter for sorting criteria. ''' sort_list = [] criteria = ('division', 'cc', 'employee_nam...
[ "kojo.idrissa@gmail.com" ]
kojo.idrissa@gmail.com
1f5c4ea84120b30401071891d0365f2ae5dd3b73
38106a673fdf95651d09e61d7d9e9a77434e00cd
/importers/banks/bank-of-america/Bank_Statement_Extractor.py
29f09bc8b9848ade8f2c53e86cebe7ba8e2a9065
[ "Apache-2.0" ]
permissive
tidbits-ltd/connoisseur
a46e939ada17df35f9735417428d8c3bf74ac8be
2465fe4674df0646fc98f06f3220c179a95c5201
refs/heads/master
2022-12-05T02:43:25.864211
2020-09-03T20:16:32
2020-09-03T20:16:32
289,624,005
0
0
null
null
null
null
UTF-8
Python
false
false
5,996
py
""" So far this script only works with Bank of America. Notes: - This program works only when the landing page is like screenshot1 - This program works only when a verification code is requested - This program works only when the user takes control and enters the verification code and also selects ...
[ "sajosuraj446@gmail.com" ]
sajosuraj446@gmail.com
9bb1fba15b061678ffcff2219bc7888f2a3681bd
963a49b8a48764929169edb57e492b5021331c87
/tests/volume_system_test.py
5d4b9236f96e02ee546f514160efbb9699654d30
[ "MIT" ]
permissive
ralphje/imagemounter
d0e73b72fe354c23607361db26906e1976b5d8ee
383b30b17fe24df64ccef071ffb5443abf203368
refs/heads/master
2023-02-22T14:27:54.279724
2022-04-04T15:08:56
2022-04-04T15:08:56
16,476,185
98
51
MIT
2023-02-09T10:49:23
2014-02-03T10:27:32
Python
UTF-8
Python
false
false
869
py
import sys from imagemounter._util import check_output_ from imagemounter.disk import Disk from imagemounter.parser import ImageParser class TestParted: def test_parted_requests_input(self, mocker): check_output = mocker.patch("imagemounter.volume_system._util.check_output_") def modified_command...
[ "ralph@ralphbroenink.net" ]
ralph@ralphbroenink.net
67258e9e5169f7b376d01cce671e000f762520af
98c0629c0b48a9264f2685e7d4c6dea88e29d79d
/rdklib/util/service.py
a3e44afe8bbfc2c230a01e1ba2a8639c84f5c6d5
[ "Apache-2.0" ]
permissive
VijayaD/aws-config-rdklib
3bed742b8c05bab91c3b621d7cbc4d96852db923
ff454ba6e2874c5b44f04d12f309133ead5c05cc
refs/heads/master
2021-03-06T18:54:59.022835
2020-03-09T21:38:58
2020-03-09T21:38:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,720
py
import json import botocore # Helper function used to validate input def check_defined(reference, reference_name): if not reference: raise Exception('Error: ' + reference_name + ' is not defined.') return reference # Check whether the resource has been deleted. If it has, then the evaluation is unnece...
[ "chauyu@38f9d34e87fa.ant.amazon.com" ]
chauyu@38f9d34e87fa.ant.amazon.com
fae53c83b4095e55db4ee5f0af358bd4cde17818
cc9a97f0411270d5ca8b4858769e17374400f4f4
/extra_apps/xadmin/adminx.py
c00aee8d13e92cafbab144069377d3e6feb93145
[]
no_license
jt19880807/Pyxadmin
8b1cc4fd0a90e63711ef7e8fb236c475eeadb59d
02eccc7fc36e44aa6a114ec6a2ac83a1bc7c1ecb
refs/heads/master
2021-06-25T03:11:46.943990
2017-09-11T10:27:56
2017-09-11T10:27:56
103,122,390
0
0
null
null
null
null
UTF-8
Python
false
false
1,397
py
from __future__ import absolute_import import xadmin from .models import UserSettings, Log from xadmin.layout import * from xadmin import views from django.utils.translation import ugettext_lazy as _, ugettext class UserSettingsAdmin(object): model_icon = 'fa fa-cog' hidden_menu = True #show_detail_fields...
[ "422836331@qq.com" ]
422836331@qq.com
273fd9f145e716e3be92436742505363a1f97b3e
a6e812e138640e63ccf25bc795d08cea584031e8
/Codeforces/381/A.py
a56be37e923308335c6c7e716b4f91442338b30a
[]
no_license
abhigupta4/Competitive-Coding
b80de4cb5d5cf0cf14266b2d05f9434348f51a9e
5ec0209f62a7ee38cb394d1a00dc8f2582ff09be
refs/heads/master
2021-01-17T06:54:12.707692
2020-12-10T18:00:17
2020-12-10T18:00:17
49,972,984
1
0
null
null
null
null
UTF-8
Python
false
false
189
py
def ii(): return map(int,raw_input().split()) n,a,b,c = ii() if n%4 == 0: print 0 elif n%4 == 1: print min(c,3*a,b+a) elif n%4 == 2: print min(2*a,b,2*c) else: print min(a,b+c,3*c)
[ "abhinavgupta6245@gmail.com" ]
abhinavgupta6245@gmail.com
68394ba817eaabcbb9918db8851e73b9fde41b68
486febdf01d6f6eca81cf2cb8f9c7480145e2e82
/geode/__init__.py
99782170cdf80f64c79e1d1baf18e3a769b9a99b
[ "MIT" ]
permissive
daimeng/py-geode
1dd5039c1c97a92d5187f235c9371b833f8a6547
a4146804e4def71a6b430e5a16f6e0b1a65deefe
refs/heads/master
2020-04-06T16:29:31.004294
2019-04-15T18:05:10
2019-04-15T18:05:10
157,621,866
0
0
MIT
2019-04-15T18:04:40
2018-11-14T22:53:16
Python
UTF-8
Python
false
false
187
py
from . import models from . import utils from . import dist_metrics from . import google # conversion METERS_PER_MILE = 1609.344 __all__ = ['models', 'utils', 'dist_metrics', 'google']
[ "daimengchen@gmail.com" ]
daimengchen@gmail.com
e77a593197bf45d0a7c18466dd8753c90f6313e4
6e701e3cff75a12a6f7f591fab440e62c2ecb198
/bookmarks/settings/base.py
1e1ddc46ec07903323915f87ddcaa7b1e3b5622a
[]
no_license
WellingtonIdeao/d3ex_bookmarks
10350f54c396881bc9e81b96cb86d3f6d74c8b34
52c1a5493202dc415f00c4d63b64e9533ac1845d
refs/heads/main
2023-06-07T02:40:34.806602
2021-07-06T00:30:28
2021-07-06T00:30:28
381,181,357
0
0
null
null
null
null
UTF-8
Python
false
false
3,172
py
""" Django settings for bookmarks project. Generated by 'django-admin startproject' using Django 3.2.4. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ import os.p...
[ "wellington.ideao@gmail.com" ]
wellington.ideao@gmail.com
f6a8b389c86c089c2df2a64a5e12a86169611045
66783787ec10db6c30eb35b6c4054298e8e34eff
/template_with_filters.py
c04c4211565b6575bb37f8c62f070474cdda6c02
[]
no_license
CalinGheorghiu/thagora
3e0a55864d5d2374e9f4d57e81a922e320f3b5f5
febd62471c2d5d8b78bf6387fce5f11b3109a1a7
refs/heads/main
2023-07-15T17:43:38.338945
2021-08-27T09:22:42
2021-08-27T09:22:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
208
py
import streamlit as st import pandas as pd def filters(operator_id,leather_type,pace): st.multiselect("Operators",operator_id) st.multiselect("Leather Type",leather_type) st.selectbox("Pace",pace)
[ "58596544+CalinGheorghiu@users.noreply.github.com" ]
58596544+CalinGheorghiu@users.noreply.github.com
0ed7700e62213a8406e105d031cdd3eb4e902c2e
a83cfb2b835e1ababaf23c79a632bf29e9158b2a
/HangMan.py
8cfe4b31e5edde2aa12d0a7cd0ab896ba8fe798c
[]
no_license
ClayHurford/HomeArcade
fb432b85eed671a1e2ed92ee0ea99a06782d9549
ce1723a2e6c0f7dd39e987aa761575c26137ebfe
refs/heads/master
2020-06-18T09:18:21.566920
2019-09-05T18:57:21
2019-09-05T18:57:21
196,249,382
0
0
null
null
null
null
UTF-8
Python
false
false
7,267
py
import random_words from easygui import passwordbox import os # global pixel art for the game strikes_0 = """ ____________ | | | | | | | ...
[ "noreply@github.com" ]
ClayHurford.noreply@github.com
b0f376f301572059fdbffe700d9ea148191a57e0
ea6398a07b4665e08a65f994b2b91f249d01e781
/train_utils.py
62abcb1a04cd1d8e81eee4e0f375edd2c7f88882
[]
no_license
LordkTk/Yolo-v3-train
715aa5335a2b534326c790cc059d4723e49f00d5
88a103e7fd055881f680a387d74415098e13c1fc
refs/heads/master
2020-06-07T14:39:41.231970
2019-08-20T11:13:12
2019-08-20T11:13:12
193,042,663
3
0
null
null
null
null
UTF-8
Python
false
false
20,537
py
# -*- coding: utf-8 -*- """ Created on Tue May 28 16:01:44 2019 @author: cfd_Liu """ import tensorflow as tf import numpy as np import random import os import cv2 def div_train_test(): path = os.path.abspath(r'C:\Users\cfd_Liu\Desktop\Machine Learning\Code\PracticeCode\TensorFlow Learning\OpenCV\La...
[ "noreply@github.com" ]
LordkTk.noreply@github.com
226427211225dcb2f940f960c8d52399ed07391d
3b4755042ea57add560e7bad578178312d7c7a76
/env/bin/sqlformat
06213b987fe9756914ad118341a9cd73b46f2259
[]
no_license
pranavbathla/graphqlBasics
ca09061497cb49e1f67423f0538f326df127712c
d2b80f2a2be51a84e1d4740bb8d8b1ed04c222b6
refs/heads/master
2020-07-12T18:11:28.218883
2019-08-28T07:51:48
2019-08-28T07:51:48
204,877,631
0
0
null
null
null
null
UTF-8
Python
false
false
245
#!/home/pranav/SchoolGraphQL/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from sqlparse.__main__ import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "pranavbathla1@gmail.com" ]
pranavbathla1@gmail.com
e9d70918c1fdce8aef20f2cd88504986be609c33
127138154d685c09d814b515df3249f8af1a90cd
/features.py
799451a2468e712b4091c3aeaa8f6184173d3943
[]
no_license
eugenern/chat-metadata-parser
be1eabdd219d1496da9336810341b5c7dcfc4017
b8effbdeb9ee768a9cb30bfcfaacfbb621030105
refs/heads/master
2020-04-07T18:37:59.955670
2018-12-13T16:12:56
2018-12-13T16:12:56
158,617,607
0
0
null
null
null
null
UTF-8
Python
false
false
3,934
py
""" A collection of types of features that a chat message may contain and the formats in which they should be described by the parser """ #!/usr/bin/env python3 # ------- # imports # ------- import re from urllib.request import urlopen from html.parser import HTMLParser # ----------------- # class definitions # ---...
[ "eugenen@utexas.edu" ]
eugenen@utexas.edu
ae7b77baced08878c051998a52c52e932ab8b76b
1aebc65860ed3e45390c83f57d4345a2fd0c1b0b
/tests/unit/customizations/test_assumerole.py
ad6fdddbaa34bc044f11a3f63b1955468040bc6c
[ "Apache-2.0" ]
permissive
andhit-r/aws-cli
a1f572eb1328e4c5826d94d17a46e1e74399a3c8
d1737a6031b104efb814e7446fe98640135afadd
refs/heads/develop
2021-01-24T14:18:37.612517
2015-10-23T20:18:54
2015-10-23T20:18:54
44,942,247
0
1
null
2015-10-26T02:56:02
2015-10-26T02:56:02
null
UTF-8
Python
false
false
16,206
py
# Copyright 2014 Amazon.com, Inc. or its affiliates. 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. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file acc...
[ "js@jamesls.com" ]
js@jamesls.com
f3c51e7c1858693872a0c46e5562b1789c1c7b05
510de97bf332d4a14537e91d3330f92a98f07b1e
/conf/__init__.py
5586ff0d85b45ca6110cfb1cdc719942730fe609
[]
no_license
wangzihan20/csdn_article_show
f63b9109f227c46da93daf91d64b9755a19491c8
d1cabd6672e83ea785f07624271b6acd4c0f7fe6
refs/heads/master
2023-04-02T11:39:43.391594
2018-12-05T07:46:36
2018-12-05T07:46:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
65
py
from .system import * from .constant import * from .meta import *
[ "jefung865424525@gmail.com" ]
jefung865424525@gmail.com
4ff2e4bc1576d94695e1137a9cb57e19919db64f
d949fc9b4fe3fccd7bca2d8500629130a35a0b59
/lamndock_api/apps/functions/models.py
cc58d5f07fa0e99eb60208be9994f81b7aebf470
[]
no_license
yoanisgil/lambdock
435e1aaa56d24a85e6695263c00db989e1cafbc2
e564bc0351a7cd34fb54b4f78a0142fa3b7b2fa6
refs/heads/master
2021-01-16T23:15:42.046096
2016-07-04T21:03:37
2016-07-04T21:03:37
61,848,735
0
0
null
null
null
null
UTF-8
Python
false
false
1,018
py
from __future__ import unicode_literals from django.db import models class Stack(models.Model): name = models.CharField(max_length=100) description = models.CharField(max_length=255) docker_image = models.CharField(max_length=1000) def __unicode__(self): return '{} - {}'.format(self.name, se...
[ "yoanis.gil@valtech.ca" ]
yoanis.gil@valtech.ca
e0396694512061b0874f92b98bfce6d4ce5f1ccd
1e8b3bb2528487622bccf35c576a6716ffbf7523
/catwalk/helpers/__init__.py
3a1e676bbb6bc03f497c5f808e53d46b646c5a13
[ "CC-BY-4.0", "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
andyr0id/catwalk
310f5e033af2ee048a23bfa540b730bc61f10e5c
49bafe146112b519653ff3417a0974afaec124a2
refs/heads/master
2023-03-18T00:09:30.048255
2020-08-07T08:46:06
2020-08-07T08:46:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
874
py
############################################################################## # # Copyright 2019 Leap Beyond Emerging Technologies B.V. (unless otherwise stated) # # 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...
[ "thomas.bird@leapbeyond.ai" ]
thomas.bird@leapbeyond.ai
a84c0a3b44f92e5f5930521c024a18253600e7ef
84dca0ae38b4095e362cf05f0a9124a4fb63653c
/main.py
4c7a49065aaccfcbd698df0dbbfc3f074f71c8a5
[ "MIT" ]
permissive
saputhebeast/rock-paper-scissor
b546edaf9980d1098c49b7ba780c62b7cf82861f
16978e7eda1f6b89013a2b18eeb435c92859d87b
refs/heads/main
2023-04-26T16:11:20.407450
2021-05-23T21:30:42
2021-05-23T21:30:42
369,811,708
1
0
null
null
null
null
UTF-8
Python
false
false
532
py
# importing required modules import packages.connect import packages.rules import packages.game import packages.clear # defining main function to call the other modules def main(): # check connectivity with the SQL server packages.connect.connectivity() # clearing the existing values in the d...
[ "noreply@github.com" ]
saputhebeast.noreply@github.com
4df1e4e6de2f5628b798a3b49ea42c1efec53c72
b45988e3fde27e9ebf717e14ddfab4ddf8559e5c
/pygamma_n/util/convert.py
072684ded564ab855ea5f52a35f863139890f616
[]
no_license
garrettdreyfus/py-gamma-n
bfb98180b6d6e34c7a2811b4e333fd2bf276ddb8
2d33fbc27cc76c55723a9957183ac9d70a28b2a6
refs/heads/master
2021-03-03T14:08:48.662630
2020-03-31T02:45:10
2020-03-31T02:45:10
245,965,782
5
0
null
null
null
null
UTF-8
Python
false
false
1,589
py
import gsw import h5py import xarray as xr import numpy as np def convertToDictionary(refdata): ## gamma_n goes lon, lat, pres data = {} data["lats"] = np.asarray(refdata["lat_ref"]) data["lons"] = np.asarray(refdata["long_ref"]) p_ref = np.empty((91,45,33)) for i in range(p_ref.shape[0]): ...
[ "garrettdreyfus@gmail.comm" ]
garrettdreyfus@gmail.comm
66e88d1bf245fd2f3a6f815c51964e62978bff61
b6f5b6af0c6d398b29f4e16d88ffe4d7ca698b7a
/maya/python/examples/dictionary_tutorial_script.py
176464fba034c8de3d1528418fd22979213dde8f
[]
no_license
ozanserim/ozanserim.github.io
ab0846b14a0f6f193c12c18419ac57dfecc195f6
58029e503a693b7ba252a3c81e2c5d7768842e3d
refs/heads/master
2020-05-21T04:23:36.551132
2017-01-20T02:09:37
2017-01-20T02:09:37
52,234,805
0
0
null
null
null
null
UTF-8
Python
false
false
1,213
py
from maya import cmds import json sel = cmds.ls(sl = 1) meshes =[] for s in sel : shape = cmds.listRelatives(s , shapes = 1 ) if shape : if cmds.nodeType(shape[0]) == "mesh" : meshes.append(s ) meshData = {} for m in meshes : pos = cmds.xform ( m , q =1 , ws = 1 , t = ...
[ "ozan@Ozans-Yosemite.hf" ]
ozan@Ozans-Yosemite.hf
03e574fd5b45e7abd5ceb9a9e57d9c1f1c975c40
0b84a476a49ad51f10a8c22fa2292a4e3195d97d
/announcements/departments/migrations/0001_initial.py
8bb6fb900ce4a6b1e6b4c6aa05331fc20b39bba3
[]
no_license
prashantthumar75/new_project
49d3721b1fff7870583144c2dcbfdd55e8c4231d
45cc733af2ff851b786264586f1366a24bc6c475
refs/heads/main
2023-02-13T11:02:10.391984
2020-12-30T11:23:46
2020-12-30T11:23:46
325,475,212
0
1
null
null
null
null
UTF-8
Python
false
false
1,023
py
# Generated by Django 3.1.2 on 2020-11-13 04:41 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Department', fields=[ ('id'...
[ "noreply@github.com" ]
prashantthumar75.noreply@github.com
66f16da61784958fdb65c0dd15dc6399b8cc16c9
d8e45e20a67bf685e8bcb9ac43585843c4578f93
/A_star_eight_puzzle/eight_puzzle_alt2.py
606814606bcddc4a01e64bf9dbced87d8a582b33
[]
no_license
charboltron/artificial_intelligence
428cf17cf3e076570e67bf4fe2ee1aa211f09a36
da14e270b16f8e4637f2bc5a68dd026c3b840fa7
refs/heads/master
2022-04-14T12:52:04.366273
2020-03-15T08:46:07
2020-03-15T08:46:07
234,673,911
0
0
null
null
null
null
UTF-8
Python
false
false
16,987
py
import sys import random import numpy as np from queue import LifoQueue # from playsound import playsound as ps bst_fst_sucStack_h1 = LifoQueue() bst_fst_sucStack_h2 = LifoQueue() bst_fst_sucStack_h3 = LifoQueue() arg_err_msg = 'Sorry, your input puzzle wasn\'t formatted correcty. It should be a permutation of the f...
[ "boltch@pdx.edu" ]
boltch@pdx.edu
65f5706a9eb41068275f838934c69e7567bbdbbe
1656b53e186d100590b538f1686d713b9c7c0497
/gpiodev/lcd7.py
81df7a86082cc46d06ad5a2637dc1791cd5b8b8e
[ "Apache-2.0" ]
permissive
kevindiffily/python-gpiodev
deaef8397fcbce44e4478abf0e7df80853ee57ce
8d495319a21dd2ce9365bd10aa7935e231f747b4
refs/heads/master
2022-03-20T19:56:30.885615
2019-12-24T20:22:40
2019-12-24T20:22:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,445
py
from gpiodev import GPIOHandle import asyncio ''' LCD7 is a device with four 7-segment LED digits to show. 7 segments are not enough to show arbitraty letters, but it can be used as clocks or counter. Though there are 4x7 = 28 LED segments to switch on and off, it uses only 12 GPIO pins. 4 pins are used to choose th...
[ "alpha@bookwar.info" ]
alpha@bookwar.info
52708a2def8f83030190cfe1a2f1ea40d42fd5c6
0b8439acb75f41f1a97fc9e876a17e701d958685
/uma/login/urls.py
db17d0fcd4aab5a05fc8069e2b11f06154aa7062
[]
no_license
kim-jaun/mac_django_uma
756a22aea614bd09ff91ffecf17262d1c44eebaf
41e4659e1ad1ab167fc8dda522a1827320b48d58
refs/heads/main
2023-07-07T00:40:09.468458
2021-08-10T10:29:03
2021-08-10T10:29:03
383,154,542
0
0
null
null
null
null
UTF-8
Python
false
false
280
py
from django.urls import path from . import views app_name = 'login' urlpatterns = [ path('', views.index, name='index'), path('<int:question_id>/', views.detail, name='detail'), path('answer/create/<int:question_id>/', views.answer_create, name='answer_create'), ]
[ "67224239+kim-jaun@users.noreply.github.com" ]
67224239+kim-jaun@users.noreply.github.com
ccd8bdd1a31d5c29a7fff3463798714134346c55
2159ac47af92b61478146fe88bbced5deebee824
/flaskr/__init__.py
8978641d0f32631e6bdbba2c525074b03474fd3f
[]
no_license
HenryJiang97/Swagger-Backend
4d55563ec031d79946aa614d4de746ab8662e8a8
9cbd76c838a6864d73875c390f0808ae082c9a85
refs/heads/master
2023-05-19T20:42:41.829115
2021-06-11T07:52:06
2021-06-11T07:52:06
372,340,953
0
0
null
null
null
null
UTF-8
Python
false
false
4,524
py
import psycopg2 from psycopg2.extras import Json from flask import Flask from flask_cors import CORS from flask import request from flask import abort from openapi_spec_validator import validate_v2_spec from openapi_spec_validator import validate_v3_spec from flaskr.config.config import POSTGRESQL_URI, TABLENAME from f...
[ "hanhuaj@Hanhuas-MacBook-Pro.local" ]
hanhuaj@Hanhuas-MacBook-Pro.local
c5bc15e0286b71ee00366be67240c39f3403f225
5bcbd788faf57bc867aa365096ba9f9db51f64d6
/WebDemo/WebDemo/urls.py
553acd20e09daa0fbb8c78ddda79fcb9b2d31b9b
[]
no_license
sunren123/Python
8c2fbf6a1552cd6c3fb80048e2fd6718e9ca85e0
ee80fc805d2517e1d69d3d1d55edbd370bf8fd9b
refs/heads/master
2020-04-06T16:27:21.471948
2018-12-10T13:07:16
2018-12-10T13:13:30
157,620,500
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
from django.conf.urls import url from Web import views urlpatterns = [ url(r'^set_cookie$', views.set_cookie), url(r'^get_cookie$', views.get_cookie), ]
[ "462227979@qq.com" ]
462227979@qq.com
10e2e3f6e064c3055cab62cf039a8a93fe778d45
2265cf098f6f53cad67ecd2097b283e5bc5f9135
/level001.py
2567e6c53805c538ff12eaea43e885796f2f976e
[]
no_license
wesleyhitson/pythonchallenge
7f777207bf3a04757535819b28b1a71fed9d9456
2794a9ad8a044e8d818a112ca613bd33d3ca4c93
refs/heads/master
2021-04-28T20:31:17.773433
2018-03-09T03:13:30
2018-03-09T03:13:30
121,927,606
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
# Quick and dirty def shift(letters): l = "" for letter in letters: l += chr(ord(letter) + 2) return l s = """g fmnc wms bgblr rpylqjyrc gr zw fylb. rfyrq ufyr amknsrcpq ypc dmp. bmgle gr gl zw fylb gq glcddgagclr ylb rfyr'q ufw rfgq rcvr gq qm jmle. sqgle qrpgle.kyicrpylq() gq pcamkkclbcb. lmu yn...
[ "wesleyhitson@users.noreply.github.com" ]
wesleyhitson@users.noreply.github.com
ec27a29626174e37914d48b357b7324a2522650f
b0c88350eadcbbeab3d9ebb5ea3a2efccc7d95e9
/classicalml/regression_targetscaling/cveval_regression_robseqprior.py
a8aea8746a7797b9994c97aa645a788a3e9514d0
[]
no_license
ysuter/brats20-survivalprediction
853d821c61b91e35f7bf23a1ca1f7295b1ef3ee1
388053b789ccf388bc9a29bf94a672d2da973a5c
refs/heads/main
2023-04-16T15:48:35.486293
2021-04-30T17:11:24
2021-04-30T17:11:24
316,608,244
1
0
null
null
null
null
UTF-8
Python
false
false
17,515
py
#!/home/yannick/anaconda3/envs/py36/bin/python import json import numpy as np import os import pandas as pd from skfeature.function.information_theoretical_based import CIFE, JMI, DISR, MIM, CMIM, ICAP, MRMR, MIFS from skfeature.function.similarity_based import reliefF, fisher_score from skfeature.function.statistica...
[ "noreply@github.com" ]
ysuter.noreply@github.com
12a2cdfeaa1b1f57b0c8d537ba3e07c65b213a15
4e9f4d601d8bcc4251f2bb41b28df2b37363c62c
/YS's Folder/chatbot_app/added_diagnosis/ChatBot_Main/settings.py
1f2222e6e6508b2005f6ef4d90b114dbf7b467ec
[]
no_license
nus-isy5001-wym/covid19-bot
ab516f22d8e5c8feca3f7bcb5a9267df42dc38d4
09e46342822d6edfc4df55d68f7d6416c1fb1a9d
refs/heads/master
2023-08-29T13:54:47.286798
2020-05-05T18:19:03
2020-05-05T18:19:03
243,014,948
0
1
null
2023-07-23T06:47:44
2020-02-25T14:07:06
CSS
UTF-8
Python
false
false
3,470
py
""" Django settings for ChatBot_Main project. Generated by 'django-admin startproject' using Django 2.2.5. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import ...
[ "tyseng1102@gmail.com" ]
tyseng1102@gmail.com
f9f88fd4f49fb67f6a745582f7176375bc8e1264
ef62ff135aef2471150900b2eef71ea624256dff
/backend/exam/utils/enum.py
097a3f9faba4ab615a102284de1738d19a030590
[ "MIT" ]
permissive
gzxjm2000/python-django-online-exam
8ad01d660ad41b1b55a3ca8e8d92c4af90242f78
c1ebf92cc65efc723c0cf9643e5928d6b39d4ca4
refs/heads/master
2023-07-16T15:58:10.557629
2021-08-25T00:44:53
2021-08-25T00:44:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
150
py
ADMIN = 1 # 管理员 TEACHER = 2 # 教师 STUDENT = 3 # 学生 RADIO = 1 # 单选题 CHECK = 2 # 多选题 JUDGE = 3 # 判断题
[ "beixia1989@163.com" ]
beixia1989@163.com
405e62a7d7772a8670efe73c11d287174070f932
653c8b4f46c272435d4a1a0c82be587ddb4c03fd
/models/models.py
a05d4e970e64c395f53e367e156311867aa8357e
[]
no_license
HighlyAuditory/Aug-Soft-Gated
f8809c5dffbd66258b752d71301fe1b4f3424c90
6e5e8270d452c907a1917dc5871ca964276d44d8
refs/heads/master
2022-03-29T05:27:00.866378
2019-12-21T19:28:06
2019-12-21T19:28:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,232
py
### Copyright (C) 2017 NVIDIA Corporation. All rights reserved. ### Licensed under the CC BY-NC-SA 4.0 license (https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode). import torch import pdb def create_model(opt, name): if opt.stage == 1: from .stage_I_model import Stage_I_Model mod...
[ "joysiww@gmail.com" ]
joysiww@gmail.com
88f1cb7bba76528405b6fda468d926c125325717
4af620bdc5db93fdfa4e799a6c508ae855ca4ea8
/utils/custom_transfrom.py
cadb91c754af23bea44ad7fd43a04efe9d647744
[ "MIT" ]
permissive
wonbeomjang/mobile-hair-segmentation-pytorch
9f3517543d73822f24bdafb2ceefa560bac82634
b5a4ce20f2fa7156cde6da750a12119378cfc262
refs/heads/master
2023-02-18T16:39:43.143214
2023-02-16T08:19:02
2023-02-16T08:19:02
163,425,814
128
22
MIT
2022-07-11T15:27:54
2018-12-28T15:45:25
Python
UTF-8
Python
false
false
476
py
class UnNormalize(object): def __init__(self, mean, std): self.mean = mean self.std = std def __call__(self, tensor): """ Args: tensor (Tensor): Tensor image of size (C, H, W) to be normalized. Returns: Tensor: Normalized image. """ ...
[ "jtiger958@gmail.com" ]
jtiger958@gmail.com
437a4999b7e835825690e30d99c209a83293433b
4fc032a2b537253b49a24273e1f569492f2a514d
/story/story/asgi.py
f0f37b71534ea00265d7e918519615e5b921c875
[]
no_license
Mih-M/Story---Django-project
827f9e112d068e9f5564ce120b3944ecd4112fb3
ff9b8eff424b1372c672e9aaa1c4eb82967ce126
refs/heads/main
2023-03-15T08:03:19.172197
2021-03-19T19:27:43
2021-03-19T19:27:43
315,766,046
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
""" ASGI config for story project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETTING...
[ "helly_2004@abv.bg" ]
helly_2004@abv.bg
233a0d2700c6628ee75a7348a23758c2d20f353f
b684762806ab13d220a7e9cb0b89663ca32d6bd9
/easy/weighted_uniform_string.py
2fd477b3057852aada16258338da61cd4b69cec7
[ "Apache-2.0" ]
permissive
YANG007SUN/hackerrank_challenge
950eb40cfbc89c53ceed2a8cd34a28833cf3b4dc
0c055c9e5129f1625fe86174435a89c141d256d6
refs/heads/main
2023-02-24T22:33:54.519864
2021-01-18T21:28:11
2021-01-18T21:28:11
317,369,575
0
0
null
null
null
null
UTF-8
Python
false
false
775
py
# https://www.hackerrank.com/challenges/weighted-uniform-string/problem # ============================================================ # search value in dict is faster than searching value in list # ============================================================ def weightedUniformStrings(s, queries): res = {} ...
[ "yangsun@yangs-MacBook-Pro.local" ]
yangsun@yangs-MacBook-Pro.local
5eacb8622f507ddfb3d83ff89f5001b3f5fa21e3
634367d6a94d9bce231a8c29cf9713ebfc4b1de7
/covid_dashboard/views/get_district_stats_on_given_date/api_wrapper.py
83bfdd8ad95f836f4c9f6a6c05a99e3b45ee01c2
[]
no_license
saikiranravupalli/covid_dashboard
5a48c97597983ada36a3bf131edf5ca15f1dedec
954dd02819fb8f6776fa2828e8971bd55efa657c
refs/heads/master
2022-11-08T10:11:27.836507
2020-06-30T09:00:27
2020-06-30T09:00:27
269,610,409
0
0
null
null
null
null
UTF-8
Python
false
false
1,399
py
import json from django.http import HttpResponse from django_swagger_utils.drf_server.utils.decorator.interface_decorator \ import validate_decorator from .validator_class import ValidatorClass from covid_dashboard.interactors\ .get_day_wise_district_details_on_given_date_interactor import \ DistrictSta...
[ "saikiranravupalli@gmail.com" ]
saikiranravupalli@gmail.com
3bee3ee39a89adda39b735dc20cd76caccd06e32
cc40e9e3c2c214b0e82f41b4b1d66ea0f2731c6d
/day06/__init__.py
f0a72b89822a8f1d5c5020871aa6180c94d5a4d1
[]
no_license
yitsushi/advent-of-code-2018
813e0c4c69c9ea3b7d63503f1784769170fb601a
049fd86116c75b513471b0806ef25a2ee9ad5424
refs/heads/master
2020-04-09T08:08:35.601626
2018-12-25T15:43:50
2018-12-25T15:43:50
160,183,856
0
0
null
null
null
null
UTF-8
Python
false
false
1,225
py
from collections import Counter from advent_of_code import BaseSolution, Vector2D from .world_map import WorldMap class Solution(BaseSolution): limit: int full_map: WorldMap def setup(self): (input_file, self.limit) = self.parameters( (str, int), ('Input file', 'Max Range'...
[ "balazs.nadasdi@cheppers.com" ]
balazs.nadasdi@cheppers.com
ffeb209b1565ce73cfac38a60e1c7d9565ef3d59
cc123915c627d2bc596c53250dc01b47bb20144d
/plot_focal_mechanism_p3.py
f7280fcaf0248fa765c3ac2322a7218ea1642892
[]
no_license
CornichonCosmique/plot-focal-mechanism
16df612ec8db576dfa6fd50696b63ceba066a02c
551b8ef5a6f90a6388aa313f3173ae8dcdd9151e
refs/heads/master
2023-07-20T07:12:12.498879
2023-07-06T10:41:05
2023-07-06T10:41:05
73,704,407
0
1
null
null
null
null
UTF-8
Python
false
false
5,120
py
# -*- coding:Utf-8 -*- import tkinter as tk #import tkFileDialog from tkinter import filedialog #import tkMessageBox from tkinter import messagebox import os, os.path import sys import matplotlib.pyplot as plt import csv from obspy.imaging.beachball import beachball class drawTheseBeachballs(tk.Frame): def __init__(s...
[ "noreply@github.com" ]
CornichonCosmique.noreply@github.com
f8a9305be4a214e3bee33a98b66a895b35d72e5d
729374c26c383157edb9a319845502d4a839905d
/users/forms.py
5b66ab78cc783a1ef9b8545aa92cfd8432cfbaf2
[]
no_license
EvgenKham/marketplace
b90caceb872475a6f5e3ed9f98c56f252512ccad
932dce35be7a6cb1322cbba55b4ad3ea8009e594
refs/heads/master
2020-04-26T04:17:24.344814
2019-03-12T11:41:44
2019-03-12T11:41:44
173,296,966
4
0
null
null
null
null
UTF-8
Python
false
false
4,758
py
from django import forms from django.contrib.auth.models import User from users.models import Profile class UserRegisterForm(forms.ModelForm): password_check = forms.CharField(widget=forms.PasswordInput) class Meta: model = User fields = ['username', 'password', 'password_check', 'email'] ...
[ "hamitcevich@gmail.com" ]
hamitcevich@gmail.com
0779321b332351472496adff9cadedc985058f3b
e42813df822ed40d4f4d3004732da7c448cd0083
/getting_sift_coord.py
ee1f5de6adf41fee644f93b267d97ea6519b58a9
[]
no_license
JaredZena/Stereocamera_python_opencv
1470e8d4662dbec8d7ac710920ca489368d3961f
cb6a8116ecba710778ac106bd25f0bb994985815
refs/heads/master
2020-04-29T03:52:50.366592
2019-08-11T00:45:50
2019-08-11T00:45:50
175,826,924
0
1
null
null
null
null
UTF-8
Python
false
false
2,650
py
# getting_sift_coord.py #!/usr/bin/python3 # 2017.10.06 22:36:44 CST # 2017.10.06 23:18:25 CST """ Environment: OpenCV 3.3 + Python 3.5 Aims: (1) Detect sift keypoints and compute descriptors. (2) Use flannmatcher to match descriptors. (3) Do ratio test and output the matched pairs coordinates, draw some pairs i...
[ "jared.zenahernandez@wur.nl" ]
jared.zenahernandez@wur.nl
88fdfd7865c6d9ba713535f1b8f1f9e7e1ba41a4
184880a91b1dda18f643a010fe6750347638d4cb
/acceptance_tests/venv/lib/python3.7/site-packages/pip-10.0.1-py3.7.egg/pip/_vendor/distlib/scripts.py
b9c8edaf90e176584a28c75a2d8da32b5aa71de5
[]
no_license
rexdjw/cs361
60880d5d250f74ad3610776b5eeea7e9482ca6c1
9470af3cff1e6b673ecdf6f3443a3858c8765f13
refs/heads/master
2022-01-06T04:51:25.939354
2019-05-11T23:32:56
2019-05-11T23:32:56
169,284,638
0
3
null
2019-05-11T18:57:38
2019-02-05T17:48:02
Python
UTF-8
Python
false
false
17,001
py
# -*- coding: utf-8 -*- # # Copyright (C) 2013-2015 Vinay Sajip. # Licensed to the Python Software Foundation under a contributor agreement. # See LICENSE.txt and CONTRIBUTORS.txt. # from io import BytesIO import logging import os import re import struct import sys from .compat import sysconfig, detect_en...
[ "weber.rex@gmail.com" ]
weber.rex@gmail.com
5f2aa2ece69ffb2306013ac41e8447f511aa7cc2
7cfffa4daf213103a78dea698c9aefc40758bdb3
/common/mail.py
6d3ba030786222e76ab901ec59aeb4ee1bfe0002
[]
no_license
youfeng243/wangzhuan
78168973a329d4f3403564e931936713412af6e0
7342a9b2caf99aad570f5fb433136d099deab491
refs/heads/master
2023-08-03T15:50:44.649789
2020-03-07T02:46:03
2020-03-07T02:46:03
242,625,161
0
1
null
2023-07-23T06:36:33
2020-02-24T01:59:02
Python
UTF-8
Python
false
false
2,377
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2020-03-02 10:46 # @Author : youfeng # @Site : # @File : mail.py # @Software: PyCharm import json import smtplib from email.mime.text import MIMEText import requests from common.configer import Configer def send_email(mail_host, mail_user, mail_pas...
[ "youfeng@fcbox.com" ]
youfeng@fcbox.com
43a7a79427c0e54b43aa70fb1a07acbca4a72979
be286ce17dd6e50c23a1d3cf3629f225055b0a2d
/xxh/resnet101.py
237bd966d0a70b37f96732828f27b6467fbfae42
[]
no_license
QQJayden/kabuda
fa76c28bc631284d08d26a30f239007b68bc4255
3540f7ae5be75504d05e9086f7b14633bc6b80b3
refs/heads/master
2020-03-23T06:43:33.251109
2018-07-28T14:18:50
2018-07-28T14:18:50
141,225,665
1
1
null
2018-07-17T05:41:49
2018-07-17T03:22:44
null
UTF-8
Python
false
false
947
py
import mxnet import pdb class resnet101_100cls(mxnet.gluon.HybridBlock): def __init__(self, prob_drop = 0.3, **kwargs): super(resnet101_100cls, self).__init__(**kwargs) resnet101_v1 = mxnet.gluon.model_zoo.vision.resnet101_v1(\ pretrained = True) self.features = resn...
[ "xuxiaohui4@sjtu.edu.cn" ]
xuxiaohui4@sjtu.edu.cn
3b0a08ae0e438f35829ce59709fb66a10370fac7
4b9784d1d05873169578bb7f91025004e719451c
/LeetCodeAllProblem/LeetCodeAllProblem.py
362b06e412eb6738620710710cb80f685b94ae66
[]
no_license
yonghappy/Python--Learn
adb1e8cced5a1c375707efab7e9ef42710eafb78
a3dfa82208c38e97a593adad5f996f8c1e3f1e67
refs/heads/master
2020-03-28T16:58:05.727040
2018-09-14T06:37:07
2018-09-14T06:37:07
148,745,837
0
0
null
null
null
null
UTF-8
Python
false
false
3,890
py
#! /usr/bin/python # -*- coding:UTF-8 -*- import xlrd import xlwt import pymysql class myExcel(object): def __init__(self, excelPath): self.path = excelPath self.excel = xlrd.open_workbook(excelPath) def readExcel(self): # get sheet names print(self.excel.sheet_names()) ...
[ "yonghappyle@gmail.com" ]
yonghappyle@gmail.com
672381aea32fa85dc887866846e5b282e050bb03
8c8dc00f2858c1a8a9c5db9350d7755f1c6daef4
/Regression_Classification_Jingshi/sentistrength.py
9be20ed33bf01359d474958f1e7b2308134d7b14
[]
no_license
arian1123/TwitterEmotionIntensity
d6feedc2c917994403a3150116353090fdb857db
b9d77c7a2f1a4842e94d9201769d51257bd1a859
refs/heads/master
2021-09-04T07:27:46.495776
2018-01-17T02:02:43
2018-01-17T02:02:43
108,338,513
0
2
null
2017-11-10T14:29:29
2017-10-25T23:46:24
Python
UTF-8
Python
false
false
1,843
py
import numpy as np from nltk.tokenize import TweetTokenizer tokenizer = TweetTokenizer() # Files booster = open("data/Lexicons/SentiStrength/BoosterWordList.txt").readlines() emoticon_table = open("data/Lexicons/SentiStrength/EmoticonLookupTable.txt").readlines() emotion_table = open("data/Lexicons/SentiStrength/Emot...
[ "js4479@georgetown.edu" ]
js4479@georgetown.edu
849314e4e7ede44b68f2f1d4e3ef108ff046e014
90462a9a2605e2c7655e7a072280a987561c73c8
/venv/bin/isort
13341607712068893d9cd5ad82395dbef60a9412
[]
no_license
Benndora1/Personal-Portfolio
aa91e500f4c25f4842b387ad4b56ffca57a7b75c
820cf5057b7ec2972a3393b78c9b5275d1a7e17f
refs/heads/master
2022-08-25T00:22:24.413327
2020-05-24T00:40:08
2020-05-24T00:40:08
265,989,832
0
0
null
null
null
null
UTF-8
Python
false
false
256
#!/home/ndora/Desktop/python-Django/rp-portfolio/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from isort.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "benndora2@gmail.com" ]
benndora2@gmail.com
ea4a31f53f7bba7631c687a9d7cf7149be883029
662c9b1dd64fc87a17e62ccab8a1b3b3f58604e8
/Reference Code/lib/modeling/FPN.py
ba8554ea6513bd4cfe81c8da46ef86c41157dbe6
[ "MIT" ]
permissive
lixiang95/Amodal-Instance-Segmentation-through-KINS-Dataset
004daf92dc5a16ff0902b19102dec8d7299a1884
052a548c585ddc60ff5188cfe2345343903daf73
refs/heads/master
2022-04-05T02:43:25.683524
2020-02-16T12:09:42
2020-02-16T12:09:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,501
py
import collections import numpy as np import torch import torch.nn as nn import torch.nn.functional as F from torch.nn import init from core.config import cfg import utils.net as net_utils import modeling.ResNet as ResNet from modeling.generate_anchors import generate_anchors from modeling.generate_proposals import G...
[ "qqlu1992@gmail.com" ]
qqlu1992@gmail.com
6690bf9a5dacfc7bafcbe1023ee73b5f95bae792
9912574419aa12bac4182309bd3ff2a85cc0fe43
/myenv/lib/python3.7/site-packages/grpc/_grpcio_metadata.py
c99079b672f7923336da9c5b5a3e26a5a963ff2d
[ "MIT" ]
permissive
liv-yaa/ML_BeeHealth
ad01858a0a5651b2bda68e77ff2e60550e1f3eba
7e0797d6faaef2b071c841e57fffe45d470aef3c
refs/heads/master
2023-01-23T01:49:16.444685
2023-01-11T17:35:04
2023-01-11T17:35:04
172,980,260
1
1
MIT
2022-12-08T01:42:46
2019-02-27T19:53:28
Python
UTF-8
Python
false
false
26
py
__version__ = """1.24.3"""
[ "olivia.f.smith@gmail.com" ]
olivia.f.smith@gmail.com
8af222e81cf5d6103c2c0982e3c6fa117906717b
f48d8f9f29d0158004c0e58b1a9df66c0bcb6a24
/shop/migrations/0001_initial.py
3783b34ff87dc908ff78b639d470606f01e98dcb
[]
no_license
michaelandrew123/python-crud
3329e2268cc80d6deb2bee92c18148d022831aa5
9b7f1afac3050c5cfb809d86269c9f3669f58e8b
refs/heads/master
2023-02-03T02:06:30.768441
2020-12-15T13:53:32
2020-12-15T13:53:32
321,675,822
0
0
null
null
null
null
UTF-8
Python
false
false
651
py
# Generated by Django 3.1.4 on 2020-12-14 09:12 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Product', fields=[ ('id', models.AutoField(...
[ "michaelandrewsuarez0@gmail.com" ]
michaelandrewsuarez0@gmail.com
f14f3be70821efc1c4ce4f7e7b3b5f13397682d6
66351b473736f1f5a2632b306253e0ecd5903820
/ai-parser/parser_api_app/serializers.py
efaed5e1a106755bbf1a710fea87b3ffbdde83ef
[]
no_license
shabashaash/open-parser
52a9c804d98afc09bb1b2d933669ffe519cd0ca2
191a37ac6021cf9684be29b8d975456dfd92a252
refs/heads/master
2022-02-21T14:33:22.715710
2022-02-19T03:21:01
2022-02-19T03:21:01
251,087,294
0
0
null
2021-09-22T18:48:35
2020-03-29T17:11:14
Python
UTF-8
Python
false
false
1,498
py
from rest_framework import serializers from django.contrib.postgres.fields import ArrayField from .models import Tags,Labels,Zeros,ToParse class TagsSerializer(serializers.Serializer): data = serializers.ListField(child=serializers.FloatField()) label = serializers.IntegerField() used = serializers.BooleanF...
[ "shabanov91@gmail.com" ]
shabanov91@gmail.com
bd5e58ca8135e7557fcbf941f878e4565a97dc1f
3fc33139e5293941af9d39771c379618114aa4f1
/Algorithms and Data Structures Using Python/Floyd-Warshall.py.py
26f6dc47f2a526ce84ee46e9d5b48553eb17d526
[]
no_license
kfraserj/nkforce
578b18ea034d81524f50fe2bdc0d7301dd21e794
6ff5a593b76488f50be71c9d1de9d445cd424c4c
refs/heads/master
2020-04-19T20:14:52.993618
2019-01-17T05:08:31
2019-01-17T05:08:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,306
py
import traceback, turtle, math, copy #optimize_hyperspace_routes: takes in two arguments: # star_list is a list of Star objects (nodes), in order of index. # jump_times is a matrix of edge weights for the graph. #This function must use the Floyd-Warshall or Johnson's algorithm to compute # the shortest path from...
[ "nkbartc@gmail.com" ]
nkbartc@gmail.com
b5a0fe987cfcdc137508f9bedd0d8afc1638d5d5
65047cc2643f5140d41896645a0e6fef786780f8
/python/paddle/nn/functional/common.py
fe41cb6e64c34f34add3c0652ab5b30efe958161
[ "Apache-2.0" ]
permissive
randytli/Paddle
4bb0761a760a4beef0212d04633bd12d08cb1164
75dadd586996c71cf5b088b6141b94705561773f
refs/heads/develop
2022-12-12T16:11:02.203724
2020-08-11T05:20:18
2020-08-11T05:20:18
265,492,144
1
0
Apache-2.0
2020-08-11T05:20:19
2020-05-20T07:55:01
C++
UTF-8
Python
false
false
19,384
py
# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by app...
[ "noreply@github.com" ]
randytli.noreply@github.com
6e9393d3d17cfc7054199e6f3782dfc6383250df
11052dcb2ee70b601c521ba40685fd8e03c86a45
/apps/oinkerprofile/models.py
3fcf6b96b867f697ad2cba296ea083b482cb2fd7
[]
no_license
naistangz/twitter-clone
53757959de8f3f063cd1fbbc9bc72c024beee22f
56f44610a729cd040857786f481c8b7f94397a3d
refs/heads/master
2023-04-13T14:16:44.357440
2021-04-25T08:18:42
2021-04-25T08:18:42
354,792,080
0
0
null
null
null
null
UTF-8
Python
false
false
474
py
from django.contrib.auth.models import User from django.db import models # Create your models here. class OinkerProfile(models.Model): user = models.OneToOneField(User, on_delete=models.CASCADE) follows = models.ManyToManyField( 'self', related_name='followed_by', symmetrical=False) avatar = mode...
[ "a6anaistang@hotmail.co.uk" ]
a6anaistang@hotmail.co.uk
5625ab49e3d14b8d866e6dabf1c58ced467f0101
2af29f0c2676c57191678f1a2f0244c364f81fa1
/tutorials/02Input/wscript
29f11fc91df3a455ca523b490d1a500a043be453
[ "MIT" ]
permissive
kochol/kge
7c313c0c68242e7d9eee1f4a7dd97fd60038f63e
9ffee7ab7f56481383d8f152cfa0434e2f9103c1
refs/heads/master
2020-04-26T11:28:25.158808
2018-06-30T07:26:07
2018-06-30T07:26:07
4,322,408
10
1
null
2014-05-29T20:47:11
2012-05-14T10:11:55
C
UTF-8
Python
false
false
214
def configure(conf): pass def build(bld): # Bulid bld.program( source='main.cpp', target="../../Debug/02input", cxxflags=['-fpermissive'], use=['Debug/kge-0.1'], )
[ "183.amir@gmail.com" ]
183.amir@gmail.com
c5dd27af9004567fed4a4c508b43d1acfce35e68
8fcae139173f216eba1eaa01fd055e647d13fd4e
/.history/scraper_20191220154310.py
85e5bdeab8d217043d007104d46a712f7cdf91d4
[]
no_license
EnriqueGalindo/backend-web-scraper
68fdea5430a0ffb69cc7fb0e0d9bcce525147e53
895d032f4528d88d68719838a45dae4078ebcc82
refs/heads/master
2020-11-27T14:02:59.989697
2019-12-21T19:47:34
2019-12-21T19:47:34
229,475,085
0
0
null
null
null
null
UTF-8
Python
false
false
2,308
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Module docstring: One line description of what your program does. There should be a blank line in between description above, and this more detailed description. In this section you should put any caveats, environment variable expectations, gotchas, and other notes abo...
[ "egalindo@protonmail.com" ]
egalindo@protonmail.com
1d0c5a63ebb091013f41650238f7244a2189d919
a9243f735f6bb113b18aa939898a97725c358a6d
/0.15/_downloads/plot_time_frequency_erds.py
ade2c6289d640ea78caded44665a8d296b989398
[]
permissive
massich/mne-tools.github.io
9eaf5edccb4c35831400b03278bb8c2321774ef2
95650593ba0eca4ff8257ebcbdf05731038d8d4e
refs/heads/master
2020-04-07T08:55:46.850530
2019-09-24T12:26:02
2019-09-24T12:26:02
158,233,630
0
0
BSD-3-Clause
2018-11-19T14:06:16
2018-11-19T14:06:16
null
UTF-8
Python
false
false
5,229
py
""" =============================== Compute and visualize ERDS maps =============================== This example calculates and displays ERDS maps of event-related EEG data. ERDS (sometimes also written as ERD/ERS) is short for event-related desynchronization (ERD) and event-related synchronization (ERS) [1]_. Concept...
[ "larson.eric.d@gmail.com" ]
larson.eric.d@gmail.com
febb96c94ce8da0983d61e5f72ae3c876d19bac4
a4e1093cd868cc16cf909b8f7b84832a823a97bf
/utils/criterion.py
1d10cbdcb99de7980901e1cde9c148fb1d57396b
[]
no_license
hermanprawiro/gan-playground
8fb7eed54314661d9d1b908fe2cb1695eb1e3881
bf4c270ad4696d61df0dbe2afb8c9ebafb9c2ba3
refs/heads/master
2020-09-06T19:43:22.685332
2019-12-24T10:45:12
2019-12-24T10:45:12
220,529,636
0
0
null
null
null
null
UTF-8
Python
false
false
2,740
py
import torch import torch.nn as nn class GANLoss(nn.Module): def __init__(self, gan_mode, target_real_label=1.0, target_fake_label=0.0, target_fake_G_label=1.0): super().__init__() self.gan_mode = gan_mode self.register_buffer('real_label', torch.tensor(target_real_label)) self.reg...
[ "herman.prawiro@gmail.com" ]
herman.prawiro@gmail.com
967e8b6668e706d8f5cf89450c4a93567d9e6ce4
941785d93e83d5b36cd5fecb167c57ce309b6098
/web02/distinct_obj.py
8561971633c36e810c1917e8006d9bdb24fecbd0
[]
no_license
sadekyo1712/web02
f2426f0edf1ffbbdad9ae05edc324baac5695984
d6b3c7484bb82faa490a1090201528e2caf64ff6
refs/heads/master
2021-05-10T11:08:59.615172
2018-01-22T08:33:26
2018-01-22T08:33:26
118,403,410
0
0
null
null
null
null
UTF-8
Python
false
false
148
py
class CheckRightAnswer: def __init__(self): pass # Check right response of web02 def is_right_answer(self, data): pass
[ "buiduchung.bkhn@gmail.com" ]
buiduchung.bkhn@gmail.com
2e45d4a5a623153d4de8ea24a1752d1d0485cd80
4b8ea9c95900d63b0e37a6b80fc5454b0644cd12
/src/import_datasets.py
8821d4adc8b0c6fb865fad639eefe68e3157994a
[ "CC-BY-4.0" ]
permissive
imics-lab/TSAR
40a63a41f4c396c0a04a1fe57e9be3278ada217c
65964cd2e9f4761a64bdc9bd91207771ca6856ae
refs/heads/main
2023-04-17T21:31:25.210925
2022-07-29T15:27:22
2022-07-29T15:27:22
327,448,462
2
0
null
null
null
null
UTF-8
Python
false
false
2,038
py
import numpy as np from scipy.io import loadmat def get_unimib_data(s="acc"): print("Loading UniMiB set ", s) X_flat = loadmat("data/UniMiB-SHAR/data/" + s + "_data.mat")[s + "_data"] y = loadmat("data/UniMiB-SHAR/data/" + s + "_labels.mat")[s + "_labels"][:,0] if(s=="acc"): labels = loadmat("d...
[ "gma23@txstate.edu" ]
gma23@txstate.edu
2aa8632903ec6cdde072b44381610054b405c75b
53634b0a531e0ced9381e2c1c3eb709c277e6183
/zad13.py
adea007ccd6fa02f38ed693e8a548fe3ab52e000
[]
no_license
wiolasw/python
21fcc0a8fdcba05478f8f363b2110336f9350870
52638a863ffdcbfa96eb89460692883d9ace549d
refs/heads/master
2020-04-11T03:32:46.374247
2018-12-12T12:34:35
2018-12-12T12:34:35
161,481,469
0
0
null
null
null
null
UTF-8
Python
false
false
415
py
import numpy as np A = np.random.random_integers(8, size=(8,8)) B = np.random.random_integers(8, size=(8,8)) print(A) print(B) wiersze_A = len(A) kolumny_A = len(A[0]) wiersze_B = len(B) kolumny_B = len(B[0]) C = np.zeros((8, 8)) print(C) for i in range(wiersze_A): for j in range(kolumny_B): for k in ra...
[ "wiola.swies@interia.pl" ]
wiola.swies@interia.pl
8bf2d3ab81deaa04df1c52130d6a98be19514ed5
01a9d8a78bbf8f2f13cc2d0908e99aa91630609c
/Tasks/Lesson_12.1/1/Oleg_1.12_1.py
0dcacfdc93be2938a2548f9cf75aae475d85fc8c
[]
no_license
OlegBezr/1514_python_tkinter_tasks
b1f2ee7581f055e8d50b4660c7f5b92bee05bfff
98c3824a4a232058461f8e00e98c10e3bd075968
refs/heads/master
2021-06-27T02:43:27.438971
2021-04-25T13:45:50
2021-04-25T13:45:50
223,483,949
0
0
null
null
null
null
UTF-8
Python
false
false
261
py
l = list(input().split()) f = open('list1.txt', 'w') f.write(' '.join(l)) f.close() f = open('list1.txt', 'r') l = list(f.read().split()) f.close() f = open('list2.txt', 'w') for i in range(len(l)): if (i % 2 == 1): f.write(l[i] + ' ') f.close()
[ "obezrukavnikov@gmail.com" ]
obezrukavnikov@gmail.com
792da0978064d175e68bc3b676a36b830628213a
8ef5b7c81f52a8100540279743b0c537a137338f
/itsolution/wsgi.py
2451e8d5165ba807b41f6a28e9842c666b47991a
[]
no_license
MixailN/it-solution
9fa7cbc4f064f1f569056158ad120ebf84efd914
f61c64b68d3621a454fdef0901a64e5565efc320
refs/heads/master
2023-04-01T10:35:14.527721
2021-04-02T13:41:20
2021-04-02T13:41:20
354,031,296
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" WSGI config for itsolution project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SE...
[ "mixail_nabiullin@mail.ru" ]
mixail_nabiullin@mail.ru