blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
⌀
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
ee93cddd16945c87b62476643878d8e30493b53a
3db4afb573e6e82e9308c43ae13e9426c5c77c80
/glue/conftest.py
7ed2f145177687ccad2672345c69031f834095a5
[ "BSD-3-Clause" ]
permissive
mariobuikhuizen/glue
af8a53498fd4e2365bf98e5089677efdcdb67127
6b968b352bc5ad68b95ad5e3bb25550782a69ee8
refs/heads/master
2023-01-08T07:33:03.006145
2020-09-20T09:25:06
2020-09-20T09:25:06
298,285,919
0
0
NOASSERTION
2020-09-24T13:22:37
2020-09-24T13:22:36
null
UTF-8
Python
false
false
3,493
py
import os import sys import warnings import pytest try: from qtpy import PYSIDE2 except Exception: PYSIDE2 = False from glue.config import CFG_DIR as CFG_DIR_ORIG try: import objgraph except ImportError: OBJGRAPH_INSTALLED = False else: OBJGRAPH_INSTALLED = True STDERR_ORIGINAL = sys.stderr O...
[ "thomas.robitaille@gmail.com" ]
thomas.robitaille@gmail.com
9772ce5848adc7c9da48c2e2e30b61912f27f1c6
3060cb5b82db7fbad565701b56c5588aa1a136f9
/py/dump.py
f0372e86e95f9083626b9033d34a2a0d5abdb99d
[]
no_license
sszachow/eprom_reader
b359868b5779699df15d070d5682fdcf184b0eb8
f28a2c7f4b6bd224dd6fbb09542070d9a32dda38
refs/heads/master
2021-04-09T17:21:13.698830
2014-04-17T19:01:36
2014-04-17T19:01:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,080
py
import serial import string from time import sleep, localtime, strftime from sys import exit ROOT_DIR = ".." DUMPS_DIR = "dumps" MODULE = 4 PROM = 'circle' def get_data(addr, ser): higher = chr((addr & 0xFF00) >> 8) lower = chr(addr & 0x00FF) ser.write(higher) ser.write(lower) data = ser.read() ...
[ "sszachow@gmail.com" ]
sszachow@gmail.com
f3d490be214a07767a8a5d010e787cde28cac24a
8cdb726f140558f7bec27b488a1156ce0507925d
/pymodoro/util/Clock.py
f21fe33f51c6a8672663ec6a027851914dbeff25
[]
no_license
davidbeckingsale/pymodoro
43b1be88951fcf91fa7634c3d846b7dfa40b4a93
53ad40bdbcad09a19577d556090f0e2ee6e6fa69
refs/heads/master
2021-01-01T18:42:58.006619
2011-08-02T11:19:36
2011-08-02T11:19:36
2,141,931
0
0
null
null
null
null
UTF-8
Python
false
false
486
py
from notify.all import * class Clock(object): def __init__(self, pymodoro): """Create a new clock""" self.time = 0 self.expire = Signal() self.expire.connect(pymodoro.clock_expired) self.pymodoro = pymodoro def reset(self, start_time): """Set the clock to start_...
[ "davidbeckingsale@gmail.com" ]
davidbeckingsale@gmail.com
b65a6229f1b9f7085e11017b5a161be1f5b069c2
b9253b4b6551863f2a4d2413fb1aa8d1afada4a0
/Programming/Python/BASSU.py
5e68b642badd2406667a4a16fe881537d9d5990e
[]
no_license
BhumikaReddy/3GRM
ac2192f717ba824cf8a0a873ed813d892e7e374b
38a3716f9a61ae49d4d8e846a411d36b4344be98
refs/heads/master
2021-06-07T20:45:08.092646
2021-01-27T17:10:02
2021-01-27T17:10:02
151,905,120
0
0
null
null
null
null
UTF-8
Python
false
false
666
py
print("jaswanth mango business") x=int(input("number of mangoes:")) y=int(input("cost per each mango:")) print(x) print(y) #calucation logic for total mango# #total cost = number of mangoes * cost of each mango total_bill=(x*y) print("total cost of mangoes before discount:" ,total_bill) if x<500: discount_amoun...
[ "bhumikasamaseni@gmail.com" ]
bhumikasamaseni@gmail.com
29d4c776460c4ce74d98f5fe77a392f5b4003cc8
a92c125843395b4cef168f99a0694394dfa0257e
/projekat.py
b7455984b88ef0fffa2b9a7d406a3311f5007cd5
[]
no_license
StefanPandzic/SoftKompjutingProjekat
e838ea5c1a8fde138851594aee6de1128d81b510
d3d427a6e39505e5088c2bdade56ed3d59baeacd
refs/heads/master
2021-09-05T06:16:50.713079
2018-01-24T17:57:51
2018-01-24T17:57:51
115,950,759
0
0
null
null
null
null
UTF-8
Python
false
false
27
py
# Stefan Pandzic ra48-2013
[ "fansterambo@gmail.com" ]
fansterambo@gmail.com
89865d17fff9a6d97352b98b73b47870ea963c12
9cbd534ea0eede825b18057fbc37b7c6251ac4d0
/promos/api.py
efed1319fd7d9ec4a412805eac696ef19962239e
[ "BSD-2-Clause" ]
permissive
kianhean/ShiokAPI
f8a7fa71f68e934c24c02a55a5497ba8edb201bd
892c32d1ca1cac7ecf575567016bdd47af7e9d64
refs/heads/master
2023-01-06T07:27:32.442940
2019-04-22T15:34:31
2019-04-22T15:34:31
102,997,371
0
0
BSD-2-Clause
2022-12-26T20:43:15
2017-09-10T02:16:33
Python
UTF-8
Python
false
false
2,816
py
"""api.py: Getting and displaying promo codes""" from urllib.request import urlopen import json from bs4 import BeautifulSoup def bann(code): """ If banned return True else False """ ban_list = ['First Ride', 'New Customers', 'From SMU', 'From NTU', 'From NUS', 'From SUTD', 'From SIM', 'First...
[ "kianhean@gmail.com" ]
kianhean@gmail.com
c5655aa30ff6f9abc48ceb66a27468db4ad86152
2ac69f98e28bef196ca7ec27517647c845be6ddf
/convratetotal.py
83e46bd649276cb379e177a003a9eee20dd3245a
[]
no_license
rls347/ensembleanalysis
4c4dad543cbd47e4a69a1c09a8c39c4206ac67c5
86c22cf98091647c0d39ca27069fa0e838a4ce5e
refs/heads/master
2020-04-22T07:43:26.006307
2019-02-11T23:47:23
2019-02-11T23:47:23
170,223,763
0
0
null
null
null
null
UTF-8
Python
false
false
1,801
py
import numpy as np import h5py as hdf import glob import os import copy import matplotlib as mpl mpl.use("Agg") import matplotlib.pyplot as plt import matplotlib.animation as animation def precipstats(maindir, modeldirs, dirout): totalpcprates = {} totalpcp = {} convpcprates = {} allrates = {} allconv = {} for ...
[ "rls347@gmail.com" ]
rls347@gmail.com
c1793e5dd2ad6011958f09d44189053b3dde4fd6
fa8decf5ffbadfb7f62ca59ddb497cfcbe2dac86
/Data_To_10_22_2020/Hull_White_plot_General_q.py
e0d44fe017992e31afaede1313a5ee37ecbe913e
[]
no_license
ghamrick34/Math-Senior-Thesis
22a25a32da43a05d36e3ad1a274e0eb2bf8bbfe8
6e3d9188ecb2f5af193faa1aeb632213e90c2822
refs/heads/master
2023-01-28T01:30:29.907092
2020-12-08T18:26:03
2020-12-08T18:26:03
288,797,990
0
0
null
null
null
null
UTF-8
Python
false
false
4,321
py
import matplotlib.pyplot as plt import numpy as np import u_and_d_General as u_and_d import fetch from Hull_White_class import Node from datetime import datetime, timedelta import matplotlib.patches as mpatches import nodes as n def plot(q, entry): u = u_and_d.u(q, entry) d = u_and_d.d(q, entry) tree...
[ "graysonhamrick1@gmail.com" ]
graysonhamrick1@gmail.com
d5baa1faff9f4d00231718d2daf693d838aae255
5537eec7f43098d216d2b550678c8d10b2a26f09
/venv/tower/lib/python2.7/site-packages/openstackclient/identity/v3/group.py
df684c129b58ffd52b260bbe46cb320276c2f08a
[]
no_license
wipro-sdx/Automation
f0ae1512b8d9d491d7bacec94c8906d06d696407
a8c46217d0fbe51a71597b5db87cbe98ed19297a
refs/heads/master
2021-07-08T11:09:05.314435
2018-05-02T07:18:54
2018-05-02T07:18:54
131,812,982
0
1
null
2020-07-23T23:22:33
2018-05-02T07:15:28
Python
UTF-8
Python
false
false
12,118
py
# Copyright 2012-2013 OpenStack Foundation # # 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 la...
[ "admin@example.com" ]
admin@example.com
5ed70f0e700b94f33c1adb2652989b0386fa2b10
4008d7f798eb10e08381225269c2683ece50dd10
/supervised_learning/0x04-error_analysis/1-sensitivity.py
dbaf511b2d2a5ae1c61a17ddaf16175d57add51d
[]
no_license
tyedge/holbertonschool-machine_learning
51392cb0c8d153db4ed5aa7bfa1fc4d91ce3d96a
ac4f79965e65b7716029cd31a9b026c904bdef09
refs/heads/main
2021-12-02T07:46:25.200529
2021-11-08T05:29:35
2021-11-08T05:29:35
236,518,985
0
0
null
null
null
null
UTF-8
Python
false
false
378
py
#!/usr/bin/env python3 """This module contains a function that calculates the sensitivity for each class in a confusion matrix""" import numpy as np def sensitivity(confusion): """This function calculates the sensitivity for each class in a confusion matrix""" tp = np.array([confusion[i][i] for i in range(le...
[ "tyedge.inc@gmail.com" ]
tyedge.inc@gmail.com
50f2936f5fc592859a4013566000aa298dca23b2
d0718809d4b8026a9653bf1d66bb180e9bb57e49
/manage.py
3d426a3b9af015029699b476696ca8b51e710fb0
[]
no_license
ShankarKushwah/Mutual-Fund-Alert
cf429e64308d9dc5aa511d8adc5d53083be5ef7f
fbb3e92d72b16845b8832d2d5c900b19297982e9
refs/heads/master
2020-03-21T18:48:03.244106
2018-06-27T17:40:28
2018-06-27T17:40:28
138,913,856
0
0
null
null
null
null
UTF-8
Python
false
false
813
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "Mutualfundalert.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure t...
[ "shankarkushwah94@gmail.com" ]
shankarkushwah94@gmail.com
00b984934266fcf64124f11d5370a8748a52e00c
ae2761c32988512324e0bfc8c2c58ed7a0dba54f
/source/libs/normal_dis_random.py
73acd24e1c4221df92c26793cc836542ff450146
[]
no_license
sutekicut/deep_learning
63c42790be228045a31df6497ee90de5acb20808
161f736f312bbecf3320ea511e8793b0551547ac
refs/heads/master
2021-01-12T14:34:25.663054
2016-11-10T09:27:40
2016-11-10T09:27:40
72,021,682
0
0
null
null
null
null
UTF-8
Python
false
false
875
py
import random from math import cos, log, pi, sin, sqrt #正規分布に従った乱数を生成する関数 class NormalDistRandom: #期待値exp, 分散varの正規分布に従った乱数を生成 #乱数生成器を作成 def __init__(self, exp=1.0, var=1.0): self.exp = exp self.var = var self.values = [] def get_random(self): if len(self.values) == 0: # ボックス・ミュラー法で乱数を生成...
[ "codeip@codeip.local" ]
codeip@codeip.local
c181c6bc1a057a641458646a7b74415f98dc38d7
b20762dbbb2adb2c8fc8a919cb66522f76014b5a
/startup.py
7bdbb83b9b62dbb24306cebce61dea150cfd5632
[]
no_license
sychang/owl_watch
1758f713bd3ca3995c38e98d68a10c69270c4e13
b1a727257e4f65e43333ce63f05a7d314dad7baf
refs/heads/master
2016-09-14T01:18:49.751548
2016-05-03T20:06:36
2016-05-03T20:06:36
57,067,265
0
0
null
null
null
null
UTF-8
Python
false
false
162
py
LD_LIBRARY_PATH=/usr/local/lib mjpg_streamer -i "input_file.so -f /tmp/stream -n pic.jpg" -o "output_http.so -w /usr/local/www" cd Desktop sudo python total.py
[ "sychang@berkeley.edu" ]
sychang@berkeley.edu
6d98ccacbdf0ae25f09883599e16712c57df834b
f350464b0ec1d2747a93ea533b04746c8ff68c18
/setup.py
0b1315dc2d83cf67c02b1f8d493b7614673acf85
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
erdogant/hgboost
ed4e0e31aff87fba2c9591b59b70ffc7a91c27b7
8492331b15b883918d2159a61563932ae82bf313
refs/heads/master
2023-08-17T14:08:01.729366
2023-08-15T17:01:03
2023-08-15T17:01:03
257,025,146
48
15
NOASSERTION
2020-09-11T08:09:36
2020-04-19T14:48:23
Python
UTF-8
Python
false
false
1,549
py
import setuptools import re # versioning ------------ VERSIONFILE="hgboost/__init__.py" getversion = re.search( r"^__version__ = ['\"]([^'\"]*)['\"]", open(VERSIONFILE, "rt").read(), re.M) if getversion: new_version = getversion.group(1) else: raise RuntimeError("Unable to find version string in %s." % (VERSIO...
[ "erdogant@gmail.com" ]
erdogant@gmail.com
e50128b5baa2595e7cfaa9908e37e5171eaa04bd
7e7ce015d7d4509cb68cf979d4aee3c9c37e7f50
/www/www/__init__.py
c2aa36657dcc7c48d0e6fde125d78fc93a52ea96
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
brocade-apj/anzsdnhackathon2016
4315ab655ea947f2f50fbbe11c03e930c46b29ab
95e9a9dc3ce0199e1ad622a264a5b901ba0e9466
refs/heads/master
2021-01-17T10:23:09.385651
2016-05-16T04:03:50
2016-05-16T04:03:50
55,376,358
0
0
null
null
null
null
UTF-8
Python
false
false
1,269
py
#! ../env/bin/python # -*- coding: utf-8 -*- __author__ = 'Darin Sikanic' __email__ = 'dsikanic@brocade.com' __version__ = '1.0' from flask import Flask from webassets.loaders import PythonLoader as PythonAssetsLoader from www.controllers.main import main from www import assets from www.extensions import ( cach...
[ "darin.sikanic@gmail.com" ]
darin.sikanic@gmail.com
034649dec321456b8bba8ca8a6f6f3a8c8cb272d
4af2dbd98088c968f9f2e1a348c4252e8b90a8ca
/fossil_gov/application_details.py
bc346792452a900e3242fe1167b63bda93fd02db
[ "MIT" ]
permissive
OddBloke/us_gas_trade_applications
800015b0f3f799d67b1b786fbf8bd5f8e2332242
169a02e068c62a6cc03cbd69a7e279e8d805ecfe
refs/heads/master
2020-06-03T17:33:22.410725
2014-09-22T18:45:40
2014-09-22T18:45:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,749
py
import re from datetime import datetime import requests from BeautifulSoup import BeautifulSoup from fossil_gov import ROOT_URL # TODO: Multiple "Any/all Order and/or Docket numbers" # TODO: Test comments against an application with actual comments # TODO: Test 'Current Order Number' in more cases. # TODO: URLs th...
[ "daniel.watkins@canonical.com" ]
daniel.watkins@canonical.com
5f9d58a3d04aba60ea973e110bf51644ed1f65fc
4aeec0497ca0a3cb749f17b877c9b84953e545c5
/AmrAndMusic.py
808cedf0bd2be378fe31649c37182d3786e9afb0
[]
no_license
ece-mohammad/CodeForces
8b9ee0d205b3f29278d1dcc85f5f2593c9d354d8
3481f6779248640ab502b767d3855515eb21bea0
refs/heads/master
2020-07-29T03:08:08.460371
2019-09-19T20:42:53
2019-09-19T20:42:53
209,644,561
0
0
null
null
null
null
UTF-8
Python
false
false
544
py
# http://codeforces.com/group/P8UZg7UOT5/contest/225111/problem/E def AmrAndMusic(): n, k = map(int, input().strip().split()) learned = [] inst = [ *map(int, input().strip().split()) ] if min(inst) > k: return 0 else: inst = [ (...
[ "noreply@github.com" ]
noreply@github.com
2f10c0fc4429d0811c309e418f22f5c1c3ef9850
0a973640f0b02d7f3cf9211fcce33221c3a50c88
/.history/src/check_update_20210125140228.py
03eaacfa439dd94d42ef81213aea4ae61bc8634b
[]
no_license
JiajunChen123/IPO_under_review_crawler
5468b9079950fdd11c5e3ce45af2c75ccb30323c
031aac915ebe350ec816c05a29b5827fde588567
refs/heads/main
2023-02-26T08:23:09.622725
2021-02-04T10:11:16
2021-02-04T10:11:16
332,619,348
0
0
null
null
null
null
UTF-8
Python
false
false
1,989
py
import datetime def check_update(): prjtypes = ['ipo','refinance','reproperty'] for prjtype in prjtypes: proj_list_new = index_getter(prjtype) proj_list_old = load_pickle(os.getcwd()+'/saved_config/sz_index'+'_'+'prjtype'+'.pkl') updated_idx = [index for (index, d) in enumerate(proj_list_new) if d...
[ "chenjiajun.jason@outlook.com" ]
chenjiajun.jason@outlook.com
b15d79e4f64af92bac0c62ac89724291a7769724
e20a27f874d9c4e1436eda9dae3c0953f3ce49d3
/chess.py
0ec3f3ca06baf9df304d56f826d5ca0549905d5c
[]
no_license
samKHa92/ConsoleChess
8752ab14bb2bd7e1152a99cfbe6d7f1358d3c36d
d73b9b6df4cc6512204f1d7bf90464ae55f03834
refs/heads/main
2023-08-13T19:03:31.488854
2021-10-15T11:30:33
2021-10-15T11:30:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,666
py
from board import Board from pieces import * class Chess: def __init__(self): self.board = Board() self.currentPlayer = "White" def swapPlayers(self): self.currentPlayer = "Black" if self.currentPlayer == "White" else "White" def isStringValidMove(self, moveStr): if le...
[ "samkha@gfmstudio.com" ]
samkha@gfmstudio.com
df6f23ab2b24753f70d9fb66d2653c02d17fd426
f4355f9847827b971646e91656e8036d6c07a1a3
/example032.py
9638ef3f5e1484205b81212a3f66ac56576151a5
[]
no_license
kernellmd/100-Python-examples
1242fc00fe4a1446cf51c6b3d7ef10815133e6c1
a8a4bab784ccaf8a0ee3b2a189e7883bd98a4c80
refs/heads/master
2020-03-11T11:49:09.976461
2018-05-25T02:24:33
2018-05-25T02:24:33
129,979,955
0
0
null
null
null
null
UTF-8
Python
false
false
733
py
#!/usr/bin/env python3.6 #-*- coding: utf-8 -*- """ 题目描述:按相反的顺序输出列表的值。 程序分析:利用序列的操作 """ #原始程序 #利用随机数生成序列 """ 从random模块中导入种子初始化函数seed 和随机数生成函数randrange """ from random import seed, randrange def gener_rand_seq(n): L = [] seed() #构造1~1000范围内的随机数序列 for i in range(n): L.append(randrange(1, 1000))...
[ "KernelLmd@163.com" ]
KernelLmd@163.com
6200aaaed0d9b12accd7a6d74f5418db8b539e15
14713690191b806ff0c53f7362a7f22c98d43665
/novojogo.py
86411da59e71e44f601df752285d7a7d37886180
[]
no_license
gasparzds/trabalhodaforca
98c5ea67a2364f84442aad02d93bdcad3d13ba4f
674055784238dae86c6b03c3d5c524e132f47438
refs/heads/master
2022-10-08T20:18:00.127951
2020-06-10T23:38:50
2020-06-10T23:38:50
271,402,669
1
0
null
null
null
null
UTF-8
Python
false
false
7,570
py
from modulos.textos import textoinicial from modulos.entrada_de_informacao import input_usuario from modulos.tabuleiro import tabuleiro Errou_letra = True Ganhou_jogo = False n_de_errou = 0 base = [] dica = None palavra_escolhida = None escolhendo_papeis = 0 desafiante = None desafiado = None #BLOCO INICIAL, PEDIDO ...
[ "paulopmgaspar@outlook.com" ]
paulopmgaspar@outlook.com
226d84d6251f8a49fe24832a0f49353fd4bcd3ff
7e76e3ae9a33d778a69a607a1b770ebeb7197aaf
/conversations/apps.py
24db44f93a30a8908561af178597b6d31e5f3a35
[]
no_license
hminn/airbnb-clone
1e038e140f03e65d0e20cf310e7688df8997163b
ae3369fd35d02435ee51f4c1bc88a358b3f5bc20
refs/heads/master
2022-12-21T01:03:37.367675
2020-04-30T16:45:47
2020-04-30T16:45:47
249,930,847
1
0
null
2022-12-11T02:46:29
2020-03-25T09:00:10
Python
UTF-8
Python
false
false
106
py
from django.apps import AppConfig class ConversationsConfig(AppConfig): name = 'conversations'
[ "hmkim0008@gmail.com" ]
hmkim0008@gmail.com
3b2ea560ffd065ec8ffed538873d800783745494
711756b796d68035dc6a39060515200d1d37a274
/output_exocyst/initial_33419.py
3e1f56e16e4a23c0c9bedf8bed739f07b94d46f8
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
12,950
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
5fbb00fa6a47c24747670f11fee2bce6ece45192
067f3b050f796e135763bddb8093e5b9768600b9
/Scripts/bin/cutadapt/lib/python3.6/site-packages/cutadapt/__main__.py
83f39c236569ebdb105cabed326d483e147feaa9
[]
no_license
irycisBioinfo/CrisPRAL
00f34501c8f95cde946c173129f113ca2f7639a3
0a91ed9dfa9a52ed69abd635317ec58d1bc8ee56
refs/heads/master
2023-02-01T21:35:15.831184
2023-01-31T11:17:01
2023-01-31T11:17:01
159,354,930
3
0
null
2018-11-27T15:13:40
2018-11-27T15:13:40
null
UTF-8
Python
false
false
35,130
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # kate: word-wrap off; remove-trailing-spaces all; # # Copyright (c) 2010-2018 Marcel Martin <marcel.martin@scilifelab.se> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software")...
[ "sergio.fern1994@gmail.com" ]
sergio.fern1994@gmail.com
4db653db2794ce7471f2ca800dad3e663c4941b4
66e63c540b9f2c0a1092b08b5db204ced3d66154
/other/analyzeCheckins.py
3c94b6f65689760f3f74465c385d101cf744c84e
[]
no_license
thawsitt/foursquare_link_prediction
1c3944009d22aebdf5bf4e9b879129742676fa96
53ddfcabfdf1419398c78726bd48a7e5d1fa40ee
refs/heads/master
2020-04-04T08:14:09.301456
2018-12-10T08:24:45
2018-12-10T08:24:45
155,776,267
1
0
null
null
null
null
UTF-8
Python
false
false
2,147
py
""" analyzeCheckins.py ------------------ Author: Thawsitt Naing Date created: 11/06/2018 Analyze Foursquare Checkins dataset. Note: Use Python 2.7 """ # Number of unique users: 485381 # Number of unique venues: 83999 # Max user id: 2153502 # Min venue id: 2153503 from collections import defaultdict import matplotli...
[ "thawsitt@cs.stanford.edu" ]
thawsitt@cs.stanford.edu
134e673b4e325ce2ba6f35e5d0941b91507dcabe
28ca5727a642a24e840463e7cb12e47f32d22578
/code16.py
baa7c05a5cb4180a9aca04367e96e959bae7fe17
[]
no_license
bivin1999/code
ee54282b6615e021ccd7e4c70c8ca319f26e69b3
152118111ecc45655713587362ed34c35705bda2
refs/heads/master
2020-06-16T10:58:07.311117
2019-07-06T16:25:28
2019-07-06T16:25:28
195,547,991
0
0
null
null
null
null
UTF-8
Python
false
false
316
py
#drawing book #link : https://www.hackerrank.com/challenges/drawing-book/problem import sys def solve(n, p): a=p//2 if n&1==0: b=(n+1-p)//2 else: b=(n-p)//2 return min(a,b) n = int(input().strip()) p = int(input().strip()) result = solve(n, p) print(result)
[ "noreply@github.com" ]
noreply@github.com
5c154d2a01bd376210d04584348139747d614a2b
ba477b178d58d3bdc77e0cf3bc27c3d56f7577fe
/init_demo/m2.py
e5ca54363b88940a8f677aec0679190a8c1e262d
[]
no_license
lpxxn/lppythondemo
4002124eaacb5cbc207ffa93a23ab5928bf37dec
c9916d1229ffc12687418b06fab848ccec44b362
refs/heads/master
2023-07-20T15:16:34.763158
2023-07-11T14:37:52
2023-07-11T14:37:52
140,224,667
0
0
null
2023-05-01T20:34:27
2018-07-09T03:05:39
Python
UTF-8
Python
false
false
213
py
# 报错 这样的语句会导入哪些文件取决于操作系统的文件系统. 所以我们在__init__.py 中加入 __all__变量. #from package_y import * from package_y.sub_b import * module_m2.func_b_q()
[ "mi_duo@live.com" ]
mi_duo@live.com
add086b912c431679fe699dbc2468eac797c8fc5
41ab49af48988477d9c7eb99c903e305fced7c8c
/ICP2/ICP2.py
2f0a5473f245ee1de0c5066cc824b93b1553a1bd
[]
no_license
Lohithayenugu/Python-DL
7dd97f39c1a037e39a267a809b495c938e56b951
5f8c33688d1bea4d208449ecffc9c7bb9ad3909d
refs/heads/master
2020-06-04T03:37:05.784342
2019-07-24T03:54:40
2019-07-24T03:54:40
191,858,511
0
0
null
null
null
null
UTF-8
Python
false
false
869
py
n = int(input("Enter number of elements")) list1=[] list2=[] for x in range(n): list1.append(float(input("Enter "+str(x+1)+" element"))) list2 = [x * 0.454 for x in list1] print("L1: ",list1) print("Output: ",list2) def string_alternative(): str= input("Enter the string") str1 = "" for i in range(len(st...
[ "47069512+Lohithayenugu@users.noreply.github.com" ]
47069512+Lohithayenugu@users.noreply.github.com
b7a3c7ad867d6b0d17cbc01339de7cfc5985ed07
ad007420005b441b4869cd93c04ceab4a6e655da
/pynitrokey/nethsm/client/exceptions.py
cfe93aafc004fca09ee0eafc606dcfbecdba2472
[ "MIT", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
fayrlight/pynitrokey
ed17a96d754747815fe4c1c476111acb284a6287
c6a93da7a811d34213746b60fab22affb3616a88
refs/heads/master
2023-05-04T15:24:45.389359
2021-05-21T13:56:59
2021-05-21T13:56:59
369,707,084
0
0
NOASSERTION
2021-05-22T03:36:50
2021-05-22T03:36:50
null
UTF-8
Python
false
false
5,267
py
""" NetHSM All endpoints expect exactly the specified JSON. Additional properties will cause a Bad Request Error (400). All HTTP errors contain a JSON structure with an explanation of type string. All <a href=\"https://tools.ietf.org/html/rfc4648#section-4\">base64</a> encoded values are Big Endian. # noqa: E...
[ "robin@nitrokey.com" ]
robin@nitrokey.com
c81efd2e4190b6987977d82ab2f1ea3ed7152de1
e4f0df3cc6e41e65e6a88278173a093012f768fa
/create_S3bucket_and_user.py
0b372f0edf00dfbcd6c96c859ad26440b0949fb9
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
bcgov/nr-dell-objectstore_admin
cd6c0a58449189e730a1c4cf5be8fa447a66d488
ef6c33b187a72903c66f0162e071a833df38ad69
refs/heads/master
2023-02-11T19:51:06.792485
2021-01-03T19:05:50
2021-01-03T19:05:50
265,933,250
0
0
NOASSERTION
2021-01-03T19:05:53
2020-05-21T19:22:25
Python
UTF-8
Python
false
false
7,637
py
#------------------------------------------------------------------------------- # Name: create_S3bucket_and_user.py # Purpose: login into the S3 DELL management and create buckets and users in a standardize way. # # Author: MRDOUVIL # # Created: 16-12-2019 # Copyright: (c) MRDOUVIL 2019 #...
[ "Michelle.Douville@gov.bc.ca" ]
Michelle.Douville@gov.bc.ca
c0af8343bd8ac717f83209b64a1c61ee65daa406
428c13380a4f7f156cf826ac591ba4c1766ce529
/venv/fibonacci_sequence.py
6c30ab4e2de74f99a74f62bdb3bf6c3bb4fe197c
[]
no_license
flowler/study
db7e0af2c472457b2a738341585fa93ba1d129a9
3c9911bdb19688485cac8a8ac17bf2680687a0fc
refs/heads/master
2022-11-06T12:39:20.905173
2020-06-13T11:27:44
2020-06-13T11:27:44
271,995,555
0
0
null
null
null
null
UTF-8
Python
false
false
110
py
#斐波那契数列,前两个数相加为第三个数 a,b=0,1 while b<1000: print(b,end=',') a,b=b,a+b
[ "chenyuan@chenyuan03.local" ]
chenyuan@chenyuan03.local
2a10e7bef34bdb10181c6a62a9e338aec04431c8
75c2dd4342f2e343cf741383b805b1d3ea01ea7c
/src/py/key.py
5200dca40955db368f82bb769f04678762720182
[ "Apache-2.0" ]
permissive
progressive-identity/proposal-1
59581196a74ef3b8bfa539008f891e7e003eff1d
f65cc21c707bcf0629b8b96de7d92074477b1231
refs/heads/develop
2023-03-17T10:48:21.251042
2019-06-21T09:01:26
2019-06-21T09:01:26
186,801,390
0
0
Apache-2.0
2023-03-08T13:51:52
2019-05-15T10:10:51
Python
UTF-8
Python
false
false
4,814
py
import re import hashlib from utils import tob64, fromb64 import config class KeyException(Exception): pass class UnknownAlgorithmException(KeyException): pass class MalformedKeyException(KeyException): pass class key: STR_RE = re.compile(r"(?P<kb64>[a-zA-Z0-9_-]+)\.(?P<algo>[a-z0-9]+)") @...
[ "g@wenarab.com" ]
g@wenarab.com
61485c3a5c32dc5a84cd3007368d7d17989f5d3e
73480e2fe52136d7b4226d28bd58e7e4007faa1f
/SConscript
7b2a5d863aa99de948d587225112b00f9e1e5773
[ "MIT" ]
permissive
zznop/jump
e0486955f9f9bab8690fef4f97399d69a64f0ddd
a1cece179f53cc0bcde0559ffb52844a9cd2bc29
refs/heads/master
2020-05-09T12:38:50.501219
2019-05-05T20:23:48
2019-05-05T20:23:48
181,118,801
16
2
null
null
null
null
UTF-8
Python
false
false
361
Import('env') sources = [ './src/jump.S', ] obj = env.Object( source=sources, ) bin = env.Command( 'jump-nocheck.bin', obj, '$LINK -Ttext 0 --oformat binary -o $TARGET $SOURCE' ) # TODO: make a scons tool fixed_bin = env.Command( 'jump.bin', bin, '$PYTHON ./tools/checksum.py --out $...
[ "zznop0x90@gmail.com" ]
zznop0x90@gmail.com
afe4f0e9bb5901580c70826acd5842bb66749c78
c4cfa64ff9c38c8138f574f36268a247673398f2
/recommendation_missing_sections/wikipedia.py
12097dd698cbc74bbaab643a59702a38047d50b0
[ "Apache-2.0" ]
permissive
wikimedia/recommendation-missing-sections
1500888cd17b4a8f757acc79a1604e255cf1177d
48bbcc19da6e02e57e10f211c2f69f7a664aec4e
refs/heads/master
2023-06-30T15:00:27.162978
2017-07-03T16:53:37
2017-07-03T16:53:37
84,074,494
0
2
null
null
null
null
UTF-8
Python
false
false
1,832
py
from multiprocessing import dummy as multiprocessing from recommendation.api.external_data import fetcher from recommendation.utils import configuration def get_sections_for_articles(titles): with multiprocessing.Pool(len(titles)) as pool: results = pool.map(get_sections_in_article, titles) aggregate...
[ "nschaaf@wikimedia.org" ]
nschaaf@wikimedia.org
c1d1f6e95434658b32064851c5155d7b1125a967
43c870b240a807db330a7abf53758c1fef924432
/cloudkitty/storage_state/alembic/versions/9feccd32_create_reprocessing_scheduler.py
ce3cc37561b331d4531c41e57560f3feba4b3712
[ "Apache-2.0" ]
permissive
openstack/cloudkitty
fb3cb83d8d89b27efe64768862f07781a2ef3b5a
94630b97cd1fb4bdd9a638070ffbbe3625de8aa2
refs/heads/master
2023-08-31T15:10:44.524252
2023-08-23T16:27:35
2023-08-23T20:01:01
20,042,606
103
57
Apache-2.0
2017-11-29T15:39:28
2014-05-22T00:52:38
Python
UTF-8
Python
false
false
1,606
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 # distributed under...
[ "pierre@stackhpc.com" ]
pierre@stackhpc.com
08953a719b418bbb15d0969431d2b06d0839e3be
1e3ccb661b2560b29f4403f769fce01ba33433ef
/lab1/sumCalculator.py
28bc1c9754dd5e450c5443a0f450b9cb89fee369
[]
no_license
Anurag-Bharati/week3Lab
e49969f0c6aaeba802158ac6cc03a21588a931d3
85a81ca926197fbdd3841d6d7c9c4c1e069c3e86
refs/heads/master
2023-05-01T15:30:59.865464
2021-05-17T04:36:57
2021-05-17T04:37:44
339,624,910
0
0
null
null
null
null
UTF-8
Python
false
false
274
py
# WAP that takes three no and prints their sum. Every no is given on a separate line. numA = float(input("\nEnter the first no: ")) numB = float(input("\nEnter the second no: ")) numC = float(input("\nEnter the third no: ")) sumTotal = numA + numB + numC print(sumTotal)
[ "anuragbharati26@gmail.com" ]
anuragbharati26@gmail.com
6f1b41958b6af109f299f7ced42048d6db69d508
cfe2abe4b252ec2b1c3987157734b04f0ef0dacf
/helpers/db.py
d542e998f498f6279d7d832658cf457278192842
[]
no_license
Praveeeenn/Supernova
9406ffc64257e5d50826c3801b3737607ce11fc7
f27d7b29bec0c52ea65276d383c12f782b769cd9
refs/heads/master
2022-09-26T19:10:35.421199
2022-09-17T23:14:32
2022-09-17T23:14:32
103,510,730
0
0
null
null
null
null
UTF-8
Python
false
false
223
py
import pymongo class MongoDB: def __init__(self, db_name): con_string = "mongodb://admin:password@localhost:27017" self.client = pymongo.MongoClient(con_string) self.db = self.client[db_name]
[ "praveen.rajput@sliceit.com" ]
praveen.rajput@sliceit.com
801b0bef78c978c648043d7ecc8c62ef076eac3e
49404307ec4db944de30e07cae9148bedd1f9b28
/scripts/average_model.py
0ac7c06538bb8af2cac1a5321b0f69ea2f4abd49
[]
no_license
fyabc/DL4NMT_Theano
777c335700be94bf63d9f4ea502b74bdd1d16dd6
2b4d030d7bf80e44b3582d5a09e9cb1409f469fc
refs/heads/master
2021-01-19T00:31:59.714240
2017-12-12T13:31:35
2017-12-12T13:31:35
87,180,476
12
10
null
2017-11-04T15:46:57
2017-04-04T11:50:37
Python
UTF-8
Python
false
false
2,043
py
#use this script to average several dumped models import argparse import numpy as np import os from collections import OrderedDict def main(args=None): parser = argparse.ArgumentParser(description='Average models.') parser.add_argument('model_prefix', nargs='?', default='model/complete/e4d4_enfrlarge_reslaye...
[ "feitian@outlook.com" ]
feitian@outlook.com
554a1f0c33e07c3788581a6e1dc8bcb0ef375036
9c7324dfe7b1f4ec10c60f9850cfe26b69f5d305
/py2.2/:/if:.py
dcc623a211ed76547a79a14c17b5625a1d1ccb32
[]
no_license
RyanFatsena/Python_Prak2
55d38244681527693505c5654d5e8c742e7c17a2
c1c9fd88b7f19a04683efd6311cf341d64710103
refs/heads/main
2022-12-28T05:38:42.935440
2020-10-14T12:40:08
2020-10-14T12:40:08
304,011,135
0
0
null
null
null
null
UTF-8
Python
false
false
61
py
x = 3 print(type(x)) y = 1.5 print(type(y)) print(type(x/y))
[ "71627584+RyanFatsena@users.noreply.github.com" ]
71627584+RyanFatsena@users.noreply.github.com
497806a1b6198237ed69f609207fe410f7da4465
0ea24d2e1591a7255b43c6ebff775af90aa136c8
/module_07/hw7_8.py
228e9f947ffc7d1eae8583d02d8923dba777b68a
[]
no_license
YanaAnisimova/goit-python
2a37008caa6376ab40388029078600d330e574f6
c511d764205008dd5a56c71b9ee7abd1cad58e33
refs/heads/main
2023-05-10T00:21:24.108994
2021-06-09T14:26:47
2021-06-09T14:26:47
341,244,308
1
0
null
null
null
null
UTF-8
Python
false
false
433
py
def token_parser(s): if s == '': return [] new_string = '' for i in s: if i == ' ': pass elif i in '*+-/': new_string += ' ' + i + ' ' elif i == '(': new_string += i + ' ' elif i == ')': new_string += ' ' + i els...
[ "begemotvot2@gmail.com" ]
begemotvot2@gmail.com
4c5b98dcb0e5971fa8e16b9150b20e53eaa42687
90f729624737cc9700464532a0c67bcbfe718bde
/lino_xl/lib/invoicing/__init__.py
e4adea047c066bd0b4bff8eeb6e269f443914fa4
[ "AGPL-3.0-only" ]
permissive
lino-framework/xl
46ba6dac6e36bb8e700ad07992961097bb04952f
642b2eba63e272e56743da2d7629be3f32f670aa
refs/heads/master
2021-05-22T09:59:22.244649
2021-04-12T23:45:06
2021-04-12T23:45:06
52,145,415
1
5
BSD-2-Clause
2021-03-17T11:20:34
2016-02-20T09:08:36
Python
UTF-8
Python
false
false
2,783
py
# -*- coding: UTF-8 -*- # Copyright 2016-2019 Rumma & Ko Ltd # License: GNU Affero General Public License v3 (see file COPYING for details) """ Adds functionality for **invoicing**, i.e. automatically generating invoices from data in the database. See :doc:`/specs/invoicing`. """ from lino.api.ad import Plugin, _ f...
[ "luc.saffre@gmail.com" ]
luc.saffre@gmail.com
0509308d31b11e87cad7d3ef68a20a1d9351f211
9a4610fdaab19f62a46ac5809292eeb1e25228a9
/settings.py
3846f1d228f640ac5564eda9a94536923f44eb93
[]
no_license
webworkerhq/wwhq-project
6c75a67ad5c2006697d02166ace48702e5862c0d
6fdfe8e6863fccda845e419dbcf18b55c83c4dfd
refs/heads/master
2016-09-05T09:36:28.576747
2010-11-08T01:31:35
2010-11-08T01:31:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,958
py
# Django settings for myproject project. import os import django # For setting relative paths. See: http://tinyurl.com/adsa3k # Path of Django framework files (no trailing /): DJANGO_ROOT = os.path.dirname(os.path.realpath(django.__file__)) # Path of this "site" (no trailing /): SITE_ROOT = os.path.dirname(os.path.rea...
[ "sanch1f@cmich.edu" ]
sanch1f@cmich.edu
13df2ce1f451f2a9f0ce7e5aee70d7abdb0fbc1f
cea41feba6e6a98cfc6473b23588144138341752
/views.py
b7a43fc0213ce09f1dbef965ca3ebdee72933949
[]
no_license
cobhimself/altitude
dbfa3794e97f832f4ce6eeaf45098d72539e79b1
decb2f2ccaef5b707051b8f786648b3538e6be5e
refs/heads/master
2021-01-20T12:04:53.956426
2011-07-23T21:46:43
2011-07-23T21:46:43
1,243,087
0
0
null
null
null
null
UTF-8
Python
false
false
199
py
# Create your views here. from django.http import HttpResponse #This view is used for the main altitude page ('/'). def index(request): return HttpResponse("Hello, world. You're at the index.")
[ "collin.brooks@gmail.com" ]
collin.brooks@gmail.com
e943db374255cba583a06ae593626accc392a224
2b6a02a34ee6bf68820ad185245e2609b296e0aa
/182.py
5cee2a650fbaa5cc1f8840e937e7c22e3defc6dc
[]
no_license
shants/LeetCodePy
948e505b6fcb0edcb9a1cf63a245b61d448d6e27
2337b5031d4dfe033a471cea8ab4aa5ab66122d0
refs/heads/master
2020-03-28T08:43:04.606044
2019-11-25T05:03:15
2019-11-25T05:03:15
147,984,830
0
1
null
null
null
null
UTF-8
Python
false
false
60
py
#select Email from Person GROUP BY Email HAVING COUNT(*) > 1
[ "mailtoshants@gmail.com" ]
mailtoshants@gmail.com
ec669664a01bd273b8ee1ae285da9a46c1b96850
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/rna-transcription/2569808f732d45a1a7c5dbd7f66d16e1.py
db46159bc52e0c46102481740258245a199f94aa
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
213
py
def to_rna(input): dnaTypes = {"G":"C","C":"G","T":"A","A":"U"} output = [] for each in input: value = dnaTypes.get(each,'not found') output.append(value) return ''.join(output)
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
3a95699c2332e8a78a1609466f15989fe5d2c1b5
00fb75954c9a577147e3bb530bebe774aef6c62e
/ex06_05.py
bc23f43020b8e4c5343e77d958b76b8feb70be9e
[]
no_license
stevesea/py4e
6b110df91d9a0525dc291362e6835791fcdffe98
ee249a48672f8973f13ac7c95cd9e073d3fdd9c5
refs/heads/master
2020-03-10T11:23:04.997144
2018-07-13T19:10:43
2018-07-13T19:10:43
129,355,172
0
0
null
null
null
null
UTF-8
Python
false
false
308
py
# Write code using find() and string slicing (see section 6.10) to extract the # number at the end of the line below. Convert the extracted value to a floating # point number and print it out. text = "X-DSPAM-Confidence: 0.8475" ind = text.find(":") substr = text[ind+1:] print (float(substr.strip()))
[ "steve.christensen@mediciventures.com" ]
steve.christensen@mediciventures.com
0e98660cef8d593393fd7f5239d57526602a5f0e
a56252fda5c9e42eff04792c6e16e413ad51ba1a
/resources/usr/local/lib/python2.7/dist-packages/bx/seq/seq.py
727c700f5b0caaf1da917454450ecd64e677025f
[ "Apache-2.0" ]
permissive
edawson/parliament2
4231e692565dbecf99d09148e75c00750e6797c4
2632aa3484ef64c9539c4885026b705b737f6d1e
refs/heads/master
2021-06-21T23:13:29.482239
2020-12-07T21:10:08
2020-12-07T21:10:08
150,246,745
0
0
Apache-2.0
2019-09-11T03:22:55
2018-09-25T10:21:03
Python
UTF-8
Python
false
false
4,887
py
""" Classes to support "biological sequence" files. :Author: Bob Harris (rsharris@bx.psu.edu) """ # DNA reverse complement table DNA_COMP = " - " \ " TVGH CD M KN YSA BWXR tvgh cd m kn ysa bwxr " \ " ...
[ "szarate@dnanexus.com" ]
szarate@dnanexus.com
e830f7351dad25f5cc3d2faf83a61bf0ffbe4390
366bc4dbb4a1689cabaa00d8fbdbf9606aa462fe
/spacexlaunchbot/discordclient.py
5b1edc6d88e43995e39fd2cce6a4f2be95559b0c
[ "MIT" ]
permissive
Tominous/SpaceXLaunchBot
551c7c07984bafffb00d276134e2a0791e937763
4622e4f590f9a2f8276ab752308e5d3cce7be8fb
refs/heads/master
2022-10-03T01:57:09.056700
2020-06-05T17:23:32
2020-06-05T17:23:32
270,282,740
1
0
MIT
2020-06-07T11:20:08
2020-06-07T11:20:07
null
UTF-8
Python
false
false
5,375
py
import asyncio import logging import platform import signal from typing import Union import discord import discordhealthcheck import apis import commands import config import notifications import embeds import storage class SpaceXLaunchBotClient(discord.Client): def __init__(self, *args, **kwargs): supe...
[ "simjenner3@gmail.com" ]
simjenner3@gmail.com
3d278e98a1fab5ed76fd8bb93ee6f0c07abfabbc
e978ae78828022c80bad03c588b2045a01fde263
/src/ex4-var.py
aace763753e4101285fcf695dec1ac4e7df53b13
[]
no_license
rever4433/LearnPythonExample
e668fdd02866665793c7b1a7d1aceee8b3714e67
1028d923b747f0b25ed4c3ae15a0b901edd15c2d
refs/heads/master
2021-01-20T21:32:22.737608
2017-10-05T11:54:51
2017-10-05T11:54:51
101,768,309
0
0
null
null
null
null
UTF-8
Python
false
false
586
py
cars = 100 space_in_a_car = 4.0 drivers = 30 passengers = 90 cars_not_driven = cars - drivers cars_driven = drivers carpool_capacity = cars_driven * space_in_a_car average_passengers_per_car = passengers / cars_driven print ("There are",cars, "cars available.") print ("There are only", drivers, "drivers av...
[ "gao2524289@outlook.com" ]
gao2524289@outlook.com
acfffeeedaed98d86cfc1c342521f3ed17d4ab02
9a94d8fcdb2561a1dde8066d98d4c6412666bd3d
/rss.py
22f5b85c3456032de000a9ca59210495733ec56d
[]
no_license
liumanman/btpro
f5bfd76ef47459751365e70b26c2d73f31ba3520
c415396c6202900ef8a1a3cb985350be76abe8cf
refs/heads/master
2021-01-11T02:38:15.780868
2016-11-16T18:25:02
2016-11-16T18:25:02
70,946,921
0
0
null
null
null
null
UTF-8
Python
false
false
6,851
py
import os import json from functools import reduce from datetime import datetime, timedelta from flask import Flask, request, make_response, render_template import re import hashlib try: import xml.etree.cElementTree as ET except ImportError: import xml.etree.ElementTree as ET import requests import configparse...
[ "liumanman@gmail.com" ]
liumanman@gmail.com
80133892251d267f16b4c796934dae0fd65c9fa4
a0babe40c9895cf067e143dd1ab238cd2ec699e3
/shop/migrations/0004_order.py
215d0b94854c485c9e2abe74a7b202d21eb4df1b
[]
no_license
jayeshn10/ecommercewebsite
260ac476c5b8a5676cc284ec0385355060c8d207
bcd3316c366d963d9b2f4e5e9a108231f0b91859
refs/heads/master
2023-01-11T08:27:57.693357
2020-11-15T12:19:01
2020-11-15T12:19:01
313,022,897
0
0
null
null
null
null
UTF-8
Python
false
false
1,228
py
# Generated by Django 3.1.2 on 2020-10-26 09:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('shop', '0003_shopproduct'), ] operations = [ migrations.CreateModel( name='order', fields=[ ('id', m...
[ "jayeshnangaonkar10@gmail.com" ]
jayeshnangaonkar10@gmail.com
20a4156e7220c7868945fefe59dc8eb50df3db69
367f8fdbce11e4901f50c8b8c98bb675bf9882b7
/configs/old/VAE_CausalData_ld2.py
b863c9243c1592ef11bd3ae96ae8e974a605fb4e
[]
no_license
petrapoklukar/causal_disentanglement_miniproject
c4684524ac2c5f7cfd55d9325482295d35f6c86c
f85228278eca162ee510ac708f35fce32f420ab4
refs/heads/master
2022-11-29T18:24:44.936649
2020-08-01T06:19:04
2020-08-01T06:19:04
250,300,888
1
0
null
null
null
null
UTF-8
Python
false
false
1,638
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Feb 4 11:41:40 2020 @author: petrapoklukar """ batch_size = 64 config = {} # set the parameters related to the training and testing set data_train_opt = {} data_train_opt['batch_size'] = batch_size data_train_opt['dataset_name'] = 'causal_data' data...
[ "petra.poklukar@gmail.com" ]
petra.poklukar@gmail.com
03ab8c75f3d5facff903e1533e9051286674cba7
0f96c4fe2e4842427829e521ce950b0e552749b3
/main/management/commands/import_data.py
2fbd9669ad548af5c393153f832e08b6290055cb
[]
no_license
matardoky/booktime
206cf5076ceb6374935cd362438ddfb6ec3992a0
245a030ad2eebd5ba0be2ccc3dc19c1fd5c7b6fd
refs/heads/master
2023-02-16T03:40:20.691875
2021-01-17T13:49:07
2021-01-17T13:49:07
313,128,301
1
0
null
null
null
null
UTF-8
Python
false
false
2,423
py
from collections import Counter import csv import os.path from django.core.management.base import BaseCommand from django.core.files.images import ImageFile from django.template.defaultfilters import slugify from main import models class Command(BaseCommand): help = 'Import products in BookTime' def add_argum...
[ "mdokydiop@gmail.com" ]
mdokydiop@gmail.com
1ad55091358e590323afd520fb02e7dc9aae300d
665cce39709ed06a9170d1433bc4f9facc3cc559
/python英文视频学习/Modules and Pip.py
8dfd8e6c65972c278cfc5ab939d94604455069b5
[]
no_license
LiuJiYangYang/python-ride
a717aa6a19a43dbfbb9e65f5f41430f2125ec348
7c5b0223253ade7617e21963dce1f65bb4add834
refs/heads/master
2020-05-15T23:09:05.384607
2019-05-09T13:25:29
2019-05-09T13:25:29
182,544,879
1
0
null
null
null
null
UTF-8
Python
false
false
176
py
import useful_tools print(useful_tools.roll_dice(10)) # 模块 谷歌搜索<python-docx> # <https://python-docx.readthedocs.io/en/latest/> import docx docx.Document()
[ "1318335493@qq.com" ]
1318335493@qq.com
8690d231a167e9b88233a27f26976e8d40a700d9
a8f0cb9c022a97d77c5df1e626f0c4d26e6edbd5
/config/settings/base.py
ff7d394bc8cc22d7f56b59482970d4b006ecee7a
[]
no_license
gaetangr/P10_application_deployment
e5daaddc1e1ad61f537009dbd52e1ea10bff7738
40fd9a90366f9376603a96efda3aea80c73b02d1
refs/heads/master
2023-02-16T20:35:19.550550
2021-01-19T17:40:24
2021-01-19T17:40:24
329,312,859
0
0
null
null
null
null
UTF-8
Python
false
false
7,144
py
""" Base settings to be extended for production, test and local. Settings common to all instances of the project. """ from pathlib import Path import environ # purbeurre/ BASE_DIR = Path(__file__).resolve(strict=True).parent.parent.parent APPS_DIR = BASE_DIR / "purbeurre" env = environ.Env() ENV_FILE = BASE_DIR / "...
[ "39266116+Mcflan-7@users.noreply.github.com" ]
39266116+Mcflan-7@users.noreply.github.com
557a98329f24a892e121a652554f6993793fddf4
9379d741a44ea70f83703fdb0ee4b2a528c707e2
/controllersMap.py
ec52301affd466e89a9e458f1bb3529f7966f04a
[]
no_license
Kamikoto-sama/NetBookShop
e237d227c1302d72dbbe2135964e294612848be2
2e3b324a0d150e1d6967ab1a865d291bccf99164
refs/heads/master
2021-07-19T06:08:12.566795
2021-06-27T13:52:04
2021-06-27T13:52:04
250,855,627
2
0
null
null
null
null
UTF-8
Python
false
false
307
py
from controllers import AuthController, CustomerController, LibrarianController class Controllers: Auth = "auth" Customer = "customer" Librarian = "librarian" routes = { "auth": AuthController, "customer": CustomerController, "librarian": LibrarianController }
[ "dan.mok999@yandex.ru" ]
dan.mok999@yandex.ru
2cdd965d4c6d388d23f12cbd8f7966ac00696647
a7214e7ff9453f22586cf0e09bb2c95092335d91
/venv/Scripts/pip3.6-script.py
96c507768c50d0951d4544ef22aaa62f2b0fac21
[ "MIT" ]
permissive
migzpogi/PokerCalculator
32069f92959f5c3929cd8d06f4ad93cccb4638a3
dafe73fa75e561bce92832807c81ab4a680a29c1
refs/heads/dev
2023-05-26T18:07:43.932496
2022-06-19T21:27:49
2022-06-19T21:27:49
149,702,916
6
2
MIT
2023-05-23T02:09:54
2018-09-21T03:09:36
Python
UTF-8
Python
false
false
407
py
#!D:\Projects\PokerCalculator\venv\Scripts\python3.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3.6' __requires__ = 'pip==10.0.1' 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]) ...
[ "migz.zgim@gmail.com" ]
migz.zgim@gmail.com
3f952527300df60b654627ce7bbef7b2f314235c
96f44e6f9b834d4f89a3119565b46a58589b7e83
/crm/views.py
113239bb64f87591b6d9966cb588cb2827a1f492
[]
no_license
thwalker/mfscrm
af27932c828682b94002e21e02287bb23b481907
4c7945c31e8aad789ab330698293220656b58d52
refs/heads/master
2020-04-21T01:14:19.345729
2019-09-11T20:28:20
2019-09-11T20:28:20
169,188,667
0
0
null
null
null
null
UTF-8
Python
false
false
6,123
py
from django.contrib.auth.decorators import login_required from django.shortcuts import render from .models import * from .forms import * from django.shortcuts import render, get_object_or_404 from django.shortcuts import redirect from django.db.models import Sum now = timezone.now() def home(request): return rend...
[ "thwalker@unomaha.edu" ]
thwalker@unomaha.edu
3c43c345d111372a9ca89a1f6a3b93c59a6b2ed2
8bc18494749c7bad01678b14bc2f768953680446
/BinaryCounter.py
b4e5528b16381be75e61d852d0b31982961a1f3c
[]
no_license
anshul-16/Turing-Machine-Problems
f034a94c9e3f61eb06424534ecf65e974629df41
2dd7c15ab7e2598b576479735b2cb5447d0b6684
refs/heads/master
2021-09-06T21:26:25.507632
2018-02-11T18:28:03
2018-02-11T18:28:03
116,153,426
0
0
null
null
null
null
UTF-8
Python
false
false
1,984
py
from tabulate import tabulate print("State Table for 3-State Binary counter Problem is: \n\n") print (tabulate({"State":["State0","","","State1","","","State2""","",],\ "Symbol Read":["Blank","0","1","Blank","0","1","Blank","0","1"],\ "Write Instruction":["Write Blank","Write 0",...
[ "noreply@github.com" ]
noreply@github.com
710681e8432fda6fe291df58ec43f1b8b3917168
2ea49bfaa6bc1b9301b025c5b2ca6fde7e5bb9df
/contributions/MeatWizard/Python/Data Structures/2016-10-29.py
8e90749f8ba5a1a1a2da11877b63712a7b695e86
[]
no_license
0x8801/commit
18f25a9449f162ee92945b42b93700e12fd4fd77
e7692808585bc7e9726f61f7f6baf43dc83e28ac
refs/heads/master
2021-10-13T08:04:48.200662
2016-12-20T01:59:47
2016-12-20T01:59:47
76,935,980
1
0
null
null
null
null
UTF-8
Python
false
false
143
py
Your own Python `calendar` Best way to implement a simple `queue` Get the most of `int`s Operations with `bytes` and `bytearray` How to count
[ "dasleah@gmail.com" ]
dasleah@gmail.com
457dccff4153b6a1c4b3ba627030b9354d3a29b1
00da9084edb298c768ad0ecdc209e26915dec485
/pymessages/client.py
bd3b313e729f88a6b2f3d44972a586ddfc384b0a
[ "ISC" ]
permissive
shivamsn97/pymessages
4fc3d11354c02bd6663038b6c5176d56e4411c5b
5ff3d5758f8d89889f60324b52c30c0b471c63e9
refs/heads/master
2023-03-18T05:38:37.673910
2021-03-07T19:03:42
2021-03-07T19:03:42
344,465,037
5
0
null
null
null
null
UTF-8
Python
false
false
6,661
py
import asyncio import json import signal from typing import Callable import pyppeteer from pyee import AsyncIOEventEmitter from pymessages.service import MessageService class ClientOptions: headless:bool credentials: object def __init__(self,headless=False, credentials={"cookies":[], "localStorage": {...
[ "shivamsn97@gmail.com" ]
shivamsn97@gmail.com
684f5d077c5571bc21a6c8cfc8f6596f0a2852ec
5dbf309d11fb9fe8ad29c14bb900770ead8e58ce
/week2/forstatement.py
31ef2b8ed5e6eb2c907df089f375d58c2190c8b6
[]
no_license
gruntfutuk/codecoach
a280accb0942102358729cfe2f3ce799c20ed8a9
25f5c847234eabd21a82c15aba66c73d2ba4b913
refs/heads/master
2020-05-22T02:23:25.714310
2017-04-18T13:03:07
2017-04-18T13:03:07
84,662,584
0
0
null
null
null
null
UTF-8
Python
false
false
186
py
#!/usr/bin/env python # week 2 - example 2, for statement words = ['one', 'two', 'three', 'four'] for word in words: print(word) print("%s has %d letters" % (word, len(word)))
[ "github@kyber.co.uk" ]
github@kyber.co.uk
94bf08a7ce82fd2b63625597118eb7bbeb7fe531
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part008601.py
faee6c6b3a4acdcb9b277c59692c5169f5000ac5
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
2,923
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
9c85f5d5791d3d14ac61c80470e39516b5b5b94a
b162de01d1ca9a8a2a720e877961a3c85c9a1c1c
/389.find-the-difference.python3.py
787bd1ca19ae6a5ffdf1788af2408a2944611bb1
[]
no_license
richnakasato/lc
91d5ff40a1a3970856c76c1a53d7b21d88a3429c
f55a2decefcf075914ead4d9649d514209d17a34
refs/heads/master
2023-01-19T09:55:08.040324
2020-11-19T03:13:51
2020-11-19T03:13:51
114,937,686
0
0
null
null
null
null
UTF-8
Python
false
false
727
py
# # [389] Find the Difference # # https://leetcode.com/problems/find-the-difference/description/ # # algorithms # Easy (52.22%) # Total Accepted: 126.9K # Total Submissions: 243.1K # Testcase Example: '"abcd"\n"abcde"' # # # Given two strings s and t which consist of only lowercase letters. # # String t is genera...
[ "richnakasato@hotmail.com" ]
richnakasato@hotmail.com
42b7de1ad5db10624c06cd011f69cb9faf146edd
2b5263a83bdc8f5d7ab115fdb49ff51f9de0b67a
/online-movie-app/myapp/models.py
82cde9bcfaf192d11e2d0748fd24c16302e448b5
[]
no_license
sreedhar484/ott-platform-app
4b36652a7bac28910a3dd0eae24235a56b71f1a8
0707afa53f210986778e8e9fba924e05fe2fcd74
refs/heads/master
2022-11-16T15:04:26.470944
2020-07-09T17:37:00
2020-07-09T17:37:00
278,428,915
0
0
null
null
null
null
UTF-8
Python
false
false
2,272
py
from django.db import models from django.contrib.auth.models import User from multiselectfield import MultiSelectField # Create your models here. class Profile(models.Model): user = models.OneToOneField(User,on_delete=models.CASCADE) photo = models.ImageField(upload_to='pics',default='default.png') MY_CHOI...
[ "sreedharr484@gmail.com" ]
sreedharr484@gmail.com
5caec5d9a8ccca40938aa679181df75ee6367197
6d3ac655065e7592d7d8f6692b48546fb9adab75
/VirtualEnvAndPagination/env/bin/pip-3.7
f324b76b04fee41f8ec85adbfd6cbdd528e977ac
[]
no_license
lensherrggg/Django2Masterclass-BuildWebAppsWithPython-Django
81aa3fe582801d887b526bf3e022539cc0c739f5
22631e46cf48cb4206f8b77da664685fa141fec3
refs/heads/master
2021-04-08T11:43:23.265987
2020-03-27T12:56:50
2020-03-27T12:56:50
248,772,215
0
0
null
null
null
null
UTF-8
Python
false
false
292
7
#!/Users/rui/Documents/Code/Learning/Django2MasterClass/VirtualEnvironment/env/bin/python # -*- coding: utf-8 -*- import re import sys from pip._internal.cli.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "gr98522@gmail.com" ]
gr98522@gmail.com
8e7c9117b9b08ed4a03b43f4ae8a2a8d9daa1d19
ef4f9cfca5cc0fbeb5ac6547d607bd51c52d53cc
/UnityPy/EndianBinaryReader.py
a85fc05e554a4f5d912a0af360ccb2cc9e4d1324
[ "MIT" ]
permissive
l3iggs/UnityPy
c1fe52719990817c00232834d9436dfb6a70ee57
01822260261e395565f357b33d5dab35e1a847b3
refs/heads/master
2021-03-27T22:56:13.402044
2020-03-03T12:12:49
2020-03-03T12:12:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,950
py
import io import struct from .math import Color, Matrix4x4, Quaternion, Vector2, Vector3, Vector4, Rectangle class EndianBinaryReader: endian: str Length: int Position: int stream: io.BufferedReader def __init__(self, input_, endian='>'): if isinstance(input_, (bytes, bytearray)): self.stream = io.BytesIO...
[ "rkolbe96@gmail.com" ]
rkolbe96@gmail.com
a347f4c79bc48fe3924d4320204831df966ad7c2
3764a90813b6419e679ecbbf9fcf3fd9d879dde0
/new/migrations/0001_initial.py
0822912dac641292782acd2f8df60156ca8993d3
[]
no_license
siwenyuzhong/django_rbac
187b5d0cf9b536b91fe52e8aa58937d63322a79d
a6dadfc78844ad0b8aff53430d051f3b14262612
refs/heads/master
2022-03-14T21:38:51.060978
2019-09-14T00:36:51
2019-09-14T00:36:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
928
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2019-08-01 14:31 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='info',...
[ "cinyann@163.com" ]
cinyann@163.com
54fe7f80e2409f542e48140134eecaa742fb0091
bb7771dbcdb443103ae462c42bd4abf9b755e885
/vang/core/tests/test_core.py
24a8bc31174aca08734c2a6aea89bc19c41a6274
[ "Apache-2.0" ]
permissive
mattiasl/scripts
f514a2bd110ea4b795887b553b7e18919caf462d
e9245ce432b0dd5743506654ada52e017d0b6be0
refs/heads/master
2021-06-24T18:25:00.791235
2020-11-12T20:20:12
2020-11-12T20:20:12
158,198,967
0
0
Apache-2.0
2020-11-12T20:20:24
2018-11-19T09:56:45
Python
UTF-8
Python
false
false
1,411
py
from datetime import datetime from unittest.mock import patch from vang.core.core import create_timestamp from vang.core.core import has_match from vang.core.core import is_included from vang.core.core import pmap from vang.core.core import pmap_unordered from vang.core.core import select_keys def test_create_timest...
[ "magnus.bjuvensjo@evry.com" ]
magnus.bjuvensjo@evry.com
0b1c8beb8eb1ef95cb6a4d4727885e8cadf1df70
a04cda70267d2cf36ea8375d18e1a96cca59665e
/ex34.py
5344b5d78d6593c727fab61511578cc2e3281c5d
[]
no_license
Heffie/Learn-Python-the-hard-way
8fb38dbbcc6379a9bb43b3707bb75c1e2b2d32eb
4d0ae2a79b0b54af5c05fa1b33c266016ae0f46b
refs/heads/master
2020-09-11T16:53:31.086776
2019-11-16T16:58:14
2019-11-16T16:58:14
222,131,139
0
0
null
null
null
null
UTF-8
Python
false
false
150
py
animals = ['bear', 'python', 'peacock','kangaroo','whale', 'platypus' ] print("1 ",animals[1]) print(animals[3]) print(animals[2]) print(animals[4])
[ "jdhagenstein@gmail.com" ]
jdhagenstein@gmail.com
9eec80d56ef9daa48da8496c5084cbcda72872f6
88a67ee743ddf7b9a9f83a91d6541bd416951de6
/x11/ulauncher/files/patch-ulauncher_utils_display.py
36e21f1c1333833f5730c7880397030d506980b7
[ "BSD-2-Clause" ]
permissive
rem-os/ports
ef5be84936a73c629668b7574911f25c9182f28e
a710dd4db67ff8f8d805685ca0c24c4206fadadd
refs/heads/master
2021-08-22T09:51:42.070526
2021-08-17T15:53:17
2021-08-17T15:53:17
237,510,543
0
1
NOASSERTION
2021-08-17T15:53:18
2020-01-31T20:28:01
null
UTF-8
Python
false
false
256
py
--- ulauncher/utils/display.py.orig 2021-02-07 15:10:13 UTC +++ ulauncher/utils/display.py @@ -1,4 +1,5 @@ -import logging +import gi, logging +gi.require_version('Gdk', '3.0') from gi.repository import Gdk, GdkX11 logger = logging.getLogger(__name__)
[ "danfe@FreeBSD.org" ]
danfe@FreeBSD.org
193d83661abceb7d1a25e87ede730ae52535bc9d
d50bba88b6d3acbc03909a16b56989815fe0e91e
/libraries/abstractions/ble_hal/test/ble_test_scipts/test1.py
f00d34b149815df18309c4b17857df89e438f820
[ "MIT" ]
permissive
sifive/Amazon-FreeRTOS
256382a96c0a74b16cd364b5c8d0e4b37d0d9a47
3cb6cc8d0bf2551eee5eda602501b89a5d5791b2
refs/heads/master
2023-08-15T10:40:33.458569
2019-12-28T02:53:06
2019-12-28T02:53:06
223,478,100
9
8
MIT
2023-08-01T22:59:28
2019-11-22T20:06:25
C
UTF-8
Python
false
false
2,100
py
# # Amazon FreeRTOS BLE HAL V2.0.0 # Copyright (C) 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Permission is hereby granted, free of charge, to any person obtaining a copy of # this software and associated documentation files (the "Software"), to deal in # the Software without restriction, includ...
[ "m.keyran@gmail.com" ]
m.keyran@gmail.com
3d045cf1ae24697138f2e696199a634d99751695
54f1b46d7e6c8603cf10988ecd34659104c4e784
/boba/urls.py
2eab0f647c6956e437c94442cb2b51519f9b9af4
[]
no_license
SuzannAdams/boba_backend
7bd2b778289555329abf0423d1a23fb5390e1fe8
c08b801046df65e98788da05d77629945a23ef45
refs/heads/master
2021-09-24T16:43:39.077107
2020-03-13T05:40:59
2020-03-13T05:40:59
245,221,255
0
0
null
2021-09-22T18:45:55
2020-03-05T17:04:08
Python
UTF-8
Python
false
false
255
py
from django.urls import path from . import views from rest_framework.routers import DefaultRouter urlpatterns = [ path('meets/', views.MeetList.as_view(), name='meet_list'), path('meets/<int:pk>', views.MeetDetail.as_view(), name='meet_detail') ]
[ "muezzinsarwar17@gmail.com" ]
muezzinsarwar17@gmail.com
42f8338aa52c662b047edce255ef1519c9b2a427
59adc89b3b9c95f5bf78f383f1b5c6f622827200
/venv/Scripts/easy_install-3.7-script.py
2a892957364de8dc878dbfe04976f44e140fd698
[]
no_license
hand-sound-organization/Web
d6b87330aed4dac9860907390ce2ac2e9af1ae34
2e95484f1478809ac726eb1da00d1b3452a1d651
refs/heads/master
2022-09-15T05:15:20.622364
2020-06-01T03:34:55
2020-06-01T03:34:55
255,280,337
0
0
null
2020-05-25T08:55:38
2020-04-13T09:12:52
JavaScript
UTF-8
Python
false
false
447
py
#!E:\python_programs\Flaskweb\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.7' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$'...
[ "993006297@qq.com" ]
993006297@qq.com
344cf2d475cd36e4470327ba4eeff7b9b1031d55
468a3f806677f44d1403b4eaf8800e93942332ab
/Решения на Python/11.py
246d79742fd44af48af408992d26e24a1af8db4f
[]
no_license
Fdinfoter/EGE-Informatica-C4
b3e8ebcb5406b2aa9691213f903a30ed8fa88fc8
4ee888554cfcc75009cc7f60562b71c389f1bcea
refs/heads/master
2020-12-26T10:11:19.273924
2015-03-26T16:51:04
2015-03-26T16:51:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,855
py
# -*- coding: utf-8 -*- """ ------------------------------------------------- Задача C4-11. Решение на языке Python 3. Автор: Константин Поляков, 2013 E-mail: kpolyakov@mail.ru Web: kpolyakov.spb.ru ------------------------------------------------- Школьная олимпиада по информатике проводилась для учеников 7-11-х...
[ "akarainer@yandex.ru" ]
akarainer@yandex.ru
9186c66a5e468ddac1f6938a4ca7a42f605deadf
a6e4a6f0a73d24a6ba957277899adbd9b84bd594
/sdk/python/pulumi_azure_native/servicefabricmesh/v20180701preview/get_volume.py
bf1e34036b579879a38e2e8ba7e5a4239246a83e
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
MisinformedDNA/pulumi-azure-native
9cbd75306e9c8f92abc25be3f73c113cb93865e9
de974fd984f7e98649951dbe80b4fc0603d03356
refs/heads/master
2023-03-24T22:02:03.842935
2021-03-08T21:16:19
2021-03-08T21:16:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,980
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
[ "noreply@github.com" ]
noreply@github.com
d38095f6f65c9f07ad7abbb070590af3d8ef7a7d
ded10c2f2f5f91c44ec950237a59225e8486abd8
/.history/2/path_integral_naive_sampling_20200419015912.py
09700ceb920c45902a696fba97ea21eac5e153d9
[]
no_license
jearistiz/Statistical-Physics-Projects
276a86407b32ded4e06b32efb2fadbd8eff8daed
d9c5b16a50856e148dc8604d92b6de3ea21fc552
refs/heads/master
2022-11-05T03:41:23.623050
2020-06-28T06:36:05
2020-06-28T06:36:05
254,909,897
1
0
null
null
null
null
UTF-8
Python
false
false
8,101
py
# -*- coding: utf-8 -*- from __future__ import division import os import numpy as np import matplotlib.pyplot as plt from time import time import pandas as pd # Author: Juan Esteban Aristizabal-Zuluaga # date: 202004151200 def rho_free(x,xp,beta): """Uso: devuelve elemento de matriz dsnsidad para el caso de una ...
[ "jeaz.git@gmail.com" ]
jeaz.git@gmail.com
f07cd33d834fc5291a12b22d788b5a08960acc00
034a774f78600388f34dac2f2073fcd7b97080ba
/src/model/DAE_C.py
aa03495929d3688fc0e2354540be1684d814c9f7
[]
no_license
weichian0920/MFA_DAE
492cff423b968e85b8a69086f0747b9af5bddbcf
633a6d99b3552367aea5619ea10e4be6fb6c08df
refs/heads/main
2023-04-03T06:23:19.272466
2021-04-08T01:09:30
2021-04-08T01:09:30
312,521,165
9
4
null
null
null
null
UTF-8
Python
false
false
6,498
py
# -*- coding: utf-8 -*- #Author:Wei-Chien Wang import numpy as np import os import torch import torch.nn as nn import math def ACT(act_f): if(act_f=="relu"): return torch.nn.ReLU() elif(act_f=="tanh"): return torch.nn.Tanh() elif(act_f=="relu6"): return nn.ReLU6() elif(act_f=="sigmoi...
[ "noreply@github.com" ]
noreply@github.com
74f2757220a88898a6e4b5dad3c63b866232286d
a37bf3343be428c453e480c7a411a91b125ab1d1
/deb/openmediavault/usr/lib/python3/dist-packages/openmediavault/datamodel/datamodel.py
c25bf348fca4181454ad38ac5f9f7141e39083bb
[]
no_license
zys1310992814/openmediavault
8e73ccd66fefaddd03385834137887614726812c
337f37729783d9bf3a08866c0dbc8b25c53b9ca3
refs/heads/master
2020-04-20T14:18:57.505953
2019-02-02T15:18:07
2019-02-02T15:18:07
168,894,447
1
0
null
2019-02-03T00:41:55
2019-02-03T00:41:55
null
UTF-8
Python
false
false
3,163
py
# -*- coding: utf-8 -*- # # This file is part of OpenMediaVault. # # @license http://www.gnu.org/licenses/gpl.html GPL Version 3 # @author Volker Theile <volker.theile@openmediavault.org> # @copyright Copyright (c) 2009-2018 Volker Theile # # OpenMediaVault is free software: you can redistribute it and/or modify #...
[ "votdev@gmx.de" ]
votdev@gmx.de
6d2ebfb0d5eca67a6c3677b695fb01da765358e8
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/feeder.py
b081311b634e091e1371ab0183f9c9abded2626e
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
432
py
ii = [('LyelCPG2.py', 2), ('RogePAV2.py', 2), ('RogePAV.py', 1), ('RennJIT.py', 4), ('ProuWCM.py', 5), ('LeakWTI2.py', 2), ('PeckJNG.py', 6), ('LyelCPG.py', 2), ('WestJIT2.py', 5), ('KirbWPW2.py', 2), ('LeakWTI4.py', 1), ('LeakWTI.py', 1), ('BachARE.py', 3), ('SoutRD.py', 1), ('HowiWRL2.py', 1), ('WestJIT.py', 4), ('Fi...
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
dc814497a6d93db8c28412b462e3f201c65ab99c
6bede59f44976ecc239ea323e577ea823ae199cd
/warmup_project/scripts/finite_state_controller.py
d3aa4d4336a8d4b2fd0359a62baf495eb275c43e
[]
no_license
isaacvandor/comprobo_warmup_project
4c59e714343348abf983392ce4e41b61452ab16d
21e04fc52391f92478187b864f0a0378a26b6f8c
refs/heads/master
2020-03-28T00:17:04.423171
2018-09-21T15:23:34
2018-09-21T15:23:34
147,391,198
0
0
null
2018-09-04T18:33:29
2018-09-04T18:33:29
null
UTF-8
Python
false
false
6,722
py
#!/usr/bin/env python """ finite_state_controller.py Isaac Vandor CompRobo 2018 Implements a finite state machine to switch between people following and driving in a square. It will follow people until it doesn't see anyone and then drive in a square. """ from __future__ import print_function import rospy import math f...
[ "isaacvandor@gmail.com" ]
isaacvandor@gmail.com
7753cb95d4466b610a3d6b8af4f2b00cc22c1d9b
a6f52b361be35ecd0b750289145d1dd5e5d1d48d
/src/profiler/formatters/SimpleTableFormatter.py
34c51c4caadb51c8ef5c62c9146a34e98f4bf99b
[]
no_license
deeptiagrawa/Flow123d-python-utils
d360329d28b1c24d600e309fabf09539bce80dee
a80b2dd10eb77ed0fc6469c675dc400feffdcc09
refs/heads/master
2021-01-12T05:31:26.649733
2016-12-20T13:28:05
2016-12-20T13:28:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,009
py
#!/usr/bin/python # -*- coding: utf-8 -*- # author: Jan Hybs from __future__ import absolute_import import re import os from utils.dotdict import DotDict from utils.logger import Logger class SimpleTableFormatter (object): """ Class which takes json object from flow123d benchmark profiler report and r...
[ "jan.hybs@tul.cz" ]
jan.hybs@tul.cz
e969a74760c8c4b91e8b2dcd06db47ff9cbccf46
10317d4492bcc5a85518c8c9c6edce56cccb7050
/Document Scanner/transform_new.py
012814806bec195d2e650f2d62128556692278b9
[]
no_license
kishan/Image-Recognition-Test-Grader
066a640adbc6bce5181cf0fb2d8c6f9a2a8d60e1
7b4e603f7a483cfed622df8d9896d9ff2719526a
refs/heads/master
2021-01-01T19:43:07.716688
2015-08-25T20:00:56
2015-08-25T20:00:56
41,382,408
0
0
null
null
null
null
UTF-8
Python
false
false
3,411
py
# import the necessary packages import numpy as np import cv2 import math ################################################################################ ## The following functions have been written by me but the approach is derived ## from the following link: http://www.pyimagesearch.com/2014/08/25/4-point- ...
[ "kspatel2018@gmail.com" ]
kspatel2018@gmail.com
25854f44a5cc291fbdd5dfec90ae8bea919c44ef
201356e09fb6dd82d36ed5b93b08a29482b68fb2
/HD - Intro/Task 20/example.py
ddb49c8255c3ccf527b2f2d8dfdf08f3094bf33d
[]
no_license
M45t3rJ4ck/Py-Code
5971bad5304ea3d06c1cdbd065941271c33e4254
32063d149824eb22163ea462937e4c26917a8b14
refs/heads/master
2020-04-08T05:03:44.772327
2018-11-26T06:41:03
2018-11-26T06:41:03
159,044,079
1
0
null
null
null
null
UTF-8
Python
false
false
5,058
py
#************* HELP ***************** #REMEMBER THAT IF YOU NEED SUPPORT ON ANY ASPECT OF YOUR COURSE SIMPLY LOG IN TO www.hyperiondev.com/support TO: #START A CHAT WITH YOUR MENTOR, SCHEDULE A CALL OR GET SUPPORT OVER EMAIL. #************************************* # *** IF YOU DID NOT INSTALL NOTEPAD++ AND PYTHON (...
[ "wavoges@gmail.com" ]
wavoges@gmail.com
1acd11d2c075a19aeaec33eabb2263dbb4111fa3
610a3ccbfac8c7d65ded6ddc428cab0d23f72bfa
/src/helpers.py
d268224cfc900e0a4cc3b338a320a8e153d369a1
[]
no_license
scaleoutsystems/digits-example-project
75718becce1c4d60a1e8d83749a07cc8e315ba17
e6c354c8350332ce357e6d4638060a5cf5cf5cec
refs/heads/master
2022-12-07T01:05:31.181256
2020-08-24T14:32:33
2020-08-24T14:32:33
238,665,388
0
0
null
2020-05-08T13:41:43
2020-02-06T10:44:04
Jupyter Notebook
UTF-8
Python
false
false
173
py
import tensorflow as tf import mnist def load_model(): model = tf.keras.models.load_model('digits-clf_v1.h5') mn = mnist.model() mn.model = model return mn
[ "andreas@IT-ML-andhe896.local" ]
andreas@IT-ML-andhe896.local
8fb41bc1b8f8c2b4508bd87272655f120f261887
f56c45ce8d593cc60bea2daab191ff80c2c3e30f
/03_django_basic/community/board/models.py
35576088c050e9930a1eaf4dd6eee8883e5c9b6b
[]
no_license
PAPION93/python-playground
5c216ed1ed3a668458bf75221fd60a88c7e80e9a
775b137b65c5fa65135d4f6846b5ddff28a4371d
refs/heads/master
2022-11-26T18:59:11.036371
2020-08-12T14:36:25
2020-08-12T14:36:25
276,674,303
0
0
null
null
null
null
UTF-8
Python
false
false
720
py
from django.db import models # Create your models here. class Board(models.Model): title = models.CharField(max_length=128, verbose_name='제목') contents = models.TextField(verbose_name='내용') writer = models.ForeignKey( 'user.UserCustom', on_delete=models.CASCADE, verbo...
[ "sjun1319@gmail.com" ]
sjun1319@gmail.com
81371c236c1b31b828834065ba1f4590cc065578
91948d5be26636f1f2b941cb933701ea626a695b
/problem002_uber_product.py
43dee7ed290c090339c4cb64d1c47645fbcbabf7
[ "MIT" ]
permissive
loghmanb/daily-coding-problem
4ae7dd201fde5ee1601e0acae9e9fc468dcd75c9
b2055dded4276611e0e7f1eb088e0027f603aa7b
refs/heads/master
2023-08-14T05:53:12.678760
2023-08-05T18:12:38
2023-08-05T18:12:38
212,894,228
1
0
null
null
null
null
UTF-8
Python
false
false
1,460
py
''' This problem was asked by Uber. Given an array of integers, return a new array such that each element at index i of the new array is the product of all the numbers in the original array except the one at i. For example, if our input was [1, 2, 3, 4, 5], the expected output would be [120, 60, 40, 30, 24]. If our inp...
[ "loghmanb@gmail.com" ]
loghmanb@gmail.com
9ff7bcf0b7e132c05a94b7ac2ef5b7f1ef0ff512
6a85ccd78d9f4dfbc6af9549cebcc98b2780b9a5
/network_test_job.py
15878ddb72a7af5a4c93ba923bb5760f69532ca2
[]
no_license
richhan7/next
00cff87fb6314c75fb3ff7bc722a6026953b271b
8cf611a79554ac5e79abfa5649c517001ba3dd2e
refs/heads/main
2023-06-12T00:59:54.769186
2021-06-24T19:02:51
2021-06-24T19:02:51
380,022,366
0
0
null
null
null
null
UTF-8
Python
false
false
499
py
""" network_test_job.py Example multi-testscript job file """ # see https://pubhub.devnetcloud.com/media/pyats/docs/easypy/jobfile.html # for how job files work import os from pyats.easypy import run # compute the script path from this location SCRIPT_PATH = os.path.dirname(__file__) def main(runtime): """job...
[ "noreply@github.com" ]
noreply@github.com
10b448f764ee578360e04f05635be76a553fbf2f
5fdc52d776b933ddb9884c8593bc1518747261ce
/pelt/trainer.py
310b33155c42910dcac91bcc630d348c9ae5c866
[]
no_license
queengooborg/peltengine
76185b21cb90ddf95c0172abbb3fc652655c0894
818736a7118a68108821459cf2ac6a387a2159aa
refs/heads/master
2021-09-08T10:21:33.099532
2015-01-27T23:27:14
2015-01-27T23:27:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,515
py
#In need of remodeling #Created April 28, 2014 at 22:28 import settings #class for trainer object management if not settings.ios: import pygame #import everything pygame-related from pygame.locals import * else: import scene import objects import data import battle import transition class TrainerObject(objects.NP...
[ "dark.tailed.wolf@gmail.com" ]
dark.tailed.wolf@gmail.com
59d8f01e647784d5e4ab659ba0b518f6864ec95c
7129f15a9d1f7b8f134c2a2fba58b24fe9a1e6d7
/unittest/test_web/test_baidu_data.py
7d89d6f4ee20353ba879605bf001a284498dcf2d
[]
no_license
csxhzy/hzy-code
23f7a3c103d694d7e68a8bf505f0ead2fd82b4a6
70541817e8a2bc0e6260689a6300a31784147ffd
refs/heads/master
2021-04-16T12:32:48.762518
2020-03-23T07:41:14
2020-03-23T07:41:14
249,356,316
0
0
null
null
null
null
UTF-8
Python
false
false
1,117
py
import csv import codecs import unittest from time import sleep from itertools import islice from selenium import webdriver class TestBaidu(unittest.TestCase): @classmethod def setUpClass(cls): cls.driver = webdriver.Chrome() cls.base_url = "https://www.baidu.com" cls.test_data = [] ...
[ "1658489684@qq.com" ]
1658489684@qq.com
99e93916bed5dbae5141874b200404680d64df06
9a329df241d1ed7257c068606b03b48113c69d7f
/001基础/009集合/04集合查找数据.py
4e1983538917b085e3a21cd2ccc9bd9a2e19bfdf
[]
no_license
gitHirsi/PythonNotes
c3910979c34c82574f74ecbebd6de439f959f4b5
0901974e4904b0ac65983377fd4d081b06dfd029
refs/heads/master
2022-11-09T06:22:03.608188
2020-06-15T09:31:46
2020-06-15T09:31:46
266,547,363
0
0
null
null
null
null
UTF-8
Python
false
false
172
py
""" @Author:Hirsi @Time:2020/5/30 0030 8:32 """ s1 = {10, 20, 30, 60, 50} # in 或not in 判断数据是否存在 print(10 in s1) print(10 not in s1) print(80 not in s1)
[ "hirsiboom@163.com" ]
hirsiboom@163.com
f856fd5ad30c1f31072c660ce799a34b2969c6b1
a7ceed3147d08310e7c3129cd94f48b0b5b6de19
/shop/app.py
f1f3428c3b5d4b4dd9c757a2d91ee2ea3dff27e4
[]
no_license
SA-Inc/cherry_app
4b14e09f5bf0b9b31f0d61d415843ba96c902fa9
27977d919923f0843de399272acc0051d0607344
refs/heads/master
2023-04-22T13:59:41.134708
2020-05-15T18:42:14
2020-05-15T18:42:14
260,542,154
0
0
null
2021-05-06T20:07:02
2020-05-01T19:31:07
Vue
UTF-8
Python
false
false
1,760
py
from flask import Flask, make_response from flask_cors import CORS import pyodbc database_config = { 'driver': '{ODBC Driver 17 for SQL Server}', 'server': '192.168.0.104', 'database': 'cherry_shop', 'user': 'SA', 'password': '30456682sA' } app = Flask(__name__) CORS(app, resources = { r"/*": { "origins": "...
[ "noreply@github.com" ]
noreply@github.com
20a53a274d6d968a8915ec3cbcd0bfd96af6fe6b
9f16e7e8a728bbe80599225a0b0209e66f90aa85
/tensorflow/contrib/kfac/python/ops/estimator.py
30d825cc74fba6937da7d6fd808f4928fa2472dd
[ "Apache-2.0" ]
permissive
dantkz/tensorflow
af2035a8c77e2672f9d4a243f6dd6af82fc6fc50
5333bbeb3142af2a06f1ebd971061fc4e28da743
refs/heads/master
2021-05-05T14:59:58.530607
2017-12-01T13:36:46
2017-12-01T13:36:46
105,175,518
0
0
null
null
null
null
UTF-8
Python
false
false
11,030
py
# Copyright 2017 The TensorFlow 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 applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
85f811b89d5d0000abdf3240d55b112a1be47eb3
a9f156d2b5f53861b0b7de327c21a725c7e81f9c
/alien.py
3166a5ae7383df6f80653288de9dfe0ac748abe3
[]
no_license
LiamKolanowski/alien-invasion
34f9d2941e0c3a81fd65f3ddfb7b02eb7458e291
7b9d0e85fe137c993dfe03630d745849b5b3e604
refs/heads/master
2021-04-09T21:00:36.929929
2020-03-24T17:38:03
2020-03-24T17:38:03
248,879,593
0
0
null
null
null
null
UTF-8
Python
false
false
1,147
py
import pygame from pygame.sprite import Sprite class Alien(Sprite): """A class to represent a single alien in the fleet.""" def __init__(self, ai_game): """Initialize the alien and set its starting position.""" super().__init__() self.screen = ai_game.screen self.settings = ai_...
[ "LiamKolanowski@gmail.com" ]
LiamKolanowski@gmail.com
e9fe43ce49cbc2376476ce8b7bce2e8b5cde924c
d9a21297d67ce19cf4194887911787c6b5584d80
/codes_python/cases/Class_write_case.py
9f5b5527ef18d99fa54ad042e47a1297adcbcf57
[]
no_license
nsaura/ML
a476249ddf76f73252bbe553ec7f5b238142fa58
544c41df9fc5902ab8e8cecb8434956007940aa5
refs/heads/master
2020-04-04T23:45:36.916457
2019-03-14T19:49:52
2019-03-14T19:49:52
156,370,627
2
0
null
null
null
null
UTF-8
Python
false
false
3,761
py
#!/usr/bin/python2.7 # -*- coding: latin-1 -*- ## Author NS # Helps from https://pythonhosted.org/ezodf/spreadsheetdocument.html#document-management # https://pythonhosted.org/ezodf/tableobjects.html#Table import pandas as pd import ezodf as ez import os from numpy import zeros class File(): def __in...
[ "saura.nathaniel@gmail.com" ]
saura.nathaniel@gmail.com
91e59bf2d9893247a7e305d5302cdecd1db9e9c1
64563298f40cd6926d7e11445274183d81218055
/config/wsgi.py
e44b0f8cd93201515c55d6eb528e436c0cbb3594
[]
no_license
n-ishizaka8299/First-Step-WorkOut
4154b71f92b4dbb7af62cebf03e30b76239b0acb
f34c15995ec806297cfd2d52d831c77cd182537a
refs/heads/master
2023-05-03T23:17:15.028871
2021-05-30T01:44:39
2021-05-30T01:44:39
365,424,387
0
0
null
null
null
null
UTF-8
Python
false
false
483
py
""" WSGI config for config 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 # from whitenoise.django import Django...
[ "n.ishizaka8299@gmail.com" ]
n.ishizaka8299@gmail.com
d7544458a6ded8044f8f7928e5990538d9be7cb4
3d49a543721d10e7dcd630b34c32624758ea2509
/codeAcademy/roshambo.py
4d28bb48e5dd960e5c721f4029b0736d8ddbbfd3
[]
no_license
rgamoji/python
a13d0e70dfc50f31a9c0db4264d407bc1d4ee6db
6de18e9c22da06fc1fea0ed00da1da89ebdb5f7c
refs/heads/master
2021-05-15T01:29:19.386053
2018-11-08T23:58:27
2018-11-08T23:58:27
13,962,649
0
0
null
2018-07-11T00:16:29
2013-10-29T17:08:52
HTML
UTF-8
Python
false
false
2,770
py
#!/usr/bin/env python """ Roshambo (rock-paper-scissors) game. Prompts for number of attempts and let's you play rock-paper-scissors for those many times until you win. Ex: $ ./roshambo.py Welcome to Rock, Paper, Scissors! How many points are required for win? 3 Choose (R)ock, (P)aper, or (S)cissors? r It's a Draw Ch...
[ "rgamoji@gmail.com" ]
rgamoji@gmail.com
55896ce58faaad4d9a6fea22920858626787434c
f71d6668e3cc82db5907e6217924cf188c91784d
/myDjango/test/Scripts/django-admin.py
0510ad6b097a3cf2141aa1a36f44160f7d25bcb5
[]
no_license
mounikakumar565/MyDjango
2ad80347723cf6803c7a2ecbc2e982459cade5d5
ccbd12c08c43a1787535e36357ea238221c2f332
refs/heads/main
2023-06-04T13:18:06.166630
2021-06-16T07:08:52
2021-06-16T07:08:52
377,389,306
0
0
null
null
null
null
UTF-8
Python
false
false
686
py
#!c:\users\mounika\mydjango\test\scripts\python.exe # When the django-admin.py deprecation ends, remove this script. import warnings from django.core import management try: from django.utils.deprecation import RemovedInDjango40Warning except ImportError: raise ImportError( 'django-admin.py was depreca...
[ "mounikaa.kumar@gmail.com" ]
mounikaa.kumar@gmail.com
9ceecd5538942099bab3b6551d6e2237a046eb14
44d4a051663179ddf4a87ef607070e8abed1b94f
/ntupleAnalysis/skim_select_events.py
74870141f0dcdb8c5763db8776a54254cbf40845
[]
no_license
mbandrews/h2aa
458471abd90dc2a80d13ad2d2428cc0567d58c89
de1549d472f0b815236598c9676c27719b949e67
refs/heads/master
2022-12-09T22:08:21.235484
2022-12-08T03:44:58
2022-12-08T03:44:58
232,382,628
0
1
null
2022-12-08T03:44:59
2020-01-07T17:49:35
Jupyter Notebook
UTF-8
Python
false
false
9,874
py
from __future__ import print_function from collections import OrderedDict import numpy as np np.random.seed(0) import os, re, glob import time import argparse from hist_utils import * from selection_utils import * #from get_bkg_norm import * import ROOT # Register command line options parser = argparse.ArgumentParser...
[ "michael.andrews@cern.ch" ]
michael.andrews@cern.ch
1dbee547e18a637d8591ed745be0e2f9cf4198c6
3fafde5311c81d69e0c08593def4b0e97506e570
/應用程式/查詢文件目錄下的資料/traversalDir.py
4ef56bf20a5427a511969804df43488fc2c57cb6
[]
no_license
LaiJunBin/python
c29a54145a6e0607c925fb5e8cc8e84094f2faab
6bfef9bbcdf3212b14f53005640e5c186fe654c0
refs/heads/master
2021-09-07T09:48:35.847638
2018-02-21T05:56:40
2018-02-21T05:56:40
115,581,178
3
0
null
null
null
null
UTF-8
Python
false
false
1,336
py
import os import sys while True: errorFile = '' target = { "fileName" : input('請輸入要搜尋的關鍵字:\n'), "fileType" : input('請輸入要搜尋檔案的副檔名:\n') } record = {} def traversal(dirName): try: record.setdefault(dirName,[]) for d in os.listdir(dirName): ...
[ "xyz607xx@gmail.com" ]
xyz607xx@gmail.com