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
714db4e6784f72403c33549680bae507b0d5bb17
b951b28a8957cc788ea297a294766117b6ee9e04
/task_2.py
a6aef9d9e9ef01ef8c7cbd86d178b29c6a4962f5
[]
no_license
goodprogrammist/module3
ada4b757a1020614b86a6e36eca9718aa6aeb546
4dd60fbf7b948dfa4398406960a73a25d3eb6ec6
refs/heads/master
2023-04-20T22:37:58.072734
2021-05-15T15:26:08
2021-05-15T15:26:08
367,620,899
0
0
null
null
null
null
UTF-8
Python
false
false
959
py
print('Задача 2. Финансовый отчёт') # Наде дали задание сформировать финансовый отчёт за последние 20 лет по полугодиям. # Нужно сумму дохода первых двух кварталов поделить на сумму последних двух кварталов, # чтобы понять динамику роста или падения дохода. И так за каждый год. # # Надя решила, # что быстрее буде...
[ "" ]
50eb91f0fbd18a59b7eb5e494dc487cac5caadee
821985c62bf469b72a7d451560a455aefe2c7bd0
/A、机器学习/机器学习实践/RandomForest/4.RandomForestClassifier_Enum_iris.py
bc292c16243930d4ddca12758d85363a76bc9f66
[]
no_license
FangChao1086/Machine_Learning
625106c977055328368100dae30f00909aff590c
603900b510a9a64f4bb6fcc7753546b34828e022
refs/heads/master
2020-04-16T13:20:53.675722
2020-03-14T03:33:21
2020-03-14T03:33:21
165,622,654
14
2
null
null
null
null
UTF-8
Python
false
false
2,770
py
#!/usr/bin/python # -*- coding:utf-8 -*- import numpy as np import matplotlib.pyplot as plt import matplotlib as mpl from sklearn.ensemble import RandomForestClassifier def iris_type(s): it = {b'Iris-setosa': 0, b'Iris-versicolor': 1, b'Iris-virginica': 2} return it[s] # 'sepal length', 'sepal width', 'peta...
[ "“fangchao1086@163.com" ]
“fangchao1086@163.com
cc9a5cfca7fa31d2f2c94d92b36a1c1bd5caae4b
a9e6a1dea27a984b7e3f46c56e5d62e57ac5d8a5
/first/gevent/3.py
8557daca47a4c80492bf9f028e91463ad466bcb9
[]
no_license
spiderTom/pythonReference
fd2f21c0c3b919e08429b27464b4d161a20db2f7
fa1d7de8630c12a8add3a7370a452daef0e62c73
refs/heads/master
2021-01-19T05:01:01.490392
2017-04-06T09:01:04
2017-04-06T09:01:04
87,408,456
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
def fibon(n): a = b = 1 for i in range(n): yield a a, b = b, a + b for x in fibon(20): print(x)
[ "tomtubo@163.com" ]
tomtubo@163.com
987811a6ffc6d66edfc20e22d3a6be53f16d4372
0b6dade21d327773ab958db6b85af3ef68dfbbe0
/hello.py
bad42797591e2329f10c59a41eb9f9c0fd568a41
[ "Apache-2.0" ]
permissive
maharsh-cmput404/cgi-lab
8e10ba1762dee5650d2911c032b94e1dd3decd46
b8b5a2bf15b7e689d7507f89e57506ab718e6863
refs/heads/master
2020-12-15T19:20:40.657703
2020-01-21T00:49:43
2020-01-21T00:49:43
235,226,103
0
0
null
2020-01-21T00:39:14
2020-01-21T00:39:13
null
UTF-8
Python
false
false
202
py
#!/usr/bin/env python3 import os import cgi import cgitb cgitb.enable() print("Content-Type: text/plain\n") print() # print("<!doctype html><title>Hello</title><h2>Hello World</h2>") print(os.environ)
[ "patel@maharsh.net" ]
patel@maharsh.net
4b2f6eff5f5301a631de8ff075d91eec3458cd2e
7f43804828706cfd3635c1f1d8cfff1c7fc33beb
/2019/day08/day8.py
c42c2ca2f84644ceb98f510cc13bac1a3db0501b
[]
no_license
aldewereld/AventOfCode
b9149a0161d89cd550c53b20a3a42f069b520e41
2da755700593e98445736d23b16dfb10483df049
refs/heads/master
2020-09-23T08:44:25.553145
2019-12-12T13:43:14
2019-12-12T13:43:14
225,455,849
2
0
null
null
null
null
UTF-8
Python
false
false
1,527
py
from typing import List, Tuple from functools import reduce with open("input.txt") as file: line = list(file.readline().strip()) def split_layers(input_message: List[str], width: int = 25, height: int = 6) -> List[List[str]]: layers = [] start = 0 step = width * height end = step fo...
[ "huib.aldewereld@hu.nl" ]
huib.aldewereld@hu.nl
9dea79ebe2acef41d229a77657e6b1cf232caf43
5215715a4cbcf9ce065b1542db224a2b1997c760
/T3/t3.py
5523731288ed9eb2d6e7a4f542b5a35d71a18b89
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
Cgipson06/reddit
02deac29ead779890e42d48400d2233ce888e5a0
deb1da398840bbd311a79eec25ef2a8b5a8ed5b1
refs/heads/master
2021-01-08T23:19:55.245559
2014-12-28T20:52:26
2014-12-28T20:52:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,034
py
#/u/GoldenSights import praw import time import sqlite3 import datetime import random USERAGENT = """ /u/GoldenSights T3 data collection: Gathering Submission data for statistical analysis. More info at https://github.com/voussoir/reddit/tree/master/T3 """ r = praw.Reddit(USERAGENT) print('Connected to reddit.') sql ...
[ "edalool@yahoo.com" ]
edalool@yahoo.com
3dbdb608cd2de3f1278d8f0339287fd5ce40c676
fcc88521f63a3c22c81a9242ae3b203f2ea888fd
/Python3/0844-Backspace-String-Compare/soln-1.py
cf9b6afca02d5b7deeaed1a8aa8d927a70cbd4e0
[ "MIT" ]
permissive
wyaadarsh/LeetCode-Solutions
b5963e3427aa547d485d3a2cb24e6cedc72804fd
3719f5cb059eefd66b83eb8ae990652f4b7fd124
refs/heads/master
2022-12-06T15:50:37.930987
2020-08-30T15:49:27
2020-08-30T15:49:27
291,811,790
0
1
MIT
2020-08-31T19:57:35
2020-08-31T19:57:34
null
UTF-8
Python
false
false
600
py
class Solution: def backspaceCompare(self, S, T): """ :type S: str :type T: str :rtype: bool """ i, j = len(S) - 1, len(T) - 1 bs, bt = 0, 0 while True: while i >= 0 and (bs or S[i] == '#'): bs = bs + 1 if S[i] == '#' else b...
[ "zhang623@wisc.edu" ]
zhang623@wisc.edu
c2527e5e639b13cb1d28b6c112b7544a225ffc45
d538b6bae84256e241ebdc976bbe1a0d0b4ec7ee
/productDetails/forms.py
23c107d05e7a99e435f01291b0f3565e22609a3c
[]
no_license
Sangeethsajan/WarehouseManagement
871b3661c74922f7b524232867e5dc5d7b3dee59
30731a7538fa6278e9744c3060aa93f7e37fed79
refs/heads/master
2023-02-10T03:59:19.142042
2021-01-08T15:23:03
2021-01-08T15:23:03
327,938,681
0
0
null
null
null
null
UTF-8
Python
false
false
576
py
from django import forms from .models import productDetails, productPath class productForm(forms.ModelForm): class Meta: model = productDetails fields ="__all__" labels ={ 'Product Name':'Name of Product', } def __init__(self, *args, **kwargs): super(productF...
[ "31395590+Sangeethsajan@users.noreply.github.com" ]
31395590+Sangeethsajan@users.noreply.github.com
0f48da39bcd7577cbe908aaee672175a9921e808
fc5e2a7873d39f93300f030eeff7678b7d09918c
/auth_middleware.py
69158f54dc426f440f2aac2d3e5ce55a33f614c0
[]
no_license
kubamvictor/mlflow-tracking-template
357d01d82dd789bfab6fbda5e9ef70bdf58858c2
1990459979be28fb0d6495cc22ddc364f19dd2e8
refs/heads/master
2022-11-12T00:52:46.453922
2020-07-01T18:34:08
2020-07-01T18:34:08
276,577,558
0
0
null
null
null
null
UTF-8
Python
false
false
1,335
py
class AuthMiddleware(): """ Middleware for authenticating requests sent to a flask app """ def __init__(self, app): self.app = app self.token = 'YHON36336hhngEYEY' def __call__(self, environ, start_response): # Validate token if self._authenticated(environ.get('HTTP...
[ "kubamvictor@gmail.com" ]
kubamvictor@gmail.com
41ef232e7c76144c75891a57dcc4d00868f32726
673f9b85708affe260b892a4eb3b1f6a0bd39d44
/Botnets/App/App Web/PDG-env/lib/python3.6/site-packages/pandas/tests/scalar/timedelta/test_arithmetic.py
555b47c8dc0fc9a2a6f68e9ffd73c8a00e312d4d
[ "MIT" ]
permissive
i2tResearch/Ciberseguridad_web
feee3fe299029bef96b158d173ce2d28ef1418e4
e6cccba69335816442c515d65d9aedea9e7dc58b
refs/heads/master
2023-07-06T00:43:51.126684
2023-06-26T00:53:53
2023-06-26T00:53:53
94,152,032
14
0
MIT
2023-09-04T02:53:29
2017-06-13T00:21:00
Jupyter Notebook
UTF-8
Python
false
false
24,619
py
""" Tests for scalar Timedelta arithmetic ops """ from datetime import datetime, timedelta import operator import numpy as np import pytest import pandas as pd from pandas import NaT, Timedelta, Timestamp, _is_numpy_dev, offsets import pandas._testing as tm from pandas.core import ops class TestTimedeltaAdditionSub...
[ "ulcamilo@gmail.com" ]
ulcamilo@gmail.com
13c52a06183456edede58129114517b459640d65
879e9f1d5ef7a48a33dc7851c7ebf8bddf8cfc2b
/apistar/backends/django_orm.py
f2ddd2f99439b61c8b22148bbced29eaa47f06a9
[ "BSD-3-Clause" ]
permissive
mehrdadmhd/apistar
ed3dcd1f1a86ddfc602421f5f720009a535cd841
5cd30d380457b870961c32fad394745778d08a1c
refs/heads/master
2021-04-09T16:04:22.655897
2018-03-18T11:09:40
2018-03-18T11:09:40
125,716,342
0
0
BSD-3-Clause
2018-03-18T11:06:28
2018-03-18T11:06:28
null
UTF-8
Python
false
false
2,275
py
import contextlib import sys import typing import django from django.apps import apps from django.conf import settings as django_settings from django.core.management import call_command from django.db import connections, transaction from apistar import Command, Component, Settings class DjangoORM(object): def _...
[ "noreply@github.com" ]
noreply@github.com
79697ef0b2a734acad1ab51ba409899d1f512b1f
ad314542195e2eb8ae2ba343a47a27a530f5969d
/utils/label_plot.py
5202c7398090e2de686bc1961839e000b2d73a44
[]
no_license
vivianyaya/SHL2021
183ad722f8aa34dab93c4fb5cb07f7a1f1473a35
d610ba2b2134a915e617c81d5e24c31acac3b3c3
refs/heads/main
2023-06-04T03:10:05.535868
2021-06-25T03:19:10
2021-06-25T03:19:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,136
py
import matplotlib.pyplot as plt import matplotlib as mpl import numpy as np import seaborn as sns plt.style.use("dark_background") label_dic = {1: 'Still', 2: 'Walking', 3: 'Run', 4: 'Bike', 5: 'Car', 6: 'Bus', 7: 'Train', 8: 'Subway'} cmap = mpl.cm.get_cmap('viridis', 8) label_cols = cmap(np.linspace(0, 1, 8)) labe...
[ "1609532549@qq.com" ]
1609532549@qq.com
74c507fea182bc755c7aeb7685aba03bf3b95d65
29592ead4965e1152a1558351b3c60005438c85f
/v0.97/dc/models/batches.py
2969e64c06b0fa446afe5c7ef5bdd6d41c5d9319
[ "MIT" ]
permissive
iaiting/Flask-and-pywebview-followup-application-gui
5e489eda889c6d02ffb8efd40098a380dedd0558
b665334403b4a8471b5f28054ee2dc7adda7d9fc
refs/heads/master
2020-04-04T11:30:57.294114
2018-10-29T09:14:34
2018-10-29T09:14:34
155,893,938
0
1
MIT
2018-11-02T16:36:19
2018-11-02T16:36:18
null
UTF-8
Python
false
false
13,049
py
import os import re import pandas as pd from lxml import etree from dc.utils.commun import Commun from dc.utils.dbwrap import Dbwrap from dc.utils.folders import Folders from dc.models.users import User class Batches: func = Commun() conf = func.config_info() db = Dbwrap(conf["path_to_datab...
[ "noreply@github.com" ]
noreply@github.com
1dd9830ae74fa5d06a572e1f0b7f6445fd3ae66c
bb27630e7af7f1bccbb5cfc892d0b0e6445fe874
/05_django/01_djangoIntro/django_formTest/formTestApp/apps.py
f318035ab1e56dfebb9f0f7f047dd9a3a89e5c53
[]
no_license
MrBreakIT/pythonStack
fe8cd9418ee1060ada8cd1c446332d81facecf4e
f615436dbff581c50ded70dec6532f6339977c1d
refs/heads/main
2023-02-06T14:37:05.688885
2020-12-27T22:37:09
2020-12-27T22:37:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
97
py
from django.apps import AppConfig class FormtestAppConfig(AppConfig): name = 'formTestApp'
[ "johnpike1022@gmail.com" ]
johnpike1022@gmail.com
829fb7ef3ac2065f715fbf5de042422456c84678
0fba7a95a16bd8351ccfdf806dde5f48f1e0b137
/localsite/migrations/0031_auto__add_field_seatlocation_hallscheme.py
2af37f723707ba51878ebeb9ab87092cba79eda7
[]
no_license
yanchenko-igor/shop-ticket
3e36c2c664241391fc02e90d239ff9458e601209
0093a3c1eb8025f480ecf67692ad1340ddf38296
refs/heads/master
2020-05-21T12:13:18.652894
2011-12-02T15:00:44
2011-12-02T15:00:44
3,631,970
0
0
null
null
null
null
UTF-8
Python
false
false
14,138
py
# encoding: utf-8 import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'SeatLocation.hallscheme' db.add_column('localsite_seatlocation', 'hallscheme', self.gf('dj...
[ "yanchenko.igor@gmail.com" ]
yanchenko.igor@gmail.com
4b26d689090b162798e9ad7184c3ae1a58f20af4
67113383dcc2a9484a82cfc6de3e1546d1000a13
/accounts/filter.py
da704192a0f60f8d439fdbe3b7eee7521b809bba
[]
no_license
Yair-BD/Customer-Managment
4ef703f6562b88875086425d8509ba8aa363c0cd
a92fb7341d5383da2e8f15818133b955174ce05b
refs/heads/master
2023-06-26T07:16:41.855959
2021-07-27T11:48:06
2021-07-27T11:48:06
382,893,936
0
0
null
null
null
null
UTF-8
Python
false
false
578
py
import django_filters from .models import * from django_filters import DateFilter, CharFilter class OrderFilter(django_filters.FilterSet): start_date = DateFilter(field_name='date_create', lookup_expr='gte') end_date = DateFilter(field_name='date_create', lookup_expr='lte') note = CharFilter(field_name='no...
[ "79565335+Yair-BD@users.noreply.github.com" ]
79565335+Yair-BD@users.noreply.github.com
d62cb9ed15fdf25fbcf76191f5229784b9ee13e5
cf3ef8f3eca858bd3c64ba6159a2ba7cdb1722ad
/studygroups/views/organizer.py
06e748fc35dd2c27b9b26843e6b0676e4ae6d0d6
[]
no_license
alvarmaciel/learning-circles
2ff956dcbe0b5a42f64036c33613644115063a8d
3ac444fd6f5a81f655face733e7d41786e085cd4
refs/heads/master
2021-01-11T00:45:04.513019
2016-10-05T14:13:16
2016-10-05T14:13:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,094
py
import datetime from django.shortcuts import render, render_to_response, get_object_or_404 from django.template import RequestContext from django.template.loader import render_to_string from django.core.urlresolvers import reverse, reverse_lazy from django.contrib.auth.decorators import login_required from django.cont...
[ "dirkcuys@gmail.com" ]
dirkcuys@gmail.com
148610beec78d8585a9828b6d141e4d2459acfd4
77f47db313b4f018d64f0f5095ac10ae12655507
/campaign/urls.py
48cbb5118bac3376b0b1526b54854552694d9177
[]
no_license
idlivada/campaign
e03ef58cb9fac05513734625ce2b94d4a430da4f
d85ad505c420b71ca4bf2de754b53e8ec0d7629e
refs/heads/master
2020-04-16T16:40:49.666387
2017-06-27T12:49:58
2017-06-27T12:49:58
19,208,632
0
0
null
null
null
null
UTF-8
Python
false
false
663
py
from django.conf.urls import patterns, include, url from django.conf.urls.static import static from django.conf import settings from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', url(r'^admin/', include(admin.site.urls)), url(r'^^$', 'core.views.home', name='home'), url(r'^loc...
[ "idlivada@gmail.com" ]
idlivada@gmail.com
bb146c14c39b06484ad348ceeed461644b34d13c
df3853b41ed05d86f5bcd992fcc265f637c67784
/graph/blini1.py
a90284faa70677f0bfa9cbcff1a51bda97d6ec7c
[]
no_license
KseniaMIPT/Adamasta
6ab0121519581dbbbf6ae788d1da85f545f718d1
e91c34c80834c3f4bf176bc4bf6bf790f9f72ca3
refs/heads/master
2021-01-10T16:48:31.141709
2016-11-23T21:02:25
2016-11-23T21:02:25
43,350,507
1
0
null
null
null
null
UTF-8
Python
false
false
100
py
def check(): for i in range(5): yield i+1 print(check()) for i in check(): print(i)
[ "ksenia22.11@yandex.ru" ]
ksenia22.11@yandex.ru
219af0b72ccdda85c00c48773350f2e417059536
a9d079617071855dfbd183cac5a9588ab6e30d84
/models/test_model.py
791316b6416c23091bf5fa7b3878ea7ab5ee4ec2
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
yunyanxing/pairwise_xray_augmentation
1ecb1a1114688b307673e5346a27f6300dd2874c
057927cf247b3854e311fbdf52b74001175915d8
refs/heads/master
2020-08-09T13:32:21.899166
2020-01-22T00:58:49
2020-01-22T00:58:49
214,098,075
2
0
null
null
null
null
UTF-8
Python
false
false
1,726
py
from .base_model import BaseModel from . import networks from .cycle_gan_model import CycleGANModel class TestModel(BaseModel): def name(self): return 'TestModel' @staticmethod def modify_commandline_options(parser, is_train=True): assert not is_train, 'TestModel cannot be used in train mode' parser = Cycle...
[ "yunyan.xing@monash.edu" ]
yunyan.xing@monash.edu
ebc550669115d5534bc61b8f5cd01e7b0b38ed40
c32d6a87858139a66dde152097e333eee92a08de
/csrv/model/actions/play_event_action.py
a57f67402f82243d5b293609aa208f7bb54e38fa
[ "Apache-2.0" ]
permissive
cpjolicoeur/CentralServer
79b8b5a3a3ed4aa29167ecdcb4e40983a1d5e598
e377c65d8f3adf5a2d3273acd4f459be697aea56
refs/heads/master
2020-12-29T00:12:31.245099
2014-03-08T07:33:38
2014-03-08T07:33:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
823
py
"""Base actions for the players to take.""" from csrv.model.actions import action from csrv.model import cost from csrv.model import errors from csrv.model import events from csrv.model import game_object from csrv.model import parameters class PlayEventAction(action.Action): DESCRIPTION = '[click]: Play an event...
[ "mrroach@okmaybe.com" ]
mrroach@okmaybe.com
a4016f8a6330e19ed8a96f4454f25d67f80f281e
b8ec3e360f091240304afcbebb0860730ac3d835
/mpu6050.py
c18ac2caf048a629782f454ffde99e9326f409a3
[]
no_license
brbza/motion
89a8a9a2ede6906ecb9bf25edd9b90d2c4cd94cf
d903e346e941e5d3e96363a97eaf27fd0ba04019
refs/heads/master
2023-05-11T15:03:43.891032
2019-06-24T08:05:20
2019-06-24T08:05:20
193,440,400
0
0
null
2023-05-01T20:35:16
2019-06-24T05:35:16
Python
UTF-8
Python
false
false
3,946
py
import machine class MPU6050(object): SELF_TEST_X = 0x0D SELF_TEST_Y = 0x0E SELF_TEST_Z = 0x0F SELF_TEST_A = 0x10 SMPLRT_DIV = 0x19 CONFIG = 0x1A GYRO_CONFIG = 0x1B ACCEL_CONFIG = 0x1C FIFO_EN = 0x23 I2C_MST_CTRL = 0x24 I2C_SLV0_ADDR = 0x25 I2C_SLV0_REG = 0x26 I2C_S...
[ "carlos.barboza@gmail.com" ]
carlos.barboza@gmail.com
8a5602d811f96072614c0fb9de6a9ce93ee0dc75
53095b893d0a80614aa43ab5a50b07d929fa4cf8
/HRC_archive/LETG/extract_pha_file.py
1cc120ec5884157a1a500717ef8a97b01372c3bf
[]
no_license
chandra-mta/HRC
e4cd297373e5e8f6dfb0e014275f5cee82b326b6
aafb1f552394efd3367635a968f8df1e26b6f1c8
refs/heads/main
2021-10-23T23:06:45.964300
2021-10-21T10:10:09
2021-10-21T10:10:09
154,149,839
0
0
null
null
null
null
UTF-8
Python
false
false
10,854
py
#!/usr/bin/env /data/mta/Script/Python3.8/envs/ska3-shiny/bin/python ######################################################################################### # # # extract_pha_file.py: create a pha2 file and a tg directory for LE...
[ "bspitzbart@cfa.harvard.edu" ]
bspitzbart@cfa.harvard.edu
27bb5b5457ce8249495d9fcc5263dd01e827aed6
e7d2c2c7fbcffc3b4e8976f01b354f794fc3b71d
/bmga/utils/formatting.py
6ab11a6dfcbe02e87b651ba6371989e3ca2c1403
[ "BSD-3-Clause" ]
permissive
vituocgia/boxme-api
41da50fcec12089e59a29786b3bcff6c9b169d99
10c8054a223f124a85e70669d17313e3a2991226
refs/heads/master
2020-03-08T19:18:21.829490
2018-04-06T09:11:30
2018-04-06T09:11:30
128,347,542
0
0
null
2018-04-27T04:43:38
2018-04-06T05:24:05
Python
UTF-8
Python
false
false
822
py
from __future__ import unicode_literals from django.utils import dateformat from bmga.utils.timezone import make_naive, aware_datetime from dateutil.parser import parse as mk_datetime # flake8: noqa def format_datetime(dt): """ RFC 2822 datetime formatter """ return dateformat.format(make_naive(dt...
[ "dotiendiep@gmail.com" ]
dotiendiep@gmail.com
8a7e729fa2cc60c00b630bcd1e18b05703782c80
88d33f643f0116f0557a60d409183f66f528cb53
/blogs/migrations/0043_auto_20190603_2054.py
ea9de7e0b4c9625696d3006dd57c7d5843a0b532
[ "MIT" ]
permissive
vikrantgoutam17/my_blogs
13e8e531a35173fbb22c07456b72444ba8391ee3
64b48eb8c466f46ac21e7ee137bbe8033f6a28ab
refs/heads/master
2022-04-15T17:28:48.982593
2020-04-11T07:46:09
2020-04-11T07:46:09
254,733,039
0
0
null
null
null
null
UTF-8
Python
false
false
1,059
py
# Generated by Django 2.2.1 on 2019-06-03 15:24 import datetime from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('blogs', ...
[ "vikrantgoutam17@gmail.com" ]
vikrantgoutam17@gmail.com
668403015d3558f567d49b9ab11c48be8202d6a0
69aaa71852bde5b2a4d297b6814ca0bf607053c8
/jarvis.py
6d46a86f112682ac4f06fe08a9938d84af0c382b
[]
no_license
sckzy/JarvisAI
cf36bf827a06faeb05a2a26d4f3a21dfd0eaa44c
147b62cb2002b099865c10b2be023e0147fd96a1
refs/heads/master
2023-01-22T09:34:33.070981
2020-12-03T04:39:40
2020-12-03T04:39:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,217
py
import pyttsx3 import datetime import speech_recognition as sr import wikipedia import webbrowser import os import smtplib def wishMe(): hour = int(datetime.datetime.now().hour) if hour >= 0 and hour < 12: speak("Good Morning!") elif hour >= 12 and hour < 18: speak("Good Af...
[ "noreply@github.com" ]
noreply@github.com
de74d6e820b635b6bbf1e43e970cb33fe5450482
0bfb74494054dc9e0774618687b5d234e6db6a92
/ch12/gen_throw.py
fa2bf2ecf95d8d411c7a56100871ebf2f7390a2c
[]
no_license
FSSlc/AdvancePython
dddee32524cf1071a36eb4316efc2b53185645e3
61ed98f951fc877cc01e43a50488fc91b775c0f0
refs/heads/master
2022-11-06T10:53:07.812770
2020-06-25T23:43:24
2020-06-25T23:43:24
273,885,468
0
0
null
null
null
null
UTF-8
Python
false
false
347
py
#!/usr/bin/env python # coding: utf-8 def gen_func(): try: yield "user" except Exception as e: pass yield 2 yield 3 return 'user' if __name__ == '__main__': gen = gen_func() print(next(gen)) gen.throw(Exception, "download error") print(next(gen)) gen.throw(Ex...
[ "fsslc235@gmail.com" ]
fsslc235@gmail.com
89b88fec9ac2985d22a7fca2da8155088f1e5567
219389652f57204b5d942ae8cdb7647650cc495f
/src/metricas.py
a92b9e13999190a65cc88303917aeaa402cc4b70
[]
no_license
vsantsal/DesafioFolhaSistemaEstelarPython
dcc5bfb519ab1af3d022c642320511ef8a143115
19fa1e2102ec2348b2d5b7319efb2fd4efb66ddc
refs/heads/master
2023-07-09T12:56:00.349140
2021-08-19T00:04:47
2021-08-19T00:04:47
267,566,330
0
0
null
null
null
null
UTF-8
Python
false
false
1,661
py
#!/usr/bin/env python3.9 from functools import reduce from operator import mul from typing import ( Any, Dict, List, Protocol, TypeVar, ) """ Classe responsável em que se a regra de negócio RN1 para descobrir o destino da espaçonave está definida RN1:O local de chegada pode ser conhecido sabendo ...
[ "vsantsal@gmail.com" ]
vsantsal@gmail.com
a9f7a5d7afa2ce9694901a23dc8266394a8b4b54
1c6283303ceb883add8de4ee07c5ffcfc2e93fab
/Jinja2/lib/python3.7/site-packages/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/iptvrange_b15e81483d5be2cf30e042843e79b969.py
1574bc8306f8407f267c617e318f6311dba42fcd
[]
no_license
pdobrinskiy/devcore
0f5b3dfc2f3bf1e44abd716f008a01c443e14f18
580c7df6f5db8c118990cf01bc2b986285b9718b
refs/heads/main
2023-07-29T20:28:49.035475
2021-09-14T10:02:16
2021-09-14T10:02:16
405,919,390
0
0
null
null
null
null
UTF-8
Python
false
false
37,452
py
# MIT LICENSE # # Copyright 1997 - 2020 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, ...
[ "pdobrinskiy@yahoo.com" ]
pdobrinskiy@yahoo.com
d57deec55818ba052668da21c0a7d21e7d37f27c
3365209124a099d96b7397012865a544c60fbab3
/PyPoll/PyPoll_IGR.py
3f65ff292c2d4a187c26ced1618990ca64bd6531
[]
no_license
igr1993/python-challenge
317f651c154edc862907998e543e11ceaab6f07e
857977490b622c6f7bf4edf0e0f0065c91149959
refs/heads/main
2023-03-07T06:04:02.207958
2021-02-21T01:41:07
2021-02-21T01:41:07
340,744,301
0
0
null
null
null
null
UTF-8
Python
false
false
1,134
py
#lets go PyPoll! import os import csv candidates = {} election_csv = os.path.join('.','Resources','election_data.csv') with open(election_csv, 'r') as csvfile: csvreader = csv.reader(csvfile, delimiter=',') header = next(csvreader) for row in csvreader: if row[2] in candidates.keys(): ...
[ "igr@Ians-MacBook-Pro.local" ]
igr@Ians-MacBook-Pro.local
09e6ba57f63d8ca9d88d39ff34881ab5d048bc96
e823bc36af457f229f6879d6e6a3ef6247c129aa
/virtualenv/Lib/site-packages/pyasn1_modules/rfc2560.py
e41994abf64813e9eb5f70b1dd1b03519a320ed1
[ "MIT" ]
permissive
William-An/DFB_Final
e772fa979c41f2f83a4bf657cde499456215fb3b
49a9244c98116574676992ebecd1d9435e1d5b1e
refs/heads/master
2022-11-07T15:47:36.189057
2017-07-22T01:01:37
2017-07-22T01:01:43
97,426,562
1
1
MIT
2022-10-15T02:45:57
2017-07-17T02:21:42
Python
UTF-8
Python
false
false
8,251
py
# # This file is part of pyasn1-modules software. # # Copyright (c) 2005-2017, Ilya Etingof <etingof@gmail.com> # License: http://pyasn1.sf.net/license.html # # OCSP request/response syntax # # Derived from a minimal OCSP library (RFC2560) code written by # Bud P. Bruegger <bud@ancitel.it> # Copyright: Ancitel, S.p.a, ...
[ "China_Aisa@live.com" ]
China_Aisa@live.com
3f1407aeca182aa219f12783beac7371b4dd6ad1
3c3df48ff6239c5387847200c25d67c8c1b59491
/alien_invasion.py
e53683fdd6c8210596db0118bfe98acfcdf4cf9c
[]
no_license
sdkcouto/coronapython-game
cf8930721883f9ec7786d61959989bcdf2a381d0
5e11f35d6ae8035d640d4e768432074f7a80f427
refs/heads/master
2022-11-19T03:47:27.375952
2020-07-21T18:44:25
2020-07-21T18:44:25
278,443,053
0
0
null
null
null
null
UTF-8
Python
false
false
1,208
py
import pygame from pygame.sprite import Group from settings import Settings from game_stats import GameStats from scoreboard import Scoreboard from button import Button from ship import Ship from alien import Alien import game_functions as gf def run_game(): pygame.init() ai_settings = Settings() s...
[ "matheuscouto.eng@gmail.com" ]
matheuscouto.eng@gmail.com
b23b322eb6d1bfaf868d64b5b3e0f1fc530701a6
d783f5e6b02d91990e30b7e9edb41b9725f540cf
/intro-cs/intro-to-programming/exercises/ex_06_02.py
f7ca5b3c1d5f30d22db7facaa3d2df4d7888af4c
[ "MIT" ]
permissive
solanyn/cs-courses
1c4ac7ea146b816731f7016c988423a8a5c7d180
db10f8d9ad9a4f00a661c58eed7d2423ff9871bc
refs/heads/main
2023-07-05T16:51:49.384749
2021-08-06T04:01:38
2021-08-06T04:01:38
332,115,999
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
"""Exercise 2: Given that fruit is a string, what does fruit[:] mean?""" # fruit[:] means all characters in the sequence fruit
[ "andrewchen1520@gmail.com" ]
andrewchen1520@gmail.com
17f9e6c0e56e8413c26b56d50634d33d99988d02
0dcb743d6409478d01706f48616df6a1c089c0f0
/Project/code/loadbalancer-server.py
097411dbfc2d4e9664c83cfd5f70331a2709c1ef
[]
no_license
marcotcr/systems
063b2b78b99e9e0a7733760125a999106d7fc6ba
b35358cbc83daa7900f049bf544bd4df500b0749
refs/heads/master
2021-01-20T10:50:28.518802
2014-03-14T16:42:32
2014-03-14T16:42:32
15,811,702
0
1
null
null
null
null
UTF-8
Python
false
false
2,224
py
from __future__ import division import sys sys.path.append('gen-py/autoscale') sys.path.append('gen-py/') import LoadBalancer from autoscale.ttypes import * from autoscale import LoadBalancer from thrift.transport import TSocket from thrift.transport import TTransport from thrift.protocol import TBinaryProtocol fro...
[ "marcotcr@gmail.com" ]
marcotcr@gmail.com
c2f5d321adc23f137909c4b7b15ea48ad477e908
d9874a4d69027dd401314828a9d19e686a62b31d
/stamps.py
799b1f7b60be0575dc81351a41ef953ca79ab61a
[]
no_license
09o/ProgrammingBasis
e9612b7ac59aadf6cf406dbbb7bb42c5d9502e42
6fdd6b69653cc6d89b6841883e6795191a742847
refs/heads/master
2020-04-03T13:03:30.455309
2018-11-14T08:44:54
2018-11-14T08:44:54
155,272,452
0
0
null
null
null
null
UTF-8
Python
false
false
1,270
py
# Define a procedure, stamps, which takes as its input a positive integer in # pence and returns the number of 5p, 2p and 1p stamps (p is pence) required # to make up that value. The return value should be a tuple of three numbers # (that is, your return statement should be followed by the number of 5p, # the number ...
[ "igsober@gmail.com" ]
igsober@gmail.com
76d236d6b4d1a10f3a74eee09e3478109205972e
830db802b4cce9d4b5a34c8351caf6573bf5f385
/basic_functions.py
2da3b0a3d1d10dea785c7a1b0ddb5a0be4d7addb
[]
no_license
317002/Normal-Modes
856e33dbe103c45ab17e9c0c417a7f8bbd64aed8
dc599e1c4abc035bae8abdced600119ec42fc7df
refs/heads/master
2020-08-31T22:59:41.116273
2019-11-12T01:46:38
2019-11-12T01:46:38
218,807,505
0
0
null
null
null
null
UTF-8
Python
false
false
1,471
py
# -*- coding: utf-8 -*- """ Created on Fri Nov 8 14:38:11 2019 @author: Nathan Richard """ import numpy as np from math import floor def gen_k(n): index = [] ind = [] for i in range(0,n+2): ind += [0] for i in range(0,n+2): index += [ind] for i in range(0,len(index...
[ "ndr1005@wildcats.unh.edu" ]
ndr1005@wildcats.unh.edu
29fb1dc505940b341e55979260d1600d60d2fd10
6fad4c35342a27bd9882b3a55e99da461df8f6c3
/scripts/token_check.py
81bcb49afee511a7d3b182e99de819cba6c8a4f2
[ "MIT" ]
permissive
tonychew1986/erc20-token
137bdb06dbbd275165cf6f9c6703b6927c9c4cb3
dd206c2e2282f0fce57c4da05111210102bbfbde
refs/heads/main
2023-03-28T01:12:14.142687
2021-03-28T08:54:10
2021-03-28T08:54:10
352,282,111
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
#!/usr/bin/python3 from brownie import Token, accounts #etherscan api #Q9JWR2ZC58AGT4MTM7CEFI8UD8IH3VQ2WS def main(): # user_account = accounts.load('xxx_shared_1') # user_account = accounts.load('xxx_shared_mainnet') token_contract = Token.at("0xe63d6B308BCe0F6193AeC6b7E6eBa005f41e36AB") # us...
[ "tonychew1986@gmail.com" ]
tonychew1986@gmail.com
fe36ebadacdc7dccccf286e4f14226a17838d061
e5b4d9e3240b3302db47d770260dd1bcff93d5ef
/BatchShell/batchshell/batchrun.py
e7b2149a60d35511889eb259d80525464d279240
[ "MIT" ]
permissive
fczj/python-S14
a28f255b13c15f17d632cf920bca53ed5035752a
53a1350dae7c797134463c8c42edae44bb5427cb
refs/heads/master
2021-01-02T09:23:48.195642
2017-10-30T12:35:57
2017-10-30T12:35:57
99,205,729
0
0
null
null
null
null
UTF-8
Python
false
false
3,829
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 17-8-26 下午10:08 # @Author : xiongzhibiao # @Email : 158349411@qqcom # @File : batchrun.py # @Software: PyCharm import sys sys.path.append('/home/xiongzhibiao/github/python-S14/Common/common') import paramiko from multiprocessing import Process,Pool,Lock...
[ "158349411@qq.com" ]
158349411@qq.com
03fbeb1450ccc44bd26fc126ce64cfd378980fa0
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_117/1246.py
70e284873ba26f9f9d0eb663271fb9c4b2097cdc
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,615
py
__author__ = 'joranvar' __problem__ = 'B' class Field(object): def __init__(self, data, height, width): self.data = data self.height = height self.width = width def is_cuttable(self): max_x = [max([self.data[y][x] for x in range(self.width)]) for y in range(self.heigh...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
e7573bed0af5548993771609353cbf19e6c6588c
9dbd215e72f410f810606109632db30556d07f74
/BuildingSystems/Resources/Scripts/JModelica/Buildings/Examples/BuildingTherma1Zone1DCylinder.py
b5b655006868817fcaba5def05d7357c4c6a71aa
[ "BSD-3-Clause" ]
permissive
TonyJava/BuildingSystems
a7bc822e2277ef87fd7dbce2f2dd685bd311b013
56ccd43d1a8de8e2f6dfaed3a2cef9e3edf27b7f
refs/heads/master
2020-04-24T21:48:34.956614
2019-02-22T13:22:34
2019-02-22T13:22:34
172,290,652
1
0
BSD-3-Clause
2019-02-24T03:18:32
2019-02-24T03:18:31
null
UTF-8
Python
false
false
1,817
py
# paths and info import os, sys homeDir = os.environ['HOMEPATH'] jmodDir = os.environ['JMODELICA_HOME'] workDir = "Desktop" # has to be adapted by the user !!! moLiDir = os.path.join(homeDir, workDir, "BuildingSystems") # give the path to directory where package.mo is stored moLibs = [os.path.join(jmodDir, "ThirdParty...
[ "nytsch@udk-berlin.de" ]
nytsch@udk-berlin.de
ca99b5cf3ba81bd26679882f2f553c50dc8dabe1
eb40dce4039d528b9cd06dbeda75da09d09d7fc5
/need_install/Django-1.8.17/django/db/models/fields/__init__.py
8bba4cb3216e4eef1a0fcb5822bd70cfc3c685c8
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
MulticsYin/MulticsSH
39b62189446787c7f0f037b1640c9c780bd1dddd
5837a0bff0e7da0e8535e4e0b31ef6baf24274b4
refs/heads/master
2021-08-28T07:53:51.759679
2017-12-11T15:31:03
2017-12-11T15:31:03
82,428,902
4
2
null
null
null
null
UTF-8
Python
false
false
89,179
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals import collections import copy import datetime import decimal import math import uuid import warnings from base64 import b64decode, b64encode from itertools import tee from django.apps import apps from django.db import connection from django.db.models.lo...
[ "multics_luo@163.com" ]
multics_luo@163.com
dede7897aa89f5106650a0cc96628e0b6108d67e
9ee537601cbca4be70870d60910ce808da4f766e
/PROJECT-WORKING VERSION-issue.py
bcf71964dd23b6d934705ca27ceb5766335b8449
[]
no_license
sanjanab003/Library-Management
063b98e98d50bbd16e358329b7683707561965c6
eafcbc7814a7933c6243ef6cec02b803c4810a2d
refs/heads/master
2020-08-01T01:51:46.160900
2019-10-20T04:48:08
2019-10-20T04:48:08
210,818,939
0
1
null
null
null
null
UTF-8
Python
false
false
3,914
py
c=0 areMem=() c1=0 t=() u="" p="" q="" b=0 a=0 user="" pas="" z=0 t1=() import mysql.connector mydb = mysql.connector.connect( host="localhost", user="root", passwd="0025", database="library" ) mycursor = mydb.cursor() def regName(): print("Please register") global u ...
[ "noreply@github.com" ]
noreply@github.com
814949dee15c29811a0f3cb2131cabed7e0f87f0
52b17383556c615f6e9ea8888efbfc3c0bfbe726
/tests/__init__.py
2aac0df30f37c2d7f9d7ec10bada80f300ecf814
[ "Apache-2.0" ]
permissive
nerdfiles/bloom-filter
725f164bd5b99339f128d34f6b355f4efdbdc0f0
affd787cec3804fb806146eb464f77f37ed5b85e
refs/heads/master
2021-09-15T03:16:02.775833
2018-05-25T00:02:02
2018-05-25T00:02:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
480
py
#-----------------------------------------------------------------------------# # __init__.py # # # # Copyright (c) 2017-2018, Rajiv Bakulesh Shah, original author. # ...
[ "noreply@github.com" ]
noreply@github.com
7728d77ed32221009bb1df33c077dfc8ef3d3b5f
8dcd3ee098b4f5b80879c37a62292f42f6b2ae17
/venv/Lib/site-packages/pandas/tests/frame/test_api.py
1cfbd5961177ae6b74b0110ac71414299c5047fe
[]
no_license
GregVargas1999/InfinityAreaInfo
53fdfefc11c4af8f5d2b8f511f7461d11a3f7533
2e4a7c6a2424514ca0ec58c9153eb08dc8e09a4a
refs/heads/master
2022-12-01T20:26:05.388878
2020-08-11T18:37:05
2020-08-11T18:37:05
286,821,452
0
0
null
null
null
null
UTF-8
Python
false
false
18,965
py
import datetime import pydoc from copy import deepcopy import numpy as np import pandas as pd import pandas._testing as tm import pytest from pandas import Categorical, DataFrame, Series, compat, date_range, timedelta_range from pandas.compat import PY37 from pandas.util._test_decorators import async_mark class Test...
[ "44142880+GregVargas1999@users.noreply.github.com" ]
44142880+GregVargas1999@users.noreply.github.com
94d95349f260143004954f60708415d49af4c291
741d2868877fbd237a966e04899942224e36ae76
/QT_Mouse_House/Qt_Exp_Controls.py
dba439c0336c290c9bc35c28e9d3e221e52bcfe6
[]
no_license
TiangeLi/ArduinoCntrl
5e7b9357a4b304e712b1046ae6d13cda05c4fc01
f0ec2eef91d145f4807928e020857c62aaaf159b
refs/heads/master
2021-05-04T09:41:44.942708
2018-03-28T18:15:44
2018-03-28T18:15:44
61,747,298
0
1
null
null
null
null
UTF-8
Python
false
false
37,091
py
# coding=utf-8 """Qt Widgets for Experiment Config and Control""" import os from Names import * from Misc_Classes import * from Misc_Functions import * from Custom_Qt_Tools import * from copy import deepcopy from Dirs_Settings import ArdDataContainer from Custom_Qt_Widgets import GUI_LiveScrollingGraph, GUI_LJDataRep...
[ "tiange.l" ]
tiange.l
7617b75c7a76b5009e6dca9b3e54dd53393f66d3
b76876afc024f33491c0e9838366eb8934ae1e65
/blog/tests.py
8aae2a6a15cdd63918dad96cb0ab16cb648e644d
[]
no_license
wiremine/djang-modelfun
03fb2ffc68a01822c7e767f9e51913be938d8a8f
a0188b53b8355839b78306ab9a8d7058cd00bafd
refs/heads/master
2020-05-16T03:37:14.994587
2011-01-20T03:30:21
2011-01-20T03:30:21
977,476
0
0
null
null
null
null
UTF-8
Python
false
false
747
py
from django.test import TestCase from django.test.client import Client from django.core import mail # mail.outbox will contain emails during tests from django.http import HttpResponse from django.core.urlresolvers import clear_url_caches from django.conf import settings class ControllerTestCase(TestCase): def set...
[ "wiremine@gmail.com" ]
wiremine@gmail.com
e16ebb8614032c72852153165835f46bd16e6965
787407f3afc659a75915352368374670c265134f
/3dcnn_gwak/network.py
fa19e211c452b485ec440f4b9c7fd24b26478e2a
[]
no_license
swilso421/shiny-barnacle
39c189d380488718cb56084225be705c7dce52fb
01285a82fefa32f6ec06cd299c8bb994d593ab10
refs/heads/master
2020-03-18T04:09:26.326083
2018-07-18T20:29:17
2018-07-18T20:29:17
134,272,733
0
0
null
null
null
null
UTF-8
Python
false
false
4,445
py
import tensorflow as tf NUM_CLASSES = 18 def CNN_3D(input_node, stddev = 0.03, name = '3DCNN'): filter1 = (3, 3, 3, 1, 32) filter2 = (3, 3, 3, 32, 64) filter3 = (3, 3, 3, 64, 128) filter4 = (3, 3, 3, 128, 256) weights1 = tf.Variable(tf.truncated_normal(filter1, stddev = stddev), name = name ...
[ "swilso421@gmail.com" ]
swilso421@gmail.com
0cb89a8adfed56ffbd5bc7113d6cc6a65c390491
a0c130ab410d2ceebe8b8b28a80cb95a3f33f35c
/aei2/locweat.py
d0cf84e76d6ca9467740c4c393a9c69e6987fe09
[]
no_license
zkevinfu/emotion-simulator
1180dd7f5694ceae1c38ad291d49143950fdbce0
46679fbc18d7640c808eff388da56700cad07c24
refs/heads/master
2020-03-30T02:36:06.748842
2018-09-28T00:23:51
2018-09-28T00:23:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,580
py
import requests import Queue import json def get_loc(): loc_url = 'http://freegeoip.net/json' r = requests.get(loc_url) j = json.loads(r.text) return (j['latitude'], j['longitude']) def get_weat(): ds_url_base = 'https://api.darksky.net/forecast' ds_api_key = '12caf1dbd09b0e555c8b4a27339abb75'...
[ "zkevinfu@gmail.com" ]
zkevinfu@gmail.com
486782999f26b2d806dfe00600731c63363f0469
5f9d274602d630173ac36227d8a70ed163d7a8d6
/quickroute/utils.py
aeda2a4660fbeb2a7cdd6960a6d3538fc3826cc8
[ "Apache-2.0" ]
permissive
jvtm/python-quickroute
88ef1f594f6da99e1300bf36e6bdc1b16d6ab752
758e97cf38200efd649cb797c64c51b608db5de5
refs/heads/master
2020-03-30T23:06:24.348614
2014-08-14T20:37:54
2014-08-14T20:37:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
465
py
''' Python QuickRoute utility functions ''' from datetime import datetime, timedelta import json class DateTimeEncoder(json.JSONEncoder): """ Replacement JSON encoder supporting datetime and timedelta objects """ def default(self, obj): if isinstance(obj, datetime): return obj.isoformat()...
[ "jvtm@kruu.org" ]
jvtm@kruu.org
343ee30c9eeda3d263414b6da3a2aaaee932a506
74bd3a29425a6dae085af292d71b0bcbee5a0744
/music_eda_STFT.py
b1246e477fffb8439fddcd019a0936dc6ce1720e
[]
no_license
tacyi/graduation_p
3d42746d3e87f08754203a0a9fec19df95297324
ce9112537165f8cd40f4253d938ffef8cd1b4728
refs/heads/master
2020-11-27T17:10:57.098501
2019-12-22T08:08:13
2019-12-22T08:08:13
229,536,101
0
0
null
null
null
null
UTF-8
Python
false
false
1,672
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2019/12/3 18:38 # @Author : tacyi import matplotlib.pyplot as plt import numpy as np import scipy.signal as signal from scipy.io import wavfile import os # 画短时傅里叶声谱图并保存图片,代码相关参考链接https://blog.csdn.net/qq7835144/article/details/88887576, # 最主要的疑问是我不确定 # (sam...
[ "tacyi@139.com" ]
tacyi@139.com
ae79c1df65cf49985b7a5950ad1c6f7c40f0cad6
3c80d771e2ca592a54db7b7a07e1d75180cf423d
/TestFolder/TestClasses.py
d033c998f4426f1cf07f305b681d683ff6e0310b
[]
no_license
TobiasTiedtke/Projekt_dsd_gui
4873c759739f1011fd473eb69d1426225f123d21
83c02efd8776353db003f23404b25dc52df8bb33
refs/heads/master
2020-08-26T16:49:35.754859
2020-01-29T10:21:43
2020-01-29T10:21:43
217,078,904
0
0
null
2020-01-29T13:05:13
2019-10-23T14:32:50
Python
UTF-8
Python
false
false
436
py
import os, sys def SingleBrowse(): #browsing for a folder and changing it to a string filePath = "/informatik2/students/home/6kornell/Schreibtisch/bitbots_behavior-master/bitbots_head_behavior/src/bitbots_head_behavior/actions/look_at.py" f = open(filePath, 'r') for line in f: line = str(line) ...
[ "fwwx652@informatik.uni-hamburg.de" ]
fwwx652@informatik.uni-hamburg.de
55eda8146943aa974f2b0b70a0e47c6a5dbd6c54
da013048a61c4e34419c0b7ec721203ab1081173
/large_shirts.py
f01231ceec2dadb643abac4273e53785d9a5964c
[]
no_license
makeTaller/Crash_Course_Excercises
2c3bd3ac7c50a1830ce087b8187b93d93fab771e
66b50906e6b33e6ba0d15a8a98ee17ca689392c4
refs/heads/master
2020-03-18T04:17:42.342365
2018-07-17T22:02:45
2018-07-17T22:02:45
134,280,608
0
0
null
null
null
null
UTF-8
Python
false
false
220
py
size = [ "small","medium","large"] def large_shirts(message="I love python",size="large"): print("Your shirt will be " + size + " and will read " + message) large_shirts() large_shirts("I Love the world!","medium")
[ "kirktolliver28@gmail.com" ]
kirktolliver28@gmail.com
3ffdef70c90547fe0a5a46765f97abf944b606a2
2ebbeef48fc7094f2089c5a82119d02af65a82dc
/codegolf/temperatures/solution.py
1131f415d0ff594a97c6a114b11d5ce49eea0708
[]
no_license
marty-Wallace/CodinGame
b93812c253795a3fba8ecc3bfa01f6f6b5047d26
6eeb5b5d1cff15c475cc2a7b6b8bcac68367b9fd
refs/heads/master
2020-07-01T22:07:44.289785
2017-03-01T04:59:45
2017-03-01T04:59:45
74,251,457
1
0
null
null
null
null
UTF-8
Python
false
false
75
py
input() print(min(map(int,input().split()),key=lambda x:x*x-x/9,default=0))
[ "martin.v.wallace@ieee.org" ]
martin.v.wallace@ieee.org
84c66116e8584f0c2d0ad42b6fdb367629748331
a51453f9d5f7a93d5ce7f909e96507d24a34b40c
/small_knowledge.py/extract_num.py
e8159d0681311895eb5599a7cf0383cf6312cf4b
[]
no_license
justkissme/crawler
99a228019836700c4cdb548d6ab76f3e3b1c0ddb
b0a6964d657486f6af90519f885352945e107409
refs/heads/master
2021-03-22T15:57:46.195433
2020-03-15T01:49:10
2020-03-15T01:49:10
247,380,355
0
0
null
null
null
null
UTF-8
Python
false
false
152
py
link = 'https://www.xslou.com/yuedu/9356/' id_list = list(filter(str.isdigit,link)) book_id = ''.join(id_list) print(type(book_id)) print(book_id)
[ "noreply@github.com" ]
noreply@github.com
d4a5a2155aa71f6f81e1301fb6dea5d302b0742f
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_greens.py
ce3b23baa678edd94ee5bf830fa189133e5ffadb
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
231
py
from xai.brain.wordbase.nouns._green import _GREEN #calss header class _GREENS(_GREEN, ): def __init__(self,): _GREEN.__init__(self) self.name = "GREENS" self.specie = 'nouns' self.basic = "green" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
8bbd1f616dd60b38607f42fb53b0bed2badfe9b5
583f91afcb377707c830ad739b3d22d38f7eb4bf
/venv/bin/easy_install
d37d504868e9c4dc0754e20af384f4987ab2648d
[]
no_license
wjwalcher/CSP
1544556606ea83f54aaceff9ad701c8eb4bedb7a
1bddfd6dc5d70350323cd60224df804ef67dd581
refs/heads/master
2020-04-01T12:49:25.271546
2018-10-16T05:03:35
2018-10-16T05:03:35
153,225,369
0
0
null
null
null
null
UTF-8
Python
false
false
448
#!/Users/williamwalcher/PycharmProjects/322CSP/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.ex...
[ "williamwalcher@Williams-MacBook-Pro-3.local" ]
williamwalcher@Williams-MacBook-Pro-3.local
2e7cbcd4794cba57103a59e55b86743311629cf7
9ed58ef096d558a024aef9927e7f53fdf8805f85
/applications/expensive_seq/expensive_seq.py
a599aede02737774b47914d10e7b5686d1e4d3e6
[]
no_license
squashgray/Hash-Tables
11e6c4e0cb9aa0dd3a2592fd04918311e5a23346
d97ab7dad3dd34277b8084badcd27f19cb848ee6
refs/heads/master
2022-10-26T11:24:43.664825
2020-06-10T04:34:42
2020-06-10T04:34:42
261,280,162
1
0
null
2020-05-07T03:31:35
2020-05-04T19:46:26
null
UTF-8
Python
false
false
223
py
def expensive_seq(x, y, z): # Implement me if __name__ == "__main__": for i in range(10): x = expensive_seq(i*2, i*3, i*4) print(f"{i*2} {i*3} {i*4} = {x}") print(expensive_seq(150, 400, 800))
[ "beej@beej.us" ]
beej@beej.us
6be8285fe34928e223d9dcc5d0e598306f563657
c762138fc50d2ac66a3fa9314102c9f15c8e0a2e
/S3utils.py
1029978ca960245b77350ddc4dce7bffa9444663
[]
no_license
saivamsikayala/garbage-detection-flask
500492d013a47196dd04acc490ec955893a0560c
5d380f4468af5de6290e19f555cf5b1223f6495f
refs/heads/master
2022-11-30T10:10:22.134815
2020-08-01T09:37:32
2020-08-01T09:37:32
283,982,797
0
1
null
2020-08-01T04:30:49
2020-07-31T08:24:24
Python
UTF-8
Python
false
false
1,180
py
import boto3 import uuid import io from . import settings class S3utils(): def __init__(self): self._session = boto3.session.Session() self._client = self._session.client('s3', region_name = settings.AWS_S3_REGION_NAME, endpoint_url = settings.AWS_S3_ENDPOINT_URL, ...
[ "abhinav.dayal@hotmail.com" ]
abhinav.dayal@hotmail.com
5c9d3d6c5f48bd56c8f41c7340f23a939dd6540c
7bf59a25a66578cff650b0435ac95485ff51b43f
/model/couresDB.py
4e1b59b80a6807a10bccdb4571b6ca3412fc9c41
[]
no_license
amekaki/cmajorMiniProgram
a02ee5e9fcf93922e13c15ce9d2504211fc4324f
15517e6d5c8514f8ac262265b77f2e60a0b3b9b9
refs/heads/master
2023-03-10T04:10:20.036776
2020-12-11T02:49:59
2020-12-11T02:49:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
178
py
# -*- coding: UTF-8 -*- from model.modelDB import Course def getAllCourses(): res = Course.query.all() return list(map(lambda x: {"cId": x.cId, "cname": x.cname}, res))
[ "1150774341@qq.com" ]
1150774341@qq.com
6e2274d661b06ca37349193c0aebe92de6199296
e7a79c157fe0edde0cabb4cebc707ce1530b5b7e
/answers/cartridge_base_state.py
e281bddc7ae481e400eea459831529801ab1ff55
[]
no_license
Logsod/noti_rest_server
1684d1d03c67aea46b4c6888d0951477de2888af
529e9a0c66a6c7021224a2daf60f378f01164ca5
refs/heads/master
2023-08-10T16:39:43.000835
2021-09-29T13:19:41
2021-09-29T13:19:41
408,777,957
0
0
null
null
null
null
UTF-8
Python
false
false
1,381
py
import falcon from flask import json import db class CartridgeBaseState: def on_post(self, req, resp): """handle post""" param = req.media action = int(param['action']) data = db.Db() if action == 0: # add if "cartridge_id" in param and "amount" in param: ...
[ "wwwref@gmail.com" ]
wwwref@gmail.com
34612b6bfe10f23da813bdc293d433a1103a70bd
ad9eaab5b382190ce76fb921c1a12f1c3adc4e09
/main.py
5993a711e30fa1537e727e5512bebe83a5847a92
[]
no_license
dex1cre/asistent_bot
9e7bc1ed3a293e1eea77fea258aafcafd469531e
9b93166117a600815d45ab2b05940fdd9e065747
refs/heads/master
2021-01-21T10:04:34.188968
2017-03-07T19:30:36
2017-03-07T19:30:36
83,360,574
0
0
null
null
null
null
UTF-8
Python
false
false
8,185
py
#!/usr/bin/python3 #-*- coding: utf-8 -*- #главный(здесь) модуль для работы с telegram import telebot as tlb #модуль для определения дня недели from datetime import datetime #модуль для многопоточности import threading as potok #модуль для работы с базами данных sqlite3 import sqlite3 #модуль с основными константами ...
[ "dex1cre@mail.ru" ]
dex1cre@mail.ru
780ef530a2c311710a82743db16d99d91edf5d3b
35387a94b884466188c525a11cf7bf4dbf3c291f
/deepspeed/pt/deepspeed_constants.py
1ba3dd482e25b1782b88a86ceab5d7a308f7bf4d
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
liuyq47/DeepSpeed
6808653e9adf490799fe9fe630d8cf20bc4a51b2
cd68e6e55a2155ffaea681b18e012aafd686dce4
refs/heads/master
2022-12-12T07:35:00.362124
2020-08-10T17:09:40
2020-08-10T17:09:40
278,738,026
0
0
MIT
2020-08-26T16:14:54
2020-07-10T21:37:45
Python
UTF-8
Python
false
false
8,682
py
""" Copyright (c) Microsoft Corporation Licensed under the MIT license. """ ############################################# # Routes ############################################# ROUTE_TRAIN = "train" ROUTE_EVAL = "eval" ROUTE_PREDICT = "predict" ROUTE_ENCODE = "encode" ############################################# # B...
[ "noreply@github.com" ]
noreply@github.com
f9184c9bc8feb760a6b06e8e4065cacd924722c5
24223cba74ca8c293aaa4381fecf80acd237fc94
/jensen_comparison/bin/jupyter-kernelspec
048319db09ad921800f7139bc93ab93c2745267a
[]
no_license
Aequivinius/jensen-comparison
df0f4424160d5c4d37f29eb8939518c96b446b9c
04910a40869103a618dd4cea5035ff2c9c6797bf
refs/heads/master
2020-04-30T00:44:18.755131
2019-03-19T12:48:10
2019-03-19T12:48:10
176,510,273
0
0
null
null
null
null
UTF-8
Python
false
false
312
#!/Users/sazerac/jensen_comparison/jensen_comparison/bin/python3.7 # -*- coding: utf-8 -*- import re import sys from jupyter_client.kernelspecapp import KernelSpecApp if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(KernelSpecApp.launch_instance())
[ "ncolic@gmail.com" ]
ncolic@gmail.com
7d0942492c486ab43f4c39a5adee4453c034f50e
c1fe97208afe479b7ae1ee67d69866a6911564ca
/AdvCBV/basicapp/admin.py
046528c9de692ae1d3f199606430ad8437e9c4a1
[]
no_license
jaindhairyahere/Python_Django
a0a46c57b6ca60d0942ae181fe28ea56bb1ee948
f170a2e38b78df698a02821a454a3baea0c358a6
refs/heads/master
2020-06-18T09:17:56.364928
2019-11-02T18:34:12
2019-11-02T18:34:12
196,249,108
0
0
null
null
null
null
UTF-8
Python
false
false
164
py
from django.contrib import admin from basicapp.models import School, Student # Register your models here. admin.site.register(Student) admin.site.register(School)
[ "jaindhairya2001@gmail.com" ]
jaindhairya2001@gmail.com
151fc23e1533e76eb12ce1b8bb1392755667dbab
7f54637e347e5773dfbfded7b46b58b50544cfe5
/7-3/chainxy/spiders/tradesecretscanada.py
dc8b30b2b1997267ec5b41a42628814c788f3cc0
[]
no_license
simba999/all-scrapy
5cc26fd92b1d03366b74d4fff58c4a0641c85609
d48aeb3c00fa2474153fbc8d131cf58402976e1d
refs/heads/master
2021-01-25T14:24:04.715550
2018-03-03T13:43:13
2018-03-03T13:43:13
123,695,640
1
0
null
null
null
null
UTF-8
Python
false
false
2,369
py
import scrapy import json import os from scrapy.spiders import Spider from scrapy.http import FormRequest from scrapy.http import Request from chainxy.items import ChainItem from lxml import etree from selenium import webdriver from lxml import html import usaddress import pdb class tradesecretscanada(scrapy.Spider): ...
[ "oliverking8985@yahoo.com" ]
oliverking8985@yahoo.com
16609f41774f606706d680afcec9bb61b9b40b3d
e540673e49a0ea897b0df0d15c2c5df38e54e8b0
/TF_polynomial_regression_2.py
85025c0668bb062ec899d2646b6dc3697620fdbc
[]
no_license
rottendoom001/PYTHON_TF
ec97a287ec71cfb24e4bf94cc27df36c8d451a1a
0de5489b08f60c91bb71145c16836bbf91174409
refs/heads/master
2021-09-03T17:56:04.114074
2018-01-10T22:06:01
2018-01-10T22:06:01
109,761,949
0
0
null
null
null
null
UTF-8
Python
false
false
1,986
py
"""Simple tutorial for using TensorFlow to compute polynomial regression. Parag K. Mital, Jan. 2016""" # %% Imports import numpy as np import tensorflow as tf import matplotlib.pyplot as plt # Normalizar datos def normalize (xs): ln = [] maxValue = max(xs) minValue = min(xs) for e in xs : # Fo...
[ "alanorlando.cruz.manrique@bbva.com" ]
alanorlando.cruz.manrique@bbva.com
8fe101007d836f2e2cedb46604f7ca5e40fe18f5
3b8deb008d8bb5199e4ea37a0715886bf02559c0
/examples/fakerstc.py
0f4eaa7793229cdf198523acd71dec790b001314
[]
no_license
ryanmwhitephd/ADD
759be1b8afd4433ff9d76606ad3deead64814977
60ad72f0e4360cf66e204451efbc9a5baa0732fa
refs/heads/master
2021-09-18T14:40:17.398413
2018-07-16T06:57:01
2018-07-16T06:57:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,834
py
# -*- coding: utf-8 -*- """ Created on Thu Jan 25 12:24:32 2018 @author: ryanwhi """ import logging import unittest import argparse import json import functools log = logging.getLogger(__name__) log.addHandler(logging.NullHandler()) from faker.providers import BaseProvider from faker import Faker ...
[ "noreply@github.com" ]
noreply@github.com
f5b01891fa5b5a79a702ba2de7a0f3e064675000
6d86d4e07eeed66fdc08f68560dce9696bb35c01
/app/main/errors.py
d787733609d6910457a6556500d9d042d3fa9ec0
[]
no_license
Moxikai/law_show
5d4828a85a2bf1ae530a7e1f3d87e117d2fec4aa
9819b263a7c22680695d8a04a3992a627a73f585
refs/heads/master
2021-01-13T10:30:58.666067
2016-10-13T08:47:31
2016-10-13T08:47:31
68,830,448
0
0
null
null
null
null
UTF-8
Python
false
false
323
py
#_*_coding:utf-8_*_ from flask import render_template from . import main #使用app_errorhandler修饰器,处理全局错误 @main.app_errorhandler(404) def page_not_found(e): return render_template('404.html'),404 @main.app_errorhandler(500) def internal_server_error(e): return render_template('500.html'),500
[ "zhu-hero@qq.com" ]
zhu-hero@qq.com
7548f99c00f871df535a5e2a2a86c932211f256d
3609f3da79af9ad44f047c58edd92da590afa17e
/PythonExerciseFolder/WearwolfOutTheDoor.py
11961bf0da3d0167ce6cc75f3e556955080e28fc
[]
no_license
Poludzku/master
bcfaab3d4e8e20d4cb5b6e31ea349342c67a7f8f
8fbc44b30b35f9b0e7608782da4d61e673d68bab
refs/heads/master
2020-12-25T18:22:24.650293
2012-07-28T12:25:13
2012-07-28T12:25:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
905
py
# -*- coding: utf-8 *-* from WearwolfZones import mountines from WearwolfZones import spring_oasis from WearwolfZones import forest def steping_out_the_door(): print """As you take a step out the door the fresh air fills your lungs, you can feel that tonight it will be a good kill, but where will you hunt? ...
[ "jacek@mint" ]
jacek@mint
2370e7452bcc9e77a37e5853184a510e1184341d
d2c4934325f5ddd567963e7bd2bdc0673f92bc40
/tests/model_control/detailed/transf_Logit/model_control_one_enabled_Logit_MovingMedian_NoCycle_LSTM.py
52f0b5d941ab48694348dbd8ae8a86fd89845917
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jmabry/pyaf
797acdd585842474ff4ae1d9db5606877252d9b8
afbc15a851a2445a7824bf255af612dc429265af
refs/heads/master
2020-03-20T02:14:12.597970
2018-12-17T22:08:11
2018-12-17T22:08:11
137,104,552
0
0
BSD-3-Clause
2018-12-17T22:08:12
2018-06-12T17:15:43
Python
UTF-8
Python
false
false
155
py
import pyaf.tests.model_control.test_ozone_custom_models_enabled as testmod testmod.build_model( ['Logit'] , ['MovingMedian'] , ['NoCycle'] , ['LSTM'] );
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
be6628d9dba373743c57c916d5222277a1ceab7e
e4284c03268b662eb6d121fedd32aedbabd2ae4b
/test/FileIoTest.py
59794fc60bae2af560a73de5df088c4f42da0105
[]
no_license
rennX/FunctionPointParser
99af5588158163f78b07dd3b4bfb8196db71b557
65fce373fae5baf1b34e8a2863c7358981139fa6
refs/heads/master
2016-09-09T23:42:56.676573
2014-04-20T14:02:36
2014-04-20T14:02:36
16,235,300
1
0
null
2014-01-26T22:53:35
2014-01-25T17:05:10
null
UTF-8
Python
false
false
474
py
#! /usr/bin/env python """This class reads in and processes input text from a file""" import unittest class FileIoTest(unittest.TestCase): det setUp(self): self.fileIo = FileIo("input.txt") def tearDown(self): self.fileIo = None def toStringTest(self): """Prints out the contents of the input file""" ...
[ "renn.xa@gmail.com" ]
renn.xa@gmail.com
efafbc94b23a7a62be62c4ca61b6578234ec47c0
92e2145b2424134112ef0d7b1b5cf1c1220dbc1e
/Sith/wsgi.py
fe015aa0f796905984ddf362e66f7fe3c8aba921
[]
no_license
rustam66637/SithRecruitTest
9c52725d99df8ae074068d17e7412565a12d9f2d
1f8fd5da3b71d8b1af59b6d8214807ec37941dc5
refs/heads/master
2023-08-06T17:02:51.966481
2021-02-07T15:48:20
2021-02-07T15:48:20
265,617,598
0
0
null
2021-09-22T19:03:30
2020-05-20T16:04:42
Python
UTF-8
Python
false
false
385
py
""" WSGI config for Sith project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTINGS...
[ "rust66637@gmail.com" ]
rust66637@gmail.com
a8b4064eeb4bb83cbf8897edf30fd9ef90b99913
88940cbee65e15f8d9dce61ea313a03d38131e85
/fbproj.py
59263db4e13a12a883d849aa33f66cb8d17624a3
[]
no_license
hanslee95/206FB
025fd961deffbab868238addd276177cc3839e5a
f79640b84c9f47a75b98cadded6228ec0784afac
refs/heads/master
2021-08-28T21:38:44.846473
2017-12-13T06:44:25
2017-12-13T06:44:25
112,550,535
0
0
null
null
null
null
UTF-8
Python
false
false
6,275
py
import urllib3 import facebook import requests import json import datetime import sqlite3 import plotly.plotly as py import plotly.graph_objs as go import pandas as pd from facepy import GraphAPI #NOTE: I have gotten 100 interactions extracting 100 posts, however, the final data table will have 7 items (rows) in each c...
[ "hanheum@umich.edu" ]
hanheum@umich.edu
62f1f7e28e890ada8f842b1295e4c295bd93ce6b
3d14e2430b696a21661ee1b5fc000aa031a81a67
/locators/books_page_locators.py
403e152b6985de415825fb662971e8422cf916ea
[]
no_license
a-soliman/books-toscrap
53defb67df7167917a53fa1193fff5f3bccd998c
958c347eeb881178346f228326b4ccfe47b7acd2
refs/heads/master
2020-04-25T17:25:36.492827
2019-02-28T16:22:59
2019-02-28T16:22:59
172,947,801
0
0
null
null
null
null
UTF-8
Python
false
false
114
py
""" extracts books from a page """ class BooksPageLocators: BOOK = "li.col-xs-6.col-sm-4.col-md-3.col-lg-3"
[ "ahmed.soliman@programmer.net" ]
ahmed.soliman@programmer.net
b119a388c312e6aa8b39e003c88c95a830239c8a
39e1f30888267253a0e2976c05e364c001f386df
/validate-user.py
81499137b2e28d5885e4b4ca891499f25dc7672b
[]
no_license
atomWeb/facegnition-back-end
e1ce12aced40bc9fc902fa3d86695746f811814e
f6ef3ec256c05f5db64d25e12c006aef12f5848d
refs/heads/main
2023-08-17T01:05:32.200992
2021-10-08T10:32:33
2021-10-08T10:32:33
403,296,567
0
0
null
null
null
null
UTF-8
Python
false
false
2,631
py
import json import boto3 from boto3.dynamodb.conditions import Key import os from utils import jsonify, get_str_timestamp_by_zone S3_BUCKET = os.environ["IMAGE_BUCKET"] REGION = os.environ["REGION"] USERS_TABLE = os.environ["USERS_TABLE"] VALIDATIONS_TABLE = os.environ["VALIDATIONS_TABLE"] COLLECT_NAME = os.environ["R...
[ "cristianjose@gmail.com" ]
cristianjose@gmail.com
e3a17a5121943d355e6b723092ef64da003de344
40b52661769a803f470b84872d692a388095cca6
/lovelace/migrations/0013_auto_20190319_2002.py
67687e3fc0868d8e75c8be7e5a20dd96cdf83b91
[]
no_license
leilesca/demodayfinalizado
4ff2e3fc4fabfa85c96cd4778b257cb20d00dd71
edb117f3d73bcda53f6db0625335e3bbd688f6f8
refs/heads/master
2020-04-30T06:55:57.077625
2019-03-20T15:14:00
2019-03-20T15:14:00
176,668,242
0
0
null
null
null
null
UTF-8
Python
false
false
582
py
# Generated by Django 2.1.7 on 2019-03-19 23:02 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('lovelace', '0012_perfilusuario'), ] operations = [ migrations.AddField( model_name='estabelecimento', name='imagem',...
[ "alessandra.mitie@gmail.com" ]
alessandra.mitie@gmail.com
92e1f7036fa5a7c131b843407e94744c4c5e5dee
67212da14d34fe69de64dcc14301a6d3f2004b89
/main.py
95789d840eaf50d28773ee383491fa71b7346331
[]
no_license
seiya-tsukada/my_gae_sample
7212b60bc48da4a06a7ff3d83c2c0a1db4dbc28f
4223923fb00c2b75fac0520f5938bfdeb9b3db92
refs/heads/master
2020-04-01T23:45:36.970914
2018-10-19T15:47:17
2018-10-19T15:47:17
153,772,079
0
0
null
null
null
null
UTF-8
Python
false
false
250
py
#! /usr/bin/env python # coding: utf-8 from flask import Flask, jsonify app = Flask(__name__) app.config['JSON_AS_ASCII'] = False @app.route("/") def index(): return jsonify({"message": "hello world"}) if __name__ == "__main__": app.run()
[ "seiya.tsukada@accenture.com" ]
seiya.tsukada@accenture.com
5c6e5146bb6f11b1d58dd88282e817ec96737c23
6051b1df3a84ca6dc3d4c4ce90202e64a31da22b
/test_studentlists.py
8d714b81118ded8f1a951b467ba98d2ec7583061
[]
no_license
omarmohamud23/Labweek4--studentlist
e4c614ee93c0cf2e911210aaeeb368ef37916953
8b11a661ffdc226c049d48b4d4e0479926e004a4
refs/heads/master
2023-02-26T22:32:06.700044
2021-02-05T21:59:53
2021-02-05T21:59:53
336,397,878
0
0
null
null
null
null
UTF-8
Python
false
false
5,545
py
''' Practice using assertTrue assertFalse assertIsNone assertIsNotNone assertIn assertNotIn ''' from studentlists import ClassList, StudentError from unittest import TestCase class TestStudentLists(TestCase): def test_add_student_check_student_in_list(self): test_class = ClassList(2) test_c...
[ "Omar" ]
Omar
b7c679595c429b8800f1d4f502e2a7f308771f09
c478f4c1c14a250633666b9eac9835b36f86f704
/ckcore/core/task/task_handler.py
dbfabe44bf93545706eaeb0b91447a503a52210a
[ "Apache-2.0" ]
permissive
yasinai/cloudkeeper
10d49df5e9a69b4106ca16fff6bb04e150dd743d
7d1708deaf237b4175006852d87a2ecce1372779
refs/heads/main
2023-08-14T07:10:33.071714
2021-10-13T08:37:23
2021-10-13T08:37:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
26,786
py
from __future__ import annotations import asyncio import logging import re from asyncio import Task, CancelledError from datetime import timedelta from io import TextIOWrapper from typing import Optional, Any, Callable, Union, Sequence, Dict, List, Tuple import argparse from aiostream import stream from argparse imp...
[ "noreply@github.com" ]
noreply@github.com
ffb81ac3e424652e5a48fdb526bf4d905bbd1018
cfb61b4a2fbe0f7a162e71208b8b772e4300b66b
/read_record/utils.py
2dae7fcfe0490756c835e00583026a19f3b23923
[]
no_license
zy421612918/blog
4c18ca6364fc1d4425dbba82fedb42d762e93ffe
f5b92452b468a54108c23a4a45b6e8c504a3f301
refs/heads/master
2020-03-22T12:38:56.977149
2018-07-07T04:35:41
2018-07-07T04:35:41
140,053,094
0
0
null
null
null
null
UTF-8
Python
false
false
2,329
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # __author__ = "Zhangye" # Date: 18-6-6 import datetime from django.contrib.contenttypes.models import ContentType from .models import ReadNum,ReadDetail from django.utils import timezone from django.db.models import Sum from Blog.models import Blog def check_read_record...
[ "421612918" ]
421612918
257b7003bc935a62b341351ce28e8be2d272b6ae
bb88a96f31e12007ec99f8e64045e790831805fe
/gringotts/api/v1/sub.py
71f38bf767d8eab916dcde5a1fd699fbbcb865f1
[]
no_license
rogeroger-yu/ustack-gringotts
38ed680f111c262a666f55609074a00fd6f76b7e
75f656398c11b0dbddf99bf429994624915c3565
refs/heads/master
2022-09-24T03:52:46.452502
2017-03-30T11:03:54
2017-03-30T11:19:22
86,901,913
1
0
null
null
null
null
UTF-8
Python
false
false
1,502
py
import calendar import pecan import wsme import datetime import decimal from pecan import rest from pecan import request from wsmeext.pecan import wsexpose from wsme import types as wtypes from oslo_config import cfg from gringotts import exception from gringotts import utils as gringutils from gringotts.api.v1 imp...
[ "guangyu@unitedstack.com" ]
guangyu@unitedstack.com
21be216193f7f5ea64fdfa525d451bf6e7d4d223
202c1ceb861171aeae9a63a23ab0f823773a02c5
/tiny/scheduling/scheduler.py
61d5bd7e2012769b2316a6066f189b23f53ad0db
[]
no_license
oampo/tiny
33d62eb1ed6fdf5d015f7a75c3ed07ecb6c7e387
83f987e49152bc6716a7cc80c9d3e5ac80e2ce34
refs/heads/master
2016-08-03T09:17:22.544009
2015-03-13T15:27:37
2015-03-13T15:27:37
31,021,320
0
0
null
null
null
null
UTF-8
Python
false
false
4,423
py
import time import asyncio import functools from heapq import heappush, heappop from .patterns import p_dict class Scheduler: duration = "duration" def __init__(self, bpm=120): self._queue = [] self.bpm = bpm self._time = time.time() self._beat = 0 self._beat_in_bar...
[ "joe@oampo.co.uk" ]
joe@oampo.co.uk
a33ea344425501fccf20a8502fc44380fce73c76
ebfcae1c5ba2997b2ac4471d5bedc3f5daffcb31
/dino-master/dino/rest/resources/send.py
a63978198fcff73e1c60cefb3ad6386d3ea9a807
[ "Apache-2.0" ]
permissive
babiato/flaskapp1
84de2d0b26a54f5820d3bbe97926782ad41e005c
530beb9e3b8516e0e93960b99521c23a523ef546
refs/heads/master
2023-02-26T16:36:49.760632
2021-02-04T09:08:40
2021-02-04T09:08:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,723
py
import logging import traceback import eventlet import sys from dino import environ from dino import utils from dino.utils.decorators import timeit from dino.db.manager import UserManager from dino.rest.resources.base import BaseResource from flask import request logger = logging.getLogger(__name__) def fail(erro...
[ "jinxufang@tencent.com" ]
jinxufang@tencent.com
fc5950f4de4608412e324da17fb6c26e9e26f0c3
637175e6a58817d77ce160744de1ee1b43d76cda
/tutorial/tutorial/spiders/TorDown.py
a3abf30b597692d36831756b899d4a9b6b04c9bf
[]
no_license
AgentG2015/Scrapy
283a26f7201deaa1498a429fda77421f470f93f1
30687f75c578ccb5d5c0c488d639567ce8013406
refs/heads/master
2020-04-06T04:08:47.260255
2016-07-04T06:33:51
2016-07-04T06:33:51
59,291,648
1
0
null
null
null
null
UTF-8
Python
false
false
2,006
py
import scrapy from tutorial.items import * from scrapy.contrib.spiders import CrawlSpider, Rule from scrapy.http import Request,FormRequest from scrapy.utils.project import get_project_settings class TorDown(CrawlSpider): name = "tordown" allowed_domains = ["tp.m-team.cc"] link_template = r"https://tp.m-te...
[ "AgentG2015@gmail.com" ]
AgentG2015@gmail.com
cc43440bf8eef90f605cad03be1c751c39264596
dbc5bfb2b3eec582c58dc3e76c1e92450250b371
/app.py
a39b092802bf44862baf5865cdc4c07b315988d4
[]
no_license
olawrence799/webScraping
ac36a0bfa5ce15fe506e9ebbfbfcebc625014e17
50e608426ebfe1efbc237de16ba30c21f5b19553
refs/heads/master
2021-09-09T16:38:54.013295
2018-03-18T05:03:49
2018-03-18T05:03:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
511
py
from flask import Flask, render_template, jsonify, redirect from flask_pymongo import PyMongo import scrape_mars app = Flask(__name__) mongo = PyMongo(app) @app.route('/') def index(): mars = mongo.db.mars.find_one() return render_template('index.html', mars=mars) @app.route('/scrape') def scrape(): mars = ...
[ "owen@Owens-MacBook-Pro.local" ]
owen@Owens-MacBook-Pro.local
aa6a81ca2a68d3bbe0fcd037c5db7068f2adb766
dd44e145ac547209f5f209bc9b1f09189bb8b5c7
/Python-Advanced-2021/03.Multidimensional-lists-L/02.Sum-of-matrix-columns.py
719862b6c9646cc99f509dcebd28edadbfe2e5d6
[]
no_license
todorovventsi/Software-Engineering
e3c1be8f0f72c85619518bb914d2a4dbaac270f8
64ffa6c80b190e7c6f340aaf219986f769f175ab
refs/heads/master
2023-07-09T05:35:14.522958
2021-08-15T14:35:55
2021-08-15T14:35:55
336,056,643
2
1
null
null
null
null
UTF-8
Python
false
false
254
py
rows, columns = map(int, input().split(", ")) matrix = [[int(i) for i in input().split()] for _ in range(rows)] for column in range(columns): column_sum = 0 for row in range(rows): column_sum += matrix[row][column] print(column_sum)
[ "todorov.ventsi@gmail.com" ]
todorov.ventsi@gmail.com
c413c1f3310160c4a5734f569e47321d1e3bd9a6
36989b4bcd070b0889e9be921f8142df9cec67f5
/PYTHON/Questao10.py
850eed441aa1b2f2d9c2637f0aca160fa34890d1
[]
no_license
larissacsf/Exercises-1
61dfc46d594c3a20673f65809606cdc814639792
26f39571ba870c1a584ac8ad80efe841b231018e
refs/heads/master
2021-05-23T09:48:08.245971
2020-04-05T15:46:52
2020-04-05T15:46:52
253,228,979
0
0
null
2020-04-05T12:25:30
2020-04-05T12:25:29
null
UTF-8
Python
false
false
498
py
'''Elaborar um algoritmo que lê 3 valores a,b,c e os escreve. A seguir, encontre o maior dos 3 valores e o escreva com a mensagem : "É o maior".''' def maiorNumero(n1, n2, n3): if n1 > n2 and n1 > n3: aux = n1 elif n2 > n3: aux = n2 else: aux = n3 return aux def main(): n1 =...
[ "larissa_cuane10@hotmail.com" ]
larissa_cuane10@hotmail.com
d4ef7df593f1fbf7027fa866174ceb80592f6f0c
bb33e6be8316f35decbb2b81badf2b6dcf7df515
/source/res/scripts/client/gui/battle_control/controllers/quest_progress/__init__.py
f9b0128616646671d06aafd2df3f29f0785e39a0
[]
no_license
StranikS-Scan/WorldOfTanks-Decompiled
999c9567de38c32c760ab72c21c00ea7bc20990c
d2fe9c195825ececc728e87a02983908b7ea9199
refs/heads/1.18
2023-08-25T17:39:27.718097
2022-09-22T06:49:44
2022-09-22T06:49:44
148,696,315
103
39
null
2022-09-14T17:50:03
2018-09-13T20:49:11
Python
UTF-8
Python
false
false
151
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/client/gui/battle_control/controllers/quest_progress/__init__.py pass
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
d34c725b1262b78badb8817d31b511b34234cf00
9809666dd2cdedf154ed8056fa9795d30307644a
/OPENCV BEGGINNER LEVEL/code/image_processing_2.py
78711a9ac14e2ceea7733ee2f5b8ef5de5cde5a7
[]
no_license
draco-git/test
dcdb91eb780926c8a20ac844cb64c6295d14c176
c0c76c04c265a52a5fb379751adf4fa17eadd646
refs/heads/master
2023-08-05T07:10:31.699593
2021-09-20T05:59:16
2021-09-20T05:59:16
408,156,269
0
0
null
null
null
null
UTF-8
Python
false
false
4,819
py
import cv2 import numpy as np import import_images import stacked_images import gui_features #reading images images = import_images.dict_images() names_of_img_in_dict =[ ] for i,j in images.items(): images[i] = cv2.imread(j) names_of_img_in_dict.append(i) #print(names_of_img_in_dict) : ['avengers', 'balls', ...
[ "madhavgedela3@gmail.com" ]
madhavgedela3@gmail.com
d7e8659136c28db77da24a4ae6108c9816b9874f
13e406093d44072cf378689ca5c7116b5426701e
/TugasKelas2Pembahasan.py
b1053f43fdbd6ae0b9ef6da914b5d76edcd5f320
[]
no_license
ReyhanR/fundamental-python
9251c013493d3567bd4a98da202b14d75a8aa88f
8042671d6b08ce551a43f4b094a271570f3bbaf7
refs/heads/master
2021-01-03T06:26:29.443876
2020-02-19T08:38:56
2020-02-19T08:38:56
239,959,999
0
0
null
null
null
null
UTF-8
Python
false
false
257
py
# Ganjil genap # Genap, habis dibagi 2 atau hasilnya 0 jika di modulus dengan 2 / Ganjil, number = int(input('Masukkan angka : ')) if (number % 2 == 0): status = 'Genap' else: status = 'Ganjil' print(f'Angka {number} termasuk bilangan {status}')
[ "rryanafi@gmail.com" ]
rryanafi@gmail.com
4a8ba21250def0e771eb0d8cfee9b9e5f35ef4b8
e87415a8507341d66991411c91e77ad38cda3df9
/templated_email/block_render.py
9ddf822ec66358a729ae9b8e2ad0a806ddf76d91
[ "MIT" ]
permissive
somair/django-templated-email
6185abf24031a9813fc8b9d53faa8433f7bda0a6
b217a3e38d7af8b514d8f83568c1fd55efd1ac11
refs/heads/master
2021-01-19T14:13:10.500289
2017-01-13T13:06:06
2017-01-13T13:06:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,748
py
from django.template.loader_tags import BlockNode, ExtendsNode from django.template import loader, Context, RequestContext def _get_template(template): if isinstance(template, (tuple, list)): return loader.select_template(template) return loader.get_template(template) class BlockNotFound(Exception): ...
[ "alex.hayes@roi.com.au" ]
alex.hayes@roi.com.au
c797e1ec5b3e5955a867418fed9a26431bd4212c
6fa701cdaa0d83caa0d3cbffe39b40e54bf3d386
/google/cloud/redis/v1/redis-v1-py/google/cloud/redis_v1/services/cloud_redis/pagers.py
ea1c2287e22e2c73eb752e030a4919c860621449
[ "Apache-2.0" ]
permissive
oltoco/googleapis-gen
bf40cfad61b4217aca07068bd4922a86e3bbd2d5
00ca50bdde80906d6f62314ef4f7630b8cdb6e15
refs/heads/master
2023-07-17T22:11:47.848185
2021-08-29T20:39:47
2021-08-29T20:39:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,709
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 or...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
48d347ad45dc5dc9a881be62103d5e32a1581f13
27cc8ec982975383a07e7781b2b09600f4a2518d
/demo/urls.py
54abef98b39afec91417cc5bf6e80175ce307529
[]
no_license
srilekha201created/Grammer
b038677ee4152261fb1b79a7f03f373fcdfb047e
e8110620a98511f4c6518eb99a262cfc05355985
refs/heads/master
2023-04-07T17:43:17.407537
2021-04-15T10:14:10
2021-04-15T10:14:10
358,164,863
0
0
null
null
null
null
UTF-8
Python
false
false
858
py
"""demo URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based vi...
[ "srilekhajagarlamudi.ce@gmail.com" ]
srilekhajagarlamudi.ce@gmail.com
cc6ae0e7dab5a85c0321944085e16e0d3c43552e
10eeee95f5f3fb436a0a3cf50a2fd057779808af
/sockjs/cyclone/__init__.py
3aa631ff8643b6d96b46cb0628e42c3529c4cb58
[ "MIT" ]
permissive
flaviogrossi/sockjs-cyclone
b9c84c28036049ee58f948e4cf5e33a850286fb0
d3ca053ec1aa1e85f652347bff562c2319be37a2
refs/heads/master
2020-05-31T07:02:48.428630
2014-08-13T07:20:13
2014-08-13T07:20:13
4,571,140
11
2
null
2014-07-16T19:14:26
2012-06-06T10:14:36
Python
UTF-8
Python
false
false
106
py
from .conn import SockJSConnection from .router import SockJSRouter from .conn import MultiplexConnection
[ "flaviogrossi@gmail.com" ]
flaviogrossi@gmail.com
d198cc72d424a69a2c2d0a225554d187793a8099
2415d7f3cc3a4cb98897e91386d861d4b672e824
/src/puremvc/utilities/pipes/messages.py
c8189aae63b178e59f8c87c0193b09a84c06a93f
[]
no_license
Yoriz/puremvc-python-util-pipes
cc4cf60675f4e700736a6bbf6bda13374a37d87e
c8136e648683560c991c0ff359eb14e509f84ee2
refs/heads/master
2021-04-09T16:54:36.803883
2012-11-28T19:16:25
2012-11-28T19:16:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,646
py
''' Created on 26 Nov 2012 @author: Dave Wilson ''' from puremvc.utilities.pipes import interfaces class Message(interfaces.IPipeMessage): """ Pipe Message. Messages travelling through a Pipeline can be filtered, and queued. In a queue, they may be sorted by priority. Based on type, the...
[ "dave.wilson1@ntlworld.com" ]
dave.wilson1@ntlworld.com
d47adad75197246557075f605b07f839b2123a11
d4f1bd5e52fe8d85d3d0263ede936928d5811bff
/Python/Problem Solving/BOJ/boj5724.py
c8ae00d9227f3f31db76e85c3ec8da1ed321f2ee
[]
no_license
ambosing/PlayGround
37f7d071c4402599995a50cac1e7f1a85c6d10dd
0d5262dbb2fa2128ecb3fd969244fa647b104928
refs/heads/master
2023-04-08T04:53:31.747838
2023-03-23T06:32:47
2023-03-23T06:32:47
143,112,370
0
0
null
null
null
null
UTF-8
Python
false
false
327
py
lst = list() idx_lst = list() max_val = -1 while True: n = int(input()) if n == 0: break idx_lst.append(n) if max_val < n: max_val = n for i in range(1, max_val + 1): if i != 1: lst.append(lst[i - 2] + i ** 2) else: lst.append(1) for i in idx_lst: print(lst[i...
[ "jiyang@student.42seoul.kr" ]
jiyang@student.42seoul.kr
ce6dd7b3572bd458bdf2c0016d8e8241ce7d3b27
bd4a7496f732d9268377292616f6973586abf7b6
/login.py
467bba5e37b9677be8aa671ce35edd98b3b0ea4a
[]
no_license
Code-Institute-Submissions/squirrel
35853094cc42e0a32a47c4d8a77d12dee09b9c3d
420022b54af404a3bb1b6580ac52b011d1af8285
refs/heads/master
2022-12-09T20:34:13.704136
2020-08-24T16:14:30
2020-08-24T16:14:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
854
py
from flask_login import LoginManager, UserMixin from config import app, users from bson.objectid import ObjectId """ # USER MANAGEMENT # =============== # The following uses flask_login to create a user class that will be used # throughout the application. """ login_manager = LoginManager(app) login_manager.login_v...
[ "simoncastagna@Simons-MacBook-Pro.local" ]
simoncastagna@Simons-MacBook-Pro.local
6c685c912dc3606c91cb0c2ed32d5fd4d5107297
0e2005613bfbefaa5dd423f74326cf7854f7d83c
/UbuntuScript2.0/script.py
6d5ff2d0f2347ed7f61e7ec65e856b663e0dc466
[]
no_license
xrchsploit/Tricks
1f3bcf4e3f73ece23dba6ef495bdc370ae7b86e3
8a7753bf0c5b881cc09f4a266dee06395e37da69
refs/heads/main
2023-02-20T05:48:24.911850
2021-01-23T03:20:27
2021-01-23T03:20:27
325,204,038
0
0
null
null
null
null
UTF-8
Python
false
false
8,149
py
# Modules that are going to be used import os import time # Colors for text class bcolors: RED = '\033[91m' BLUE = '\033[94m' GREEN = '\033[92m' YELLOW = '\033[93m' NORMAL = '\033[0m' BOLD = '\033[1m' FLASH = '\033[5m' os.system("clear") # Firefox settings, warning, apt fix, GUI updates...
[ "noreply@github.com" ]
noreply@github.com
73ae1bcec05d76e0187dedc15f40138e3430f48b
d95026fe7dbcf749b3cceb3cfd35ffed52d8bc88
/manytomanybug/urls.py
634882c5c914a063fdda9707b828634be91ead9c
[]
no_license
arthurio/manytomanybug
c9d3b028862dcef1cbe56d1b7dfb4c437169bdea
c90bc0451e8ed576a0a52933f3436a7a71c34426
refs/heads/master
2020-12-24T14:18:43.901741
2015-06-18T09:24:02
2015-06-18T09:24:02
37,646,303
0
0
null
null
null
null
UTF-8
Python
false
false
763
py
"""manytomanybug URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.8/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Cla...
[ "arthur@punchtab.com" ]
arthur@punchtab.com
2cae6553ffc000be3d826179dda5c3915a8113fa
36c0890762bde19b7ebb6330da79da46b3c2332e
/course/9/9-3.py
59da17882606ae2032b5175ee8c9a4918636fc4f
[]
no_license
chuanyedadiao/Python-Practice
143857630d8f3129ff62d1063c2b84334dbcd5e7
a5322241b38f2d1304c2a56ee28f4a2ae12490e2
refs/heads/master
2021-01-06T14:45:52.935151
2020-03-03T06:47:20
2020-03-03T06:47:20
241,365,934
0
0
null
null
null
null
UTF-8
Python
false
false
642
py
class User(): def __init__(self,first_name,last_name,age): self.first_name=first_name self.last_name = last_name self.age=age def describe_user(self): print("FirstName:\t"+self.first_name) print("LastName:\t"+self.last_name) print("Age:\t\t"+str(self.age)) d...
[ "chuanyedadiao@gmail.com" ]
chuanyedadiao@gmail.com