blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
5dcc65374a2fde059b676d6eac03a0be30a0ce6b
d201c70e0b094ee9e1c035b089f6d2f4cc003f4b
/loadbalancer-test/pathGenerator.py
237e95d2a00dc674a3dc8bfe982f144f2894c6ca
[]
no_license
dangsj123456/simulations
f40cacd355ad13668b276861fbd7927be8d015de
f071fe399a269c17aee28c1d68e736466863f374
refs/heads/master
2022-04-03T11:48:41.220431
2020-02-12T14:41:44
2020-02-12T14:41:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
329
py
import sys import csv with open(sys.argv[1], "r") as fileName: reader = csv.reader(fileName) fileSize = [row[4] for row in reader][1:] fileSize = list(map(int, fileSize)) with open("pathResult", "w") as pathResult: for item in fileSize: pathResult.write("fileResult/" + str(item) + "...
[ "haorany@kth.se" ]
haorany@kth.se
9ae8013db54b0af63057392ab2b78dc094f4e612
ef3e561eb705a3eef5f301d8f923df2308eb29e6
/main_gen.py
e515a3360cfdc2a55c57866968737de94ac33caa
[ "MIT" ]
permissive
rongcloud/rongcloud-message-generator
f2e781add134de162be9e9eeb71a3cd021a33990
3ac5cfca0488e17ba1d3eaf1b547b248cfc296c9
refs/heads/main
2023-07-27T18:05:56.806355
2021-09-14T06:31:22
2021-09-14T06:31:22
406,248,652
0
0
null
null
null
null
UTF-8
Python
false
false
713
py
#coding=utf-8 from MsgObj import MsgObj; import Util def main(): # 1.构造 MsgObj 对象 obj = MsgObj("CustomMessage","app:cusMsg") # 2.设置消息持久化标识 obj.setPersistentFlag(Util.Persistent.IsCounted) # 3.设置消息所在包名 安卓专用 obj.setPackage("cn.rongcloud.im.im.message") # 4.设置参数列表 obj.addParamBool("isVip"...
[ "qixinbing@rongcloud.cn" ]
qixinbing@rongcloud.cn
cd3cec9818b06e940a29d573c548c908bbe7881a
3b41d6c0feabc0e9d5351c4a5bad7e20b6f400d0
/resources/google_senti.py
63752c359192e3b223959540f60084ed03058fbc
[]
no_license
keerthana151094/Real-Time-Voice-Analytics-WebApp
7caf930b0d45387764fe1c59334cd7fda7c688a1
a335ee97902c4f78d53e7d3aab12b9fa616ca0bf
refs/heads/master
2020-04-08T03:35:55.781554
2018-11-24T23:54:17
2018-11-24T23:54:17
158,982,513
2
1
null
null
null
null
UTF-8
Python
false
false
1,485
py
import os import json from json import loads as _l from flask_restful import Resource, reqparse from resources.encoding import Encoding os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = "authn.json" import googleapiclient.discovery class GoogleSentiService(Resource): def post(self): args = parser....
[ "KAK12@lennoxintl.com" ]
KAK12@lennoxintl.com
d7d662559160bbbc0629b12acebe93227896f123
c43f5886f41fe065bc7b10aac29d6f41977c46d8
/315.py
2021325f8f0dbd74be2373930a3899d6e48c4194
[]
no_license
esun0087/euler
1fc41eb1c62f90ae37951f2fbddf969fa791ecbb
c1949d9f1bbee14b2196fe65c996e896790bf967
refs/heads/master
2021-01-20T17:06:43.426612
2016-07-03T02:22:34
2016-07-03T02:22:34
60,492,389
0
0
null
null
null
null
UTF-8
Python
false
false
2,224
py
''' ''' from math import sqrt def get_prime(M, N): prime = [] for i in open('prime.txt'): if int(i) >= M and int(i) <= N: prime.append(int(i)) if int(i) >= N: break return prime def get_next_data(x): x = list(str(x)) x = [int(i) for i in x] return sum(x...
[ "wangbiao1@letv.com" ]
wangbiao1@letv.com
9ce4c4a054c3248c95fc8f4adfaaca3c6d119e46
f58d7b595d18fb3efc8ea424e3756b2a7e2fc70c
/Django Project/movie_application/winerama/accounts/urls.py
7ab60f3626133af6203c599050fa1ab8e59c97c8
[]
no_license
Sambhav-27/Django-project
71a1a7a5385198c5ef9cb6978d3ace08cf55f158
673174c04a60eb7a1b5a4bfcd8369813faa03238
refs/heads/master
2020-03-28T22:13:10.490880
2017-06-17T14:39:10
2017-06-17T14:39:10
94,625,729
0
0
null
null
null
null
UTF-8
Python
false
false
219
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^signup/', views.signup,name='signup'), url(r'^login/', views.loginview,name='login'), url(r'^logout/', views.logoutview,name='logout'), ]
[ "iamsambhavyadav@gmail.com" ]
iamsambhavyadav@gmail.com
6fa83ec4df79774466dd6f6a47160890eca4d7f1
6700a2c4c1ba8853e42eba78d2f852fd0bdc4a42
/lLyrics/DarklyricsParser.py
6e32bcae0b68c942543f115a95bf8b75a65725c1
[]
no_license
jang574/lLyrics
cfc30c2563fd4a2fc9e2cc90fd260f9d76f53f1c
b3fa6352c2478f553cf7f495562edb6ad7b71ea0
refs/heads/master
2020-04-13T23:22:06.062911
2018-12-31T17:28:42
2018-12-31T17:28:42
163,504,376
0
1
null
2018-12-30T10:58:24
2018-12-29T11:05:53
Python
UTF-8
Python
false
false
3,049
py
# Parser for darklyrics.com # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # This program is distributed in the hope ...
[ "timoloewe91@gmail.com" ]
timoloewe91@gmail.com
509859696cdfb32437bfb0050e71f6d408283258
ee7537b09377222fd81b79b4494ca66244bc2e8f
/webapp/config.py
2dea4b565942589c4b06a765befbc1d7458b0c2a
[]
no_license
pgerasimov/patronage-service
c6cea6b8758d7a70a652283b6567b54e35ee1fd6
3fdeb1df475564e3cfb53b59af951b0eef1ac4d4
refs/heads/master
2021-11-23T23:47:12.770412
2021-11-13T19:39:05
2021-11-13T19:39:05
221,197,802
0
0
null
2021-03-20T02:37:21
2019-11-12T11:06:17
Python
UTF-8
Python
false
false
257
py
import os basedir = os.path.abspath(os.path.dirname(__file__)) SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join( basedir, '..', 'webapp.db' ) SQLALCHEMY_TRACK_MODIFICATIONS = False SECRET_KEY = 'A0tr43j/3yO VB~XHH123!jmN42]pWpWX/,?RT!'
[ "gerasimov86@gmail.com" ]
gerasimov86@gmail.com
e2399df3821254f4ef5f3dbdb2b39081cbdb0eae
d54476a109bb7a75ab18c742e53425358eae2df7
/cart/migrations/0007_auto_20190831_1312.py
effc4f4f7371a10996aef08b421bd7b58b47fea4
[]
no_license
OmarGonD/stickers_gallito
8b46673a73d3fa6fdbdeb9726804f3e3c176543b
4aa4f5aeb272b393410ed8b518aa39040f46a97b
refs/heads/master
2022-12-09T20:38:23.672740
2019-12-13T14:41:41
2019-12-13T14:41:41
163,198,792
0
1
null
2022-04-22T21:00:01
2018-12-26T16:35:33
HTML
UTF-8
Python
false
false
469
py
# Generated by Django 2.2.1 on 2019-08-31 18:12 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('cart', '0006_auto_20190831_1021'), ] operations = [ migrations.RenameField( model_name='sampleitem', old_name='file_a', ...
[ "oma.gonzales@gmail.com" ]
oma.gonzales@gmail.com
188d1de5d34b2a06f37105ba5eceeb385825e319
8af0d95b81f495e5c0ad188810dd31dbde5bc67c
/5. Mis Ejercicios/Mis Soluciones a los Ejercicios/1.- Pensamiento Computacional/conversion_divisas_reto.py
e6730addbdf938cfb724462c78395618d2cc09eb
[]
no_license
javierramon23/Curso-Python-KeepCoding
5d2d8cdc0c5a7ca91dbaa5053d295d27fc1638ed
42b4d5c01087fdc5ea8e5f7dbd0f4c0a124d2a77
refs/heads/master
2020-06-19T20:43:32.990843
2019-08-14T13:40:25
2019-08-14T13:40:25
196,863,854
0
0
null
null
null
null
UTF-8
Python
false
false
1,062
py
''' FUNCION que se realiza una CONVERSION de MONEDA ''' def conversion(pais, cantidad_moneda): # DICCIONARIO con RELACION de PAISES y CAMBIOS. tipos_de_cambio = { 'ESPAÑA': 0.91, 'SUIZA': 0.98, 'BITCOIN': 0.000092, 'CHINA': 6.94, } # Se BUSCA el PAIS en el DICCIONARIO, S...
[ "red-dragon-23@Javiers-MacBook-Air.local" ]
red-dragon-23@Javiers-MacBook-Air.local
cfc0a55d9da11185f067440734aae1648c656225
fc72dca4c9492433b99dddf7be0392385ee0c8b0
/jobList/apps.py
74e5478664c5dffe4c8ec68f63cd366edb718057
[]
no_license
C-Powers/jobSpace
a4b6f03723671f59ae4b3376e2f5c2cabb1137ff
5604661d78751a866f22deb20ef7750b36be2169
refs/heads/master
2021-01-18T22:54:17.432932
2016-08-21T00:09:47
2016-08-21T00:09:47
65,641,163
1
0
null
null
null
null
UTF-8
Python
false
false
130
py
from __future__ import unicode_literals from django.apps import AppConfig class JoblistConfig(AppConfig): name = 'jobList'
[ "cjpowers3@gmail.com" ]
cjpowers3@gmail.com
642ff5a37d4982d4bec7815d779acb330bc49b07
1763c1aed40bf82845ad3a5821f2bce121685db4
/main/apps/forkey_app/views.py
abe2799c5a8bca79c28b1b77dd65c0f4005bc6be
[]
no_license
lorenzokuo/Foreignkey_relationship
1b41425a7856a1770793ecd00c90e00502574e7e
071d88bd4600df5735df93ff591efd86ebf39274
refs/heads/master
2020-03-29T13:29:49.200378
2018-09-23T08:44:12
2018-09-23T08:44:12
149,965,361
0
0
null
null
null
null
UTF-8
Python
false
false
338
py
from django.shortcuts import render, HttpResponse, redirect def index(request): context = { "authors": Author.objects.all() } return render(request, "books/index.html", context) def create(request): my_book = Book.objects.create(title="Little Women", author=Author.objects.get(id=2)) re...
[ "lorenzokuo@gmail.com" ]
lorenzokuo@gmail.com
abe36984047539ca6fb87f3d417158d708a351e8
5f4ac50204ba0bdf91c6a51e452e76ff94101a1a
/login/models.py
2c2f5890b40a9d8c768dd1f1411e94cab8a549eb
[]
no_license
adv27/django-login
9dd7e973da6ac557fe084506a2f36a94d077014d
034a105e1a5ef76d33d39bdd4727bb8caa5e50d8
refs/heads/master
2022-12-11T05:50:32.770254
2020-06-15T04:11:51
2020-06-15T04:11:51
135,282,791
0
0
null
2022-12-08T02:11:10
2018-05-29T10:57:03
Python
UTF-8
Python
false
false
655
py
from django.contrib.auth.models import User from django.db import models from django.db.models.signals import post_save from django.dispatch import receiver # Create your models here. class Profile(models.Model): user = models.OneToOneField(User, on_delete=models.CASCADE) is_active = models.BooleanField(defa...
[ "anhvdse04605@fpt.edu.vn" ]
anhvdse04605@fpt.edu.vn
e800ab4d4c8510326d2de27dd81cf3992e4af493
1e51ad6b25ecbd52698eb387885614741ca34614
/check_mk/allnet_3418v2/checks/allnet_sensors
21ecac08de63f4b2d7796c2b73c50e27971b1370
[]
no_license
FlorianHeigl/nagios
ad20b4b560e13cbf17c85903f89afff53ced983a
62dfeb27191087cf8b6568ccb6aed4c807887ba1
refs/heads/master
2022-08-28T19:11:50.966952
2022-08-04T10:36:13
2022-08-04T10:36:13
22,273,691
11
8
null
2022-08-04T10:36:13
2014-07-25T23:13:46
Python
UTF-8
Python
false
false
3,196
#!/usr/bin/python # -*- encoding: utf-8; py-indent-offset: 4 -*- # +------------------------------------------------------------------+ # | ____ _ _ __ __ _ __ | # | / ___| |__ ___ ___| | __ | \/ | |/ / | # | | | | '_ \ / _ \/ __| |/ /...
[ "florian.heigl@gmail.com" ]
florian.heigl@gmail.com
827cbd2d99e8803ccf73330b2f36667a203a156f
b0225c9177cd672ce4c85b14cb55b2d7b6312418
/core/utils.py
d15915a6300042d46e9de69e19ef8ddb6753fc43
[]
no_license
orlovol/key
fd1f9387952c144dde6ff11234ebbb641e1fa3bf
c64fca73cf36502fddad0c0a74c171f18805293b
refs/heads/master
2020-05-14T18:35:58.685444
2019-05-08T17:21:30
2019-05-08T17:21:30
181,912,001
0
0
null
null
null
null
UTF-8
Python
false
false
1,546
py
import sys from itertools import chain from collections import deque, defaultdict def empty_profile(f): return f # catch nameerror when mprof is not used try: profile = profile # type: ignore except NameError: profile = empty_profile _HANDLERS = { tuple: iter, list: iter, deque: iter, ...
[ "alex.orlov7@gmail.com" ]
alex.orlov7@gmail.com
67063be87a26c5ee411e2154fe1c4e1f6b8569c0
70c60d7410187b86d53c5417e44e79d914d071e4
/contacts/views.py
8c2eb4e6b19fe8b94530aebfa3e5de27441fde6e
[]
no_license
rhuynh01/btre_project
7bd8e7c43328aac44440bf9d5b9671e6b0037c55
8380b6d9091d58f05549c73cc4cc2cbd8e21c996
refs/heads/master
2020-04-19T15:13:35.386006
2019-01-30T05:01:12
2019-01-30T05:01:12
168,267,667
0
0
null
null
null
null
UTF-8
Python
false
false
1,528
py
from django.shortcuts import render, redirect from django.contrib import messages from contacts.models import Contact from django.core.mail import send_mail # Create your views here. def ContactView(request): if request.method == 'POST': listing_id = request.POST['listing_id'] listing = request.POST['listin...
[ "rhuynh2005@gmail.com" ]
rhuynh2005@gmail.com
1524d3445de48399c72f668761e38dabcfaed017
ed5d539d7cbc0f10af620b1e4f5d84bb0114e397
/pizzeria/11_env/bin/django-admin
3c5c6146a301b9b6f16c1c7fc4fcd049170569ef
[]
no_license
zp0708/pythons
7c20a2e12fee43c394920b0cabd1de2d7481c710
3df92e936b2d518ac6a8a86de16215c2813b8689
refs/heads/master
2020-04-17T07:59:52.041391
2019-01-21T12:21:00
2019-01-21T12:21:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
308
#!/Users/zhaopeng/Desktop/Python/pizzeria/11_env/bin/python # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line())
[ "bimuyu@helijia.com" ]
bimuyu@helijia.com
75e97cef092cc5bdc6b163a634378af7d35a5255
bd4513a8580240225d234a8f774bac011c4ee289
/TCS NQT Coding Questions and Answers/Strong Number.py
450cc614c8d21e89c9c0b253ea17465414912fb2
[]
no_license
Avisikta-Majumdar/Campus-Placement-Coding-Question-And-Answers
1002982f2f0823ce599ef59b25caea3bf1c61990
e6d57cf52083a13fd4a9d4a416b6a7c23164cd3f
refs/heads/main
2023-07-03T15:16:38.110028
2021-08-06T12:26:45
2021-08-06T12:26:45
371,049,936
4
0
null
null
null
null
UTF-8
Python
false
false
977
py
''' Write a Python Program to check whether a given number is a strong number or not. The given number N, a positive integer, will be passed to the program using the first command line parameter. If it is a strong number, the output should be “YES”, If it is not a prime number then output should be “NO” to std...
[ "noreply@github.com" ]
noreply@github.com
4ce882200c9fa07a0afef96fe52e55fec4ffd8c4
7109eecfb78e0123b534ef960dbf42be38e49514
/x7-src/engine/engine/tests/api/x7/test_wsgi.py
9474a89a504c694a8cdaf876bd5407c012ab83cc
[ "Apache-2.0" ]
permissive
wendy-king/x7_compute_venv
a6eadd9a06717090acea3312feebcbc9d3925e88
12d74f15147868463954ebd4a8e66d5428b6f56d
refs/heads/master
2016-09-06T16:58:13.897069
2012-01-31T01:26:27
2012-01-31T01:26:27
3,310,779
0
0
null
null
null
null
UTF-8
Python
false
false
24,532
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 import json import webob from engine import exception from engine import test from engine import utils from engine.api.x7 import wsgi import engine.context class RequestTest(test.TestCase): def test_content_type_missing(self): request = wsgi.Request.blank('/te...
[ "king_wendy@sina.com" ]
king_wendy@sina.com
533b9f5190aec7b5d6e52be40c8027017425f7eb
c8d6cfc2148fe15a272110277d511fb8522c4c26
/mongodbpro/Deleteonemongo.py
e5727beda1527ccd2402a2a26aa3b7b1e492fc4a
[]
no_license
n1e2h4a/AllBasicProgram
9d1705315cf08678cf615a77921e17728ed41f94
88f27c24906de3ea2b2ee1f94adaa648ef1e51c3
refs/heads/master
2021-01-04T06:40:49.207179
2020-03-11T13:40:52
2020-03-11T13:40:52
240,428,706
0
0
null
null
null
null
UTF-8
Python
false
false
139
py
from pymongo import MongoClient client = MongoClient('localhost',27017) db=client.result col=db.biodata col.delete_one({"city":"Dehradun"})
[ "guptaniharika851@gmail.com" ]
guptaniharika851@gmail.com
e18fa6d129a21a58d7b213ed6498cdd300531f0d
af62cbaab00a09aaf564ec24128ce714027d401a
/test/tests.py
6af6d4457c367485a1e35ec7ca68eecb6824acc0
[]
no_license
austintwang/plasma
258c20757273adbdccaeefe04098c02b9bb4f98d
436983381604ca38bb14d119e2b8fed14c6b8f86
refs/heads/master
2021-07-14T08:19:52.743619
2019-06-26T21:04:36
2019-06-26T21:30:34
136,389,623
6
1
null
null
null
null
UTF-8
Python
false
false
7,651
py
from __future__ import print_function from __future__ import division from __future__ import unicode_literals from __future__ import absolute_import import scipy.misc as spm from . import Benchmark, Benchmark2d from . import Haplotypes def dummy_test(): params = { "num_snps": 200, "num_ppl": 95, "overdispers...
[ "austin.wang1357@gmail.com" ]
austin.wang1357@gmail.com
d349920d708c6f9d22bde0a69db9fa99834ba536
9ae53fb4caf1a6e53a5ea1789d35f43cf62a4e87
/Bien_doi_hinh_thai.py
046bde821f624a183790b01e8aeea88603200042
[]
no_license
damnqse05820/OpenCV
a17cab0b8057c6577c5c4b4b60bd2f917d29c38c
99fe68752fb7d0242b5473ec230d3699c9077121
refs/heads/master
2020-04-26T08:36:27.202990
2019-03-02T09:44:17
2019-03-02T09:44:17
173,427,998
0
0
null
null
null
null
UTF-8
Python
false
false
1,151
py
import cv2 import numpy as np cap = cv2.VideoCapture(0) while (1): _, frame = cap.read() hsv = cv2.cvtColor(frame, cv2.COLOR_BGR2HSV) lower_red = np.array([30, 150, 50]) upper_red = np.array([255, 255, 180]) mask = cv2.inRange(hsv, lower_red, upper_red) res = cv2.bitwise_and(f...
[ "noreply@github.com" ]
noreply@github.com
9d8ae1275a631e023a71b4de3489f88302c8e72a
3de95d8882ad44e8ff821b2563a067d4e5249759
/demo.py
1c46efa6f932098b01ac8f6ff7f969b913d9d383
[ "MIT" ]
permissive
wuxiaolianggit/Image-Matching
8c74f7557b6dd7c7a6f71b2627a94f4e112ae5e9
3213a8a574fa7bcc476d3de1c7370c268bf817a7
refs/heads/master
2021-04-08T00:42:08.063935
2020-01-19T05:25:54
2020-01-19T05:25:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,307
py
import math import cv2 as cv import numpy as np import torch from PIL import Image from torchvision import transforms from models import ResNetMatchModel def get_image(file): img = cv.imread(file) img = img[..., ::-1] # RGB img = Image.fromarray(img, 'RGB') # RGB img = transformer(img) img = i...
[ "liuyang12@focusmedia.cn" ]
liuyang12@focusmedia.cn
507b1f976d3629c289eb8dd2a16b04942b488d55
d22695c4e4be4d13397cf66d29bc631f0ac98360
/bird.py
9adebf18d33734f1578d4369d5aac7d1e1de1252
[]
no_license
sweetysingh1609/Snake-Game
6b70c4e220b5f332b4d8c16306d6cea5604d8aba
3db7551a476ddb733dfe1f09fe84123db824c14d
refs/heads/master
2022-11-20T03:08:09.637481
2020-07-21T10:49:03
2020-07-21T10:49:03
281,369,963
1
0
null
null
null
null
UTF-8
Python
false
false
4,937
py
import pygame import random import os pygame.mixer.init() pygame.init() #colors white = (255, 255, 255) red = (255, 0, 0) black = (0,0,0) #creating window screen_width = 900 screen_height = 600 gameWindow=pygame.display.set_mode((screen_width, screen_height)) #Background image bgimg = pygame.image.load("snake.jp...
[ "sweetysingh1609@gmail.com" ]
sweetysingh1609@gmail.com
a37246089f6d753b353a98fd4c9d55fbb8fb0a98
d0207e019bd72bd1ef77dbde369b7234ba44e7d7
/misc/projector/tfrecords.py
8c3d165f31b6509c86bb601a6e1774e7708955bf
[]
no_license
307509256/tf-face-recognizer
467458ee764fa44b18f33aa697de886a62a18263
3eb4b0fee1350302c57a755afb1a3b8537e7ec7e
refs/heads/master
2021-01-14T10:37:19.812201
2017-02-14T13:10:34
2017-02-14T13:10:34
82,047,255
1
0
null
2017-02-15T10:11:39
2017-02-15T10:11:39
null
UTF-8
Python
false
false
3,671
py
import os import sys sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..')) from model.recognizer import Recognizer from tensorflow.contrib.tensorboard.plugins import projector import tensorflow as tf FLAGS = tf.app.flags.FLAGS tf.app.flags.DEFINE_string('checkpoint_path', '/tmp/model.ckpt', ...
[ "sugi1982@gmail.com" ]
sugi1982@gmail.com
ed7c5515c9c3d1c22990c3f5a3a7a7ff57ba9f1c
a77455d929eed31be49def597a395b5e410169fa
/test_uicatalog_ios/test_uicatalog.py
f6c707f91ddfebc4f6acd5167181a9e919c9dca5
[]
no_license
zhuyan0000/Hogwarts10
43b9b44f90d75ab897d97dc719b87548e52b2d9c
243b817ea41f2302401e4adcea3a90fd0545c873
refs/heads/master
2021-03-18T01:40:32.219627
2020-02-28T13:52:27
2020-02-28T13:52:27
247,035,977
0
1
null
2020-03-13T09:38:43
2020-03-13T09:38:42
null
UTF-8
Python
false
false
1,452
py
from appium import webdriver import unittest class TestUicata: def setup(self): caps = {} caps["platformName"] = "ios" caps["deviceName"] = "小杜的手机" caps["platformVersion"] = "13.3" caps["udid"] = "45d4d762fe59e8a1d405c8b28cf91a87cc25ca44" caps["xcodeOrgId"] = "JW64U...
[ "duxiuyan@126.com" ]
duxiuyan@126.com
1e104d0444dded5f2551e90c6400569c91aff1cf
858e054130cf2b831b8848082b420494feb0404b
/pixelwise_softmax_classifier.py
8cf921ddafb15fcb50d1929fe305a59777ed2f33
[]
no_license
apple2373/chainer-train-stuck
670bc40ccc95ae8dad70adb682a31971c279babd
1368ef69be59b59ccbedcacfd307380dcff34008
refs/heads/master
2021-01-11T13:41:44.193599
2017-06-22T07:18:56
2017-06-22T07:18:56
95,085,364
0
0
null
null
null
null
UTF-8
Python
false
false
2,400
py
import chainer from chainer import cuda import chainer.functions as F from chainer import reporter import numpy as np class PixelwiseSoftmaxClassifier(chainer.Chain): """A pixel-wise classifier. It computes the loss based on a given input/label pair for semantic segmentation. Args: predict...
[ "apple2373@gmail.com" ]
apple2373@gmail.com
3a47c0f2f17057a6e8afd7540a9da93d03b0f165
4dddd01ca6a60f2fa408ee55fbaebe868917184a
/myappium/xueqiu/__init__.py
1513984c6e62598b66393859814dc0c324b29b13
[]
no_license
fanpl-sourse/all_study_practice
6f056c18f0eb7afd6af649e5b595895683bb0cbd
b02f25231855e149b95476b20dd8d53318cfe1a5
refs/heads/master
2023-01-22T09:13:15.107616
2020-11-30T05:53:43
2020-11-30T05:53:43
304,493,176
0
0
null
null
null
null
UTF-8
Python
false
false
137
py
# -*- coding: utf-8 -*- # @Time : 2020/11/6 11:13 # @Author : 饭盆里 # @File : __init__.py.py # @Software: PyCharm # @desc :
[ "fanpengli@fangdd.com" ]
fanpengli@fangdd.com
26cd682a191c3f1090108d104df6ee8ca1d0745b
0e396947b18f898c25e6f13164f182790a82f6d3
/UI_SHisSendData.py
95e5b58ed634da19924861cfd6b07b1b7ca23671
[]
no_license
XiaoJiaoYaZi/MsgTest
786d4ebbf6cf79b3a1a256a5147be2d611b83140
d0f0ffee7199d4c65b217f6c705aa6b2e2f88204
refs/heads/master
2020-03-23T07:40:57.814471
2018-07-17T12:14:42
2018-07-17T12:14:42
141,285,415
0
0
null
null
null
null
UTF-8
Python
false
false
25,507
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'UI_SHisSendData.ui' # # Created by: PyQt5 UI code generator 5.6 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_SHisSendData(object): def setupUi(self, SHisSendData): ...
[ "35963340+XiaoJiaoYaZi@users.noreply.github.com" ]
35963340+XiaoJiaoYaZi@users.noreply.github.com
01dca218ac04bd84a3099ff7114f3f9a372c5e81
753c90d3606dfe85b464eebcfecc0b325326b672
/autotest/bug/models.py
5cc519916c158d38df599e04a8c1fccdce9dda77
[]
no_license
zmxhdu/auto
74b3f83c26b44802679e1635f1e54e6f6384d114
8ad7486b6a6bf03f6622f50a6ac49cd4114ec402
refs/heads/master
2020-06-02T14:22:47.476341
2019-12-20T08:33:14
2019-12-20T08:33:14
191,186,687
0
0
null
null
null
null
UTF-8
Python
false
false
1,059
py
from django.db import models from product.models import Product # Create your models here. class Bug(models.Model): Product = models.ForeignKey('product.Product', on_delete=models.CASCADE, null=True) bugname = models.CharField('bug名称', max_length=64) bugdetail = models.CharField('详情', max_length=2000) ...
[ "zmxhdu@126.com" ]
zmxhdu@126.com
82793dd89285650647eee05f1393eeb018e92942
b2af13af82fcb2e577e0484e14bea01434cb6522
/Time Series/Traffic Incidents Braga/RNN/execution2.py
23e3255ffd2b46bdce08618e03d7e92a8398cd9b
[ "MIT" ]
permissive
Gonkalos/CSC
c4f66553ded0571c85467e8bdeece1931c1a1308
a36a79ad961ea4418c9ea4dd14cb8a1d0b0e2b46
refs/heads/main
2023-07-27T16:40:25.484248
2021-09-08T22:51:15
2021-09-08T22:51:15
342,204,115
0
0
null
null
null
null
UTF-8
Python
false
false
2,356
py
# -*- coding: utf-8 -*- from data_processing import load_data, split_data, to_univariate,to_daily_uni_multi, missing_values, data_normalization, to_supervised, prepare_train, plot_incidents from models import generate_configs, grid_search import pandas as pd from statsmodels.tsa.stattools import adfuller import ...
[ "a84610@alunos.uminho.pt" ]
a84610@alunos.uminho.pt
99a1b2abecf328f3bb47fea4b88cff5176c1094f
767dae79df18f9868855774464d08864a1d8629b
/protonfixes/gamefixes/49520.py
0674b46a2d96ee8e749de921f41d16126bbc4080
[ "BSD-2-Clause" ]
permissive
simons-public/protonfixes
05cd9c2c37c35ce56ec4c3cdcdba375c6eadf530
681411ba8ceb5d2d790e674eb7a5b98951d426e6
refs/heads/master
2022-11-16T04:16:32.764931
2022-11-15T00:24:24
2022-11-15T00:24:24
150,211,569
245
75
NOASSERTION
2022-11-15T00:24:25
2018-09-25T05:20:02
Python
UTF-8
Python
false
false
430
py
""" Game fix for Borderlands 2 """ #pylint: disable=C0103 from protonfixes import util def main(): """ Launcherfix and NVIDIA PhysX support. """ # Fixes the startup process. util.replace_command('Launcher.exe', 'Borderlands2.exe') util.append_argument('-NoSplash') # Disables esync prevents c...
[ "35010457+simons-public@users.noreply.github.com" ]
35010457+simons-public@users.noreply.github.com
3e8b898cf1ff77e7beec865767b56b1b0bddaca8
9b45746972ee9b98b7ee9374e8081c9273481bb6
/OOP_in_Python/classes_objects/intro_to_classes.py
a82468eadbeff95d7d8bfd73028afb69ef2452fe
[]
no_license
Patrick5455/Data_Analytics_World_Quant_University
2e8c8d9bca805791a39f3b3fd68cee22715d9623
1d843560fc8d1af5e6bb5db8241444eaff613146
refs/heads/master
2022-11-21T23:20:54.237897
2020-07-27T02:46:33
2020-07-27T02:46:33
236,696,251
0
1
null
2020-07-09T16:08:42
2020-01-28T09:10:51
Python
UTF-8
Python
false
false
1,816
py
class Rational(object): # Object initialisation and its attributes def __init__(self, numerator, denominator): # The object it(self) is the first argument in a method of any object. # self here refers to the object argument passed into the class declaration self.numerator = numera...
[ "patrickojunde@gmail.com" ]
patrickojunde@gmail.com
05096af66320085804842ee1aef8b11369b72874
3afa72a6b45869ee096514fda49ada2742bdb421
/.venv/bin/django-admin
ba6ee723e7edba225330571166152a389373028b
[]
no_license
Aries324/custom_users
1026714025e256211fd06040f4e3f6ddee9a1152
d2e23d6c14cb481bb779d44b9b50be253d2f5b0e
refs/heads/master
2022-08-24T12:07:45.261111
2020-05-20T23:27:42
2020-05-20T23:27:42
265,080,067
0
0
null
null
null
null
UTF-8
Python
false
false
322
#!/Users/tiffanymclean/Kenzie_Academy/Django/custom_users/.venv/bin/python # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line()...
[ "tamclean324@gmail.com" ]
tamclean324@gmail.com
f872b58f2554aeb7b7b1c79bd8a73cb42f83bb26
f2900f4a1d383a1a1f8d7d574e64e6486cb7ec1a
/python/TranslateAirFlyToRoot.py
18092d5934090f720e92effab44c54f593820817
[]
no_license
jirikvita/FastPyTools
1ce8d860a9ebbc573856891847ce135cf719b45a
ba8c4c34aebe9a88581ce65bfca47c5c9b4ef968
refs/heads/master
2023-04-06T11:52:22.345188
2023-03-15T07:48:21
2023-03-15T07:48:21
194,891,629
1
0
null
null
null
null
UTF-8
Python
false
false
1,195
py
#!/usr/bin/python # jk 8.7.2019 from __future__ import print_function import os, sys # Auger: indir='/data/FAST/Auger/' outdir='/data/FAST/Auger_ROOT/' #TA: #indir='/data/FAST/TA/' #outdir='/data/FAST/TA_ROOT/' rebin = 1 evtId = 0 for lrun in os.popen('cd {} ; ls | egrep "run191020" '.format(indir)): # for l...
[ "jiri.kvita@upol.cz" ]
jiri.kvita@upol.cz
f8a9549a98ca1de8eb7e10e26104426029c983a8
6ea52c93be4ede7cc58c22f6600570fe3fde716a
/tests/pyro_test_suite/model27.py
1b84e438a9c67362f6bb5ba60210a4fc79875446
[ "MIT" ]
permissive
wonyeol/static-analysis-for-support-match
7158797d3766850df0fc96ba4e0dadc8428bf32a
850fb58ec5ce2f5e82262c2a9bfc067b799297c1
refs/heads/master
2022-12-01T21:33:46.511474
2022-11-20T23:35:47
2022-11-20T23:35:47
216,757,903
6
0
null
null
null
null
UTF-8
Python
false
false
792
py
# test_nested_plate_plate_dim_error_3 # shape: [1] p = torch.tensor([0.5], requires_grad=True) with pyro.plate("plate_outer", 10, 5) as ind_outer: # shape: [5,1]+[1] = [5,1,1] --bcast--> [5,1,5] # pyro.sample("x", Bernoulli(p).expand_by([len(ind_outer), 1])) pyro.sample("x", Bernoulli(p).expand_by([5, 1])) ...
[ "xavier.rival@gmail.com" ]
xavier.rival@gmail.com
b117df3051f081e36ae52d30a90e660c466554b0
87bd79949ed866eed8ca8e7a4212b5dbc37b1aab
/utils.py
89d7a075fb23b78690a18e6b39937a97a9aca468
[]
no_license
dyk0320/PKUHealthMonitoringEveryday
1dd56d43ddc5b63fae6ea59cde8e54e44f661b5a
c999d777f4a85103b7528bf95bbb3b51c4b4b67c
refs/heads/main
2023-02-21T16:16:13.607355
2021-01-25T11:02:17
2021-01-25T11:02:17
332,711,290
0
0
null
null
null
null
UTF-8
Python
false
false
3,008
py
import random from selenium import webdriver import requests from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.common.by import By from selenium.webdriver.support import expected_conditions as EC import time from selenium.webdriver.common.desired_capabilities import DesiredCapabilit...
[ "noreply@github.com" ]
noreply@github.com
1ce40225c0bd98ad6047ab3c3a8461043a1478c8
b421a1fef24b0c4a35ac6bb9abe5f07757f01797
/accounts/models.py
08a25c6056c4748e72bad66b7198646824053d27
[]
no_license
AL-NOMA/dbn
bde36b090fffb848322a1365cdd760133e3de002
1a04972722a21a2bfa42b099ebfcb43d020c2d36
refs/heads/master
2023-07-17T09:58:24.481741
2021-08-22T17:47:26
2021-08-22T17:47:26
382,926,743
0
0
null
null
null
null
UTF-8
Python
false
false
856
py
from django.db import models from django.contrib.auth.models import User import uuid # Create your models here. class Profile(models.Model): user = models.OneToOneField(User, on_delete=models.CASCADE) first_name = models.CharField(max_length=200, null=True, blank=True) last_name = models.CharField(max_le...
[ "alexisnomanyo@gmail.com" ]
alexisnomanyo@gmail.com
9fc8e4bba5e62e92f1651df7054814a96c82fb85
bce967aeb485fd0bc0e7ff8acd42d234fb40f50a
/blog/views.py
bd924874b5090bc26f99fdaa0b77d110697c1c02
[]
no_license
amjalca/BlogTallerDjangoGirls
9977e4d4bafb3cdb365898b3f8c206f99b94c34f
f2ef8b7218b80a72d8850051e426378c31f16f7b
refs/heads/master
2021-01-20T18:57:31.866974
2016-07-10T14:41:45
2016-07-10T14:41:45
62,968,028
0
0
null
null
null
null
UTF-8
Python
false
false
481
py
from django.shortcuts import render from django.utils import timezone from .models import Post from django.shortcuts import render, get_object_or_404 def post_list(request): posts = Post.objects.filter(published_date__lte=timezone.now()).order_by('published_date') return render(request, 'blog/post_list.html', ...
[ "amjalca@espol.edu.ec" ]
amjalca@espol.edu.ec
4d43d040cf2e02b62ba7af0f29b00d7da7e62a89
3950cb348a4a3ff6627d502dbdf4e576575df2fb
/.venv/Lib/site-packages/vtkmodules/qt/__init__.py
2ece15c0e01ce73eb0d862377e9f2c30d7c2e0ba
[]
no_license
Bdye15/Sample_Programs
a90d288c8f5434f46e1d266f005d01159d8f7927
08218b697db91e55e8e0c49664a0b0cb44b4ab93
refs/heads/main
2023-03-02T04:40:57.737097
2021-01-31T03:03:59
2021-01-31T03:03:59
328,053,795
0
0
null
null
null
null
UTF-8
Python
false
false
994
py
"""Qt module for VTK/Python. Example usage: import sys import PyQt5 from PyQt5.QtWidgets import QApplication from vtkmodules.qt.QVTKRenderWindowInteractor import QVTKRenderWindowInteractor app = QApplication(sys.argv) widget = QVTKRenderWindowInteractor() widget.Initialize() ...
[ "brady.dye@bison.howard.edu" ]
brady.dye@bison.howard.edu
f379b0318ac9d679ec2825d99b6de6c3bc7d5341
5cc204e2ecb9a756127e7c71633a1edcdb3e989b
/pyvasp/vasp/vcon2ewald.py.bak
30a834d3cd254cafb1bd523eba78924105a3ee62
[]
no_license
hopefulp/sandbox
1a1d518cf7b5e6bca2b2776be1cac3d27fc4bcf8
4d26767f287be6abc88dc74374003b04d509bebf
refs/heads/master
2023-06-27T17:50:16.637851
2023-06-15T03:53:39
2023-06-15T03:53:39
218,209,112
1
0
null
2022-09-13T13:22:34
2019-10-29T05:14:02
C++
UTF-8
Python
false
false
2,917
bak
#!/usr/bin/python2.7 #heejin import sys import os import re import math #usage description if len(sys.argv)<3: print "Usage: [contfile] [chg file]" sys.exit() confilename=sys.argv[1] chgfilename=sys.argv[2] # get ZVAL os.system('grep ZVAL POTCAR | awk \'{print $6}\' > zval.tmp') # direct to cartesian poscarfile =...
[ "hopefulp@gmail.com" ]
hopefulp@gmail.com
36cca5bf203e4e60eaf0f2a78eef9214388ae10b
96a8482c499f9669e1d8fa7a48cf399662a7f035
/src/data/__init__.py
b4686886e5cdfc0ebf3ba6c9e9a5e6c9ffb1e8ed
[]
no_license
Nazar96/truckpark
93bcd2350a552c4a10db37042c09450573a3c269
103a65a991845581141980af8d837e39428c65ca
refs/heads/master
2023-01-24T10:50:05.013893
2020-12-06T18:28:02
2020-12-06T18:28:02
319,101,712
0
0
null
null
null
null
UTF-8
Python
false
false
1,269
py
DATE_COLUMNS = ['registration_date', 'operation_date'] dtypes = { 'ИНН':'object', 'СОАТО': 'object', 'Тип т/с': 'category', 'Код т/с': 'object', 'Год':'str', 'Максимальная масса': 'object', 'Масса без нагрузки': 'object', 'Мощность': 'object', 'Первичность': 'object', ...
[ "ntehta96@gmail.com" ]
ntehta96@gmail.com
964138161e808eec89f029b24c77f9aea7216d0c
a404f504febdc835b69b72c4ac28b153885fc119
/Auditions/OneLevelToRuleThemAll.py
a52edb14ee9fa3d430484ab7d1a555d4a334a1a8
[]
no_license
Chaboi45/CodeCombat
6093a2eae29ef00c0c277653c4ffd075c9e2ac4c
6e008a94e65bb72ca9292e303d391a4142de16f5
refs/heads/master
2021-07-02T23:24:52.050154
2017-09-21T07:42:21
2017-09-21T07:42:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,601
py
# http://codecombat.com/play/level/one-level-to-rule-them-all summonTypes = ['paladin'] def summonTroops(): type = summonTypes[len(hero.built) % len(summonTypes)] if hero.gold > hero.costOf(type): hero.summon(type) def commandTroops(): for index, friend in enumerate(hero.findFriends()): ...
[ "vadim-job-hg@yandex.ru" ]
vadim-job-hg@yandex.ru
7d39167ed0f5d0ada54cb6f192f1224019d8d3c5
ae764dd6fd07c075bb639a5e6de50ed4864f0a6d
/tweet_sentiment.py
19ba93bae21fb32f18e7a42d56287c12cd1065e2
[]
no_license
mazhalai/RoboLetter
ce5eadd17b77f37ba6a3562a9f9f0ebcbfb363f2
3a286a07e5e6cee447771ee706e68d7350f66e44
refs/heads/master
2021-01-10T20:54:49.192342
2013-09-19T03:39:42
2013-09-19T03:39:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
842
py
import urllib import json import sys def hw(): print 'Hello, world!' def lines(fp): print str(len(fp.readlines())) def main(): sent_file = open(sys.argv[1]) tweet_file = open(sys.argv[2]) afinnfile = sent_file.readlines() scores = {} # initialize an empty dictionary for line in afinnfile: term, score...
[ "mazhalai@gmail.com" ]
mazhalai@gmail.com
8bd74f72f7af2e9aa747b8f80bcfefde71ff9f12
f5dd289bb6b333a7df9edfa105f19486a93f5be4
/767/reorganizestring.py
0820d915f6dcffc1737e8ea8ee6f91a453c2adf0
[ "Apache-2.0" ]
permissive
cccccccccccccc/Myleetcode
0ab50ba5303ed08fac8402c87efedebc6bf67c16
fb3fa6df7c77feb2d252feea7f3507569e057c70
refs/heads/master
2023-07-03T21:11:54.050252
2021-08-11T08:26:01
2021-08-11T08:26:01
115,370,433
0
0
null
null
null
null
UTF-8
Python
false
false
416
py
from typing import List class Solution: def reorganizeString(self, S: str) -> str: N = len(S) A = [] for c, x in sorted((S.count(x),x) for x in set(S)): if c> (N+1)/2: return"" A.extend(c*x) ans=[None]*N ans[::2],ans[1::2]=A[int(N/2):],...
[ "chenzhang.1987@gmail.com" ]
chenzhang.1987@gmail.com
53aa980461213b9c22aa160ab23ec0e60b455706
b771b7bfd5365f78ccad58576abae227d67685b0
/run.py
f952c2276ae31424b81e18fdbe3f207469d3eec7
[]
no_license
mingtao66/1688_crawler-image_search_products
9665b77aae2ab4d0809a05b27cc9835eac33aba6
bd17eafd29af013a7ce4efc643d18f45ecff0019
refs/heads/master
2020-09-06T12:43:51.608762
2019-10-18T07:27:45
2019-10-18T07:27:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,226
py
# !/usr/bin/python # -*- coding: utf-8 -*- import time import json from lib.logger import logger from lib.func_txy import get_dataset from lib.func_txy import get_signature from lib.func_txy import upload_1688_image_by_url from lib.func_txy import upload_1688_image_by_filename def get_1688_url_by_image_url(image_ur...
[ "liukang.hero@ad.bytedance.com" ]
liukang.hero@ad.bytedance.com
1f03671c7dd092bfece4e43ee9d76effefd64efe
3637bc894625cf5d6a07e07cb103e61f13424d61
/virtualkitchen/kitchen/migrations/0001_initial.py
e07e8d681115955511c3519286cc97eda3b1a465
[]
no_license
Delpire/virtual-kitchen
e0c9d52d36e8be33f2f527c0986d77980e1772bf
b0c5dae509c291970355a29c749ee4c26cbf1d79
refs/heads/master
2016-09-10T16:58:55.579814
2014-09-18T01:30:06
2014-09-18T01:30:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,325
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='Inventory', fields=[ ('id', models.AutoField(au...
[ "chrisdelpire@gmail.com" ]
chrisdelpire@gmail.com
2c65105fbd76746e8d5a2d03134af16ad6b0045d
5b42c80f101f0ce178be9bd7909a013744dc8a8a
/superlists/urls.py
70ec1ec66f06ec6be31dcac11f3c3032bcb547bc
[]
no_license
marcjerome/testdrivenlist
375b59308fd2f1f4fe247113efbc0d1cc816b062
f4d1273d53d335083903111bdf0373af104d7e12
refs/heads/master
2023-08-17T14:21:07.018071
2020-07-09T13:26:19
2020-07-09T13:26:19
275,085,356
0
0
null
null
null
null
UTF-8
Python
false
false
899
py
"""superlists 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...
[ "mjt.eight0five@gmail.com" ]
mjt.eight0five@gmail.com
00d05d706470e250f22a9bc8f33ac58be8eeb291
94471d16389c01f3aff13745b48c7f5d60776001
/backend/base/views.py
65200cb1b101c2015a6cd78e181b59d708c261fd
[]
no_license
majaka01/E-commerce
12de1f50281a0a32a124ef3cfb2fedbcf317e111
ccc21581fb0dd15c61640f14d788e46622876a34
refs/heads/main
2023-07-14T03:46:06.498998
2021-08-12T03:11:59
2021-08-12T03:11:59
397,510,940
0
0
null
2021-08-18T07:25:00
2021-08-18T07:24:59
null
UTF-8
Python
false
false
1,031
py
from django.shortcuts import render from django.http import JsonResponse from rest_framework.decorators import api_view from rest_framework.response import Response from .models import Product from .products import products from .serializer import ProductSerializer # Create your views here. @api_view(['GET']) def ge...
[ "oguzhanozdemir@sabanciuniv.edu" ]
oguzhanozdemir@sabanciuniv.edu
6cd1945f69d229ee6e023b9950dfcca872967870
fb4a624542eb3b6353342dc5b5334ba2361e9ee0
/Part3/build-xml.py
d7acadf3d137a25096ce97e846ce96f0165ffeec
[]
no_license
smharper/openmc-workshop
ff9d0472e9a76a4653ff543f1a841110ffdc712b
8f163e22513f5d0e5f97300a07329ca4446a38cb
refs/heads/master
2021-06-07T20:33:04.839878
2017-03-07T11:07:17
2017-03-07T11:07:17
81,601,375
1
0
null
2017-02-10T19:53:36
2017-02-10T19:53:36
null
UTF-8
Python
false
false
8,304
py
import numpy as np import openmc import openmc.mgxs ############################################################################### # Exporting to OpenMC materials.xml File ############################################################################### uo2 = openmc.Material(name='uo2') uo2.add_nucli...
[ "smharper@mit.edu" ]
smharper@mit.edu
fcea9d0ed71026f62cb75d7cbbf6f1494928df5b
ecebefec65cc55b305419a689660eb8e2ea04fef
/release/virtual_player/mpc_performancetable_syn.py
e460983b8941a4a601b862ad941ba7af5a5c3464
[]
no_license
generlist/ABRTuner
4ab1d6d5e5201a7953d4565ca4574307a35513c3
baea8fab155a71c185e74121a8f014e6ad889308
refs/heads/master
2020-05-26T01:09:29.712879
2018-08-03T23:40:01
2018-08-03T23:40:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,090,550
py
mpc_dash_syth_hyb_pen_table_100 = {(8800, 3100): [-1.0, -1.0], (6900, 1800): [-1.0], (7100, 4400): [0.0, 0.0, -1.0], (5900, 1000): [-1.0, -1.0, -1.0], (5000, 2600): [0.0, 0.0, 0.0, 0.0], (8100, 600): [-1.0], (6300, 4500): [0.0, 45.0, 15.0, 0.0, 0.0, -1.0], (8200, 2800): [-1.0], (8000, 1500): [0.0], (7200, 1600): [0.0],...
[ "zahaib.akhtar@gmail.com" ]
zahaib.akhtar@gmail.com
14d0c203a2e59d08e0063c7d1e58c596fec9a914
656def2ca5c0bd959b31b98cdbc53fea3420b2dc
/Python3.7-VideoSplice/src/tencentcloud/tiia/v20190529/models.py
ae4387b12bd517b20057594c47302f8bef8d05eb
[]
no_license
tencentyun/serverless-demo
120271b96f8f960b6125c9d1481a5d8fe56165ae
4c324bb186c460fe78252f0ca5c28132a8bce6c9
refs/heads/master
2023-08-25T17:07:04.959745
2023-08-25T08:10:49
2023-08-25T08:10:49
281,120,881
94
119
null
2023-08-31T06:34:36
2020-07-20T13:15:46
null
UTF-8
Python
false
false
71,890
py
# -*- coding: utf8 -*- # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses...
[ "colorguitar@hotmail.com" ]
colorguitar@hotmail.com
8d6abe2e2e1f83b0bb4a0f714216e5f73634d056
0930b6c994225d44818887716ce4e8771af86b81
/exercisesDosCapitulos/12-umaEspaconaveQueAtira/12.4-teclas/main.py
dffb2fa5141878bac5fdfd98453c9d4e2f62cd2f
[]
no_license
jonasht/cursoIntesivoDePython
44d81b08f1652c4fa7a6d14a0e3f62ee8e06944c
fb5f5c9884fb1a6062a7c4e7676e5cc3b13c0ebb
refs/heads/master
2023-05-23T20:44:34.372825
2021-06-19T12:13:46
2021-06-19T12:13:46
293,325,804
4
2
null
null
null
null
UTF-8
Python
false
false
526
py
import pygame def run_game(): pygame.init() screen = pygame.display.set_mode((800, 600)) run = True while run: screen.fill((255, 255, 255)) for event in pygame.event.get(): if event.type == pygame.QUIT: run = False if event.type == pygame.KEYDO...
[ "jhenriquet@outlook.com.br" ]
jhenriquet@outlook.com.br
0521139bcc0932d1bc7bda14bc9ee00defddfd7e
a5144e2f8248d715764a423baba7869753cf778f
/users/migrations/0004_auto_20181212_1657.py
5f6a940230240a8a473e26eb1b5f61204c1fdbea
[]
no_license
jodth07/Agro_diction
aea328526460345fa4a980d0c05d6982c8ed68b1
f26a169b9627690e16dd32b96ab3294a00f590aa
refs/heads/master
2020-03-17T22:35:43.981573
2018-12-15T01:42:18
2018-12-15T01:42:18
134,010,605
1
2
null
2018-12-15T01:42:19
2018-05-18T22:44:42
null
UTF-8
Python
false
false
793
py
# Generated by Django 2.1.1 on 2018-12-12 16:57 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0003_auto_20181212_0119'), ] operations = [ migrations.RenameField( model_name='user', old_name='is_stylist...
[ "yashiro@MacBook-Pro.local" ]
yashiro@MacBook-Pro.local
1a3843bf553193fd2ceae13cc6229a48d4388b2d
34ed0085753f544189376cc9e8494717fe2d7695
/misc/python_script_practice/convert.py
a58ccdc5ef2be6f060ed74b5430f6d63e9d6211e
[]
no_license
saurabhMayank/interview_stuff
9b678b011fda11e3b2dcad9d52d57d734bf53d73
f2390cda159f9a72892047c140f5643240ca9a41
refs/heads/master
2023-08-23T16:02:25.027382
2021-10-12T04:28:50
2021-10-12T04:28:50
389,118,653
0
0
null
null
null
null
UTF-8
Python
false
false
312
py
import json ''' In initial formatting we r removing all the @ from the keys and values..In this we will use regex to solve the problem ''' def initial_formatting(data): data_new = with open('temp.json', 'r+') as read_file: data = json.loads(read_file.read()) data_1=initial_formatting(data)
[ "mayank.saurabh@elucidata.io" ]
mayank.saurabh@elucidata.io
93171816784e867506e8a01e1b90c348c72f6ee5
a9f2358c16219965c7faf5d2fd5f6b21275d6ec3
/tool/importer/db_import.py
047348379ec9e5b6aae9774dfb6f3552a458efbb
[]
no_license
kban-dev/kban
d8dafdb3a02a117592ed0e29e300ede6e8aee939
776ba9fa9f0cfd7a0e88991c5e6d8d5b317ed153
refs/heads/master
2021-08-14T20:36:17.884641
2021-08-14T18:16:48
2021-08-14T18:16:48
242,305,640
4
0
null
2021-08-14T18:17:49
2020-02-22T08:20:10
TypeScript
UTF-8
Python
false
false
1,173
py
import click from pathlib import Path import ujson as json from api.database import engine, db_session, Base from api.models import KnowledgeBase Base.metadata.create_all(bind=engine) @click.group() def cli(): pass @cli.command(name="import_kb") @click.argument("source_dir") @click.argument("metadata_dir") de...
[ "32771324+ozekik@users.noreply.github.com" ]
32771324+ozekik@users.noreply.github.com
4b1ea118a0ce80d332b874df3076168cb01250c3
1807909513baab4ba47388644e3376ee24f72f0d
/Day-01/subarrays.py
3e4826d2bd3ee24e1a9645ba5d8a46408be67244
[]
no_license
Abhipathak-01/Python-DataStructure
f76ddbd28c697904c534a979408bb87f56bf3368
e1053a25e0aaba98c09ace842a29829c3033f654
refs/heads/master
2023-02-22T08:34:47.902600
2021-01-27T10:41:08
2021-01-27T10:41:08
275,594,582
0
0
null
null
null
null
UTF-8
Python
false
false
634
py
"""This demonstrates the generation of subarrays from a list.""" import time print("#####Demonstration of Subarray Generation.#####") print("Enter how many elements to be stored in the list.") noOfElements = int(input()) # Enter the no of Elements print("Enter the elements in the list.") inputElements = [] # List of i...
[ "abhishek@aimd.ai" ]
abhishek@aimd.ai
393123eb014ec98df4f905a9e6b7b33531ac86b5
983d74b59d51b38d00c8d1d49e5da5262ea83525
/venv/Scripts/django-admin.py
68e8afeacb8e9736ceb3365b0a23ce911757d4de
[]
no_license
LoGaN9929/blog
7ae452d2d504344e520b7896437217576d14b0f9
07894b57b642b0a7a5fd06c723469b535f5e6a51
refs/heads/master
2020-05-15T13:54:29.334472
2019-05-01T16:43:13
2019-05-01T16:43:13
182,315,428
0
0
null
null
null
null
UTF-8
Python
false
false
154
py
#!d:\programowanie\dev2\venv\scripts\python.exe from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "logan9916@gmail.com" ]
logan9916@gmail.com
a4e95eeb93a41c798e7656204200ebb4c30d43d7
415801fa3c10bf4d21c68014753f31316209c135
/app/modules/comments/service_layer/exceptions.py
628e45ce7c3ea07a4a29a6a2e5ebca38f877fbd9
[]
no_license
heumsi/python-web-crud-app-with-ddd
fcc1e2a0ad1f9014260d2c54710e3755b9ab2df9
02fea2e04e038375098d844e8e1579f10f0245d6
refs/heads/main
2023-07-31T20:31:48.127749
2021-09-22T05:02:04
2021-09-22T05:02:04
394,932,669
3
0
null
null
null
null
UTF-8
Python
false
false
48
py
class CommentNotFoundError(Exception): pass
[ "heumsi@naver.com" ]
heumsi@naver.com
0a69b9eca5c0a9b8772324ec174b00608242cf2f
d7c453e9eb8b22c9eba5c3f5b1606f64dba16899
/Same/manage.py
9154fc8b418b9bf57837bd6f43573d1d23f8d3aa
[]
no_license
rhehddlf1/Same
14d91080eb1da0f7277dd82493404d05d01136f9
c3ecc1eb976fb5cb7164bf656cbcf43ea296954d
refs/heads/master
2020-09-03T05:12:05.413543
2019-11-04T01:43:54
2019-11-04T01:43:54
219,394,087
0
0
null
null
null
null
UTF-8
Python
false
false
645
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'Same.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: rais...
[ "noreply@github.com" ]
noreply@github.com
03c3d76229a9ec29ccc300a7faf56da96aa28392
36ca74a16243b492b7703fe5a0c1851b7c70e8c6
/Sequential-Prediction-with-Logic-Constraints/generate_constraint.py
ee20ec39aa53462856b72085915d99d76a56f255
[]
no_license
masud99r/prediction-with-logic-constraints
57a9028edd7cc2cc06c02420bae75b18f06f752c
fe3e79f8fb362a53b5a8d44ab0cf87373193bf53
refs/heads/master
2023-06-10T22:46:25.381250
2021-06-30T21:15:51
2021-06-30T21:15:51
381,801,518
4
0
null
null
null
null
UTF-8
Python
false
false
1,492
py
import numpy as np def convert_to_mln_dbformat(robot, dfile, savefile): data = np.loadtxt(dfile, delimiter=' ') fw_db = open(savefile, "w") for i in range(len(data)): single_row_feature = data[i] if robot == "Gym": gs = int(single_row_feature[0]) label = "C"+str(int(single_row_feature[-1])) fw_db.write...
[ "masud99r@gmail.com" ]
masud99r@gmail.com
1e65979170ad82ef0405e2e4ad1f36152bcf5216
cb172662c96d5b2e030046c7d6db77336cc223b1
/artifive_potsdam_tools/open_turbo_jpeg.py
74c244c90d5567cdf41030c45935eaba82e2e35f
[ "MIT" ]
permissive
immanuelweber/artifive-potsdam
376b180bb3deef7e9672fa4096c50e635cf41776
ccd4e52dd37e992468f60ba2a67679d9b66e266a
refs/heads/main
2023-06-18T04:43:23.373468
2021-07-14T11:20:01
2021-07-14T11:20:01
360,921,590
2
0
null
null
null
null
UTF-8
Python
false
false
194
py
from turbojpeg import TJPF_RGB, TurboJPEG jpeg = TurboJPEG() def open_turbo_jpeg(filepath): with open(filepath, "rb") as f: image = jpeg.decode(f.read(), TJPF_RGB) return image
[ "immanuel.weber@hs-koblenz.de" ]
immanuel.weber@hs-koblenz.de
00a861dd2bd03d3faf7dedbf44d606606b2b4a3c
94dbd40525692416ea8100d13b03ece73ee33f7f
/kgtk/kypher/funcvec.py
3d5701cdb0a2ec7ad94467bfce974c919a613d7d
[ "Apache-2.0", "MIT" ]
permissive
usc-isi-i2/kgtk
7101129ce1dde646095803429d3c751bf87ae071
c31ba4c33d5f925fdb66a487ba2e1184c9ca4254
refs/heads/main
2023-08-22T06:58:22.301262
2023-06-29T19:55:28
2023-06-29T19:55:28
234,676,361
325
53
MIT
2023-06-29T19:55:30
2020-01-18T03:34:48
Jupyter Notebook
UTF-8
Python
false
false
61,681
py
""" 'VectorFunction's to support Kypher queries and computations over vectors. """ import numpy as np from kgtk.exceptions import KGTKException from kgtk.kypher.utils import * import kgtk.kypher.indexspec as ispec from kgtk.kypher.functions import SqlFunction, VirtualGraphFunction from kgtk.kypher.vecstore im...
[ "chalupsky@verizon.net" ]
chalupsky@verizon.net
60b27dda8ac6ac83b34e56cdee98ba5cb82ef635
53fcd10235354945df58af553bc8ab93700e69ae
/permutation_test/permute_cortical_4.py
1e3139496b2b8edcda0344a53232cdcfd5ea5edb
[]
no_license
rob-mccutcheon/dopamine_symptoms_bp_cnni
ac884a3878181bd90de3d54f8b1a42851e793e7d
0d47dd15633f788adca9ff00291fda8c41f73318
refs/heads/master
2022-04-13T02:35:16.790358
2020-04-09T10:34:13
2020-04-09T10:34:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,690
py
import pandas as pd import numpy as np import connectome_builder as cb import pickle import seaborn as sns import matplotlib.pyplot as plt from statsmodels.stats.multitest import fdrcorrection import os from collections import defaultdict # True values baseline_data = pickle.load(open("/results/response_permutations/...
[ "k1201869@login1.nan.kcl.ac.uk" ]
k1201869@login1.nan.kcl.ac.uk
028f7254014e7380449a4821a74148ff30b6914b
a80874300e561174068bf510608465bb318a35f2
/guhaisong/baidu_work/11.py
ce52aba82f1036003194ac91fb0a65e86908c384
[]
no_license
lemonbiz/guhaisong
effa8af4b679511e4fa8017d71fe26ab2ce51392
029890f8e3c6954efdefb184fa077f2ce646d1df
refs/heads/master
2022-12-13T08:21:37.911535
2020-09-15T16:15:10
2020-09-15T16:15:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,481
py
# -*-coding: utf-8-*- # **************************file desc***************************** import threading from concurrent.futures import ThreadPoolExecutor, ProcessPoolExecutor from multiprocessing import Process, Pool __author__ = 'yushanshan' # createTime : 2019/7/18 15:07 # desc : this is new py file, ple...
[ "xjl12322@126.com" ]
xjl12322@126.com
da493528a64be68650fe2351b906f6d7a5a9607b
fa9228c2f6fc56553d2a659d80c4227720c8af87
/apps/web_hosting/apps.py
89a6ee4e1f7802a636a3fe2c429f029c6c6793d5
[]
no_license
aintnorunnin/Python_ORM_exercises
6c6bd66ccf03f772a830c0feaef9a6ee3a42c1ec
8caeed8c6629866848445a6dcff4a3e6ce9e1d91
refs/heads/master
2021-05-05T10:57:52.217135
2017-09-23T15:57:26
2017-09-23T15:57:26
104,492,308
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.apps import AppConfig class WebHostingConfig(AppConfig): name = 'web_hosting'
[ "williamsb600@gmail.com" ]
williamsb600@gmail.com
711ddbb1808ac580908ca82e67a7d8630666b56b
d9fb356de8a81cc2113b9c661051f70ecc6fe004
/website/settings.py
27ab3079c2fc8b8aa4e57919ca6e49b727bc77ea
[]
no_license
hulkdx/server-crowd
59bd4b52ea97107c8d0ca3da40695fab2da9c22b
1c94c2caf5a558c8a2e01707327c080b89e1e8d5
refs/heads/master
2021-01-19T10:54:59.089581
2017-05-26T17:48:11
2017-05-26T17:48:11
87,915,943
0
0
null
null
null
null
UTF-8
Python
false
false
4,937
py
import os import datetime import dj_database_url # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(__file__)) PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__)) # Quick-start development settings - unsuitable for production # See https://docs....
[ "hulktroll@gmail.com" ]
hulktroll@gmail.com
f055bef53656182a1e2327fe0423c4279ac0e3a3
74210151e5ca2d531a7ddfb90db3519114ad2bc0
/research/slim/nets/s3dg.py
80d736bdde01c7a9440c87212d028c4054ac65e9
[]
no_license
tl-yang/adanet-gui
eb5f98804817d36d4b51e904695e81da6973643d
493108307b77774a82dec5d037c327d2d57a2e5f
refs/heads/master
2020-05-15T10:08:54.406011
2019-04-19T04:35:53
2019-04-19T04:35:53
182,188,409
1
0
null
null
null
null
UTF-8
Python
false
false
23,418
py
# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
[ "lin.yang@tamu.edu" ]
lin.yang@tamu.edu
b445c446259cab93ba869593a5e536d009432892
a9a5a088183cdd8428a7b1d4990ead7d2b1c1c5d
/roscpp/devel/lib/python2.7/dist-packages/dgvmsg/msg/_remoter.py
e50bf3d1f10ef1df301cddfc001c92682aafed0f
[]
no_license
robot-samuel/code_demo
7333ca2ac5dee7a5f39f20466683f91e64571c7b
1d5d9b3813afff2d21414a865aeee7fa91259f3e
refs/heads/master
2020-03-25T07:57:33.450037
2018-08-05T07:31:23
2018-08-05T07:31:23
143,590,669
0
0
null
null
null
null
UTF-8
Python
false
false
10,653
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from dgvmsg/remoter.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import dgvmsg.msg import std_msgs.msg class remoter(genpy.Message): _md5sum = "eb64999f0a6539f1e1247...
[ "911946883@qq.com" ]
911946883@qq.com
1117d5d65ead0b744d4f1f36718926152472b629
974099c9b86dbee44f82282fe2213ebb42a47aab
/changelog/mixins.py
efefaa5a49818fea6b94d9886775ea03d28d3556
[]
no_license
focher72/task_manager_parma
ef3a20c572fee7a6662a4ce994224ffea4ed65ef
724e72e3ff065260db147e289308b98c67bb05c3
refs/heads/master
2023-06-10T18:47:26.236039
2021-07-05T20:19:27
2021-07-05T20:19:27
370,458,294
0
0
null
null
null
null
UTF-8
Python
false
false
948
py
from django.db import models class ChangeloggableMixin(models.Model): """Значения полей сразу после инициализации объекта""" _original_values = None class Meta: abstract = True def __init__(self, *args, **kwargs): super(ChangeloggableMixin, self).__init__(*args, **kwargs) se...
[ "focher72@gmail.com" ]
focher72@gmail.com
b69002718aa68f37cc13e5e141915b7429eab9b6
eba16137a8a7e6d50c1078984270189111aa2a96
/methods/main_methods.py
dbc488c78caca76c5f1ed839e903dea228d960cd
[ "Apache-2.0" ]
permissive
JonathanOnorato/SSTS
fbfada11c7357641602036c40e97ece04dcf7f50
7e1b4223ca38d3a77d6cc5336dbbdb8f1e17facc
refs/heads/master
2020-05-30T03:31:44.460530
2019-05-30T00:12:06
2019-05-30T00:12:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,407
py
import os from collections import Counter import numpy as np from scipy import signal from matplotlib import pyplot, colors, cm from sklearn.mixture import GaussianMixture from scipy.fftpack import fft2, ifft2, fftshift, ifftshift from methods import config PROPS = config.data_properties HEIGHT_INDEX = config.height_...
[ "diego.torrejon.medina@gmail.com" ]
diego.torrejon.medina@gmail.com
871bd01ea0af25146948bf80ae89caa88cb7843b
4e7e909b3a9d2fff33ab2c0469254e3343876b44
/dfd_to_padfd.py
dbc8a21d9cf1f65830c6d3aa7805565d6cc012d1
[]
no_license
oemertekin/PA-DFD-Paper
144bfd66a9de774c5af0d7d973b97510e340369f
b302b75ed26359ba91bffc52486a619dea2d49be
refs/heads/master
2022-12-25T12:57:26.187992
2020-10-06T17:27:13
2020-10-06T17:27:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
60,656
py
import sys import xml.etree.ElementTree as ET import csv # function for producing dfd in csv format def initialize(xmlfile_DFD, csvfile_DFD): tree = ET.parse(xmlfile_DFD) root = tree.getroot() newsitems = [] for subroot in root: for subsubroot in subroot: for subsubsubroot in subsu...
[ "noreply@github.com" ]
noreply@github.com
1df6bd341581d02dc94b41ed292b786ecd17d53a
8de2a35e32f895311b369e450f3db8de58f6ecb9
/project/pakguru_project/pakguru_app/migrations/0009_show_total_shows.py
1686345465fcf5701b8f2701cd333f24056c46aa
[]
no_license
bilgrami/pakguru
eb035a99407fbe88d7bd05ca6c3165d5fb64669f
b518a82b07953be7bb64a15bdae4777e57228d91
refs/heads/master
2021-06-14T16:02:20.887310
2021-05-31T07:10:28
2021-05-31T07:10:28
185,530,945
1
0
null
null
null
null
UTF-8
Python
false
false
447
py
# Generated by Django 2.2.3 on 2019-07-12 18:38 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('pakguru_app', '0008_auto_20190712_1128'), ] operations = [ migrations.AddField( model_name='show', name='total_shows...
[ "bilgrami@gmail.com" ]
bilgrami@gmail.com
17028d8b43570cf6caec0091326001af534d6031
c112159f2c7aedf375bd35eec9fe144313f633aa
/Week04/岛屿/numIslands2.py
64db523bc90add6cf169ed54d3744e1d71679cff
[]
no_license
xiaocainiaogithub/algorithm010
5e882cee6fac69505b3c44c9c8e0058bc8b27326
9149746ec668869818edd3b96a89cf8bf163ec78
refs/heads/master
2022-12-03T08:19:39.466842
2020-08-22T03:23:34
2020-08-22T03:23:34
270,880,717
0
0
null
2020-06-09T02:08:34
2020-06-09T02:08:34
null
UTF-8
Python
false
false
956
py
from typing import List from collections import deque class Solution: directions=[(-1,0),(0,-1),(1,0),(0,1)] def numIslands2(self,grid:List[List[str]])->int: m=len(grid) if m==0: return 0 n=len(grid[0]) maked=[[False for _ in range(n)] for _ in range(m)] count=0 for i in range(m): for j in range(n):...
[ "1910647335@qq.com" ]
1910647335@qq.com
cd8a85f4d3cb19cee8189a9236fd46799cf05160
1a166165ab8287d01cbb377a13efdb5eff5dfef0
/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2020_08_01_preview/aio/operations/_encryption_scopes_operations.py
ec7f73b145e34dc513345a0d1ef56fce85c51fc5
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
manoj0806/azure-sdk-for-python
7a14b202ff80f528abd068bf50334e91001a9686
aab999792db1132232b2f297c76800590a901142
refs/heads/master
2023-04-19T16:11:31.984930
2021-04-29T23:19:49
2021-04-29T23:19:49
363,025,016
1
0
MIT
2021-04-30T04:23:35
2021-04-30T04:23:35
null
UTF-8
Python
false
false
19,087
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
noreply@github.com
a0e915805bc1495a3feee94402e47c3625cbb573
012837eafe45c8f7ee5fc77d4c4d7725d5314c5c
/workshops/4-day/5-clazz.py
2430adc8f4fd3bcb3b6cae29f9b12514d85037c2
[ "MIT" ]
permissive
ai-erorr404/opencv-practice
e9408cf006779a678cf3a30fc60e9dbeb3c8e493
60ef5e4aec61ee5f7e675fb919e8f612e59f664a
refs/heads/master
2021-02-08T11:17:04.763522
2020-02-22T09:43:04
2020-02-22T09:43:04
244,146,060
1
1
MIT
2020-03-01T12:35:02
2020-03-01T12:35:01
null
UTF-8
Python
false
false
1,056
py
#!/usr/bin/env python3 # -*- coding=utf-8 -*- import cv2 as cv """ Unsharpen Mask 方法(USM) - 锐化增强算法 (源图片 - w * 高斯模糊) / (1 - w) * w -> 权重(0.1 ~ 0.9), 默认为 0.6 # 原理函数 - 图像融合函数(图像的shape、dtype一定要相同) cv.addWeighted(src1, alpha, src2, beta, gamma) - alpha: 第一个输入参数的权重值,...
[ "afterloe@foxmail.com" ]
afterloe@foxmail.com
e99da788aeb8860ea258847fa9c90790d40a9455
97bd6677beefe302791be791bc58496ce0b37d43
/fibo.py
466daba347b178d9cc22bef54bc264ea1b68eb0f
[]
no_license
konrad/fib_test
3f8184331049a08ebd662d8abae27c3b8a42fb4f
d67da50a31c54f594eeb99644102ba0433999c17
refs/heads/master
2020-03-22T20:08:26.568774
2018-07-11T13:16:43
2018-07-11T13:16:43
140,575,595
0
1
null
null
null
null
UTF-8
Python
false
false
494
py
# Fibonacci numbers module def fib(n): # write Fibonacci series up to n a, b = 0, 1 while a < n: print(a, end=' ') a, b = b, a+b print() def fib2(n): # return Fibonacci series up to n """ As describe by Fibonacci et al. ==================== ==================...
[ "konrad@foerstner.org" ]
konrad@foerstner.org
6b58fdfc2af995a27d80ee920429edd60bc6315b
9c88ee174f74a5a8352ec8cf487a302aa87053d0
/pylark/api_service_attendance_group_get.py
d39b09c70b7d77a40eef03360673465f929b3684
[ "Apache-2.0" ]
permissive
duzx1/pylark
bcf34231218ec5079b8f9820a77864fbcffa4426
a54cce6b814935fd3c72668b262b54c8ee461484
refs/heads/master
2023-08-23T13:10:00.324018
2021-11-01T06:29:28
2021-11-01T06:29:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,402
py
# Code generated by lark_sdk_gen. DO NOT EDIT. from pylark.lark_request import RawRequestReq, _new_method_option from pylark import lark_type, lark_type_sheet, lark_type_approval import attr import typing import io @attr.s class GetAttendanceGroupReq(object): employee_type: lark_type.EmployeeType = attr.ib( ...
[ "chyroc@qq.com" ]
chyroc@qq.com
2fdcd0028c218f840341e29cb9bef90b16d5f6ca
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_examples/_algorithms_challenges/pybites/intermediate/118_v4/duplicates.py
a35079d32510853e3a93f85e69ce3e56175d560c
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
668
py
from collections import Counter def get_duplicate_indices(words): """Given a list of words, loop through the words and check for each word if it occurs more than once. If so return the index of its first occurrence. For example in the following list 'is' and 'it' occur more than once, ...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
a3f080650207f020c14bd9243560b36821f93d34
73b650e2a06aa0cef8ff43aa510d93dce8b7ccd5
/ttsx/tt_user/admin.py
23b78814d25a7f48c776d6c5ba3a16f1c0968603
[]
no_license
17637462979/ttsx
43ddc7e41da9d25c3f9c4d5e0b2890aa1588e3d3
b08f4262c4c44e2202a9e0dea50cb05b92c34411
refs/heads/master
2020-04-27T22:38:56.460152
2018-10-20T16:38:08
2018-10-20T16:38:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
763
py
# coding=utf-8 import models from django.contrib import admin class UserAdmin(admin.ModelAdmin): """自定义admin显示""" list_display = ["id","uname","udate"] # 列表页显示的属性 list_filter = ["isDelete"] # 过滤条件 search_fields = ["uname","ushou"] # 搜索框字段 li...
[ "909576924@qq.com" ]
909576924@qq.com
1970fa902830a7821be4e6da7b12eb41b6bb7f87
1d8e338e2af34c2b0341cdb76d55cb50a8b9908a
/clickergame.py
e675611a9ab05c55c2ddaf99069a12d5c5b0b094
[]
no_license
Flapp3rs/pygamehomma
f14335c492db337a3808999bf65481040b79bf82
d00806c388cc85a640d50f11fc6472d5ea197f03
refs/heads/master
2020-08-07T10:06:43.180540
2019-12-09T16:18:45
2019-12-09T16:18:45
213,405,549
0
0
null
null
null
null
UTF-8
Python
false
false
1,704
py
import pygame import sys import random import time pygame.init() pygame.font.init() koko = (1000, 800) naytto = pygame.display.set_mode(koko) sijainti = [0, 0] alkuaika = time.time() musta = (0, 0, 0) punanen = (255, 0, 0) Arial = pygame.font.SysFont("Arial", 30) pisteet = 0 kolikko = pygame.image.load("kolikko...
[ "os.vaara@gmail.com" ]
os.vaara@gmail.com
c64e74d0bc09779196d3e9ee69f5dabffae33e0b
87e0e6ce602a266ec3debbde38e4508be3e01761
/VPL 3 - Herança e Classes Abstratas/ave.py
26a919e923273a9c2fe6027e22e7806c2824ed5e
[]
no_license
mauriciokonrath/INE5404-POO2
99a689e2bbf146e39192438f4ac82bd6458ee2f6
1e2347f4c69babce623144a95c5909ea5ee333db
refs/heads/main
2023-08-16T13:42:26.750284
2021-10-06T22:43:13
2021-10-06T22:43:13
410,136,066
0
0
null
null
null
null
UTF-8
Python
false
false
548
py
from abc import ABC, abstractmethod from animal import Animal class Ave(Animal, ABC): def __init__(self, tamanhoPasso: int, alturaVoo: int): super().__init__(tamanhoPasso) self.__alturaVoo = alturaVoo @property def alturaVoo(self): return self.__alturaVoo @altura...
[ "noreply@github.com" ]
noreply@github.com
4a3e863c8035d113a157fbbb0f349db87bb9445b
8b02dc6cd19c392caeae934cb8b0cd1333f63fe3
/deploy/setup.py
202ca07f5bad9cea95d22d0ce5307d176397e496
[]
no_license
akibithi/tgmb-beta
0a06746102d80d87fe7bec899eab972f2e8e4a0c
bc8c2e237fe6f884a17b86628478d3140cc0a935
refs/heads/master
2023-06-19T15:53:13.676242
2021-07-13T13:25:26
2021-07-13T13:26:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,571
py
import googleapiclient.discovery import googleapiclient.http import google.auth.transport.requests import google.oauth2.credentials import google_auth_oauthlib.flow import hashlib import magic import os import re import shutil import subprocess import time def fileReformat(fileName: str): formatted = '' for l...
[ "ksssomesh12@gmail.com" ]
ksssomesh12@gmail.com
4e09422ed00c845f9890abcf2e6c7a4f60011b78
cca46f82bf14e744abe1a7094ed81891f815bcd9
/todos/models.py
63be73ddb48e2399c6fe2739cbc095ad0b889e66
[]
no_license
rikicop/backend
3e63c8a4801d7ac49feb3c5b1af566890911dd0f
319e1860448884e96cfea63702fa562c49cb8fb6
refs/heads/main
2023-07-13T00:28:51.853790
2021-08-09T15:41:37
2021-08-09T15:41:37
394,348,970
0
0
null
null
null
null
UTF-8
Python
false
false
323
py
from django.db import models class Todo(models.Model): foto = models.CharField(max_length=1000) author = models.CharField(max_length=200,blank=True) title = models.CharField(max_length=200) description = models.TextField() body = models.TextField() def __str__(self): return self.ti...
[ "ruperto1@protonmail.com" ]
ruperto1@protonmail.com
f741f8a504de7a76fb26c2d9679d86ace42029eb
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/44e2cbe7b7bf41703ef2eb45faa1f59962eb3b34-<post_request>-fix.py
a5cdb336f072dc6e6c5f2b037163bc23cb4ad5d7
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
770
py
def post_request(self, uri, pyld, hdrs): try: resp = open_url(uri, data=json.dumps(pyld), headers=hdrs, method='POST', url_username=self.creds['user'], url_password=self.creds['pswd'], force_basic_auth=True, validate_certs=False, follow_redirects='all', use_proxy=False) except HTTPError as e: re...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
c19e3fdbd6fe1ad25f5578115d80afa347baed1c
21b4928446a60124b841bd0c9c492333191abb95
/meizitu/analyze_webpage.py
b62a4100239fd0123de9a9e9be5649b4584e0f1d
[ "Apache-2.0" ]
permissive
picnkname/crawler_related
9f63dd64d939a7ab221ad9bba3782c8055bd5cbf
0791b327cc93c5e8266826fee87a92c767ecd814
refs/heads/master
2021-04-15T03:36:19.926892
2017-07-29T18:10:37
2017-07-29T18:10:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,978
py
#-*- coding:utf-8 -*- import requests from bs4 import BeautifulSoup import os headers = {'User-Agent':"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/22.0.1207.1 Safari/537.1"}##浏览器请求头(大部分网站没有这个请求头会报错、请务必加上哦) ##开始的URL地址 all_url = 'http://www.mzitu.com/all' ##使用requests中的ge...
[ "xiangfei0919@gmail.com" ]
xiangfei0919@gmail.com
0e6ef35d590d7a364451e14ab125f910ec06365f
a74a5e1ddc5257da62f3a8bcd6f65f424a23b0ff
/acceptance/common/tools.py
ff228b55b13b43a21842722631e9323fb65bd914
[ "Apache-2.0" ]
permissive
benrothen/scion
3fb3a9ba48f96391c78a6ef2a1acbaddfa0ede01
63872b04ddfbeea470e9ca35388972d952e14147
refs/heads/master
2021-07-10T09:01:05.789659
2020-06-12T12:04:29
2020-06-12T12:04:29
135,072,044
0
1
Apache-2.0
2019-06-26T06:38:41
2018-05-27T18:36:00
Go
UTF-8
Python
false
false
2,198
py
# Copyright 2019 Anapaya Systems # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing...
[ "noreply@github.com" ]
noreply@github.com
aece47ebb27b73e1a2db4f896293fec0b307a72f
6e1257f0568b70f1093d9e0f6131ed26a82f9beb
/Python programming labs/B4_process_thread/lab4thread.py
9555c1c025409f1c8997eba3e42198dd70e6176e
[]
no_license
AmberWow123/Projects
a8858a50731e4df82a3caa646be9895ac4046a36
20ffcfa0c08841727ec70285194dc2203c625997
refs/heads/main
2023-01-20T23:59:47.494660
2020-11-18T13:54:59
2020-11-18T13:54:59
303,399,101
0
0
null
null
null
null
UTF-8
Python
false
false
3,796
py
''' Description: This file contains a MainWin class that opens a window and allows user to choose a respective region and skill, then saves the appropriate jobs in txt files in a folder with a directory of the users picking. This file uses threads to get the data. ''' import urllib.request as ur import requests from b...
[ "50982563+AmberWow123@users.noreply.github.com" ]
50982563+AmberWow123@users.noreply.github.com
cade4e91bd6de2828c5c447d75da0c03860b209a
47e3ee91701c94c5454e66b0fd5c3c7f1278250b
/pu_compress/main.py
6d46d94170d82981358228374555d29306265ba7
[ "BSD-3-Clause", "MIT" ]
permissive
cwkang1998/Data-Efficient-Model-Compression
94e3f99c5c46be17f1f74298baab46dd11e4844b
e5ff43967edef90d9f93e2e6b7cf138d16c607d4
refs/heads/master
2021-04-05T11:32:50.604513
2020-03-19T18:29:48
2020-03-19T18:29:48
248,552,720
0
0
BSD-3-Clause
2020-03-19T16:32:29
2020-03-19T16:32:28
null
UTF-8
Python
false
false
7,474
py
#Copyright (C) 2019. Huawei Technologies Co., Ltd. All rights reserved. #This program is free software; you can redistribute it and/or modify it under the terms of the BSD 3-Clause License. #This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of ...
[ "361046262@qq.com" ]
361046262@qq.com
4f4049c81431fda070d2f03a63e710fc8d23204a
593a7d965614942a4501f254531fde6001bfeb18
/wiki_test/rssfeed_test.py
963d934e29f428fa0a1b18d4e1c06a973fc5ca25
[]
no_license
lcombs15/WikiCSC440
e165e45c80212dc4eda07f0b55278ca9e376d5a9
eeabdf25e7eb90f715ec7d333ff7ad4872d5a806
refs/heads/master
2020-04-28T19:55:59.898974
2019-04-07T22:29:35
2019-04-07T22:29:35
175,527,155
0
0
null
null
null
null
UTF-8
Python
false
false
1,042
py
import unittest from wiki.web.rssfeed import get_rss_data, get_feed_title class TestRssFeed(unittest.TestCase): """ Various unit tests for wiki.web.rssfeed Mary Grace Lammers """ def test_get_feed_title(self): rssurl = 'https://www.reddit.com/r/python/.rss' self.assertEqual...
[ "lammesrm2@nku.edu" ]
lammesrm2@nku.edu
59cced3c1045185d14fe0250a4d9a1c5a5ac5892
104c4bc0e4e37f00f59dea08999e75229eadf813
/src/readOrWriteFile/replaceAndClearFile.py
c11ed916255a05afe730097efbbca8cd345af288
[]
no_license
taoqsun/pythonLearn
7a396547f283179626a5194abd7694848936c530
dbe57a42f05b5ecd0a054eef7087eabfe4feb2dc
refs/heads/master
2020-05-21T19:40:15.519217
2017-12-27T09:06:22
2017-12-27T09:06:22
41,407,718
0
0
null
null
null
null
UTF-8
Python
false
false
5,627
py
''' Created on Feb 17, 2016 @author: sky ''' import os from shutil import copyfile import subprocess def clearWebexPackage(): """clear webex package @param filePath: service path on windows @type filePath: string @return: operation result @rtype: tuple """ result = False,'clear package fa...
[ "stq741187338@sina.com" ]
stq741187338@sina.com
a429cef7afd0f3e93c21162cd35eb468bda2f4b2
ae5034ca18291d3f550990c482b9a539edff293c
/Rational/RationalType.py
32af85dcb23499987bfabd144211a83869ea0ecd
[]
no_license
SymmetricChaos/SimpleCAS
350e4102ce8d41493bb9566efa993e6a4c87cdb0
d5107cc07bd017e7a180eb62271273e21d466850
refs/heads/master
2021-07-01T09:00:49.197213
2021-01-03T14:22:28
2021-01-03T14:22:28
209,987,606
0
0
null
null
null
null
UTF-8
Python
false
false
8,234
py
from Utility import gcd, first_where class Rational: def __init__(self,n,d=1): if type(n) != int: raise TypeError("Numerator must be int.") if type(d) != int: raise TypeError("Denominator must be int.") if d == 0: raise ZeroDivisionError ...
[ "ajfraebel@gmail.com" ]
ajfraebel@gmail.com
f735768cfbc576fcc7d6126aac6f9229bf62e56e
d259cd43d5aabd9722a184353ba6f961a0e1730b
/test/WeChatbot/chat_bot.py
8b4c35a3ae6f94cb0375575923296a6a72849a31
[]
no_license
VagueZhao/test
acb79ffab532bb3665f925529178237b2dd20d67
da5c0bd20862365f7ddac11815864e8d2f4e3cfa
refs/heads/master
2022-12-04T18:54:11.920631
2018-07-28T00:14:01
2018-07-28T00:14:01
142,569,653
0
1
null
2022-11-16T15:01:35
2018-07-27T11:36:36
Python
UTF-8
Python
false
false
417
py
from chatterbot import ChatBot from chatterbot.trainers import ChatterBotCorpusTrainer # 初始化机器人 chatbot = ChatBot("deepThought") chatbot.set_trainer(ChatterBotCorpusTrainer) # 这里先使用该库现成的中文语料库训练 chatbot.train("chatterbot.corpus.chinese") # 这里进行简单测试 while True: speak = input("S号的小石头:\n") print("真真:") print(chatbot....
[ "zhaozhh@zih718.com" ]
zhaozhh@zih718.com
a50a62821567c58d346c65c2f7e3fae9524737c3
1a0cbfdd9e528f7a22ad8abc472f96ad3c502308
/experiment/model/geo/KMeans_grid.py
c02bbdd9a3d08c94dff2a496fb25f9e6e6eca9df
[]
no_license
crystal22/VGMF
f971a3aad0755b3aada7c713f10f2386ee6c2d98
4d4c84c30d72cc2f4e65efad51f4bf8473191c19
refs/heads/master
2023-03-21T13:52:41.657539
2020-02-13T15:33:44
2020-02-13T15:33:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,422
py
# -*- coding: utf-8 -*- # @Time : 2019/4/4 10:24 # @Author : Dyn import numpy as np import bisect from tqdm import tqdm from config.config import DATA_ROOT import pickle import os from sklearn.cluster import KMeans class KMeansGeoGrid(object): def __init__(self, dataset, beta=1.0, k=10): self.dataset...
[ "2755542975@qq.com" ]
2755542975@qq.com
13aaf7cd925cee363803d693a76d53580757e8d8
9cff7ca56e7878b0c395ce7b160bd73d74df23ac
/homeworks/week2/Tam-Tran.py
6a2d471070988d44a48b9824727001faa025c436
[]
no_license
P2PLearning/DSA
02133350a258c56faa064c317c82fd47da830489
02f5ea845495d95eb2d3a9e679f2428b65f9bcda
refs/heads/master
2022-11-26T22:54:37.116022
2020-08-03T00:31:07
2020-08-03T00:31:07
261,384,430
4
14
null
2020-08-03T00:31:09
2020-05-05T07:03:04
Java
UTF-8
Python
false
false
1,605
py
#!/usr/bin/env python3 # Time complexity: O(n): # - we iterate through the input string/array once # - look up to a checked hash once # - and append to the result array (the size of array is capped at string encoding size), we can improve this to use a link list # which has a O(1) for add an item to it # Space compl...
[ "tam.tran@employmenthero.com" ]
tam.tran@employmenthero.com
c694a175cf0080050c8f6a71883edb3b11f3c3af
c129d9947cb3bad9ddb63dcf7d7e90e79a115b9d
/manage.py
701c272a93d7873bc0ae2e46d0184f71e0fff7c2
[]
no_license
lyzhanghai/BMIS
8554598892f1d6b366521d026a530b8ef6e67fce
76ff3749b2dfb7d926e457dadb2c1e92a0c1c959
refs/heads/main
2023-06-03T03:10:49.387859
2021-06-18T10:17:14
2021-06-18T10:17:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
539
py
# -*— coding:utf-8 -*— import os from app import create_app,db from flask_migrate import Migrate from flask_script import Manager from app.models import User,Book # 不同配置选用不同的数据库 app = create_app('development') migrate = Migrate(app,db) manager = Manager(app) # 建表,删除表,首次部署时执行(调试过程中不要执行,否则数据将全部删除) # db.drop_all() # d...
[ "942230021@qq.com" ]
942230021@qq.com
79c4ff9abc96f013a0ae675b2fda9b740e16dc3f
e1dfafb40a58fd04cd8154f2658926ffa82f88bb
/helper_modules/response_messages.py
750ddfadf2fd85ee9cdcc0b5f0939180088ca937
[]
no_license
Emeka-darthvader/Canopy-test
33d4fc0063f4bf53d8909025baa48f6e1c30002f
01287c5e88c6730abf0f5ddc807d05053e8d2738
refs/heads/master
2022-11-26T13:28:16.699466
2020-08-11T09:01:59
2020-08-11T09:01:59
286,677,822
0
0
null
null
null
null
UTF-8
Python
false
false
721
py
def success_extracted (): print("*"*20) print("*"*10) print("*"*5) print("Successfully Extracted Text!") print("*"*5) print("*"*10) print("*"*20) def success_cleaned (): print("*"*20) print("*"*10) print("*"*5) print("Successfully Loaded and Cleaned Text!") print("*"*5...
[ "chybyke.emeka@gmail.com" ]
chybyke.emeka@gmail.com
9dc15b38ec90852f973b1d305c356272854ed9b4
bfbbd210ed31d7097d255c27eb4ac1559bc175a6
/numbers/task_1.py
263cd4ddd21badb44e78b43e33ea5330977c71d5
[]
no_license
DoubleDPro/practice
393dbb86e97d5ffc52448162cb1eb7a1be64ffa5
fda73383f0a456fbaa5fce4d9c70b60177eeb047
refs/heads/master
2022-12-12T16:34:42.846291
2020-09-10T11:16:00
2020-09-10T11:16:00
292,269,072
0
0
null
2020-09-02T11:53:17
2020-09-02T11:53:17
null
UTF-8
Python
false
false
455
py
''' С клавиатуры вводят три числа. Вывести в консоль сумму этих чисел. ''' first_number = int(input('Введите первое число\n')) second_number = int(input('Введите второе число\n')) third_number = int(input('Введите третье число\n')) sum = first_number + second_number + third_number print('Сумма этих чисел равна ' + s...
[ "guz.9@mail.ru" ]
guz.9@mail.ru
d9d0d2ba01b4a3f41d23c0ca92fa672f1457329b
df2317da8c81fb110e55944150397fb48f504374
/tensorflow/Unit12_fashion_mnist_ae.py
23e76d5f832734dce24348d56d401a1cb9aa98ff
[]
no_license
songyuanping/syp_muke
dccd2c39aa5b654964833eb7a1ba5c28a4839bea
09681c674657b87fb11a282400051643b27a63e1
refs/heads/master
2021-06-28T19:43:08.446612
2020-10-05T06:12:06
2020-10-05T06:12:06
155,821,469
0
0
null
null
null
null
UTF-8
Python
false
false
2,974
py
import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' import tensorflow as tf import numpy as np from tensorflow import keras from tensorflow.keras import datasets, experimental, losses, layers, optimizers, Sequential, metrics from PIL import Image from matplotlib import pyplot as plt def save_images(images, name): ...
[ "2582974511@qq.com" ]
2582974511@qq.com
19b619d94b31d12c9732aec62c61f24ce3ab04fb
86e784592f5f5dd696c0bc92e303dfcb09f2cbc4
/paper.figures.python.xianwei/pythons/func/rc.py
4da7f3d98170a9259088c601e7053c4867939ca7
[]
no_license
nsq974487195/Python.paper.figures
c54475289ab190517d8de188fbc7542a92ea0848
ebb38a98aff3dcaf8b16a02d294fd9f838565faa
refs/heads/master
2020-04-28T23:41:07.886723
2016-06-05T23:19:15
2016-06-05T23:19:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,772
py
############################################### # by Xianwei Zhang ############################################### #-- the module does most array and mathematical manipulation import numpy as np #-- the module for plotting import pylab as pl #-- matplotlib: the whole package, a library for plotting #-- m...
[ "cinwell.chang@gmail.com" ]
cinwell.chang@gmail.com
0b1b8af0fdc91f7fa3ad0dc5ff1a109aa71ed2ff
76e82977604bf511f6acc4a38ae66149aaa65cfb
/Movie-Library--/2 CLIENT.py
e41ad22978da1fabf5f871598a1ba8122dddfe4e
[]
no_license
KindSpidey/FinalPolyManFilms
1efdab2110a10d03d8a794340fb5f56b3fff6683
c53f7f26d5b5d1f3ad2ededa70bd41f3a6aec999
refs/heads/master
2022-11-08T23:48:46.297475
2020-06-27T06:26:47
2020-06-27T06:26:47
275,312,588
0
0
null
null
null
null
UTF-8
Python
false
false
1,343
py
import socket, json from threading import Thread SERVER = "localhost" PORT = 8080 dataClosingSequence = b"\r\n\r\n" encoding = 'utf-8' dataPackageSize = 1024 class ClientServer(Thread): def __init__(self): super().__init__() self.answer = 'incorrect password' self.client = socket.socket(so...
[ "kindhitman787@gmail.com" ]
kindhitman787@gmail.com