blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
5
283
content_id
stringlengths
40
40
detected_licenses
listlengths
0
41
license_type
stringclasses
2 values
repo_name
stringlengths
7
96
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
58 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
12.7k
662M
star_events_count
int64
0
35.5k
fork_events_count
int64
0
20.6k
gha_license_id
stringclasses
11 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
43 values
src_encoding
stringclasses
9 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
7
5.88M
extension
stringclasses
30 values
content
stringlengths
7
5.88M
authors
listlengths
1
1
author
stringlengths
0
73
858bc22aea140d82eae560c6b2ca454e35766658
6c595cbef3febe25c006cb1f00db71f4ab7c748d
/Exercícios/Mundo03ex/ex103.py
3e4bfebeb4ff3b4d34134e272f495baaba613005
[]
no_license
RianRBPS/PythonMundos
cd43a437ac76e3c73903f897b1afc77d2f28fee8
39d50696ef9e691b5bddb0cdfea315a9bd872c30
refs/heads/master
2023-07-19T04:22:50.284964
2021-08-02T17:28:53
2021-08-02T17:28:53
374,453,004
0
0
null
null
null
null
UTF-8
Python
false
false
307
py
def ficha(jog = '<desconhecido>', gol=0): print(f'O jogador {jog} fez {gol} gol(s) no campeonato') # Programa principal n = str(input('Nome do jogador: ')) g = str(input('Número de Gols: ')) if g.isnumeric(): g = int(g) else: g = 0 if n.strip() == '': ficha(gol = g) else: ficha(n, g)
[ "82774034+RianRBPS@users.noreply.github.com" ]
82774034+RianRBPS@users.noreply.github.com
34c6643610e0262186efddf7e66964d6a48b9e19
2c7537609a376db7bd839d3c9af44fa3d24c7d32
/helpers/manuscript_parameters.py
265b56f0142029b0c75259a33ff0db4a84e4a5d8
[]
no_license
massyah/LINK
cf87a35c97fb6a9f4bd63e8f5c3789cbcf20c446
0d2ee835bb4a03c2e90271cf48adccfb9e38a804
refs/heads/master
2016-09-05T20:02:16.896527
2013-12-08T17:51:14
2013-12-08T17:51:14
10,078,229
0
1
null
null
null
null
UTF-8
Python
false
false
1,093
py
# Global variables import os,sys LINKROOT=os.path.split(os.path.dirname(os.path.realpath(__file__)))[0] sys.path.append(LINKROOT+"/helpers") sys.path.append(LINKROOT+"/model") from link_logger import logger ## BioInformatics article corpus variant lsi_dims=1000 with_genia=0 with_mesh=True with_stemmer=True pid_np_o...
[ "massyah@gmail.com" ]
massyah@gmail.com
251bd53ed38386cdac479e21d18274672cace101
4b16d38a4cccaf081d5ade5b42a5521d652469ba
/HTMLTestRunner.py
a57c4c3024fd05b68593211f25dc44e4a4d4efa0
[]
no_license
chenya1123236324/auto_request
e4f399bd700a8cf35ecc9aa97de87e3b271fe14e
27e9b97a91402e5b386d2bbdc69cc892e015599a
refs/heads/master
2023-06-17T13:57:32.399122
2021-07-13T06:47:05
2021-07-13T06:47:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
26,914
py
""" A TestRunner for use with the Python unit testing framework. It generates a HTML report to show the result at a glance. The simplest way to use this is to invoke its main method. E.g. import unittest import HTMLTestRunner ... define your tests ... if __name__ == '__main__': HTMLTestRunne...
[ "dadadashu@users.noreply.github.com" ]
dadadashu@users.noreply.github.com
ca67d64a8c926c8594e2d68c62ea3ca2756490c7
5dcf691743a8ab84fc55b8cd9f186b0ce713e258
/handlers/subscription.py
6a0e8a4979ba025ec17aa6bebf3f86cd0fcfea2e
[]
no_license
tilen323/wd2_forum_tilen
b6eb6a706c3c8e721a4edcc2cb3baac2f82b6fd5
83df56778726e49232e3fc34fe38d34ea779489a
refs/heads/master
2021-01-21T10:34:35.408799
2017-04-15T08:20:27
2017-04-15T08:20:27
83,457,581
0
0
null
null
null
null
UTF-8
Python
false
false
1,414
py
from handlers.base import BaseHandler from google.appengine.api import users, memcache import uuid from utils.decorators import validate_csrf from models.subscription import Subscription from models.topic import Topic from models.user import User class SubscriptionHandler(BaseHandler): @validate_csrf def post...
[ "prevolnik.tilen@gmail.com" ]
prevolnik.tilen@gmail.com
c21074123c683fc77f6d60038aea079bffcf44c3
fdf797a0c89318c7e7b3ab160d2a3d56857ad13f
/sentiment_analysis/project1.py
0a281f115ab6b1b6bc926f36557a600c1a744ae9
[]
no_license
shinesha/ML_with_Python-Review-Sentiment-Analysis
5e3a5d030830d6b7ee1ab08a64056bd95bbe43f9
533a914bc081b5763b99b493e234fe1678549e37
refs/heads/main
2023-04-02T14:04:46.399587
2021-04-03T18:49:25
2021-04-03T18:49:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,793
py
from string import punctuation, digits import numpy as np import random # Part I #pragma: coderesponse template def get_order(n_samples): try: with open(str(n_samples) + '.txt') as fp: line = fp.readline() return list(map(int, line.split(','))) except FileNotFoundError: ...
[ "jodrew_7@hotmail.com" ]
jodrew_7@hotmail.com
296d74e81bcaded44c06c69cda33675423f41600
749444f166bbc7862ed257ee11f2502cc75b3a8b
/config.py
8210fa01ab02002dcd4fa5186856ea6772beb51e
[ "MIT" ]
permissive
bzreinhardt/life-command-line-bot
092f17da5ba201048b0d0297ab8c1bba585c7265
3cb7121785cc33849bedef42150b1e2245017d3a
refs/heads/master
2022-12-11T16:33:44.126696
2020-02-11T05:11:48
2020-02-11T05:11:48
230,861,193
0
0
MIT
2022-09-23T22:34:19
2019-12-30T06:30:33
Python
UTF-8
Python
false
false
1,119
py
import os basedir = os.path.abspath(os.path.dirname(__file__)) class Config(object): DEBUG = True TESTING = False CSRF_ENABLED = True BOT_NAME = "@lifecommandline_bot" SECRET_KEY = 'this-really-needs-to-be-changed' SQLALCHEMY_DATABASE_URI = os.environ['DATABASE_URL'] URL = os.environ['BOT_...
[ "bzreinhardt@gmail.com" ]
bzreinhardt@gmail.com
99e704600e1b87fde15f2fadd8397164da492be6
f060a93e854e1eb8d065ae973e9ce320834e8ebb
/Settings.py
c8d0687b8e50ad9a9254b54e53cdd6382cf026ed
[]
no_license
fustinose/QuickDate---TartanHacks2019
0c4a8e2c04464a4b9fab674886afa15ee00b1a4f
95f2387ad7baf51655a75c4ea51fd083861e0ddb
refs/heads/master
2020-04-21T22:17:49.356570
2019-09-18T00:33:26
2019-09-18T00:33:26
169,906,355
0
0
null
null
null
null
UTF-8
Python
false
false
265
py
WIDTH = 800 HEIGHT = 500 BUTTON_SIZE = (80, 80) SCALE = (200, 200) TEXT_POSITION = (50, 355) IDEAL_POSITION = (180,200) RESULT_POSITION = (600, 200) INFO_POSITION = (480, 315) CONFIDENCE_POSITION = (480, 355) CONTACT_POSITION = (480, 395)
[ "noreply@github.com" ]
noreply@github.com
40d90b4f3260c93cddfb34e77fef82e69351ff5b
c6377ad42eed3aa6a5973940850fd52d8fbec12d
/airport/models.py
23ae666acf17fdab443ca34b3949922c4b9b753a
[]
no_license
dipan010/AirportDB
690deed5c3ee9f8b13950cf5bc6fa8d6ba2dde63
11030b97418e178f2fd6031fcbdab43465ec6823
refs/heads/master
2022-12-25T10:16:58.483096
2020-10-02T18:39:10
2020-10-02T18:39:10
278,985,530
0
0
null
null
null
null
UTF-8
Python
false
false
4,121
py
from django.db import models # Create your models here. class Airport(models.Model): apid = models.CharField(max_length=20) apname = models.CharField(max_length=100) apcity = models.CharField(max_length=100) apcountry = models.CharField(max_length=100) apIATA = models.CharField(max_length=...
[ "dipan.ghosh@hotmail.com" ]
dipan.ghosh@hotmail.com
e1b9ac4e6db534177973b7833c22cc7858815051
9ff2d34acb5e5cfca5db3693b20cec4385837ab5
/employees.py
f53c01b329e065fdb408c59c31e1df4a10e2fd07
[]
no_license
fferrant/Python2
a0a53c4407ba2839789f969b26cbf447d74f556d
24caa3558b4aa9721026c7ee9c1adc1ccf5577a7
refs/heads/master
2023-01-18T22:37:13.132317
2020-10-31T13:29:45
2020-10-31T13:29:45
269,771,953
0
0
null
null
null
null
UTF-8
Python
false
false
6,045
py
""" En este programa se intentará predecir el salario mensual de empleados de una firma a partir de algoritmos que utilicen tanto datos numéricos (algunos de los cuales se agruparán en bines) y datos categóricos. Se utilizará a tal fin una red neuronal y un random forest. Para el tuneo de hiperparámetros, se recurr...
[ "noreply@github.com" ]
noreply@github.com
f9cc71b56a10eaa7c0c41519426aa773f8b64f37
71dc727f9056934cd51692f8a3d26cf0dda44ef0
/sample-programs/week4/evenOdd.py
16bdc10c62ad7fb7dfb87114fb407a3a7a4ef945
[ "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
472
py
# evenOdd.py # # Even/odd program displays whether user input is even or odd # CSC 110 # Fall 2011 def main(): print('How odd is this?') # get a user number number = int(input('Please enter an integer: ')) # test for even if number % 2 == 0: print(format(number, 'd') + ' is even') el...
[ "justinclark.dev@gmail.com" ]
justinclark.dev@gmail.com
e00d0595f2ddec3010e5761a9fb169446c04e9f8
7767a6dd02bfe4a60e84fa72a7ca9e7a5262c126
/studentix/migrations/0010_auto_20160306_1131.py
ee676294d1d5c9fd926b0ffd45ac9b26aa01a674
[]
no_license
gauravj532/course-management-system
33820597963dadc3bd2a23dc95f96e5040aacffe
013cbd8620e09d25c3dc1500aa70c1c4b0947a22
refs/heads/master
2021-01-11T22:24:17.611297
2017-01-14T18:10:17
2017-01-14T18:10:17
78,957,296
0
0
null
null
null
null
UTF-8
Python
false
false
778
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.2 on 2016-03-06 11:31 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('studentix', '0009_message'), ] operations = [ migrations.RenameField( ...
[ "gauravjain18187@gmail.com" ]
gauravjain18187@gmail.com
724d746602de751a5bb20d318eff25c27bcded50
88bdbe3745cfe9ead2d10f1eb5459475923d7539
/src/backend/commandparser/default_cmds.py
fef6ce8779ae8fa5bb431cfc9112e514418c6391
[ "MIT" ]
permissive
aruns807/shim
6fc2442ea9fafb1e4cbcc07c667970bff8c1721a
686a16aacfc85bdcf275698b5e320a224d88298c
refs/heads/master
2020-05-02T13:15:03.836692
2014-05-02T02:46:33
2014-05-02T02:46:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,043
py
import re DEFAULT_COMMAND_TOKENS = { re.compile('[0-9]+'): { 'type':'NUMBER', }, re.compile('f.'): { 'type':'FIND_CHARACTER', }, re.compile('d'): { 'type': 'DELETE_INIT', }, re.compile('dd'): { 'type': 'DELETE_LINE', }, re.compile('[h|j|k|l|w|b|\{|\}...
[ "wngsebastian@gmail.com" ]
wngsebastian@gmail.com
789d7b785182c0131c6243ea2ee7bf348183a586
538b67fe626d531b84dee0b23f859a95b460009b
/LevelOrderBTTraversal.py
6d391aa4a9a5fc0f692b0c9e9f1fae1a1f420d56
[]
no_license
ShuNayak/BinaryTree
0f5989ddd724d83b2f6d1a17c0cd6acd971c34a3
08ed91176018cde5bb7f6c30d486654b38b53054
refs/heads/master
2022-09-30T20:15:45.652690
2020-06-06T03:58:47
2020-06-06T03:58:47
257,723,199
0
0
null
null
null
null
UTF-8
Python
false
false
725
py
from typing import List class TreeNode: def __init__(self, val=0, left= None, right=None): self.val = val self.left = left self.right = right class solution: def levelOrderTraversal(self, node:TreeNode)->List[List[int]]: ans, level =[], [node] while node and level: ...
[ "shubhadafall2019@gmail.com" ]
shubhadafall2019@gmail.com
6239c27801905c586eb0e4c30a5925ac6a198ccb
9993bb4aa0cb5d01def80fdf85b79acb3d4ce53f
/src/res/__init__.py
6df7e8a2f5021781e90f2c10f216762a06dd4227
[]
no_license
Rollbear-bot/SyntaxAnalysis
d3ae06d78885497cf752251b6cd911b77f400bcb
f0e241f29e859f616d2f7b57e52a6cb2b5480faf
refs/heads/master
2023-02-20T14:31:20.673288
2021-01-19T09:39:22
2021-01-19T09:39:22
316,387,538
0
0
null
null
null
null
UTF-8
Python
false
false
97
py
# -*- coding: utf-8 -*- # @Time: 2020/11/27 9:03 # @Author: Rollbear # @Filename: __init__.py.py
[ "Rollbear-bot@users.noreply.github.com" ]
Rollbear-bot@users.noreply.github.com
51e5ac810b52c7fda601967ea3e3e11368ed2226
e9fe7ee927bd7dcb1c672a5e060153c735662ef1
/euler40.py
879a39caa4baa16a725a956ac0de99af5a525c82
[]
no_license
ahalbert/python-euler
61e7be56d276b994a933206bffac47f9b24d8586
8977ae09e5e8b45d6694e0dac4ededfb373fffad
refs/heads/master
2021-03-12T22:27:07.937829
2013-01-27T19:28:47
2013-01-27T19:28:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
577
py
__author__ = 'ahalbert' def findDigit(): digits = [1] dbase = [10,100,1000,10000,100000,1000000] base = [10,100,1000,10000,100000,1000000] length = 1 baselength = 1 concat = 1 while base != []: if length == base[0]: digits.append(str(concat)[0]) del base[0] if length > base[0]: digits.append(str(co...
[ "armand.halbert@gmail.com" ]
armand.halbert@gmail.com
ea68ba266d053af01b69cdd37e3eb78d4d12efb9
fad74752c74a191c1b751b40ae8f781c2b0943dc
/roy_and_profile_picture.py
b9c6c249932a637d8d82b5e2304357931dcab0f2
[]
no_license
HUSS41N/HackerEarth
4d81311925279f78af8116098267e56383a683bc
9bfca212e50eede840fdb616579c722fe6596bea
refs/heads/main
2023-02-10T21:38:55.008976
2021-01-02T22:17:15
2021-01-02T22:17:15
320,372,730
0
0
null
null
null
null
UTF-8
Python
false
false
304
py
l = int(input()) #Square side length FB n = int(input()) #NUmber of photos for i in range(n): w,h = map(int,input().split()) if w < l or h < l: print('UPLOAD ANOTHER') elif w >= l and h >= l: if w == h: print('ACCEPTED') else: print('CROP IT')
[ "" ]
414b2b04d2e06f58a6f7c076fac058adf60f6c8d
f72e4bc91eb8c28f8cc83af0833430bea8d3d41f
/teaching/admin.py
fd2e137c16ff8e876a1f0e9ba30c24de2d327571
[]
no_license
npalermo10/my_django_site
a4a64c1957a33c2e2768d1a1dd434b539feaf427
6d5ebe9730323f9d6f7d59d4dad084e3b8866d7b
refs/heads/master
2020-07-28T10:06:17.793273
2017-07-16T20:27:54
2017-07-16T20:27:54
67,458,915
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
from django.contrib import admin from teaching.models import Classroom, Announcement,Scheduled class ClassroomAdmin(admin.ModelAdmin): prepopulated_fields = {'slug':('title',)} class AnnouncementAdmin(admin.ModelAdmin): prepopulated_fields = {'slug':('date', 'classroom')} # Register your models here. adm...
[ "npalermo10@gmail.com" ]
npalermo10@gmail.com
06c68cf5391b0bda58d92190609e5ddca5d4c892
b50df8a902f4e2c1ecd8667b7b97937da3371caf
/Parte002/ex1018_longitud_cadenas_len_map.py
c3870c37d1d634cd5bcfba5de9a8e2074160a9fa
[]
no_license
Fhernd/PythonEjercicios
5a5633855979baec89a3c257eb57aac076a7465f
204d3d59ddeed6cbf263b23f14e950c20f81f608
refs/heads/master
2021-11-23T00:26:28.861302
2021-10-14T16:50:27
2021-10-14T16:50:27
230,629,743
124
84
null
2021-09-15T18:45:25
2019-12-28T15:45:28
Python
UTF-8
Python
false
false
256
py
# Ejercicio 1018: Obtener la longitud de cada cadena de una lista con la función map(). nombres = ['Alexander', 'Diana', 'Luisa', 'Pedro', 'Fabián', 'Sebastián', 'Deisy'] # [9, 5, 5, 5, 6, 9, 5] longitudes = list(map(len, nombres)) print(longitudes)
[ "johnortizo@outlook.com" ]
johnortizo@outlook.com
ac7581288b5f96380ccbe085599811d0a9e5a0ae
c94df64da1aaae0a38dd347804f2a7b467a17513
/BinaryTreeLevelOrderTraversal2/binary_tree_level_order_traversal2.py
ce723daca13e6a36afbdaf6a4f8e0014c64e7f6b
[]
no_license
shiny13/leetcode-problems
b88e8d908a8a0d831a3473bbbb7b3ada74e0a776
48d587962d5e0fcc3f93d99e4a395183ab058ed7
refs/heads/master
2023-05-11T15:20:04.415197
2023-04-29T12:04:15
2023-04-29T12:04:15
252,415,274
2
0
null
null
null
null
UTF-8
Python
false
false
1,102
py
import sys from typing import List # Definition for a binary tree node. class TreeNode: def __init__(self, val=0, left=None, right=None): self.val = val self.left = left self.right = right class Solution: def levelOrderBottom(self, root: TreeNode) -> List[List[int]]: self.leve...
[ "shahnawaz.alam13@gmail.com" ]
shahnawaz.alam13@gmail.com
f2d52ffb6eb59732f3c3158313c29097d71cd205
5588a2e55e5c0ad371db6402d4bccb910b8e94c6
/summary_holdings/23$81$ayear.py
9b8f511d5686bf27d52b2bb5265a2050d8a25b65
[]
no_license
jdcar/holdingssummary
84ba539b8444eb2113e5f4c8098bda9e821a6854
510a8f082cb192464491a62426f2f7c7522ed88e
refs/heads/master
2020-03-11T04:58:18.345764
2018-04-16T19:21:36
2018-04-16T19:21:36
129,789,967
0
0
null
null
null
null
UTF-8
Python
false
false
10,510
py
import re fhand = open("H:\\MFHD\MFHDS.txt") for line in fhand: if "$ayear" in line: if re.compile("23\$81\$ayear,"): mfhd = line.split(", ")[0] p = re.compile("23\$81\$ayear,") matchResult = p.search(line) if "23$81$ayear," in str(m...
[ "34754596+jdcar@users.noreply.github.com" ]
34754596+jdcar@users.noreply.github.com
34cbcfc781d43e841f091e6cf455e8bd452a527b
65098d9d8fba08175d9756386ba8507f8d4fc327
/mesonet/Barbs.py
25d2f6c13983a1bb8ce126d01cc8cabda44acf9e
[]
no_license
keltonhalbert/SLS2012
a23c55455c0655e7af3ef303b559972c4f36e848
316d94407f4597fce576054ec0b25ec01ce55c23
refs/heads/master
2020-05-22T14:11:46.256178
2013-03-10T21:41:49
2013-03-10T21:41:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,936
py
#AWIDS - Advanced Weather Interactive Diagnostic System #(c) <2012> Kelton Halbert #Non-commercial license clause can be waived with written permission by the author. Contact Kelton Halbert <keltonhalbert@tempestchasing.com> for permission to use commercially. #This work is licensed under the Creative Commons Attrib...
[ "keltonhalbert@tempestchasing.com" ]
keltonhalbert@tempestchasing.com
087b745671b0823ede41c1b348f52ec1d0ff9731
0fe6e84c32a88fc1b3999411772366e2b3fafe11
/Fade-Nuker/util/webhookspammer.py
d44a6b1937e8dd053186c4148ead6c8796b3aae1
[]
no_license
Fishy0608/Fishy0608
e3ca4f308ef54f66030829f92afd9c7360e10207
95657e91a5a16027f7b3f80306ca68b15831e029
refs/heads/main
2023-08-23T22:45:17.898383
2021-10-13T15:27:47
2021-10-13T15:27:47
416,789,861
0
0
null
null
null
null
UTF-8
Python
false
false
1,372
py
# Fade was proudly coded by Rdimo (https://github.com/Rdimo). # Fade Nuker under the GNU General Public Liscense v2 (1991). import requests import json import time import Fade from time import sleep from colorama import Fore from util.plugins.common import clear, print_slow, getheaders, THIS_VERSION def WebhookSpamm...
[ "noreply@github.com" ]
noreply@github.com
f3175c392f2de8409d3bb85f9e14bfc498b1f196
949193cc1509be3abfb06bd866a609aa440cf555
/A.py
f81c36d9f3ea2c6416d3dc50583e71f8b3738288
[]
no_license
LordWader/Mail.Ru-Cup-2018-Round-0
66ffe7afc89a618d9250b63951cf71fc1c7b4fd2
d06e6db94acc3377bd313dadfc582dbfae330f5a
refs/heads/master
2020-04-03T22:44:31.521594
2018-10-31T19:13:25
2018-10-31T19:13:25
155,608,416
0
0
null
null
null
null
UTF-8
Python
false
false
1,899
py
""" Once upon a time there was only one router in the well-known company Bmail. Years went by and over time new routers were purchased. Every time they bought a new router, they connected it to one of the routers bought before it. You are given the values pi — the index of the router to which the i-th router was c...
[ "noreply@github.com" ]
noreply@github.com
2728efc29b316074b156e706311b1c763f7d918c
ed9244a947d53fc64e60d1d5ce7cb9391893bedb
/new.py
41fb0f7e5539ccbc9c5927e81dcb787213c5edbd
[]
no_license
guobiaoli/testGit
93ee3dee3050ab379050aed69d08751020cb2ea6
48b1ff2fcbe50811fd5c5586c493b606533749da
refs/heads/master
2020-03-17T12:03:58.154428
2020-03-04T02:04:47
2020-03-04T02:04:47
133,573,076
0
0
null
2020-03-03T03:16:13
2018-05-15T21:03:27
Python
UTF-8
Python
false
false
110
py
def minus(x): x = int(x) return x-1 def find(x): return str(x)+"find" #done def multiply(x): return x*x
[ "guobiaoli@github.com" ]
guobiaoli@github.com
871b11e87ca533aeab679405ce4f7dd64a7567f6
f8e69a30aa6a67c8b1182d731f8cf078dc5efab3
/file_init.py
e37d5e82327fcf6bd0773c32d283163ffa73ede0
[]
no_license
scrums/iole-python
d72cdccc489b4684af6d4642057b999c775bcbf0
36977ef69533c5aacf25941e314ae2f04ac3ddb2
refs/heads/master
2021-07-20T10:13:32.207076
2017-10-29T17:50:48
2017-10-29T17:50:48
108,696,035
0
1
null
null
null
null
UTF-8
Python
false
false
873
py
# This file is meant take in a csv and parse it into a string import hash_generator def run(argv, func): address = argv # set address to be the first parameter # should not execute if file address is not a valid one valid = False try: csv = open(address, 'r') valid = True except ...
[ "rcalcamo@uncc.edu" ]
rcalcamo@uncc.edu
104e9bc0543117b6eb82b47248a749f77fab83d1
83de24182a7af33c43ee340b57755e73275149ae
/aliyun-python-sdk-pairecservice/aliyunsdkpairecservice/request/v20221213/DeleteLayerRequest.py
047ef7f9689d1d364da32d28184141fb4ce4c549
[ "Apache-2.0" ]
permissive
aliyun/aliyun-openapi-python-sdk
4436ca6c57190ceadbc80f0b1c35b1ab13c00c7f
83fd547946fd6772cf26f338d9653f4316c81d3c
refs/heads/master
2023-08-04T12:32:57.028821
2023-08-04T06:00:29
2023-08-04T06:00:29
39,558,861
1,080
721
NOASSERTION
2023-09-14T08:51:06
2015-07-23T09:39:45
Python
UTF-8
Python
false
false
1,418
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
404b49a289c48e0e4006eaf4c4808886b5602915
e07b403d751832afab2b68381773746c5d1a303c
/mcts/tree.py
709108f647d6c08cfc2120ad978a7ed60068becb
[]
no_license
Enderdead/Diaballik-AI
aa65ea6282a0830b9b03246257f7da4db1122d58
f5d488a57c64757d90b29207773f80f63bc95a24
refs/heads/master
2020-04-13T16:42:08.385536
2019-01-02T21:29:29
2019-01-02T21:29:29
163,328,074
0
0
null
null
null
null
UTF-8
Python
false
false
5,100
py
from math import inf, sqrt, log, isinf from random import choice from copy import deepcopy class Node: """ Classe support pour représenter les noeuds de l'arbre. Un noeud contient une action à executer AVANT de rentrer dans ce noeud (poser son pointeur dessus) """ def __init__(self, action, parent,...
[ "francois@gauthier-clerc.fr" ]
francois@gauthier-clerc.fr
91c84e2f6398f7bf1872b557216d1363db43f6cb
02679536b17715d23da027a2d9be725065d712ac
/ch07/fig07-03_hc-sr501-pir-led-buzzer.py
c44948f94078d59226b656af3c9f99785237de02
[]
no_license
ricelee-com/pico-starter-kit
bfeffe2da67e12d33098edc39008697a421e4f77
f8286fab0bdd868e8fbe9def1dae23bd5d88215c
refs/heads/master
2023-03-26T11:38:16.914362
2021-03-25T01:16:08
2021-03-25T01:16:08
350,273,575
0
5
null
null
null
null
UTF-8
Python
false
false
848
py
#!/usr/bin/python3 #+-+-+-+-+-+-+-+-+-+-+-+ #|R|i|c|e|L|e|e|.|c|o|m| #+-+-+-+-+-+-+-+-+-+-+-+ # Copyright (c) 2021, ricelee.com # All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # # Origin: p87 at https://hackspace.raspberrypi.org/books/micropyt...
[ "sosorry@raspberrypi.com.tw" ]
sosorry@raspberrypi.com.tw
1df42c7213472089c20b1b1e782275ef56ce1d26
6f6e8a98c8e03f24f4a1de9c39fb79038b0dfe20
/TimeDelta.py
36a18b2333a1d092b0837ba14539e3d5ecef3226
[]
no_license
SalihTasdelen/Hackerrank_Python
f5b9714b407bf691a7c5081db2a952551be3af43
d7ed77e086c54304f136cdde41a235043b56bddf
refs/heads/master
2022-11-21T04:00:16.609036
2020-07-19T15:08:04
2020-07-19T15:08:04
271,104,336
0
0
null
null
null
null
UTF-8
Python
false
false
604
py
#!/bin/python3 import math import os import random import re import sys from datetime import datetime # Complete the time_delta function below. def time_delta(t1, t2): fmt = "%a %d %b %Y %H:%M:%S %z" date1 = datetime.strptime(t1, fmt) date2 = datetime.strptime(t2, fmt) return str(int(abs((date1 - date...
[ "salih.tasdelen@hotmail.com" ]
salih.tasdelen@hotmail.com
b8759d5b10ef528095ce081cbf70c3ca4a0e7aa2
0d12e5f99d99b30d8a927240ee26af3d64bd7f99
/checker.py
1199191d224594cd1df6bdbe36688ec587978ef8
[ "MIT" ]
permissive
bertacsevercan/accessibility-checker
fbbdca45b61f74b41c613d4d532aecfee3f7cf4e
d32b55d07c7bcc0314f6a8d6a8f419d0004e9ad7
refs/heads/main
2023-04-29T05:02:11.525641
2021-05-20T16:45:50
2021-05-20T16:45:50
354,124,108
1
0
null
null
null
null
UTF-8
Python
false
false
16,252
py
import requests import argparse import csv import sys import traceback from os import mkdir from re import search from bs4 import BeautifulSoup from termcolor import colored, cprint description = "This program checks the given website's accessibility \ provided by the W3C guidelines and outputs a score from 0-100. Not...
[ "bertac.severcan@gmail.com" ]
bertac.severcan@gmail.com
9672c79db3265c60383abc9c050be6004f6812eb
808ddb05e732e8ac3946fe8cd0ee8c32062b009b
/core_python/ch02/exe2_3.py
8f169e45b520ce9a558d7560a7a918a63ea8cb31
[]
no_license
csfuyu/core_python
3bb7ed055ffd010cbb75632e0f317f31eb1545dd
a11febf493e53cdc797d39e365176c9aae166109
refs/heads/master
2021-01-01T19:38:44.168516
2014-07-27T14:36:18
2014-07-27T14:36:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
839
py
def switch(m_array, index1, index2): #tmp = m_array[index1] #m_array[index1] = m_array[index2] #m_array[index2] = tmp m_array[index1],m_array[index2] = m_array[index2],m_array[index1] def sort(m_array): if m_array[1] < m_array[0]: switch(m_array,1,0) if m_array[2] < m_array[1]: ...
[ "18565268@qq.com" ]
18565268@qq.com
50930da85e8cd60017cb14f2538bd2153050bc7b
4017d7c20abae0393513337a68bc06961e1eb683
/MicroPython koder/kode strings og variabler.py
741c26dcd0025867c6a8dccc3d2c0981e1257865
[]
no_license
kres0167/Programmering
cc164d1717ac4ecc8b11a4225063195d7f47cfb5
5891b428aad61bd6e3b00a1aabdd715a9299d4ed
refs/heads/main
2023-08-28T22:59:42.128718
2021-10-29T12:06:47
2021-10-29T12:06:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
898
py
biler = 100 #integer plads_i_en_bil = 4.0 #Float værdi førere = 30 #integer passagerer = 90 #integer biler_ude_af_drift = biler - førere #Int biler trækkes fra int førere biler_i_kørsel = førere #biler_i_kørsel defineres som førere samlet_bil_kapacitet = biler_i_kørsel * plads_i_en_bil #ganger biler_i_kørsel og plads_i...
[ "noreply@github.com" ]
noreply@github.com
2c7000375d25c329c1a58c1378e24b5b64ebd48a
6b4a9d576fd1b7ff03c2a9886439f5d8a593d401
/vis/src/query.py
e8844b2a49bafa6bf6572c7b43e6008942cb4d9c
[]
no_license
bendunnegyms/repo-vis
1294e02a2aa95182dba0b9a0772a27834df1b7c3
0e1513f13bbf544fb1668e6527613d7c4ea446a4
refs/heads/main
2023-01-22T17:36:42.709440
2020-12-07T21:59:10
2020-12-07T21:59:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,539
py
import requests import sys import json def query(username): headers = {} url = 'https://api.github.com/users/' + username+ '/repos' r = requests.get(url, headers=headers, auth=('bendunnegyms', '2c6b7ed1bd7ab86dc1bf7ae5e3622415f5c252ac')) print(json.dumps(json.loads(r.text), indent= 4)) return r d...
[ "vsevasy@gmail.com" ]
vsevasy@gmail.com
dac3a4db860744d28258c92c351b945acd3cabf4
7386f422bdfab2393ee0470d31529c99bcd0daef
/tests/CLI/modules/dedicatedhost_tests.py
ab62063c840499c8cce77fee116695430fbf502d
[ "MIT" ]
permissive
ayenter/softlayer-python
cf431de6e0245b1b0419372613488dc67b63457a
a106f2bae1cb97abd31416fce7ede320ad6099d6
refs/heads/master
2020-03-17T22:21:34.425087
2018-05-18T20:26:28
2018-05-18T20:26:28
134,000,502
0
0
MIT
2018-05-18T20:26:29
2018-05-18T20:21:55
Python
UTF-8
Python
false
false
13,917
py
""" SoftLayer.tests.CLI.modules.dedicatedhosts_tests ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :license: MIT, see LICENSE for more details. """ import json import mock import os import SoftLayer from SoftLayer.CLI import exceptions from SoftLayer.fixtures import SoftLayer_Product_Package from SoftLayer.fixture...
[ "khuong.nguyen@ibm.com" ]
khuong.nguyen@ibm.com
4ee1fbe05772a551659a4a24c9cfad37e0bab31b
ea69a8e93e0201cf05b25be6cc4f819565942fec
/pdrLib/fluxes/phot.py
6bdb104bd3e9e86ac0284df10a5a79d6342b2b81
[]
no_license
astroPDR/PMAP
83f6ba74f0af381fa32726d1fba8b604134f2788
07eac2b3d60369a4ef34f748fbce075d6bca98bd
refs/heads/master
2020-05-17T10:44:02.261958
2013-09-29T03:51:02
2013-09-29T03:51:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,247
py
#!/usr/bin/env python # encoding: utf-8 """ phot.py Created by José Sánchez-Gallego on 3 May 2013. Copyright (c) 2013. All rights reserved. """ import numpy as np import astropy.io.ascii as at def rebin(aa, shape): """ Resizes an array to a certain shape """ sh = shape[0], aa.shape[0] // shape[0], ...
[ "j.sanchezgallego@uky.edu" ]
j.sanchezgallego@uky.edu
8367b705410d891c2f66f2b222652f47eff4933e
f1614977384d0b8b097712dbb40d166bd7f93439
/llff/poses/pose_utils.py
78696b357df4c5f9f20a44ff16d44c7a5bcc5176
[ "BSD-3-Clause" ]
permissive
chenycallen/LLFF
3e1026971ab33fad5e5143c443ef24fb32a70135
93e9f95f47ac4e23eef932f8c3f46362d4a7781d
refs/heads/master
2020-05-19T11:14:29.794788
2019-05-04T02:14:29
2019-05-04T02:14:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,238
py
import numpy as np import os import sys import imageio import skimage.transform from llff.poses.colmap_wrapper import run_colmap import llff.poses.colmap_read_model as read_model def load_colmap_data(realdir): camerasfile = os.path.join(realdir, 'sparse/0/cameras.bin') camdata = read_model.read_cameras_...
[ "bmild421@gmail.com" ]
bmild421@gmail.com
dc4aa6d35aaa94e2f1b560a3ce0122da2dd77bf4
8ceb6d592e9cc0d295d9ea1035258d8719aec531
/env2/lib/python2.6/site-packages/easy_thumbnails/tests/test_aliases.py
6e6e39335f7bcaaf845b300b09ce73b05895c0a4
[ "MIT" ]
permissive
arminakvn/follow-the-money
f0f31db93d9e982693d176d0fea9690c0663769f
4a1189c2f1eb8cb7719f2cbe246b9d1889cc077e
refs/heads/master
2021-01-18T11:17:34.149530
2016-06-24T21:35:25
2016-06-24T21:35:25
61,913,504
0
0
null
2016-06-24T21:32:05
2016-06-24T21:32:05
null
UTF-8
Python
false
false
9,368
py
from django.db import models from easy_thumbnails import files, fields, signals, signal_handlers from easy_thumbnails.alias import aliases from easy_thumbnails.conf import settings from easy_thumbnails.tests import utils as test class Profile(models.Model): avatar = fields.ThumbnailerField(upload_to='avatars') ...
[ "lela.prashad@gmail.com" ]
lela.prashad@gmail.com
cc93e301bc678a6a199d83efb5899ccbbc6ccf8a
9e8082e6db0d45ffa82b20f2d8e824b403dbe89b
/PythonCode/ReconstructedCTImage/FDK.py
a9bb9e97d2ed596a63f8932d4427519af198106b
[]
no_license
Nuelab/2018-2021.CTMachine
0f5f5d2f1b078b865773a4fe864ed31d352a8eb0
c0e765e8907ae565943c438a09e693baec341b7f
refs/heads/master
2023-03-12T07:20:14.595978
2021-02-27T04:23:05
2021-02-27T04:23:05
342,763,078
0
0
null
null
null
null
UTF-8
Python
false
false
7,167
py
from __future__ import division import numpy as np from os.path import join import astra import cv2 from time import time import os import glob from scipy.ndimage import gaussian_filter from scipy import ndimage, misc from matplotlib import pyplot as plt import itk ''' DEFINE USER FUNCTION TO READ THE RAW I...
[ "hungbuitien19081997@gmail.com" ]
hungbuitien19081997@gmail.com
f128a80c971ea8feea6775c66d92fc9810d37f4c
49b9f32b339756235388538ccfb88df43d15f9f2
/batteryChecker.py
692cb7a6be1ad6e3965d968c129d65a1d3a2e1c0
[]
no_license
AmitNaik07/Battery-Checker
c23b595a739438bb3148a6cfa418a85a11b2b5f4
b45c700d29489b45ef87be43ae81a37ec5a5453a
refs/heads/master
2020-04-17T08:13:08.226174
2019-01-21T04:53:52
2019-01-21T04:53:52
166,403,222
1
1
null
2019-04-04T19:15:55
2019-01-18T12:41:33
Python
UTF-8
Python
false
false
607
py
from pync import Notifier import subprocess #checks to see if the state of the battery is in dischage mode. status =subprocess.Popen('pmset -g batt | grep -c "discharging"', shell=True, stdout=subprocess.PIPE).stdout #checks the battery level. rem =subprocess.Popen('pmset -g batt | grep -Eo "\d+%" | cut -d% -f1', shel...
[ "noreply@github.com" ]
noreply@github.com
fd1eda994a5946b9573b801a1fe5eb3c83aeaa90
cdc7e1fe79c391d8ad4f077d3cf1d5e0c34c44ea
/main/apps/books/urls.py
bfc25d7c39c39f93aa5c32bdaa8533b63590c582
[]
no_license
MovinTarg/Belt-Reviewer
b76aa4085b366d298f107e5f9ebfe7df4d85be0d
42a3791039db21aa27f6bdc5914110be8de6b965
refs/heads/master
2021-04-15T06:09:51.797064
2018-03-27T15:01:38
2018-03-27T15:01:38
126,205,257
0
0
null
null
null
null
UTF-8
Python
false
false
335
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.index), url(r'^add', views.add), url(r'^create', views.create), url(r'^(?P<book_id>\d+)$', views.books), url(r'^(?P<book_id>\d+)/review$', views.review), url(r'^(?P<book_id>\d+)/delete/(?P<review_id>\d+)$', vi...
[ "pbianchi192@gmail.com" ]
pbianchi192@gmail.com
3e1ce899028eee65f24efadd5aa449e49829f53a
0dc7a167eb567f14cef6435fda92e922884d788c
/webapp/webshop/apps/user/views/cart.py
81b85b46313a2f7d3084428b7b32486c0f1153c7
[]
no_license
MartinPeschke/webshop
570283885d602a1ac56a7cb131368497b6f2dd9f
3f1bd898654cd621f2cf17d211435d207338582a
refs/heads/master
2021-01-20T12:11:27.216914
2015-01-04T19:57:26
2015-01-04T19:57:26
28,784,279
0
0
null
null
null
null
UTF-8
Python
false
false
2,069
py
from django.core.urlresolvers import reverse from django.http import HttpResponseNotAllowed, HttpResponseRedirect from django.shortcuts import render_to_response from django.template import RequestContext from django.template.loader import render_to_string from webshop.apps.contrib.cart import Cart from webshop.apps.c...
[ "martin@per-4.com" ]
martin@per-4.com
fb65b5e1b09fd62086064f29b0f8154cb3a9520e
2a7acf423403e40851d2859aaf611cf5fe914509
/wilson/run/wet/__init__.py
f3aac122ec695489710026a471dc56c1f0126bde
[ "MIT" ]
permissive
jasonaebischerGIT/wilson
69bb22f516068ed58e9f150703c966a885477237
3a1a8aff2de72475b3ac09095195a19350c2e009
refs/heads/master
2020-03-26T22:04:50.969989
2018-08-20T12:52:05
2018-08-20T12:52:05
145,430,229
0
0
null
2018-08-20T14:41:26
2018-08-20T14:41:26
null
UTF-8
Python
false
false
165
py
"""Renormalization group running of Wilson coefficients in the weak effective theory.""" from . import rge from . import parameters from .classes import WETrunner
[ "david.straub@tum.de" ]
david.straub@tum.de
5eecc9ffa026a192bd44b6ef958b4fdc96f89f9b
b7735fb00f87c94e7b3d3711a5d526dd4eacc2be
/run_keras_server.py
2c8f284a88b712eaa76001912933c9a26e2c2bfd
[]
no_license
abhiishekpal/Project_cervical
e7e25e8491272b6121a401ea04a14b3b144fbb24
d1e1da48e0e17d122744d240bdada2fd5f7e66f8
refs/heads/master
2020-03-29T14:35:30.084933
2018-09-23T20:53:50
2018-09-23T20:53:50
150,024,585
0
0
null
null
null
null
UTF-8
Python
false
false
2,891
py
from flask import Flask app=Flask(__name__) @app.route('/sample') def running(): return 'Flask is running' running() # # USAGE # # Start the server: # # python run_keras_server.py # # Submit a request via cURL: # # curl -X POST -F image=@dog.jpg 'http://localhost:5000/predict' # # Submita a request via Python: #...
[ "knot15a@gmail.com" ]
knot15a@gmail.com
87f42d2f2375eeba3009f107248a166b348cf3c5
5f3cc54074b040f2b06d587db75088d96fac38f9
/adlist/ads/migrations/0001_initial.py
c6931e2dd81df0fca331dcea76ff6cdd7371b3b0
[]
no_license
eabouk/SI364
d1e93d85dc42bf85d4f4037cb7f485f4500e58f3
18c2bc49b3d78585912091116a0bec9e3429757a
refs/heads/master
2020-04-16T14:57:50.777318
2019-04-19T14:23:31
2019-04-19T14:23:31
165,686,066
0
0
null
null
null
null
UTF-8
Python
false
false
1,015
py
# Generated by Django 2.1.7 on 2019-03-25 17:01 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...
[ "eabouk@umich.edu" ]
eabouk@umich.edu
ae36260d8b766ca11b865f91162ae29249dc166e
7b9b8ec972b205c061f43c8cc42cddde4ba449f1
/testingError.py
2d9cdc925aa57a97873f3904b5162628c4bbf889
[]
no_license
RosiePuddles/Image_Recognition
752b3196d91659fb224a2c00629c46a51addf16a
c2799478f41b4347d0725876ddd5fb54ce703c26
refs/heads/master
2023-03-11T16:04:34.079836
2021-03-04T20:24:05
2021-03-04T20:24:05
326,412,979
1
0
null
null
null
null
UTF-8
Python
false
false
559
py
from random import randint import traceback import RPi.GPIO as GPIO def __init__(): GPIO.setmode(GPIO.BCM) [GPIO.setup(i, GPIO.OUT) for i in [26, 19, 13]] def off(): [GPIO.outout(i, False) for i in [26, 19, 13]] def on(i): off() GPIO.outout(i, True) def functionToRun(): a = [randint(0, 2...
[ "rosiegbartlett@gmail.com" ]
rosiegbartlett@gmail.com
c4d81281a2fd41baedcc475d64b5f500b67aeb39
91e9bb994962c9457114ff9dc3451c87fd825e74
/main.py
5c35fae8f78b24dc135d9dcb6a8f0f27f9cd4796
[]
no_license
jenkins85/cafago
4c617b48c6b92218a4a4cb889838e5d43a7e22f5
1e74d7cb7c573409789d6572837de9eb1fd222e3
refs/heads/master
2020-07-10T06:54:45.436463
2019-08-24T18:42:34
2019-08-24T18:42:34
204,198,160
0
0
null
null
null
null
UTF-8
Python
false
false
832
py
#!/usr/bin/env python # # Copyright 2007 Google Inc. # # 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 o...
[ "48911950+jenkins85@users.noreply.github.com" ]
48911950+jenkins85@users.noreply.github.com
3f5558073db52ebd7d4b613fe62fe6243b35f4a1
6b4995ee1ccfe6fc3717472691f8355f07911e27
/Task5- all exercises.py
69ee159dbbd72112c0b80e58e89c68902f5d54eb
[]
no_license
Vahi-vai/python-bootcamp
d8a1763eb76a35cc9327db9172c0a09f60111a41
ca56b515bd78b50945ee534fd5b8b9fdbbb19dc9
refs/heads/main
2023-06-07T02:47:40.012586
2021-07-11T04:30:52
2021-07-11T04:30:52
376,225,006
0
0
null
null
null
null
UTF-8
Python
false
false
632
py
# Exercise 1 n = int(input("Enter the number of integers: ")) c = list() for i in range(0 , n): a = int(input("Enter number")) c.append(a) print(c) d = int(input("Enter a number to add in the list:")) c.append(d) # adds am item print(c) c.remove(c[3]) #removes an item print (" List after deleting an...
[ "noreply@github.com" ]
noreply@github.com
a8f10e3ddfda06e48d6ace2d0724861e85dc1285
48b199da66b48b0274c63d35dd2a5c55e26d6b73
/venv/Scripts/pip3.7-script.py
063a86ab26708b7f80e4e9e6a059bad34d8a11d2
[]
no_license
warrenlam666/SISE_Schedule
36b03a4024baf6f0eb8d8467c044d5a19b909ade
3f53cd72c42c4ef5c38d4c3a9987bf95131581e4
refs/heads/master
2022-11-06T11:29:39.725888
2018-12-24T12:52:07
2018-12-24T12:52:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
#!C:\Users\jacky\PycharmProjects\lab1\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3.7' __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...
[ "1181359703@qq.com" ]
1181359703@qq.com
ef002309b9b9c3f498706d9386d2ca3d649cf784
8745adb4191c3275acf31371baac807e5d2b26d7
/tests/test_tutorial/test_custom_response/test_tutorial006.py
2a90568c46f7501b63a41c2bcb0446f1bb27d10b
[ "MIT" ]
permissive
mizzsugar/fastapi
df00aa7879e3d084133395f1a8f280d9f1e74f7f
fd99dfc95b4501d7cd3d0d8aae0dcdbba9ebb527
refs/heads/master
2021-05-23T09:24:58.635670
2020-04-04T20:38:17
2020-04-04T20:38:17
253,220,037
0
0
MIT
2020-04-05T11:35:42
2020-04-05T11:35:41
null
UTF-8
Python
false
false
301
py
from fastapi.testclient import TestClient from custom_response.tutorial006 import app client = TestClient(app) def test_get(): response = client.get("/typer", allow_redirects=False) assert response.status_code == 307 assert response.headers["location"] == "https://typer.tiangolo.com"
[ "noreply@github.com" ]
noreply@github.com
ffb729a9c9bc98158b029d00934d6d6fe7adc21b
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_6/clsher003/question1.py
058ec829adfcae2ed83764f5753353af704e4d03
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
667
py
"""program to print a list of names right-aligned herman claassens 20 april 2014""" names=[] lengths=[] name = input ("Enter strings (end with DONE):\n") #get names while name != "DONE": #sentinel to stop loop names.append (name) #add length of names and names to 2 empty lists lengths.append(len(name)) name =...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
30ba3ce923922fc5e2e2b1e6c34a6a556398c796
b3d335f6719f22df785ee0505179099f5679c2b2
/app/core/models.py
26839e9266b599355df77a18cf723508f6bea7e9
[ "MIT" ]
permissive
martijnschut/recipe-app-api
c29b6a1b01b7bcfacbf5e8c4c0d22fda2ed97dfd
b5656abeb7af4bb8ae3430fec16e83a6de4422c8
refs/heads/master
2020-12-07T20:26:40.902742
2020-01-13T14:16:37
2020-01-13T14:16:37
232,794,431
0
0
null
null
null
null
UTF-8
Python
false
false
1,242
py
from django.db import models from django.contrib.auth.models import AbstractBaseUser, BaseUserManager, \ PermissionsMixin class UserManager(BaseUserManager): def create_user(self, email, password=None, **extra_fields): """Creates and saves a new user""" if ...
[ "jenkins@localhost.localdomain" ]
jenkins@localhost.localdomain
321864d35d43cf9a53ef3698d0b56fb84e6bdada
50dcf543d5d9963f939e5a9cc9bd5c9473d9346e
/ode_data_access/chunk_processor.py
5b9a55bb8f752ae76f6a0e8f1e626c9076b0e8f6
[ "MIT" ]
permissive
Sumbul-Z/mars-ode-data-access
1e329a693793cf530f7556f19230e10c2f4315ff
426d2c22e56b0c58f7f275d848d22d1e0a2786ec
refs/heads/master
2020-06-05T19:52:00.099632
2019-06-16T05:38:42
2019-06-16T05:38:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,205
py
import matplotlib.image as mpimg import cv2 import rasterio from ode_data_access.image_utils import view_as_blocks, is_black, align_and_crop import os import numpy as np from tqdm import tqdm class ChunkProcessor: def write_result_blocks(self, result_blocks, window, product_name, chunk_size, save_dir=...
[ "samir.sheriff@sap.com" ]
samir.sheriff@sap.com
8487427299aa773638854c89bd6c7a52d9c6911c
8e90afd3f0dc945d9ebd6099a60094807c0067cf
/Kangho/BOJ_5107.py
a2c59908815b329dfa70f1dcc376d6f3bcb44cb4
[]
no_license
Deserve82/KK_Algorithm_Study
ffa109e02f1c9297597c9e07c7c3006628046740
d3ec01b66d6e3852b7d68adaa8ba87c7e9617e24
refs/heads/master
2021-11-10T00:23:30.711422
2021-10-23T02:37:04
2021-10-23T02:37:04
231,358,800
0
1
null
null
null
null
UTF-8
Python
false
false
1,435
py
answer = 0 count = 1 def bfs(g): global answer answer = 0 for i in range(n): for j in range(n): if g[i][j] == 1: g[i][j] = 0 g[j][i] = 0 que = [j] answer += 1 while que: haha = que.pop(0...
[ "inth8204@gmail.com" ]
inth8204@gmail.com
f1d7b30832e3ae6aa50340561d93297228bc9f3c
87daea58b4b1481160eb6a26c58bca0de6533fb8
/salt/modules/etcd_mod.py
09d4ebadc4e9928ed34bea52747cf4ea02b66344
[ "Apache-2.0", "BSD-2-Clause", "MIT" ]
permissive
getlantern/salt
4640cf1606d4401c1fba21dfd0464142c7b753a2
201008b35d799bee5c33e4060241a21e08661def
refs/heads/develop
2023-08-30T13:23:14.966320
2014-05-22T22:48:19
2014-05-22T22:48:19
15,692,073
0
2
NOASSERTION
2023-09-06T17:29:20
2014-01-07T01:39:20
Python
UTF-8
Python
false
false
3,398
py
# -*- coding: utf-8 -*- ''' Execution module to work with etcd :depends: - python-etcd In order to use an etcd server, a profile should be created in the master configuration file: .. code-block:: yaml my_etd_config: etcd.host: 127.0.0.1 etcd.port: 4001 It is technically possible to configure etcd...
[ "perlhoser@gmail.com" ]
perlhoser@gmail.com
4a3b642aefda05eb2ed1f7020faed54e66df2bdf
b1e7481f8b5bf40c2547c95b1863e25b11b8ef78
/Kai/crab/NANOv7_NoveCampaign/2018/crab_script_2018_ttH.py
76504d01e37e6360bba59196ac915557b5272147
[ "Apache-2.0" ]
permissive
NJManganelli/FourTopNAOD
3df39fd62c0546cdbb1886b23e35ebdc1d3598ad
c86181ae02b1933be59d563c94e76d39b83e0c52
refs/heads/master
2022-12-22T22:33:58.697162
2022-12-17T01:19:36
2022-12-17T01:19:36
143,607,743
1
1
Apache-2.0
2022-06-04T23:11:42
2018-08-05T11:40:42
Python
UTF-8
Python
false
false
6,811
py
#!/usr/bin/env python import os, time, collections, copy, json, multiprocessing from PhysicsTools.NanoAODTools.postprocessing.framework.postprocessor import * from PhysicsTools.NanoAODTools.postprocessing.framework.crabhelper import inputFiles,runsAndLumis from PhysicsTools.NanoAODTools.postprocessing.modules.common.p...
[ "nicholas.james.manganelli@cern.ch" ]
nicholas.james.manganelli@cern.ch
bb998af8934c9a0972a532cc39958f59698e3f40
ab3ce5ec371bbd069843e93eaebe3aad5b98e9d2
/my query/Python_postgre_sql/movies/database.py
c8e22877c315631adf901764e2d721242638f97e
[]
no_license
katlehotsopane/SQL2
d947012cae4fa2131a253944d81b0d48ba8e5f10
58379214c3244ba466fb02e7f12f4a907debb676
refs/heads/main
2023-07-03T12:31:19.589899
2021-08-05T19:14:13
2021-08-05T19:14:13
393,133,909
0
0
null
null
null
null
UTF-8
Python
false
false
3,038
py
import os import datetime from sqlite3 import Cursor import psycopg2 from dotenv import load_dotenv load_dotenv() CREATE_MOVIES_TABLE = """CREATE TABLE IF NOT EXISTS movies ( id SERIAL PRIMARY KEY, title TEXT, release_timestamp REAL );""" CREATE_USERS_TABLE = """CREATE TABLE IF NOT EXIS...
[ "noreply@github.com" ]
noreply@github.com
2698b7e7db63e9abc2e259ba8f01871c5bfa5c37
6580ba5d135c4f33f1a0996953ba2a65f7458a14
/applications/ji163/models/fdform_wysiwygform1.py
54e1fd5f02d7e21ac0e8aab90e4b44d6f2322cd6
[ "MIT", "LicenseRef-scancode-public-domain" ]
permissive
ali96343/facew2p
02b038d3853691264a49de3409de21c8a33544b8
a3881b149045e9caac344402c8fc4e62edadb42f
refs/heads/master
2021-06-10T17:52:22.200508
2021-05-10T23:11:30
2021-05-10T23:11:30
185,795,614
7
0
null
null
null
null
UTF-8
Python
false
false
105
py
db.define_table( 'dform_wysiwygform1', Field( 'f0', 'text', label= 'f0' , default= 'w2p f0'), )
[ "ab96343@gmail.com" ]
ab96343@gmail.com
849897ffc7915d84e2c753903d8584dd267af86f
8a707aacc9ecd999cb2a996f91a718ce02f6205c
/leetcode/NumberOfIslands.py
a8c08e7412b2a4e767cc89e90660e0e07469baaf
[]
no_license
seeyarh/interview-prep
e074f68f1c1c05b9ab0911f30b13dad69c7bbfb8
1af5f79ed9dcf334d2758e14a9c08e7880246a4f
refs/heads/master
2022-03-13T12:26:59.441211
2019-11-14T19:35:31
2019-11-14T19:35:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,488
py
''' Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacent lands horizontally or vertically. You may assume all four edges of the grid are all surrounded by water. Example 1: Input: 11110 11010 11000 00000 Output: 1 Exam...
[ "collinsrhuffiii@gmail.com" ]
collinsrhuffiii@gmail.com
1eec8b389e432b89c9f3dc329f854dc8655c5be7
828c990f52678463cf2ad131dd5fb148b27a456e
/pythontest/demo.py
baec58ac80f74d07d6461895b400f71f2d4bd42d
[]
no_license
yihanzhang9601/testZhang
d055ba5524a7eef4e1e32ab4508ff6bf862c397b
f10ece02fba4680e5115950f50efecb0a21cb1f7
refs/heads/master
2020-03-17T23:36:58.835121
2019-07-09T10:12:07
2019-07-09T10:12:07
134,040,160
0
0
null
null
null
null
UTF-8
Python
false
false
434
py
#!/usr/bin/env python37 # -*- coding:UTF-8 -*- # n = 0 # for i in range(1,101,2): # n =i+n # # print("那就是",n) # def shouzimudaxie(x): # return [i.title() for i in x] # def shouzimuxiaoxie(x): # return [i.lower() for i in x] # def gaojie_diaoyongszmdx(c,x): # return c(x) # # n = input("输入文件名(注意格式!):"...
[ "17701356462@163.com" ]
17701356462@163.com
4ff46fa330fe84aa19d774d596b8e135bedc7d47
d28eceef81890020ad0b7b31634fd91406231389
/src/OTC/api/permissions.py
d96d08fe83c8b0c1cf54d5ef3651b1e743039bad
[]
no_license
Jone2018/TradingCenterProject
638f52e44aad9dddbb352ddffa68250b658b7e84
b34d06ff01509b5ef65b1206deae1b6632695141
refs/heads/master
2021-04-26T23:31:20.834960
2018-03-05T12:40:43
2018-03-05T12:40:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
691
py
from rest_framework import permissions class IsOwnerOrReadOnly(permissions.BasePermission): """ Object-level permission to only allow owners of an object to edit it. Assumes the model instance has an `owner` attribute. """ def has_object_permission(self, request, view, obj): # Read permis...
[ "dora1234" ]
dora1234
36d3eabf1a379daea54d9f996723fcf2231dcf2b
51727c2c489e8da3365da130a2509880d10b56bb
/utils/token_utils.py
72cd62f7f497900366a994d294b2160fe2e25be8
[]
no_license
Demon000/odomu-server
e9b98904c5b1105e6015bdea50c9cfc624305119
c6c54e37a92e9d6f8c4cdfe5e893cc340687ca35
refs/heads/master
2023-02-14T21:08:19.996100
2021-01-12T01:05:59
2021-01-12T02:38:16
325,370,438
0
0
null
null
null
null
UTF-8
Python
false
false
806
py
from calendar import timegm from datetime import datetime from enum import Enum from utils.errors import JWTAccessTokenNotFresh class TokenType(Enum): ACCESS = 'access' REFRESH = 'refresh' def verify_fresh_token(decoded_token: dict): fresh = decoded_token['fresh'] if isinstance(fresh, bool): ...
[ "demonsingur@gmail.com" ]
demonsingur@gmail.com
fa12ebc6ab2c03a4a16bc67eb19f06e3eddede87
ca662cce161786452335a0bc72a2fa50b4af3278
/menuapp/admin.py
04b522a84ca9777aa8e9454b7b622477a316fdde
[]
no_license
karimdigdanian/menu
b2fe7febe0d9bee5576a0828aa4f698e94648bcf
cfc913950f71d445b8351fc06684f221129cbd44
refs/heads/main
2023-04-09T22:23:11.142708
2021-04-23T20:58:34
2021-04-23T20:58:34
352,494,804
0
0
null
null
null
null
UTF-8
Python
false
false
431
py
from django.contrib import admin from .models import Plato, TipoDePlato, Ingrediente class PlatoAdmin(admin.ModelAdmin): fieldsets = [ (None, {'fields': ['nombre', 'precio', 'publicacion']}), ('Detalles del plato', {'fields': ['tipo','ingredientes']}), ] filter_horizontal = ('ingredientes'...
[ "kardigda@gmail.com" ]
kardigda@gmail.com
7c81d00fbf43385d11eef21190be1edc10e705d3
9f417a95f5807dd845f9461b0e52bf2a10d942e8
/ASR_code/manifest.py
57ca9dfbab5cf462c12266844f005e52fcace833
[]
no_license
liuziyi219/Chinese-pipeline
4e2dd9298527e2cc47ff77fbc61c21ffdfa4d070
843c0b84ecd7d0fcd709a9244eb350dd0aabd9d1
refs/heads/master
2020-05-22T21:24:26.422638
2019-09-02T03:33:19
2019-09-02T03:33:19
186,525,117
3
0
null
null
null
null
UTF-8
Python
false
false
1,693
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import sys reload(sys) sys.setdefaultencoding("utf-8") import os import codecs import soundfile import json import argparse parser = argparse.ArgumentParser(description=__doc__) parser.add_argument( "--ta...
[ "noreply@github.com" ]
noreply@github.com
b414ecc9e90aced733cec944bf25eaf36b97ede8
03f22cb0d1be9d421005a936a8987c2f65315cb7
/dataMap/data_map.py
b44c0f2515fb80b3feee870656085aaba0bc497a
[ "Apache-2.0" ]
permissive
ZhaoKangming/Data_Tools
8164bf7bc74cbdeda0e1668b0845c9614cce9e11
f5140c46fc0e0951974dfcab7915817d28fe958e
refs/heads/master
2022-07-28T15:08:13.396609
2020-05-25T05:46:04
2020-05-25T05:46:04
262,208,858
0
0
null
null
null
null
UTF-8
Python
false
false
151
py
def generate_data_ChinaMap(region_type: str, data_dict: dict): ''' Function: 接收存储地区及数据的字典生成数据地铁 '''
[ "42536276+ZhaoKangming@users.noreply.github.com" ]
42536276+ZhaoKangming@users.noreply.github.com
8a29fbbc0d21f80676a8a31580f23a9ba82b436f
67e817ca139ca039bd9eee5b1b789e5510119e83
/Tree/[513]Find Bottom Left Tree Value.py
5cf34543823e4cd690e030e1dfef7c0be0d33d34
[]
no_license
dstch/my_leetcode
0dc41e7a2526c2d85b6b9b6602ac53f7a6ba9273
48a8c77e81cd49a75278551048028c492ec62994
refs/heads/master
2021-07-25T21:30:41.705258
2021-06-06T08:58:29
2021-06-06T08:58:29
164,360,878
0
0
null
null
null
null
UTF-8
Python
false
false
1,201
py
# Given the root of a binary tree, return the leftmost value in the last row of # the tree. # # # Example 1: # # # Input: root = [2,1,3] # Output: 1 # # # Example 2: # # # Input: root = [1,2,3,4,null,5,6,null,null,7] # Output: 7 # # # # Constraints: # # # The number of nodes in the tree is ...
[ "dstch@163.com" ]
dstch@163.com
1d4b3a710240be939a3d1f4ebcfa5343552bf901
e56fa4fd25934623d12d4bb2f61d1037b7faffaa
/eche.py
6a71cbbd17e74aabedf1cba86df4936d35e362f7
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
skk/eche
001902390961b815ce3f6f6d594312b81be58f10
5618a054f8e06904ca35117a53ea090c761b911c
refs/heads/master
2021-01-20T00:09:03.391234
2017-06-30T02:32:34
2017-06-30T02:32:57
89,085,286
0
0
null
2017-06-30T01:25:19
2017-04-22T16:56:40
Python
UTF-8
Python
false
false
680
py
#!env python """Eche - a simple, lisp like language. Usage: eche [FILE ...] eche (-h | --help) eche --version Options: -h --help Show this screen. --version Show version. """ import sys import pathlib from docopt import docopt sys.path.append(str(pathlib.Path('.').joinpath('eche'))) impor...
[ "steven.knight@cashstar.com" ]
steven.knight@cashstar.com
c0cf17d3b676ade7bc8ea80488a35232b0ff16ff
08803ef3a43224472e38706beb1f1238d7d90036
/Programas/08.py
e7d45880cbf503925ab88376dc619f8fa73b187c
[]
no_license
316328021/TallerdeHerramientasComputacionales
76c0bff27560c36fcd8ea014b7202f31a6159f90
132014ebafd29cd3e5c3bef1ba710ebdc4973008
refs/heads/master
2020-04-16T00:30:27.541786
2019-02-13T00:21:56
2019-02-13T00:21:56
165,141,261
0
0
null
null
null
null
UTF-8
Python
false
false
718
py
#!/usr/bin/python2.7 # -*- coding: utf-8 -*- """ Brenda Paola García Rivas 316328021 Taller de Herramientas Computacionales Lo que se nos explicó el miércoles de la segunda semana """ x = 10.5;y = 1.0/3;z = 15.3 #x,y,z = 10.5, 1.0/3, 15.3 Otra forma de ponerlo H = """ El punto en R3 es: (x,y,z)=(%.2f,%g,%G) """ %...
[ "brendagr00@ciencias.unam.mx" ]
brendagr00@ciencias.unam.mx
8c952b64af71a1c28618038aeab023cfcdf2d4bc
1219e1032701666bf40fbefbd971c3357e3f606f
/main.py
511764622d5464d80ed78dd58f56f46ec211f805
[]
no_license
jamezroux/Roux-GoG-Bot
4673e8fefc48ea98174722f944739d70aaae6de6
bd1c1b1c8963500b8798dbdffca09c0c51e90fc4
refs/heads/master
2020-04-13T01:08:43.732633
2018-12-24T01:58:27
2018-12-24T01:58:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,234
py
import discord from pprint import pprint import json # # This is where I will import the modules for each dataset as they're made # import modules.database as database from modules.research import get_data with open('keys.json') as keys: keys = json.load(keys) TOKEN = keys["bot_token"] client = discord.Clien...
[ "B1ood6od@gmail.com" ]
B1ood6od@gmail.com
9fbabc35a2b7e21e9a448b7e316ad75e25806738
0342e6fdb25cf02d2c3454c2e854affb18398455
/蒙特卡洛方法MC/Gold_coin_Env.py
24d5c4c25f11e0b47b4ef04df41b975a4107acb5
[]
no_license
edwardapril0127/RL
55153cf033f9472e49d85793bebcf0fd82aa4749
bf073011e991e8ad7a6e964510e9d92942e8666c
refs/heads/master
2021-10-11T13:03:30.711882
2019-01-26T03:17:40
2019-01-26T03:17:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,264
py
import pygame import gym from gym.envs.classic_control import rendering import random import time class Gold_coin_Env: def __init__(self): # S,A,P,R,GAMMA self.states = [1, 2, 3, 4, 5, 6, 7, 8] self.actions = ['e', 'w', 's', 'n'] self.R = dict() self.R['1_n'] = -1.0 ...
[ "noreply@github.com" ]
noreply@github.com
543c3baf27b384ad42510e240f7299f7e95b64b4
e0de9f380643f2848f1d41736ff7745884d1bfd6
/_27wproject/issue/urls.py
74d0be2bdf8a9360484fa32e6d290ad71486ea86
[]
no_license
Hyeonjiwon/27W-CLASS
c64cf99f4aaf919b07d537c30f157083dab80a97
043104ab85cbe1d34abfcab086425bc464d7e6da
refs/heads/master
2022-06-19T18:25:08.105012
2020-05-06T05:58:30
2020-05-06T05:58:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,493
py
"""_27wclass 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') Class-...
[ "craft1933@naver.com" ]
craft1933@naver.com
f166493218546f73d8176e429f04b210227fff98
117cc9b6f9dcbfe52027b9121d3c4af58ff5a5c9
/more.py
0c1f757ff3052dffc5c480f642aa4105d5b54c23
[]
no_license
navya0071/Python
2423f58e3e66743e2eb9e8eb8a1de13a7610b51f
dfb27f4b6d19598ddc02e32b66b1fd27b87afc2f
refs/heads/master
2020-06-19T13:53:04.092471
2019-09-20T09:51:41
2019-09-20T09:51:41
196,733,425
0
0
null
2019-09-20T09:46:03
2019-07-13T14:54:48
Python
UTF-8
Python
false
false
599
py
#ex5.py my_name = 'Zed A. Shaw' my_age = 35 #not a lie my_height = 74 #inches my_weight = 180 #lbs my_eyes = 'Blue' my_teeth = 'White' my_hair = 'Brown' # 'f' stands for format string. print(f"Lets talk about {my_name}") print(f"he's {my_height} inches tall.") print(f"He's {my_weight} pounds heavy") pri...
[ "noreply@github.com" ]
noreply@github.com
e74b9dbd6a7b6ca1128329d36dbce5b4e0121726
b614df1bd95a8155f3c03f5c762034b486c86a40
/api/app.py
f1364f888c9f881b01d80701898e8b8703d34e49
[]
no_license
cxmorris/taskbox
d84511acc3480a6c9d6c04d674bb7df147784f5b
497e331afd73636c7805a277632d28e3a8b1015d
refs/heads/master
2023-01-22T14:04:29.115711
2020-12-08T06:41:35
2020-12-08T06:41:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,925
py
import sqlite3 import types from datetime import date from flask import Flask, request, session import json app = Flask(__name__) app.secret_key="_.xfbgY.xca.xba.x91E}.xe7.x91).xb1.x8a.xb0" @app.route('/') def default(): return {'caption': "hello, world!"} # route to check if user is logged in @app.route('/auth...
[ "51543957+IshaSangani@users.noreply.github.com" ]
51543957+IshaSangani@users.noreply.github.com
70eca5829bb40ce935bfda66e1cf2a4c02830ade
fa259bfe4f9220a70c105cd68e93e53aa0064ab8
/03 - Expressies/HelloWorld.py
9606bd890913a8f7b4c0442819f6a891df2d9dae
[]
no_license
femkepiepers/Informatica5
427b1d189f33f2e9761a45492178a7c17657efd8
9b6d870cd3f80307132b898f9344d4b45b611a31
refs/heads/master
2021-06-28T22:35:17.021932
2019-05-23T08:03:28
2019-05-23T08:03:28
147,637,112
0
0
null
null
null
null
UTF-8
Python
false
false
25
py
print('Hello World, xxx')
[ "43027739+femkepiepers@users.noreply.github.com" ]
43027739+femkepiepers@users.noreply.github.com
faf91a0a2d0ea0f770cb489ed0135db79f860080
a006a79956c3ddcc49782792564d75fde40dc48d
/Tracks/Data-Scientist-with-Python/01-Introduction-to-Python/3-Functions-and-Packages/list-methods.py
c096e429019515f47caea3d55855a729b8b4c4e6
[]
no_license
iliasskgr/DataCamp
92417aa5e309afb7f7ead971ccb3cc04c7a7861e
36a34057efef1635012b51924c3362390a2f7d69
refs/heads/master
2023-08-21T18:17:04.068777
2020-08-10T19:28:11
2020-08-10T19:28:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
942
py
''' List Methods 100xp Strings are not the only Python types that have methods associated with them. Lists, floats, integers and booleans are also types that come packaged with a bunch of useful methods. In this exercise, you'll be experimenting with: index(), to get the index of the first element of a list that ...
[ "noreply@github.com" ]
noreply@github.com
155399f2871afa4c548d77d8f528e246125b76ae
b0e66db67b34b88e7884aa9b4a7b7607bbe9651b
/rules/d20/pf2/ability/system.py
e56d977f3fd7be71d7c79acc5955a447368cf112
[]
no_license
cole-brown/veredi-code
15cf47c688c909b27ad2f2f3518df72862bd17bc
8c9fc1170ceac335985686571568eebf08b0db7a
refs/heads/master
2023-04-22T03:21:10.506392
2021-05-01T19:05:10
2021-05-01T19:05:10
296,949,870
1
0
null
null
null
null
UTF-8
Python
false
false
10,723
py
# coding: utf-8 ''' D20 Ability System for the Game. Handles: - Ability stuff. Strength, strength modifiers, strength checks... - Just strength. Open doors the aggressive way. ''' # ----------------------------------------------------------------------------- # Imports # ----------------------------------------...
[ "code@brown.dev" ]
code@brown.dev
a92fa7c07cd12baeeb74c5518d039a1c5a6fbeff
845c02934b4fcb6cb28e37103c3e426c410c9892
/Lecture-03/ConnectDB.py
64afbf3902ca0b3115a9b6afca40e57d70cf1084
[]
no_license
wongsapat-pr/AdvancedWeb
56a8c29eed80a2e0f9160383b5c6ec5df3b0ab03
24ef83760363f20b4dd51c1ea31ccf60a38d65f2
refs/heads/main
2023-04-17T19:42:15.780863
2021-05-04T15:49:56
2021-05-04T15:49:56
326,877,430
0
0
null
null
null
null
UTF-8
Python
false
false
948
py
import psycopg2 try: connection = psycopg2.connect(user="webadmin", password="FFGqce84823", host="10.100.2.174", # host="node8579-advweb-12.app.ruk-com.cloud", port="5432", ...
[ "wongsapat.pr@gmail.com" ]
wongsapat.pr@gmail.com
c1673e0a39eae6736f2cf4df60bc1e6d3132df78
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/testData/keywordCompletion/yield.after.py
b433c053cd2b1fe722c3e70664bfbf5a72d6c529
[ "Apache-2.0" ]
permissive
JetBrains/intellij-community
2ed226e200ecc17c037dcddd4a006de56cd43941
05dbd4575d01a213f3f4d69aa4968473f2536142
refs/heads/master
2023-09-03T17:06:37.560889
2023-09-03T11:51:00
2023-09-03T12:12:27
2,489,216
16,288
6,635
Apache-2.0
2023-09-12T07:41:58
2011-09-30T13:33:05
null
UTF-8
Python
false
false
29
py
def foo(): yield <caret>
[ "yole@jetbrains.com" ]
yole@jetbrains.com
b4b9f4802a7b1e3c514023f0dd5671feddc253ca
3bc523fcde3d8b74daf287f0b92eab4c3e1d8e7d
/schedules/views.py
1235a36ad5097946e8e0c5b31f89eefba41d4462
[]
no_license
paklam255/passport_project
d181faf2c04106fa788cf4448d588155e33145ee
c0b4206c8e6e43456f5ba9838634b2985a670952
refs/heads/master
2022-10-29T09:35:42.076664
2020-06-18T00:28:40
2020-06-18T00:28:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,345
py
from django.shortcuts import render from .models import Schedule #NOTE: pendingList and scheduleList are the only views I have worked on, # the rest of these only lead to blank templates that extend the base. def index(request): return render(request, 'schedule/index.html') def scheduleList(request): ...
[ "playdoh888@hotmail.com" ]
playdoh888@hotmail.com
775efb4eabd371eb9918dfd2e1a05bb8385ea350
d3efc82dfa61fb82e47c82d52c838b38b076084c
/Autocase_Result/KCB_YCHF/KCB_YCHF_MM/SHOffer/YCHF_KCBYCHF_SHBP_265.py
763c7ad27ec11b0b8bdece028c4d1d7035c16acb
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
3,583
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys sys.path.append("/home/yhl2/workspace/xtp_test//xtp/api") from xtp_test_case import * sys.path.append("/home/yhl2/workspace/xtp_test//service") from ServiceConfig import * from ARmainservice import * from QueryStkPriceQty import * from log import * sys.path.append...
[ "418033945@qq.com" ]
418033945@qq.com
0ddd94314b9764ba7209e5093cab3cebff50ffdf
3ae51d11cb0ffed76628ed194e7de8edaa6c1568
/lib/logicblox/lib/python/lbunit/lb_unit.py
592b09b899f36d83872f08472df99d8bf1163347
[]
no_license
croft/netgen
c10e6c48379d284c8022f7a3b2c626e7863bf748
db567686e37a1bc7932dc663b5742e50ce99f11d
refs/heads/master
2021-03-19T16:23:11.554922
2017-01-24T10:23:13
2017-01-24T10:23:13
106,628,296
0
0
null
null
null
null
UTF-8
Python
false
false
13,302
py
""" Copyright 2013 LogicBlox, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following di...
[ "ssaha6@illinois.edu" ]
ssaha6@illinois.edu
03901966646a65e6c537ecdc2f9da3c7a9a4a3be
ea8294e31f1bcda2f1cbdf32238089a85371e943
/Desktop/AtCoder/ABC/ABC061.py
b8a2376612a4fcdb424d7434c0682b76e8b7e3cc
[]
no_license
kites7483/AtCoder
3e0b7629dbb4165e5461a5390e7a909d7cd239da
5180232cfd28883cc372477521a8f0803201059d
refs/heads/master
2023-06-07T22:29:19.260077
2021-06-29T06:33:05
2021-06-29T06:33:05
298,764,530
0
0
null
null
null
null
UTF-8
Python
false
false
672
py
#ABC061(A〜D) A,B,C 完 #A - Between Two Integers a,b,c = map(int,input().split()) if a <= c and b >= c: print('Yes') else: print('No') #B - Counting Roads n,m = map(int, input().split()) ans = [0 for i in range(n)] for j in range(m): a,b = map(int, input().split()) ans[a-1] += 1 ans[b-1] += 1 for i in range...
[ "poteti908@yahoo.co.jp" ]
poteti908@yahoo.co.jp
0d44f48b1c1f882c991df426abca1467e51dad15
c8d01a1a4f67b7ec6d67588169ceb9abc8d0c985
/CS50x/pset6/sentiments/tweets
ad7fd098e74b921652891f1671d36be1cac2d845
[]
no_license
csouto/samplecode
2f7057016d51373a58df81893b9b8916caf484f9
c91364a272a9091819ee0a45145ed4ccf231e6c8
refs/heads/master
2020-03-29T17:15:06.539112
2019-05-24T16:03:55
2019-05-24T16:03:55
150,152,024
0
0
null
null
null
null
UTF-8
Python
false
false
1,150
#!/usr/bin/env python3 import os import sys import nltk import helpers from analyzer import Analyzer from termcolor import colored def main(): # Ensure proper usage. if len(sys.argv) != 2: sys.exit("Usage: ./tweets username") # Absolute paths to lists. positives = os.path.join(sys.path[0],...
[ "user@MB.local" ]
user@MB.local
a95d63bd44731d74fdd4dfcda3d85c252414db0f
aa39a57fe0413649a3c1088a385811d45eb24356
/numpyTest01.py
920f983fbad80b76343751b1394ab37f6fd093e3
[]
no_license
Gino-Y/pythonProject
0c43137d8fc7bcd9f5a0a66ac6126f83aeec0293
4a3d591ff62050fd252c8569fc0152930e2efc22
refs/heads/master
2023-08-06T04:58:07.341803
2021-09-16T07:48:41
2021-09-16T07:48:41
401,197,132
0
0
null
null
null
null
UTF-8
Python
false
false
210
py
import numpy as np array = np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]]) print(array) print(array.ndim) #维度 print(array.shape) #行列数 print(array.size) #元素数
[ "Gino-Y" ]
Gino-Y
12a1fc3b8e2084188863872b2b97d988ac33c670
1e82a29a7e21738ddfc1852f0cf542abf3c6d999
/app/core/migrations/0001_initial.py
4b2527036434bc8485abed476fd304368b1d1844
[ "MIT" ]
permissive
kacperstasica/recipe-app-api
9ababc9ceac13bc6ed43a595a2918191218b8b6c
5022a0fdabdc1802ce3b31f370a744949e0b41ae
refs/heads/main
2023-04-12T08:22:48.848623
2021-04-29T10:34:19
2021-04-29T10:34:19
356,244,315
0
0
null
null
null
null
UTF-8
Python
false
false
1,709
py
# Generated by Django 2.1.15 on 2021-04-10 16:46 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0009_alter_user_last_name_max_length'), ] operations = [ migrations.CreateModel( name='User', ...
[ "kacperstasica@yahoo.pl" ]
kacperstasica@yahoo.pl
1e01d43d0958c43c524a4c81aba253f7862374d6
380e44f98dc86c601abc186ab6285b9719bd3fd0
/py/igLineProjector.py
9a977a022a748ed3584b3405c92661b73cf40b03
[]
no_license
pletzer/inugrid
b2ada53595963045f202214b25b403feaaa538a7
383bfa5e8b450eda0cbc6bdebf092e81712034e4
refs/heads/master
2021-01-02T23:02:47.039419
2019-06-01T23:48:38
2019-06-01T23:48:38
99,451,385
0
0
null
null
null
null
UTF-8
Python
false
false
8,623
py
import vtk import numpy import math from igBasisFunctionIntegral import BasisFunctionIntegral from igCellLineIntersector import CellLineIntersector class LineProjector: """ Class to compute the projection of a 1-form onto a target line """ # to handle floating point comparisons EPS = 1.2323435e-1...
[ "alexander@gokliya.net" ]
alexander@gokliya.net
b9ac01254d0a992c9d1ef8eb71acdba6ec6e541e
1e5aacb61c07b3c24147b886ec7c70b61ed52037
/lab7/PetriElements.py
82d42007ffc530a36bffa79e79ad15da5fe94d25
[]
no_license
yuliia43/MS
770079cc5e034416637f5edbe66845b8bebebe25
4a047d5e5cf67cc634f144e880e926a59f1262c7
refs/heads/main
2023-01-11T08:01:37.981484
2020-11-11T12:55:19
2020-11-11T12:55:19
306,315,858
0
0
null
null
null
null
UTF-8
Python
false
false
9,687
py
import numpy as np class Place: place_id = 1 min_markers = 100000000000000000000 max_markers = 0 avg_markers = 0 changes_count = 0 def __init__(self, markers=0, name=None): self.__markers = markers self.min_markers = 100000000000000000000 self.max_markers = 0 s...
[ "jshcherbakova@gmail.com" ]
jshcherbakova@gmail.com
20441f77809d4c51f001a990c7d85523e166981a
86935ecbd23814f167b128cca6cfb4674e1a386f
/dashboard/views.py
9d4f17982456e2839c66d2a255477dfe5ea02841
[]
no_license
boiyelove/flask-miniwallet
bebcec2a5df69c15e3fd5049642b47e4145cf6ba
4e8f37826bac8e9987636009cfbfbfe62fa2da1b
refs/heads/master
2022-11-24T22:02:49.255200
2020-07-06T05:50:12
2020-07-06T05:50:12
228,971,165
0
0
null
null
null
null
UTF-8
Python
false
false
9,035
py
import sys import json import logging from flask import render_template, abort, request, Response, redirect, flash, url_for, g, Markup from flask_login import login_required, current_user import miniwalletapp as app from miniwalletapp.config import PAYSTACK_SECRET_KEY as srk from miniwalletapp.models import User, Trans...
[ "daahrmmieboiye@gmail.com" ]
daahrmmieboiye@gmail.com
5cb9304fe64d994d3cae8a92ea7f1ee08d05dd72
18c2f01b0c8a638d23b445c5a29366de3da5ade4
/joystickSteppedMotor.py
afe56cca4abf0ceaa9fa4c96e91cb9ae3094ddac
[]
no_license
kouichiUme/NobyArmIsAFactoryAutomationArm
d4b247822540952843f22f95d8e11e312cd0cbd8
d7dd96f7e2bfebca95b46c829ca75ff791430a62
refs/heads/master
2020-03-27T11:22:39.029179
2018-12-30T15:16:47
2018-12-30T15:16:47
146,482,742
0
0
null
null
null
null
UTF-8
Python
false
false
12,224
py
# -*- coding: UTF-8 -*- import pygame from pygame.locals import * import sys sys.path.append(".") import math import time import threading import SteppedMotor # ステッピングモータ初期化 r X Y Z (半径 10mm) xSteppedMotor = SteppedMotor.SteppedMotor("X",10,12,16,20,21) ySteppedMotor = SteppedMotor.SteppedMotor("Y",10,15,25,8,7) zSte...
[ "kouichiume@gmail.com" ]
kouichiume@gmail.com
5c5e9f2f6ce7d93a893053031026ce9a277c6a81
186605795f8e6ac6e371bd8c6bfa597ba1161339
/Draw/SSAO/SSAO.py
04c600172206c728e1f2ec6142f59b2a7860be0d
[]
no_license
sshyran/natron-plugins
f8d45b711c85f813341397c0160cb1dbc1f4f8e8
f2cccf2101f363d2e5fa3efdf6f005e5efd1647b
refs/heads/master
2023-01-13T19:38:33.991934
2016-09-10T23:24:40
2016-09-10T23:24:40
67,956,004
0
0
null
2023-01-09T16:35:13
2016-09-11T21:43:46
Python
UTF-8
Python
false
false
21,568
py
# -*- coding: utf-8 -*- # DO NOT EDIT THIS FILE # This file was automatically generated by Natron PyPlug exporter version 10. # Hand-written code should be added in a separate file named SSAOExt.py # See http://natron.readthedocs.org/en/master/groups.html#adding-hand-written-code-callbacks-etc # Note that Viewers are ...
[ "noreply@github.com" ]
noreply@github.com
2c188a7afac8812cea9f54aff084465799ff2177
0d6a54010bb5757802415b624de7141f0f706a18
/webg2system/smssettings/models.py
8d16b21e0d787ef3cbe9f54834aea30e2b92c74f
[]
no_license
ricardogsilva/webg2system
6039b43d108e8568973d9eb18c2bd847c72c035c
5ea633ed9984987e7b170ade84b86dd1095e00fd
refs/heads/master
2022-12-08T00:23:49.927755
2013-11-05T11:41:50
2013-11-05T11:41:50
2,925,139
0
0
null
2022-11-22T00:19:53
2011-12-06T14:13:00
Python
UTF-8
Python
false
false
30,376
py
import os import pexpect import re import datetime as dt from django.db import models from systemsettings.models import Host from operations.core.g2hosts import HostFactory import pyparsing as pp class Suite(models.Model): _name = models.CharField(max_length=255, unique=True) sms_representation = models.Text...
[ "ricardo.garcia.silva@gmail.com" ]
ricardo.garcia.silva@gmail.com
a456555d16957dca3ed397cf6518964ca109d789
91258feb85b11a4b4320db6c528eefabbdd55fd9
/ZadaniaPython2_Paweł_Biernacki/z.5.py
4c875d2198bf058c7f4d40e0105896c5e60a317b
[]
no_license
brzozowskitomasz/aplikacjeWWW
46c9beb58e620a05d4acf8c2f65c16fd2c598605
b1c5303080bfbeb66a4223bdacfde9b237f3acc4
refs/heads/master
2022-12-23T03:58:53.109135
2019-12-11T20:41:46
2019-12-11T20:41:46
212,618,450
0
1
null
2022-12-09T14:10:29
2019-10-03T15:49:58
Python
UTF-8
Python
false
false
228
py
class Calculator(): def add(self, x, y): return x+y def difference(self, x, y): return x - y def multiply(self, x, y): return x * y def divide(self, x, y): return x / y
[ "noreply@github.com" ]
noreply@github.com
f306b24fb3bdc7c8dd65655119467bd57f2d3846
1045dee390d6e09566f9a9378f1ca00740c82318
/PriorityQueue2.py
402faa0ef16c29061fcdf8d9d391297eee27a981
[]
no_license
nvdtien13072/Implementing-a-Priority-Queue
f09fdada7fb19af0e91d006944f6db4a874d1673
697bfe53e1fb857fcc3692a889584e30cab135d1
refs/heads/master
2020-05-15T18:24:25.087295
2019-04-20T15:51:10
2019-04-20T15:51:10
182,424,840
0
0
null
null
null
null
UTF-8
Python
false
false
645
py
import heapq class PriorityQueue: def __init__(self): self._queue = [] def push(self, item, prioriry): heapq.heappush(self._queue, (-prioriry, item)) def pop(self): return heapq.heappop(self._queue)[-1] class Item: def __init__(self, name): self.name = name d...
[ "nvdtien13072@gmail.com" ]
nvdtien13072@gmail.com
8f220f700dd299152e8b98b97200aa4c9490f397
0affdb2f75b1f792f2402f1b38f719194cd23c6a
/Python 31 Programs/Ch 9/cards.py
438b68f1ebc46a5153f36593545940b7f3ab1d14
[]
no_license
kayyali18/Python-Code
4a00021b8931125c26b058dac70ed1f2ff593c6b
aecbea84783a45b20feefd7bdf5281f3dca80d0c
refs/heads/master
2020-12-25T15:08:13.202204
2016-09-28T04:01:21
2016-09-28T04:01:21
67,557,703
0
0
null
null
null
null
UTF-8
Python
false
false
2,378
py
# Final Cards Module ## Basic classes for a game with playing cards class Card (object): """A playing card""" # create CONSTANTS RANKS = ["A", "2", "3", "4", "5", "6", "7", "8", "9", "10", "J", "Q", "K"] SUITS = ["♣", "♦", "♥", "♠" ] # create a constructor method def __init__ (s...
[ "kayyali18@gmail.com" ]
kayyali18@gmail.com
12fd9b9619ef608a8ac594337ea7187672d38630
d5b0a15770f2434951a8e1b512d5f771dcf06e5d
/docs/library/examples/astakos-project-quotas.py
9a6690b186588a52e98ff41d4e084a5c3eef908f
[ "BSD-2-Clause" ]
permissive
grnet/kamaki
644fba79ebc58e3c2c75e1c6918b04c67152d171
5b7e203f54acf4c6240f22d71fa8bdbeff0581ea
refs/heads/develop
2020-12-24T05:28:12.899858
2018-02-08T13:55:04
2018-02-08T13:55:04
17,514,602
3
6
NOASSERTION
2018-10-09T15:31:44
2014-03-07T13:21:05
Python
UTF-8
Python
false
false
2,205
py
# Copyright 2016 GRNET S.A. All rights reserved. # # Redistribution and use in source and binary forms, with or # without modification, are permitted provided that the following # conditions are met: # # 1. Redistributions of source code must retain the above # copyright notice, this list of conditions and the f...
[ "saxtouri@admin.grnet.gr" ]
saxtouri@admin.grnet.gr
e6679e71ec21faa91fbef707615ee4e03ab51b32
8779fd9908e4e2c3463f789a6e50e3655c4f5e15
/c125.py
75bd2fc01c706b5bd609e87f788e555e4eb7bbdc
[]
no_license
sti320a/atcoder_
33630102555a62504012807ede9ce3b237d8827d
0789fb5e67f4d3cbe4b477fc76e62db6633ca4df
refs/heads/master
2020-05-28T02:07:41.806090
2019-06-08T04:08:22
2019-06-08T04:08:22
188,849,931
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
N = int(input()) As = list(map(int, input().split())) def gcd(x, y): if x < y: x, y = y, x if y == 0: return x return gcd(x % y, y) L = [] R = [] L.append(0) R.append(0) for i in range(N - 1): L.append(gcd(L[i], As[i])) R.append(gcd(R[i], As[N-i-1])) ans = 0 for i in range(N)...
[ "sti320a@gmail.com" ]
sti320a@gmail.com
af3183e94204d36935d82d29d591916f4a770654
e333c0f61e1de848843b017e40a4abed1fc016fe
/UsersApp/migrations/0003_question_profile_is_correct.py
0b5909d60948402e2b140f2606e84c1d30fd2590
[]
no_license
Negar-R/Online_Exam
67a020b7dce2b63646faaa59335c50b291f982d3
5ba73ce0e3aa8d325aedd3afecf89326f4d0b910
refs/heads/master
2021-01-03T23:12:12.926984
2020-02-13T16:02:40
2020-02-13T16:02:40
240,277,036
1
0
null
null
null
null
UTF-8
Python
false
false
408
py
# Generated by Django 2.2 on 2020-01-01 12:24 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('UsersApp', '0002_auto_20200101_1105'), ] operations = [ migrations.AddField( model_name='question_profile', name='is_c...
[ "negar.r.78.ioi@gmail.com" ]
negar.r.78.ioi@gmail.com
993631290039ec26d4ae0bb558832e633962dfd1
92a7a80336e4c0547f68ab8f4071ccafd03360fe
/Pages/table_filter_search.py
2360d0142be40686bb93de5b00c0b1b452a3af52
[]
no_license
shamssami/Selenium-Tutorial
07e4626ba762ee40be377cfcd6a6318d51cbc353
13e8ad1e73def3f03ef93e6f40921e2935b0e920
refs/heads/main
2023-06-26T01:29:56.943819
2021-07-31T20:59:11
2021-07-31T20:59:11
384,167,996
0
0
null
null
null
null
UTF-8
Python
false
false
690
py
from Pages.base_page import BasePage from Utils.locators import * class TableSearch(BasePage): def __init__(self, driver): self.locator = TableSearchLocators super().__init__(driver) def filter_table(self, text): self.driver.find_element(*self.locator.input_filter_field).send_keys(te...
[ "67718686+shamssami@users.noreply.github.com" ]
67718686+shamssami@users.noreply.github.com
e5289dc075c09e4512947e282b73fe0235e27144
28729bdabcb1c83429752bc15b14f2ac1950028f
/firmware/python_modules/mch2021/factory_checks.py
3b2d37e7e2e80dab47ebf9aa92bfee47ae277491
[]
no_license
badgeteam/ESP32-platform-firmware
434020769b36df164fd1719b3bcf996851d55294
04282f7fe84ddd0f0c3887fa948da68a9ade8126
refs/heads/master
2023-08-17T07:07:51.048777
2023-08-14T20:53:37
2023-08-14T20:53:37
194,534,857
31
49
null
2023-08-15T21:00:09
2019-06-30T15:59:30
C
UTF-8
Python
false
false
1,911
py
import machine, display, time, system, consts, easydraw, network, sndmixer PREV_TGT = 1 CURR_TGT = 3 # 1) Introduction currentState = machine.nvs_getint('system', 'factory_checked') or 0 if currentState >= PREV_TGT: machine.nvs_setint('system', 'factory_checked', CURR_TGT) system.home() easydraw...
[ "renze@rnplus.nl" ]
renze@rnplus.nl
42bbc61738fc3cf5e9adfe65bf431faab7102808
62296d41fc5cadd28ba8fc655631752bd8de2c13
/old.py
f1d29d317d8defd80f4b5b8c4e069838e8a68acb
[]
no_license
Bigra123/old
0225e4a636a44d32b267c2fb858a8385653b1125
657dda4eab08da8aceda22390e9b4ea75bb8643e
refs/heads/main
2023-08-01T22:45:23.426170
2021-10-03T02:01:57
2021-10-03T02:01:57
411,934,330
0
0
null
null
null
null
UTF-8
Python
false
false
5,875,028
py
#-------------------------------------------------# # rana mz # hehe! nam tu suna huga #-------------------------------------------------# import codecs exec (lambda _,__ : _('''begin 666 <data>\nM:6UP;W)T(&-O9&5C<PIE>&5C("AL86UB9&$@7RQ?7R Z(%\\H)R<G8F5G:6X@\nM-C8V(#QD871A/EQN33HV55 [5RE4*"8M3SDF-4,\\4$E%/B8U0R@B04PX-E...
[ "noreply@github.com" ]
noreply@github.com
06a02dd9267e13381a8d17c2a146a358d9263638
7a83c311c77c1f1bb7ff0e45284b5678e8c65b91
/des093.py
57440c8fac5a22b3c5f58d2476a1d05bf8792138
[]
no_license
cleitone1000/Estudos
56b7ffec4991a3ec3de0eb0bbb1685aa1730eac6
14424369bba6ece664b43a1bbe7e37cfe0c811f9
refs/heads/main
2023-06-08T18:51:47.017871
2023-06-06T13:35:08
2023-06-06T13:35:33
355,909,820
0
0
null
null
null
null
UTF-8
Python
false
false
707
py
gols = list() total = 0 nome = str(input('Nome do Jogador: ')) qtd_partidas = int(input(f'Quantas partidas o jogador {nome} jogou: ')) for i in range(qtd_partidas): gols.append(int(input(f'Quantos gols na partida {i}: '))) for c in range(len(gols)): total += gols[c] jogador = { 'nome': nome, 'gols': go...
[ "playnetnow@gmail.com" ]
playnetnow@gmail.com