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
8b0825a8ddd160fc42a6622a90c4d63dba60573d
e57a122cba8d00aac9d014a45e815063cb9f0359
/imagepy/menus/Kit3D/Viewer 3D/tablepoints_plg.py
86fe577864e3131f6f976b490ee2afe4771c7966
[ "BSD-2-Clause" ]
permissive
WeisongZhao/imagepy
9d66664578c77eb2d463de922c8d06af4f8af35a
43cd5c4dcb9d6fefdcf11b8b9e9c0d56e11fab1e
refs/heads/master
2020-04-25T23:44:31.304590
2020-01-29T06:10:26
2020-01-29T06:10:26
173,155,520
1
0
NOASSERTION
2019-02-28T17:21:56
2019-02-28T17:21:55
null
UTF-8
Python
false
false
1,761
py
from imagepy.core.engine import Table from imagepy.core.manager import ColorManager from imagepy.core import myvi import numpy as np from imagepy import IPy class Plugin(Table): title = 'Table Point Cloud' para = {'x':None, 'y':None, 'z':None, 'r':5, 'rs':None, 'c':(0,0,255), 'cs':None, 'cm':None, 'cube':False} ...
[ "imagepy@sina.com" ]
imagepy@sina.com
deb243a92c76668d01fd0ad6bc1b8309ac9f7db4
1c6abb96a93c557b02560e16f3d3c77e52d285b1
/mundoDois_Atividade30.py
0742a130cd467a390c8ae9900b93af02402cdce8
[]
no_license
maiarawill/python
e15f826a92d7b6440f57a1885f135154abb8249f
3558f6e6b3122914daf2d75645ad84e7ee58ed7d
refs/heads/master
2021-04-03T15:41:33.122476
2020-03-23T01:12:46
2020-03-23T01:12:46
248,374,064
0
0
null
null
null
null
UTF-8
Python
false
false
592
py
resposta = 's' soma = 0 quantidade = 0 media = 0 maior = 0 menor = 0 numero = 0 while resposta in 'Ss': numero = int(input('Digite um número')) soma += numero quantidade += 1 if quantidade == 1: maior = menor = numero else: if numero > maior: maior = numero if num...
[ "50561516+maiarawill@users.noreply.github.com" ]
50561516+maiarawill@users.noreply.github.com
412fc3586b1b04c74bc733d4dc75ab08aff13d99
3b855f63a5718a0390ccdd75735e5dd24f10e0df
/pytorch-code-examples/search_hyperparams.py
8ddffe079595e0be76fd8da3a0527f84dfdea622
[ "MIT" ]
permissive
an-other/Learning_code
5dd6e64437eaf4c38dac021372c6bab24f870a05
8927242b4674f15ff59f6f649a4bb9fca2d771b2
refs/heads/master
2023-04-26T12:27:15.931017
2021-05-27T07:54:40
2021-05-27T07:54:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,133
py
"""Peform hyperparemeters search""" #寻找超参 import argparse import os from subprocess import check_call import sys import utils PYTHON = sys.executable parser = argparse.ArgumentParser() parser.add_argument('--parent_dir', default='experiments/learning_rate', help='Directory containing params.json...
[ "qiujie_dong@mail.sdu.edu.cn" ]
qiujie_dong@mail.sdu.edu.cn
2f11c2f39e28820e4c069b0f7ce10e531bd60e6d
c558952f3c9d294e2c6d3a3d65d9f98d0411dc37
/show_acc.py
b376b96e45155bbf63111e75b2b388862acf8287
[ "MIT" ]
permissive
DingZhelun/V2V-PoseNet_Pytorch
37a4b115c41ed02f3ab60b6de230992e2b53eeef
01010401597063700179a4c7cad4785af34e2b27
refs/heads/main
2023-02-21T10:26:25.247306
2021-01-28T08:09:44
2021-01-28T08:09:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,212
py
import sys sys.path.append('../../') import numpy as np import matplotlib.pyplot as plt from lib.accuracy import * from vis.plot import * gt_file = './experiments/itop_experiment/test_side_gt.txt' pred_file = './experiments/itop_experiment/test_side_res.txt' # gt_file = './experiments/msra-subject3/test_s3_gt.txt' #...
[ "3200699791@qq.com" ]
3200699791@qq.com
13264a103e66b2e23f72deff4819ceff21da6eca
1eb2d7d2a6e945a9bc487afcbc51daefd9af02e6
/eds/controller/__init__.py
deebe85d22d41b69dab825eb5fd53a7005d7ea4e
[]
no_license
fengges/eds
11dc0fdc7a17b611af1f61894f497ad443439bfe
635bcf015e3ec12e96949632c546d29fc99aee31
refs/heads/master
2021-06-20T04:43:02.019309
2019-06-20T12:55:26
2019-06-20T12:55:26
133,342,023
0
3
null
null
null
null
UTF-8
Python
false
false
1,143
py
# author :feng # time :2018/1/25 # function : 扫描所有文件,找出所有蓝图并注册 import os,sys from flask import Blueprint #------------扫描所有文件---------- bp_file=[] def eachFile(filepath): try : pathDir = os.listdir(filepath) except: return for allDir in pathDir: # 忽略__开头的文件和文件夹 if...
[ "1059387928@qq.com" ]
1059387928@qq.com
856b372c9bc7f53c92cdc301bddc997c5cc83f1c
21d59d29d21528a9a2415e2015019f360fa423ce
/api_game/migrations/0017_auto_20210118_1555.py
851dc0631290148d303e3c573417d35684de5407
[]
no_license
Prabodika/restapp
2029752e9aa42d979d70ab8ad4d0a707202ad8b9
4d2faabc3a27d8daf0f88507b02620c7490e9137
refs/heads/master
2023-02-17T21:13:33.399132
2021-01-20T11:56:03
2021-01-20T11:56:03
331,255,098
0
0
null
null
null
null
UTF-8
Python
false
false
490
py
# Generated by Django 3.1.5 on 2021-01-18 15:55 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('api_game', '0016_auto_20210118_1507'), ] operations = [ migrations.AlterField( model_name='play...
[ "Prabodika.Naiduwa@pearson.com" ]
Prabodika.Naiduwa@pearson.com
163e1b407ec03229f701b5c1ad8642ebf6deee32
6365c4ff836c16103f39bf394c306eff1c08351a
/crawler/crawler_link1.py
e448bba0efe4ecc260cba5540639e0de9a67fac5
[]
no_license
albert-zhao/py_code
8f7d9d52b68cc409fc9161fbad980c083b297548
267e9898c04392ff2352baaefe575f32fe6ca0e5
refs/heads/master
2020-03-23T12:55:26.907635
2019-12-25T07:20:46
2019-12-25T07:20:46
141,590,466
0
0
null
null
null
null
UTF-8
Python
false
false
1,668
py
#! /usr/bin/python import re import urllib2 import urlparse def link_crawler(seed_url, link_regex): """Crawl from the given seed URL following links matched by link_regex """ crawl_queue = [seed_url] seen = set(crawl_queue) # keep track which URL's have seen before while crawl_queue: url ...
[ "18868890019@163.com" ]
18868890019@163.com
7e6ead79607d50ccdf7fa10746ae1fd572af2387
6709a9993f85149a1fed8ccfcf83f068756c08f7
/CGIProject/cgi-bin/index.py
a4ffe9dadb6e6c7e2fe09c2f4dcae4f034cace0b
[]
no_license
GnezIew/Python_Daily_Exercise
f8ca6881abfc43a601409f631d4db798199496fc
0caedd1ac6e03d639cf782a8e36d10ec76828395
refs/heads/master
2020-06-14T02:16:17.336980
2019-07-08T11:24:13
2019-07-08T11:24:13
194,864,077
0
0
null
null
null
null
UTF-8
Python
false
false
558
py
html = """ <html> <head> <title> image </title> </head> <body> <img src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1562231356345&di=14d608194de00e8b04ec741b3b107ab9&imgtype=0&src=http%3A%2F%2Fimage.whhost.net%2Fuploads%2F20180413%2F22%2F1523628708-NofpLxkrHM.jpg"> </body> </html> ...
[ "773733859@qq.com" ]
773733859@qq.com
63fd88acdcebe98c89c00725d5cf2826549f7b5c
e82e219b8f9ebdd4f0976e8b30de5114d9628782
/ase_project/homechef/migrations/0013_auto_20200721_1446.py
61c40708fa433538154d30919dc07e3fca13b7b0
[]
no_license
Rukmini-Meda/HOMECHEF
36fa888fa42dfe7457aa4cfb0a1f95a97ee38609
bf1c238a37e089f09e254b6f3394e5e52968dace
refs/heads/master
2023-01-08T06:49:03.339760
2020-11-06T19:57:36
2020-11-06T19:57:36
240,837,754
3
2
null
2020-09-09T03:06:15
2020-02-16T05:35:55
CSS
UTF-8
Python
false
false
389
py
# Generated by Django 3.0.8 on 2020-07-21 09:16 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('homechef', '0012_orderitem_vendorobj'), ] operations = [ migrations.AlterField( model_name='fooditem', name='price',...
[ "rukmini.m18@iiits.in" ]
rukmini.m18@iiits.in
b150600d2397148a1a94ddfaf4def3e4ae4562ac
8c5dd342b65b8024f85f1cdc9e009cc221693291
/ABC_MODEL/MATLAB_FILES_AND_DATA/ARCH/waves_test_data.py
dd2c03e18118041b0e92c269b44d2814dc843d28
[]
no_license
RuthPetrie/uor
c6692ec1bf3b69dc5c1bc5b15dd33305472661ab
1f791f1959994dbee2026cd4b9cbea428e8f327a
refs/heads/main
2023-04-12T07:42:45.181449
2021-05-13T16:00:00
2021-05-13T16:00:00
365,258,522
0
0
null
null
null
null
UTF-8
Python
false
false
2,907
py
################################### # # PROGRAM TO PLOT DISPERSION CURVES # # Version # 0.1 R. Petrie 27-5-2014 # ################################## # SUPPLY 3 ARGS # # 1: GRAVITY WAVE SPEEDS FILE NAME # 2: ACOUSTIC WAVE SPEEDS FILE NAME # 3: HORIZONTAL OR VERTICAL (WAVE SPEEDS AS A FUNCTION OF) # # E.G # # py...
[ "rpetrie@sci5.jasmin.ac.uk" ]
rpetrie@sci5.jasmin.ac.uk
88f40a0ff2b153a1991c001f610975f25f96f527
546e402b124c2e22d634efd8e1ffb641505f2cd3
/order/migrations/0007_auto.py
d62909d771ac281c5e27a5f4c5b325e939037afb
[]
no_license
kthakur/saleor
70a87c42a5582f9bf51b3901c31bc219d38eb26c
be1b2bc6a2ac106b4f7a56a24338265d01ec9111
refs/heads/master
2021-01-12T20:15:05.662241
2013-09-24T16:30:32
2013-09-24T16:30:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,049
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 M2M table for field payments on 'Order' db.create_table(u'order_order_payments', ( ('id...
[ "michal@ociepka.info" ]
michal@ociepka.info
e8120f61bb8f2ad70ae09cb0b32ff9a6413ad410
bd4fb5837c05ff1ee66a4ef4333655d61fcf7f29
/python REST/ProducerREST.py
14c9c92cde7e44909cbd6eea784c08c642e973cd
[]
no_license
lterrac/kafka-training
93f17272da7848b983ca51ff3fc19dacb3a1eb4e
95c7728a6b09664100b98a583b8a1c44b2660091
refs/heads/master
2020-04-10T07:17:04.701242
2018-12-07T23:00:30
2018-12-07T23:00:30
160,876,874
0
0
null
2018-12-07T21:23:57
2018-12-07T21:23:56
null
UTF-8
Python
false
false
510
py
#!/user/bin/python import requests import base64 import json url = "http://restproxy:8082/topics/myfirsttopic" headers = { "Content-type" : "application/vnd.kafka.binary.v1+json" } payload = { "records" : [{ "key" : base64.b64encode("firstkey"), "value" : base64.b64encode("f...
[ "terraccianoluca@gmail.com" ]
terraccianoluca@gmail.com
7fb0423ec0e231947ac99d4c1793dc2a5f633d06
723c6162cdb7f3c0070cfed683521fd7b32b3487
/devpro/encurtador/views.py
d7e3c6c80d087e48ea1bfade67be25e0f1d4e227
[]
no_license
WendelRoberta/URL-reduce
7757de4a996b7c96af97144dd7cefb722210da88
f6b2dd9956991211d094ec01ace180c125f01b39
refs/heads/master
2023-05-03T13:40:35.554643
2021-05-21T02:10:52
2021-05-21T02:10:52
368,554,752
0
0
null
null
null
null
UTF-8
Python
false
false
1,321
py
from django.db.models import Count from django.db.models.functions import TruncDate from django.shortcuts import render, redirect from devpro.encurtador.models import UrlRedirect, UrlLog # Create your views here. def relatorios(requisicao, slug): url_redirect = UrlRedirect.objects.get(slug=slug) url_reduzida ...
[ "wendel.roberta1995@gmail.com" ]
wendel.roberta1995@gmail.com
7429637b3d1eff61bac629cdaf2031d9d72d1832
a29c6e83ae4f9010941d15c8fd4cfc67680bb054
/ml/m15_randomSearch3.py
676fef1a96a144265ebefcfd7f4e4e1df752e92b
[]
no_license
ym0179/bit_seoul
f1ff5faf4ae20fbc8c0e2ed10a005f8bd4b2c2b8
14d1fb2752312790c39898fc53a45c1cf427a4d1
refs/heads/master
2023-02-27T19:52:23.577540
2021-02-08T00:30:16
2021-02-08T00:30:16
311,265,926
1
0
null
null
null
null
UTF-8
Python
false
false
2,570
py
#Day12 #2020-11-24 # 당뇨병 데이터 # 모델 : RandomForestRegressor import pandas as pd from sklearn.datasets import load_diabetes from sklearn.model_selection import train_test_split, KFold, cross_val_score, GridSearchCV, RandomizedSearchCV from sklearn.metrics import accuracy_score, r2_score import warnings from sklearn.svm i...
[ "ym4766@gmail.com" ]
ym4766@gmail.com
4ee54b7bf51c5e35ff76d6521c3aae78cb9079e3
862f870a79c5bfdf6f4b70dd677fc979eb6137aa
/ms_identity_web/context.py
2712f78338a83e1a2b7a5d3c210edc4950cc92d0
[ "MIT" ]
permissive
skmandal/ms-identity-python-samples-common
1588d2718b96c327c966e4e80a5902f5ee32e96c
e9b5f5dd8a6364249831789717826fea55a1d0b5
refs/heads/main
2023-02-19T15:48:53.065350
2021-01-25T09:23:45
2021-01-25T09:23:45
332,691,829
0
1
MIT
2021-01-25T09:19:16
2021-01-25T09:19:16
null
UTF-8
Python
false
false
2,687
py
from msal import SerializableTokenCache import json # TODO: make this a @dataclass ? class IdentityContextData(object): SESSION_KEY='identity_context_data' #TODO: make configurable def __init__(self) -> None: self.clear() self.has_changed = False def clear(self) -> None: self._au...
[ "66391663+idg-sam@users.noreply.github.com" ]
66391663+idg-sam@users.noreply.github.com
414687d22ede72476dbc0426cb5937debc5d33e5
a2f3174c961f3be4b0df9df0e9e9ccd1696154a8
/Website/academy.cba.mit.edu/classes/interface_application_programming/glimage.py
0c3ea8bfd49d49f8011dac3c4c96ecbecbcb5f15
[]
no_license
troykyo/FabAccademy
b37972c2d0e794fd2b00a7652e65c7aae8946fb8
7a8edded276656e0dd5732151aa1e37b9d793f21
refs/heads/master
2016-09-06T15:50:02.897219
2015-05-15T23:00:06
2015-05-15T23:00:06
29,254,459
0
0
null
null
null
null
UTF-8
Python
false
false
1,294
py
# # glimage.py # (c) Neil Gershenfeld 2/10/08 # animate sin(r)/r image with GLUT # from OpenGL.GL import * from OpenGL.GLU import * from OpenGL.GLUT import * from numpy import * import sys NGRID = 50 KMIN = 0.0 KMAX = 20.0 k=0.0 dk=0.2 def X(j): return (2.0*(j + 0.5)/NGRID - 1.0) def Y(i): return...
[ "git@troykyo.com" ]
git@troykyo.com
5306cd2ee8bccc0f00f679a22bc959ffee2ada9a
d836bdd06caefb40aac7cf68f3a289bc1946f33b
/src/issuango/wsgi.py
af5816598b8652a76ad10d53f5088285cd4e209f
[ "MIT" ]
permissive
tjurkiewicz/issuango
16bc2588502a32e9fa4e19506b82955fca13a495
5873899d5194c7a7203b1bf4b92366570d8ad61b
refs/heads/master
2021-01-10T02:41:35.651199
2015-12-21T21:18:16
2015-12-21T21:18:16
48,391,720
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
""" WSGI config for issuango 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/1.9/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETT...
[ "user@centos7.localdomain" ]
user@centos7.localdomain
6d118674593e7b3bc5b82d7ca42cd1c3846863ac
1fac53ab13a9a682ecd926857ef565fa779afae4
/pro/13.py
0b8d62883eb73d45ca1280fea31b7038e7b8463f
[]
no_license
Shamabanu/python-1
339123ff4e7667d6331c207cb1c7ca3fc775dc48
4c1642679bb0bdd53a1d21e5421e04eb7abda65b
refs/heads/master
2020-04-13T23:49:27.700807
2018-12-29T15:10:26
2018-12-29T15:10:26
163,516,492
1
0
null
2018-12-29T14:16:28
2018-12-29T14:16:28
null
UTF-8
Python
false
false
308
py
def min(l,s,e): min=999 for i in range(s,e+1): if min>l[i]: min=l[i] return min def main(): n=int(input()) l=[] for i in range(n): l.append(int(input())) q=int(input()) out=[] for i in range(q): s=int(input()) e=int(input()) out.append(min(l,s,e)) for i in out: print(i) p
[ "noreply@github.com" ]
noreply@github.com
d665914b7d61ef92b859ada48eeb92be69a6c2ec
8ef495fd2226c4bf91f31a8f31d727fbcd8ac861
/python/rrsg_cgreco/__init__.py
795411e4d11dcaf91a3309f8ad4b18d5698068cf
[ "MIT" ]
permissive
ISMRM/rrsg_challenge_01
36a17944a8a52ecaed22bf080efa9996b6055e97
830b6b91748676d5056c7b425103d59092c337c4
refs/heads/master
2021-07-02T04:12:12.587619
2020-10-27T11:28:27
2020-10-27T11:28:27
187,852,432
7
2
null
2020-10-27T11:28:30
2019-05-21T14:20:16
null
UTF-8
Python
false
false
60
py
from . import linop from . import recon from . import solver
[ "oliver.maier@tugraz.at" ]
oliver.maier@tugraz.at
e4015493394765c5f5f7591bdfe6dd642011996f
d5784b6908cfeba152f80e34a4f896d86ceb7bdb
/myproject/accounts/views.py
0126fca753b1ebf89b8c5272f12e2d5d0ed7fd9b
[]
no_license
EchoCN/-
a74332ede6e6c2bababc791d4bda357d71200bd6
db2d29720c945bc281e0cdc3833c6822a8b28871
refs/heads/master
2020-03-17T17:18:28.253191
2018-05-17T08:33:08
2018-05-17T08:33:08
133,483,490
0
0
null
null
null
null
UTF-8
Python
false
false
527
py
from django.shortcuts import render,redirect from django.contrib.auth.forms import UserCreationForm from django.contrib.auth import login as auth_login from .forms import SignUpForm # Create your views here. def signup(request): if request.method == 'POST': form = SignUpForm(request.POST) if form.i...
[ "1801046793@qq.com" ]
1801046793@qq.com
de06754e842970ef715fa82c639201aed1af2f56
f86a635c4a735c09db5c0d907271b3d537cf584b
/manage.py
3a255bce7451eb5847e8d87b29815046621ca0fa
[]
no_license
jkasanjian/room-graphql-api
b667907251dc6d100391ba5f1b01d3ec409f6d9c
65257187f0f36c46cc3c21a721985d74bf0a06cb
refs/heads/master
2022-06-01T15:29:12.695661
2020-09-23T05:56:07
2020-09-23T05:56:07
254,235,641
0
0
null
2022-05-25T02:53:13
2020-04-09T00:54:00
Python
UTF-8
Python
false
false
636
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', 'room_graphql_api.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: rai...
[ "jkasanjian@gmail.com" ]
jkasanjian@gmail.com
f4e170aa70a9ee36e9883325c2d025e6b1a33513
7db77c9e3bbd079e49535c526b4e47fe538c4e73
/python/adcsmooth.py
bfe8c50125ce034a283f6e15ab55d0175f0b654b
[ "BSD-3-Clause" ]
permissive
fermi-lat/calibGenCAL
d451a242c793b6ddb10cb1d523205da6a0b0279b
9b207d7ba56031f5ecd7aab544e68a6dedc7d776
refs/heads/master
2022-02-25T16:05:43.694826
2019-08-27T17:29:03
2019-08-27T17:29:03
103,186,940
0
0
null
null
null
null
UTF-8
Python
false
false
3,839
py
""" Tool to smooth CAL XML file ADC/DAC characterization data. The command line is: adcsmooth [-V] <in_file> <out_file> where: [-V] = verbose; turn on debug output <in_file> = raw ADC/DAC XML characterization file name <out_file> = smoothed output XML characterization file name """ __facili...
[ "" ]
2eb854a813b5103d5826757cebd62b9d6339928b
562432d16c4b21071d3112775da9a082d8592079
/docs/source/conf.py
69254a068b78d46f6d78c319c23891704fea0587
[ "BSD-3-Clause", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
koldinger/Tardis
c4e01d998d5480254f26b2fb5cd1a830d7ba1196
8f8c3b0ba49442b938243fa6f2eecc7fe4a1317a
refs/heads/master
2023-07-06T08:20:09.250675
2023-06-25T15:30:39
2023-06-25T15:30:39
15,847,018
63
18
null
null
null
null
UTF-8
Python
false
false
8,326
py
# -*- coding: utf-8 -*- # # Tardis documentation build configuration file, created by # sphinx-quickstart on Thu Mar 24 21:09:32 2016. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # Al...
[ "kolding@washington.edu" ]
kolding@washington.edu
6203bb12a6e03bc9b43bbb89c8a96a20cb3e248c
f0ae390a0daa175906e0f0c8b676079704fe35d1
/opencommunity/settings/base.py
4fd88f2be13df0c92fec9554207c6309654c5347
[ "MIT" ]
permissive
mathewtrivett/opencommunity
90875bc566353b2fbde8b3b82cd017642085e55d
daffd0a19f7729d93d9141e830e8c844dd6ddaf8
refs/heads/master
2020-06-04T01:05:15.552479
2019-06-16T14:48:08
2019-06-16T14:48:08
191,807,529
1
0
null
null
null
null
UTF-8
Python
false
false
3,253
py
""" Django settings for opencommunity project. Generated by 'django-admin startproject' using Django 2.1.8. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import...
[ "matt.trivett@gmail.com" ]
matt.trivett@gmail.com
fc4eba5935059e6128b133cc2c060cdb972f9a15
dcf2ab4e1a66d53eaaa1260a8824882fbd0bbd9f
/bonus of salary.py
f4ca9a0bd3e168131d1e460d06d77175392a50b1
[]
no_license
gauriindalkar/if-else
a54189ef8e6368be5cc6b8a9fdafa6e9497843be
fac48790ffb9f6d021eff921a80ff57e399a4f77
refs/heads/main
2023-05-11T05:59:13.275673
2021-05-29T17:24:19
2021-05-29T17:24:19
371,955,342
0
0
null
null
null
null
UTF-8
Python
false
false
153
py
salary=int(input("enter salary")) years=int(input("enter year of salary")) if years>5%100: print("bonus is",5/100*salary) else: print("no bonus")
[ "noreply@github.com" ]
noreply@github.com
8a89548f36d60ec9efd878b46e99388b004d2917
95e7dc15976e3bf4fa2610aaee3862030845e5db
/Aula24.py
03487867aaf99e3f220203a1000b45f72867bb82
[ "MIT" ]
permissive
juniorsmartins/Aulas-Python
c7e80405264ed4accc25dbb22ea3dbb0a0dd4efe
48cf784c8856a588a4789c3206601a970206fdfe
refs/heads/master
2022-12-22T19:20:35.830269
2020-10-04T03:40:40
2020-10-04T03:40:40
293,669,497
0
0
null
null
null
null
UTF-8
Python
false
false
490
py
# coding: latin-1 for contador in range (5, 0, -1): print(contador) print("\n") for cont in range (1, 6): print(cont) print("\n") lista = {1, 4, 7, 9} for itens in lista: print(itens) print("\n") arquivo = {1: "Mário", 2: "Pedro", 3: "Alberto", 4: "Francisco"} for itens in arquivo: print(itens, arquivo[iten...
[ "juniorsoaresmartins@gmail.com" ]
juniorsoaresmartins@gmail.com
554cba733b22749222497dddc3d5808f4a286eb7
31bec62400386fc26142d52a1e45052c998cd085
/wick/tests/test_expression.py
4f46ac665b74152a3cc76573d75b2fcd229f4761
[ "MIT" ]
permissive
gharib85/wick
6b4d80259795c64aae0166a56c229c646a1b1245
59f8a4b522f11875320e9e98b3af57fe7b7d8313
refs/heads/master
2023-09-02T08:08:09.071181
2021-10-16T01:13:27
2021-10-16T01:13:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,597
py
import unittest from wick.index import Idx from wick.operator import FOperator, Sigma, Tensor, Delta from wick.expression import Term, Expression class ExpressionTest(unittest.TestCase): def test_resolve0(self): I1 = Idx(0, "o1") I2 = Idx(1, "o1") I3 = Idx(0, "o2") operators = [FO...
[ "whiteaf862@gmail.com" ]
whiteaf862@gmail.com
b8e1a643ea67da7d5beac438146446d32aeffae5
c033a594811c688425036d22eeab94c0e829fa0b
/city_loader.py
61b40a39e215c773e0ad633b62087c15bfd9eac8
[]
no_license
yomako/UrbanNetworkAnalyser
d8d0ffdacb3e4febe6c0e591eaf8e4dff254ba4a
da5fffcd3ba48c2a4a5850a39f9468c2b1607e99
refs/heads/master
2020-03-27T02:51:53.165178
2018-10-20T09:11:23
2018-10-20T09:11:23
145,822,856
0
0
null
null
null
null
UTF-8
Python
false
false
13,953
py
import codecs from pprint import pprint import tic_toc from cartographer import line_counter import pickle import numpy as np import math from percolation import * from city_loader_histograms import * from square_net import City from astropy.visualization import make_lupton_rgb import sys class Junction: origin_l...
[ "tombal5@wp.pl" ]
tombal5@wp.pl
568e1843c64961c991e4211a1ac8a94cec5e7167
4990249a49fbe473c84f0a033e6f404d86fe7ab6
/Kickstart2019/PracticeRound/NumberGuessing.py
ae97b4415843c2663ab914e55985b1b047703c5b
[]
no_license
iLtc/GoogleCodeJam
8bcae50ee1a857cf852d9cf3c02419b1e32da238
e9706ff34d246adff64e6b6e210a2df1fa912a2d
refs/heads/master
2021-04-27T00:29:31.070041
2019-02-24T11:58:24
2019-02-24T11:58:24
62,525,350
0
0
null
null
null
null
UTF-8
Python
false
false
515
py
t = int(input()) for _ in range(t): a, b = list(map(int, input().split())) a += 1 n = int(input()) for i in range(n): guess_num = (a + b) // 2 print(guess_num) result = input() if result == 'CORRECT': break elif result == 'TOO_SMALL': ...
[ "i@iltc.io" ]
i@iltc.io
d745c83bf23f98b67fc042729f5d71a062416056
59651c7a39582d47f25fc52e21b69ce64d5afa59
/calculateRTT.py
4a3464a6caa436ee89110b9eeba9e3ca90bb993f
[]
no_license
RiyaMittal/PythonLearnings
32a9f81812cac5826ef515b54a55ff0b1ded7253
1d26f1376c007a2c96ee4daad9d8e47b27d48e5a
refs/heads/master
2020-04-02T09:59:43.176239
2018-10-23T12:00:46
2018-10-23T12:00:46
141,101,026
0
0
null
null
null
null
UTF-8
Python
false
false
207
py
import time import requests def RTT(URL): t1=time.time() r=requests.get(URL) t2=time.time() RTT=str(t2-t1) print "time in seconds are ", RTT URL="http://www.facebook.com" RTT(URL)
[ "riya.mittal@hpe.com" ]
riya.mittal@hpe.com
5501fc47341d33a872651b8ffef9a6b733fc2db5
918b2c5c4e6e079d866060bb94b8ab419808264b
/Alarm.py
c91fd5decda1615be642245a6427074916d02a30
[]
no_license
Nathanjp91/PublicTransportPi
7308b84a8e45a2d60bdf9b96fff4815ecf2a8a94
4ec64c67e190d34fbe206700efb6cfa982331b51
refs/heads/master
2021-06-14T18:06:47.400681
2015-10-31T06:32:20
2015-10-31T06:32:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,993
py
import pygame from EpochTime import * class Alarm: #daysOfWeek = [{"Day":"Monday","Value":0},{"Day":"Tuesday","Value":1},{"Day":"Wednesday","Value":2},{"Day":"Thursday","Value":3},{"Day":"Friday","Value":4},{"Day":"Saturday","Value":5},{"Day":"Sunday","Value":6}] alarmSchedule = [] def __init__(self, ...
[ "lachlan.cesca@gmail.com" ]
lachlan.cesca@gmail.com
63f04f8b472b0e6fb25ace0140b464cd60db9de8
58be9ab3da7170fa6eea7c12a6d59e4960db3c66
/alumnos/Javier Sandoval/Ejercicio 02/Actividiad-3.py
8bc8dfa99187e278f60d2ce51e5b66900f0e1477
[]
no_license
CodevEnsenada/actividades
08d39b9b53d8c10ad17204fa9ac5e313a940a4b3
862d6f983b7056957522d28686df1b0a323a9e6f
refs/heads/master
2022-04-09T03:47:32.373978
2020-03-16T20:17:14
2020-03-16T20:17:14
241,519,981
0
12
null
2020-03-16T20:17:15
2020-02-19T03:03:48
Python
UTF-8
Python
false
false
25
py
x = 6 y = 5 print (x + y)
[ "jsandoval@codevschool.org" ]
jsandoval@codevschool.org
d103aa04df6ef7024d491ad2c789e4d1236c8a87
eb27bda0c934b3e2346b9fda793d6ab36047b6c4
/Star(turtle).py
549f91699f363453107b659e4ad748dd9465ab13
[]
no_license
UVPrince/Python-codes
0fb24f3347e7f94dc80b44afde8ea461baacd552
ede8169f9ec9c9cc9dc30bfceac3eb80d2491d29
refs/heads/main
2023-08-13T21:27:13.667400
2021-10-01T04:05:52
2021-10-01T04:05:52
404,385,382
0
0
null
2021-09-08T14:46:03
2021-09-08T14:46:02
null
UTF-8
Python
false
false
279
py
import turtle as t t.bgcolor("black") #setting background color <black> t.color("red") #setting pen color <red> t.hideturtle() #hiding turtle t.speed(0) #setting speed <max speed> 1 #for loop for star for i in range(500): t.forward(i) t.right(144)
[ "noreply@github.com" ]
noreply@github.com
a9e0e830468f184d2f98593cc05ca88159ff7b48
2037cc4b5689e828ad53c52233341878b528c5b0
/Part 1 - Annotation Pipeline/dags/Preprocess_The_Data.py
c3b995a07a6399997dd7cd5e826e923baa94f23e
[]
no_license
sagarshah95/sagarshah95-Harvard-Compute-Fest-Research-Project-Edgar-Data-Architecture-ML-model-as-Service-APIs
07990b45e312c33320ac9c174c40f7eb69d80c71
b96ba03d918b7cb118793f7ce0a9fba1a95474b2
refs/heads/main
2023-03-31T09:14:00.244325
2021-03-29T17:31:31
2021-03-29T17:31:31
352,727,989
1
0
null
null
null
null
UTF-8
Python
false
false
1,424
py
def convert_files_to_sent_list(): directory = r'/home/jayshil/PycharmProjects/EdgarPipeline/call_transcripts' #content_list=[] #temp_list=[] global content_list for filename in os.listdir(directory): temp_list= [] #filepath='call_transcripts'+'/'+str(filename) filepath=r'/hom...
[ "noreply@github.com" ]
noreply@github.com
cf0747c85d12059f3b520eb81503920f6baefb8e
eb9b4a6b439699c8a46a6c6b88fd7472f002cbfc
/euler35.py
0837f0957a3ec87cc7b86259ec2deda65e0ad1eb
[]
no_license
klq/euler_project
f1a8fdbb905321dcc295d8a3d2b31dd635825b7b
1a33427765e19728357bec8a3f2fa1ef88668a14
refs/heads/master
2020-12-24T14:53:53.118922
2015-01-09T08:18:07
2015-01-09T08:18:07
18,789,886
1
0
null
null
null
null
UTF-8
Python
false
false
1,059
py
def get_primes(n): is_prime = [True] * (n + 1) is_prime[0] = False is_prime[1] = False for i in range(2, n+1): if is_prime[i]: j = 2*i while j < n+1: is_prime[j] = False j += i return is_prime def all_rotations(n): # returns all...
[ "konglq@gmail.com" ]
konglq@gmail.com
c6fec9b804df981012e60e73e239c5d64f5c6af8
f480409cde4e155b19cf18b5980d8922ee3b9b41
/gsdata/gsdata5.py
574c38497666e1d18c546c02a3a6898baad3596f
[]
no_license
adleader/wechatSpider
114f0379817356070eb60207805f3a199c1b029a
26166c2f3b60229c8053758ce2ed4e073602c175
refs/heads/master
2020-04-08T16:03:20.166873
2020-02-05T10:07:27
2020-02-05T10:07:27
159,502,888
0
0
null
2018-11-28T13:02:02
2018-11-28T13:02:02
null
UTF-8
Python
false
false
7,214
py
# -*- coding:utf-8 -*- import requests from bs4 import BeautifulSoup import re from pymysql import * import json import time from lxml import etree import random ''' 微信公众号号主信息抓取,清博大数据:http://www.gsdata.cn/ 此代码通过直接搜索公众号的方式,来抓取微信公众号号主信息 ''' def get_gsdata(style): headers = { 'Host': 'www....
[ "noreply@github.com" ]
noreply@github.com
7726b0527443457d1634dcb5ac6de66561b59ad3
f041bd8590a62b34c5ea20a08a486ef454ebbe4e
/test.py
19a904d89a85fed78c280c87ffc07003146b349b
[]
no_license
ryancurrah/jsontest
282c4a244d05a999a366e38069ffb7dfeb2b634f
66b6376cc84185b38c27fe1291e30627a6c35476
refs/heads/master
2021-01-10T04:31:16.572886
2015-10-14T14:45:46
2015-10-14T14:45:46
44,252,421
0
0
null
null
null
null
UTF-8
Python
false
false
297
py
from unittest import TestCase import json class IntegrationTest(TestCase): def setUp(self): self.data = json.load(open('data.json', 'r')) def test_data_type(self): self.assertIsInstance(self.data, dict) def test_data_true(self): self.assertTrue(self.data)
[ "ryan@currah.ca" ]
ryan@currah.ca
bd4eab0a34d5e2483f6dae4ef02e1badc5618516
8850d0a00bbf2593c20e4e044dea35b0dc900c8a
/just_keep_wanted.py
6fb170accabbf38a4dfe23536c4fe23ee77525b2
[]
no_license
kingglory/Find_noncovalent_interactions_in_protein
6b72c8648bd5fd2feff08532440805af4ab89dd1
b567bddc87c3ed986b76ab137d2bbe5b2cd2a631
refs/heads/master
2020-03-30T18:51:56.884371
2019-06-02T03:46:09
2019-06-02T03:46:09
151,517,857
0
0
null
null
null
null
UTF-8
Python
false
false
4,659
py
from __future__ import division import iotbx.pdb import iotbx.cif import scitbx import matplotlib as np from scitbx.array_family import flex import numpy as np import mmtbx.hydrogens.build_hydrogens from libtbx import group_args from libtbx import easy_run import math, time import scitbx.matrix def is_bonded(atom_1, a...
[ "312775704@qq.com" ]
312775704@qq.com
ec15cefd7201df906ecdc3912c276717b4c1ed08
3efbf6b115d2e2e2991aacddc40dd564e457780a
/Webots/Interface/interface.py
f39c0a4c55b6daf7ee058422ea840f60c08f86fc
[]
no_license
digo-smithh/robot-web-controller
3904861e73572f52ec8ffd85e146ddeccae3f2cd
f0a632eb577cc727f4896236f75e4b0c695e39bf
refs/heads/main
2023-05-17T00:54:16.949599
2021-06-10T06:02:04
2021-06-10T06:02:04
368,978,284
0
0
null
null
null
null
UTF-8
Python
false
false
973
py
# Enzo Furegatti Spinella 19168 # Mateus Cleto de Oliveira 19187 import PySimpleGUI as sg import socket import struct #Conectando address = ('192.168.56.1', 9000) sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.connect(address) #Layout sg.theme('Dark Gray 2') layout = [ [sg.Button('↑')], [sg.B...
[ "platinamaster5@gmail.com" ]
platinamaster5@gmail.com
1d38ab78a01ac6b73cc35c3b5b089f2ce612904e
735e449d5674aeb1f1336c2c69ca7829a84dc1d3
/book_broker/.venv/bin/python-config
8cbe1c803664f2a1e9cb034893994d4b4dd80bd9
[]
no_license
georgenano/office_hack
da76b283c39e8090e28b459c3867274f65123125
f38c4bffe8374da09ecc3de9b307b8d948dd7aff
refs/heads/master
2022-12-09T18:40:39.871153
2020-02-26T09:09:10
2020-02-26T09:09:10
242,480,896
0
0
null
2022-12-08T03:41:06
2020-02-23T08:19:30
Python
UTF-8
Python
false
false
2,377
#!/Users/joji.okada/development/office_hack/book_broker/.venv/bin/python import sys import getopt import sysconfig valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', 'ldflags', 'help'] if sys.version_info >= (3, 2): valid_opts.insert(-1, 'extension-suffix') valid_opts.append('...
[ "joji.okada@JojinoMacBook-Pro.local" ]
joji.okada@JojinoMacBook-Pro.local
16ed24a1e99499ae71fb9dbe7450a3f611296dbd
8a94e7094f621b9b11b31a7620192f52dc96fbda
/app_0801/manage.py
ec269f063a3deb0176a6241d9e6cdda629941bab
[]
no_license
kenson2998/oldboy_fullstack
ce1a46ce951af9aef00de1ec52f30e6c394ef8e9
48c6a11d62b91c4db97b6da545ddb47050a65c4a
refs/heads/master
2020-06-21T08:26:30.393606
2019-10-08T06:35:09
2019-10-08T06:35:09
197,394,309
0
0
null
null
null
null
UTF-8
Python
false
false
806
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "app_0801.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that the...
[ "kenson2998@gmail.com" ]
kenson2998@gmail.com
3add94b05ac6e4724142dd50467b534dd95fd9c9
57091658d5143370d4d5b4898c72673b247e7c8d
/setup.py
967bb86f009fa415def40ca88a632d425c00ba68
[ "MIT" ]
permissive
Yanping-Cong/LFSM-0.1
39c6cf79763798cf338fa8091d4556cd3bf6e2e5
eb36cea15d98741fa84ff982ff2fc6d5fa203284
refs/heads/main
2022-12-30T02:25:45.549069
2020-10-22T08:39:27
2020-10-22T08:39:27
305,890,333
0
0
null
null
null
null
UTF-8
Python
false
false
1,036
py
from setuptools import setup, find_packages import os def readme(): absolute_path = os.path.join(os.path.dirname(os.path.abspath(__file__)),'README.rst') with open(absolute_path) as f: return f.read() setup(name='LFSM', version='0.1', description='The low-frequency sky model', long_des...
[ "62367720+Naruto-Suzaku@users.noreply.github.com" ]
62367720+Naruto-Suzaku@users.noreply.github.com
163006d1027d731a6a5b7a63bbb3d0f42d69c36a
ddc94b55010b12be30b92cdc6147da4fc1c37287
/AI methods/Assignment5/neural_network_skeleton.py
829a8b56e82bc06758d8d38ae54c45c2611e4dae
[]
no_license
pirib/NTNU
61e1c232b9c0092886f3b156239f0da4a0bfc35d
f71c482cefacab0fb1e30d79c8eb2236f5f00eec
refs/heads/master
2023-05-03T20:40:37.593711
2021-05-24T16:55:13
2021-05-24T16:55:13
332,446,890
1
0
null
null
null
null
UTF-8
Python
false
false
8,964
py
# Use Python 3.8 or newer (https://www.python.org/downloads/) import unittest # Remember to install numpy (https://numpy.org/install/)! import numpy as np import pickle import os import random # README # The code is a direct adaptation of the pseudo-code from the book. The naming convention is directly as the notatio...
[ "212310@usn.no" ]
212310@usn.no
bd12c35799ef6f853784a4e51cb1f8f41ed77c4b
d96520d6f0fdeac6091db9709d6d5e807ef5ef6d
/py2.py
cd7bc164be1737586cfd922722c84a5be3bb7fe2
[]
no_license
guyvo/pythons
2ca55653395eb25f3a3638977a33b3ce7c9db715
2320e2732625b2df2783d6ccf1cc4690d6f20e14
refs/heads/master
2020-03-25T23:36:28.623140
2018-08-14T09:24:39
2018-08-14T09:24:39
144,283,374
0
0
null
null
null
null
UTF-8
Python
false
false
85
py
def func1(): print("func1") class myclass: def func1(self): func1()
[ "guy.van.overtveldt@gmail.com" ]
guy.van.overtveldt@gmail.com
a492b7ce86f7d1f6045e8dd2f0d1d7b7395d9ba9
6572c0619b42d7fafa7bbdcd4c30c3ef0e30cb17
/lib/rucio/tests/common_server.py
e79cc5677140a3e73e16a964798733f22af81cd8
[ "Apache-2.0" ]
permissive
martynia/rucio
7aeff06be49a4427dfc95bf8197ae74f684fe830
f2a2ffe00b0d99a5973390c5476167821b6d821e
refs/heads/master
2022-02-27T01:24:19.031754
2022-02-07T09:49:10
2022-02-07T09:49:10
215,314,646
0
0
Apache-2.0
2022-02-12T16:07:13
2019-10-15T14:06:52
Python
UTF-8
Python
false
false
1,426
py
# -*- coding: utf-8 -*- # Copyright 2021 CERN # # 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...
[ "simon.fayer05@imperial.ac.uk" ]
simon.fayer05@imperial.ac.uk
12760d0cead888807944e53059cc7b12b1d6e3ef
e45dd73eeb80eb376947ad43716c78568f16d9a5
/test/test_admin_menu.py
d4ed0836fa0bfba601bd1dd0306ddce5941c931d
[]
no_license
shelby888/sel-b9
f610a31234f25723d0c64b00272ace83b920ce03
dd90a3679f7c39ff1a4dc4b1d93993b1d90c7f16
refs/heads/master
2020-08-14T22:52:16.475603
2019-11-13T09:31:20
2019-11-13T09:31:20
215,243,440
0
0
null
null
null
null
UTF-8
Python
false
false
503
py
def test_login_to_admin_pannel(app): wd = app.wd wd.implicitly_wait(10) app.session.admin_login() assert wd.find_element_by_css_selector('#box-apps-menu').is_displayed() menu_elements = wd.find_elements_by_css_selector('#box-apps-menu li') list = [] for item in menu_elements: lis...
[ "ivan.subbotin@rt.ru" ]
ivan.subbotin@rt.ru
71b4049d88648b8d5380920d050ec18db62a5318
1a036a07951bce899f098d776a0e236dc1fab118
/app/migrations/0088_delete_chart.py
a291d221c00a03852290553def7f3c91e83fd77f
[]
no_license
Jyothy-Antony/PetWorld
53cf2136ee803c28937e76dc1b523a58d174f728
a2608100b41d049bca43e00dd6f4d087e17185f8
refs/heads/master
2020-04-25T21:16:40.338031
2019-12-13T06:35:04
2019-12-13T06:35:04
173,075,567
0
0
null
null
null
null
UTF-8
Python
false
false
280
py
# Generated by Django 2.1.3 on 2018-11-06 06:48 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('app', '0087_tbamount'), ] operations = [ migrations.DeleteModel( name='chart', ), ]
[ "kjyothy02@gmail.com" ]
kjyothy02@gmail.com
1ac1f6e29a34aff2d7580761460893ad84ce911e
9ebd0a48f63daf2ca2e1a69b825aeedcde88aea2
/projects/__init__.py
a5af2ecddc5159a2ba5eaf883235581c7256f007
[]
no_license
aleh-rudzko/trs
b7b94acce04f2eff9277a72fe97156b7772e8cfb
dcb6d88d15f2bce3cd5d41da5c233188fd35bdc3
refs/heads/master
2021-01-17T06:49:43.925502
2017-01-01T19:28:36
2017-01-01T19:28:36
51,642,326
0
0
null
2016-03-11T00:46:14
2016-02-13T10:57:51
Python
UTF-8
Python
false
false
52
py
default_app_config = 'projects.apps.ProjectConfig'
[ "oleg.unsav@gmail.com" ]
oleg.unsav@gmail.com
b1d060eda455ff0f11063c05df77ac25e88142cf
80694fba85a4096e9069d836ab71917d5f8b3540
/rpc_less1/__init__.py
fc1860f538e1d6f1da72aa51a8c431fc4e400142
[]
no_license
gitletian/zerorpc_test
dad732fd3d9086bbf4200e2d6b790afb377bb685
7f11a62dee1ea71cf1ed743c7bc17a3397a806c8
refs/heads/master
2021-06-23T18:25:37.210949
2019-07-09T07:59:39
2019-07-09T07:59:39
147,283,404
0
0
null
null
null
null
UTF-8
Python
false
false
117
py
# coding: utf-8 # __author__: "" # like https://github.com/0rpc/zerorpc-python/blob/master/tests/test_middleware.py
[ "guoyuanpei12@sina.com" ]
guoyuanpei12@sina.com
749dbb2e604357c878a8e0f381f9334527e76014
7b6c67bad01ea6af4c13c3190ab7a4a86a1c13d7
/lib/hardware/extbus/pwm_pi.py
3b065c7edb90f74e8a25691bec5d0a1d681af0ec
[]
no_license
HidenoriIshii/Modric
bcb8f9f62a0f2c82adc5a4d11ac8bf8e1c16f020
0afb885b5e4efce3cf36323c84b7c0110547076f
refs/heads/master
2021-08-24T11:31:55.673348
2017-11-21T06:35:18
2017-11-21T06:35:18
111,504,382
0
0
null
null
null
null
UTF-8
Python
false
false
1,276
py
# -*- coding: utf-8 -*- # PIGPIO Lib import pigpio class Pwm(): #freq: Hz #duty:0-range #duty_range:251-40000(default:255) def __init__(self,gpio_no=0,freq=0,duty=0,duty_range=255): self.CpuPwm = pigpio.pi() self.gpio = gpio_no self.freq = freq self.duty = duty s...
[ "pranzo24@hotmail.com" ]
pranzo24@hotmail.com
b833c59f51d3a2d20f9c96608349fe6e5498f5b0
4162a7b67ae49bab2221265efbe91d051396ea48
/web app/app/app/__init__.py
350906f6cd71e71f71f8cccce0be57bfa1259cba
[]
no_license
tabishkhan96/Product-Matching-using-Deep-Learning
385d05bebf3e28097061e9907566fa420f29206b
4c47cdd2c62a6ee2ff7adbcf37cfb3a559360e7f
refs/heads/master
2023-07-16T16:48:08.005581
2021-08-21T16:56:49
2021-08-21T16:56:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
97
py
from flask import Flask # from flask import url_of app=Flask(__name__) from app import views
[ "harshgupta1999@gmail.com" ]
harshgupta1999@gmail.com
67c27c1a98daab915a2ac0e61d59580aa836ff65
d056398e51d237273c612b06a3f908e51102d918
/KSApp/setup.py
0b302191847b4ff42139e3eb99e1998dfc16c50a
[]
no_license
mahoney777/CMUI
fb000d6dc79ee51f23153dad594dd03c4ef4087c
7b2db5bc9e1487b5f91db4dfb677ba5a8fa330a8
refs/heads/master
2021-05-06T14:27:30.134402
2019-03-11T22:38:58
2019-03-11T22:38:58
113,367,718
1
2
null
null
null
null
UTF-8
Python
false
false
158
py
from setuptools import setup setup( name='KSApp', packages=['KSApp'], include_package_data=True, install_requires=[ 'flask', ], )
[ "isam126claydene@gmail.com" ]
isam126claydene@gmail.com
a42aa2ddf7f80efdf7902f6b7dd7298a8d9b657a
23b333449524887594530f73c0079ce60cb8eefb
/python_module/examples/279_Perfect_Squares.py
2b38c220680fe826fc33b7042145e52e6e043b5d
[]
no_license
benbendaisy/CommunicationCodes
9deb371095f5d67e260030d3d8abf211c90e7642
444cc502ef26810b46115797f2e26ab305a4ebdf
refs/heads/master
2023-08-09T21:46:58.691987
2023-07-20T05:11:39
2023-07-20T05:11:39
27,856,438
0
0
null
null
null
null
UTF-8
Python
false
false
1,495
py
import math from cmath import sqrt from functools import lru_cache class Solution: """ Given an integer n, return the least number of perfect square numbers that sum to n. A perfect square is an integer that is the square of an integer; in other words, it is the product of some integer with itsel...
[ "benbendaisy@users.noreply.github.com" ]
benbendaisy@users.noreply.github.com
34360943601900fee54f3e7e65088acea3e0f065
676c70b6399581c06558edae6f08a3a2219542a3
/Databases/crud.py
6276a305b6f586ae17bf2e12a0331f4f87762885
[]
no_license
jgph91/Flask-Udemy
f394c120c2e49f8a31f357921f76f1ddbb7235e5
06195432f8715f0b4e50306b713ec3d81690c18b
refs/heads/master
2022-11-25T14:10:37.889283
2020-07-03T15:21:36
2020-07-03T15:21:36
272,175,619
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
from main import db,Puppy my_puppy = Puppy('Rufus',5) db.session.add(my_puppy) db.session.commit() all_puppies = Puppy.query.all() puppy_1 = Puppy.query.get(1) puppy_franky = Puppy.query.filter_by(name='Franky') print(puppy_franky.all()) #Update puppy_1.age = 10 db.session.add(puppy_1) db.session.commit() prin...
[ "jgph91@gmail.com" ]
jgph91@gmail.com
171c5897734ec64a7e4c7af82d2ebd92556d845f
9e7e0a88e6d2bce5588def196ec6926c2b051cd9
/python/skil_client/models/ind_array.py
b2bf7e050774ea25ee84a3ce8374d4b053300274
[ "Apache-2.0" ]
permissive
farizrahman4u/skil-clients
7c47ff6ca9f4bb3a18a707d57043bca1305a7d5a
bfa7edf33bcf48428f4a1b4b4912574315a197b8
refs/heads/master
2020-05-16T07:08:48.419610
2019-04-10T10:04:05
2019-04-10T10:04:05
182,872,242
0
0
null
2019-04-22T21:39:40
2019-04-22T21:39:39
null
UTF-8
Python
false
false
5,898
py
# coding: utf-8 """ Endpoints Endpoints API for different services in SKIL # noqa: E501 OpenAPI spec version: 1.2.0-rc1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class INDArray(object): """NOTE: This class is a...
[ "shamsazeem20@gmail.com" ]
shamsazeem20@gmail.com
dba4cbd211489c0d97225fc7d8b5b23fcbd022af
1236a8208138a6f8d15a0fc576fdec98e01f7d8f
/tank/tank4.py
f09dd56c7530e9226e16501c88134105d8ecac15
[]
no_license
dingzishidtc/dzPython
cfb26ca7c38b1ed44a0e42ba5d1541aa8169ae19
3adf8aba5fe12ab28bd6d02e4e6baa60b828985d
refs/heads/master
2023-01-30T00:35:12.915290
2020-12-09T13:04:48
2020-12-09T13:04:48
260,984,723
0
0
null
null
null
null
UTF-8
Python
false
false
2,095
py
import pygame SCREEN_WIDTH=700 SCREEN_HEIGHT=500 BG_COLOR=pygame.Color(0,0,0) #三个0是黑色 class MainGame(): window=None def __init__(self): pass #开始游戏 def startGame(self): #加载主窗口 #初始化窗口 pygame.display.init() #设置窗口大小及显示 MainGame.window = pygame.display.set_mode([SCREEN_WIDTH,SCREEN_HEIGHT]) #设置窗口标题 pyg...
[ "443155612@qq.com" ]
443155612@qq.com
855c6aaf9eed566e4170ab64ac60019fbc1e0d0a
76fc4ffc931ce83cfdfc9846435d92f1f217af26
/jmbo/migrations/0004_photosize_name_length.py
00a8457f321175fcf2da3750bbc25a86dd0be0f3
[]
no_license
praekelt/jmbo
70d2a4c8c19ffcc0b10ed1b915c05a6453ecb3de
b674c14c6611191643870a070ca8c9f229776776
refs/heads/develop
2020-04-06T06:10:09.524522
2018-06-08T10:52:42
2018-06-08T10:52:42
1,899,978
4
6
null
2018-06-08T10:52:43
2011-06-15T12:29:27
Python
UTF-8
Python
false
false
1,126
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2016-05-30 12:47 from __future__ import unicode_literals from django.core.validators import RegexValidator from django.db import migrations, models from django.utils import timezone # We're modifying a field from another app. This requires trickery. def fix_app...
[ "hedleyroos@gmail.com" ]
hedleyroos@gmail.com
94b2680c4a6182f54f8645175a674803a61827c7
06a120e1af666408f811d8043fdb74b1a75d5b30
/chapter01/01.py
0ed98a51258181fd9c2558f73a31261483664e17
[]
no_license
jo-kwsm/nlp100
267323bfcfb750f911dc1ed6961d96baf788b386
6f31689296f2776de36a5d63d132ed9df0137038
refs/heads/master
2022-11-07T23:36:12.558178
2020-06-28T07:47:33
2020-06-28T07:47:33
273,532,995
0
0
null
null
null
null
UTF-8
Python
false
false
46
py
s="パタトクカシーー" s=s[::2] print(s)
[ "ytk.kwsm@gmail.com" ]
ytk.kwsm@gmail.com
29cc16fb0d99d057a0938bdae89ef34b38679c34
1bf73a39868ea90105e32cf07c86e537ed5ba92d
/HW/HW1/hw1.py
88d6dc4df273fc3731b204b86f804f8c76400149
[]
no_license
SiddhantBhardwaj2018/ISTA-350
a9d64ef00ad7182459e79c1122e6fb555719d57b
e773e87668af057c8adb1e012aa5d81f42c70f2a
refs/heads/master
2022-11-28T22:54:13.593382
2020-07-28T10:17:03
2020-07-28T10:17:03
283,168,552
0
0
null
null
null
null
UTF-8
Python
false
false
4,514
py
''' Name - Siddhant Bhardwaj Section Leader - Gwen Hopper ISTA 350 HW1 Date - 1/27/2020 Collaborator - Vibhor Mehta ''' import re, bisect class WatchList: def __init__(self,file = ""): ''' This method takes in a filename and initializes a dictionary by the name of bills which contains serial numbers of a...
[ "bhardwajsiddhant03@gmail.com" ]
bhardwajsiddhant03@gmail.com
719b430b31764349e7164548dd2edda5eac45d9b
85abdcf3cf087282f7dbcb4eff746a6f613cbfb7
/Code /Basic_scrapper.py
83b014372842251bd4a4f00c5301f2d3776b4273
[]
no_license
Pradhvan/PyConf-Hyd
667d34b3526f749e6282e255a063586f3a551fa3
deab18245f24d46384e74c9de6792c091d87671d
refs/heads/master
2021-10-09T22:19:29.883590
2019-01-04T06:37:00
2019-01-04T06:37:00
103,967,744
0
1
null
null
null
null
UTF-8
Python
false
false
319
py
# Request library import requests # Using requests library to make a HTTP GET request # Their are various request method GET , PUT,DELETE response = requests.get("https://hasjob.co/") # Check the status code of the request made # print response.staus_code # Getting the extracted content print (response.content)
[ "Pradhvanbisht@gmail.com" ]
Pradhvanbisht@gmail.com
aa8f5581855a9508ff4190e85841ff0a2edf7324
276f4438f05bdbb4e78ffaac5e51e44d4c32b1e1
/app/forms.py
ae87f07c76382dcff10a5405b48e1f87daf93641
[]
no_license
Robotwing/flaskweb
fdb967fe52551f6cfdd214637384e8fac34b17ff
4e9aea2976e3ac2481a5d7463ee4771950979b17
refs/heads/master
2021-01-10T16:13:36.064632
2016-03-01T14:19:12
2016-03-01T14:19:12
52,881,455
0
0
null
null
null
null
UTF-8
Python
false
false
264
py
from flask.ext.wtf import Form from wtforms import StringField, BooleanField from wtforms.validators import DataRequired class LoginForm(Form): openid = StringField('openid',validators= [DataRequired()]) remember_me = BooleanField('remember_me',default = False)
[ "liqiuchiwing@126.com" ]
liqiuchiwing@126.com
c9e3a5a2870c9edd52b272704f1a5fe5d524c02d
8a25ada37271acd5ea96d4a4e4e57f81bec221ac
/usr/share/pyshared/ajenti/plugins/fm/fm.py
aecbcde1a5101d2dbf7369b8b8633ab88fc1226e
[ "Apache-2.0" ]
permissive
lupyuen/RaspberryPiImage
65cebead6a480c772ed7f0c4d0d4e08572860f08
664e8a74b4628d710feab5582ef59b344b9ffddd
refs/heads/master
2021-01-20T02:12:27.897902
2016-11-17T17:32:30
2016-11-17T17:32:30
42,438,362
7
8
null
null
null
null
UTF-8
Python
false
false
10,685
py
import gevent import grp import logging import os import pwd from ajenti.api import * from ajenti.api.http import * from ajenti.plugins.configurator.api import ClassConfigEditor from ajenti.plugins.main.api import SectionPlugin, intent from ajenti.ui import on from ajenti.ui.binder import Binder from backend import F...
[ "lupyuen@gmail.com" ]
lupyuen@gmail.com
259081c455ac974bfd744e0a80075935ec01cdc3
8667c5ce3e71ef8abe9490fb3584cda24a4674eb
/tests/test_tools.py
0fac6354c9183169cde50861efaf2da7f8f65c95
[]
no_license
YotamAlon/QuantumAlgorithms
9205958edbe4f6a8fb13d9455c2beaf96da873ff
a6ca4417153530ef24ce701b346ddcb9a04de7a4
refs/heads/master
2022-08-28T06:38:37.961731
2020-05-23T14:52:00
2020-05-23T14:52:00
262,534,114
0
0
null
null
null
null
UTF-8
Python
false
false
314
py
import unittest class TestTools(unittest.TestCase): def test_split_result_by_register(self): from tools import split_result_by_register res_list = split_result_by_register('0010001', [4, 3]) self.assertEqual(['0001', '001'], res_list) if __name__ == '__main__': unittest.main()
[ "yotamalon@gmail.com" ]
yotamalon@gmail.com
af5aedbfd4d00e7b7452976e31959ae040f75523
f08cac07a72bcdf183cf46471efa8a61788d0354
/python/490A.py
62fa4a15efd2f964db3ea1c17f0725aa6746996f
[]
no_license
0xtaha/CodeForces
7cddb5c150d562deb6c67e710e63cf659919ee99
f4ccaae71900c487d4b8e9e16f0e945553bb203f
refs/heads/master
2020-09-22T12:20:38.424415
2019-12-01T16:28:21
2019-12-01T16:28:21
224,847,384
0
0
null
null
null
null
UTF-8
Python
false
false
473
py
n = int(input()) child = input().split() p_skill,m_skill,s_skill = list(),list(),list() p,m,s=0,0,0 for i in range(len(child)): if child[i]=='1': p_skill.append(i+1) p+=1 elif child[i]=='2': m_skill.append(i+1) m+=1 else : s_skill.append(i+1) s+=1...
[ "noreply@github.com" ]
noreply@github.com
d12c25be0fdf5634a1ea3c9b5e3502945fc033d8
f3c9732d2bef8f32b30b2318abe3785c343297f0
/ttsx_shop/ttsx_shop/settings.py
f6c091652ef05423217d684edc4708f42f6c25b4
[]
no_license
djangoplay/ttsx_shop_test01
c0871de156cbab6acc5a8a6f91a268e90bff0cd9
eb3e34080c6408b72603d3bad703afd6250ba184
refs/heads/master
2021-07-02T15:52:19.388650
2017-09-23T15:31:03
2017-09-23T15:31:03
104,578,108
0
0
null
null
null
null
UTF-8
Python
false
false
3,292
py
""" Django settings for ttsx_shop project. Generated by 'django-admin startproject' using Django 1.11.4. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import ...
[ "python@itcast.cn" ]
python@itcast.cn
75053f167324bf053f71e09602f70b721cb35b15
6b67f9b4914f1f005e66f9d1a93428967c470885
/treewidget/views.py
5512657dfa574ce37cd33a5680d47a6cd6ebc1ed
[ "BSD-2-Clause" ]
permissive
xrmx/django-fancytree
c0c9e98a3dddf69001534f5d0c5ff5538ffe175b
8bf0ec45ecc93190528432e5663c11ed74406caf
refs/heads/master
2022-03-18T21:13:33.148100
2018-10-06T15:07:50
2018-10-07T09:12:19
21,351,260
16
9
BSD-2-Clause
2022-02-11T14:42:16
2014-06-30T13:03:57
JavaScript
UTF-8
Python
false
false
985
py
from django.shortcuts import render, get_object_or_404, redirect from apps.categories.forms import SelectionForm from apps.categories.models import Selection def home(request): form = SelectionForm(request.POST or None) if request.method == "POST": if form.is_valid(): selection = form.save...
[ "riccardo.magliocchetti@gmail.com" ]
riccardo.magliocchetti@gmail.com
d7870a40f1c0cc50e7e98e6853dcf6f4cf63878b
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/225/users/3995/codes/1672_1950.py
d9036258f64b368da9802335bbf86f788d624ec8
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
253
py
t=float(input("temperatura:")) v=float(input("velocidade:")) o=13.12+(0.6215*t)-(11.37*(v**0.16))+(0.3965*t*(v**0.16)) if((t>=-50 and t<10)and(v>=4.8)): print(round(o, 4)) elif(v<4.8): print("Velocidade invalida") else: print("Temperatura invalida")
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
92883ff0dac39774ad197a23555cd787520f8102
d6b632b026b0ebeb61d4d1a6fbaecf7178d65b73
/common/schema/config/abstract.py
f9e40e19cd04a8028af966be026ef5fc1d7dc93f
[]
no_license
0827cg/spiderCompany
833f048f7f86d0321b9e980b6c45e2d68d21d9b4
f998876c3d90bfe6e818f99f62ad7fb97a5d1202
refs/heads/main
2023-02-11T12:49:25.753541
2021-01-12T01:44:14
2021-01-12T01:44:14
328,614,129
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
#!/usr/bin/python3 """ Author: cg Date: 2020/11/16 17:07 """ class Abstract: def init_def(self): """ 获取默认的配置数据 :return: """ raise NotImplementedError("待子类继承") @staticmethod def get_instance(): """ 返回各自的实例 :return: """ rai...
[ "cgstudios@qq.com" ]
cgstudios@qq.com
d5e6eb9feafa62fbcae82a3ae4f79d64d89bd473
b13e967003d2c4c568030d12997b84d2124e16b2
/admin_handler.py
993257ab9ab38c1bda43874236fae0b152d251d1
[]
no_license
testtesthu/dkdkdkdgkdkgykvnmf
dcfde5eb4aacaf5af427d47eb12ddd1baabec2e2
7464139fb1882465cebf98760fa7fb56ab474ac9
refs/heads/master
2021-01-10T03:00:08.645453
2015-12-05T08:16:45
2015-12-05T08:16:45
47,447,912
0
0
null
null
null
null
UTF-8
Python
false
false
1,812
py
import datetime import tornado.web class AdminHandler(tornado.web.RequestHandler): @tornado.web.authenticated def prepare(self): pass def get_current_user(self): sc = self.get_secure_cookie('user_id') if sc: return sc else: return None def get_...
[ "shuper@Sashas-iMac.local" ]
shuper@Sashas-iMac.local
9266b611cea2f0093c0d96ea9482b3da65f38627
4e0feafc7c5f488bb64c07adafa0eb1efd371b2a
/39 Combination Sum.py
3ef9c490abf7cab6b622ac06a47b2b97ea676da5
[]
no_license
fahim0120/leetcode
dd52e5ee711f802928cad06f1ffd5d30514c6053
722690850cc7fd3d53981312182cf032983d2575
refs/heads/master
2023-04-03T06:56:32.630324
2021-04-10T04:34:21
2021-04-10T04:34:21
263,259,288
0
0
null
null
null
null
UTF-8
Python
false
false
616
py
""" fahim0120@gmail.com """ # https://leetcode.com/problems/combination-sum/ # Medium # Most Liked class Solution: def combinationSum(self, candidates: List[int], target: int) -> List[List[int]]: def helper(sm, start_at, path, result): for i, num in enumerate(candidates[start_a...
[ "fahim0120@gmail.com" ]
fahim0120@gmail.com
4220343014eaae108a86cbbe3bc8fb5c6a51211b
f80255edf86a11ca237fd123485cc6af8e121fb6
/build/lib/woe/eval.py
eafd44d7944da70efb52849d66d65167a5ba44a1
[ "MIT" ]
permissive
AllenChai/woe
f0d04bf93a590113798f9085f95ecfb80fcd8ae3
421cb8ef10627ecf667c625a89e3d25fc0ac7b68
refs/heads/master
2021-07-15T16:13:48.955926
2017-10-12T10:04:50
2017-10-12T10:04:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,302
py
# -*- coding:utf-8 -*- __author__ = 'boredbird' import pandas as pd import numpy as np import scipy import matplotlib.pyplot as plt def eval_feature_detail(Info_Value_list,out_path=False): """ format InfoValue list to Dataframe :param Info_Value_list: Instance list of Class InfoValue :param out_path:sp...
[ "1002937942@qq.com" ]
1002937942@qq.com
ebf0411cf8fd15124d51fefb1d9fce1ff401d78a
4ca07649f61d70b8803481e89f0f35a3ad7f7f4c
/Jamie/env/bin/pyrsa-priv2pub
9f127f79577a4e19d9b15f291939113e553dddc1
[]
no_license
coralisland-git/web-spider-cloud
b5ab74ea4b2188dd18281618ecaf3337163bd4d1
1da2aca0c28e6e08db1978939007706fdf60779e
refs/heads/master
2021-04-09T15:47:18.220441
2018-06-01T16:09:55
2018-06-01T16:09:55
125,665,826
1
0
null
null
null
null
UTF-8
Python
false
false
303
#!/media/apple/f50223eb-8502-4183-93ad-3e6be8fce2e0/work/scrapy/Jamie/env/bin/python # -*- coding: utf-8 -*- import re import sys from rsa.util import private_to_public if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(private_to_public())
[ "coseasonruby@gmail.com" ]
coseasonruby@gmail.com
936d057fd9243e4e1a4d56240b0eae174b1ac351
50edecc302ca7404b662eb20c7b8f828521d58fe
/strcondadding.py
651c59f98b744fc86b3b8799f5b3f27f3b80fe7e
[]
no_license
amitanand/Python-strings
49d027487d62c4cab92d5ebe2719e129bafbcbcb
892d9cdac40a64cc149f6ba7511c4b1707d46cf0
refs/heads/master
2021-07-05T06:12:59.482973
2017-09-26T04:10:15
2017-09-26T04:10:15
104,284,235
0
0
null
null
null
null
UTF-8
Python
false
false
571
py
'''Write a Python program to add 'ing' at the end of a given string (length should be at least 3). If the given string already ends with 'ing' then add 'ly' instead. If the string length of the given string is less than 3, leave it unchanged ''' import time str_1=str(input("Please enter a string :")) print("Alalyzing ...
[ "anand.amit943@gmail.com" ]
anand.amit943@gmail.com
0fb11b9091b3e371a4279154788aaaba37c827b1
549af74d913881e8d0efc5c8cc36c28fb4a053af
/Week1/02-NumbersAndStrings.py
7d50a83bb52206d03b6a3db487e64ba28c76e929
[]
no_license
karthikkosireddi-g/P-Class
1a3b2ea2b0ff390ef51f353daa159ceaea997d60
b091738dae43b9abb9108816fdfb329c89ba446a
refs/heads/master
2020-09-24T09:21:03.535744
2019-12-12T18:58:10
2019-12-12T18:58:10
225,726,731
0
8
null
2019-12-12T19:40:35
2019-12-03T22:08:01
Python
UTF-8
Python
false
false
243
py
print ("This is a test print of text .,... !@#!@#ASDSDGF#$%#%12342354234 ") # Variables - Change its value ... name to calll that value a = 10 my_var_a = 20 print (a) print (my_var_a) b = 10 c = 10.3455 b = 10.4566 print (b) print ("b")
[ "kk@varkasa.com" ]
kk@varkasa.com
edad509ccdcf2db122c51122cf3e3278ca75929b
a1e4fe065787688a7acafb039057647de79ec611
/env/bin/wheel
03dff5e28a01c46dca78a4fad11bf80ad82b0651
[]
no_license
GiangHo/webtool
d21fe68cba50881826f96105780ab2af6c816578
632da508bec99a3e8dc1e58fa6fbc2aeae05b67d
refs/heads/master
2022-04-21T06:06:54.466813
2020-04-23T10:23:49
2020-04-23T10:23:49
258,166,548
0
0
null
null
null
null
UTF-8
Python
false
false
241
#!/home/lacquay/PycharmProjects/env/bin/python2 # -*- 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())
[ "minhgiang2025@gmail.com" ]
minhgiang2025@gmail.com
6a8abde568c171a40d82e90271d2b182f6edd077
cd003b9bd0406efea1e2004073e4ce89dccbd597
/simple-examples/15-for.py
8a5cdd863310100cc8c9875ee4ce357a284e8366
[]
no_license
shamuad/python-materials
fae68f3cb456378d067350d395d94a237df73336
bbda8f01f2527b3ef124f09f55dcf273703481f4
refs/heads/master
2021-01-17T12:52:32.964098
2016-07-13T13:43:13
2016-07-13T13:43:13
59,762,477
0
0
null
null
null
null
UTF-8
Python
false
false
314
py
import sys #for(int i = 0; i < 10; i++){ # suite #} #actually range(10) is an array, so it behaves like foreach. for i in range(10): print i for i in range(4,8): print i for i in range(2,10,2): sys.stdout.write(str(i) + " ") print "\n" for character in "Python": print character
[ "dinarari@gmail.com" ]
dinarari@gmail.com
d41e471bc5a0e4d866d2c37cfeda57fbfc712d8f
a28574d927110aa0c1c10d9b46ca5fb6f8146dc1
/google/cloud/talent/__init__.py
13571c97b6138f2ec1206ff7083e443bcc6649d4
[ "Apache-2.0" ]
permissive
saumyasahu-bot/python-talent
a623af34501ec526049cbf30b8cfc043668a3e67
fbe4d9b3c1fbd7d2ea684151e804885ce056be9f
refs/heads/master
2022-12-26T00:55:40.961276
2020-10-02T15:26:05
2020-10-02T15:26:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,416
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "noreply@github.com" ]
noreply@github.com
168b48ea0089a0062b147a1b8653e3e2b810bb44
747a651b3e82cdbb1d6c0ac238764a597cf19674
/dcnn/mill/train.py
91ad2a97bef0cc8e2acdb7c425e692a5acae031d
[]
no_license
chuanyaoliu/prediction
d20979904ec2735b47b46bed9ec4e084c9b456bb
b454810d49f3a653cce55312386553ae7ffe52a7
refs/heads/master
2020-06-18T00:29:43.657187
2019-06-20T13:19:47
2019-06-20T13:19:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,738
py
import scipy.io as scio import matplotlib.pyplot as plt import numpy as np import math import random from cnn import Net import torch import torch.nn.functional as F from torch.autograd import Variable dataFile = 'mill.mat' data = scio.loadmat(dataFile) allVB = [[] for i in range(16)] allTime = [[] for i in range(...
[ "574690129@qq.com" ]
574690129@qq.com
06654af4deae9542cb20769710aaa8185eac4dc7
a62f95762abb2ce4398c3ac9ae0fc2474155bde6
/projects/moviestar/app.py
ae932990135bce1dcefe001407b749f80ebe252e
[]
no_license
Wowfather/sparta
47271495e35c6abaf3790a07dc6f23dd58ae794f
c67e74e0b382662fcb1ac0bfb612eca3d95a9865
refs/heads/master
2022-11-14T07:52:43.491512
2020-06-30T13:20:47
2020-06-30T13:20:47
265,848,613
1
0
null
null
null
null
UTF-8
Python
false
false
2,142
py
from pymongo import MongoClient from flask import Flask, render_template, jsonify, request app = Flask(__name__) client = MongoClient('localhost', 27017) db = client.dbsparta # HTML을 주는 부분 @app.route('/') def home(): return render_template('index.html') # API 역할을 하는 부분 @app.route('/api/list', methods=['GET']...
[ "64903302+Wowfather@users.noreply.github.com" ]
64903302+Wowfather@users.noreply.github.com
6a0afd20adebaf4835c5a8c07acce5249689f947
09e161f2c6f2d9c3b848beb5b9a27fc6c8314068
/park_ground.py
4d13fdfdac18b4e60a773cb84b38faebf6d326d0
[]
no_license
dingjunZMY/part_ground
ac1ada80e514cf46edc315cf92683995bf6ef14b
72655e4867a4e3f437c19e4521339aa5b734a0b4
refs/heads/master
2020-04-01T13:53:53.496127
2018-10-16T11:07:29
2018-10-16T11:07:29
153,272,026
0
0
null
null
null
null
UTF-8
Python
false
false
529
py
import time from park_records import ParkRecords class ParkGround(): def __init__(self,parkground_address,parkground_name,parkground_type,park_balance=20): self.parkground_address=parkground_address self.Parkground_name=parkground_name self.Parkground_type=parkground_type self.car_l...
[ "dingjun663666@126.com" ]
dingjun663666@126.com
241fa6b221f9014d153bddf461f56f124deed35d
bf0d7c8d987d5fda14208eb9ce70e31c83c25c25
/c-ex4/viz_hidden.py
77f2b6e5a6e6b235b4949916dff588d425775ba8
[]
no_license
SummerBigData/SamRepo
7876e9393c7175e300e175a60c17633c3b23a1bb
fd84ad654370faa48c084349952c2921fde4032d
refs/heads/master
2020-03-18T05:09:08.787956
2018-06-18T17:11:49
2018-06-18T17:11:49
134,327,137
0
0
null
null
null
null
UTF-8
Python
false
false
824
py
import matplotlib.pyplot as plt import numpy as np from nn_util import * n = 400 k = 10 s = [n, 25, k] L = len(s) sizes = [(s[i+1], s[i]+1) for i in range(L-1)] theta_flat = np.genfromtxt('weights.txt') thetas = thetas_from_flat(theta_flat, sizes) theta_h = thetas[0][:,1:] def inv_sigmoid(a): return np.log(a/(1-a)...
[ "lerner98@gmail.com" ]
lerner98@gmail.com
c19eafecd9139e88ccb5b8339a1c157f4444df5e
04457e5e04ddcd0ecdb9dc74e658672842743972
/pizzas/admin.py
5b39fe11ade9fa9f47fcc821f7ea1c41f370b875
[]
no_license
pitaohc/Django-pizzeria
0fefdbe10063d992ea126ec2181dfcb467ed57b6
4e4846d306b7c519c1a705f2dd3edd2662cd0413
refs/heads/main
2023-01-12T11:01:15.609876
2020-11-15T15:42:24
2020-11-15T15:42:24
313,062,584
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
from django.contrib import admin # Register your models here. from pizzas.models import Pizza, Topping admin.site.register(Pizza) admin.site.register(Topping)
[ "pitaohc@qq.com" ]
pitaohc@qq.com
7156424fbb1b904acf6bb1de1a4a2608f2f86d49
3cb90688f33ae520796036b2858d924eb3938f3d
/Projet SUSY/code3final.py
12f7f055ac12030c2dc7c58fa58d8b5626cef4d1
[]
no_license
gnagnabeubla/TP-ML-GRIMA
1f33aca7a00d2dcab23b3190ea577bb0c11ed886
30ec71ea392bf635f63a8a6e373332ca12075d70
refs/heads/main
2023-02-09T00:54:22.399355
2021-01-04T18:46:40
2021-01-04T18:46:40
302,896,648
0
0
null
null
null
null
UTF-8
Python
false
false
14,777
py
from __future__ import print_function, division import os import numpy as np import torch # pytorch package, allows using GPUs import pandas as pd #seed fixe seed=10 np.random.seed(seed) torch.manual_seed(seed) from torchvision import datasets #importation des données du dataset SUSY class SUSY_Dataset(...
[ "noreply@github.com" ]
noreply@github.com
40b4c752d025922651ff428b9772171ab96dd83d
a715d2bd56ffcb823c387870e5f30fe23075c390
/App_Login/froms.py
89b2da1d27637788349aba51a8a365879ba2033c
[]
no_license
nafiurrashid/My_Social_App
e58bc9656cbf85d25491507b83842a32d7a5e560
d22c5269cfead7b80917a68db72e13d14e3ab13f
refs/heads/master
2023-08-14T05:35:01.238254
2021-09-11T09:54:31
2021-09-11T09:54:31
405,342,060
0
0
null
null
null
null
UTF-8
Python
false
false
599
py
from django import forms from django.contrib.auth.forms import UserChangeForm, UserCreationForm from django.contrib.auth.models import User from django.forms import fields from django.forms.widgets import Widget class CreateNewUser(UserCreationForm): email=forms.EmailField(required=True,label="", widg...
[ "developer.probashi@gmail.com" ]
developer.probashi@gmail.com
a964718ec9364b158ba82e58b370dddd5833dfc3
5032b48f2019b0efcb43b82a39e4c58b4d482e8d
/test_filter.py
d6f5a9e1e4b2f6cd50217d05e7c0de4332057983
[]
no_license
r53127/test_python
bc16186142f8eedabb645dd32d482a6176f7e033
55770483f167e54a0fda76dc409e6e09f363cf9d
refs/heads/master
2020-03-19T20:53:19.616375
2018-08-27T07:02:58
2018-08-27T07:02:58
136,921,118
0
0
null
null
null
null
UTF-8
Python
false
false
207
py
def _palindrome(n): m=str(n) for i in range(int(len(m)/2)): if m[i]!=m[len(m)-1-i]: return False else: yield n it = filter(_palindrome(n), list(range(1000)))
[ "rnkn@163.com" ]
rnkn@163.com
e24674418e738ed42a75158fcf2d7164c03934ef
de0ac7456bb7fb7c73c8b0bc2b785b6e73cbbb9c
/ccontrol/test/agent_test.py
9107164511720239a99eb8c79f3255ed8c9fd73b
[ "MIT" ]
permissive
PierreMsy/DRL_continuous_control
a51e6af581e480985b7f12f1e7fbbf6049f35885
40a443ea2c7415a5dd7185114da0f06902122c4b
refs/heads/master
2023-07-03T07:26:03.846336
2021-08-11T19:46:08
2021-08-11T19:46:08
380,946,365
0
0
MIT
2021-08-11T19:46:08
2021-06-28T07:37:34
Jupyter Notebook
UTF-8
Python
false
false
4,575
py
import pytest import numpy as np from unityagents import UnityEnvironment from ccontrol.agent import DDPG_agent from ccontrol.utils import Context, to_np from ccontrol.config import Configuration from ccontrol.test.mock import env PATH_ENV = ('C:/Users/pierr/Desktop/DataScience/Formation/2020_Udacity_DeepRL/'+ ...
[ "pierremassey1@gmail.com" ]
pierremassey1@gmail.com
6a54cd39779bc12b0b83defce0951b87a55fa52a
fbce008274ae7f4d189995804692d2b442e1869b
/百度ai语音转文字.py
40b7e0c28c7d91129995daf6a0466af40d2647ed
[]
no_license
frozen3bits/python
42f47855ba67feb7ebf90e3cbc96e5713ced1b5d
d207d439cb1501a6f43a3fc8970bed50f8858dc7
refs/heads/master
2022-12-01T20:11:00.290170
2020-07-31T06:09:16
2020-07-31T06:09:16
275,606,224
0
0
null
null
null
null
UTF-8
Python
false
false
747
py
from aip import AipSpeech import datetime def shibie(): APP_ID = '15858603' API_KEY = 'EdUjl8Xu5cDcaDIp9fzl4EZn' SECRET_KEY = 'X3ZECRub139ucxElGbVBtxmiDDcfyPXx' client = AipSpeech(APP_ID, API_KEY, SECRET_KEY) file_handle = open('F:\\音频\\国联律师.wav', 'rb') file_content = file_handle.read...
[ "noreply@github.com" ]
noreply@github.com
f1867a89853c7c4149e80a295b670596f8ca1ac5
bcde4b60ad5206a4cd00eaf80a0f5d300496cce7
/present/wsgi.py
f045529b0a84ea72efb2f05a2257e27bb89d8eac
[]
no_license
rrcc0044/present-service
388ba93c254692809e48ad0a6427d91abc0f5946
b8f82d58430759285d9aaa1c776564a44f93a7c0
refs/heads/master
2023-03-05T00:10:47.813097
2023-02-04T14:17:40
2023-02-04T14:17:40
145,641,592
0
0
null
2023-02-10T21:54:55
2018-08-22T01:53:45
Python
UTF-8
Python
false
false
463
py
""" WSGI config for viral 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/2.0/howto/deployment/wsgi/gunicorn/ """ import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "present.config") os.environ.setde...
[ "calangi.renz@gmail.com" ]
calangi.renz@gmail.com
bf8b7ab7ec0ee7cb597dd110b12ecbc1aa6c64b1
84ae53c273f4cb6d18c395a985c357feda2a66de
/collectors/collector.py
8e06f9aa0d77a42372751a71c49445bd0cb11fd6
[]
no_license
thomasareed/pict
49d67e8479082b05b41e5027f0a90313dab87401
91301010edb9ce7befb2b2063cbdfc63fdc5b1b3
refs/heads/master
2023-02-05T00:00:41.140770
2023-01-31T17:03:50
2023-01-31T17:03:50
192,980,356
98
16
null
2023-01-31T17:02:52
2019-06-20T20:00:41
Python
UTF-8
Python
false
false
1,780
py
import os import subprocess import tools.util as util class Collector: collectionPath = "" allUsers = True userList = [] pathsToCollect = [] artifactsFolderName = "artifacts" collectArtifacts = True def __init__(self, collectionPath, allUsers): self.collectionPath = collectionPath self.allUsers = allUsers...
[ "thomas@thesafemac.com" ]
thomas@thesafemac.com
b5ab04d51f24f8b36d05253d72ae67d3c9ace030
16b0ca3eea8069435e8235099b168a6feb8f0541
/tests/10-deploy
bfa01b7ad71dc661275f4fb1628426b31a05cdcb
[]
no_license
ChrisMacNaughton/charm-remote-nfs
ecf1f974abbdfa4eb0a990cb758687b7a96ca9b8
f2b0645087c6ad57cb76715cf3cb26b78f2dbefd
refs/heads/master
2020-04-08T03:24:36.943255
2019-07-11T18:50:16
2019-07-11T18:50:16
158,974,632
0
0
null
null
null
null
UTF-8
Python
false
false
1,237
#!/usr/bin/python3 import amulet import requests import unittest class TestCharm(unittest.TestCase): def setUp(self): self.d = amulet.Deployment() self.d.add('remote-nfs') self.d.expose('remote-nfs') self.d.setup(timeout=900) self.d.sentry.wait() self.unit = sel...
[ "chris@centaurisolutions.nl" ]
chris@centaurisolutions.nl
50d1585e03151041db579b757fef7cfeee786fc6
e134450aaa5d5bde3cd47523dc05209ebf9634be
/other scripts/grid_plots/gmm_discretised_trawl_process_part_2.py
01addc69f74ae1823f03fc411b36f2bb023b5604
[ "MIT" ]
permissive
danleonte/Ambit_Stochastics
dbafaaae35b3c2aa2ba526a32e95e23356f224bd
b292561561d32911cbea6757b0715b56650b58e9
refs/heads/main
2023-08-31T05:56:33.557539
2023-08-29T13:56:46
2023-08-29T13:56:46
431,290,759
4
1
null
null
null
null
UTF-8
Python
false
false
1,890
py
# -*- coding: utf-8 -*- """ Created on Mon May 9 16:02:39 2022 @author: dleon """ import numpy import pandas as pd #from matplotlib import pyplot import seaborn import pickle import numpy as np #import matplotlib.pylab as plt #seaborn.set(style="ggplot") seaborn.set_palette("colorblind") #read the data delta_vect...
[ "dl2916@ic.ac.uk" ]
dl2916@ic.ac.uk
684b4109d9bfbe0602aee7ea2e15f6b948a4ea33
f36e0f6d436cbe95f4ee2074bcfe61a2f93950e5
/setup.py
7caa3229b81c3aa36431e3ab06921649944a8788
[]
no_license
Suristar/packaging
3e8c0a97ef2fb01f0b64e5740d728191fd2ff22b
5376052515a2ec8e190a4fd671ac6ec22522f2aa
refs/heads/master
2020-09-17T08:10:17.095146
2019-11-25T22:02:13
2019-11-25T22:02:13
224,048,595
0
0
null
null
null
null
UTF-8
Python
false
false
477
py
from setuptools import setup setup( name="project2", version="0.1", scripts=["data2.py"], #in case your program needs data files data_files = [('.', ['data-2.csv'])], #project uses matplotlib so ensure that it gets install or upgraded on target machine install_requires = ['matplotlib', 'pa...
[ "56325899+Suristar@users.noreply.github.com" ]
56325899+Suristar@users.noreply.github.com
c8a947e165c9e763ad4bdf98bb89237d7e4bf66e
021cf3a95271c46647c45427ca6f4e951a1eacb0
/2020/B/b.py
3a2882390d01d691f8a0dd5c7c016017fb86c480
[]
no_license
calvinchankf/GoogleKickStart
9c5fe0a2537c4efba79aa9352284a0b1e6e65445
dbcd259b756785ee2864915c22c5ee6abe270581
refs/heads/master
2023-02-12T14:05:59.787258
2023-02-11T16:19:50
2023-02-11T16:19:50
182,479,858
3
3
null
null
null
null
UTF-8
Python
false
false
695
py
""" math Small Pass Big Pass """ def f(nums, D): rightMost = D for i in range(len(nums)-1, -1, -1): rightMost = nums[i] * (rightMost // nums[i]) return rightMost # a = [3, 7, 2] # print(f(a, 10)) # a = [11, 10, 5, 50] # print(f(a, 100)) # a = [1,1] # print(f(a, 1)) # input() ...
[ "chan9118kin@gmail.com" ]
chan9118kin@gmail.com
2bf1b289845072e5323c6c54c2a2c7f98de4d413
e72e0ff24c0592670cf705d352c4aed6ed221665
/app/migrations/versions/4c4dcaa0f878_.py
7f0d5c0f555a8015058cfb27b9975023bec5eb71
[]
no_license
EgorFray/FlaskBlog
93c57a7e0b279e3b297483b35f2faa900939391f
12155d0db832370c0d409ef547783227ac2dea0f
refs/heads/master
2021-03-08T06:41:11.476919
2020-03-10T14:44:38
2020-03-10T14:44:38
246,327,005
0
0
null
null
null
null
UTF-8
Python
false
false
825
py
"""empty message Revision ID: 4c4dcaa0f878 Revises: b1eff6064cd5 Create Date: 2020-01-24 18:44:41.943591 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '4c4dcaa0f878' down_revision = 'b1eff6064cd5' branch_labels = None depends_on = None def upgrade(): # ...
[ "fatamorganaa933@gmail.com" ]
fatamorganaa933@gmail.com
f82670200f5a400d8e48a8b174a2cd82239ab27d
46ce38eacc390e549944d2e73020cbfd7e0b020d
/ml/rl/test/gym/world_model/state_embed_gym.py
5e5bb9f273deb929dd36f4d255e2f21d9f25bbcf
[ "BSD-3-Clause" ]
permissive
sdaulton/ReAgent
0ae229da0f55ce0bf0108c5bc7bf481dc42aeb66
426d4915dcd90beb3c3781d030c64e748e336351
refs/heads/master
2020-09-06T18:44:23.454865
2019-11-07T22:34:47
2019-11-07T22:36:20
220,512,766
2
0
NOASSERTION
2019-11-08T17:07:30
2019-11-08T17:07:30
null
UTF-8
Python
false
false
9,698
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All rights reserved. """ This file shows an example of using embedded states to feed to RL models in partially observable environments (POMDPs). Embedded states are generated by a world model which learns how to encode past n observations into a ...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
6be70691a6a372ac9c7ec40b4679883b2939e460
641fa8341d8c436ad24945bcbf8e7d7d1dd7dbb2
/build/android/pylib/constants/__init__.py
80ad2c1a8b45589070e60fb4c57c2f19f2485186
[ "BSD-3-Clause" ]
permissive
massnetwork/mass-browser
7de0dfc541cbac00ffa7308541394bac1e945b76
67526da9358734698c067b7775be491423884339
refs/heads/master
2022-12-07T09:01:31.027715
2017-01-19T14:29:18
2017-01-19T14:29:18
73,799,690
4
4
BSD-3-Clause
2022-11-26T11:53:23
2016-11-15T09:49:29
null
UTF-8
Python
false
false
7,735
py
# Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Defines a set of constants shared by test runners and other scripts.""" # TODO(jbudorick): Split these constants into coherent modules. # pylint: di...
[ "xElvis89x@gmail.com" ]
xElvis89x@gmail.com
57dbb4c0d497d7ac338d4876eee719e972fed33a
f4d24c771bac83142d0244a4e3ecf4f104d03728
/test_serv.py
835f45543a5e767634a2216d85add9da04c0117e
[]
no_license
yuriimchg/stream_video
27ceeb5390e851049576d24718030fdb12c5c6d1
457577a00aa6e0dcf4ea0ba6f6d4f90f1f26f6a4
refs/heads/master
2020-03-29T18:40:45.020361
2018-12-13T15:49:46
2018-12-13T15:49:46
150,226,124
0
0
null
null
null
null
UTF-8
Python
false
false
1,782
py
import socket from random import randint from datetime import datetime # If host is an empty string, then this PC would be a host. host = '0.0.0.0' port = 5678 # AF_INET and SOCK_STREAM are constants, telling the system which protocols to use s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.setsockopt(socket....
[ "yurgan4@gmail.com" ]
yurgan4@gmail.com
d8aa039a263fad00415af56703fd0d76ea361218
bae358b55b758d09aa54b3cf5d08868ac0f2a90e
/scripts/HTML Scripts/Generate URL List.py
259981948a609ad4b41790fcd6ebbfc4ac83c6fd
[]
no_license
Qetuoadgj/PythonScript
9e4e9e962b4348f2a2a5c0e026ca26e8aa081b1c
fc6b1b14d29b54b9e5b54c7406d9e4586e280131
refs/heads/master
2021-01-13T15:36:29.721001
2018-01-31T22:10:05
2018-01-31T22:10:05
80,074,222
0
0
null
null
null
null
WINDOWS-1251
Python
false
false
7,480
py
# -*- coding: cp1251 -*- # https://github.com/Qetuoadgj/PythonScript/tree/master/scripts/HTML%20Scripts # https://github.com/Qetuoadgj/PythonScript/raw/master/scripts/HTML%20Scripts/Generate%20URL%20List.py import re # import types # import time def trim(string): if string: # удаление кавычек #...
[ "noreply@github.com" ]
noreply@github.com
a6166cc9d4f4d7023dc089e2c54c17cb86142571
10c6894fe115251111b85260cfda757bffc216a0
/peer2.py
096443263fe8e9bad184d52a6d2b5e74d1c3d6b9
[]
no_license
mitchpiazza/Peer2Peer-Messaging
a42a53ce05e0fcc15437ae5e580dce4c5861e105
aef487e685e24505987d9f3a1366e373a9c2683a
refs/heads/master
2022-04-19T13:32:22.338235
2020-04-17T23:22:59
2020-04-17T23:22:59
256,629,988
0
0
null
null
null
null
UTF-8
Python
false
false
1,933
py
import socket import os import threading def receive(connection): while True: buff = connection.recv(4096) message = buff.decode() print("Friend: " + message) print("-----------------------------") print("Would you like to connect to somebody or wait for connection?\n1 Connect to Somebod...
[ "noreply@github.com" ]
noreply@github.com
740838e12c9f2d3f67bddd80e0cb0bea5bf163f6
ac829ea07c3de001f366399e0eb22d38dd9f4029
/Template/manage.py
382d9bb779acab783bee0eaf89310091d5235879
[]
no_license
prugiero/django-template-examples
9240ed477f618e4704ca275a6ff40139c2c00006
f4a22e405af4fcbc21e094e2a1c02bdd1c427f74
refs/heads/master
2023-01-03T22:09:58.041346
2020-10-25T10:10:16
2020-10-25T10:10:16
307,070,444
0
0
null
null
null
null
UTF-8
Python
false
false
828
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "Template.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure...
[ "pierpaolorugiero@gmail.com" ]
pierpaolorugiero@gmail.com