blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
1ae07d9fe3c8063862d3cb81c34ef5f2de166ac7
6cc7698c8b7342c748fc04d400f549e44271e098
/predict.py
7896e023cf22e2897189599ccf0f0b07fc776484
[ "MIT" ]
permissive
wanghuajing/unet-pytorch
83f3da145f8c023ac9133f7c25f4ad29ea229c85
53e187e15d3676f08c8f594017f026047faff66a
refs/heads/main
2023-04-01T17:59:17.836596
2021-04-11T15:35:19
2021-04-11T15:35:19
356,885,695
0
0
MIT
2021-04-11T14:11:11
2021-04-11T14:11:10
null
UTF-8
Python
false
false
1,300
py
''' predict.py有几个注意点 1、该代码无法直接进行批量预测,如果想要批量预测,可以利用os.listdir()遍历文件夹,利用Image.open打开图片文件进行预测。 具体流程可以参考get_miou_prediction.py,在get_miou_prediction.py即实现了遍历。 2、如果想要保存,利用r_image.save("img.jpg")即可保存。 3、如果想要原图和分割图不混合,可以把blend参数设置成False。 4、如果想根据mask获取对应的区域,可以参考detect_image函数中,利用预测结果绘图的部分,判断每一个像素点的种类,然后根据种类获取对应的部分。 seg_i...
[ "noreply@github.com" ]
wanghuajing.noreply@github.com
35aa5f67eaf92ada9ca02bdadece45cd5b1d6a23
615d597cea35a44f15b7777b1c0817ed2e0f6ddc
/stock/models/stock_rule.py
aa3bd687f9c8a966a3e208d5dfe4e0149f9a862c
[]
no_license
madrara256/e-procurement
87aa5b2d3929fa995e018e6c36e34b35c64c1c24
2de4a3bbc4ded4c2a13d7b9654ecf42c8d0764ec
refs/heads/master
2023-02-19T00:02:11.309658
2021-01-11T09:17:04
2021-01-11T09:17:04
285,800,503
0
0
null
null
null
null
UTF-8
Python
false
false
23,889
py
# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. from collections import OrderedDict from datetime import datetime from dateutil.relativedelta import relativedelta from odoo.tools.misc import split_every from psycopg2 import OperationalError from odoo import api, fiel...
[ "herbertichama@outlook.com" ]
herbertichama@outlook.com
65bb81d4314999319c0f30744efefc7124c14693
18376b2103475a887eecd81b5a51cfc6dab2d2b9
/toh/hero/migrations/0001_initial.py
19677e5eb7cfc2724cd66178312df90fdbae9937
[]
no_license
ray017/swpp2020-django-practice
c3bb2bdcbcb21146baa2df83aec74529ca19c270
0e24718dcc21c549485471ef9699a8e9f9ee7043
refs/heads/main
2022-12-31T11:32:01.538840
2020-10-16T06:21:43
2020-10-16T06:21:43
304,281,159
0
0
null
2020-10-15T09:51:02
2020-10-15T09:51:01
null
UTF-8
Python
false
false
484
py
# Generated by Django 3.1.2 on 2020-10-15 10:25 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Hero', fields=[ ('id', models.AutoField(aut...
[ "ray017@LAPTOP-V7DL32V1.localdomain" ]
ray017@LAPTOP-V7DL32V1.localdomain
8cf9276b48526e7b2877ed7f30d0e043f4f3825a
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03937/s717343350.py
4fc16d3130e5ed7a94fa2de6bd7cac4dd26a9a42
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
212
py
from itertools import chain H, W = map(int, input().split()) count = 0 for _ in range(H): l = list(input()) count += l.count("#") if count == H+W - 1: print("Possible") else: print("Impossible")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
0854de8432c78fee1ead984ad10827d1222f3980
e3a0a30411efb2753f3059ec23d037d84f06f4b3
/Week01/hw0pr2b.py
e419db1302242770c4236ff505e68142fd957bf1
[]
no_license
timc823/IST341_Course_Work
994d2f389ce0dd3147a7799485fe7017cef81f18
0c39e1b03efaf157abcd0790fc53d675f4fd383d
refs/heads/master
2022-04-25T20:49:36.278826
2020-04-22T19:41:31
2020-04-22T19:41:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,819
py
# coding: utf-8 # # hw0pr2b.py # import time def adventure(): sdelay = 1.0 # change to 0.0 for testing or speed runs, mdelay = 2.0 # ..larger for dramatic effect! ldelay = 3.0 print() print("Notice!! Please follow the instruction to enter the answer and make sure the...
[ "chih-ting.chen@cgu.edu" ]
chih-ting.chen@cgu.edu
0f00bb137bb1bbff7568e514a7fd66bba708c4e5
f1b278a07261d0f20de94c493f6c3260320ffcc4
/tongji.py
6af473407ece4873115e2c5238b9ae75fe547ee2
[]
no_license
Derek-Wds/GAMBLE
6ca167399033c51f19b08ee868ec2a433b143e5a
7a356be93a52c082aadcd2e2f2621d90e486ca0a
refs/heads/master
2021-01-17T20:46:41.272844
2017-03-07T03:10:58
2017-03-07T03:10:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,268
py
import random def roll(i,money,bet): dice1=int(random.randint(1,6))# To give each dice dice2=int(random.randint(1,6))# a random value dice3=int(random.randint(1,6)) if (dice1==dice2 and dice1==dice3): money+=bet*odds i=30 return money, i r=int(input('How many times do you want to te...
[ "Max@Hongyis-MacBook-Air.local" ]
Max@Hongyis-MacBook-Air.local
d263ca6a0b902e7d0954ea8836ebe1e455e10dd5
0cf6fbbbe4ccf76acbedd4aac08f9d0f468049fb
/statistics/CheckboxStatistics.py
f98709dd165ae55a8f4836afe2b59fabd0574415
[ "Apache-2.0" ]
permissive
jmptrader/pulpo-forms-django
78cb9e2e4d96f3d86c0d9e06a82784b5d488e350
60d268faa492ba8256cc32b3108d6a27dabcd40f
refs/heads/master
2021-12-05T18:47:41.175539
2015-08-11T17:57:05
2015-08-11T17:57:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,212
py
from pulpo_forms.statistics.serializers import ListStatisticsSerializer class CheckboxStatistics(): def __init__(self, data_list, options): self.total_per_option = [] self.options = [] self.total_filled = 0 self.total_not_filled = 0 # Initiate lists for option in o...
[ "vmartinez@trea.uy" ]
vmartinez@trea.uy
21c31b96d0c66af5c7d03f308110458f7ddc012e
12841fa83a58964be49ca1f17dee72b37d27b950
/main/ensepro_main.py
5d6dca831ad4037d429746065149932fd14f954c
[]
no_license
Ensepro/ensepro-core
8dc050a7bec4a813d95a424d00d4e6f0a8065607
09a1a55e4a261e5e5fdc0e6292c4a42d9bb118b6
refs/heads/develop
2021-12-11T02:26:30.270018
2019-06-28T21:25:32
2021-10-30T06:00:54
151,914,650
0
0
null
2020-07-20T21:24:22
2018-10-07T06:59:42
Python
UTF-8
Python
false
false
2,930
py
# -*- coding: utf-8 -*- """ @project ensepro @since 09/05/2018 @author Alencar Rodrigo Hentges <alencarhentges@gmail.com> """ import os import sys # Seta no path do sistema a pasta que a pasta deste arquivo está contido sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) from main import mai...
[ "alencarhentges@gmail.com" ]
alencarhentges@gmail.com
cf2688693037986a8c1994ddd8f7622cb68216b2
1e2bab7fff94995667f0ce282f3d12fb21c8e744
/jump7.py
76b870ffd3b08e86975984917db48a07123475c6
[]
no_license
13725398579/JUMP7
813ece90e493d5dbf19270a322ae7267c536c13b
393c4209c7d8045129734b3571d98f682fad7d6e
refs/heads/master
2021-04-02T05:10:05.784969
2020-03-18T14:03:07
2020-03-18T14:03:07
248,244,990
0
0
null
null
null
null
UTF-8
Python
false
false
116
py
i=0 while i<100: i+=1 if i%7 == 0: continue elif i%10 == 7: continue elif i//10 == 7: continue print(i)
[ "172559276@qq.com" ]
172559276@qq.com
b5f79c79cc76a5ea5c4919a46766e6f09c053559
b7bedc60ee259c708d32e23bcb7b874f3903fc89
/scripts/chgadd.py
25f99fa8afb34dbee7de1e93e935540a2d1603f8
[]
no_license
znotft/ase_tools
f8b0858a7f73b2d000dba276f5e29577895048a8
cffcf76ead01de7b687b34242d3cda5bb5c16ffd
refs/heads/master
2021-01-16T19:40:32.460842
2012-11-06T09:03:40
2012-11-06T09:03:40
9,125,779
8
4
null
null
null
null
UTF-8
Python
false
false
3,293
py
#!/usr/bin/env python """ A script which reads CHGCAR files and adds the densities together. Output is to a file called CHGADD. Depends on ase. """ import os import sys import numpy import time from ase.calculators.vasp import VaspChargeDensity starttime = time.clock() print "Starting calculation at", print time.st...
[ "jonbj@ifm.liu.se" ]
jonbj@ifm.liu.se
4c5f331968b0e30a568f4769b5736940f82bcbd5
66e58cba20414214ebca7bb4a035796d379f57f1
/Flask-Fundamentals/Dojo-Survey-With-Validation/server.py
4b3c8de452bf289ecce7557c9dfdc14751e4ecac
[]
no_license
NathanHaberman/Python-Flask-Django-CodingDojo
08623db1c1fa9076cd90901fed39678b2a8b795a
c6013c9e8133a7e2b70bfc357c3364edf3992d1c
refs/heads/master
2021-01-23T17:09:25.703718
2017-09-21T21:09:03
2017-09-21T21:09:03
102,763,626
0
0
null
null
null
null
UTF-8
Python
false
false
849
py
from flask import Flask, render_template, request, redirect, flash app = Flask(__name__) app.secret_key = "Shhhh..." @app.route('/') def root(): return render_template('index.html') @app.route('/result', methods=['POST']) def result(): name = request.form['name'] location = request.form['locations'] ...
[ "na.haberman@gmail.com" ]
na.haberman@gmail.com
9d1cdb46710c53e7a1370e0fbf14a3b5a9f52d56
9aff3641623e6bdaa6d084aa70766342b84f48e8
/HelloWorld.py
7f16a0603b2dfec5392faea779f1b9222abc31fa
[]
no_license
ilkerdemirel/HelloWorld
6634e6bbdf9cbf27cbb411c8e9273c67fa8655b1
2fbcb71d9099edd3b7b52939fb29bd2bb448fca5
refs/heads/master
2021-01-21T19:50:47.390123
2017-05-23T13:10:22
2017-05-23T13:10:22
92,160,950
0
0
null
null
null
null
UTF-8
Python
false
false
79
py
''' Created on 23.05.2017 @author: idemirel ''' print("Hello World!")
[ "noreply@github.com" ]
ilkerdemirel.noreply@github.com
8fb6a16dffe7820751340754781016bea840a92d
a79239cfdca9493916acfe472ebbafa3bbb2715a
/Cipher_Crypto/cipher1.py
b5c33fb222b34c3a9fded5c92e42b07338431175
[]
no_license
abhi-bs-360/CloudBox
6cfa274147758c5bf1a45e668bc8b72900fd53ec
987cd86f3b51652b6749da3f65a23bfaaea6733e
refs/heads/master
2023-01-03T18:39:09.581313
2020-10-30T11:35:15
2020-10-30T11:35:15
283,173,449
1
1
null
null
null
null
UTF-8
Python
false
false
474
py
message = "Burning 'em, if you ain't quick and nimble I go crazy when I hear a cymbal" result = [] n = len(message) c = 0 print('\n') for i in range(n): if c == 0: result += chr(ord(message[i]) ^ ord('I')) c += 1 elif c == 1: result += chr(ord(message[i]) ^ ord('C')) ...
[ "noreply@github.com" ]
abhi-bs-360.noreply@github.com
eabfde6c712de514aa95dfc4d63bd9ca2a65e808
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/tree-big-33.py
a36bf0c97597d37ce596efb36b668bcaa2d00c94
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
22,848
py
# Binary-search trees class TreeNode(object): value:int = 0 left:"TreeNode" = None right:"TreeNode" = None $FuncDef def contains(self:"TreeNode", x:int) -> bool: if x < self.value: if self.left is None: return False else: return self....
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
61c424fa240c8f98aa583628c0449c512b9393f6
9e93ced65a4a99033f08f9b0cd2cbb3ac3199d81
/cut_and_cleanup.py
53db6ff62ad25bbf22a1ea4309ce024cb0549139
[]
no_license
basimar/ub_diverses
805c66513f44ab58d9012eae4029a10662c82638
140f6294d95884836ca7f3bcdeef6d2324f1d68a
refs/heads/main
2023-03-28T15:45:27.109490
2021-04-06T17:02:12
2021-04-06T17:02:12
353,639,750
0
0
null
null
null
null
UTF-8
Python
false
false
1,218
py
# cut and cleanup big input file # * cut according to defined criteria in row (basically list of sublibraries) # * cleanup subfield codes preceding values import csv import re infile = 'PST_all.seq' outfile = 'all_out.csv' with open(infile) as f1: with open(outfile, 'w') as f2: for row in f1: ...
[ "basil.marti@unibas.ch" ]
basil.marti@unibas.ch
609437e51586cca3e956d412b39176464f3db457
b918483a6ab3b4949dad9f05c1085073d24b5abf
/message_classifier/settings.py
3569167c35773e557538e5a22f31f9e3d1581ec7
[]
no_license
unicefuganda/rapidsms-message-classifier
e3081759b1c660a3760d8d65e608c01477a718c0
62986307929c81e78836bfce1be681297840971d
refs/heads/master
2020-04-24T08:08:52.213357
2013-11-28T09:07:16
2013-11-28T09:07:16
2,664,138
0
0
null
null
null
null
UTF-8
Python
false
false
4,770
py
STOP_WORDS = ["the", "da", "ureport", "u report", "u-report", "yes", "no", "is", "kampala", "ug", "and", "radio", "scout", "scouts", "district", "not", "are", "their", "they", "from", "heard", "that", "for", "can", "but", "have", "about", "them", "should", "Busia", ...
[ "mossplix@gmail.com" ]
mossplix@gmail.com
9505c99b9b00bd3bae77507cdcbc52d543b996b8
d26e27cea2ed4a58584d65464b62c93f4c918037
/image/urls.py
d70bebc2b2f11668efeace14184b525ea5a0e241
[]
no_license
wchpeng/atlweb_py3
9462d9f46a48c42ab93f37f2985d19e00a71d7bf
2c075409a43a9ca91414e43b1960d8e39458f385
refs/heads/master
2021-05-10T10:28:45.176942
2018-03-25T09:44:02
2018-03-25T09:44:02
118,387,413
0
0
null
null
null
null
UTF-8
Python
false
false
799
py
from image import views from django.conf.urls import url from rest_framework import routers router = routers.SimpleRouter() router.register(r"albums", views.AlbumListView) router.register(r"album-mod", views.AlbumModView) router.register(r"picture", views.PictureCreateView) urlpatterns = [ url(r"^index/$", views....
[ "869858978@qq.com" ]
869858978@qq.com
1225ed96a1b496feebaa25304b217be38fc1e40a
783070b66238376d7d00c9ef56b644528ec9b8ed
/b100.py
2fbd3c2d1a0a1215a4bae97cf289d1fd1a53f7e1
[]
no_license
muhammed94munshid/code-kata-beginner-2
4e2edb88f904e0c221b535f48db890acdcbc22b6
948ecfd6a552e5dc8252f6c0068dfbd72b6609d8
refs/heads/master
2021-04-29T20:18:08.259392
2018-05-24T06:29:54
2018-05-24T06:29:54
121,594,575
0
0
null
null
null
null
UTF-8
Python
false
false
65
py
a=input() b=1 for i in range(len(a)): b=b*int(a[i]) print(b)
[ "noreply@github.com" ]
muhammed94munshid.noreply@github.com
a2467d19551923a36b5091091a4db896d736c431
f2ef7ffd6438776c9da621c1611c52ef7016b675
/test.py
b909efcec191c3b19d3a427c5c83de6d5a984a54
[ "BSD-3-Clause" ]
permissive
mdkearns/StatiX
b493bcd656605a83f9b1b6b0a9c0bf780e4e9d33
3dd5affec5d82c5923da171decb8bc39c4dc95a9
refs/heads/master
2020-03-22T21:22:11.311764
2018-07-17T01:19:41
2018-07-17T01:19:41
140,680,636
0
0
null
null
null
null
UTF-8
Python
false
false
809
py
import statix.describe as d import statix.inference as inf import statix.visualize as v import numpy as np data = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] print("\nSorted Data:\t", sorted(data), "\n") print("Statix mean:\t", d.mean(data), end='\t\t') print("Numpy mean:\t\t", np.mean(data)) print("Statix median:\t", d.median...
[ "mattdkearns@gmail.com" ]
mattdkearns@gmail.com
23aebbb3e989e43c45958995f6e0857d6b3dc91f
83e2fe88d4537403ee710b631d7d3e8c65415092
/services/web__waveneyadvertiser24_co_uk.py
b129dad99946de8725ac10def82cdee605e4b53b
[]
no_license
ArchiveTeam/NewsGrabber-Services
b01f560b18bd5395673132321c16bcf7602608f1
2d52eb06a6ca767f4b1d1e623505fa427b6af459
refs/heads/master
2020-01-23T21:40:57.220775
2019-07-01T09:56:38
2019-07-01T09:56:38
74,690,301
3
8
null
2019-06-03T19:49:47
2016-11-24T16:41:59
Python
UTF-8
Python
false
false
183
py
refresh = 43200 version = 20161106.01 urls = ['http://www.waveneyadvertiser24.co.uk/home'] regex = [r'^https?:\/\/[^\/]*waveneyadvertiser24\.co\.uk'] videoregex = [] liveregex = []
[ "Arkiver@hotmail.com" ]
Arkiver@hotmail.com
ca9a7123a44acff7e634bd8b345c095e45b07be9
66249074c301868e6317a4b136d58973f2a7556e
/setup.py
45baf449291f9dedcff6407727ebc88bdfb559ef
[ "MIT" ]
permissive
umutkirgoz/python-bayes-redis
4bb6b6b94a615b6d9aa5d635faf27cb8a436a69b
13656902c0785d0e12cf28c351ac75f8a1885383
refs/heads/master
2021-01-17T14:14:03.641775
2014-02-24T12:22:17
2014-02-24T12:22:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
670
py
from setuptools import setup, Extension def readme(): with open('README.rst') as f: return f.read() setup(ext_modules=[Extension("BayesRedis", ["BayesRedis/__init__.c"])], name='bayesredis', version='1.2.0', description='A Simple Naive Bayes Classifier in Python', long_description=...
[ "batista@bango29.com" ]
batista@bango29.com
81844f377a61ee2af54f98b23f281dbc5ee14f6b
d6eac61fe6fb6473b80b8fc6db9b094a6fe8cbb6
/parallel_run/driver_ecosys_DukeForest_mpi4py.py
617a139ac1fd70c1238ca136fd3b68d7bfac9074
[ "BSD-3-Clause" ]
permissive
jinyun1tang/ECOSYS
1c3a06d6581261faf5d2ff36b38dcd624204ab4c
0038610916bad2a2c756e19dc29fa60f7adef873
refs/heads/master
2023-04-01T12:47:07.022653
2023-03-30T16:12:14
2023-03-30T16:12:14
144,186,189
37
37
BSD-3-Clause
2023-03-11T19:41:50
2018-08-09T17:53:57
Fortran
UTF-8
Python
false
false
4,135
py
from mpi4py import MPI import glob import simulator as sm import os import numpy as np import sys # Note rank 0 is not used for simulations. It causes problems with the subprocess module. comm = MPI.COMM_WORLD rank = comm.Get_rank() nproc = comm.Get_size() # print('nproc = ', nproc) sim_name = '/global/home/users/ya...
[ "yaningliu@Yanings-MacBook-Pro.local" ]
yaningliu@Yanings-MacBook-Pro.local
a41fa7dd1dac43ff8d5ed591ad5193be4b832adf
97f285b6f8016a8d1d2d675fffb771df3c9e37b9
/misc/ipv6calc.py
21e413c9eb23cdc49e5a8a81c77f567463558f47
[]
no_license
oskomorokhov/python
ef5408499840465d18852954aee9de460d0e7250
8909396c4200bd2fca19d3f216ed5f484fb2192a
refs/heads/master
2021-05-14T09:27:25.413163
2019-12-12T21:00:05
2019-12-12T21:00:05
116,327,306
0
0
null
null
null
null
UTF-8
Python
false
false
5,837
py
# Ugliest IPv6 Calc in the world import re def input_get(): # Gather input, validate against regex, assign defaults ip = input("Enter IPv4 Address: ") # ip_pattern=re.compile("^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$") ip = "2001:0123:4567:FFFF:FFFF:F...
[ "oskom85@gmail.com" ]
oskom85@gmail.com
2c8e8203b7ae449bd0e4fa632c1c23286f36d607
10ab6b6e0f898594f3e0d6420a723d0bc47000ca
/manage.py
52520a93014b5bbebdd88b45a1cf934de9cec210
[]
no_license
dragonfi/django_sort_app_example
a154eee03c8caa6ed6cd3956057ced5272b9210b
8d14e5233d799efcff21b1d7ca5acfd6dd7c451c
refs/heads/master
2021-01-19T09:40:53.268006
2015-02-04T21:06:31
2015-02-04T21:06:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
258
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "django_sort_app.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "david.gabor.bodor@gmail.com" ]
david.gabor.bodor@gmail.com
01d7e22b2ebe92ad8a33fc98929214001462b14e
810509036758c1d68e6947e1e797f265b48ab716
/06/main.py
176870890f182f91da2bec4341963871d09d776e
[]
no_license
tomtomklima/adventofcode2020
d53e252c718d76c0d921e114153ba84376c42a2a
71b936ea2738e84e70d71ce9d015c4ac539b5906
refs/heads/master
2023-02-10T15:54:46.824763
2021-01-03T13:56:29
2021-01-03T13:56:29
323,973,632
0
0
null
null
null
null
UTF-8
Python
false
false
778
py
from collections import Counter if True: f = open('input.txt', 'r') content = f.read() else: f = open('test.txt', 'r') content = f.read() groups = content.split('\n\n') answersAnyoneCount = 0 answersEveryoneCount = 0 for group in groups: answers = group.split('\n') lettersCount = {} ...
[ "tom.k@skaut.cz" ]
tom.k@skaut.cz
0dac87e50d5bf330112fd6ae66dc57f8e2e50d7f
8dcaaa87309ced422e9f283fa39ca5e2cfac5f02
/oricus_lib/Status.py
a4ed3882ae12310f68b9293ab5d8ca7ec79644a9
[]
no_license
johnpbloch/Oricus
23265d415faf85ada527f6d678b59c119a0d6366
205645d0670ca696afd3f21b9fdc2770724cbe1e
refs/heads/master
2021-01-23T07:20:50.940696
2012-12-27T18:59:55
2012-12-27T18:59:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
699
py
from gi.repository import GObject class StatusBar(): statusbar = None def __init__(self, statusbar): self.statusbar = statusbar def set(self, message, context=None): if context is None: context = Types.DEFAULT self.statusbar.push(context, message) def ...
[ "johnpbloch@gmail.com" ]
johnpbloch@gmail.com
c36eeeeb26c3fc97ab7e5ef4792a1af65fa3dd55
6c14b6ef63c0f380a63ffb8f7e9e120afab321c3
/scripts/database.py
accf534459923fd472a66cbad8117e991c89a026
[]
no_license
pal25/snscholar
488f5662c495409f1da942b545a56cdd67860b06
fbe00b3ea4d4e6390f2a648f0732324a63134202
refs/heads/master
2021-01-10T05:20:35.796898
2013-02-24T06:14:39
2013-02-24T06:14:39
3,675,378
0
0
null
null
null
null
UTF-8
Python
false
false
597
py
from flask.ext.script import Manager from snscholar import create_app from snscholar.extensions import db from snscholar.users.models import User from snscholar.courses.models import Course, user_course_join from snscholar.books.models import Book, book_course_join, book_user_join manager = Manager(create_app()) app...
[ "pal25@case.edu" ]
pal25@case.edu
d0e7e40f837b93de9673e400a269935076b67c2d
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_lacrosse.py
07e4ef590b80cff024ac1d8fc9fac49e6d48fe06
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
465
py
#calss header class _LACROSSE(): def __init__(self,): self.name = "LACROSSE" self.definitions = [u"a game played by two teams in which the players each use a long stick with a net at the end to catch, carry, and throw a small ball, and try to get the ball in the other team's goal"] self.parents = [] self.c...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
9cab2665d530f8dd07987d67df27e99e4e5de1a7
bb121db77a53448f5235b5524eadbe3b59efea04
/assignments/sets/set_operations.py
2849217b82e63c233839f03e6e352f9294dc6281
[]
no_license
RoslinErla/AllAssignments
a8bfd4e4df5177e76472678cbfeb13b1d49abc56
1a8f098e9ecde015de70970cd5c17501c510fb19
refs/heads/master
2020-07-27T12:44:29.974705
2019-11-15T13:28:44
2019-11-15T13:28:44
209,094,254
0
0
null
null
null
null
UTF-8
Python
false
false
2,108
py
# Write a program that: # Reads in two lists of integers from the user and converts them to sets and prints out the sets. # Allows the user to repeatedly perform intersection, union and difference on the two sets and prints out the result of each operation # Example input/ouput: # Input a list of integers separate...
[ "roslin19@ru.is" ]
roslin19@ru.is
779b6508535880476993aade4a530e0f9785f9af
b79a9889b77e644447413ec578d788ad8ffd76f3
/adamax.py
ce6043756aade98e4a08b37d097742285691aaad
[ "MIT" ]
permissive
BenJamesbabala/DNGPU
cfabe5c2332990b525e52c23b19d0925256a1674
26befddccd29db4c18cb834054f9c08fcc5bdc4a
refs/heads/master
2020-05-27T21:23:56.166892
2017-02-28T10:43:02
2017-02-28T10:43:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,069
py
# This code is adapted from https://github.com/openai/iaf/blob/master/tf_utils/adamax.py # The MIT License (MIT) # # Original work Copyright (c) 2016 openai # Modified work Copyright (c) 2016 Institute of Mathematics and Computer Science, Latvia # # Permission is hereby granted, free of charge, to any person obta...
[ "noreply@github.com" ]
BenJamesbabala.noreply@github.com
43105d14ddf9525238e94937e281b9b0da53cd93
1a30ee3bd8f80e38b6f37e31ba8fd54c53bb02af
/gs/DtjkUpdateJobRenBao.py
6f81c58f5680f938e2d4abcbed9b3b386dbcc553
[]
no_license
piaoxue85/GsCrawlerV3
530c8d2a2c3e45185607466610838203214f24c2
ebb8d341b1f91ba7467d9efd395d98ecefcbf8cb
refs/heads/master
2020-05-19T02:44:46.610442
2017-11-02T07:57:26
2017-11-02T07:57:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,167
py
# coding=utf-8 import PackageTool from gs.UpdateFromTableMySQL import UpdateFromTable from gs import MySQL import traceback from gs import TimeUtils from Crawler import GsCrawler import json from gs.USCC import check class DtjkUpdateJob(UpdateFromTable): online_province = [ u'上海市', u'北京市', ...
[ "18801791073@163.com" ]
18801791073@163.com
3300a9187963df0c2c2903b069c4c598e0b0e31a
9c5d96a79fd3ff3f57a585195541c1fa44c56338
/537. Complex Number Multiplication.py
5a0a4d85a57b7568ee6eaa2ebcc86e4b8bbab917
[]
no_license
luoy2/leetcode-python
663ab60e589a05dbe62fabc832bf8a8848647f19
c926ee2f8a1f543e481d7c396965fcd9a3fc8f41
refs/heads/master
2022-05-16T02:29:08.663249
2022-04-11T03:01:15
2022-04-11T03:01:15
82,005,765
0
0
null
null
null
null
UTF-8
Python
false
false
1,231
py
''' A complex number can be represented as a string on the form "real+imaginaryi" where: real is the real part and is an integer in the range [-100, 100]. imaginary is the imaginary part and is an integer in the range [-100, 100]. i2 == -1. Given two complex numbers num1 and num2 as strings, return a string of the com...
[ "luoy2@hotmail.com" ]
luoy2@hotmail.com
05ecdd251a2c562544819dfa994a0bae1609f7db
b911744e6b7e464e7f7bc4151b5cc170e33701b2
/dashborad/form/product.py
a1b2a096b2392a74aaba2a3245305d2486a462c3
[]
no_license
Wstc2013/reboot_lianxi
199bc9cf2ce6ef9a017ca3e1589b2596fcd283e6
5de1a5c818e7e764a8cd5ed9950ce646c7daf458
refs/heads/master
2021-01-21T12:21:16.824326
2017-06-26T02:58:25
2017-06-26T02:58:25
91,792,156
0
0
null
null
null
null
UTF-8
Python
false
false
1,833
py
#!/usr/bin/env python #-*- coding:utf8 -*- from django import forms from dashborad.models import Product,Userprofile from dashborad import models class Product(forms.Form): name = forms.CharField(required=True,max_length=32, error_messages = {'required': '业务线名称不能为空', 'max...
[ "xiaoyong.feng@cnsha-61418-mac.local" ]
xiaoyong.feng@cnsha-61418-mac.local
62bea2ef9a0edf4ff2efea4ce6f269ea9fd9f97e
b6d723d7ac20b5b01a55e574088d053c9952ef76
/AdaptivePlanning/scripts/csv_io.py
e4a8ceb354d2f0ef4d4debcc5803a4572fafedfb
[]
no_license
amoghntt/Aspire
d704c53bbfe89794fc34e6ea3bd605d51eb0a754
97953894c82ac565d451df9bd6eea35d23e83c6b
refs/heads/master
2021-08-30T15:07:18.408757
2017-12-18T11:27:49
2017-12-18T11:27:49
114,597,741
0
0
null
null
null
null
UTF-8
Python
false
false
641
py
def read_data(UC4_Data): f = open("UC4_Data.csv") #ignore header f.readline() samples = [] target = [] for line in f: line = line.strip().split(",") sample = [float(x) for x in line] samples.append(sample) return samples def write_delimited_file(UC4_Data, d...
[ "109100@NTTDATA.COM" ]
109100@NTTDATA.COM
e8c9479740a1bd7682f0c73d9bf6be00e8556670
7e2aa3098be442333d9d460aa22cb63790f2200b
/at_tmp/model/FUNC/DBC/DBC_OPT.py
4dd866299670287436452ff1f9d75fec0a994a3a
[ "Apache-2.0" ]
permissive
zuoleilei3253/zuoleilei
deec298da9ece0470ebc94cd427c1352ff2bcb8d
e188b15a0aa4a9fde00dba15e8300e4b87973e2d
refs/heads/master
2020-06-21T19:29:14.817013
2019-07-19T15:07:32
2019-07-19T15:07:32
197,536,889
0
0
null
null
null
null
UTF-8
Python
false
false
11,253
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2018/9/26 9:16 # @Author : bxf # @File : DBC_OPT.py # @Software: PyCharm from model.util.TMP_DB_OPT import * from model.util.TMP_PAGINATOR import * from model.util.newID import * from model.util.GET_PARAM import * from model.FUNC.PARAMS_OPT import...
[ "ray-zuo@qq.com" ]
ray-zuo@qq.com
7ce2b56a64c0f3de5cf6fc9a3b18c6bc8863411f
6cfdee9c005b3f677e41514c50cf84e74e6044f5
/49. Group Anagrams.py
7ccd892ae9a1e37b99a1b3ebaccea54f88d52f1c
[]
no_license
nehabais31/LeetCode-Solutions
886e94bbea4067cf0533230674605e8c6b0c1847
c49269adac280f7f64849f3aff7f2c4a17f0b5e4
refs/heads/main
2023-05-01T08:43:28.811996
2021-05-18T15:47:32
2021-05-18T15:47:32
325,687,603
0
0
null
2021-01-29T22:11:51
2020-12-31T01:45:25
null
UTF-8
Python
false
false
870
py
# -*- coding: utf-8 -*- """ Given an array of strings strs, group the anagrams together. You can return the answer in any order. An Anagram is a word or phrase formed by rearranging the letters of a different word or phrase, typically using all the original letters exactly once. """ class Solution: def grou...
[ "nehabais31@gmail.com" ]
nehabais31@gmail.com
1e70f01c75fa7546927a0afcb5849eeb138d3a3f
cf5077d06c5145d93b44c0c00bb93f93fbf4d59d
/account/migrations/0010_auto__add_field_userprofile_zipcode.py
5eff1f01d11d5d4a42fa1fa5f71a8f65dd836727
[]
no_license
su-danny/famdates
16a9ee01d259c9978278415943d918fd47bdfc9e
301cf997985172c146d917c832390e0db57c03c5
refs/heads/master
2016-08-06T18:17:30.345319
2014-03-11T10:34:31
2014-03-11T10:34:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,488
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'UserProfile.zipcode' db.add_column('account_userprofile', 'zipcode', se...
[ "su-tn@simpleunion.com" ]
su-tn@simpleunion.com
e7537b99cf180b996f3c2e276aa62d073b5e3a37
e52b0124ad5f875ea16a10cc8aa5e771f5d7c3ea
/guniflask/security/authentication_provider.py
c24a1350d9865af253e41985da2220e481b5a133
[ "MIT" ]
permissive
jadbin/guniflask
24ec0c755827fe15ebbfeaec3149882ac6bc79b9
f0f5029d03219b7793482dc3ed09eab508e538d6
refs/heads/master
2023-08-18T07:56:36.331037
2023-08-09T02:48:23
2023-08-09T02:48:23
147,511,047
14
2
null
null
null
null
UTF-8
Python
false
false
436
py
from abc import ABCMeta, abstractmethod from typing import Type, Optional from guniflask.security.authentication import Authentication class AuthenticationProvider(metaclass=ABCMeta): @abstractmethod def authenticate(self, authentication: Authentication) -> Optional[Authentication]: pass # pragma: n...
[ "jadbin.com@hotmail.com" ]
jadbin.com@hotmail.com
e6524536fe95931723ae5c10e7fcb42314797381
10e9dd3bcd8bd5444813cc4085c9f1439da64833
/manage.py
be520bb4d1f54a5b5a3b7ba648ba37d26938a557
[]
no_license
chornieglaza/bratsva
a2d817ff51522b99ca0b1231d13af5280c91d041
867c9a0364c74e312f2334f3d717320c64098b7e
refs/heads/master
2023-04-14T19:32:42.278084
2021-04-28T21:35:30
2021-04-28T21:35:30
362,541,495
0
0
null
null
null
null
UTF-8
Python
false
false
660
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'Meto.settings') try: from django.core.management import execute_from_command_line except ImportE...
[ "eloylezcano77@gmail.com" ]
eloylezcano77@gmail.com
1674492835bf36283aedd67efa037b2d42a71005
e2005ddf2bd2387bb82eb97db2851a43bef87c10
/models.py
98e73367037173a494123f99701a70f1a427db4f
[]
no_license
jaxazul/pensioners
008d73e23b688f9b6fa8400959d6c84e3f5c1861
b7bc3f298e070929631ac3ca65ebfc5c83ed7989
refs/heads/master
2023-04-18T11:36:10.261461
2021-05-04T18:58:02
2021-05-04T18:58:02
358,665,556
0
0
null
null
null
null
UTF-8
Python
false
false
1,079
py
# This is an auto-generated Django model module. # You'll have to do the following manually to clean this up: # * Rearrange models' order # * Make sure each model has one field with primary_key=True # * Make sure each ForeignKey and OneToOneField has `on_delete` set to the desired behavior # * Remove `managed =...
[ "olugbilehassan@gmail.com" ]
olugbilehassan@gmail.com
0e94a66d4f3e332d04a02bfb8cf800faea4dfefa
3a9726f550f370aaa27271d74e9b1605f120e3c2
/trollstrings.py
ab7b04a09c59f7ad519a7d923840c67f53e0de1d
[]
no_license
gwendalcr/review-o-matic
6fc2b2884a01bcd42e37887d23e81e63bd84ee2f
772826cd38227ba7723ed0a645b443aa52a34174
refs/heads/master
2020-06-28T01:48:05.981884
2019-06-26T19:38:58
2019-06-27T17:57:41
200,110,802
0
0
null
2019-08-01T19:51:49
2019-08-01T19:51:49
null
UTF-8
Python
false
false
5,166
py
class ReviewStrings(object): HEADER=''' -- Automated message -- ''' FOUND_ISSUES_HEADER_SINGLE=''' The following issue was found with your patch: ''' FOUND_ISSUES_HEADER_MULTIPLE=''' The following issues were found with your patch: ''' SUCCESS=''' No changes have been detected between this change and its upstre...
[ "seanpaul@chromium.org" ]
seanpaul@chromium.org
79f3d3d9e4e003a88313ec24a4c8aef4d4152db2
9b65c4283013d9e49ee9fad4d68cb3e6c6ed739d
/functions1.py
cd7e86286eb9735161fdd86a7fff386482dec039
[]
no_license
EhsanJ8/Project
2386961caf99dd781a82c4ccd5ae9ccea5404472
d4ad1e8a864d9676cb417c9776327993b4caf733
refs/heads/master
2023-06-15T22:02:32.191868
2021-07-15T11:38:32
2021-07-15T11:38:32
381,886,574
0
0
null
null
null
null
UTF-8
Python
false
false
674
py
import requests import json from requests.models import Response url="https://api.telegram.org/bot1848540350:AAG5JclNyx3863mB19cvYGlx5K8Adlcvge4/" def get_all_updates(): reponse=requests.get(url + "getUpdates") return reponse.json() def get_last_update(allupdates): return allupdates["result"][-1] data ...
[ "chiefehsan1997@gmail.com" ]
chiefehsan1997@gmail.com
78f6fb1a1767e721987d4d5c6735803bb9f58886
5f15c1f99777ee3699913f633fa1c11507781f99
/src/delta5interface/Delta5Interface.py
b1c26ec273894d68ab44b099476505caa4671248
[ "MIT" ]
permissive
realhuno/ARSADelta5
739f7756d4cb4b857ba6237f991a55d6338086bd
1da624cb8a61c2576b4b62f12e9e3d514bcfbf6f
refs/heads/master
2020-04-05T08:56:19.748558
2018-11-08T20:05:43
2018-11-08T20:05:43
156,735,433
0
0
null
null
null
null
UTF-8
Python
false
false
12,815
py
'''Delta 5 hardware interface layer.''' import smbus # For i2c comms import gevent # For threads and timing from gevent.lock import BoundedSemaphore # To limit i2c calls from Node import Node from BaseHardwareInterface import BaseHardwareInterface READ_ADDRESS = 0x00 # Gets i2c address of arduino (1 byte) READ_FREQU...
[ "patric.hainz@gmx.at" ]
patric.hainz@gmx.at
b12cd85ce1adc2eeb0c14de7cadfbfc86252efb9
6e2bfd9b875b5f9ace608945600c05c214346260
/Python/basic/app.py
bffaacb6267eaf4c8734bb856b440ba9a6d6f231
[]
no_license
abdilfaruq/LearnPython
7e079e8f0e69bc9276d78834346ba1e82b091b17
fb2b2541afd9531293d608c5c4d624d0985a96e9
refs/heads/main
2023-06-03T02:04:13.229241
2021-06-14T17:53:45
2021-06-14T17:53:45
376,902,028
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
#Module """ import data as d print(d.person) print(d.printNama("jack")) from data import person, printNama print(person) print(printNama("jack")) """ import data print(data.person) print(data.printNama("jack")) #Built in Module """ import datetime date = datetime.datetime(2021, 1, 13) pr...
[ "noreply@github.com" ]
abdilfaruq.noreply@github.com
b4ddef1979f3d80f7d1bf524fda4e3bf1a7c2edb
e2469c3ca6c9ce57dddf7e5d3eb0ccf6d6875997
/src/Model.py
03e7d6c8f0722f0dc6013f236002d3d51587de4e
[]
no_license
pranavlal30/NeuralNet-
8f9384023742f8a66984eda810c44f13b8aed707
553f1bf2dc865d6dde96cefdb82f02d0c86f1416
refs/heads/master
2020-04-29T19:36:37.498752
2019-03-18T20:08:52
2019-03-18T20:08:52
176,360,896
0
0
null
null
null
null
UTF-8
Python
false
false
3,882
py
import numpy as np from hiddenLayer import HiddenLayer from outputLayer import OutputLayer from collections import defaultdict class Model: def __init__(self): self.input_size = 0 self.output_size = 0 self.hidden_layers = [] self.output_layer = 0 self.metrics = defaultdict(list) def build_model(self, inpu...
[ "pranav.lal30@gmail.com" ]
pranav.lal30@gmail.com
67e6122af7dc8ce05eaf37c222fc63694777adbd
b5803da09ae899adacb7549daecd34cbb1fde325
/myprojectenv/bin/wheel
1a446c8e61f4b7d54b489c088e47dcc3ce5f3e23
[ "MIT" ]
permissive
Umidrifkatov/itlabs
acd702a8ff5ee449e8f199fec55f1ddf4b7f804a
87905c964db497a3781040693f5bac49ccc13ae0
refs/heads/master
2022-06-18T02:57:22.689172
2020-05-08T06:34:08
2020-05-08T06:34:08
262,229,563
0
0
null
null
null
null
UTF-8
Python
false
false
236
#!/home/user/myproject/myprojectenv/bin/python # -*- coding: utf-8 -*- import re import sys from wheel.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "root@localhost.localdomain" ]
root@localhost.localdomain
ce9f012d9df5cfda7aaaf72546c934028dc47983
cfbb34dd860a0707a5c6937c3e9dfe8d74433e27
/survey_form/wsgi.py
d5fe015aa43f2289f84db81261f2e472bc8bbb94
[]
no_license
andamuthu/test
eba4876fc886877eeb458f4a37e96ddb02dbfed1
49db219a905ea3ebcb71120dac3f1d66821cc752
refs/heads/master
2022-12-09T13:19:31.618651
2020-09-07T04:10:00
2020-09-07T04:10:00
292,813,311
0
0
null
2020-09-07T04:10:01
2020-09-04T09:58:00
Python
UTF-8
Python
false
false
399
py
""" WSGI config for survey_form project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_S...
[ "andamuthu.a@gmail.com" ]
andamuthu.a@gmail.com
d2ef114a00ba5b4f380bf39aa57aa8df100c7d5f
a2703c903f90d2eb3a2dcd161f71667a304de120
/client/node_modules/chokidar/node_modules/fsevents/build/config.gypi
7159dd237d2796a2a9959e0615e4f835b3f1783f
[ "MIT" ]
permissive
mJiyan/mercedes-coding-challenge
dcae18358bb0d76f90aba9de60cc267452b622b9
fda17ec697b5c7b0e7f46b5588e4b8df8d92733c
refs/heads/master
2023-06-18T17:32:21.670308
2021-07-17T07:13:29
2021-07-17T07:13:29
379,578,265
2
0
null
null
null
null
UTF-8
Python
false
false
2,978
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "build_v8_with_gn": "false", "coverage": "false", "dcheck_al...
[ "m.jiyan_aslan@hotmail.com" ]
m.jiyan_aslan@hotmail.com
fc98534217d6f3f2b8dd044e6270e904d659d5d0
ef94cddf90ac74d674598ac22b105bb58c1303da
/base/clases_y_objetos.py
ebce95a52617de24b52a46773792f152bf2f3604
[]
no_license
IvanLpJc/python-course
559f22bc6fe822c5ed2ef18f991f982098baf200
d5345267c3b21d58db97fd69bed75996d01d7df7
refs/heads/main
2023-06-18T19:52:41.014667
2021-07-20T11:57:18
2021-07-20T11:57:18
385,641,723
0
0
null
null
null
null
UTF-8
Python
false
false
2,895
py
print("*********************************************") print("* Clases y objetos *") print("*********************************************") class claseSilla: color = "blanco" precio = 100 silla = claseSilla() print(silla.color) print(silla.precio) silla2 = claseSilla() silla2.color =...
[ "malverano78@gmail.com" ]
malverano78@gmail.com
31cf54c91723e09a32191bd268d56fa21112d361
12183b476970b06f2aeb58584b38976a4938599e
/func/utils.py
7c2da2417109a7c3b6fdb9177b03799914e8099e
[]
no_license
IsraelRamirez/SOAP-Python
5d9234ed2a6a0cddccec39ced5f3123aea6f9784
53a40fc674d281278afea3966db80cc737bc2fb6
refs/heads/master
2022-11-20T06:48:00.615514
2020-07-27T16:31:55
2020-07-27T16:31:55
276,525,269
0
0
null
2020-07-27T16:31:21
2020-07-02T02:05:39
Python
UTF-8
Python
false
false
4,323
py
### Clases internas from models.carrera import carrera as carreras from models.rut import rut as ruts ### Librerias útiles import pg from openpyxl import Workbook import os query = "SELECT codCarrera, vacant, nem, ranking,matematica,lenguaje,histociencia, firsts FROM ponderados" # Ingresar datos de la base de datos db...
[ "nicexreal@gmail.com" ]
nicexreal@gmail.com
6498e1e16d21c3f27776a003f156ecfdfe0b9f63
865dc5767cd53a6a9b28e9a6484922281801a04d
/transmitter.py
8057f8fdf64e622ced1155408c94d4fbb35c0d4b
[ "MIT" ]
permissive
ghTravis/NetSim
649d1878966f3879b091d3f92298be0b4085892a
53db51bd8b708ee61e562f182adb235a37864cd7
refs/heads/master
2021-07-08T17:12:02.509887
2017-09-30T00:11:14
2017-09-30T00:11:14
105,326,447
0
0
null
null
null
null
UTF-8
Python
false
false
6,208
py
#!/usr/bin/env python from __future__ import print_function from random import randint from lib import socket_wrapper as SWrapper from lib import packet_wrapper as PWrapper from threading import Timer import sys import socket import time import pickle import ConfigParser import logging class Transmitter(object): ...
[ "tryder@hotheadgames.com" ]
tryder@hotheadgames.com
e73a7666e80d8ddc141304fb5c0093c649e0046d
71a2563d2587d215b0b29051ed770b8120ca1030
/2015_8_27_testAutomation_pexpect_xml_exception_novation/ssh_connect.py
dd22d976ae0a57606496acb0b6914582ef21d432
[]
no_license
liam-Dean/TestAutomation
7ed30d742333946d131b71e012b7b89291b32cee
5eff85e2f45170114d327a1cefe020e2d6dc304f
refs/heads/master
2021-01-24T01:00:09.061704
2015-09-01T01:10:04
2015-09-01T01:10:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,436
py
# -*- coding:utf-8 -*- __author__ = 'ezhicdi' import paramiko,sys,traceback from paramiko.py3compat import input try: import ssh_interactive except ImportError: from . import ssh_interactive class ssh: def __init__(self,hostname,username,password,port=22): self.hostname=hostname self.usern...
[ "jason-dean@outlook.com" ]
jason-dean@outlook.com
a09878bdc8bdf8a2faffc52c9e75c10d1d861837
c9ee5e7dd913c498b739732460d4aedd054034a3
/predict/attention/predict.py
aca54cab30a7328808a28b8ad976b2e8fc0c7fa5
[]
no_license
patrickbryant1/xprize_covid
73a307369aa837e79485ba8c93088fcc578ab523
4aa28a63687145a60ce2339548ba7d40fbe35655
refs/heads/main
2023-08-25T21:30:41.779311
2021-11-09T10:59:16
2021-11-09T10:59:16
314,192,137
0
0
null
null
null
null
UTF-8
Python
false
false
12,499
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import argparse import pandas as pd import numpy as np import os import sys import glob from tensorflow.keras.models import model_from_json import tensorflow as tf from tensorflow import keras import tensorflow.keras.backend as K import tensorflow.keras.layers as L impor...
[ "patrick.bryant@live.com" ]
patrick.bryant@live.com
718483a85d7529f7919f5929300066f497654161
ab690adfd91fae5fa7d37e8b4232b8eefdced156
/python/bin/wheel
ca3c988afd29611923c5f414e40199d29709de56
[]
no_license
eitikimura/structured-streaming
c4fab990f35cf65e9ca72576004c65cec8868c3c
80c2d593ca53daf9e2d23f7d37b3fd8e15e8b21c
refs/heads/master
2020-05-18T20:29:04.152676
2019-05-02T19:01:38
2019-05-02T19:01:38
184,633,860
9
4
null
null
null
null
UTF-8
Python
false
false
261
#!/Users/eiti/git-repository/structured-streaming/python/bin/python3 # -*- coding: utf-8 -*- import re import sys from wheel.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "eiti.kimura@movile.com" ]
eiti.kimura@movile.com
8863ef368a9a92f74c2c1e4f235d9242e2c2a107
feff8828195b5855025cabf650862b4c6f9ff6df
/RootEBDS/apps/cfg/serializers.py
5df41d87f89aeb963c27a4869983e118f346fc20
[]
no_license
2511zzZ/EBDS-server
99d42f11215b65e2906faf9d2f4aad8f3c46c998
c708bb6e7babf86f8101cce1bd18c5b3eae3779e
refs/heads/master
2021-07-06T08:46:01.799333
2020-03-02T12:34:16
2020-03-02T12:34:16
244,362,822
0
0
null
2021-06-10T22:37:33
2020-03-02T12:14:05
Python
UTF-8
Python
false
false
5,790
py
from collections import OrderedDict from rest_framework import serializers from .models import CfgBaseInquiry, CfgUserInquiry from .models import CfgAlertCondition, CfgAlertTransfer class BaseInquirySerializer(serializers.ModelSerializer): mode = serializers.IntegerField(min_value=1) class Meta: mod...
[ "2511672322@qq.com" ]
2511672322@qq.com
9cdb5138986510649b7ecfba68261e7c1d8a0844
28dbd700cbf4845502d1f4da99d176f97bd6db2a
/popstr/popstr.py
30ae259a437cb7c08265bf8b8cf131de85e69733
[]
no_license
fluhus/kwas
eef32d1d3e317d3a3312adb4b04891c4b09fc80a
88cf4e37744bb7d11fb07b128e527784e5f06bd8
refs/heads/main
2023-08-04T14:44:33.323157
2023-07-23T10:35:16
2023-07-23T10:35:16
542,435,056
0
0
null
null
null
null
UTF-8
Python
false
false
7,494
py
import json import os from argparse import ArgumentParser from collections import defaultdict from ctypes import CDLL, CFUNCTYPE, POINTER, c_char_p, c_int64, c_uint8 from os.path import join import numpy as np import pandas as pd from matplotlib import pyplot as plt from numpy.linalg import norm from sklearn.decomposi...
[ "amit.lavon@weizmann.ac.il" ]
amit.lavon@weizmann.ac.il
b5edb2c0273e7124ef114e4082b10abf6aafb93c
da732353198b48b421de3beb08b425380f881e2c
/bin/jp.py
2b74941fa568b9330c0547010e8f60f4504a717d
[]
no_license
Oakafee/Loverslist
278b2982b54a4f90741cee8ae1fb29a57f8e15e5
49bc86091265a80def79e39764ded180ed158e5d
refs/heads/master
2020-12-02T22:37:13.604661
2017-07-03T22:57:05
2017-07-03T22:57:05
96,155,978
0
0
null
null
null
null
UTF-8
Python
false
false
1,695
py
#!/Users/Oakafee/loverslist/bin/python import sys import json import argparse from pprint import pformat import jmespath from jmespath import exceptions def main(): parser = argparse.ArgumentParser() parser.add_argument('expression') parser.add_argument('-f', '--filename', help=(...
[ "jefrttt@gmail.com" ]
jefrttt@gmail.com
9fc449edf72fcda74552315b31a10280c86b6eaa
f4251487d8de4db09e166e7b6840aec105cb363e
/bbf.py
f18f747d6eac321f43671179e76569ae596c5353
[ "MIT" ]
permissive
Whitie/brainfuck-stuff
421fc5aafd2b3f363921c386fcd239b07d676bbd
263b6582fde107af5365d280da510974f3af415c
refs/heads/master
2021-06-24T16:28:34.724604
2020-12-06T15:50:34
2020-12-06T15:50:34
180,211,184
0
0
null
null
null
null
UTF-8
Python
false
false
8,786
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import re import sys import time from collections import deque from functools import partial from struct import pack, unpack DATASIZE = 30000 MAX_NESTING_LEVELS = 100 BF_COMMANDS = { 'MOVE_RIGHT': '>', 'MOVE_LEFT': '<', 'INCREMENT': '+', 'DEC...
[ "weimann.th@yahoo.com" ]
weimann.th@yahoo.com
d60337f09b30285efc27e1a3d719e9431cc0467f
18b9626926dbc8b115b5e3c764befc0803796394
/Python/238. Product of Array Except Self/producti.py
d3c84751d942939376b6ac7e134c6b3b49635e6e
[]
no_license
brownesc/LeetCode
07a194798bfff28ae004904db0274d18d7a010c6
45e707993c89f124739cedd3c7cfcfca4787f6c3
refs/heads/master
2022-12-06T07:27:38.644677
2020-08-17T05:25:22
2020-08-17T05:25:22
276,159,946
0
0
null
null
null
null
UTF-8
Python
false
false
1,325
py
# https://leetcode.com/problems/product-of-array-except-self/ """ Given an array nums of n integers where n > 1, return an array output such that output[i] is equal to the product of all the elements of nums except nums[i]. Example: Input: [1,2,3,4] Output: [24,12,8,6] Constraint: It's guaranteed that the product...
[ "andresuncle@gmail.com" ]
andresuncle@gmail.com
8d3b38199917e2fa33dcbebde716821d996887f7
1bef94923ef98ee8c4c745477edd5031fcc43eed
/Server/app/views/daughter/auth.py
be3813ab47bcc2372580b29f4519c0e04ac578fc
[ "MIT" ]
permissive
Moms-Day/Moms-Day_Backend
3bbc719ebcac0eec9b7a6c42ebcf9dd5a8f99e42
0359f91cf04dfdb653deeeb7eb2ba0676e9a3feb
refs/heads/master
2021-07-16T20:17:55.814611
2018-11-17T13:16:30
2018-11-17T13:16:30
134,725,800
4
1
null
2018-06-04T14:20:25
2018-05-24T14:19:11
null
UTF-8
Python
false
false
899
py
from flask import Blueprint, request, abort from flask_restful import Api from flask_jwt_extended import create_access_token, create_refresh_token from werkzeug.security import check_password_hash from flasgger import swag_from from app.views import BaseResource, json_required from app.models.account import DaughterM...
[ "jerion7474@gmail.com" ]
jerion7474@gmail.com
8e00318e601ae0ea996f2780621cf57635d2b94c
c81d7dfef424b088bf2509a1baf406a80384ea5a
/venv/Lib/site-packages/twilio/rest/preview/hosted_numbers/authorization_document.py
610059b75ec45154d8396888722fdb1b0162d8bb
[]
no_license
Goutham2591/OMK_PART2
111210d78fc4845481ed55c852b8f2f938918f4a
cb54fb21ebf472bffc6ee4f634bf1e68303e113d
refs/heads/master
2022-12-10T01:43:08.213010
2018-04-05T02:09:41
2018-04-05T02:09:41
124,828,094
0
1
null
2022-12-07T23:43:03
2018-03-12T03:20:14
Python
UTF-8
Python
false
false
17,273
py
# coding=utf-8 """ This code was generated by \ / _ _ _| _ _ | (_)\/(_)(_|\/| |(/_ v1.0.0 / / """ from twilio.base import deserialize from twilio.base import serialize from twilio.base import values from twilio.base.instance_context import InstanceContext from twilio.base.instance_reso...
[ "amatar@unomaha.edu" ]
amatar@unomaha.edu
63bd6a252dddc090640bc453862684e100056c04
6c790b128f5fb8870ddc861f785d1563fd539358
/test_roots.py
9adfde84a6dc28dcd72d8cadfe8ba7c9f9caa0bd
[]
no_license
mpstewart1/cs107test
f5ffa116f003916b447a4f53f7b2c884f66b4f52
b4d255813310c2baef2aedc7b61132f008ab2704
refs/heads/main
2023-02-08T09:27:47.404439
2020-10-16T00:06:25
2020-10-16T00:06:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
335
py
import pytest import roots def test_quadroots_result(): assert roots.quad_roots(1.0, 1.0, -12.0) == ((3+0j), (-4+0j)) def test_quadroots_types(): with pytest.raises(TypeError): roots.quad_roots("", "green", "hi") def test_quadroots_zerocoeff(): with pytest.raises(ValueError): roots.qua...
[ "matthew_stewart@g.harvard.edu" ]
matthew_stewart@g.harvard.edu
997793d9ae8c2b258868629e356cf63351e833ac
cacbb81f7142afb4fc01f5e6b9466916fb06cbb3
/auctions/migrations/0008_watchlistentry.py
63d98451829e51c336e1f753655b8575030e67a4
[]
no_license
jcarlson212/Auction_Site
9d041671dadf41468733bf6115e0902a70719860
87a1d191a13da96c7d35abe76b2768a5a3f6e31d
refs/heads/master
2022-11-13T05:03:27.464301
2020-07-10T06:14:04
2020-07-10T06:14:04
277,413,452
1
0
null
null
null
null
UTF-8
Python
false
false
764
py
# Generated by Django 3.0.8 on 2020-07-09 02:50 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('auctions', '0007_auto_20200708_1910'), ] operations = [ migrations.CreateM...
[ "jcarlson212@gmail.com" ]
jcarlson212@gmail.com
fac0bae74d32020423877b09f1ad467c8cead96d
d9d1d9e2e5ff535f559342d0aa7e9fbccc649406
/SConstruct
9991fb8271dd9f467ad39512d972523da7cfb1ba
[]
no_license
lsst-dm/obs_ztf
37e4f0cc0610b3c1faa65011278706494f2036b3
001b4afbd407e4ea3404cef32263ace3e283e2cd
refs/heads/main
2023-07-21T20:04:22.816986
2023-07-10T00:56:34
2023-07-10T00:56:34
156,426,422
1
0
null
null
null
null
UTF-8
Python
false
false
88
# -*- python -*- from lsst.sconsUtils import scripts scripts.BasicSConstruct("obs_ztf")
[ "rhl@astro.princeton.edu" ]
rhl@astro.princeton.edu
73c67101bc92f65ebaf38d53505358c017ccf405
a697d58185671dae3c99aafbf9aba7da5df8a7d7
/env/lib/python3.7/site-packages/colour/volume/datasets/optimal_colour_stimuli.py
af6142f9bad2b3497a52526432eb557eeb256667
[]
no_license
Dnathan33/Data-Visualization-Exploration
10ebe0363bb88d1935abac126ab3fae2bbff2f90
aedf76082297ca9d08f189707656b044a2ed83da
refs/heads/master
2022-12-23T09:35:09.239778
2020-09-17T00:12:30
2020-09-17T00:12:30
296,174,433
0
0
null
null
null
null
UTF-8
Python
false
false
20,026
py
# -*- coding: utf-8 -*- """ Optimal Colour Stimuli ====================== Defines *MacAdam Optimal Colour Stimuli* for various illuminants in *CIE xyY* colourspace. The *Optimal Colour Stimuli* data is in the form of a *dict* of *ndarray* as follows:: {'name': ndarray, ..., 'name': ndarray} where each *ndarray*...
[ "nathnaelmelkamu@gmail.com" ]
nathnaelmelkamu@gmail.com
55357b335289b42a1eb2927d0de6ef1686e39773
e5e2b7da41fda915cb849f031a0223e2ac354066
/sdk/python/pulumi_azure_native/containerregistry/v20201101preview/import_pipeline.py
c2b85b346c7f41cc482394c63cf3b0447a0d6150
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
johnbirdau/pulumi-azure-native
b7d3bdddeb7c4b319a7e43a892ddc6e25e3bfb25
d676cc331caa0694d8be99cb90b93fa231e3c705
refs/heads/master
2023-05-06T06:48:05.040357
2021-06-01T20:42:38
2021-06-01T20:42:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,440
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
johnbirdau.noreply@github.com
30103bb8678508e3031d47989953002bf4914e44
f00d42d3723bf8b99d348eb83d9ebbf86e97a486
/readTemperatureToAWS.py
ebae9f914d59718ffa6bffad3537cc1f5fd21e53
[]
no_license
NSAquarimat/Raspberry-Pi-2
f5469a98d5bd50e6ebcba54c645e8dec8f3a1a62
377e24528898c6820175a2dad7e03acdd38f330e
refs/heads/master
2020-12-30T11:29:01.571699
2017-05-17T12:07:08
2017-05-17T12:07:08
91,571,904
0
0
null
null
null
null
UTF-8
Python
false
false
3,539
py
#!/usr/bin/python import datetime import time import serial import serial.tools.list_ports import requests import json from const import Constant from logmessages import LogMessage class ReadTemperature: const = '' logMessage = '' def __init__(self): self.const = Constant() self.logMe...
[ "noreply@github.com" ]
NSAquarimat.noreply@github.com
96e1094392d1d4f001e2fa8086053069b4eddd06
ed4939fc54877e7bce03f2bfbde530a54f415da2
/retrocontador.py
3ae2f35754dd46c8e7799ad27d76b5e71a2a80b9
[]
no_license
eldeivich/m02_boot_0
ebd98d4ecd0422d80986f4ebf6d0c37125b2c368
e9335e3de999194a87c11561e16a1a0d03213e6a
refs/heads/master
2020-07-20T01:55:38.829243
2019-09-06T13:16:12
2019-09-06T13:16:12
206,551,963
0
0
null
null
null
null
UTF-8
Python
false
false
189
py
def retrocontador(e): print("{},".format(e), end="") if e > 0: retrocontador(e - 1) retrocontador(10) def sumatorio(n): if n < 0: return n + sumatorio(n-1)
[ "47783040+eldeivich@users.noreply.github.com" ]
47783040+eldeivich@users.noreply.github.com
4912c77bb556abef5524a0cdd1fe770883f51b60
9a4bebbed984ff81761001ea66044e2e222d7f69
/example.py
211eb506c32ed58797c49f581dd34025272c56a9
[]
no_license
Lggggggx/Meta_Data
b5c3511cad04370cd7035c69682739327b5b82ea
adfd9b61eb7c24f955b40bf02fb9b2962146b89e
refs/heads/master
2020-04-16T09:30:40.958985
2019-06-05T07:40:04
2019-06-05T07:40:04
165,466,891
0
0
null
null
null
null
UTF-8
Python
false
false
7,897
py
import copy import scipy.io as sio import numpy as np from sklearn.datasets import make_classification from sklearn.externals import joblib from alipy import ToolBox from alipy.query_strategy.query_labels import QueryInstanceGraphDensity, QueryInstanceQBC, \ QueryInstanceQUIRE, QueryRandom, QueryInstanc...
[ "3123652@qq.com" ]
3123652@qq.com
1f84d29ac64c60eecc68e8ab8b8b9a597d982553
fb41f80102617035b37a172dd33d46170e19e8ba
/rpg_bookshelf/library/migrations/0011_auto_20170406_0841.py
094d894ce5a1631828fa4be402b7c7e26c8553b9
[]
no_license
Behir92/RPG_Bookshelf
10934c567c8869a2f50740a53532825b47bcc74c
1d277d7472df64d6f3a4760b5d88c40ff53ed3d5
refs/heads/master
2021-01-18T22:47:28.514017
2017-04-07T09:35:55
2017-04-07T09:35:55
87,072,339
0
0
null
null
null
null
UTF-8
Python
false
false
506
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.3 on 2017-04-06 08:41 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('library', '0010_auto_20170406_0712'), ] operations = [ migrations.AlterFiel...
[ "behir92@gmail.com" ]
behir92@gmail.com
a1d01f459da48bd0f9617167f10533c1bf94e83a
792f8763aab5ede4313b069365244a2a9807f8d5
/advancedlist.py
b41eb6cfa1971d2807be8bbfebc49c37952709b5
[]
no_license
arunvenkatram/python
e314da806df933a16299bd8c09a9a34ffad6f949
12246485509df96515ccac1fd1f9994f3ef96065
refs/heads/master
2020-04-02T04:58:08.670269
2018-12-30T13:45:25
2018-12-30T13:45:25
154,045,468
0
0
null
null
null
null
UTF-8
Python
false
false
415
py
#!/bin/python import argparse parser=argparse.ArgumentParser(description='search for words inluding partial words') parser.add_argument('snippet', help='enter the partial work here') args = parser.parse_args() snippet=args.snippet.lower() dict = open('/usr/share/dict/linux.words', 'r') words=dict.readlines() matches=[]...
[ "arun92venkat@gmail.com" ]
arun92venkat@gmail.com
e2312ec39fc16ac1782ca4510f5ea78a54196564
f157368c667ff35e0d398b6e7041e3cd5c39ebd5
/03-fetchfeed.py
73189d7dcb0825240eb7956087137df72f37540f
[]
no_license
unJASON/TF-learning
13e99b8670a09ed1dcbe0c847f3c6b9e97821443
349ce8dea1e466d21b5f006cb87326759f949306
refs/heads/master
2020-04-08T12:13:00.556932
2018-11-30T07:22:54
2018-11-30T07:22:54
159,337,649
0
0
null
null
null
null
UTF-8
Python
false
false
539
py
import tensorflow as tf input1 = tf.constant(3.0) input2 = tf.constant(2.0) input3 = tf.constant(5.0) add = tf.add(input2,input3) mul = tf.multiply(input1,add) with tf.Session() as sess: #fetch 同时运行多个op result = sess.run([mul,add]) print(result) #feed input1 = tf.placeholder(tf.float32) #32位浮点型占位符 input2 ...
[ "2693017973@qq.com" ]
2693017973@qq.com
f2f999b2e9c47efa460879ae97f8c6f10827f7f3
1e7a65a1f80b17dad71d1fae4b65182b8dcafc2f
/views/decorators.py
7ca832b9dfa694a8d232b653af234b32481dee4a
[ "MIT" ]
permissive
openedoo/module_employee
767af7fdf873146c989e0d9a95a9828a08bc7529
fa52a93f2f9cfe6160ff75bc2eebabd86ccf318f
refs/heads/master
2020-05-27T01:13:54.370790
2017-04-17T07:32:08
2017-04-17T07:32:08
82,520,169
0
1
null
2017-03-30T12:40:41
2017-02-20T05:28:33
Python
UTF-8
Python
false
false
1,430
py
from functools import wraps from flask import g, flash, url_for from openedoo.core.libs import session, redirect from modules.module_employee.models import Employee, Setting def setup_required(f): @wraps(f) def wrap(*args, **kwargs): """Checks if there is any employee or not""" employee = Empl...
[ "dwipurnomo.yk@gmail.com" ]
dwipurnomo.yk@gmail.com
d6d1cf0aae0f255c589c42898ace8a3e6abc4d99
814ef5164c2a7e8da31ffa7d67af44fc32d1cbe0
/App/config.py
0df707f9eab58b5fcad0261f8d9476f8096d4ccc
[]
no_license
RayDeveloper/pharm-backend
8a3b892f31a43c1e7021402fcef9a36176ae3cc7
96a7579b2991e17c0e0dcff9d496ddfb769d0035
refs/heads/main
2023-08-28T12:13:05.658270
2021-11-09T03:34:41
2021-11-09T03:34:41
422,045,592
0
0
null
null
null
null
UTF-8
Python
false
false
472
py
import json, os CONFIG = None environment = os.environ.get('ENV') if environment == 'production' or environment == 'staging': CONFIG = { "DEBUG" : False, "JWT_EXPIRATION_DELTA": 7, "SECRET_KEY" : os.environ.get('SECRET_KEY'), "SQLALCHEMY_DATABASE_URI" : os.environ.get('SQLALCHEMY_D...
[ "snickdx@gmail.com" ]
snickdx@gmail.com
2df9f187b41621c0b62ed5a79857cf5e30baeb5c
c34c5f6f5f4c727804628a8e113fd79ea51a71b3
/PreprocessingCode/InputTextAnalysis.py
973aecf85bb82291f5d9c332d177723e93df17b4
[]
no_license
Aarolon/MLProject
b58e1e55a698a0b718498f222dae2ebf251e229d
b69346868993f2a4e0911f1cdad6a5f550e548de
refs/heads/main
2023-01-23T17:59:54.824715
2020-12-02T02:30:44
2020-12-02T02:30:44
315,759,662
0
0
null
null
null
null
UTF-8
Python
false
false
5,827
py
import preprocessing import vectorization import pandas as pd; import twitterAPIKeys as t # words_df = preprocessing.getDfFromJSON('All_Beauty.json.gz') # words_df = words_df[:10] #just testing on a small substring of data words_df = pd.read_csv('All_Beauty10000.csv') words_df #at this point words df is just a column ...
[ "erickgomez@mines.edu" ]
erickgomez@mines.edu
48dd335939066781cab20f76da01345b22c0ea34
d046fd4ac8e52ed8054199765893f7e1a71302f2
/master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/Alarm_garbageCollectNonAllocatedRootTree.py
e9825070b0f4b1285eef5653c261f238a292c95d
[]
no_license
jakop345/slapos.core
7538418056be6541e9ee7a70d2d6b694e03daafc
410dfb506b7ec17745365d573e7401f217b74ed4
refs/heads/master
2020-06-18T21:43:39.012812
2016-11-24T11:06:49
2016-11-24T11:06:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
437
py
portal = context.getPortalObject() select_dict= {'default_aggregate_uid': None} portal.portal_catalog.searchAndActivate( portal_type=('Slave Instance', 'Software Instance'), validation_state='validated', default_aggregate_uid=None, select_dict=select_dict, left_join_list=select_dict.keys(), method_id='Inst...
[ "alain.takoudjou@nexedi.com" ]
alain.takoudjou@nexedi.com
b0f90126d112f8cb5a8031b6ab8276de24e876d1
5696f91a586d8ad7e28be77d7161b7b7e24aba8a
/micro_influencer_utilities.py
292fde9da942012beb7d7167e18e299b3dfda9e6
[ "Apache-2.0" ]
permissive
project-72/micro-influencer-detector
855415b91512649a935cbd71050c7691794ca733
a2db70cd847fb80d761b452a3506d829eb2db2b7
refs/heads/master
2022-01-19T00:48:27.688279
2019-07-09T08:50:27
2019-07-09T08:50:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,076
py
# This Python file uses the following encoding: utf-8 #!/usr/bin/ import tweepy import os import time import sys from pathlib import Path from datetime import datetime import json import re #------------------------------------------------------# #-------------authentication phase started-------------# #---------------...
[ "simone.leonardi.rd@gmail.com" ]
simone.leonardi.rd@gmail.com
b7c373b4b5a12cdda3db6d7c6a5e5658426da9c7
62652efa27184d8dc137a58489ba89c6af617d59
/python/gui/Gui_3DS.py
be563d97242552faab29ecb01f0b8370329cf08c
[ "MIT" ]
permissive
DGU-DAI-Lab/Artifact-Mapping-from-3D-Scanning
f88f577c6e004c1da4751cbd315f562cfcec0256
8d5020d239e1558c5a1762478e4b3ac1166ccfef
refs/heads/master
2022-03-25T13:53:51.978064
2020-01-15T06:10:12
2020-01-15T06:10:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,806
py
import tkinter as tk import stl from stl import mesh import numpy as np from src import DepthSegment as ds from src import Svgfy as svg from stl import mesh import time def set_root(window): global root root = window def Rotate_UseCogCov(): pass def Rotate_Direct(): pass def Mapping_SVG_noBackgrou...
[ "hepheir@gmail.com" ]
hepheir@gmail.com
32cd57d99d7c5431cc357f0727c5ab5626d2224b
2b56f75932d239fff9abfc0a84bd273a5436a06f
/trails/feeds/360cryptolocker.py
3aef9c6a819f7d25d8d20606ae4e7d7a09317775
[ "MIT" ]
permissive
dyhpoon/maltrail
d89ea395c74b6bca9b77ad3c2198f6e92d0ff664
7c9c7226161d8c0e233db7718be60912544bb586
refs/heads/master
2021-07-21T19:33:21.682448
2017-10-31T12:21:43
2017-10-31T12:21:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
591
py
#!/usr/bin/env python """ Copyright (c) 2014-2017 Miroslav Stampar (@stamparm) See the file 'LICENSE' for copying permission """ import re from core.common import retrieve_content __url__ = "http://data.netlab.360.com/feeds/dga/cryptolocker.txt" __check__ = "netlab 360" __info__ = "cryptolocker (malware)" __referen...
[ "miroslav.stampar@gmail.com" ]
miroslav.stampar@gmail.com
5c358e24f6cf03739854757ba2aba966a2d92983
bc3c7b4b9bd1df0306d2c52ca0683915b0865fea
/courses/templatetags/course_extras.py
30a63ad75517c5e24ea03bbcd91e6c8f673552af
[]
no_license
magyarn/learning_site
7747fa2b175137489f50c0486da6a20f2fc55107
c9c02603c001ef8e546e38bea4b69b27824fb0a0
refs/heads/master
2020-04-22T01:37:03.692717
2019-02-10T21:26:19
2019-02-10T21:26:19
170,019,836
0
0
null
2019-02-10T21:26:20
2019-02-10T19:53:29
Python
UTF-8
Python
false
false
1,071
py
from django import template from django.utils.safestring import mark_safe import markdown2 from courses.models import Course register = template.Library() @register.simple_tag def newest_course(): ''' Gets the most recent course that was added to the library. ''' return Course.objects.filter(published=True)...
[ "magyarn@umich.edu" ]
magyarn@umich.edu
c297389ece5661707f7704f66b4e36a39205d9e9
8dbe24acd1ad993ec1989b6814bdd9ba64675655
/graph/union_find_clustering.py
ffdc54093388de1f50f3f112fdd59e61b6f9880c
[]
no_license
stefanosc/algorithms
9764f31feee630212a2037d20dfa1224336f1d2c
c3b0488d96071ae6df23958aea36393815351fc6
refs/heads/master
2021-01-14T08:51:54.211194
2015-04-12T21:53:42
2015-04-12T21:53:42
27,975,754
0
1
null
null
null
null
UTF-8
Python
false
false
1,631
py
import numpy as np class UnionFind(object): """simple implementation of UnionFind algorithm initialize members, rank and number of sets""" def __init__(self, size=2**24, arr=None): self.members = np.arange(size) self.rank = np.ones(size, dtype=int) self.sets = len(arr.nonzero()[...
[ "stefano@bvprojects.org" ]
stefano@bvprojects.org
a2a715b286fd319896732dc70e8d19cfaf70d286
64842e59f10d8a4a3e1a457ce9d91e6a05f536cc
/addtobuildlist/__init__.py
bd04c18d2810dbce4715a9ed3984d03f1d74eb7b
[ "MIT" ]
permissive
Tibibv/addtobuildlist
9bd905e620ad6630e5d48d1ec88d9cd0e957aa19
e204fd243c14655277c57fcaa61ebadd5c30a4bf
refs/heads/master
2021-08-30T01:17:43.484273
2017-12-15T14:10:23
2017-12-15T14:10:23
114,133,857
0
0
null
null
null
null
UTF-8
Python
false
false
30
py
from .addtobuildlist import*
[ "kron_bv@yahoo.com" ]
kron_bv@yahoo.com
f418ecdd5c0785b88db763b0865a7202e2cef0ed
7e72a6796727ca6c24b5a41f2c7418c3a5960b83
/accounting_module/migrations/0003_alter_chartofaccount_trialbalance_chart.py
f610d3c4651bb3f392040908c2a7fe0fe87c9f4e
[]
no_license
joeygracesabusido/accounting-backend
269d479ecb2818b2a4e8e2433915829ee23438ed
97f4f276abd8767f92dec4e22db347c578cb61ed
refs/heads/master
2023-08-19T11:37:56.636476
2021-10-07T08:43:39
2021-10-07T08:43:39
409,522,210
0
0
null
null
null
null
UTF-8
Python
false
false
685
py
# Generated by Django 3.2.7 on 2021-09-23 06:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounting_module', '0002_alter_chartofaccount_trialbalance_chart'), ] operations = [ migrations.AlterField( model_name='chartof...
[ "joeygracesabusido@gmail.com" ]
joeygracesabusido@gmail.com
01c9cc55ebc02a0841e1bb9573a58989a8c6e1bb
9f00c5af33e50470c72827b2009899bb8d43c299
/stream_service/forms.py
8de6d848151d5c94233d23ee0bb859b840673f5c
[]
no_license
saadullahaleem/twitchstreamviewer
d73bb15c8978ae0ef2110000c0c33aae3b569cf9
68eca97e974ba728b8a78f1feef630e5596dab69
refs/heads/master
2022-12-12T00:47:13.982763
2020-02-21T10:20:44
2020-02-21T10:20:44
168,964,033
1
1
null
2022-12-08T01:34:58
2019-02-03T16:09:27
Python
UTF-8
Python
false
false
252
py
from django import forms from .models import User class StreamerForm(forms.ModelForm): favorite_streamer = forms.CharField(label='Your Favorite Streamer', max_length=100) class Meta: model = User fields = ['favorite_streamer']
[ "aleemsaadullah@gmail.com" ]
aleemsaadullah@gmail.com
505e0a1908f4b2835e3edd6eb05f1f81e6a69552
62ccd4ceba82cbe22840b4cafad86e948e1c26d7
/apps/news/views.py
68b506be2a32506a3e6216bb98ee65e3882286f4
[]
no_license
eshafik/newsfeed-portal
4e27b78c0c91c86f5ee3fe53bd2a2e922268f35e
a54ef7fe5b959c6cf22296aad143943b8e0f17f7
refs/heads/master
2023-07-14T02:12:22.621087
2021-08-18T11:11:34
2021-08-18T11:11:34
397,561,587
1
1
null
null
null
null
UTF-8
Python
false
false
968
py
from rest_framework import status from rest_framework.response import Response from rest_framework.views import APIView from rest_framework.permissions import IsAuthenticated from app_libs.custom_pagination import CustomPagination from apps.news.utils import get_news class NewsFeedAPI(APIView): """ News ...
[ "shafikul@evaly.com.bd" ]
shafikul@evaly.com.bd
a85f26a7cd053860dbfc7f30b95806ad33143a4a
2c191b6dc3cabf394208af8c33190840d4ace153
/python/utils/utils.py
a442f6094932e5724291dba3b3ed8aec4d82038d
[]
no_license
mattrero/competitive_programming
48b5bf4bebb38dac7ef15364b72ed6c2271e72dd
db8f59b58d07ac096a9eb746d202978c63f4bcc3
refs/heads/master
2022-11-13T02:51:09.033935
2020-06-23T16:09:34
2020-06-23T16:09:34
274,448,548
0
0
null
null
null
null
UTF-8
Python
false
false
3,320
py
from collections import defaultdict import sys # map(int, list1, list2) # ord('a') # chr(97) import math def distance(p1, p2): x1, y1 = p1 x2, y2 = p2 return math.sqrt((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1)) def distance_path(p1, p2): x1, y1 = p1 x2, y2 = p2 return abs(x1-x2) + ab...
[ "mattrero@users.noreply.github.com" ]
mattrero@users.noreply.github.com
f118da72e29c89e38ee1dce1d9d61c0a5e0458a3
bd6c319dfe739cf9c43539a08d2f2fd4701b2281
/RellMarket/rellmarket/rellmarket/urls.py
948a8dcb656ee66ceb436382cce11cafb4f49edb
[]
no_license
Sherelle20/Mes-minis-projets-Python
0eeef417d50631ded7e6907af44e34e5ac2fe4d7
7237f755f397c1c1f9fcf8bb15090adff58abccd
refs/heads/master
2023-08-02T15:47:21.972107
2021-06-11T21:11:14
2021-06-11T21:11:14
242,397,427
3
0
null
2021-09-22T19:35:15
2020-02-22T19:13:36
Python
UTF-8
Python
false
false
848
py
"""rellmarket URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-ba...
[ "sherellekana@gmail.com" ]
sherellekana@gmail.com
fa691145cc454830758f1355446dce886a36720f
c6850632041713a88725ac6bb6530433ba1157b4
/ftc18/urls.py
1245612de97bad35326baaf92fc5dcbfdcda08ab
[]
no_license
ameklou/ftc18
dbc41b23200f2479ee40ff5fa146d22767e0410f
a68cc0e36da08e6ce1e7f9c0c9132a04c049efec
refs/heads/master
2020-03-16T16:24:41.084379
2018-05-10T07:47:33
2018-05-10T07:47:33
132,786,096
0
0
null
null
null
null
UTF-8
Python
false
false
747
py
"""ftc18 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based v...
[ "amekley@gmail.com" ]
amekley@gmail.com
dbf421074c106bc1d05cce54faa250618bf782e1
15f3dc2b77a49978c66d3c9e2626d4aceb7311cd
/execute.py
3d8d1580c2054a06d85185c7fe20585409d71af6
[]
no_license
walk1ng/vlad
fecc7d552972dc18107b04cd75d29d09e20b4248
bfb7dd4427bb3fe0076d481c9c9f3145cb50a1c5
refs/heads/master
2021-01-10T20:22:31.831885
2015-03-27T09:37:19
2015-03-27T09:37:19
32,856,308
0
0
null
null
null
null
UTF-8
Python
false
false
1,220
py
#! /usr/bin/python import os import re import json import subprocess try: import xml.etree.cElementTree as ET except ImportError, e: import xml.etree.ElementTree as ET tests = os.environ["alltests"] testConfigXmlName = "tests.xml" # retrieve test case def RetrieveCase(): cases_need_run = [] cases = (re.sub('},{',...
[ "v-lii@OSTC-Wei.fareast.corp.microsoft.com" ]
v-lii@OSTC-Wei.fareast.corp.microsoft.com
a199e92bc39388de339beabe46b9635f7607472f
d3343d11764b98746e8d95865187463120c33c94
/tests/karaoke_bar_test.py
c62d7111e947eca7244299ba128fc483ed65453a
[]
no_license
randomlyalex-codeclan/CCC
e9bddb13bcbd3ef042b3b1297b7d40942affb8ed
3b3b51ae9fbe3a1fc64ada2c043e95b612549433
refs/heads/main
2023-01-21T10:56:03.515817
2020-11-30T22:57:22
2020-11-30T22:57:22
316,791,464
0
0
null
null
null
null
UTF-8
Python
false
false
13,067
py
import unittest from src.karaoke_bar import KaraokeBar from src.song import Song from src.room import Room from src.guest import Guest class TestKaraokeBar(unittest.TestCase): def setUp(self): # rooms setup self.room001 = Room("Room 1", 10) self.room002 = Room("Room 2", 5) self.room003 ...
[ "alexdodd@gmail.com" ]
alexdodd@gmail.com
30318fa7ac460f2de3a4584845693a5c0513a403
abad7ebe878cfd15b68713d79be02afdc0327f87
/scripts/combine_reports.py
12ebdc252e2dd3753f7953ffdc955270a287a03c
[ "BSD-2-Clause" ]
permissive
chrisspen/action-optimizer
22870a0827f5c9bfaed737046349c109aa097ec0
1bbc1b85452cbba9af6cad77aff96d189d783d9d
refs/heads/master
2023-08-17T20:48:51.940798
2023-07-18T17:05:51
2023-07-18T17:05:51
180,441,930
0
0
BSD-2-Clause
2023-07-06T23:25:13
2019-04-09T20:11:46
Python
UTF-8
Python
false
false
2,256
py
#!/usr/bin/env python import os from datetime import date from collections import OrderedDict import pathlib from pyexcel_ods import save_data from pandas_ods_reader import read_ods current_path = pathlib.Path(__file__).parent.resolve() pcc_path = os.path.abspath(f'{current_path}/../reports/{date.today()}/pcc.ods') ...
[ "chrisspen@gmail.com" ]
chrisspen@gmail.com
39224ae101ec103e520dac01bb8256d5729e040b
0c325cf7a68ef51067ed8db566d525a20de5b635
/other/panda365/panda365/pd/payment/payssion/tests/test_notify.py
7777e556adf2c9c1a0088674cffd872501ca4946
[]
no_license
alinzel/NOTES
2ab6aa1ef1d601a9ae8c0d23c0df2bca7e1aa241
3e0594641a605580e920d0b08a251fbc99f34e2f
refs/heads/master
2023-01-08T22:48:30.762625
2020-01-17T09:14:47
2020-01-17T09:14:47
175,339,492
0
0
null
2022-12-27T15:01:19
2019-03-13T03:28:08
HTML
UTF-8
Python
false
false
2,928
py
import pytest from pd.payment.models import PaymentStatus from pd.payment.payssion.client import PaymentStatus as PayssionPaymentStatus URL = '/v1/payments/payssion/notify' @pytest.fixture def post_data(payment): return { 'pm_id': payment.method, 'transaction_id': payment.transaction_id, ...
[ "944951481@qq.com" ]
944951481@qq.com
b22bd1e8b2d7b82847082af4a842da0be1e342f3
0d02a984525be692c39644391aff56e248f8aa02
/2021/2021-01/beginner/solutions/power.py
1f8ecda2d1b6025dfc4726c89cc70764c36de054
[ "Unlicense" ]
permissive
PythonAberdeen/user_group
19f9cb3ec37dafdeb3d4273b83a9aab6b10edea9
e0c4c58fe72a48e3f58df687493c84c8ebd71657
refs/heads/master
2023-07-20T00:01:43.531887
2023-07-12T18:56:01
2023-07-12T18:56:01
208,131,601
15
28
Unlicense
2023-06-15T14:46:55
2019-09-12T19:34:57
Jupyter Notebook
UTF-8
Python
false
false
769
py
def parse_power_log(fn="../power.txt"): with open(fn) as f: log = [float(l.split()[3]) for l in f if l] return log def on_off_points(log, cutoff): for i in range(1, len(log)): if log[i] < cutoff and log[i-1] > cutoff: print(f"Switch off at {i}") if log[i] > cutoff and lo...
[ "rmcw@allmail.net" ]
rmcw@allmail.net
61d209278088381d9794b82ef2cf7fe96f31b107
c8c95520fb1a17d627a0256df2c6702f4f53403a
/12.11.2b_exercises.py
2f50c9eb07dbc5061e36c13b9437317825bb656e
[]
no_license
wsargeant/httlacs
608f1b4b34c95f18f934f10883beb56a2895c269
3337b369c541e18d5ed9ecbca35494c3ebcfa591
refs/heads/master
2023-02-21T21:10:03.228762
2021-01-25T08:44:46
2021-01-25T08:44:46
284,936,152
0
0
null
2020-08-28T10:35:17
2020-08-04T09:32:38
null
UTF-8
Python
false
false
61
py
import math print(math.ceil(4.506)) print(math.floor(4.506))
[ "69194027+wsargeant@users.noreply.github.com" ]
69194027+wsargeant@users.noreply.github.com
4c4680255beda441d17753ed435c8838e7bf9df1
d5ed6362732d31d07ddac3d0aef53910aa85c64a
/djangochallenge/manage.py
6954e89bc4ab42cac604e85c6d5d0c0190fea84d
[]
no_license
mhdi01/django-challenge
9a44fde57d9115b3570b23b8c370d772e8571419
73c34dd7a86ac7e77f75745cb9207a686fd43325
refs/heads/main
2023-08-14T20:38:19.242783
2021-10-04T20:59:47
2021-10-04T20:59:47
413,062,548
0
0
null
2021-10-03T11:49:31
2021-10-03T11:49:31
null
UTF-8
Python
false
false
671
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'djangochallenge.settings') try: from django.core.management import execute_from_command_line exc...
[ "mhdi.gh75@gmail.com" ]
mhdi.gh75@gmail.com
adf2b60a46576ac2f2a2186669ab4ddc1c820f4a
1de899061b0c7150791a4425b54d01ef0a8860c3
/itinerary/urls.py
483ca8f64f6338b3a1398b4163c206603dfad900
[]
no_license
sjkingo-archive/itinerary-app
396878618ed28f6a4bc2fbcdeb94d11c205c8cf0
477e1735879fdac249594d2565cedb25c8353646
refs/heads/master
2020-04-16T04:26:32.617898
2013-06-07T23:02:05
2013-06-07T23:02:05
10,558,771
0
0
null
null
null
null
UTF-8
Python
false
false
224
py
from django.conf.urls import patterns, include, url from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', url(r'^admin/', include(admin.site.urls)), url(r'^', include('transit.urls')), )
[ "sam@sjkwi.com.au" ]
sam@sjkwi.com.au
4d22e9c0f1e4ff6ebebe1e642c3f6c3cec3d46ad
8a739f5a4a2e87103a6a4e723642d6bde00176d7
/311_Solution/swagger_client/models/internal_model.py
da7a53b445796971116e570ae8221de52e5c9d14
[]
no_license
zhangwexxx/zhangwexxx
ec857192061afa0804bf0426ed70b6843e924610
41de08f7618cac88785f4932c0de7c1c6140a4ab
refs/heads/main
2023-04-21T18:01:10.023673
2021-05-10T16:32:15
2021-05-10T16:32:15
366,102,019
0
0
null
null
null
null
UTF-8
Python
false
false
4,158
py
# coding: utf-8 """ Speech to Text API v3.0 Speech to Text API v3.0. # noqa: E501 OpenAPI spec version: v3.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six from swagger_client.configuration import Configuration class I...
[ "wei.zhang@ottawa.ca" ]
wei.zhang@ottawa.ca
812bb42913c37911176f71ead7157dd0be155e2c
259a3724e54989c2a89071495328b29198d3cdde
/avcon-service/src/controllers/convert_controller.py
6b13b5489881c6825924042003e86b8423ec6ea1
[]
no_license
pablovicz/avcon
14f5f9d788978cf82e91f966368a96d8af661a66
91f0a3e0980493d7fc16275a2314aa8e4077875f
refs/heads/main
2023-08-14T04:15:49.705222
2021-09-13T10:54:55
2021-09-13T10:54:55
400,773,257
1
0
null
null
null
null
UTF-8
Python
false
false
2,828
py
from src.utils.converters import AudioMediaConverter, VideoMediaConverter import src.utils.application_utils as ut from flask import make_response from werkzeug.utils import secure_filename import base64 import shutil import time import os class ConvertController: def __init__(self, request): self.__med...
[ "pablowoina2205@gmail.com" ]
pablowoina2205@gmail.com
a9e95064605cc0e71483b567144732c698fda5d7
611ce9c6023c2a3b63692c9357e04fb18b866090
/server.py
d22bde1865d5d2ff98cdb0429df0bc58433fd516
[]
no_license
ritiksatokar/Dotrix
8397cf76ddcf327a37f80b230c6bc439da397663
2e0316be5d18596da3090393c4b5b01748ca38ac
refs/heads/master
2023-05-14T20:57:24.327463
2021-06-02T14:06:47
2021-06-02T14:10:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
765
py
from flask import Flask, render_template, request app = Flask(__name__) @app.route('/') @app.route('/home') def home(): return render_template('home.html') @app.route('/joingame', methods=['GET']) def join_room(): game_id = request.args.get('gameid', False) print(game_id) return {'msg': f'Congra...
[ "sagar.singh0304@gmail.com" ]
sagar.singh0304@gmail.com
234ceac2e5ea146e47aca95a83b2a88c2b7a9d6c
78b7c97a9020bd8bcd4f8cc10c3cf4efddeb00fd
/11_if_elif_else.py
781b9d5c3ccb14065418f7d04d760be8f23fcef1
[]
no_license
9Brothers/Learn.Python
ca69269741fa286d8a5442708674de4c76589c65
af430564d0be8f05663167d3c26ca84fda897dc8
refs/heads/master
2021-07-18T17:57:47.238256
2020-05-15T17:05:37
2020-05-15T17:05:37
160,976,979
0
0
null
null
null
null
UTF-8
Python
false
false
355
py
# a = 1 # b = 1 # bol = b is a # if a is 2 : # a += 10 # print(a) notas = [ 10, 9, 8 ,9 ,5, 10, 7 ] for nota in notas : if nota >= 9 : print("Aluno nota {n} foi aprovado".format(n = nota)) elif nota >= 7 : print("Aluno nota {n} está de recuperacão".format(n = nota)) else : print("Aluno nota {n}...
[ "heber.sousa@viavarejo.com.br" ]
heber.sousa@viavarejo.com.br