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
45e65e737977b0c9da8233100bab548fff1c956c
e4c07358ee0b461272a66f359892486bc5b622bb
/factbookPages.py
01eca2521185f08b79b697750bb8553bc2a0978c
[]
no_license
Romyellenbogen/finalproject
cf6c5ec92ef503834dea09d1862a59a83a50574f
e02efda866f9ef745ab7091f394af74b14828882
refs/heads/master
2020-05-16T21:27:14.402587
2019-04-25T17:11:51
2019-04-25T17:11:51
183,306,804
0
0
null
null
null
null
UTF-8
Python
false
false
596
py
from urllib.request import urlopen from bs4 import BeautifulSoup import time import csv html = urlopen('https://www.cia.gov/library/publications/the-world-factbook/docs/profileguide.html') bsObj = BeautifulSoup(html, "html.parser") f = open('factbookPages.txt', 'w') fName = open('factbookNames.txt', 'w') links = bsO...
[ "43319351+Romyellenbogen@users.noreply.github.com" ]
43319351+Romyellenbogen@users.noreply.github.com
94906fee4d91ee0c65cd48ef33dcbd1f226e1ae7
a6479bbbf4d65278fe35abc46c094a595cca74e5
/choosinggame.py
456c1f532f752fae5814580fe39efaf0a097a8ca
[ "MIT" ]
permissive
yonatank21-meet/meet2019y1lab5
68dc5a854656da8b1cac89d451b8c34ed6859b77
148320de4de3ba80270fcb1f107d146f58c3dcbc
refs/heads/master
2020-06-21T01:54:41.387096
2019-07-25T11:29:46
2019-07-25T11:29:46
197,316,683
0
0
null
2019-07-17T04:44:53
2019-07-17T04:44:53
null
UTF-8
Python
false
false
610
py
print("Hey there and welcome to the game!") name = input("How would you like to name your charapter?") print("nice to meet you " + name +", I hope you survive!") print("Lets begin!") #question one: print("Your on your way to work and you see a sick old lady sitting on the side of the road, what do you do?") #answers pr...
[ "yonatank21@meet.mit.edu" ]
yonatank21@meet.mit.edu
57a5905a90e26c9e8169ceaa34665630789421d9
e4d4e1324514bc9708dca78839038565bc27aa1b
/manage.py
79162c0a7dddf201464fc4d4cb2fcdcdf76761dd
[]
no_license
NeilujD/theodo_test
9be020829ec157d5c962b8cd2b7b09ec5bea4584
8e27c94c3a0d4ddafc6106a832a663e753455859
refs/heads/master
2021-09-24T19:16:52.600844
2020-02-29T10:18:44
2020-02-29T10:18:44
243,732,010
0
0
null
2021-09-22T18:39:38
2020-02-28T10:04:41
Python
UTF-8
Python
false
false
631
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'theodo_test.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Im...
[ "julien.collard14@gmail.com" ]
julien.collard14@gmail.com
facbae77040528fb6f59caa209243c49e927764a
9deafaaca10878cc11219aa4913441f0f79d8218
/virtual-environment/bin/chardetect
221b3760aa1f65b8e910262ba3279a1bd2f2bb26
[]
no_license
jamalamar/flask-dance-test
f0661aa4238c393f94d476d2672978c75247d2c6
51a2a8afff25f5778da755d46db3e02cfa4d5fc0
refs/heads/master
2022-12-10T18:09:02.549494
2019-02-28T21:00:58
2019-02-28T21:00:58
173,183,224
0
0
null
2022-12-08T01:39:07
2019-02-28T20:33:23
Python
UTF-8
Python
false
false
286
#!/Users/jamal/GeneralAssembly/labs/flask-dance/virtual-environment/bin/python3 # -*- coding: utf-8 -*- import re import sys from chardet.cli.chardetect import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "jamal_ab22@hotmail.com" ]
jamal_ab22@hotmail.com
952a9418739af6d153ce34c7d3b7571f7bb0e5f6
8a3c5ec4c21edaa6d1e2acf6225874dc96468ec5
/timingperformance.py
f990ff731ac03662ee07797e805bf035f4494621
[]
no_license
phonchi/SCA-Algorithms
c29f79cd9a08482a8457e66bd8c589702f3381cb
cd765a3aef606eb4b42a23c117417e83d493d960
refs/heads/master
2021-01-22T17:29:15.735607
2015-07-21T07:07:59
2015-07-21T07:07:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,351
py
#! /usr/bin/python import numpy as np import Success import SNR import DES_DPA import DES_CPA import LoadTraces import des_block import RDM import PI from matplotlib.pyplot import * import sys import pickle from timer import Timer if __name__ == "__main__": # Fill in the appropriate tracefile name, Correct DES K...
[ "alvincai@gmail.com" ]
alvincai@gmail.com
b285e650543b5e44db84725c890dff44ffd937a0
a0fc9ddad79420167f72bd4b8bd5ac98eb314ec1
/setup.py
05dea913b9377628b1a2ca70315130418b05d85a
[]
no_license
erikfenriz/trackingBE
e55b181651d7155dff1b43cfe2716ca486bd0da3
a0743d0965ddb426b199deb1308eb274bb925e08
refs/heads/master
2020-03-26T02:31:52.928197
2018-08-12T11:07:37
2018-08-12T11:07:37
144,414,398
2
0
null
null
null
null
UTF-8
Python
false
false
649
py
from setuptools import setup setup( name='tracker', version='0.0.2', py_modules=['tracker'], include_package_data=True, install_requires=[ 'flask-cors==3.0.3', 'flask-sqlalchemy==2.2', 'flask-basicauth==0.2.0', 'flask-socketio==2.9.2', 'flask==0.12.2', ...
[ "noreply@github.com" ]
noreply@github.com
8ea422ab7d7637a015b6fe31a0e25db3f3cae371
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_75/561.py
36d9557ad1663cf9120d0f6c51352667ae7b8581
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,015
py
import sys import re input = sys.stdin T=int(input.readline()) for i in xrange(1,T+1): data = input.readline() data = data.split() C = int(data[0]) cs = data[1:1+C] CS = {} for s in cs: CS["%s%s" % (s[0], s[1])] = s[2] CS["%s%s" % (s[1], s[0])] = s[2] D = int(data[1+C]) ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
9bbf367d553645ebc901e018c407d6c607954db4
ca0dc5d0678ba8c993f1108170bbaf63178ad3cc
/ex11.py
928cbfecc52f44049caa56c8675557118220c45e
[]
no_license
coco-0610/Py104
7c4d127f669252937b5deee71f07761a2ffe964b
f4990bbbda51490132c555603139cc48424bae22
refs/heads/master
2020-12-30T10:11:59.469885
2017-08-06T12:38:04
2017-08-06T12:38:04
99,237,321
0
0
null
null
null
null
UTF-8
Python
false
false
220
py
print "How old are you?", age = raw_input() print "How tall are you?", height = raw_input() print "How much do you weight?", weight = raw_input() print "So, you're %r old, %r tall and %r heavy." %(age, height, weight)
[ "noreply@github.com" ]
noreply@github.com
a965074e01b495959b05eef1d6d79bf7788c6567
0d831c803692a6309c31c4d90b1be1636edbcdac
/beocat_codes/python_scripts/affinis_without_transfer_learning.py
75bf6c83d50f1db0c1eeb6d19d166b81f644d9fe
[]
no_license
divyavani450/bumble_bees_detecttion
018504847d60cce4342d9870e4ab529b97fb0e48
f8061fd3ff35874e05cd5fd23c35675a5df5cf4d
refs/heads/main
2023-08-02T20:03:11.945484
2021-09-18T23:40:10
2021-09-18T23:40:10
408,216,344
0
0
null
null
null
null
UTF-8
Python
false
false
14,793
py
# -*- coding: utf-8 -*- """dcgan64-beemachin3v3.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1GcGDF4sukJsaDUUjRWm7YkhOGu5VeBJS """ """### Here, we train the discriminator on samples from normal frames ###""" #from google.colab import driv...
[ "demolaoau@yahoo.com" ]
demolaoau@yahoo.com
60add865f956ed97a1c0a414612777706b456e42
9a7af7eeb170309fbe19693ce52082bb165bb912
/Apps-track/homeproject/homeproject/urls.py
9a198630b1e7af4ef5dee0d36c8fcc4c2577d332
[]
no_license
SriRoopaK/RnDSummer2019
c2574cab9eb1ac08970ea0d07946f817251756be
1f70dfac8e15ddf108fc69f26c52bf7012db1609
refs/heads/master
2020-06-10T19:27:23.224096
2019-06-25T15:01:29
2019-06-25T15:01:29
193,721,936
0
0
null
null
null
null
UTF-8
Python
false
false
1,402
py
"""homeproject URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/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') ...
[ "noreply@github.com" ]
noreply@github.com
5c58545a203686272ba3167fe7ce718e7dfd97f5
48bf785aee951fcb8e391578a7228cd2b07b5f0d
/Python/DWT/make_watermark.py
a3a0a630d27e94eee2107278f78c2ff04e757955
[]
no_license
fujimuram/watermarksc
ef2b07ce7442d7d696af2f5d1d6cc84e49ff53bd
b8e9e89bfb3212c109e7ae250a64b7cdea42e037
refs/heads/master
2022-03-10T05:01:51.775992
2022-02-24T05:12:34
2022-02-24T05:12:34
235,070,258
0
2
null
2021-07-16T12:30:52
2020-01-20T10:00:44
MATLAB
UTF-8
Python
false
false
1,411
py
# -*- coding: utf-8 -*- """ Created on Fri Jan 21 16:53:54 2022 @author: matsunaga """ import numpy as np import cv2 import matplotlib.pyplot as plt import os from my_packege import tool savepath = 'Watermark\\overlap' os.makedirs(savepath, exist_ok=True) w = cv2.imread('Watermark\\16_16\\0.pn...
[ "noreply@github.com" ]
noreply@github.com
1adf8f13377ad07300c8ac73b54cc564fb261e4e
450ff77b7b3cc2ee2af4d6fca0166623d50a737f
/app.py
6713d74f3479b114f97bd49f1c02eacd9103a8e8
[]
no_license
JessieYF/flask-celery-docker-demo
37a32a38233187d69a73dff6f818e3fb7f3ee0f1
f6052006e76351a3647f52ed17b5f3abfd8ecd23
refs/heads/master
2020-03-17T20:26:48.213029
2018-05-18T06:02:28
2018-05-18T06:05:47
133,910,118
0
0
null
null
null
null
UTF-8
Python
false
false
1,875
py
from __future__ import absolute_import from os import path, environ import json from flask import Flask, Blueprint, abort, jsonify, request, session import settings from celery import Celery from celery.task.control import inspect import time app = Flask(__name__) app.config.from_object(settings) def make_celery(app)...
[ "fenyang@thoughtworks.com" ]
fenyang@thoughtworks.com
388632c590d800f35c439aa424255c94ea0536a4
dd1341107903c7a58fc80a4a543688da794dce97
/features/steps/ica_test_01.py
04e7fac9c53a6fa2717796bec7fb02aa3feaa2d0
[]
no_license
ASimpleCompany/icaplanilla-tests
7a63587b5c1550ce559a07da69a9969386a7fefe
5746ecaf38a46beeccf6770640b32e56437a2e69
refs/heads/master
2023-01-23T17:05:55.431135
2020-12-02T23:19:15
2020-12-02T23:19:15
310,958,935
0
0
null
null
null
null
UTF-8
Python
false
false
2,037
py
import time from behave import * from selenium.webdriver.common.by import By from selenium.webdriver.support import expected_conditions from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.support.ui import WebDriverWait @given('se navega a "{site}"') def step(context, site): ...
[ "cris@pop-os.localdomain" ]
cris@pop-os.localdomain
cadebaaebd1756499df95af0462381104f4d7b5a
e49da4c26b4197db4367b8c929a275c1329ac9b8
/Assignment 3/house.py
5eb90e7ec7a5b1728bc1a02708f31dfe61f9ad20
[]
no_license
nehaahmed538/Machine_Learning
db106eab80a788ce8531ba0348f47d90e43aaf2c
7696ff5465540ed6200db757149e1536d908d72a
refs/heads/master
2021-01-27T23:06:13.140118
2020-04-10T14:57:59
2020-04-10T14:57:59
243,488,454
1
0
null
null
null
null
UTF-8
Python
false
false
643
py
import numpy as np import matplotlib.pyplot as plt import pandas as pd from sklearn.metrics import mean_squared_error,r2_score df = pd.read_csv('housing price.csv') X = df.iloc[:, 0:1].values y = df.iloc[:, 1].values #print(df) from sklearn.tree import DecisionTreeRegressor regressor = DecisionTreeRegr...
[ "noreply@github.com" ]
noreply@github.com
f2372d3b47e6c0f72d686ef9581739eb3178bdb7
a56844e7a4197d7da771921a8df5710386c29e7c
/logger.py
bc94747217c06f8c7a7885f59d993360bfd88b3d
[]
no_license
H1N2/auto_lai_ci_gou
a810966db248ce9505d1a477886bf1ab6e860d42
8b07a018155e8b7d0ee6a7515503899c05a53035
refs/heads/master
2020-03-17T00:09:48.680709
2018-05-11T10:45:31
2018-05-11T10:45:31
131,787,747
1
0
null
2018-05-02T02:31:09
2018-05-02T02:31:09
null
UTF-8
Python
false
false
232
py
from datetime import datetime import time def log(msg): t = datetime.now().strftime("%Y-%m-%d %H:%M:%S") print('>> {0}: {1}'.format(t, msg)) if __name__ == '__main__': log('log A') time.sleep(2) log('log B')
[ "xausee@gmail.com" ]
xausee@gmail.com
ff28f2c7bdd57e1dae6fe7fd5658380c59e032c2
4733692f123d3942cca1980764d83f6da19dc609
/stairClimber/stairclimber.py
c88b0946ac143b30a579516f2a118ff10e9bce23
[]
no_license
bharddwaj/AlgorithmsCourse
c10e76568f357340500f8d6ccf8c814f94d7b689
0cf274047863ca80bbe0a25b4751fcd0faf41d46
refs/heads/master
2022-12-02T01:40:11.970574
2020-08-22T19:36:28
2020-08-22T19:36:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
762
py
""" Basic (not most efficient) algorithm for generating all ways to climb n stairs, going up 1, 2, or 3 stairs at a time. Last modified: February 19, 2019 """ def get_ways(num_stairs): ways = [] if num_stairs <= 0: ways.append([]) else: for i in range(1, 4): if num_s...
[ "noreply@github.com" ]
noreply@github.com
16bfa8d7df1e10ac1dbd5644e3a510a5973db9d0
239caba71eee9bdf3def44464421107fb61b078b
/execute_game.py
b1782b17fef993bbd5abad02b7905549567ed08e
[]
no_license
Natomaro/EE551_Project
17113a58babf8d3b29d2c206d1a1723e5d7e932f
82771c8ce32d34ccad9c78b327bf87a289f69e05
refs/heads/master
2020-04-23T03:21:39.549057
2019-04-26T18:04:29
2019-04-26T18:04:29
170,876,001
0
0
null
null
null
null
UTF-8
Python
false
false
29
py
import game game.Main_menu()
[ "natomaro3@gmail.com" ]
natomaro3@gmail.com
ba8f248e167c9f66df5daef7912a58393749c774
93528ead09bb67aff4c0b4942a014274fe0f2619
/code/role2vec/weisfeiler_lehman_labeling.py
30cf8e53b896e61b208d6c13ed3ece5bfc7639fd
[]
no_license
AliceGuichenez/ALTEGRAD
9773962f892c30d70bae19cc33ec93420b314a3e
d797f20974cca063175995798706d4543d9c3ce8
refs/heads/master
2020-04-24T22:42:56.763374
2019-04-08T15:08:11
2019-04-08T15:08:11
172,320,986
0
0
null
null
null
null
UTF-8
Python
false
false
1,546
py
import hashlib import networkx as nx class WeisfeilerLehmanMachine: """ Weisfeiler Lehman feature extractor class. """ def __init__(self, graph, features, iterations): """ Initialization method which executes feature extraction. :param graph: The Nx graph object. :param ...
[ "ntoussai29@gmail.com" ]
ntoussai29@gmail.com
89b4b28c46c9bc5e322d3087373c235b7802e3fc
6408fc66b832c6f4917a204d2ae8ec061833c732
/server/classes/hc_sr04.py
9a6072451a03af394243b72a7431bf21d8853185
[]
no_license
FilipBruehl/camera_slider
323a30536dd8a64d6194f21f4e29e84526ead91f
890be086ee5d2b24a00932baec1ee15f694df5d8
refs/heads/master
2020-09-13T23:38:13.217089
2020-01-27T18:10:30
2020-01-27T18:10:30
222,940,870
0
0
null
null
null
null
UTF-8
Python
false
false
5,115
py
import time from RPi import GPIO class HcSr04: """ Klasse HcSr04 für die Kommunikation mit einem Ultraschallsensor """ def __init__(self, trigger_pin: int, echo_pin: int): """ Konstruktor der Klasse HcSr04. Stellt die GPIO-Pins für die Verwendung des Ultraschallsensors ein. ...
[ "filip.h.bruehl@student.fh-kiel.de" ]
filip.h.bruehl@student.fh-kiel.de
ec9270b8ce68c3e65580b5e36dd39ebcb17cd1bb
66beba464a65fc50763f0dea3a7537b11175d7ad
/neuro.py
50bb9b60ad910b6e8df2e1352c3e3d3f98210fc0
[]
no_license
drozdziak1/neuro
8cc5255dec851bf2e6b41888fbdb53fd50dd418e
521148ecc885837ad8cd214fecbcda1a9a10e7f5
refs/heads/master
2020-06-15T02:52:49.110108
2016-12-17T22:09:01
2016-12-17T22:09:21
75,336,690
0
0
null
null
null
null
UTF-8
Python
false
false
794
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import numpy as np class NeuralNet(object): def __init__(self): # hyper parameters self.inputLayers = 2 self.outputLayers = 1 self.hiddenLayers = 3 # weights self.W1 = np.random.randn(self.inputLayers, self.hiddenLaye...
[ "drozdziak1@gmail.com" ]
drozdziak1@gmail.com
01a2e6b7af0a367e62438e4d324ed24336970776
9c1b28d9564cfde450f6590031ede667650d494f
/player/tasks.py
ade314e4fae37740ac46ba2df18ee15c5805a719
[]
no_license
gdmurray/rankedgg-backend
90f887f4d64ca5a38741ac8e9482f08fc5d6fd7e
ac312750a09a70907fe3e5a9ae9e1172c5e341d8
refs/heads/master
2022-12-18T16:54:27.302293
2019-03-24T05:24:23
2019-03-24T05:24:23
177,320,244
0
0
null
2022-12-08T04:54:05
2019-03-23T17:36:14
Python
UTF-8
Python
false
false
746
py
from ranked.celery import app from .models import Player from channels.layers import get_channel_layer from asgiref.sync import async_to_sync @app.task def update_ranked_data(pk, region=None): player = Player.objects.get(id=pk) print(f"Updating Ranked Data for {player.username}") metadata, updated_player...
[ "gd-murray@hotmail.com" ]
gd-murray@hotmail.com
30e0b0144e04defa93cad0eb27b40a954f54ea1e
a17d7fca9d12ceb865fae1671b25e41ea2dc2e35
/myblog/settings.py
fa634c5b08fbfbabf99edc13a26d13b6495c9103
[]
no_license
andriy1112/myblog
80427784ef7857dc3d467a3440ad062861200606
245b2478b8a73ee1c7a5033421dd9c3f46f48430
refs/heads/master
2021-02-11T05:54:01.568690
2020-03-03T17:41:06
2020-03-03T17:41:06
244,461,765
0
0
null
null
null
null
UTF-8
Python
false
false
3,520
py
""" Django settings for myblog project. Generated by 'django-admin startproject' using Django 2.2.7. 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/ """ i...
[ "noreply@github.com" ]
noreply@github.com
c5b635fd5e643210db9ccdaa8987853d81a1ec72
a053087c859f90493cc29f40a1d94aaa7cfdc8e3
/setup.py
11cfe6202a6b03b3646f669b7a0579551af1be90
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
gstaubli/runtime_stats
fdf9dde4daf02e52b297eeed65f0a9909dc72e1b
2ca2adf01e6eff0b250cda4d9bf6ee99b438fbc8
refs/heads/master
2021-01-12T17:36:34.568277
2016-10-22T05:07:44
2016-10-22T05:07:44
71,616,621
0
0
null
null
null
null
UTF-8
Python
false
false
423
py
from setuptools import setup setup( name='runtime_stats', version='0.1.2', author='Garren Staubli', author_email='gstaubli@gmail.com', packages=['runtime_stats'], url='http://www.github.com/gstaubli/runtime_stats', description='Python decorator function to track runtime stats on function ca...
[ "garren@ispot.tv" ]
garren@ispot.tv
fbdec2d42733ce17db58b0d6a034d10a0172b13e
248f5251b58c266f75dbda9e8fed479278465c2c
/decor.py
6e11744d2caa42f8a6db1cfeb4a9936c77fd43ed
[ "MIT" ]
permissive
sergeybatukov/OOP
276f46a970fc106b7cf773d13070c7671440784f
9287866d04d7511b87941312d52f0bb14472c5a3
refs/heads/master
2022-04-08T17:37:11.295921
2020-01-12T15:56:37
2020-01-12T15:56:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
309
py
def Decorator(f): def wrapper(arg): print ('befor') f(arg) print ('after') return wrapper @Decorator # либо: Function = Decorator(Function) def Function(x): print ('function', + x) Function(23) # декорированая функция
[ "shizadance69@gmail.com" ]
shizadance69@gmail.com
c1593a4a96d2d54158ae1f08f9eba12543e74a59
b7743620446cdd2a1b1e82a3df5f39ab623ac42e
/BrandImpersonationDbv1.py
000edd2036998cb67a5c40adf710eca10f57e514
[]
no_license
mdtahsinasif/DeepLearning
126fcf3f67fbe2564bf40a6f92349f03593c0d77
9f195172f4f745fa5fb342c62e1ff6b877990f9f
refs/heads/master
2021-06-07T05:56:01.160347
2021-05-21T11:19:32
2021-05-21T11:19:32
165,226,550
0
0
null
null
null
null
UTF-8
Python
false
false
6,428
py
import logging import requests from bs4 import BeautifulSoup from pymongo import MongoClient import re import time #pip install langdetect from langdetect import detect #pip install google_trans_new from google_trans_new import google_translator from nltk.corpus import stopwords from nltk.tokenize import wo...
[ "noreply@github.com" ]
noreply@github.com
0412325572d786d5ff622d57872828e3ac3f1281
d6c117812a618ff34055488337aaffea8cf81ca1
/scenes/Breakout_Clone.py
17e3ecd37edfce711d910432545e1bc7b564035f
[]
no_license
c0ns0le/Pythonista
44829969f28783b040dd90b46d08c36cc7a1f590
4caba2d48508eafa2477370923e96132947d7b24
refs/heads/master
2023-01-21T19:44:28.968799
2016-04-01T22:34:04
2016-04-01T22:34:04
55,368,932
3
0
null
2023-01-22T01:26:07
2016-04-03T21:04:40
Python
UTF-8
Python
false
false
7,869
py
# -*- coding: utf-8 -*- # https://gist.github.com/SebastianJarsve/5305895 # Created by Sebastian Jarsve # 9. April 2013 from scene import * from sound import play_effect from random import randint def centered_rect(x, y, w, h): return Rect(x-w/2, y-h/2, w, h) class Field(object): def __init__(self): size = scree...
[ "itdamdouni@gmail.com" ]
itdamdouni@gmail.com
11630875b2a7c10724446e207f432eabf6ced868
f69ffc4bda2b3e300869419ca6bd443464f20e24
/栈/155. 最小栈.py
5570f0c86c75f412278e1ad3afda6448c8ac4894
[]
no_license
Gorazor/leetcode
bfcad8937930d9c3774d4d3c979a568fbcbedbad
a09cc62f3970e07baf89c66c839824c222d625a1
refs/heads/main
2023-04-01T08:52:06.258062
2021-03-26T13:33:07
2021-03-26T13:33:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
493
py
class MinStack: def __init__(self): """ initialize your data structure here. """ self.stack=[] self.min_stack=[float(inf)] def push(self, x: int) -> None: self.stack.append(x) self.min_stack.append(min(x,self.min_stack[-1])) def pop(self) -> None: ...
[ "u7076906@anu.edu.au" ]
u7076906@anu.edu.au
70119b6e17e4c3c145db1b8d9c71189a80de7ab4
c47918979509f9a0a60f8cea63dd321eec344d1a
/perlin_generator/voronoi_generator.py
97e72b6adfbe28cb4c0385f418781b1689543283
[ "MIT" ]
permissive
sjsafranek/fantasy_map_generator
7740e343455ef65c6b7d3411de72f7b10673b930
5c3aa0de15e35924e3f1e7298e46f73602901433
refs/heads/master
2020-03-31T18:51:48.747827
2018-10-17T00:30:52
2018-10-17T00:30:52
152,475,640
0
0
null
null
null
null
UTF-8
Python
false
false
1,469
py
import os import random from osgeo import ogr import numpy as np from scipy.spatial import Voronoi import shapely.geometry import shapely.ops def newLongitude(): return random.uniform(-180, 180) def newLatitude(): return random.uniform(-85, 85) # Save extent to a new Shapefile outShapefile = "tmp/voronoi.s...
[ "stefan@stefan.stefan" ]
stefan@stefan.stefan
95ab80f3fc1195c06b5ffcbf8b1f17dc0ef31ab7
291fe7fb4cc5b682e560b0c5958e2220054451c6
/Big41/ch4/조건문1.py
c57b278f55bd2e596e39e220b35dc5942d768772
[]
no_license
MinksChung/BigdataCourse
44dc5e7e578515e1dafbb7870911e09347a788f4
293803415da5d9f354059ea556818cc7610f36a5
refs/heads/master
2022-12-22T06:14:59.880933
2020-01-26T14:58:09
2020-01-26T14:58:09
202,575,724
0
0
null
2022-12-15T23:28:43
2019-08-15T16:29:35
Python
UTF-8
Python
false
false
761
py
# print("파이썬 2번째 날입니다.") # age = 100 # # if age >= 20: # print("성인입니다.") # else: # print("미성인입니다.") # 비교연산자를 스트링 비교에 사용할 수 있다. # 제어문에 중간괄호({ })대신 :(콜론)을 사용한다. # :을 사용하면 반드시 다음 아래줄에 들여쓰기를 해야한다. # 들여쓰기 후, 꼭 처리 내용이나 pass를 써주어야 한다. # login_id = 'root' # if login_id == 'root': # print('로그인 ok'...
[ "minkschung@gmail.com" ]
minkschung@gmail.com
536ac9a1cb0fade425284581c33b25ee3f3b8d58
7b26a592392339c4f17608736fde3c4e3089d9a9
/get_facevetor_and_label.py
a40ee33ee8f2e88c2a95b19eba409cf5fa54eda9
[]
no_license
IamaGitHub/FaceRecognition_deeplearning
842743870193d62e38fc7662928036c68eb74636
41fb520fbc5f3a94b91fe75eda44307b6ef81b6f
refs/heads/master
2020-04-27T20:35:16.609575
2019-03-09T07:43:15
2019-03-09T07:43:15
174,663,470
1
0
null
null
null
null
UTF-8
Python
false
false
1,083
py
import cv2 import dlib import numpy as np import json import os img_path = 'D://PycharmWorkspace/pyopencvLearning/dlib_opencv_recognition_face_withCNN/img/' data = np.zeros((1, 128)) label = [] #load face key point detector sp = dlib.shape_predictor('./net/shape_predictor_68_face_landmarks.dat') face_vect...
[ "noreply@github.com" ]
noreply@github.com
ae6738fc408a88ff1d59e3d10f2f06ca7d87e08b
af922f12961a8e721e706cfd57ee1974bc6a9bfb
/stimulus_presentation/generate_Auditory_P300_v2.py
8a7ace49cf7a1ea63d0ccf955813e86a51a89a21
[ "BSD-3-Clause" ]
permissive
hyha0310/muse-lsl
28a9869218117250a6d3b50f7cccffd374f1392c
083c50fce6ec9c2d648ae9aeb6451516baf583d8
refs/heads/master
2021-05-14T03:59:00.049887
2018-01-08T04:26:47
2018-01-08T04:26:47
116,630,325
0
1
null
null
null
null
UTF-8
Python
false
false
2,475
py
""" Generate Auditory P300 ====================== Auditory oddball paradigm stimulus presentation. """ from time import time from optparse import OptionParser import numpy as np from pandas import DataFrame from psychopy import prefs from psychopy import visual, core, event, sound from pylsl import S...
[ "hha005@gmail.com" ]
hha005@gmail.com
cfd826edde745a9864abe9b24341ad86a477b5ea
81a41ec4979121564d3e7c9f0dc687adab460bde
/Simulation/test/stoppedHSCP_300_250.py
44c9da489dbebc89c92c06cfe43de2ee9a971981
[]
no_license
allenji/StoppedHSCP
01e37dc34b4c5f88b933164ebe5e8a2bf5561573
c49f18914c7fa36b59c9fbb046e6c8be4f3aa42d
refs/heads/master
2021-01-17T13:33:42.889485
2016-03-29T18:10:13
2016-03-29T18:10:13
35,041,646
0
0
null
null
null
null
UTF-8
Python
false
false
329
py
from StoppedHSCP.Simulation.stoppedHSCPSim import * process.maxEvents.input = 10000 process.source.PythiaParameters.SLHAParameters = cms.vstring("SLHAFILE = \'StoppedHSCP/Simulation/data/Rhadron_1jet_300_250.dat\'") process.VtxSmeared.stoppedData = cms.FileInPath('StoppedHSCP/Simulation/data/stopped_rhadrons_gluino30...
[ "weifengji@yahoo.com" ]
weifengji@yahoo.com
d28e684c5bfc05d42a0888af9fb2df9877d4d315
2032da979714988270e0fa30f3bbeb20550a7e38
/ftpjiya.py
1d0bcbf7a2dc8377c0bd439c21f4fb2fc08bc5fb
[]
no_license
xiaojun54767193/python
eb6d57a5e1993559607ed9279cb16f0322bb478d
dacc8890c286d067fbc6ed4e537cc50c8ee0a199
refs/heads/master
2021-01-10T22:15:29.554484
2017-12-25T04:19:17
2017-12-25T04:19:17
70,330,984
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
#!/usr/bin/python import os def ftpjiya(PlatDir): """Find which directory had jiya """ filelist = [] faildir = '/data05/faildata' for file in os.listdir(os.path.join(faildir,str(PlatDir))): filelist.append(file) filenum = len(filelist) if filenum > 0: print '{0} had {1} files'.format(PlatDir,filenum) if __n...
[ "noreply@github.com" ]
noreply@github.com
824ebf54d09009395529bc3dace8594328a8f055
b084e9c8af25221593a229470cd929413a1d1403
/hw9/hw9.py
3c1b608011ed73696802e62a98920c37b55b8948
[]
no_license
ChengDe1996/NTU-CV
c71ef7ca61eaf672a5f0b0f74e564e3bbe9e31c3
23b338547fbc57c74a3446c6a5845e50a8897a0d
refs/heads/main
2023-02-03T05:38:03.489900
2020-12-23T18:46:19
2020-12-23T18:46:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,234
py
import numpy as np import cv2 class Solution: def gradient(self, v1, v2, threshold): val = (v1**2 + v2**2)**0.5 if val <= threshold: return 255 return 0 def Roberts(self, image, threshold): res = np.ones((512, 512), dtype = np.uint8) h, w = image.shape for i in range(1, h-1): for j in range(1, w-1):...
[ "noreply@github.com" ]
noreply@github.com
c328e2178a1886907f2c5c98afd36de38d54d425
492a809b21203133b3863d7fb3911202b663139d
/run.py
0b83d757b76ddd8f90f7aef3994f85f250a75c82
[ "MIT" ]
permissive
kelvinndmo/me
f9ce3680af8341e4013d2bf3806b319426da9985
06b9959b4284abc20b5ee365223381c75ec574d9
refs/heads/master
2022-12-10T17:10:48.820361
2019-04-25T20:16:08
2019-04-25T20:16:08
148,412,219
1
0
MIT
2021-06-01T22:38:15
2018-09-12T02:54:42
Python
UTF-8
Python
false
false
250
py
import os from app import create_app app = create_app(os.getenv("CONFIG_STAGE") or "default") if __name__ == '__main__': app.run(debug=True) source venv/bin/activate export FLASK_APP="run.py" export MODE = "development" export FLASK_DEBUG=1
[ "ndemokelvinonkundi@gmail.com" ]
ndemokelvinonkundi@gmail.com
686d4a09006935b2436d5ba3ed978785656b1a02
40809bb14e113e6bacee77494dc82d3512139d0c
/backend/app/models/users.py
84b5da7a75b391b3c083df6af08fa58ee2f69887
[]
no_license
zekaio/2020_timecapsule_retrieve
94af85d9b2ed7f2a99512b72eb8b3b0cf00a2961
40a60c6fd5de8efe26ab018225e753a7c22c79c5
refs/heads/master
2023-03-29T14:54:50.645523
2021-03-31T11:50:34
2021-03-31T11:50:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
266
py
from app.extensions import db, Model class User(Model): __tablename__ = 'users' uid = db.Column(db.Integer, primary_key=True) open_id = db.Column(db.Text) nickname = db.Column(db.Text) phone = db.Column(db.Text) email = db.Column(db.Text)
[ "zekailing@gmail.com" ]
zekailing@gmail.com
95ed3ebf9418039cb36fd809dcb13026d8ffb163
4ca6c75b8cfe7604827827aeee83b104fa7c93d9
/tests/apigateway/tests.py
a4c13a38821d83909c9775a29a08392a8dee52c7
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
ZextrasGiacomoMattiuzzi/gordon
3767800c64caf4444a13c15e890f84505b62296d
b6e4e8d5998c2b2c4c4edb3a2ec7124290f46e8b
refs/heads/master
2022-12-22T02:21:09.422648
2020-09-16T15:03:06
2020-09-16T15:03:06
285,250,476
0
1
NOASSERTION
2020-08-05T10:05:08
2020-08-05T10:05:08
null
UTF-8
Python
false
false
3,393
py
import os import json import boto3 import requests from gordon.utils_tests import BaseIntegrationTest, BaseBuildTest from gordon.utils import valid_cloudformation_name from gordon import utils class IntegrationTest(BaseIntegrationTest): def test_0001_project(self): self._test_project_step('0001_project...
[ "me@jorgebastida.com" ]
me@jorgebastida.com
1c6a147b2f4b41755c69e039daa777857f29fe12
01c0d7dfb0003c203c539e12b481d3475ac03941
/Competitions/migrations/0005_competition_tickets_remaining.py
a796881ebaa290fc6326e22d9520d8df963bf031
[]
no_license
JackReynolds/PremierCompetitions
2cf5a725bdbc8e8bf81882c0aa5ee0ae138ad87e
34562fd3e635a7a08ec8b674b7aca1356161987a
refs/heads/master
2022-04-04T09:41:08.659029
2020-02-21T23:21:19
2020-02-21T23:21:19
207,147,011
0
0
null
null
null
null
UTF-8
Python
false
false
440
py
# Generated by Django 2.2.3 on 2019-07-20 19:55 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('competitions', '0004_auto_20190719_1154'), ] operations = [ migrations.AddField( model_name='competition', name='tic...
[ "jack@Jacks-MacBook-Pro-2.local" ]
jack@Jacks-MacBook-Pro-2.local
62cb22669072ff1e224be98f36817be8899fa801
b3ba7762ae4e209a02bf3a47dc40ceff421087d2
/evm/chains/tester/__init__.py
fd1cdb4b31fe590a3b5ecfd0a0e1dfd75159d7ee
[]
no_license
nicksavers/py-evm
3c740ae328c5dd0f10c967660a4e452d257fdfa3
70631e3b726d093749a7315b8a4c6b1ebc4d7322
refs/heads/master
2021-08-15T21:35:19.556248
2017-11-17T21:20:24
2017-11-17T21:20:24
111,194,384
3
0
null
2017-11-18T09:56:00
2017-11-18T09:55:59
null
UTF-8
Python
false
false
4,795
py
from cytoolz import ( assoc, ) from eth_utils import ( reversed_return, ) from evm.chains.chain import Chain from evm.vm.forks import ( FrontierVM as BaseFrontierVM, HomesteadVM as BaseHomesteadVM, EIP150VM as BaseEIP150VM, SpuriousDragonVM as BaseSpuriousDragonVM, ) from evm.utils.chain imp...
[ "pipermerriam@gmail.com" ]
pipermerriam@gmail.com
2b8ccf7ee04042a9ad7272f32f36ad641f5af449
ee2e9e086f29a7d3bff342aa8876fc367b807d8b
/createl LL.py
9b2120c7d787366835d98829e68e95b6db0cc77b
[]
no_license
Piyush-Kurkure/Linkedlist
bb7b5157835f571c4f1d356a233f6f048e1da7ae
f8ee22cfc56ebc130342673361ceec4eb0a7b724
refs/heads/master
2020-07-27T23:25:14.793122
2019-09-18T07:21:26
2019-09-18T07:21:26
209,243,458
0
0
null
null
null
null
UTF-8
Python
false
false
672
py
class Node: def __init__(self,data): self.data = data #assisgn data self.next = None #assign next as NULL class LinkedList: def __init__(self): #initialize LL object self.head = None #assign initial node as NULL def printlist(self): temp = self.head whi...
[ "noreply@github.com" ]
noreply@github.com
6282006f5e732e392a55b28824349500e70e3739
9db00d1610cf3e16d3dddd60832217180995a8ee
/batterydispatch/__main__.py
88382ac1391b11f923977f4a0a974db100635d03
[ "Apache-2.0" ]
permissive
danbolinson/BatteryAgent
eeb99bef1383730e1e0f2a65e4b4cb614658a453
56d691b6d130bdfb87104e23f6a11b57b5cd7cd6
refs/heads/master
2020-05-22T11:15:15.865195
2019-07-25T19:48:33
2019-07-25T19:48:33
186,317,489
2
2
Apache-2.0
2019-07-25T19:48:34
2019-05-13T00:06:45
Jupyter Notebook
UTF-8
Python
false
false
73
py
from batterydispatch import app if __name__ == '__main__': app.run()
[ "33603775+danbolinson@users.noreply.github.com" ]
33603775+danbolinson@users.noreply.github.com
2dfd45cbd4308213e05b748eeca0e94c887cb457
b50f43c7c8cba1c0f349870596f12d1a333e6f42
/axonius_api_client/api/json_api/lifecycle.py
1b1fa1e637e4ac6cc877cd9a193ee9d9678de93e
[ "MIT" ]
permissive
zahediss/axonius_api_client
190ca466e5de52a98af9b527a5d1c132fd8a5020
8321788df279ffb7794f179a4bd8943fe1ac44c4
refs/heads/master
2023-08-01T14:35:17.095559
2021-09-13T21:04:23
2021-09-13T21:04:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,301
py
# -*- coding: utf-8 -*- """Models for API requests & responses.""" import dataclasses from typing import List, Optional, Type import marshmallow_jsonapi from .base import BaseModel, BaseSchema, BaseSchemaJson class LifecycleSchema(BaseSchemaJson): """Pass.""" last_finished_time = marshmallow_jsonapi.fields...
[ "jimbosan@gmail.com" ]
jimbosan@gmail.com
d4b37786cf07d0f9cd9ae09ba3d5ca0f5f104be7
5af8562438f764bce5fcf29e291d914ec42e448c
/src/main/resources/cloudfoundry/discover-services-metadata.py
ee1774a6c71ceefdc7dba0c3b52cfe2addde8f0b
[]
no_license
wayofthepie/xld-cloud-foundry-plugin
22412a1a1334bbd49c3f8ac4821001988d876144
5ceba3fe9f674b5ab4a8b1cd8420866674a3e39e
refs/heads/master
2021-01-17T14:03:00.763800
2014-10-30T10:24:05
2014-10-30T10:24:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,216
py
# # THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS # FOR A PARTICULAR PURPOSE. THIS CODE AND INFORMATION ARE NOT SUPPORTED BY XEBIALABS. # from cloudfoundry.util import CFC...
[ "jdewinne@localhost.localdomain" ]
jdewinne@localhost.localdomain
26d6ddad8285870df5057d6ccabf8e80206457e9
95495baeb47fd40b9a7ecb372b79d3847aa7a139
/test/test_network_address.py
d733d83fb937e590c374c7132fc314a75cc127e8
[]
no_license
pt1988/fmc-api
b1d8ff110e12c13aa94d737f3fae9174578b019c
075f229585fcf9bd9486600200ff9efea5371912
refs/heads/main
2023-01-07T09:22:07.685524
2020-10-30T03:21:24
2020-10-30T03:21:24
308,226,669
0
0
null
null
null
null
UTF-8
Python
false
false
1,192
py
# coding: utf-8 """ Cisco Firepower Management Center Open API Specification **Specifies the REST URLs and methods supported in the Cisco Firepower Management Center API. Refer to the version specific [REST API Quick Start Guide](https://www.cisco.com/c/en/us/support/security/defense-center/products-programmi...
[ "pt1988@gmail.com" ]
pt1988@gmail.com
a2d02282bf4358c612127e590c788e524a36ebac
4017575c465a9eeda2846d04c9791d275bf3db51
/天气查询Old.py
9c84fe5532ff4195c64d579915e694d20cce13c2
[ "Apache-2.0" ]
permissive
8055aa/Python3Code
458ba756c8cfe6ed04eaeb5f72474e735062e411
ac832241b87c02a3b3e1b216dbcd3cfbd0293b7c
refs/heads/master
2020-12-03T00:44:25.375732
2018-07-16T01:25:09
2018-07-16T01:25:09
96,074,791
0
0
null
null
null
null
UTF-8
Python
false
false
1,289
py
import urllib.request import json import pickle pickle_file=open('city_data.pkl','rb') city=pickle.load(pickle_file) password=input('请输入城市:') name1=city[password] File1 =urllib.request.urlopen('http://m.weather.com.cn/data/'+name1+'.html')#打开url weatherHTML= File1.read().decode('utf-8')#读入打开的url weatherJ...
[ "noreply@github.com" ]
noreply@github.com
9ace0e2c18b1d5a9c7d895552e9558ec70c9f4d8
0294f4158d4519e6cdb5893eeadc1f4397d4ee0b
/utils.py
e4e02b672d819b8e6eea7b8ef77c559b017869c6
[]
no_license
andreiionutdamian/TicketEmails
3905d072b36d4df5de294ec7a1cc5576976e8291
059a8023bd7f733396274cab2d73792fb0907b3f
refs/heads/master
2022-04-21T23:45:41.544339
2020-04-21T06:33:27
2020-04-21T06:33:27
256,752,991
0
0
null
null
null
null
UTF-8
Python
false
false
3,009
py
# -*- coding: utf-8 -*- """ Created on Tue Apr 21 08:02:18 2020 @author: Andrei """ import numpy as np from datetime import datetime as dt import pandas as pd class Log(): def __init__(self): self.lst_log = [] self._date = dt.now().strftime("%Y%m%d_%H%M") self.log_fn = dt.now().strftime("logs/"+s...
[ "andrei@lummetry.ai" ]
andrei@lummetry.ai
acafcee721e06c4272142c36a3deca0a91574319
7bededcada9271d92f34da6dae7088f3faf61c02
/pypureclient/flashblade/FB_2_2/models/object_store_access_policy_rule.py
c48033b9db845a618c81bd67851d063292b423c6
[ "BSD-2-Clause" ]
permissive
PureStorage-OpenConnect/py-pure-client
a5348c6a153f8c809d6e3cf734d95d6946c5f659
7e3c3ec1d639fb004627e94d3d63a6fdc141ae1e
refs/heads/master
2023-09-04T10:59:03.009972
2023-08-25T07:40:41
2023-08-25T07:40:41
160,391,444
18
29
BSD-2-Clause
2023-09-08T09:08:30
2018-12-04T17:02:51
Python
UTF-8
Python
false
false
5,091
py
# coding: utf-8 """ FlashBlade REST API A lightweight client for FlashBlade REST API 2.2, developed by Pure Storage, Inc. (http://www.purestorage.com/). OpenAPI spec version: 2.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import typ...
[ "msholes@purestorage.com" ]
msholes@purestorage.com
f358f1920e267a1597d1f28b3099aca2c7245215
cd5aa6791bbbc1b84da26936ba4ae1a2ea08a1ba
/show_passwords.py
27d3b62fb79f03990a1e0042e1a9ce1edb84d456
[]
no_license
kgritesh/shell-utils
4dec295ca38b858a77853bb797e08f97f44bfdbf
df7a7d1668f016c3a47e2e04f45cd854586e096f
refs/heads/master
2020-12-24T15:23:25.616879
2013-02-20T06:27:43
2013-02-20T06:27:43
4,134,593
2
4
null
null
null
null
UTF-8
Python
false
false
579
py
#!/usr/bin/env python import pygtk pygtk.require('2.0') import gtk # sets app name import gnomekeyring def hack(): for keyring in gnomekeyring.list_keyring_names_sync(): for id in gnomekeyring.list_item_ids_sync(keyring): item = gnomekeyring.item_get_info_sync(keyring, id) print '[...
[ "k.g.ritesh@gmail.com" ]
k.g.ritesh@gmail.com
c6523cd948841c1d4cbe410e816285be9a41f696
fc90d2109094b025fc4432a1a0e4c5de35e61fbe
/blob.py
d1752bb280ed31112a9c7bc9587ccc157888eb67
[ "MIT" ]
permissive
mostafa-elhaiany/blobVolleyBallAi
969980b975f4be9fb7743dbe058a96c2c933816f
c25e6c042d262c7f6c48b8078a4f85b1f482a83c
refs/heads/master
2022-03-25T14:45:59.999535
2020-01-01T19:14:07
2020-01-01T19:14:07
231,140,026
0
0
null
null
null
null
UTF-8
Python
false
false
2,166
py
import pygame import os BLOB_HEIGHT=100 BLOB_WIDTH=50 JUMP_HEIGHT=-12 BLOB_IMAGE = pygame.transform.scale( pygame.image.load( os.path.join( "imgs","blob.png" ) ), (BLOB_WIDTH,BLOB_HEIGHT) ) class Blob: def __init__(self,x,y): #the starting position of the bird self.x=x self.y=y se...
[ "mostafa_elhaiany@outlook.com" ]
mostafa_elhaiany@outlook.com
52ee52ca04897359b7e695a86c8052f993618c0d
53784d3746eccb6d8fca540be9087a12f3713d1c
/res/packages/scripts/scripts/client/messenger/proto/xmpp/jid.py
e203d8aed0708dffb0f2472e615a03256d991a33
[]
no_license
webiumsk/WOT-0.9.17.1-CT
736666d53cbd0da6745b970e90a8bac6ea80813d
d7c3cf340ae40318933e7205bf9a17c7e53bac52
refs/heads/master
2021-01-09T06:00:33.898009
2017-02-03T21:40:17
2017-02-03T21:40:17
80,870,824
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
6,022
py
# 2017.02.03 21:53:47 Střední Evropa (běžný čas) # Embedded file name: scripts/client/messenger/proto/xmpp/jid.py import random import types import time from string import Template from ConnectionManager import connectionManager from ids_generators import SequenceIDGenerator from messenger import g_settings from messen...
[ "info@webium.sk" ]
info@webium.sk
5e2ecfb2d21e750bc72677ecf08441cef04b3493
a8540bde8540fb9e9059c1b8d9de3da150defb9b
/Greedy_Algorithms/week4/pa4.py
cb864f621b956688d8a6a4f420c05e5d1704818c
[]
no_license
yis11178/algorithm_specialization
87b9fcee4f592531c75e6715340a012f1f163fe0
d8919188c7e683a1917e593c3fd500ed94baddcc
refs/heads/main
2023-03-04T00:01:42.591514
2021-02-19T16:04:41
2021-02-19T16:04:41
306,656,373
3
0
null
null
null
null
UTF-8
Python
false
false
1,531
py
import sys filename = sys.argv[1] item = [] value = {} lines = open(filename, 'r').readlines() total_weight, node_num = lines.pop(0).strip().split(' ') total_weight = int(total_weight) node_num = int(node_num) for line in lines: v, w = line.strip().split(' ') item += [[int(v), int(w)]] item = sorted(item, ke...
[ "song1178@outlook.com" ]
song1178@outlook.com
cafd5c16c162c4179abc6b57d73f99a8146788c0
c3e9af62e1ec41be65bd71de9bb5ee92d6610898
/site/frontend/views.py
af6759377d7e7db636ebed013e81188ce1366eba
[]
no_license
harendranathvegi9/WordAPI
304e3a52104ff836058fee7a8b457e72e99c71b0
afc07e070a3a88e064254c1382cc4a024518aa23
refs/heads/master
2020-05-25T03:56:40.087883
2012-07-30T14:10:02
2012-07-30T14:10:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,997
py
# Create your views here. from django.conf import settings from django.shortcuts import render_to_response from django.template import RequestContext from django.http import HttpResponseRedirect, HttpResponse from django.core.context_processors import csrf from frontend.forms import TagCloudForm, NewTopicForm import ur...
[ "jessy.cowansharp@gmail.com" ]
jessy.cowansharp@gmail.com
5086d0c87552db0c15609520b21e6dc23d2ff753
fea3aca116112b1f7f0fbad2781c01d2edef213f
/libs/python/test/test_updated_interpretation_roi_dto.py
b0e104c1d7ff400859a12c03df747e77ea95c337
[ "MIT" ]
permissive
Scripta-Qumranica-Electronica/SQE_API_Connectors
a708c0d6f185a047bb1d47f7099abe0f2155171a
aaa9b9eb8709d4257c32ea57321a179c6b1e041a
refs/heads/main
2022-12-28T00:19:32.576336
2020-10-14T09:26:48
2020-10-14T09:26:48
302,660,443
0
0
null
null
null
null
UTF-8
Python
false
false
2,344
py
# coding: utf-8 """ SQE API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: v1 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest impor...
[ "bronsonbdevost@aim.com" ]
bronsonbdevost@aim.com
3bdbf3683b1878dc93193e0e837e635938a0c77a
1c03fb592b04926193466ae1a1a4046b195983ba
/tsantsa/scss_compiler.py
dc27b0b1d6b14b4d7fd43fcb9a06d173de61a245
[ "MIT" ]
permissive
akissa/tsantsa
32fc861fa4733ca019e660779f4ffcd748e7af5f
0822a67afc5ba10265cf9a09d56b0cd149d37e57
refs/heads/master
2020-05-01T14:48:11.402325
2012-10-19T09:20:46
2012-10-19T09:20:46
6,262,283
1
0
null
null
null
null
UTF-8
Python
false
false
3,958
py
# -*- coding: UTF-8 -*- # Copyright (c) 2012 Andrew Colin Kissa <andrew@topdog.za.net>. # Based on minify Copyright (c) 2011-2012 Sylvain Prat # This program is open-source software, and may be redistributed # under the terms of the MIT license. See the LICENSE file in this # distribution for details """ Tsantsa - SCSS...
[ "andrew@topdog.za.net" ]
andrew@topdog.za.net
bb0d79f69470ef24542249f66cf746e3291c6036
388fbc6aefc3e775d4ff62608b13bd7f39d5bfbb
/portfolio/views.py
22412c667c49ef470a26c405875ec0d6e6b3ba64
[]
no_license
Emceelamb/my-first-blog
a009e50b4522b97a2503713daddd76b861414dba
4ebeb5d680151d48d78a2916643ecc4742e316db
refs/heads/master
2021-01-10T17:13:07.402026
2017-06-08T18:06:32
2017-06-08T18:06:32
45,756,836
1
0
null
null
null
null
UTF-8
Python
false
false
4,386
py
from django.shortcuts import get_object_or_404, render from django.shortcuts import render from django.http import HttpResponseRedirect, HttpResponse from django.core.urlresolvers import reverse from django.views import generic from django.utils import timezone from django.views.generic.detail import SingleObjectMixin ...
[ "marktranquilizerlam@gmail.com" ]
marktranquilizerlam@gmail.com
78eb277b9aba2af3890f89a4f2b36c94d50cd1f8
1ab3fffe647d6cf168c3fafd6b29b16893302b15
/lab7.12.py
9d5c9c1fccc00daa36a9acf2fead0638bce0fcd1
[]
no_license
Dyndyn/python
789e9b32d946782ccf5e0bbc8727abf431636b3c
d5ffc1c291328dda034101537923274c81d21f0b
refs/heads/master
2021-09-05T03:13:07.040703
2018-01-23T22:10:10
2018-01-23T22:10:10
106,127,671
2
1
null
null
null
null
UTF-8
Python
false
false
181
py
#!/usr/bin/python #-*- coding: utf-8 -*- import re s = input("enter the string ") def remove_spaces(s): return re.sub('( )( )+', r'\1', s).strip() print(remove_spaces(s))
[ "dyndynroman@gmail.com" ]
dyndynroman@gmail.com
01e921e2f4bd8406bf223bcca01a9839984e5d37
35a3d1f85528092cc946582d16cbf46771f23fde
/app/views/home.py
0b145e55fa6c5ace58f9b358123a2eaeb3a2d4cb
[]
no_license
pharaoh1/project1_flask_AlgoSocial
d3127839486bd430cdaa357064dccc319dd8f73d
3d94d4a2bf97359758669a672e78ee61632ed5b7
refs/heads/master
2020-06-27T04:06:48.333370
2019-07-29T20:53:51
2019-07-29T20:53:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
162
py
from flask import Blueprint, render_template home = Blueprint('home', __name__) @home.route('/') def home_page(): return render_template('home/index.html')
[ "odjaidri@gmail.com" ]
odjaidri@gmail.com
0734c7bf945a8af047b52bf4b0fbcfbccc3966d2
764832026510a666640e44d7245d623dca6fe615
/rtxs/test/test07.py
f8bccfa490b238585f981e0e1ceab9d5d9625ed1
[]
no_license
MrWJB/rtxs
58f2ec1f4918de19b046b2e994f2bd4ad68ac669
2f584566de9a5ddccbfaaeef7756ced4ecb2055a
refs/heads/master
2020-05-18T06:32:09.946064
2019-04-30T09:55:57
2019-04-30T09:55:57
184,236,330
0
0
null
null
null
null
UTF-8
Python
false
false
485
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import types def fn(): print('fn函数 ....') if type(fn) == types.FunctionType: print('fn') if type(lambda x: x) == types.LambdaType: print('lambada') if True == isinstance([1, 2, 3, 4], (list, tuple)): print('true') d = dir(str) print(d) class MyOb...
[ "w1812121918@163.com" ]
w1812121918@163.com
d0aba133c2bad3cd37020cc5b219aec9266f66cb
6ad1893219a9d1d5c27169e6f91f5d31fee5ffc3
/mask/core/models.py
92159117d8653537f1b965ebdfa1e21162911b92
[]
no_license
kim-sardine/masksk
9435eb2c8043d46848f0385493d84eab1c850e08
fe3778416c0ce299599afd55dcc7c6446f0097f2
refs/heads/master
2021-01-25T23:53:41.425450
2020-03-06T14:52:21
2020-03-06T14:52:21
243,231,751
1
1
null
null
null
null
UTF-8
Python
false
false
222
py
from django.db import models class TimeStampedModel(models.Model): created_at = models.DateTimeField(auto_now_add=True) modified_at = models.DateTimeField(auto_now=True) class Meta: abstract = True
[ "kim.sardine@gmail.com" ]
kim.sardine@gmail.com
fc8513bcd2fc4bdbe5be8bd006d2a3eb9c1d4e7a
ee408614842a6d4dbb5b82e9c4561cf34eec71c9
/src/aircraft/__init__.py
e80708e9c427c76ecbd82fe6a61277c47d8a652d
[ "Apache-2.0" ]
permissive
relaxdiego/aircraft
ef0dd47d530f4abb4a4726111cc8f0d93f4b922a
ce9a6724fe33be38777991fbb1cd731e197fa468
refs/heads/main
2023-03-08T00:06:52.774568
2021-02-02T05:37:06
2021-02-02T05:37:06
290,408,644
10
1
NOASSERTION
2021-01-14T06:23:11
2020-08-26T05:56:16
HTML
UTF-8
Python
false
false
74
py
from pathlib import Path aircraft_dir = (Path(__file__) / '..').resolve()
[ "mmaglana@gmail.com" ]
mmaglana@gmail.com
2a8c76867ed5f1f13d3c54432057daffe8a90d51
b858eb6e2a67f6c013e21a2a8a256a04775cc474
/LittleStation/LittleStation/urls.py
abf0836f48258ec0a541473c6905a7a46c720666
[]
no_license
windangle/xiaoyaoyu_test
5bc72a50fcefdc8f0d8e19b647bff037d69673e0
c53ee3e016ed8eea9782fc0173a4750604f83514
refs/heads/master
2020-04-14T07:49:52.882686
2019-06-22T15:49:23
2019-06-22T15:49:23
163,723,243
1
0
null
null
null
null
UTF-8
Python
false
false
755
py
"""LittleStation URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class...
[ "green8237@sina.com" ]
green8237@sina.com
15fd25a26fa289a42f588796f119d5c6787fa715
66e1a91de27cc744f8ca304a896020c141fe53b1
/ANALISIS_02_NOLASCO_VICTOR.py
96e6cac70ee08a2397c8b5e32943e16287944de3
[]
no_license
IvanNolasco/Emtech-DataScience
c1400a6c05f9b4292e94378fb7a9cc46fd1cee67
f5e1312ac83bb6c5c160161999523efb8b97723f
refs/heads/master
2022-12-16T12:25:46.269555
2020-09-28T05:24:04
2020-09-28T05:24:04
291,800,565
0
0
null
null
null
null
UTF-8
Python
false
false
4,871
py
# -*- coding: utf-8 -*- """ Created on Sat Sep 22 16:14:48 2020 @author: navi_ """ import csv """ read the registers from a csv file and save them in a list """ def get_registers(name): registers_list = [] csv_file = open(name, "r") registers = csv.reader(csv_file) for r in registers: ...
[ "noreply@github.com" ]
noreply@github.com
e9a0598050774aa2f0b9ca43558b64ba9e73826a
1aed86e8fa97b41b067f56d7f3da77530ccf4a30
/1. Fundamentals/Working_with_files/HowToReadAFile.py
d93910a22e85543c64adb4ebd5ef7c4b1b7e047d
[]
no_license
srinath-insiders/LC_Code
4cfb3d7cca03b011158c9eb32a84da8b1d60688f
ed629a3d0fac2b09df8a0e034b342db53b63aad9
refs/heads/master
2023-01-31T16:13:48.746691
2020-12-09T12:35:16
2020-12-09T12:35:16
269,814,069
0
0
null
null
null
null
UTF-8
Python
false
false
1,079
py
handle = open(r"Working_with_files/test.txt", "r") # r specifies raw string handle = open("Working_with_files/test.txt") print('-------------------------------------------------------------------') print("Working_with_files/test.txt") # Working_with_files est.txt print('----------------------------------------...
[ "srinathrupa786@gmail.com" ]
srinathrupa786@gmail.com
c3ca578b0418e93c329ce76005072d20951ec379
204556c62e5cbe24372e9b0b9aef2c7ae6e4134b
/scripts/selenium-scripts/plugins/tablepress/import-tablepress-table.py
c8a3fa9327b99456e5fe84a24a89c086502dbc40
[]
no_license
Sher-Chowdhury/wordpress-codingbee
0f8cb0be25a2fecc64ef1fb5894dbaa52448c9a1
ab43c3c17f180c0359f555b3effd7ff2d9c7efea
refs/heads/master
2020-06-11T13:33:18.199925
2018-05-31T07:58:20
2018-05-31T07:58:20
75,656,023
1
2
null
null
null
null
UTF-8
Python
false
false
7,382
py
#! /usr/bin/env python3.6 # Script for codingbee upload a file (for tablepress) # 2017 July 03; # import-tablepress-table.py is dependend on selenium # pip3.6 install -U selenium # headless starting of program with xvfb-run python3.6 import-tablepress-table.py s ${wp_web_admin_username} ${wp_web_admin_user_password} ${...
[ "sher.chowdhury@gmail.com" ]
sher.chowdhury@gmail.com
76dbaf4b89ba0644af07d6d0fb1df5416f4fe855
16631cf7cd4a70f2cd2750851649d3eff5e17724
/2015/day19/part1.py
20687aa134135898c045654106d8f4e7b87ac77d
[]
no_license
kynax/AdventOfCode
1dd609a3308d733f2dd7d4ea00508d2da73180b9
36a339241dd7a31ebe08a73e5efa599e5faeea1a
refs/heads/master
2022-12-21T13:32:52.591068
2022-12-16T22:41:30
2022-12-16T22:41:30
48,439,585
0
0
null
null
null
null
UTF-8
Python
false
false
891
py
import sys mol = 'CRnSiRnCaPTiMgYCaPTiRnFArSiThFArCaSiThSiThPBCaCaSiRnSiRnTiTiMgArPBCaPMgYPTiRnFArFArCaSiRnBPMgArPRnCaPTiRnFArCaSiThCaCaFArPBCaCaPTiTiRnFArCaSiRnSiAlYSiThRnFArArCaSiRnBFArCaCaSiRnSiThCaCaCaFYCaPTiBCaSiThCaSiThPMgArSiRnCaPBFYCaCaFArCaCaCaCaSiThCaSiRnPRnFArPBSiThPRnFArSiRnMgArCaFYFArCaSiRnSiAlArTiTiTiTiT...
[ "guilemay@gmail.com" ]
guilemay@gmail.com
d7a833d3cfc9b1389683b76c5f0ef9a016938987
78f3fe4a148c86ce9b80411a3433a49ccfdc02dd
/2017/09/wisc-gerrymandering-20170929/graphic_config.py
cb18764b6b447f7d4bc8090dc4075e9d99f838a3
[]
no_license
nprapps/graphics-archive
54cfc4d4d670aca4d71839d70f23a8bf645c692f
fe92cd061730496cb95c9df8fa624505c3b291f8
refs/heads/master
2023-03-04T11:35:36.413216
2023-02-26T23:26:48
2023-02-26T23:26:48
22,472,848
16
7
null
null
null
null
UTF-8
Python
false
false
304
py
#!/usr/bin/env python import base_filters COPY_GOOGLE_DOC_KEY = '1F_HDqo1D2EwXiUx95wG4QPRAvhm3P76OP6aXyv8NYgY' USE_ASSETS = True # Use these variables to override the default cache timeouts for this graphic # DEFAULT_MAX_AGE = 20 # ASSETS_MAX_AGE = 300 JINJA_FILTER_FUNCTIONS = base_filters.FILTERS
[ "ahurt@npr.org" ]
ahurt@npr.org
8e4103342cd535ca9b1f3df2e9e860b300062f5e
1a9c82a2d0f5e0f9b3bbc7fb81827745649d9286
/.pake/pkgdir/files/opt/nplayer/gen_freq.py
791255244173e2083f01c2de5a3d407279b2042d
[ "Unlicense" ]
permissive
kodo-pp/nplayer
7f5c9db84769c470c07525d0def95bee0c048001
ce0bfd44eca569f159b01e849ccf1f62e8a46cc9
refs/heads/master
2020-04-03T04:20:39.115155
2018-10-27T21:29:14
2018-10-27T21:33:06
155,011,263
0
0
null
null
null
null
UTF-8
Python
false
false
420
py
#!/usr/bin/env python3 import sys def gen_freq(freq: float, duration: int): tmp = 0.0 pri = chr(32) sec = chr(126) for i in range(duration): if (tmp >= freq): tmp -= freq pri, sec = sec, pri tmp += 1.0 print(pri, end='') sys.stdout.flush() if __name...
[ "korzun.sas@mail.ru" ]
korzun.sas@mail.ru
aa0e8b53bbfaa216e2bdbc1df1f0c69d6a3aa1b3
19d3e4e4293a72c09fb1cbcbe0c0d3738ec731d2
/seatsys/urls.py
e7b7731954d7d43d0050f70334783f7c40849954
[]
no_license
short-warm-tree/seatsys-web
84c868759e0b754c68a5e364c2e8617c7c2a5336
fdbc17c452abf547a8b20721d11663dc05a60db6
refs/heads/master
2021-08-19T21:44:55.582863
2017-11-27T10:39:44
2017-11-27T10:39:44
112,183,312
0
0
null
null
null
null
UTF-8
Python
false
false
1,654
py
"""seatsys URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.8/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-bas...
[ "1316808049@qq.com" ]
1316808049@qq.com
b86fd844493d0d98dd29f77bf980cdfea5869665
2b1411922cecd6e411f30ee9c53dce33c662b48c
/kookey/keyword_util/__init__.py
d0ab7b61df4e064505725798e9fe62304286ed40
[ "MIT" ]
permissive
dandyhug/kookey
86600cc4fbb133942957f31a049d355a2d80faa5
58ffb67e6d984e3067689277631be072beb8deb9
refs/heads/main
2023-02-27T15:54:33.970263
2021-02-05T04:54:49
2021-02-05T04:54:49
323,339,382
0
0
MIT
2020-12-21T13:08:38
2020-12-21T13:08:38
null
UTF-8
Python
false
false
136
py
#-*-coding:utf-8-*- from . import extracting from . import transform_data __all__ = [ 'extracting', 'transform_data' ]
[ "noreply@github.com" ]
noreply@github.com
62d0e0bb9ae6823f07924b56f20e211d04c91598
71dc727f9056934cd51692f8a3d26cf0dda44ef0
/sample-programs/week6/credit_card.py
c01ecf9751b6232aa66da9be53bfaadfc1851845
[ "MIT" ]
permissive
justinclark-dev/CSC110
9d255020a50bbfdb195465c3e742dd2fcd61e3a4
d738ec33b757ba8fa9cf35b2214c184d532367a0
refs/heads/master
2022-12-08T08:08:30.667241
2020-09-04T01:05:34
2020-09-04T01:05:34
232,606,910
0
1
MIT
2020-09-04T02:05:47
2020-01-08T16:28:37
Python
UTF-8
Python
false
false
2,153
py
# credit_card.py # # How long will it take to pay off a credit card balance?? # This program makes use of a loop to perform a SIMULATION # of a real-world situation. # CSC 110 # Fall 2011 ### Get and validate inputs interest_multiplier = float(input('Enter an ANNUAL INTEREST RATE ' \ + 'as a PERCENTAGE, >= zero:...
[ "justinclark.dev@gmail.com" ]
justinclark.dev@gmail.com
05840aa4bb5f46beffbb3ee38181d0853211e849
192694b81f47a73179d95576f30d61e245b98d37
/config.py
b41115adb98f5f1d3092bef70e248669408bc1eb
[ "MIT" ]
permissive
bgildson/evolux-challenge
316a3bcc796b0e2d15a3a0009549d0c87b19af60
77a41a987e3277221f650c9f1392aa240263a1fa
refs/heads/master
2022-12-07T23:32:51.718295
2020-08-27T13:39:11
2020-08-27T13:39:11
289,128,008
0
0
null
null
null
null
UTF-8
Python
false
false
831
py
# -*- coding: utf-8 -*- import os class BaseConfig: DEBUG = False TESTING = False PROJECT_ROOT = os.path.abspath('.') SQLALCHEMY_DATABASE_URI = f'sqlite:///{os.path.join(PROJECT_ROOT, "db.sqlite")}' SQLALCHEMY_TRACK_MODIFICATIONS = False JWT_SECRET_KEY = os.urandom(32) JWT_IDENTITY_CLA...
[ "gildson13@hotmail.com" ]
gildson13@hotmail.com
3237ab6423425e826e4c0dce1b58b0903429e23e
79b186222cc8ee6442522f4c5c3ebba4b835f4b4
/seqlib/sequence/wig_to_bed.py
965d72de0e1dba110e2f1c6073ead5c8b3fac72b
[]
no_license
sudmantlab/seqlib
2b669df20a862d84e348d6fea7a128ef64729d64
071a72f27cd0c160618404850f23b8666a8d74e2
refs/heads/master
2022-06-27T01:02:36.381101
2022-06-16T19:14:15
2022-06-16T19:14:15
148,357,509
0
0
null
null
null
null
UTF-8
Python
false
false
1,159
py
import pdb #from bx.arrays.wiggle import WiggleReader #from bx import wiggle from bx.arrays import wiggle import gzip from fastahack import FastaHack import numpy as np import argparse #help(wig) class np_wiggle(object): def __init__(self, path, contig_len, gzipped=True): assert gzipped==True sel...
[ "psudmant@mit.edu" ]
psudmant@mit.edu
15f8cd0d04070fe3d412a6539a5235a6a8ef6c98
da19363deecd93a73246aaea877ee6607daa6897
/xlsxwriter/test/worksheet/test_write_filter.py
bfe6d60fc98f85a51ac98245e67242f2736abce1
[]
no_license
UNPSJB/FarmaciaCrisol
119d2d22417c503d906409a47b9d5abfca1fc119
b2b1223c067a8f8f19019237cbf0e36a27a118a6
refs/heads/master
2021-01-15T22:29:11.943996
2016-02-05T14:30:28
2016-02-05T14:30:28
22,967,417
0
0
null
null
null
null
UTF-8
Python
false
false
775
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013-2015, John McNamara, jmcnamara@cpan.org # import unittest from ...compatibility import StringIO from ...worksheet import Worksheet class TestWriteFilter(unittest.TestCase): ...
[ "lealuque.tw@gmail.com" ]
lealuque.tw@gmail.com
bdf1aa3b5a08707dd5e6d26b04804af8a7f953ac
13e3a551b55a22c2f13578c991a266e744614c8f
/creditcalc.py
ad2dc30ca18cefd0b4c98f2e8f07b2f3011e69fc
[]
no_license
maahad767/LoanCalculatorJBA
03f84e3dca6c79e5565d16523a2c7f7fd743b0f5
a994ce4c889728a00bea9b5dd052b9942e251e41
refs/heads/main
2023-02-24T18:59:23.181599
2021-01-27T18:43:16
2021-01-27T18:43:16
333,525,803
0
0
null
null
null
null
UTF-8
Python
false
false
4,053
py
import math import argparse import sys def main(): parser = argparse.ArgumentParser() parser.add_argument("--type") parser.add_argument("--principal", type=int) parser.add_argument("--periods", type=int) parser.add_argument("--payment", type=int) parser.add_argument("--interest", type=float) ...
[ "maahad.767@gmail.com" ]
maahad.767@gmail.com
3052ff6c5bebe06e20897ccb95c84816133356ad
786f83a53119bd54a5a70315288aa0c3d50da4f7
/targets/TARGET_Cypress/TARGET_PSOC6_FUTURE/TARGET_FUTURE_SEQUANA_PSA/prebuilt/export_binaries.py
054df24bc9e7adf800d69da8dd964c6a3f9f556f
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
amitemkumar/mbedos_stm32f427vi
89c4e671ba71e8715939ccd4248d71c8c13cb332
c955e8b6e8b6c275ed55eda5893d9351d87b977b
refs/heads/mcu_427vi
2021-06-13T19:53:04.734969
2019-02-16T08:34:56
2019-02-16T08:34:56
171,031,088
1
2
Apache-2.0
2021-03-25T22:27:45
2019-02-16T17:28:15
C++
UTF-8
Python
false
false
1,423
py
# Copyright (c) 2017-2018 ARM Limited # # SPDX-License-Identifier: Apache-2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless req...
[ "anna.bridge@arm.com" ]
anna.bridge@arm.com
26d7d23d53d2a17339b7e69475a2df1e7e8c3e51
ec996a704d2a5d2d61f85139363673fc15cd0e60
/supervised_learning/tree_based_algos/tree_components/Attribute_Selector.py
07a31835248bf8e457655c3faad81ae2563c1c45
[]
no_license
fahimajabeen/machine_learning_algos
a5fab9504c2d11990021b0b87550bec294e6da53
9d7a2a0dafd4af901f1dcab1c56126aae4b2cc94
refs/heads/master
2020-09-12T06:01:22.107702
2017-03-30T09:31:35
2017-03-30T09:31:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,836
py
import numpy as np # SELECTORS class AttributeSelector: def __init__(self, attribute_selection_type="standard decision tree"): switcher = {"standard decision tree": decision_tree_selection, "subset decision": subset_selection_log2, "extremely random": extremely_random_selection, "random embedding": random_embedd...
[ "thadler@students.uni-mainz.de" ]
thadler@students.uni-mainz.de
48afa2ed7bfc32040267b178f1deefe509eece2c
776125e755de00eecd90b9813022ae8491a75711
/artemis/experiments/experiments.py
bf0aa78fb62b8b59d5e1bcba51955aa1c79562b7
[ "BSD-2-Clause-Views" ]
permissive
nalyat/artemis
04c6d4b77e143f8f439dd4aefb519d9a1c5011e0
ad2871fae7d986bf10580eec27aee5b7315adad5
refs/heads/master
2022-04-10T04:45:28.753251
2019-04-17T03:18:57
2019-04-17T03:18:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
28,710
py
import atexit import inspect from collections import OrderedDict from contextlib import contextmanager from functools import partial from six import string_types from artemis.experiments.experiment_record import ExpStatusOptions, experiment_id_to_record_ids, load_experiment_record, \ get_all_record_ids, clear_expe...
[ "peter.ed.oconnor@gmail.com" ]
peter.ed.oconnor@gmail.com
23bcdebc6312f35fb67216dff2380ccbe74890ab
68215f224dd76f8bf299c66c80cb4a0de1a05a20
/PythonTutorial/Advance/MetaClass/meta_class_example2.py
2e013f02ffac5c75fa0acaf6a410b099a0bd7425
[]
no_license
jhappye/Python-Study
3935e1d9ffead3afb1b39823a4114006094a6542
40a421980e9f56a97f6f7b9eb00bbf983ee12c5b
refs/heads/master
2023-08-30T17:36:26.313896
2021-11-16T09:53:39
2021-11-16T09:53:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
226
py
# 常规方法创建 class Foo: pass # 常规方法创建 class Bar(Foo): attr = 100 x = Foo() print(x) # 动态创建,和上面等价 Bar = type('Bar', (Foo,), dict(attr=100)) x = Bar() print(x) print(type(x))
[ "516495459@qq.com" ]
516495459@qq.com
1c35de4f84d46d2c3defc2f8ec85426949e56c02
97e60d0ca572d0dc3fc80f8719cd57a707ab6069
/bias_account_report_v6/__openerp__.py
6349817b455c8fc304e48597e462c7badb0b10a8
[]
no_license
josepato/bias_trunk_v6
0c7c86493c88f015c049a139360478cabec7f698
b6ab6fc2ff3dc832f26effdba421bcc76d5cabac
refs/heads/master
2020-06-12T14:18:31.101513
2016-12-15T22:55:54
2016-12-15T22:55:54
75,803,957
0
0
null
null
null
null
UTF-8
Python
false
false
1,724
py
# -*- encoding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved # $Id$ # # This program is free software: you can redistribute it and/or modify #...
[ "josepato@hotmail.com" ]
josepato@hotmail.com
76a14a2500ada13704b7d69ed40d39c206497011
680db028bdfd570688e66009dd41a424b2395a6e
/Camelcase.py
51a76dd0a42b6afcae6e169004a153a3dac0257b
[]
no_license
vitcmaestro/player
46fcf3138a7ba98a3aadae60aebdd68efdd16c55
8b9b132ec5f3dfe22521daf6122431451db8d880
refs/heads/master
2020-04-15T16:43:53.944347
2019-01-20T05:00:31
2019-01-20T05:00:31
164,848,284
1
1
null
null
null
null
UTF-8
Python
false
false
205
py
str1 = input("") str2 ="" for i in range(len(str1)): if(i==0): str2 +=str1[i].upper() elif(str1[i-1].isspace()): str2 +=str1[i].upper() else: str2 +=str1[i] print(str2)
[ "noreply@github.com" ]
noreply@github.com
9db96c6dbb62656d25dbde9c5f8ba667c8585fa8
3817a595bdf246996c1f3846860cea9a9154f1cc
/AltviaDogs/apps.py
6e7c68cfaf6935515b6abbaa873e7c0dd3d098b0
[]
no_license
shedwyn/AltviaDogs
99e83f217d891c5060d0b9a8f0997ea4ea2c5dc2
150078897d38c84ac3c492635ea777476e84b0d9
refs/heads/master
2021-01-24T00:32:32.176410
2018-08-24T20:01:47
2018-08-24T20:01:47
122,768,745
0
0
null
null
null
null
UTF-8
Python
false
false
319
py
""" Designed and built by Erin 'Ernie' L. Fough. June 2018 (start) contact: shedwyn@gmail.com want to know when this was last updated? See README.md. """ from django.apps import AppConfig class AltviaDogsConfig(AppConfig): """Establish Link to Dog Manager (AltviaDogs) Application.""" name = 'AltviaDogs'
[ "shedwyn@gmail.com" ]
shedwyn@gmail.com
eb3029183deb1f924976b6ac129e719ff9f517b5
b7735c91df8f2dcf98c4ee8ff493d9ccded9eed0
/tests/testEvaluation.py
5114b13859f9591b17277886e82820494862c015
[ "MIT" ]
permissive
innovimax/PPP-CAS
c943cf77d03ef10e9b8a8e9592de02f4c4fc8e5a
2211f523841cb3f5f215bbd3cb9a8d728433377a
refs/heads/master
2021-01-17T20:34:45.393081
2015-06-07T23:18:16
2015-06-07T23:18:16
34,901,307
1
0
null
2015-06-07T23:18:16
2015-05-01T12:11:46
Python
UTF-8
Python
false
false
11,865
py
from ppp_cas.evaluator import evaluate from unittest import TestCase from sympy import latex class TestEvaluation(TestCase): def procedure(self, testCases): for (expr, res) in testCases: string, latex = evaluate(expr) self.assertEqual(latex, res) def testNumeric(self): ...
[ "marc.chevalier@ens-lyon.org" ]
marc.chevalier@ens-lyon.org
40cd0133fffda179ad8ef75bd6a9a56ec432149a
ef281dbbb9a3fc50963fe8866b3dcb4a7fb367dc
/mavsdk/camera/__init__.py
e1235c57aec4ce565e05d69a914c901432a24826
[ "BSD-3-Clause" ]
permissive
appetito/MAVSDK-Python
eb1750c72ff51fde495b87284d7eba81a5c58981
3a44abce658c1df29bc41cb6b6c1ba523de6c606
refs/heads/master
2022-08-04T06:08:48.910589
2020-06-04T14:47:26
2020-06-04T14:47:26
269,318,265
0
0
BSD-3-Clause
2020-06-04T09:37:25
2020-06-04T09:37:25
null
UTF-8
Python
false
false
22
py
from .camera import *
[ "jonas.vautherin@gmail.com" ]
jonas.vautherin@gmail.com
bb3101910dfcdb1c756c445f8336abcf701cb084
efb17a1babad43e01d03b8dd0dd90cfbcb96d36c
/user/migrations/0001_initial.py
5830200e29933994a37d6aaf6789dc90cbdf6233
[]
no_license
MagePY27/P27N41-LiJunjiang
b8a5ba3121333d9302d456049a32803027d5e390
83349c530ed6f5f1f157e296cb1ef45117336dd9
refs/heads/master
2021-05-21T07:50:59.639311
2020-04-08T07:11:31
2020-04-08T07:11:31
252,608,301
0
0
null
null
null
null
UTF-8
Python
false
false
694
py
# Generated by Django 2.2 on 2020-04-02 09:39 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='User', fields=[ ('id', models.AutoField(auto_...
[ "junjiang.li@vixtel.com" ]
junjiang.li@vixtel.com
3b61c48280d79f38e5f0bebf600bbc6fb0bd10a8
01245f879c22722773c9671f7d67fb29509570a8
/sorting/mergeSort.py
59b0855acef483a2cc2711eb6531d8b714b1c28a
[]
no_license
vishnu1729/Data-Structures-and-Algorithms
9a64b746c305e5467e82277806539fd14c06b26c
884bdb80b7da0aba16e7b976b4255c31e2baec74
refs/heads/master
2021-01-17T20:25:23.928216
2016-08-12T17:23:22
2016-08-12T17:23:22
65,432,116
0
0
null
null
null
null
UTF-8
Python
false
false
1,482
py
"""function definitions to perform merge sort on the given list. The merge function takes care of the actual sorting and merges the sublists. The mergeSort function takes care of the recursion mechanism used to sort the left and right halves of the given list""" """Author: Vishnu Muralidharan""" # function to ...
[ "noreply@github.com" ]
noreply@github.com
da4b6c3b4e522faf2c72103355f486dea027b1dd
fab6bf541bde802dc88be1676a75924a823ed141
/free_business/business_app/views.py
de00d3583a18750e0557076fdce2346ed16213f6
[]
no_license
prasadch123/remote_repo5
46f9719c10c0405d186a00efbbe1cd5e7b155757
b173ce3a638f1c7848d7fab307b69eae44ada1f7
refs/heads/master
2023-08-30T00:26:26.790101
2021-10-25T05:54:58
2021-10-25T05:54:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
from django.shortcuts import render def home(request): return render(request,'index.html') def about(request): return render(request,'about.html') def services(request): return render(request,'services.html') def projects(request): return render(request,'project.html') def blog(request): return...
[ "sureshchilakala907@gmail.com" ]
sureshchilakala907@gmail.com
d95810328bbed890c7daf776a9675beedc3d8cd2
473568bf080e3637ee118b374f77e9f561286c6c
/SudoPlacementCourse/LeadersInAnArray.py
b2b997ace46a797ad0dd241ff7cd5667a35adba3
[]
no_license
VineetPrasadVerma/GeeksForGeeks
c2f7fc94b0a07ba146025ca8a786581dbf7154c8
fdb4e4a7e742c4d67015977e3fbd5d35b213534f
refs/heads/master
2020-06-02T11:23:11.421399
2020-01-07T16:51:18
2020-01-07T16:51:18
191,138,925
0
0
null
null
null
null
UTF-8
Python
false
false
1,241
py
# n = int(input()) # # for k in range(n): # final_ans_list = [] # size_of_array = int(input()) # list_of_elements = input() # # int_list_of_elements = [int(i) for i in list_of_elements.split()] # # for i in range(len(int_list_of_elements)): # if i == len(int_list_of_elements) - 1: # ...
[ "vineetpd1996@gmail.com" ]
vineetpd1996@gmail.com
07e8af6fb34efbf28fd13da8b7998358fa68674c
f9c2e53c48839fe5583f6da48e800eba793f83c8
/custom_components/hacs/repositories/integration.py
8470873279f13b52e25cd0fb77a631d30b168ab2
[]
no_license
Bobo2012/homeassistant-config
d6a5ebdd8de978d14a5d060ad77975280efdf95e
ee2567182e3ef250ee2a2e1a403fbc6f27057861
refs/heads/master
2020-08-21T20:04:53.531610
2019-10-18T22:59:54
2019-10-18T22:59:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,501
py
"""Class for integrations in HACS.""" import json from aiogithubapi import AIOGitHubException from homeassistant.loader import async_get_custom_components from .repository import HacsRepository, register_repository_class @register_repository_class class HacsIntegration(HacsRepository): """Integrations in HACS."""...
[ "arsaboo@gmx.com" ]
arsaboo@gmx.com
149488d35576cf1a5937c6f95ae55ab3c88828d9
837d683ccf6aa08b0ad6d95f6af47fcc12b72da3
/pedersen_vss.py
586d0dff4ce73808e4596e669d77272e83f15f10
[]
no_license
froyobin/secretsharing
deef2cdb9be72ff51be339bfaae4822e351b8cf1
737f2aa074e0cb6f082916bd11afc658732777e1
refs/heads/master
2021-01-11T21:32:12.720629
2017-01-20T00:46:31
2017-01-20T00:46:31
78,798,569
2
0
null
null
null
null
UTF-8
Python
false
false
4,479
py
import argparse import shamir_secret_sharing from Crypto.Util import number #To make it simple, we give the f(X)=5+3x+8x^2 as params. It is easy to do # the test and write the code. p = int( "FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF...
[ "froyo.bin@gmail.com" ]
froyo.bin@gmail.com
163515d89cdeeaefc6e9aa387cc60867d816a32d
d21ea40e0153efc39d991860d714536d15e4cede
/Assignments/Assignment.6/6.string_methods.py
15910f42317a12e3ad44bc9b3e8b3ed1ef6a3900
[]
no_license
diljasigurdar/dilja
2f7cbe721b7c5eec1ff6a9e6bec5ad351c940d93
ad7e935516ac941136cfb55c281515efb1331e99
refs/heads/master
2020-07-19T23:26:19.703603
2019-12-02T14:40:45
2019-12-02T14:40:45
206,531,030
0
0
null
null
null
null
UTF-8
Python
false
false
603
py
name = input("Input a name: ") first, second = name.split(", ") firstUpper = first[0].upper() firstFinal = firstUpper + first[1:] second = second.upper() second = second[0] transformed = second + ". " + firstFinal print(transformed) #Given a name in the format #lastname, firstname #where there is exactly one co...
[ "diljas19@ru.is" ]
diljas19@ru.is
fd3e9301c5ba2e5da7aa4a3b358ef5e67dbbfbf7
de7e98db5632e21c34cf75773b08f2877978f40b
/01-03/mywork/mywork/settings.py
9073de9ab9574a31f15cb496f851fa0394db7031
[]
no_license
rihid/praxis-rizal
28e510bbfcbbb1bddb3e7ee7d302d592f72269e9
ff18b002b9b71d1e4501e75aa391113f37630ee9
refs/heads/master
2023-08-12T04:34:17.883153
2021-10-15T10:15:31
2021-10-15T10:15:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,266
py
""" Django settings for mywork project. Generated by 'django-admin startproject' using Django 3.2.8. 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/ """ from pathlib ...
[ "rizalhidayat006@gmail.com" ]
rizalhidayat006@gmail.com
4f101f2b48c6fb38fde432a8c8773d7fe7f0b72c
db0d5970cf10febfb1028393567143aedabdceb8
/capstone/capstoneapi/migrations/0001_initial.py
5964f14e0ae03f567e0704544208ea24b2a7fde8
[]
no_license
FORDBA/Final-Capstone-Server
b192dc63577128d1e4ad04f9e452b86833432164
9ac3745986dc3498aaab344d68cd647fa8205421
refs/heads/main
2023-02-15T21:43:32.037440
2021-01-08T19:24:09
2021-01-08T19:24:09
321,428,632
0
0
null
null
null
null
UTF-8
Python
false
false
3,240
py
# Generated by Django 3.1.4 on 2021-01-08 18:59 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "bfordcpa@gmail.com" ]
bfordcpa@gmail.com
1d3f54ac977af008d09cdee85fe12fe6c6d4e882
2d2719793ba074a489085f36bd34d2ca35585c9b
/screen goes black.py
1538a21fed6f5903ff38a372f62cbffda059fc51
[]
no_license
samjjc/blinkSaver
6c27b5dd7f131a9727f3c8fe21c632a76e730fd6
8d0484de1737142580eb3cc82c7e39ff262e67ae
refs/heads/master
2021-09-15T20:17:27.399481
2018-03-12T03:46:26
2018-03-12T03:46:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
681
py
import sys def blackscreen(): #Create function that will turn off screen input() if sys.platform.startswith('win'): #If system is Windows #imports from windows import win32gui import win32con from os import getpid, system from threading import Timer def force_...
[ "hoangxuanbui6572@gmail.com" ]
hoangxuanbui6572@gmail.com
786a044d698977dfd45eb5ab5cd4ec03824e21fa
b28a3771aad83f46184902e3b9ef47273b18b84a
/elejul.py
067788cdede3ad003c4dde4f84181e4ccc7b6cbe
[]
no_license
swathinukala/pythoncodes
6ce63e7aadc304df31fe82178acdbd80302bb5b4
a71481d6e78d3f3710e91bbd52710bd8e50a7f05
refs/heads/master
2020-03-22T23:12:12.490520
2018-07-13T04:09:52
2018-07-13T04:09:52
140,795,447
0
0
null
null
null
null
UTF-8
Python
false
false
658
py
# Python Directory # import os # from os import * # mkdir('DummyDir') # mkdir('E:\\pythonkak\\DummyDir\\InDir') # rename('DummyDir','MyDir') # rmdir('MyDir') # chdir() # print(getcwd()) import csv from csv import * def writing(data,fileobj): csv_writer=writer(fileobj,delimiter=',') print(csv_writer) for i in dat...
[ "swathi.6584@gmail.com" ]
swathi.6584@gmail.com
e6d1d298f86003e0b62acb46993c5fb904431d27
a3ca54d68c6eb0d5e08cfd823e8e30897292871b
/tf_expression_name_coordination.py
6bf6b94cb1c3ad797bb9b0beb64889802742d284
[]
no_license
amitkgupta/tensorflow_lstm_rnn_example
9d010eafff22b49a626de13c19f5f048f83748ab
839aa71932fb3390d776430c346bcc49f166666b
refs/heads/master
2020-06-18T04:59:05.631192
2016-11-28T11:51:52
2016-11-28T11:51:52
74,947,891
2
2
null
null
null
null
UTF-8
Python
false
false
178
py
X_PLACEHOLDER_NAME = 'X' Y_PLACEHOLDER_NAME = 'y' ACCURACY_OPERATION_NAME = 'accuracy' PREDICTIONS_OPERATION_NAME = 'predictions' def feed_dict_key(name): return name + ':0'
[ "amitkgupta84@gmail.com" ]
amitkgupta84@gmail.com
9d88765ea7eec330cbc2de9f26a15007a06feb09
847019d811589241868766d0de68a20243783b03
/preprocess-test.py
e038b66f220683fb6eff57dd3616b4966055b302
[]
no_license
Nisarg6892/Handwritten-Image-Classification
0197c95e94aeacff2fa9a7f15fb801d383e70ab9
0898ac794b701c1fe44bee0285a1d405ad1bf4d7
refs/heads/master
2021-01-13T15:05:31.437367
2016-12-12T23:30:35
2016-12-12T23:30:35
76,304,554
0
0
null
null
null
null
UTF-8
Python
false
false
3,438
py
import glob import random import numpy as np from scipy import ndimage from scipy import misc image_list = glob.glob("images/*.png") image_list.sort() total_images = len(image_list) # im_w = 3300 # im_h = 2548 im_w_resized = 128 im_h_resized = 128 print (total_images) def gen_pair_tensors(img1, img2): pair_tens...
[ "shah.nisarg6892@gmail.com" ]
shah.nisarg6892@gmail.com
70cc80794d8d3cce57b85276aab3e6bcf025ae17
6cd5df1463a5a16308116668b4c01b344c67ccb8
/Homework_2.py
63ea08b195b35b3d0dfb28468a4b99f7f8c96496
[ "MIT" ]
permissive
andrewgakh/Lesson2
0f66ce619358748b90fefa0330cb80f170e4e1d4
41066ef24c1f3c2f915e5314980764a8555b4001
refs/heads/master
2021-05-19T06:57:59.581765
2020-03-31T12:56:02
2020-03-31T12:56:02
251,575,652
0
0
null
null
null
null
UTF-8
Python
false
false
4,414
py
# Задача 1 # Вывести на экран циклом пять строк из нулей, причем каждая строка должна быть пронумерована. # for i in range(1,6): # print(i, '00000') # ********************************************************************************************** # Задача 2 # Пользователь в цикле вводит 10 цифр. Найти количество в...
[ "andreyg44@gmail.com" ]
andreyg44@gmail.com
32e1da53f66f709ec826c5e6e98b69f964055011
644bcdabf35261e07c2abed75986d70f736cb414
/python-project/Defis/Euler_44_Test.py
059d736f3c4546ec361ff33f1fc9b32183c5bd48
[]
no_license
matcianfa/playground-X1rXTswJ
f967ab2c2cf3905becafb6d77e89a31414d014de
67859b496e407200afb2b1d2b32bba5ed0fcc3f0
refs/heads/master
2023-04-03T11:56:15.878757
2023-03-24T15:52:37
2023-03-24T15:52:37
122,226,979
5
20
null
null
null
null
UTF-8
Python
false
false
1,110
py
#Ne pas oublier de changer le module à importer module="Defis/Euler_44" import sys import io #On récupère les données de l'utilisateur sauvegarde_stdout=sys.stdout sys.stdout=io.StringIO() from Euler_44 import * count1 = sys.stdout.getvalue()[:-1] sys.stdout=sauvegarde_stdout from ma_bao import * #La réponse reponse...
[ "noreply@github.com" ]
noreply@github.com
9eecf950e32834e1d489a7a26e3425a16a63882c
2d6e7d8be67b742c0f490e463fd003000a296cac
/084_LargestRectangleInHistogram.py
813b7481125fde7c16caf1542c7ae19d63de4274
[]
no_license
youthpasses/leetcode_python
67cf2ac431d2b4f5a76c244fd9d1d53249df052e
adf10610f62a8ccf3325da0be7bb678679c17341
refs/heads/master
2020-05-21T20:48:16.085775
2017-03-07T03:14:38
2017-03-07T03:14:38
60,440,146
4
0
null
null
null
null
UTF-8
Python
false
false
1,085
py
# coding:utf-8 # @sinner # 16/11/12 ''' 84. Largest Rectangle in Histogram QuestionEditorial Solution My Submissions Total Accepted: 74768 Total Submissions: 294616 Difficulty: Hard Contributors: Admin Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the a...
[ "543496951@qq.com" ]
543496951@qq.com
1035cd4f79e839abd430b08c4521f85a763a89dc
606b41b4b828f2626f1665caf627fe69b96cf35c
/DialogWindow.py
e8d0a195fbd6d0724ec6b084855c35a40cf60708
[]
no_license
BigPigMoon/PiGRogue
18dd2ae965b4c6d79b19f9fe375cb32b3ec32044
9886df943ab409c3597dacfa5f26138a848bcad4
refs/heads/main
2023-01-01T12:36:02.580023
2020-10-25T14:12:12
2020-10-25T14:12:12
307,113,507
0
0
null
null
null
null
UTF-8
Python
false
false
1,337
py
from bearlibterminal import terminal class Dialog: def __init__(self, w, h): self.width = w self.height = h self.x = (100 - self.width) // 2 self.y = (50 - self.height) // 2 self.cursor = 0 self.max_cursor = 0 self.var_bool = False def draw(self): ...
[ "matvey.novikov02@gmail.com" ]
matvey.novikov02@gmail.com