blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
a71ffd05c7ed8da0004a6643f8113a36555edba1
915a2ff8665d9b9556e4724cb3f87d5e0758f89a
/clan_icon_scraper.py
1f7e1af8f6a349352d8cded29b2404096e4bd4bb
[]
no_license
chalamka/clan-icon-scraper
0310ed95d64951381a542cd087be490bf1b44dae
c4ba6f8197fbaa8e291fc730e7296f9cba2484d1
refs/heads/master
2021-01-10T13:37:46.801983
2016-03-11T21:49:03
2016-03-11T21:49:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,497
py
from urllib.request import urlretrieve from requests import get from time import sleep def format_download_url(base, clan_id): return base.format(clan_id[-3:], clan_id) def download_icon_from_url(url, filename): img = urlretrieve(url, filename) def get_clan_tag(url, clan_id, api_key): response = get(ur...
[ "chalamka@gmail.com" ]
chalamka@gmail.com
13e937be240dd26fbde79d21036161296f33c930
65f1f8de09ce56f97167b9d680e2778e522c0a82
/apps/home/models.py
61f261d9801118ffb18fe8df6ec07e29edca707e
[]
no_license
yinyaonot/django_shop
f89e6c136f98676dbfa692ed5fb2c3cbb1c8841f
7160129c647915f21e341451143feef9eba03381
refs/heads/master
2020-03-29T01:56:53.164968
2018-09-19T13:18:43
2018-09-19T13:18:43
149,414,646
2
0
null
null
null
null
UTF-8
Python
false
false
5,558
py
from __future__ import unicode_literals from django.db import models class AuthUser(models.Model): password = models.CharField(max_length=128) last_login = models.DateTimeField(blank=True, null=True) is_superuser = models.IntegerField() username = models.CharField(unique=True, max_length=150) fir...
[ "yinyaowhy@163.com" ]
yinyaowhy@163.com
cb66456d1a9e537540c4c7099dff269a2b48c2b9
9e4e654fc91e7fa09fe12809b14ed7e8d302b2b1
/config/settings/development.py
40405c4c014a76fddf63693ee2aa7c443efa16be
[ "MIT" ]
permissive
pablo-moreno/shitter-back
9689a7d20c75304590b8ff59aa880aa48371f220
33c0eb0e0bdff370b68148308ac08ab63b9e6e54
refs/heads/master
2023-08-03T20:50:44.239125
2021-03-19T09:31:12
2021-03-19T09:31:12
286,229,991
0
0
MIT
2021-09-23T06:57:07
2020-08-09T12:10:52
Python
UTF-8
Python
false
false
197
py
from .base import * EMAIL_BACKEND = 'django.core.mail.backends.filebased.EmailBackend' DEV_MIDDLEWARE = [ 'corsheaders.middleware.CorsMiddleware', ] MIDDLEWARE = DEV_MIDDLEWARE + MIDDLEWARE
[ "pablomoreno.inf@gmail.com" ]
pablomoreno.inf@gmail.com
4e495b6e02d7d980aa75cd37a2ef5fe4a49fca2f
686578a34cbddf8907c8bfcdbf3384175079abae
/inicial/PyLadies/settings.py
784d3ee4dd736acfb749abba1c83c1135bb4ba3f
[]
no_license
pyladies-bcn/django2
9d157537c7dd6d202b0eb27f23ff70f2aad29013
e709ab5a367a953d087e65f7c72b897a44b64ab6
refs/heads/master
2021-01-21T13:30:16.821911
2016-05-31T10:00:01
2016-05-31T10:00:01
51,360,083
0
0
null
null
null
null
UTF-8
Python
false
false
2,956
py
""" Django settings for PyLadies project. Generated by 'django-admin startproject' using Django 1.8.9. For more information on this file, see https://docs.djangoproject.com/en/1.8/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.8/ref/settings/ """ # Build pat...
[ "elena.he@idi.gencat.cat" ]
elena.he@idi.gencat.cat
179b004ace92d1a013bb3734818d7fd450343c23
5fdb8e1c62ad28aed309fcd3a968ff0ffb2f06c5
/codeforces/313A.py
6e1480bb8725e4f7291dff06066112391bb73556
[]
no_license
zero1hac/cp-practice
5fd054a9058f313d20e7615d4bc708cb929f40bc
7b518055418dc6ea29d056cd2b020ebec658616a
refs/heads/master
2020-06-02T19:19:34.285853
2018-01-10T18:15:18
2018-01-10T18:15:18
94,103,860
0
0
null
null
null
null
UTF-8
Python
false
false
189
py
n = int(raw_input().strip()) max_ = n if -1*(abs(n)/10) > max_: max_ = -1*(abs(n)/10) if (-1*(abs(n)%10) + int(n/100.0)*10) > max_: max_ = (-1*(abs(n)%10) + int(n/100.0)*10) print max_
[ "6dushyantmishra20101@gmail.com" ]
6dushyantmishra20101@gmail.com
3be1cc1cbe3da3822f1507033315a0b55fd4c5ac
04b1803adb6653ecb7cb827c4f4aa616afacf629
/third_party/blink/web_tests/external/wpt/fetch/content-type/resources/content-type.py
0b5e93b937c293250b33ae2cb2e5cbe43e381a86
[ "LGPL-2.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "GPL-1.0-or-later", "GPL-2.0-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft", "MIT", "Apache-2.0", "BSD-3-Clause" ]
permissive
Samsung/Castanets
240d9338e097b75b3f669604315b06f7cf129d64
4896f732fc747dfdcfcbac3d442f2d2d42df264a
refs/heads/castanets_76_dev
2023-08-31T09:01:04.744346
2021-07-30T04:56:25
2021-08-11T05:45:21
125,484,161
58
49
BSD-3-Clause
2022-10-16T19:31:26
2018-03-16T08:07:37
null
UTF-8
Python
false
false
591
py
def main(request, response): values = request.GET.get_list("value") content = request.GET.first("content", "<b>hi</b>\n") output = "HTTP/1.1 200 OK\r\n" output += "X-Content-Type-Options: nosniff\r\n" if "single_header" in request.GET: output += "Content-Type: " + ",".join(values) + "\r\n" ...
[ "sunny.nam@samsung.com" ]
sunny.nam@samsung.com
d2286f9a2ec7051b95f0462cfd5d39613dfeda7c
2b1a7e6f82c47928a43d000da15d71ebfa04e923
/easy_win.py
d494a5589d254207713443a0b641098b4a0505a1
[]
no_license
Fremont28/march_madness_models-
999681b20af06e67cd4ed8c08d2bbb688041709a
f4b8f0a5789f36aa2788daf85bec30220a30be1e
refs/heads/master
2020-04-27T16:02:56.681500
2019-04-02T15:59:52
2019-04-02T15:59:52
174,470,221
0
0
null
null
null
null
UTF-8
Python
false
false
2,872
py
#march madness random forest modeling? import numpy as np import pandas as pd import sklearn from sklearn import preprocessing from sklearn.model_selection import train_test_split from sklearn.ensemble import RandomForestClassifier from sklearn.linear_model import LogisticRegression import matplotlib.pyplot as plt ...
[ "noreply@github.com" ]
Fremont28.noreply@github.com
9845ddb1b07729b8bf5d45cf74b655b89566a365
94d043275792c6f72ff69610c3b8d4d1dd56f096
/lib/python2.7/site-packages/cpe/__meta__.py
0f16b701ca09118469a7aa77c6a330cbfea12c59
[]
no_license
luckyjd/python2.7_venv_tempv3
d83e79a7cf27e00c0fa3f10b455f1337c8fa6d98
c87af1131591063039cd1c588003d23ea532ec74
refs/heads/master
2020-03-08T19:38:27.441475
2018-04-07T10:51:58
2018-04-07T10:51:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,199
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from collections import namedtuple # Developer definition. # AFAIK: A human being capable of turn pizza & coke into code. Developer = namedtuple("Developer", ("name", "email")) __all__ = [ "__packagename__", "__version__", "__summary__", ...
[ "narusunday@gmail.com" ]
narusunday@gmail.com
5168198c9bfd71064c01239f1e8e5af8cd8b8706
33f752e601866b2fe7649a471fa8fd9d47830ee2
/abundances.py
5b55c3ccd351c80390bd3e356efb05b5cbc39738
[]
no_license
aceilers/spectroscopic_parallax
7ad4cbdfb8d5a5052f39eb212e311744245cd6a2
2e324b2e669503a4b55618ab217f12247ec6aff1
refs/heads/master
2020-03-20T05:10:39.499717
2019-07-31T08:35:53
2019-07-31T08:35:53
137,205,830
7
3
null
2019-07-31T08:35:54
2018-06-13T11:23:51
Python
UTF-8
Python
false
false
9,351
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Aug 8 11:55:49 2018 @author: eilers """ import numpy as np import matplotlib.pyplot as plt import matplotlib import scipy.optimize as op import time import pickle from astropy.table import Column, Table, join, vstack, hstack import sys from astropy.io...
[ "eilers@Christinas-MacBook-Pro.local" ]
eilers@Christinas-MacBook-Pro.local
7f7b017d2b6d812018f24c2aa3d1a7c4f61a0e3d
7d2daf2e5cb120bf1bda2d2b86bbb8e6df7651b4
/docs/0.7/_static/notebooks/first_steps.py
2f1dd5a8b25a78e76f18263a5ce8ff7575987954
[ "MIT" ]
permissive
contrera/gammapy-docs
d99a6c3fcd6946a58e9e0dfc976fbf0b924444f6
1bab4b3be807462449631363571c59d457a6b27f
refs/heads/master
2020-03-31T03:16:01.956605
2018-10-05T07:59:08
2018-10-05T07:59:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,639
py
# coding: utf-8 # # Getting started with Gammapy # # ## Introduction # # This is a getting started tutorial for [Gammapy](http://docs.gammapy.org/). # # In this tutorial we will use the [Second Fermi-LAT Catalog of High-Energy Sources (2FHL) catalog](http://fermi.gsfc.nasa.gov/ssc/data/access/lat/2FHL/), correspon...
[ "Deil.Christoph@gmail.com" ]
Deil.Christoph@gmail.com
eaa43f6111fef04e541cc57c0e88380f7b5acd1b
4142c5a61242f3f1c0c86c36b67a39738de67602
/dlvi/vp/structured_gmm.py
40d44a4fc4b3b5f2c601ff5ebb54a4c8fe7ef956
[ "MIT" ]
permissive
llefolgo/dlvi
49aaba620afc2188d9346c69aaa26676dad77808
2301a04a68668ab9eacc8196d90ea2a001486796
refs/heads/main
2023-08-29T02:17:21.413473
2021-10-13T20:03:54
2021-10-13T20:03:54
414,311,238
5
0
null
null
null
null
UTF-8
Python
false
false
15,729
py
from collections import namedtuple import numpy as np import torch import torch.nn as nn from torch.nn.functional import softmax, log_softmax from torch.nn.parameter import Parameter from torch import Tensor from .base import VariationalParameters class GMMVariationalParameters(VariationalParameters): """ d...
[ "loic@lefolgoc.net" ]
loic@lefolgoc.net
2f270483a4ee5cbb61087a7c2d5bed458ca4ab99
0f0558065c3c1743d5fd72373ecf4bd0a1b62877
/Classifier/generate-reports.py
9c071099de5beba70a20e24fd352a1058da6b972
[ "Apache-2.0" ]
permissive
leonardoads/RecSys-cariris
47b7fbd6c765ddf23581f07b07a0b897addb050c
98098bb072d3ab8f1faed248f350472c62cb199b
refs/heads/master
2021-05-28T21:03:07.592365
2015-05-23T01:14:40
2015-05-23T01:14:40
33,254,116
0
0
null
null
null
null
UTF-8
Python
false
false
892
py
import os from os import listdir from os.path import isfile, join import sys rep_dir = sys.argv[1] def get_files_in_dir(dir_path): return [ f for f in listdir(dir_path) if isfile(join(dir_path,f)) ] dir_path = os.path.dirname(os.path.realpath(__file__)) + "/" + rep_dir + "/" file_paths = get_files_in_dir(dir_pat...
[ "talestsp@users.noreply.github.com" ]
talestsp@users.noreply.github.com
32473ce729fccc6e0b67e307e604207b6a731331
b27913c7372eabc5d736bcec58fd162056c575aa
/venv/Scripts/pip-script.py
e80ef915ca35c04d775fbf5a7fb3365ead6dfc31
[]
no_license
bazhenov4job/soft_test
b39847e3483d45d34b99bf9302bcd2a360a48eb5
556a7b0e8dd9d4068a3227b83952c748d7e444e7
refs/heads/master
2020-12-22T21:30:17.133067
2020-02-02T16:56:44
2020-02-02T16:56:44
236,934,414
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
#!E:\SoftLogic\soft_test\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(...
[ "bazhenov4job@gmail.com" ]
bazhenov4job@gmail.com
bedda5201e8709d0bee28aa1fadd7bd39ea7b648
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/sieve-big-4869.py
e198d69d1cf2a1db2fc927fc579a2edee3123d55
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
31,741
py
# A resizable list of integers class Vector(object): items: [int] = None size: int = 0 def __init__(self:"Vector"): self.items = [0] # Returns current capacity def capacity(self:"Vector") -> int: return len(self.items) # Increases capacity of vector by one element def incr...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
cf20454e79615e13442f661c55ac68676eded721
7542a76c337fd18d83a717c55ef5d31e16609571
/approaches/LAUR.py
43630eebbc8864da577c1b88a98b70285fd32a3b
[]
no_license
kiujhytgtrfd2021/LAUR
1d4b5e36079d11267b5b758d0f631f5c5f247156
5298aa8f31e9d2fef7e965b36cb2f9d2952db734
refs/heads/master
2023-04-18T12:30:07.536815
2021-05-01T05:33:18
2021-05-01T05:33:18
331,555,177
0
0
null
null
null
null
UTF-8
Python
false
false
8,962
py
import sys, time, os import numpy as np import random import torch from copy import deepcopy import utils from utils import * import torch.nn.functional as F import torch.nn as nn from torchvision import models from torchvision.models.resnet import * import math sys.path.append('..') from arguments import get_args ar...
[ "kiujhytgtrfd2021" ]
kiujhytgtrfd2021
43ce7b09dc7802c83f10a9e13d4c6bbc4079408b
9b0c5ee86dbd8c9fdbe671f9e930bca13fd8ba68
/core/text_search/tests/text_search_test.py
4d251a183ffad7e1449c8a36472dc12412d6ccf0
[ "MIT" ]
permissive
echim/pySteps
80813fbd4061968f5cb6afc266fea084f920a769
c33ac3446593b545aece475062d140527dcb443c
refs/heads/master
2021-01-25T13:36:52.929830
2018-08-23T13:32:31
2018-08-23T13:32:31
123,597,946
10
2
null
null
null
null
UTF-8
Python
false
false
686
py
import pytest from pyautogui import typewrite, hotkey from core.enums.tesseract_language_code import LanguageCode from core.helpers.app_manager import AppManager from core.screen.screen import Screen def check_ocr_for_word(word: str): typewrite('%s ' % word) screen_text = Screen.get_text(LanguageCode.ENGLISH...
[ "george.echim@gmail.com" ]
george.echim@gmail.com
59984b1081ab61b5439d11277aa89ee3dc7f1f3c
f0e483c64ef6fe9b2834b61ac5709847bbe0664a
/method/pca.py
2c34c97d7a1de021d0df608094a3c76ab123cd47
[]
no_license
ZCHILLAXY/Car_Insurance_Risk
5d45aef4fb895b1d8facae07e5758b92e3e395e3
c4a55db38cb83dc2a97d538c7bb6f600a84125d3
refs/heads/master
2020-09-14T16:07:55.387279
2019-11-21T13:31:49
2019-11-21T13:31:49
223,178,554
1
0
null
null
null
null
UTF-8
Python
false
false
1,162
py
'''================================================= @Project -> File :car_insurance_risk -> pca @Author :Zhuang Yi @Date :2019/11/19 20:07 ==================================================''' from sklearn.decomposition import PCA from sklearn.preprocessing import MinMaxScaler import numpy as np import pandas as ...
[ "521178260@qq.com" ]
521178260@qq.com
a6905bbe780e3ec516da09e904dd666c96b4f4ff
3782a0412ac48c4ff383f443a4d537fa9b4e627d
/euler029l.py
6318edb8d58d378d9d0629592a63970ae299d24b
[]
no_license
MonsieurGalois/monsieurEuler
495a6eb39c7ccfeab761356f9dd80537404b0bb9
31f3622b4641762ad88a2a73a55cd737e8456658
refs/heads/master
2020-06-07T23:05:26.103838
2014-06-09T04:01:16
2014-06-09T04:01:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
66
py
print len(set([a**b for a in range(2,101) for b in range(2,101)]))
[ "antoniogf0710@gmail.com" ]
antoniogf0710@gmail.com
aadbdd113e9ac3d93dad203d5549f454104cb73f
3bb662400dcd168c66f0ccf7b76c086508721408
/Nuisances/LeptonScale/samples.py
ae70a5614295d55d982f987dd2d34af9ece27c7d
[]
no_license
amassiro/PlotsConfigurationsCMSDAS2019Beijing
4dea76368e2af18e40b9342f2d9863518993be3a
04733d5429c93f073294a942828811891984a2de
refs/heads/master
2020-09-16T12:40:39.425764
2019-12-09T03:13:21
2019-12-09T03:13:21
223,772,812
0
0
null
null
null
null
UTF-8
Python
false
false
8,858
py
import os from LatinoAnalysis.Tools.commonTools import getSampleFiles, getBaseW, addSampleWeight # # function to simplify the life later ... # def nanoGetSampleFiles(inputDir, sample): return getSampleFiles(inputDir, sample, True, 'nanoLatino_') # samples try: len(samples) except NameError: import coll...
[ "massironi.andrea@gmail.com" ]
massironi.andrea@gmail.com
8cfce97e1d57c3a59f1770fd204e848d6bae7536
93092ee9f65e872ccb2826291cfdcaf3c3ae72c9
/store/views.py
3f7dde607142fabbe221fa82813c2e2d4497af20
[]
no_license
SergioRodas/Django-ecommerce
5893d791a6d8d9c953ed4d3389ce277c23b14001
258710dde069ddc9058d9f75d8218e4e14e9899d
refs/heads/main
2023-08-15T18:09:36.431537
2021-10-24T23:52:33
2021-10-24T23:52:33
403,732,841
1
0
null
null
null
null
UTF-8
Python
false
false
2,807
py
from django.shortcuts import render from django.http import JsonResponse import json import datetime from .models import * from .utils import cookieCart, cartData, guestOrder def store(request): data = cartData(request) cartItems = data['cartItems'] order = data['order'] items = data['items'] products = Produc...
[ "sergiorodasbj@hotmail.com" ]
sergiorodasbj@hotmail.com
9f7ea893f084e1877c45b0c221294487922000dd
1688cf63a2513238f3afdccdbb080aa0cca4004e
/learn python without code knowledge-- Craig Richardson/code 标准答案/adventure4/clickSpeed.py
07d706e08fe17a6f4cc037e0c136ff96f6c9588d
[]
no_license
denotepython/pythonbook
34910dd1379e5b5b9dce07c2126d02363af1ac0a
885179a8ca67262c4db7fcb9b2673a3313a3ec92
refs/heads/master
2021-01-22T03:39:21.549355
2016-07-31T07:30:25
2016-07-31T07:30:25
58,024,965
0
0
null
null
null
null
UTF-8
Python
false
false
605
py
import Tkinter as tk import time window = tk.Tk() clicks = 0 start = 0 goal = 10 def buttonClick(): global clicks global start if clicks == 0: start = time.time() clicks = clicks + 1 elif clicks + 1 >= goal: score = time.time() - start label.config(text="Time: " + st...
[ "1134568611@qq.com" ]
1134568611@qq.com
03e695bf3468a037ec087ba0362505eba18c5c69
c292c54b612e8eb7fa5710868fb3dc689ee8245a
/hangman.py
81c86e29c6bef86f9e21b01a2a68965975c2cfa6
[]
no_license
MatanBakva/Hangman
a8b2d9e95c14ad4354b65ef51c5cb0e2761f13f0
6abf5a47b91460f361a54d30016f91b383e14bb5
refs/heads/main
2023-05-13T00:13:24.249974
2021-06-04T10:38:09
2021-06-04T10:38:09
373,805,063
0
0
null
null
null
null
UTF-8
Python
false
false
1,826
py
import os def createEmptyWord(word): emptyWord = "" for i in range(len(word)): emptyWord += "_" return emptyWord def updateFoundLetters(word, letter, found): myword = list(found) for i in range(len(word)): if word[i] == letter: myword[i] = letter re...
[ "noreply@github.com" ]
MatanBakva.noreply@github.com
81cbc6533647d5a0e6e578c584381c6e9044307f
413b05adc23ed37d499b764a378f4f827e37e084
/mysite/blog/forms.py
82582d87d19670961975eddb376ac3da2f278c3f
[]
no_license
daMichaelB/django-demo
746d1f1b17fd5624f716abe0541ec4f59c37b1e4
34ee9bb14eb426cbcf6acb9afc8d81959d9a742b
refs/heads/master
2022-07-23T04:13:49.590761
2020-05-16T20:33:29
2020-05-16T20:33:29
255,151,140
1
0
null
null
null
null
UTF-8
Python
false
false
577
py
""" Forms can reside anywhere in your Django project. The convention is to place them inside a forms.py file for each application. """ from django import forms from .models import Comment class EmailPostForm(forms.Form): name = forms.CharField(max_length=25) email = forms.EmailField() to = forms.EmailFiel...
[ "michael.boesl@t-online.de" ]
michael.boesl@t-online.de
0617798605ed6dcfcc55fb89ecc78c4b66089205
f0db15abbfa7af9d26a77f851d8a9c598ea4dc65
/Revogreen-Technologies-Private-Limited-Assignment/revogreenAssignment/assignmentapp/migrations/0005_inputdata.py
c670a89efc6fb3ce357c67a617b3c697be0c9233
[]
no_license
rajutges/Python-Input-and-Output-UI
adeeb284f01f43c74e553377dfabff65d3d066b2
653af1c5a02b410cef310d2ac997ff61c2d54e8d
refs/heads/main
2023-05-13T06:05:31.709520
2021-06-04T18:33:11
2021-06-04T18:33:11
354,269,208
0
0
null
null
null
null
UTF-8
Python
false
false
530
py
# Generated by Django 3.1.7 on 2021-04-03 04:55 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ('assignmentapp', '0004_delete_inputdata'), ] operations = [ migrations.CreateModel( name='Inputdata', ...
[ "rajutges@gmail.com" ]
rajutges@gmail.com
6ed912496e1cc79cb24ded7571998866efe6d956
181796564d0e8ab53384ff1b93119a3fdad2a6b8
/resnet/seresnet18.py
aea722d23a7209fce39bfc4c656497008a082188
[]
no_license
Hong-Bo/hands-on-pytorch
fa9822b39847e2cf4cd2ca751e0ae7a28389a163
b8ce367cfe1754b69d03a2f78082e04d2cc7f5a7
refs/heads/master
2021-07-12T04:40:48.258060
2019-01-29T09:06:44
2019-01-29T09:06:44
147,145,705
3
0
null
2018-09-17T13:03:55
2018-09-03T03:15:10
Python
UTF-8
Python
false
false
11,883
py
"""An implementation of SEResNet-18 to classify CIFAR-10 dataset The model is slightly tailored in several ways. The original network was designed for dataset with much higher resolution while images in CIFAR-10 only have resolution of 32 * 32. Due to resolution discrepancy, this version of SEResNet-18 has smaller ker...
[ "hongbo@univer.ai" ]
hongbo@univer.ai
dff9daf648c21e002474f1f59dd0ee3c59e0a75d
b620331c9876e09cde7c51e7e6cfd097799b76b7
/Amazon Price Tracker/main.py
1fadaf1f0ca33d46c7b63cc4496deffb139a04ae
[]
no_license
Gupta731/Python-Bootcamp
c785c7a23bdd64e913439fbaf97a34fdd017a5e6
1af7cde93ff377541acdc0befe5d832436aa24f9
refs/heads/main
2023-07-25T21:39:43.973652
2021-09-08T11:09:07
2021-09-08T11:09:07
382,221,905
0
0
null
null
null
null
UTF-8
Python
false
false
1,625
py
import os import requests from bs4 import BeautifulSoup import smtplib from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText AMAZON_PRODUCT_URL = 'https://www.amazon.in/Dell-inch-60-96cm-Full-Monitor/dp/B07FDNTS33' EXPECTED_PRICE = 16000.00 AMAZON_HEADERS = { 'User-Agent': '...
[ "noreply@github.com" ]
Gupta731.noreply@github.com
90457b3947a5e982ae8dcd396dc96c36cf585290
7529e44d6472b73be5ec6815f08037a62214b58a
/converter/forms.py
d5721523b31508900df2d30980d929cef8989e2c
[]
no_license
spacebra/basproj
63275bf8fd9129271743650a18e0c58caae28c6a
498d7a8dd5223949db08fda82a7238d2f7ba74e3
refs/heads/master
2020-05-28T10:13:11.350793
2012-05-10T08:59:00
2012-05-10T08:59:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
672
py
from django import forms from django.db import connection from converter.models import Student class DropDownList(forms.Form): tables = connection.introspection.table_names() seen_models = connection.introspection.installed_models(tables) choice = [] for model in seen_models: if "converter" i...
[ "pianooooooooo@gmail.com" ]
pianooooooooo@gmail.com
13f5b7dd1c8917cdf7aade9b6ea9ee975608d31b
15978aacf0e44a890e36ff94c305aca5a056e5e8
/10day--周六补/04-getpid和getppid.py
ec53cc565bba6bd0c33838ef3262a68ca235a100
[]
no_license
ittoyou/1805_python_2
ffbe613d893208b2454ef4f25cc2b8a9951ff047
1d6331a83598863042912bb26205d34417abed73
refs/heads/master
2020-03-24T13:58:12.276827
2018-07-27T07:58:57
2018-07-27T07:58:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
287
py
import os pid = os.fork() if pid == 0: print("老王") print("我是子进程进程号是%d 我的父亲进程是%d"%(os.getpid(),os.getppid())) else: print("我是父进程我的进程号是%d 我的父亲的进程号是%d"%(os.getpid(),os.getppid())) print("老宋")
[ "qingyuan@geekniu.com" ]
qingyuan@geekniu.com
d5dd57aa2a662b0eb2e43ccd25888c2557a13288
d3b6c811daa758088fbbbcefd802ad4066722c0a
/Heuristic.py
705838d59df3934c727159a833c239afbabaf68e
[]
no_license
ancelinSerre/INF4230_IA_TP1
f08619464b1beef1a04f5392a8968fa0325b9705
5de06d60cd44fe29f2d45a5b5c690b09d41496a9
refs/heads/master
2022-04-05T17:10:31.292845
2020-02-11T22:32:23
2020-02-11T22:32:23
238,564,265
0
0
null
null
null
null
UTF-8
Python
false
false
775
py
import math class Heuristic: def manhattan(src, dest): """ Méthode permettant de calculer l'heuristique de Manhattan entre deux cellules. :param Cell src: Cellule d'origine. :param Cell dest: Cellule destination. :return: La distance de Manhattan entre les deux cellules. :r...
[ "ancelin.serre@outlook.com" ]
ancelin.serre@outlook.com
197f64970d1347c324c7e7f3d9ad25dc1449b71f
b6587f254ca8aed839174826b691632cb14d8d06
/main.py
92e2b48f131532396b3c6c2fec5a418fe5324f6c
[ "MIT" ]
permissive
wy-ei/text-classification
9084925b990a7d9a01141e3f31a9af505979e260
383254773854d8939cd7fcd5100acc10148c0e12
refs/heads/master
2021-07-04T11:26:11.366408
2019-05-26T05:47:28
2019-05-26T05:47:28
188,428,573
11
0
null
null
null
null
UTF-8
Python
false
false
2,289
py
import os import logging import torch import torch.optim as optim import torch.nn.functional as F from torch.utils.data import DataLoader logging.basicConfig(level = logging.INFO, format = "%(asctime)s - %(message)s") logger = logging.getLogger(__name__) from cnn.model import TextCNN from rcnn.model import TextRCNN ...
[ "wangyu_it@yeah.net" ]
wangyu_it@yeah.net
7ab3918aa5cf40b78153f5ca1a7c537f0d13521d
646ba5ab18f09a27be7666097974a46efbcda57d
/cf.py
41dcb6725a4e4b4635f17590ec73e7c5799ef71b
[]
no_license
ivy12138/cf
9b1b8c01364d1acafda4c62f18ae7d4d76e836bb
69476bb57cbc5dcb442968f9f46cb731fef6f00a
refs/heads/master
2020-12-18T09:31:26.255317
2020-01-21T11:59:46
2020-01-21T11:59:46
235,330,440
0
0
null
null
null
null
UTF-8
Python
false
false
66
py
c=input('enter the C:') c=float(c) f=c*9/5+32 print('the F is:',f)
[ "ivylinan12138@gmail.com" ]
ivylinan12138@gmail.com
475e75b8f8bfdc3e3814285a38b122eab525e30d
47ba931b8f96a0e3fe109b6a2c31b96a5db8235d
/nvgd/src/nets.py
911f51b4350a8ede5b6d148f7a454df74ff3a14b
[]
no_license
langosco/neural-variational-gradient-descent
b54f51a125c1fb6e5a1e790942d85c7edc008298
ee4acfde3858be21de25ec13f2a0db5c3fd3bce1
refs/heads/master
2023-06-26T02:42:11.361454
2021-07-29T10:41:16
2021-07-29T10:41:16
390,678,429
7
1
null
null
null
null
UTF-8
Python
false
false
12,386
py
import jax.numpy as jnp from jax import vmap, grad, random import jax import haiku as hk from . import kernels from collections import Mapping def bandwidth_init(shape, dtype=jnp.float32): """Init for bandwith matrix""" d = shape[0] return jnp.identity(d, dtype) def debug_layer(debug=False, out: str = '...
[ "langosco.lauro@gmail.com" ]
langosco.lauro@gmail.com
d983595b39374208caf878802431bbde31485a9f
7c900764f98df8af60af4267c05586e567d9c261
/Data Visualization/lutter_dice.py
c5a88d4bf46eccf7d93ecc317becafc3305b1eaf
[]
no_license
thomas5566/Python-Crash-Course
ed3516a7e022da330b9a0dfc43f8425635d5d441
770f3739864e32a4bfb36394a8686d73a869a924
refs/heads/master
2022-11-27T05:29:19.362593
2020-07-23T07:05:54
2020-07-23T07:05:54
281,876,147
0
0
null
null
null
null
UTF-8
Python
false
false
807
py
from die import Die import pygal # Create a D6 die = Die(48) # Make some rolls, and store results in a list results = [] for roll_num in range(500000): result = die.roll() results.append(result) # Analyze the results frequencies = [] for value in range(1, die.num_sides + 1): frequency = re...
[ "noreply@github.com" ]
thomas5566.noreply@github.com
ca067eaa51836220f003ce78cf9daf86f51621d1
9c93dde4ece0b44b9d8f174390c9a50dc4da1b7d
/selfintro/urls.py
b9605baf010981c6c535e4b54bb956d5d457d905
[]
no_license
hkchy7890/Self-Intro-2020-09-09
2469f1c517c2bb184d5d9af493a16029695a38ad
5090c2729c1e5ea98ae69af55f00a833033576f9
refs/heads/main
2023-01-27T11:14:11.026700
2020-12-05T13:15:53
2020-12-05T13:15:53
294,081,440
0
0
null
null
null
null
UTF-8
Python
false
false
797
py
"""selfintro URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-bas...
[ "hkchy7890@hotmail.com" ]
hkchy7890@hotmail.com
cc579df82cb3f26f3a1f4a2158732c21de8be6e7
f4dfaa03afe2630fa03619cad7299be98be913e7
/before_2021/Q7.py
309d079b29bb57ebd528177b73decd6f28999605
[]
no_license
Jung-Woo-sik/mailprograming_problem
396cd2789bce2ae2c72791326945bd95aada49b7
4ead01e353b30911a24122fe6c7aee3eaac40412
refs/heads/master
2021-11-05T02:47:24.116450
2021-11-04T07:41:27
2021-11-04T07:41:27
152,204,290
2
0
null
null
null
null
UTF-8
Python
false
false
582
py
from collections import defaultdict import heapq def rearrange(string): frequencies = defaultdict(int) for letter in string: frequencies[letter] += 1 heap = [] for char, count in frequencies.items(): heapq.heappush(heap, (-count, char)) count, char = heapq.heappop(heap) result = [char] while heap: last...
[ "o0o0@cs-cnu.org" ]
o0o0@cs-cnu.org
167fa9bdddf2e6faa889f3a340d373c7578eab82
2dd2684655ebca201bffc8b4e311abc92928b624
/practical2/methods/xgboost/util.py
9f6235bf7ce1eaf739eaa74a6f794c62edbbcec1
[]
no_license
victordomene/cs181-practicals
1cf9c9ad8a3433b7b0facd06248bfec5d7baab06
14aff2a09cd4a9d58c759c532f5247541857b5ce
refs/heads/master
2020-12-11T22:18:17.483754
2016-04-29T21:40:28
2016-04-29T21:40:28
51,220,732
0
0
null
null
null
null
UTF-8
Python
false
false
3,452
py
# sets of syscalls all_syscalls = ['processes', 'process', 'thread', 'all_section', 'load_image', 'load_dll', 'open_file', 'get_windows_directory', 'check_for_debugger', 'get_system_directory', 'open_key', 'query_value', 'create_mutex', 'set_windows_hook', 'create_window', 'find_window', 'enum_window', 'show_window', '...
[ "victordomene@college.harvard.edu" ]
victordomene@college.harvard.edu
f2c2fc5b94a20fe8435aa2f84d5980f48a479787
43ec3b32735efd0ca251cac5ac4abc44b9c7a3a0
/username.py
bfb5eb27b3a19b6534485c836d0ef99bd44681b9
[]
no_license
SchneizelX/oop_practice
8d2b94152777fa5304d792b5bed3ab8178ea7e98
170fd4dfeb46123526781f6b15b2910e3f8c3303
refs/heads/master
2021-02-08T05:23:07.993717
2020-03-01T11:56:10
2020-03-01T11:56:10
244,113,676
0
0
null
null
null
null
UTF-8
Python
false
false
343
py
class UserName: def __init__(self, name): if not (4 <= len(name) <= 20): raise ValueError(f'{name}は文字数のルール違反です') self.name = name def screen_name(self): return self.name.upper() hibiki = UserName(name='hibiki') # print(hibiki) # print(type(hibiki)) sho = UserName('sho')
[ "endress_victory@icloud.com" ]
endress_victory@icloud.com
6e0a95d6840dcda00e9a642853559b9ab7d733c3
19212b49da22232c1380b2da8cb89992daf2e640
/tests/context.py
bd79bd1ec8194448e3012f1010cbcfb09febddb8
[ "MIT" ]
permissive
sasaki77/pvarpc2web
a92a0fbe06ea49e1b068e4c2828819a8fcb19293
819fdbfdea4651fa4661c693ec38551f8c3a71e8
refs/heads/master
2020-05-20T02:10:23.894282
2019-05-16T05:58:27
2019-05-16T05:58:27
185,325,924
0
0
null
null
null
null
UTF-8
Python
false
false
303
py
import os import sys import pvarpc2web from pvarpc2web import create_app from pvarpc2web import config from pvarpc2web.pvaapi import pvaapi from pvarpc2web.accessctrl import accessctrl sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) )
[ "shinya.sasaki@kek.jp" ]
shinya.sasaki@kek.jp
a3c16eda272ef3f85077c06a0313d77336a7145b
c6d0537be8966a5560dff53b2edf177dd55c2fa7
/assignment_4.py
d01e362c248e6271b3c434fd05828e7f54693815
[]
no_license
kensk8er/udacity
a21ce120f3a997d0da9875de702fa1d3cb6649af
681f104e79e5b2a105f63bec85af580f74c7224c
refs/heads/master
2021-01-10T08:20:30.804914
2016-03-20T15:12:16
2016-03-20T15:12:16
50,887,275
3
1
null
null
null
null
UTF-8
Python
false
false
8,046
py
# -*- coding: UTF-8 -*- """ Script for assignment 4. """ from __future__ import print_function import os import numpy as np import tensorflow as tf import cPickle as pickle PROJECT_ROOT = '/Users/kensk8er/PycharmProjects/udacity' PICKLE_FILE = os.path.join(PROJECT_ROOT, 'notMNIST.pickle') # assignment parameters I...
[ "kensk8er1017@gmail.com" ]
kensk8er1017@gmail.com
dc6434ce3543373aa719ed06e1edac3d7d983e6c
16b79777a3b627cafc240c237de9acb4eb948883
/option.py
9576f0d0c6a8f04e488ce8e230b720e1214e21f8
[]
no_license
smiler96/Image-Super-Resolution
e8394a5b5b46cb1139b69d21bdf9996b9e0deb66
3d4eb98b4643802f31601f3edf2fe35e8812ab78
refs/heads/master
2022-12-28T09:06:56.038298
2020-10-21T08:09:43
2020-10-21T08:09:43
303,711,401
5
1
null
null
null
null
UTF-8
Python
false
false
7,279
py
import argparse parser = argparse.ArgumentParser(description='Image Super Resolution') # Train or Test parser.add_argument('--phase', type=str, default='train', help='chose the phase for the model, train or test', choices=['train', 'test']) # Hardware specifications parser.add...
[ "wanqian_hust@163.com" ]
wanqian_hust@163.com
d17035de6b5911c40b4cb3b07529449ea464fef3
ab5dfb7e6d14996b8340c5202ad49024d1f1ef02
/grpclib/__init__.py
0a3588e68466cf743000d59ab82de19a532ce2ce
[ "BSD-3-Clause" ]
permissive
SupperSpiderMan/grpclib
f4352fbbfcfc5a286e2174e964f51d0e7428d2ae
89fbfd514f1f377a16d64c5a9732cf71090e0a7a
refs/heads/master
2021-04-23T15:32:45.354275
2020-03-20T12:41:14
2020-03-20T13:05:19
249,936,393
1
0
BSD-3-Clause
2020-03-25T09:27:41
2020-03-25T09:27:40
null
UTF-8
Python
false
false
132
py
from .const import Status from .exceptions import GRPCError __version__ = '0.3.2rc1' __all__ = ( 'Status', 'GRPCError', )
[ "vladimir@magamedov.com" ]
vladimir@magamedov.com
5e17c8ee9007d4d99d9bfa522931c8810c00e8f9
e1a9a44b5447a4d7087f1346ab32a0203a687d57
/accounts/urls.py
d2216ca5f2d1c7c5859f42417942ff4190db9e11
[]
no_license
iam-lama/django-boards
f64c10fe9c3bc9ecc51c01c1f3ec4458a81213c8
b8e93ba2f1ce387abd9f2aa300c1e23fec5f5ef6
refs/heads/master
2020-04-06T16:27:11.442317
2018-11-15T17:12:35
2018-11-15T17:12:35
157,620,429
0
0
null
null
null
null
UTF-8
Python
false
false
263
py
from django.urls import path from django.conf.urls import url from django.contrib import admin from boards import views from accounts import views as accounts_views app_name = 'accounts' urlpatterns = [ url('', accounts_views.signup, name='signup'), ]
[ "lama.m.ghool@gmail.com" ]
lama.m.ghool@gmail.com
b6b5adee388877c577fa79310e071e94f001f166
cdfc590bf6b020d10106c0994609ca3c1797b01a
/project/urls.py
71a43d98a6befb635bd27af465f2d61dbf1fc216
[]
no_license
prashantkhanal/Django
48093494f1389d08a9a60308fe1a26e9e3acf722
72ef0cd5387be3b9526ae342a074f63496b9c3ba
refs/heads/main
2023-05-27T00:31:59.046516
2021-06-18T20:21:23
2021-06-18T20:21:23
378,257,246
1
0
null
null
null
null
UTF-8
Python
false
false
379
py
from django.contrib import admin from django.urls import path, include urlpatterns = [ path('admin/', admin.site.urls), path('', include("Books.urls", namespace="Books")), path('', include("Student.urls", namespace="student")), # path('', include("Teacher.urls", namespace="Teacher")) path('', inclu...
[ "prashantkhanal32@gmail.com" ]
prashantkhanal32@gmail.com
6c36bcd38fddaf1b17e82c50383c05d460021889
4081a8b244ecfba2101f0a22b36defd187ae14b5
/data.py
5eb6c4d610a77f32051d397a30bab2192b119bbd
[]
no_license
bearhsiang/ConvVAE
ba7c090a7601d1308c8daaf488a8f134bea93453
1641e3b3923d5b2d0dd6cb8908ecf9f826d90184
refs/heads/master
2020-09-08T19:35:00.603645
2019-12-02T03:48:58
2019-12-02T03:48:58
221,226,389
0
0
null
null
null
null
UTF-8
Python
false
false
749
py
from torch.utils import data import json import numpy as np class Dataset(data.Dataset): def __init__(self, filename, doc_max_len=20, tle_max_len=20, pad_idx=0): self.data = json.load(open(filename, 'r')) self.len = len(self.data['document']) self.doc_max_len = doc_max_len self.tle_m...
[ "b05902066@ntu.edu.tw" ]
b05902066@ntu.edu.tw
c5e3c38906d2ddb8424939b5993df5bef18264d1
5c5242f97d583402ed50a058dfc65c3716201f23
/import one/fib.py
6975f9f1fb45870be64ca09d1d83cc6f399ec345
[]
no_license
LinLetLetLwin/SFUpython
5d633d5f286a76e7ab3d4df7a9c8460144a8104d
c0a61abbd02c62ec9e0be32dec1ed9d4dc29b3a7
refs/heads/master
2020-12-14T07:50:35.903388
2020-03-07T03:24:47
2020-03-07T03:24:47
234,679,493
0
0
null
null
null
null
UTF-8
Python
false
false
452
py
import fibonacci # f = fibonacci.fib # f(200) # fibonacci.fib(10000) # -------------- # from fibonacci import fib, fib2 # f = fib2(500) # print(f) # ------------ # from fibonacci import * # fib(500) # print(fib2(500)) # -------------- import fibonacci as fi fi.fib(500) # -------------- # #from fibonacci im...
[ "linletlet2002@gmail.com" ]
linletlet2002@gmail.com
cf2b0a6d9feae8b7f1b6a38df7293315e0383914
c7d6ec972b29979aed50ae33151b0d89ef4fde0f
/leetcode/909-snake and ladders.py
c0a84b65c4b24e06952144744b33dab2c0458dc2
[]
no_license
harvey103565/OI-Algorithm-wareh
ad38381f775f404c69c3cd2da12eb0cd724c61c9
84c81fd17c652141d3d194da3481a7241c2accf6
refs/heads/master
2020-03-31T17:43:25.957737
2019-01-11T02:34:47
2019-01-11T02:34:47
152,432,296
0
0
null
null
null
null
UTF-8
Python
false
false
1,768
py
class Solution: def snakesAndLadders(self, board): """ :type board: List[List[int]] :rtype: int """ n = len(board) limit = n * n - 1 routine = [board[i][j] if (i % 2 != n % 2) else board[i][n - 1 - j] for i in range(n - 1, -1, -1) for j in range(n)...
[ "harvey103565@gmail.com" ]
harvey103565@gmail.com
ce523f2e4b163a30d2d9e69e29cd875ce9510f18
260efd3f9de19675c92259e78ee2ed2a4a3b733a
/实验/oTree/my_expriments/models.py
ca055f5f877fea9ea21b9d2a6a46f70336e1c849
[]
no_license
TrinityWei/PycharmProjects
0d719986ee81e28e129277d4308299c82b1e1b4d
c13ad1e13ab0b87e7a85062a13b804ccf0c8bc72
refs/heads/master
2020-06-26T09:41:48.850777
2019-07-30T07:30:10
2019-07-30T07:30:10
199,598,818
0
0
null
null
null
null
UTF-8
Python
false
false
856
py
from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range ) author = 'Your name here' doc = """ Your app description """ class Constants(BaseConstants): name_in_url = 'my_expriments' players_per_group = 3 num_rounds = 1 end...
[ "243315792@qq.com" ]
243315792@qq.com
9a6217ba903db15ce55d5932ce3d99f2f47eda1e
1466a922155c26e5cf759956aee2aaf4f78b132b
/rpyc/utils/zerodeploy.py
27ebcc8388dca28618ec6a03386db1a9869af8e2
[ "MIT" ]
permissive
timharley/rpyc
b8d5f33ed54bb55f132ec06949bd53b7b38db727
367c0d4d2551ab0ba468f81356cd834ab443ea60
refs/heads/master
2021-01-16T00:36:32.173965
2013-05-07T18:15:52
2013-05-07T18:15:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,145
py
""" .. versionadded:: 3.3 """ from __future__ import with_statement import rpyc import socket from contextlib import contextmanager try: from plumbum import local, ProcessExecutionError from plumbum.utils import copy, delete from rpyc.core.service import VoidService except ImportError: import inspect ...
[ "tomerfiliba@gmail.com" ]
tomerfiliba@gmail.com
0934c88cdcd78b708e90bf330ee920b6020e6cd6
41a63e5826f95a092135eeb9977d398ed4bcc102
/day5/day5.py
3957a7f5ae6666467fb86a3d8b3165ae0a66002a
[]
no_license
leej11/advent_of_code_2019
9c49a910c2307aa5b252d22a3b9935f62d2cb15c
a22e2e5cb848f98416dee19a81e77804ce9eb0af
refs/heads/master
2020-09-23T09:19:48.037219
2019-12-16T16:18:37
2019-12-16T16:18:37
225,464,122
1
0
null
null
null
null
UTF-8
Python
false
false
5,139
py
# 1202 Program Alarm # An intcode program # First Number: "Opcode" [1,2,99], indicates what to do test_list = [3,9,8,9,10,9,4,9,99,-1,8] def intcode_computer(input, test_list): x = 0 # This while loop performs the value re-assignment described in the challenge while x < len(test_list) - 1: ####...
[ "lee.gower17@gmail.com" ]
lee.gower17@gmail.com
85d65a51d9f79ae5964d3d25847c06d70bf6cadd
9a169f7ed6ce3b3809c6fc2f081b52f589bb42f7
/Tieba/spiders/tieba.py
fab366ea4ca6af5bb2256340f436aba77c8de355
[]
no_license
ErDangJia0/tieba
0bdc32c735c53f4ac36209a7b5cf2a93d8530bcf
f4254a01d9a74449811445478ed8480baa9f0b5d
refs/heads/master
2020-04-29T10:17:45.523448
2019-03-18T05:49:43
2019-03-18T05:49:43
176,056,984
0
0
null
null
null
null
UTF-8
Python
false
false
1,177
py
import scrapy from Tieba.items import TiebaItem from bs4 import BeautifulSoup import re class TiebaSpider(scrapy.Spider): tName = input("请输入你要爬取的贴吧:") page = int(input("请输入要爬取的页数:")) name = 'tieba' pn = 0 url = 'http://tieba.baidu.com/f?kw=' + tName + '&pn=' start_urls = [url + str(pn)] ba...
[ "568310613@qq.com" ]
568310613@qq.com
05073029ccc857378309cc8e9d2f50defc40c4d1
5a77b5092acf817ac37a5fafd006feea434dd0d6
/terminatorlib/prefseditor.py
b63c5cf0119b062c6162a6b55d55650506d71ba1
[]
no_license
shihyu/MyTool
dfc94f507b848fb112483a635ef95e6a196c1969
3bfd1667ad86b3db63d82424cb4fa447cbe515af
refs/heads/master
2023-05-27T19:09:10.538570
2023-05-17T15:58:18
2023-05-17T15:58:18
14,722,815
33
21
null
null
null
null
UTF-8
Python
false
false
66,362
py
#!/usr/bin/env python2 """Preferences Editor for Terminator. Load a UIBuilder config file, display it, populate it with our current config, then optionally read that back out and write it to a config file """ import os from gi.repository import GObject, Gtk, Gdk from .util import dbg, err from . import config from...
[ "yaoshihyu@gmail.com" ]
yaoshihyu@gmail.com
8ac3a44f6b6bec67bac5320465fb81c6316968c2
63768dc92cde5515a96d774a32facb461a3bf6e9
/jacket/api/compute/openstack/compute/schemas/migrate_server.py
b71561ae9ff7c244124debe5f8a8438ca30924d7
[ "Apache-2.0" ]
permissive
ljZM33nd/jacket
6fe9156f6f5789e5c24425afa7ce9237c302673d
d7ad3147fcb43131098c2a5210847634ff5fb325
refs/heads/master
2023-04-16T11:02:01.153751
2016-11-15T02:48:12
2016-11-15T02:48:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,752
py
# Copyright 2014 NEC Corporation. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required ...
[ "nkapotoxin@gmail.com" ]
nkapotoxin@gmail.com
5b6e7e4d826eb1bf806cb0106ebabe5bb37d2894
0eb03c06419a8119cae168091b3faa4ac1917a47
/ch04/function.py
9ffb91e6cf5582768d59b2ca8754de989f9c561b
[ "MIT" ]
permissive
AngelLiang/python3-stduy-notes-book-one
15bd7052b25f500cb3d5be9ebc896671261964aa
6bd62707aaba4f20dec5c622a35f55a8870ff82d
refs/heads/master
2020-12-03T03:19:07.233983
2020-01-03T03:35:37
2020-01-03T03:35:37
231,194,900
0
0
null
null
null
null
UTF-8
Python
false
false
2,901
py
"""函数 # 创建 函数由两部分组成:代码对象持有字节码和指令元数据,负责执行; 函数对象则为上下文提供调用实例,并管理所需的状态数据。 >>> def test(x, y = 10): ... x += 100 ... print(x ,y) ... >>> test # 函数对象 <function test at 0x...> >>> test.__code__ # 代码对象 <code object test at 0x..., file "...", line 1> 代码对象的相关属性由编译器生成,为只读模式。 存储指令运行所需的相关信息,诸如源码行、指令操作数,以及参数和变量名等。 >>> ...
[ "E7EE477C11C98D403F318118733EAA5C@i-search.com.cn" ]
E7EE477C11C98D403F318118733EAA5C@i-search.com.cn
b31b060f47b19518a9e6260ac1453f7ea19a6dda
4249ac094475c753ad0714b0967663320ba076f5
/musicdir.py
9e1d7d20a273ba661c4433f429e43857fce6ce1d
[ "MIT" ]
permissive
fxnn/musicdir
4f3ab033f5aa07a204023a3bacbd5f9397dc2a67
b4dfb33457031cd464b11a4e2d39a53cf829cca6
refs/heads/master
2022-04-20T22:35:47.857906
2020-04-19T13:09:28
2020-04-19T13:09:28
256,725,517
0
0
null
null
null
null
UTF-8
Python
false
false
853
py
#!/bin/env python import os known_music_extensions={'mp3', 'flac', 'ogg', 'wav', 'wma', '3gp', 'aac', 'aiff', 'au', 'dss', 'm4a', 'oga', 'opus', 'webm'} class MusicDir: def __init__(self, abspath): self.abspath=abspath self.dirs=set() self.files=set() self.extensions=set() def...
[ "dev@fxnn.de" ]
dev@fxnn.de
fb5b8741a7f3ab1b0292653c1e456d52c6fbf297
27acd9eeb0d2b9b6326cc0477e7dbb84341e265c
/test/vraag4/src/warmste-week/44.py
d719315393ffa6bef0b3edfc9fb3c08bf9786cf3
[]
no_license
VerstraeteBert/algos-ds
e0fe35bc3c5b7d8276c07250f56d3719ecc617de
d9215f11cdfa1a12a3b19ade3b95fa73848a636c
refs/heads/master
2021-07-15T13:46:58.790446
2021-02-28T23:28:36
2021-02-28T23:28:36
240,883,220
1
1
null
null
null
null
UTF-8
Python
false
false
249
py
def gift_inschrijven(tup,woordenboek): klas=tup[0] bedrag=tup[1] if klas in woordenboek: geld=woordenboek[klas] geld+=bedrag woordenboek[klas]=geld else: woordenboek[klas]=bedrag return woordenboek
[ "bertverstraete22@gmail.com" ]
bertverstraete22@gmail.com
946c2fb4e2993f80551423a844becf5b6d7fdf81
add077a907a8adf4ef384f037f223506bd25850a
/train.py
9278a98cf801ea08c53a5803a605e426ba61e866
[ "MIT" ]
permissive
qwzhong1988/DeepIQA-1
f144067ed595df01772095847533c9e52dfadbc7
8c11a2a20bfe15ac26362a67bed6591ba98836fd
refs/heads/master
2021-06-18T05:10:36.899483
2017-06-20T05:03:21
2017-06-20T05:03:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,668
py
# -*- coding: utf-8 -*- """ Created on Tue Feb 28 15:49:24 2017 @author: justjay """ import numpy as np import random import argparse from iterator import SerialIterator import chainer from chainer import cuda from chainer import serializers from chainer import optimizers from chainer import datasets from chainer imp...
[ "995020655@qq.com" ]
995020655@qq.com
dbb36061f2cfc9b091523703c3902175d4a421b9
093c8a23448ff847649e9507a061457793f43813
/Admin UI/SSH.py
7e7820d1d32bd893b90f8e4df9aec33a26c2ec3f
[]
no_license
alexperkins/Senior-Design
080ada61d359da48452a99fe442028a620981b83
5aee83efc369b69d5a8d4212877a617d1bf6dd8f
refs/heads/master
2020-07-31T13:49:42.727902
2020-04-24T17:04:16
2020-04-24T17:04:16
210,623,827
0
1
null
null
null
null
UTF-8
Python
false
false
955
py
import os import paramiko from datetime import datetime import Authorization def getLog(sourcePath,destinationPath,fileString): currentDate = datetime.today().strftime('%Y-%m-%d') newLogFile = fileString + currentDate + '.log' localPath = destinationPath + newLogFile #destination path remote...
[ "noreply@github.com" ]
alexperkins.noreply@github.com
489bcb93be6187df718facdbb8397383188b4e5d
024b434652c3e329bc7740c7b0c1776c7d6da54f
/cli/connect.py
0c1a53603414dd086019f90c68d2b9f84431d230
[ "MIT" ]
permissive
Barski-lab/cwl-airflow-cli
3bffa85b519bc7ad645a798327af19fafb570639
ede2928fb1cb161ae985d11a365ae2e6da4afa97
refs/heads/master
2021-01-20T22:05:42.415130
2017-09-16T19:38:25
2017-09-16T19:38:25
101,799,674
1
0
null
null
null
null
UTF-8
Python
false
false
816
py
#! /usr/bin/env python import MySQLdb import urlparse class DbConnect: """Class to get access to DB""" def __init__(self, conf): self.sql_conn_url=urlparse.urlparse(conf.get('core', 'sql_alchemy_conn')) self.connect() def connect(self): self.conn = MySQLdb.connect (host = self.sq...
[ "misha.kotliar@gmail.com" ]
misha.kotliar@gmail.com
e5787ad9acf58585924c86ca9994a3c142f6c94b
060ce17de7b5cdbd5f7064d1fceb4ded17a23649
/fn_cisco_umbrella_inv/fn_cisco_umbrella_inv/components/umbrella_dns_rr_hist.py
e69d2201b06fc738b42f948cd0c24e135de5bb51
[ "MIT" ]
permissive
ibmresilient/resilient-community-apps
74bbd770062a22801cef585d4415c29cbb4d34e2
6878c78b94eeca407998a41ce8db2cc00f2b6758
refs/heads/main
2023-06-26T20:47:15.059297
2023-06-23T16:33:58
2023-06-23T16:33:58
101,410,006
81
107
MIT
2023-03-29T20:40:31
2017-08-25T14:07:33
Python
UTF-8
Python
false
false
7,764
py
# -*- coding: utf-8 -*- # pragma pylint: disable=unused-argument, no-self-use # (c) Copyright IBM Corp. 2010, 2018. All Rights Reserved. """ Resilient functions component to run an Umbrella investigate Query - DNS RR History for an IP Address or domain against a Cisco Umbrella server """ # Set up: # Destination: a Q...
[ "travis@example.org" ]
travis@example.org
ac55f935824cc589ef7c983338bce064e6b98063
c4d32f9e2b93546da52d7b2a694b6cabd439b390
/code/0540_Single_Element_in_a_Sorted_Array.py
133c3d4a71c5344f2ee9d926601c8e86c25d525e
[]
no_license
LuLu0616/LeetCode-Notes
a8be0298e4b70e27ffc4f24c3f86db9776ffb1a2
cbe4bfeaff3e28c9006a7955a7e05badd5f6311f
refs/heads/master
2020-04-30T14:13:45.703029
2019-03-28T08:20:05
2019-03-28T08:20:05
176,884,214
2
0
null
null
null
null
UTF-8
Python
false
false
490
py
if __name__ == "__main__": nums = [3, 3, 7, 7, 10, 11, 11] p = 0 q = len(nums) - 1 m = 0 while p < q: m = p + int((q - p) / 2) if nums[m] == nums[m-1]: if (m - p) % 2 == 0: q = m - 2 else: p = m + 1 elif nums[m] == nums[...
[ "noreply@github.com" ]
LuLu0616.noreply@github.com
cae2e7c61f3fc891c4c22b2035e652a02bcedaaa
680dc4419a1f01d2f10faa373bfcf7b678f4ec30
/Semana02/prog021.py
47af2b60637561f8718c40fb978484d5f157f0b5
[]
no_license
G1998P/SEII-GuilhermePeresSilva
db643e06b64214c6fba7fb5e32813e46b872d816
a3dfc51cfb1dd2792c2f8e29c7f51ed1f345784c
refs/heads/main
2023-08-24T08:41:33.780123
2021-10-07T00:49:47
2021-10-07T00:49:47
389,200,079
0
0
null
null
null
null
UTF-8
Python
false
false
565
py
import matplotlib.pyplot as plt import numpy as np import pandas as pd # grafico x = list(range(5)) y = list(range(0, 9, 2)) # plt.plot(x, y,label='2x',color='red',linewidth=2,marker='.',markersize=10,markeredgecolor='blue') # modo curto plt.figure(figsize=(5,3),dpi=300) plt.plot(x, y,'b.:',label='2x') x2 = np.aran...
[ "noreply@github.com" ]
G1998P.noreply@github.com
898c7fdc35cdd2140eb84969221780ce35fd9f7a
b64926b053b9d58e4ad8caca65338429d2d90bdb
/test/test_fax.py
a3f437a0160db4770e4922a3e359cbc0f5646570
[ "MIT" ]
permissive
vyshakhbabji/ringcentral-python
569a88406cce00c86c3a1969d518ee5eac082569
cecc28c432e79a4df8ae8e4f82aeef01379970b3
refs/heads/master
2021-01-22T10:14:12.303122
2017-02-07T05:58:29
2017-02-07T05:58:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,022
py
from .test_base import BaseTestCase import json import os class FaxTestCase(BaseTestCase): def test_send_fax(self): with open(os.path.join(os.path.dirname(__file__), 'test.png'), 'rb') as image_file: files = [ ('json', ('request.json', json.dumps({ 'to': [{ 'phoneNumber': self.r...
[ "tyler4long@gmail.com" ]
tyler4long@gmail.com
1df2600d8c656c173d057730d0e60c60b14002b5
25b8fc45ef868e0adf743f184f4b4592b45e4896
/app/decorators.py
1a63b0508fc3a251cec9ed1505a694b5532bdde2
[]
no_license
klimpie94/flask-social-blog-app
db909b75fb817935bbaa25a8704ca0ac290b6c19
03d4273b1428533a8d0f57248504fa6f5d901b74
refs/heads/master
2023-03-24T01:33:39.844366
2021-03-20T19:23:11
2021-03-20T19:23:11
328,805,632
0
0
null
null
null
null
UTF-8
Python
false
false
638
py
from functools import wraps from flask import abort from flask_login import current_user from .models import Permission # https://stackoverflow.com/questions/5929107/decorators-with-parameters def permission_required(permission): def decorator(f): @wraps(f) #https://stackoverflow.com/questions/308999/what-...
[ "anis_arsenal@hotmail.com" ]
anis_arsenal@hotmail.com
613b84d02fa522b2ef58e39899aff174cccde373
8695c635ce7d8dc15c6f36429e57705e44545a16
/Bot/Bot/pipelines.py
a4852cafd0978d155d16db77ae0238930da08deb
[]
no_license
zhuyingqin/Jpider
95d00413cbd66e32e6ac2dcd68c67263aa7f4c41
4c31147b6ff9b17455d4c906840d651c29f1a7b2
refs/heads/master
2021-05-10T12:14:33.944908
2018-01-23T10:34:23
2018-01-23T10:34:23
118,434,486
7
1
null
null
null
null
UTF-8
Python
false
false
303
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://doc.scrapy.org/en/latest/topics/item-pipeline.html class ExPipeline(object): def process_item(self, item, spider): item.save() return ite
[ "1781484849@qq.com" ]
1781484849@qq.com
c61bf4d6adf3b35f23f36c4289ff8dbde9af81bb
a8d615cb0d6495cc0800d74d8adcae71e54c94ed
/bhand/cli.py
0171f2f337879a6d44ea2e70857ccf4e921b2f7e
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0", "LicenseRef-scancode-dco-1.1" ]
permissive
rerobots/brunel_hand_cli
55fc04911c928fbe4d2e64fa1e3837f5664b8e42
1834d06fade2afeeab8a5ad4bbe2b1c1eb086a68
refs/heads/main
2023-02-08T08:59:08.093855
2023-01-30T01:37:27
2023-01-30T01:37:27
87,656,536
1
0
null
null
null
null
UTF-8
Python
false
false
7,147
py
#!/usr/bin/env python # Copyright (C) 2017 rerobots, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
[ "scott@rerobots.net" ]
scott@rerobots.net
c70ba4a760d383cbe9f83c83caa406e0a58dbc48
cc15af2ccc401b2d1d8fcfd219295121c1cece5d
/ROAR/utilities_module/module.py
1ca90b65b5f5f492aaf34919218b5ed8d633b876
[ "Apache-2.0" ]
permissive
moonwonlee/ROAR
755277c5f79df67a78896e2739764eac6b7e0e7e
1e189d895ac34197b8c8fc3017970cb706feb3e6
refs/heads/main
2023-06-15T22:35:29.796573
2021-07-02T20:27:39
2021-07-02T20:27:39
359,383,030
1
0
Apache-2.0
2021-07-02T20:27:40
2021-04-19T08:23:58
Python
UTF-8
Python
false
false
1,297
py
from abc import ABC, abstractmethod import time from pathlib import Path class Module(ABC): def __init__(self, threaded=False, update_interval: float = 0.5, should_save: bool = False, name: str = "module", **kwargs): self.threaded = threaded self.update_interval = update_interval ...
[ "wuxiaohua1011@berkeley.edu" ]
wuxiaohua1011@berkeley.edu
445cee4ced19d187b52c5337b3428623190cbb8e
d81f671303c20c8c076d9551e7ba03d55ac5e2b7
/mayo/net/graph.py
376b922fd3e6e76ad5831be0c91ad3802cd94fa7
[]
no_license
randysuen/mayo
591cce68c083ae59f6d809346448f279a905ef1a
a382c150eeab134470520d51c6fb9ccca91ccaff
refs/heads/master
2020-03-22T08:38:34.465270
2018-06-13T15:17:13
2018-06-15T07:19:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,161
py
import re import copy import pprint import weakref import itertools import collections import networkx as nx from mayo.util import ensure_list, recursive_apply def _replace_module_kwargs(params): kwargs = params.get('kwargs', {}) replace_map = { key: params.get(key, default_value) for key, d...
[ "gxtfmx@gmail.com" ]
gxtfmx@gmail.com
879fa828d2c4d7e15baf0248e85789f9420bdfab
6434db6451e2782cdfbf24894de828d0c07bc0ff
/blog/migrations/0001_initial.py
e7689e180f67ca8e25be12d809867d736dcdebe6
[ "MIT" ]
permissive
fullst4ckcode/blog-django3
06e19aa8693cc4198e71818a2dbf5767ec2dbb64
bd9aba68a5bf24dee5067256ed5f21b27b0b4de4
refs/heads/master
2023-02-28T01:49:35.473395
2021-01-29T18:34:36
2021-01-29T18:34:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,304
py
# Generated by Django 3.1.5 on 2021-01-28 12:34 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUT...
[ "freetechcode@yahoo.com" ]
freetechcode@yahoo.com
4e168c90de4d94bce20aae2dc651e906c9ddab35
99cde1a485b87f1253cabc3ac131b63525a2990b
/users/views.py
505857249b50839737e49d66b163c1d0eaf85c92
[]
no_license
NamCheolKim/airbnb-clone
ee7efd01670bae56e99c943d8c5aad3cd40a780c
80cbcaac314f0c0a3d32ebd98b6681a74eb28a8e
refs/heads/master
2021-06-29T19:22:21.348900
2021-02-25T08:45:44
2021-02-25T08:45:44
220,784,134
0
0
null
null
null
null
UTF-8
Python
false
false
12,599
py
import os import requests from django.utils import translation from django.http import HttpResponse from django.contrib.auth.views import PasswordChangeView from django.views.generic import FormView, DetailView, UpdateView from django.urls import reverse_lazy from django.shortcuts import redirect, reverse from django.c...
[ "tube@tubeui-MacBook-Pro.local" ]
tube@tubeui-MacBook-Pro.local
e24929005b477bee628302659a985e0d691ee09d
0a85f78b84466893783a2b88799aa25675694345
/chatbot/corpus/baobaowhisperdata.py
4da25136d85b670a382397d6a0b606375bc4d932
[ "Apache-2.0" ]
permissive
zxzx74147/DeepQA
471c864af70a92e6c123a365be6c70c59fa0b181
71d1a4e0ac1d2897327bc654dd09df1e46137c94
refs/heads/master
2021-08-28T14:03:05.680423
2017-12-12T11:56:42
2017-12-12T11:56:42
107,098,315
0
0
null
2017-10-16T08:16:18
2017-10-16T08:16:18
null
UTF-8
Python
false
false
3,307
py
# Copyright 2015 Conchylicultor. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
[ "zxzx25952@gmail.com" ]
zxzx25952@gmail.com
fad413cdf0ebf545f27260b7ed0593f679b3b9cf
e6bc1f55371786dad70313eb468a3ccf6000edaf
/Datasets/the-minion-game/Correct/076.py
fa39bfcd0f041cb2eb3e2c8fd566a8a06327f68b
[]
no_license
prateksha/Source-Code-Similarity-Measurement
9da92e3b22c372ed6ea54d8b6ab2c5921e8c41c0
fb371b837917794d260a219a1ca09c46a5b15962
refs/heads/master
2023-01-04T07:49:25.138827
2020-10-25T14:43:57
2020-10-25T14:43:57
285,744,963
3
0
null
null
null
null
UTF-8
Python
false
false
342
py
def minion_game(string): vowel =['A','E','I','O','U'] S=0 K=0 for i in range(len(string)): if string[i] in vowel: K+= len(string)-i else: S+=len(string)-i if S>K: print("Stuart"+" "+ "%d" % S) elif K>S: print("Kevin"+" "+'%d' % K) else:...
[ "pratekshau@gmail.com" ]
pratekshau@gmail.com
93cb659cc937c48743eba02e0c00a723442a776e
9854dbc28a1fcca6268d735c47280822ebe25a16
/application/flask_sqlalchemy.py
bacdac43af118a77a3fe9254f7be2579f64d25af
[]
no_license
klfoulk16/recreate-flask-sqlalchemy-tutorial
d5d2c9e952c67cb32acc04803f21fc27c4978163
d9891ab326991d89d5f5f5b9482045e619cfe436
refs/heads/main
2023-02-17T07:39:38.353269
2021-01-22T20:07:17
2021-01-22T20:07:17
331,976,542
5
0
null
null
null
null
UTF-8
Python
false
false
1,712
py
import sqlalchemy from sqlalchemy.ext.declarative import declarative_base import flask class Flask_SQLAlchemy: def __init__(self): """Create instance of class to be used when defining tables""" # tell SQLAlchemy how you'll define tables and models self.Base = declarative_base() def in...
[ "klfoulk16@gmail.com" ]
klfoulk16@gmail.com
b180a01aa11f5aeaab18cb3fba9d1d79c72784d0
b9192b43b37f5347a95ae86dbd00c2867cc23a16
/scripts/BestETS.py
c49161afa0f2256f8491c94b88548377c5dc19e0
[]
no_license
alketcecaj12/PolisEye_Experimentation
68b905984d2340c8b55cf62e7f84c24fca739b4c
ed1d9ff4111feff7f1282037e62722900caa9aa3
refs/heads/master
2023-08-25T02:37:26.069080
2021-09-27T12:27:23
2021-09-27T12:27:23
410,818,274
0
0
null
null
null
null
UTF-8
Python
false
false
5,598
py
from statsmodels.tsa.holtwinters import SimpleExpSmoothing from random import random import matplotlib.pyplot as plt from statsmodels.tsa.seasonal import seasonal_decompose from statsmodels.tsa.stattools import adfuller import pandas as pd import numpy as np from pandas import datetime from random import random from pa...
[ "alket.cecaj@unimore.it" ]
alket.cecaj@unimore.it
b3aa8d40a9d1110d654d7483b38f77c4184c5fe8
770e2091d4d571bd4bfeeefbd0755129ef79d2cf
/matplotlib/5.py
e6dc037d574d73aa6187c890e876aff42ff3390f
[]
no_license
youjia4321/data_analysis
24d4897562b07fa9f7effb2f4f6add9b87fb5807
4f2e4a0389e0bbf67b654b9e9fe12088133cddbe
refs/heads/master
2020-04-27T10:42:58.664049
2019-03-08T02:58:18
2019-03-08T02:58:18
174,266,384
0
0
null
null
null
null
UTF-8
Python
false
false
523
py
import numpy as np import matplotlib.pyplot as plt mu, sigma = 100, 15 x = mu + sigma * np.random.randn(10000) # 数据的直方图 n, bins, patches = plt.hist(x, 50, density=1, facecolor='r', alpha=0.75) # for i in patches: # print(i) plt.xlabel('Smarts') plt.ylabel('Probability') plt.title('Histogram of IQ') plt.text(60...
[ "noreply@github.com" ]
youjia4321.noreply@github.com
2df5fd4f9660284d61d121fa8971197b1d211389
95e97eb3d18ce25239d57e2d9de95c61c5fbdbf3
/Tutorials/venv/Inheritance_Chef_App.py
2019db8e094159755509cf40534825dcf2ea1b00
[]
no_license
jackG97/PythonUdemyCourse
f65bfbbf88cc6d32dc3125133f3633c6cc20661c
a2e5a635d316d87b658d7071d86c716057875ae0
refs/heads/main
2023-04-22T17:50:13.237745
2021-04-27T13:31:13
2021-04-27T13:31:13
351,476,395
0
0
null
null
null
null
UTF-8
Python
false
false
213
py
from Inheritance_Chef import Chef from Inheritance_Chef_Chinese import ChineseChef myChef = Chef() myChef.make_chicken() myChef.make_special_dish() myChineseChef = ChineseChef() myChineseChef.make_special_dish()
[ "jackgallaher36@gmail.com" ]
jackgallaher36@gmail.com
0f5cb35930f5208d39ec2592d907071525142e1b
08d163710a17497d81e2bc4b53c77b2c787f2baa
/src/dataset/gtsrb.py
a649dab3498c19c716ce3d6906fe22a5fc8ad9e1
[ "MIT" ]
permissive
ngonthier/dti-sprites
7a9b80601b26bd760635d371500e34b15f409932
7c41b8bf15916f2ac14d6c0de795cd32e4689672
refs/heads/main
2023-04-30T21:51:01.183767
2021-05-14T11:56:14
2021-05-14T11:56:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,846
py
from abc import ABCMeta from functools import lru_cache from PIL import Image import numpy as np from torch.utils.data.dataset import Dataset as TorchDataset from torchvision.transforms import Compose, Resize, ToTensor from utils import coerce_to_path_and_check_exist, get_files_from_dir, use_seed from utils.image imp...
[ "tom.monnier@hotmail.fr" ]
tom.monnier@hotmail.fr
52813bfbe2857a1b8c207518f521af82c8c11fdd
3324d9eaca3b25c27402c76b774164c98d9f10d0
/InitCertificados.py
6fcf000dd79490020568521a459cb727c4241b12
[]
no_license
mavino4/AFP_scrap
02d98cc91e7df12465e44420c4ba70f8193c7d3e
12e8c0dfe2d2cab060524ada49abf4b44956e628
refs/heads/main
2023-07-09T20:37:09.510226
2021-08-14T15:24:07
2021-08-14T15:24:07
393,485,777
0
0
null
null
null
null
UTF-8
Python
false
false
4,116
py
from selenium import webdriver import time download_directory = "/media/F/sevima/CertificadosScrap" # iNTRODUCCIÒN DE DATOS PATERNO = "QUISPE" #input("Apellido Paterno: ") MATERNO = "AQUISE" #input("Apellido Materno: ") NOMBRES = "JHONATAN" ...
[ "marco.antonio.vino@gmail.com" ]
marco.antonio.vino@gmail.com
7835d7fea00e4dcad46bf9117f2c76e5d0e341a4
65b4522c04c2be071c2d42095956fe950fe1cebe
/inversions/inversion11/best_model/predict/analysis/pred_disp_large_scale/plots/post_disp/gen_post_disp.py
2d7cabac2102b3f35527307245505ab7abce8bca
[]
no_license
geodesy/viscojapan
ac0cd93f7a2134cd2651623b94879dcc21c0c46a
03e70265b56eb5994e73bcb6066f0be338e42f27
refs/heads/master
2021-03-03T18:19:07.779601
2015-07-16T03:50:49
2015-07-16T03:50:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
593
py
import numpy as np import viscojapan as vj res_file='/home/zy/workspace/viscojapan/inversions/inversion10/iter2/run7/outs/nrough_05_naslip_11.h5' reader = vj.inv.ResultFileReader(res_file) disp = reader.get_pred_disp() post = disp.get_post_at_nth_epoch(-1) sites = disp.get_sites tp = np.loadtxt('stations_large_sc...
[ "zy31415@gmail.com" ]
zy31415@gmail.com
41265b2b026bbfda5edb0931161ec922a2b5efbf
c45341942bae8f70c9ace28d0c2de8728ef452ff
/login.py
1ec4b2646d05a053f2be81a5847be7101bbbf364
[]
no_license
wsasocket/webvulndemo
298d5bab08466b56b481eeb4dc2dcb66ab429268
c0617573442557d6ee3555737cafda09e44832c3
refs/heads/master
2020-09-12T06:13:59.256140
2019-11-18T02:52:14
2019-11-18T02:52:14
222,337,614
0
0
null
null
null
null
UTF-8
Python
false
false
7,574
py
import base64 import hashlib import json import os import sqlite3 import mysql.connector from flask import Flask from flask import send_file from flask_restful import Api, Resource, reqparse from edit import edit_info from utils.sys_token import sys_token app = Flask(__name__) api = Api(app) parser = reqparse.Reque...
[ "18911781163@163.com" ]
18911781163@163.com
7c0a3c20d0df1689796a36e329feeb27f6a7a664
8deb82d52eba270da6ed2a6d786b7b4f9342e148
/Converter_1.py
95fe13685771e640dd641cae669b0a6c731fb9a7
[]
no_license
lowelab/scripts
38281696601484c9891a3351adc85a253f524bf4
9d656faa8533f78e8ff8e0d9f3cea01c771c1a9d
refs/heads/master
2016-09-03T07:31:57.153249
2015-09-28T05:12:02
2015-09-28T05:12:02
41,137,025
0
0
null
null
null
null
UTF-8
Python
false
false
1,713
py
#!/usr/bin/env python Usage =""" Converter.py - version 1.0 Convert STRUCTURE SNP input file (tab delimited txt file) into TREEMIX input file. Save to new .txt file Usage: Converter.py *.txt 2(column containing population data, and immediately before snp data columns) > *TreeMix.txt """ import sys import csv if ...
[ "josephine.gerlach@adelaide.edu.au" ]
josephine.gerlach@adelaide.edu.au
2997cc78f67022bca812170c46f66d8313209acb
0ce6b40e2a2ae8d3e1a016538f6b16431349340c
/app/refresh.py
6cf5f6bf416f2610e10f2c178061730810179072
[ "Apache-2.0" ]
permissive
ForomePlatform/anfisa
d5b2d121a3a504bfabfe451b1d96b33463807f73
95d32607c50bcec2119186c121a6e35904bcb069
refs/heads/master
2023-02-04T04:21:25.082041
2022-10-25T16:25:30
2022-10-25T16:25:30
143,028,025
9
36
Apache-2.0
2023-01-31T19:55:07
2018-07-31T14:46:39
Python
UTF-8
Python
false
false
3,313
py
# Copyright (c) 2019. Partners HealthCare and other members of # Forome Association # # Developed by Sergey Trifonov based on contributions by Joel Krier, # Michael Bouzinier, Shamil Sunyaev and other members of Division of # Genetics, Brigham and Women's Hospital # # Licensed under the Apache License, Version 2....
[ "michael.bouzinier@kvitneset.com" ]
michael.bouzinier@kvitneset.com
107ef4e3d0f741079d4b7ad0fa3f9389b8af268d
b873df189cca0ce29b662ac771d4bc2ded4a4640
/rede-client/src/userede/mappers/commons/brand.py
5e6c98cda19b4f6ec8e6d9ae9f502da30b55f9d5
[]
no_license
marcioinfo/ApiClient
e0d3af1019da6a2afb4f73ec1505458cc9e312dc
6cc7c13cd45ea5a1db98ab32e80be81ddac3e0b2
refs/heads/master
2020-09-13T08:34:28.677857
2019-11-19T14:23:11
2019-11-19T14:23:11
222,712,775
0
0
null
null
null
null
UTF-8
Python
false
false
438
py
from enum import Enum, unique, auto @unique class Brand(Enum): MASTERCARD = auto() VISA = auto() DINNES = auto() CABAL = auto() SICRED = auto() SOROCRED = auto() HIPERCARD = auto() CUP = auto() CALCARD = auto() CONSTRUCARD = auto() AVISTA = auto() CREDSYSTEM = auto() ...
[ "marciocorrea@Mac-mini-de-Marcio.local" ]
marciocorrea@Mac-mini-de-Marcio.local
9e9c3add151023e51852a1cebfd7c398e313e3df
2311bd51e0edd32794746dc1aac9685a4d9c7ac7
/trainer/task.py
31c17f5deca91da36c8c01469af221909d49a30a
[]
no_license
robert-yaman/protein_folding_NN
4a2dd7ee7cd595c06dae92f909b7bdf685f3239f
f675de9e0db2e66581325c05184fc8f5a02d0738
refs/heads/master
2021-05-06T05:12:35.189570
2018-01-05T00:01:52
2018-01-05T00:01:52
115,061,271
0
0
null
null
null
null
UTF-8
Python
false
false
4,146
py
import argparse import tensorflow as tf import os import sys import data import validate sys.path.insert(1, os.path.join(sys.path[0], '..')) from model.model import ProteinFoldingModel from model2.model2 import ProteinFoldingModel2 MODEL_MAPPING = { 1 : ProteinFoldingModel, 2 : ProteinFoldingModel2, } def main(ar...
[ "robert.e.yaman@gmail.com" ]
robert.e.yaman@gmail.com
b4c43d591a05c307702228d8b14960d6a795df9b
f0898c857c8f3804ea290bdf295adb45f3e015a6
/certidude/decorators.py
638151c158316173a6061ae942dfacd6d416b219
[ "MIT" ]
permissive
SnpAmine/certidude
88aaac27d5b85c5ee9ab8ce32b0c1e36195a9886
8176ba73e45ecf06091ff641415d06b8cb28f848
refs/heads/master
2020-03-10T12:40:39.149001
2018-04-13T12:46:36
2018-04-13T12:46:36
129,383,299
0
0
MIT
2018-04-13T09:54:15
2018-04-13T09:54:15
null
UTF-8
Python
false
false
2,872
py
import click import ipaddress import json import logging import os import types from datetime import date, time, datetime, timedelta from urllib.parse import urlparse logger = logging.getLogger("api") def csrf_protection(func): """ Protect resource from common CSRF attacks by checking user agent and referrer ...
[ "lauri.vosandi@gmail.com" ]
lauri.vosandi@gmail.com
93492b704f6fe05dc224243661ed0c2a8066ed38
67e817ca139ca039bd9eee5b1b789e5510119e83
/Tree/Kth Smallest Element in a BST.py
78fa4551d211d33dd4023977b36259e7db2cd425
[]
no_license
dstch/my_leetcode
0dc41e7a2526c2d85b6b9b6602ac53f7a6ba9273
48a8c77e81cd49a75278551048028c492ec62994
refs/heads/master
2021-07-25T21:30:41.705258
2021-06-06T08:58:29
2021-06-06T08:58:29
164,360,878
0
0
null
null
null
null
UTF-8
Python
false
false
1,634
py
#!/usr/bin/env python # encoding: utf-8 """ @author: dstch @license: (C) Copyright 2013-2019, Regulus Tech. @contact: dstch@163.com @file: Kth Smallest Element in a BST.py @time: 2019/9/11 22:08 @desc: Given a binary search tree, write a function kthSmallest to find the kth smallest element in it. Note: You may assume...
[ "dstch@163.com" ]
dstch@163.com
c2b146752ab71faa43ec01d5c2edf13ed78bf639
0039b45f11881c90d43700ffcf5cf85cbaa99f6d
/Multithreaded Server with client/webserver.py
171ba3aa1ade87e54abda2c7822529702ea7f7c1
[]
no_license
saitronkarthi/Networks
0a1a83790db3bdc4a5390b6e3a440abc0e5cb19b
e6fcad52f771a0855679a4c5827b130057236a5f
refs/heads/master
2020-12-31T00:19:07.016638
2016-02-20T23:30:22
2016-02-20T23:30:22
52,180,742
0
0
null
null
null
null
UTF-8
Python
false
false
3,934
py
#UTA Id: 1001267157 #Name: Karthikeyan Rajamani ##References ##1.Skeleton code provided for phyton ##2.https://docs.python.org/2/howto/sockets.html ##3.https://bedfordsarah.wordpress.com/2013/10/29/python-socket-programming-project-1-http-web-server/ ##4.http://www.wellho.net/resources/ex.php4?item=y303/browser.py ##5....
[ "karcons@gmail.com" ]
karcons@gmail.com
f41df87feeebb3b68c2075f9224a426443e7fba8
e8c12c596f120de59294e40b9d2ec3b734604082
/library_requests.py
a299f5a6f6edd1ed2488f26669383a5db6c72a59
[]
no_license
DaVaHa/ScriptsLibrary
5eb64bb8f26d518b2232f3ed5115676c5047e66c
1d4c471378ca996ada141935b678412bd3256337
refs/heads/master
2021-06-27T19:37:47.540737
2020-10-17T14:21:33
2020-10-17T14:21:33
167,837,704
0
0
null
null
null
null
UTF-8
Python
false
false
172
py
''' PYTHON LIBRARY : request ''' import requests ## DOWNLOADING LINKS INTO FILES r = requests.get(url) with open("code3.zip", "wb") as code: code.write(r.content)
[ "danielvanhasselt@hotmail.com" ]
danielvanhasselt@hotmail.com
31abb7b87b93f49726bc25433e42ba9fde6be85e
0e3e05cfc5c2d4d604d5429bb63c28525cfd9c7b
/Sothern_Ocean_Conv_Str_1.py
985d01e7164bf6faf89ac0c4cc9689d727dbf389
[]
no_license
behzadcodes/pen
d98f887bf042ce8354a55046eb21ad93c3bab022
926ab7ee7ce44b656b175085fea5fde682863ea9
refs/heads/main
2023-02-22T16:27:08.329419
2021-01-27T17:56:31
2021-01-27T17:56:31
333,512,083
0
0
null
null
null
null
UTF-8
Python
false
false
98,097
py
### IMPORTANT: The following path needs to be appended so that the neccessary codes can be read from that directory ### import sys sys.path.append('/data1/home/basadieh/behzadcodes/behzadlibrary') #from Behzadlib import * ### This is loaded from '/data1/home/basadieh/behzadcodes/behzadlibrary' #from CMIP5lib import * ...
[ "noreply@github.com" ]
behzadcodes.noreply@github.com
bfb91a4fb7758b07111e62d04d046d0db9e129ff
5274c8d9a88a9b2c352907779efb3972e2188030
/workwithpython/favorite_genres_survey/favorite_genres_survey.py
df4c7e87e8bf8be2e403b0795933468c44a11409
[]
no_license
khoshsoroorm/MyPractise
90157b9c126d62be45c44f474ca78b1367adec36
a23c0e5dfcca7bd8390d1020aa2676f397c8745d
refs/heads/master
2021-05-17T13:34:06.720564
2020-05-01T13:32:38
2020-05-01T13:32:38
250,800,395
0
0
null
null
null
null
UTF-8
Python
false
false
774
py
import operator def fave(n): my = {} my_list = [] for i in range(1, n + 1): m = input() m = m.lower().strip().split() for i in range(1, len(m)): my_list.append(m[i]) for item in my_list: if item != my: my[item] = my_list.count(item) output_di...
[ "khoshsoroorm@gmail.com" ]
khoshsoroorm@gmail.com
f17de87c264862b0ba6ef877b5c4ee0381723438
d7d5152448acf53891dbf34ba056afa658d21128
/twitter_clone_app/models.py
0b923c2ff6ddff25d39429421f76376c6db857cb
[]
no_license
joshgendal/twitter-clone-example
8cfee5bbafb15f7f58cee277e175a6357f31e372
97ee59e1e4566b2dbfe853d100c1305202224bf7
refs/heads/master
2023-05-05T19:46:35.227070
2021-05-27T01:46:26
2021-05-27T01:46:26
371,215,770
0
0
null
null
null
null
UTF-8
Python
false
false
2,127
py
from django.db import models from django.db.models.fields.related import ForeignKey import bcrypt, re EMAIL_REGEX = re.compile(r'^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9._-]+\.[a-zA-Z]+$') # Create your models here. class UserManager(models.Manager): def registration_val(self, post_data): errors = {} if not EMAIL_REGEX....
[ "jgendal@codingdojo.com" ]
jgendal@codingdojo.com
729d0bb1c126d3c229c8e3e17db982202c6a8746
6c57b1694817d1710335429c12c2d9774ff446e3
/2017-08-26/BWM-Model_case09_11/generated_files/LEMS_c302_C2_BWM_Model_nrn.py
3f97e63b84048d26ca68ce228f2cd5b992e9849f
[]
no_license
lungd/openworm-experiments
cd3875e8071c35eacb919c318344bac56d0fe379
065f481fbb445ef12b8ab2110f501686d26c213c
refs/heads/master
2021-01-01T04:41:38.397726
2017-09-12T13:55:40
2017-09-12T13:55:40
97,220,679
1
1
null
2017-09-01T17:10:28
2017-07-14T10:07:56
Python
UTF-8
Python
false
false
14,670
py
''' Neuron simulator export for: Components: Leak (Type: ionChannelPassive: conductance=1.0E-11 (SI conductance)) k_fast (Type: ionChannelHH: conductance=1.0E-11 (SI conductance)) k_slow (Type: ionChannelHH: conductance=1.0E-11 (SI conductance)) ca_boyle (Type: ionChannelHH: conductance=1.0E-11 (SI...
[ "lungdm@gmail.com" ]
lungdm@gmail.com
9e4dd4e329860dccce6347da4fb21fd39335ac5b
1802f464e3d51ffbf9bc66a3b252552fd886421c
/rem.py
cb457863b965949c0ae7f0547ccf52cad669fc30
[]
no_license
anuashuanu/kwantics
889b4a7d3078dfad78f0dedffe8cb4a451ee403d
fe0814738dc774e3179c22f7db0a7b063fe001c4
refs/heads/master
2020-03-07T08:57:55.510222
2018-05-02T06:54:09
2018-05-02T06:54:09
126,692,935
0
0
null
null
null
null
UTF-8
Python
false
false
4,589
py
# -*- coding: utf-8 -*- import re def Num_to_word(Number): def Decimal_Word(Number): Word = ["शून्य", "एक", "दो", "तीन", "चार", "पाँच", "छह", "सात", "आठ", "नौ"] print('Number is decimal') Number = Number - int(Number) Number = '%.3f' % Number Number = str(Number).split('.')[1...
[ "anuashuanu@gmail.com" ]
anuashuanu@gmail.com
8f87644aa89197f8678e4f705b93a992f85f6c0b
b7e0a7b0f2817f624309e4715f2b5fd4f9ed4df7
/mlcommons_box/mlcommons_box/common/mlbox_metadata.py
e6b9e35c7a4895e85f77a9be78c423bd41481412
[ "Apache-2.0" ]
permissive
vibhatha/mlbox
50936f5dbb98226a35b134e0e72b3a4b05bda4f3
f76aa0043175988109d020be42dad5f32003190f
refs/heads/master
2022-12-29T18:29:12.250664
2020-10-16T16:49:29
2020-10-16T16:49:29
301,155,105
3
0
Apache-2.0
2020-10-04T14:56:52
2020-10-04T14:56:52
null
UTF-8
Python
false
false
2,638
py
import os from mlspeclib import MLObject from typing import (Any, Optional, Tuple) class MLBoxInvoke(object): def __init__(self, path: str): path = os.path.abspath(path) metadata, err = MLObject.create_object_from_file(path) if err: raise RuntimeError(err) self.task_na...
[ "smodeel@redhat.com" ]
smodeel@redhat.com
7a9d103b8cc5ed62a72dcd0c0dedd9df02fa0407
c80997614ac490750e7ca3225e2a63df480135db
/Syllabus.py
11443a68d8dff89d6904f6c2f6f977f71f411904
[ "MIT" ]
permissive
anderson-github-classroom/syllabus-assignment-kdyson811
06c66acee5059ebb03f44950c296051771ea2d6c
8cc72cff11b01a1e3ded9e9c8ee754b2a004a139
refs/heads/master
2022-04-19T11:06:40.112083
2020-04-13T04:43:43
2020-04-13T04:43:43
255,201,231
0
0
null
null
null
null
UTF-8
Python
false
false
3,376
py
# --- # jupyter: # jupytext: # formats: ipynb,md,py # text_representation: # extension: .py # format_name: light # format_version: '1.5' # jupytext_version: 1.4.2 # kernelspec: # display_name: Python 3 # language: python # name: python3 # --- # # Name(s) # **KIANA DYSON*...
[ "kdyson@calpoly.edu" ]
kdyson@calpoly.edu
690e07bd3fbf3691b4151d2e583eed069405d2c5
52363f899941fbe697f9a2b2657b5876ca2d3c89
/selfteachweb/asgi.py
d7437436252877f6d9e600d73a87c06d95a46dbd
[]
no_license
archerpmorgan/selfteachweb_django
3b765f9c0c53ab071ba4a8b31d9727aee98342da
551b34ce04dfdbb817f5dbfd8594eb2d5a73819a
refs/heads/master
2022-11-23T09:51:09.881105
2020-07-21T03:09:55
2020-07-21T03:09:55
281,274,296
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
""" ASGI config for selfteachweb project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_...
[ "armorgan@microsoft.com" ]
armorgan@microsoft.com
b3a1878da5320ce739ade189bb7a71ab6062c734
2531541710958051faa06c6568330011035bb0ff
/quiz/views.py
d8d96ff23a143bb7a455b65e99ad3f18574da8ed
[]
no_license
Sebmins/mysite
4a431eecf637c8d2e219a63cb674e7e746a15fd1
0bc5d7914b1d0cad05ce2244ace91bf8351d54df
refs/heads/main
2023-01-13T18:50:08.033435
2020-11-19T10:18:11
2020-11-19T10:18:11
308,591,861
0
0
null
null
null
null
UTF-8
Python
false
false
3,180
py
from django.db import transaction from django.shortcuts import get_object_or_404, render from django.template.response import TemplateResponse from django.views.generic import ListView, DetailView, CreateView, DeleteView, FormView, UpdateView from .forms import VotingForm, CreateFormSet, EditFormSet from .models import...
[ "sebastian.waring@vectare.co.uk" ]
sebastian.waring@vectare.co.uk
8564e1451a3626ffeba51d20ab25d780f7de3db6
f8e1c1cebdd48d02506978e483fdf63560015adb
/venv/lib/python3.6/site-packages/rsa/_version200.py
cc47b1fd3b2061fd344c72d5185d0089c9f4235c
[]
no_license
minh-hpham/electron
a1a7452808fa2c01ddd9d1ccfeb62371eddf9059
b5e4ea96368c44fb09e2b013fc3acfedaccefb13
refs/heads/master
2020-03-14T00:52:30.513099
2018-05-03T04:40:29
2018-05-03T04:40:29
131,365,811
0
0
null
null
null
null
UTF-8
Python
false
false
15,082
py
# -*- coding: utf-8 -*- # # Copyright 2011 Sybren A. Stüvel <sybren@stuvel.eu> # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Un...
[ "hongpham@Hongnhungs-MacBook-Air.local" ]
hongpham@Hongnhungs-MacBook-Air.local
d4d10316a2b2fa4fa33e68118bff5c61d1af5d8e
08411ea509578738545949824f7f0d8d543d284d
/0x01-python-if_else_loops_functions/100-print_tebahpla.py
1cbfb06a029722a35a8e45c09f1e2d15176944ff
[]
no_license
s-macias/holbertonschool-higher_level_programming
13c8a21db12529b756f223c864e838349ccef3be
f717deb42022db2e2fd4278d153498ffefab710b
refs/heads/master
2023-01-07T20:27:25.858898
2020-11-06T14:52:28
2020-11-06T14:52:28
259,426,878
0
1
null
null
null
null
UTF-8
Python
false
false
222
py
#!/usr/bin/python3 if ord(c) >= 97 and ord(c) <= 122 and (ord(c) % 2) != 0: print("{:c}".format(ord(c) - 32), end="") elif ord(c) >= 97 and ord(c) <= 122 and (ord(c) % 2) == 0: print("{:c}".format(ord(c), end=""))
[ "1552@holbertonschool.com" ]
1552@holbertonschool.com
0dab0e7d26d72407b7a6020837da1ab6a9b00993
2796711aaa8482e5b857a014780b0716b7e09920
/testQt4Table.py
6fc0967fca8e5ac6f9dc70223cbf10409089b3c2
[]
no_license
zhaokh/jdpachong
17f09d1d9c3bccf73fdf9bed24e23abfa7fbd4b0
1fc49d87f18e10dc5ba7543e12b5b2528a845606
refs/heads/master
2020-04-08T16:11:39.553310
2018-12-05T08:41:51
2018-12-05T08:41:51
159,508,443
0
0
null
2018-12-02T16:14:39
2018-11-28T13:42:55
Python
UTF-8
Python
false
false
2,155
py
from PyQt5.QtWidgets import * from PyQt5.QtGui import * from PyQt5.QtCore import * import sys import time class MyTable(QTableWidget): def __init__(self, parent=None): super(MyTable, self).__init__(parent) self.setWindowTitle("各个市场比特币实时行情") # 设置表格名称 self.setWindowIcon(QIcon("ok.png")) # ...
[ "wwwzhaokh@126.com" ]
wwwzhaokh@126.com
876e4421030016d98f53be1fa21f1316f40c564a
97566db0ff6e36a4b4dfa24796ed2d21dc6c1fd6
/property/migrations/0008_auto_20190815_0900.py
db0bfcad36f50f3be380a4ce3594142ec970f5ab
[]
no_license
olegush/real_estate_agency
94936560729d17dd788a0def2719821bbee36ead
78852985442819d48bf8fa3c84f97a077321d6a0
refs/heads/master
2020-07-04T05:59:56.809042
2019-08-15T08:51:35
2019-08-15T08:51:35
202,179,283
0
0
null
2019-08-13T16:02:54
2019-08-13T16:02:54
null
UTF-8
Python
false
false
826
py
# Generated by Django 2.2.4 on 2019-08-15 06:00 from django.db import migrations import phonenumbers COUNTRY_CODE = 'RU' COUNTRY_PHONE_CODE = 7 def normalize_phonenumber(apps, schema_editor): Flat = apps.get_model('property', 'Flat') for flat in Flat.objects.all(): phone_number = phonenumbers.parse...
[ "oleg107117@gmail.com" ]
oleg107117@gmail.com