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
220 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
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
a7db4c9be85ad2e117629be95872cbce4e2efd53
03ca9b453e25ee12ef542fd9cfb4253d36b5b681
/happy301/feedback_controller.py
363b0ff462c53653975fb52d792b75ce5b39dc41
[]
no_license
yangljian/happy301
842352e7c6021dbc7c5577379de786c35392fddc
51b9a2cd65e58bc19aa58b387065d124ec22457b
refs/heads/master
2023-01-05T22:31:11.439677
2020-11-03T02:15:45
2020-11-03T02:15:45
307,324,131
0
0
null
null
null
null
UTF-8
Python
false
false
865
py
import tensorflow as tf from MyNet import MyNet import numpy as np from workload_env import WorkloadEnv from sklearn.preprocessing import StandardScaler std = StandardScaler() # min_max = MinMaxScaler(feature_range=(0, 1)) env = WorkloadEnv(7, 11) my_net = MyNet(6, 14) my_net.restore_net() # 获取当前环境状态 s = env.reset() ...
[ "1025230700@qq.com" ]
1025230700@qq.com
9367c9fc788b09d6bf9c8369612096e5c5ffa3fa
55647a80c8b412af9df0ba3f50595cc2f29c25e6
/res/scripts/client/AvatarInputHandler/AimingSystems/StrategicAimingSystem.py
2ec9e5a041a24e763dee53002932f7d06da6e9d5
[]
no_license
cnsuhao/WOT-0.9.17-CT
0035eb6070fb4fab8d8ee9f8bbc676c10d511cfb
d1f932d8cabaf8aa21708622e87f83c8d24d6451
refs/heads/master
2021-06-08T18:11:07.039293
2016-11-19T19:12:37
2016-11-19T19:12:37
null
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
2,452
py
# 2016.11.19 19:47:39 Střední Evropa (běžný čas) # Embedded file name: scripts/client/AvatarInputHandler/AimingSystems/StrategicAimingSystem.py import BigWorld import Math from Math import Vector3, Matrix import math from AvatarInputHandler import mathUtils, AimingSystems from AvatarInputHandler.AimingSystems import IA...
[ "info@webium.sk" ]
info@webium.sk
c09e7b5259d5a4704dd870d39c296aadcaf6047d
a7c5369a3ba19f6fd0a6840afdc519e606c67e08
/stanford-topo/no_huan.py
807321be4260f4d6abfa139bf74b725acd38dbd1
[]
no_license
chenkaiyue/flow-entry-aggregate
c23f85be3711778b634755bab5b85d924ea9a533
b3e009f6b91ca3553570d2d6601c7e2df99f1481
refs/heads/master
2021-05-15T18:16:08.873634
2017-10-10T14:22:35
2017-10-10T14:22:35
106,426,692
2
0
null
null
null
null
UTF-8
Python
false
false
1,051
py
#!/usr/bin/env python from mininet.net import Mininet from mininet.node import Controller, RemoteController from mininet.cli import CLI from mininet.log import setLogLevel, info from mininet.link import Link, Intf, TCLink from mininet.topo import Topo from mininet.util import dumpNodeConnections import logging import ...
[ "chenkaiyue2008@163.com" ]
chenkaiyue2008@163.com
90690f62a46d789508ef78bf4cd7782bb224bf56
811ebc62487828ffff943a08ba6d18b7368bb859
/复赛/附件/代码/utils/miou.py
b16d16e99cd0cd7d45c2a1057b20c8831d4d4c79
[]
no_license
AlanMorningLight/Remote-sensing-plot-segmentation-and-extraction-based-on-few-samples
945d5fcd1f5b0e7bf70128ab960c606a6b4e2d7a
2d593a46dd7722fac3b449c68dcc120510dd139d
refs/heads/master
2023-04-23T06:10:25.956683
2021-05-01T09:16:05
2021-05-01T09:16:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,748
py
import numpy as np import argparse import json from PIL import Image from os.path import join # 设标签宽W,长H def fast_hist(a, b, n): # a是转化成一维数组的标签,形状(H×W,);b是转化成一维数组的标签,形状(H×W,) k = (a >= 0) & (a < n) # np.bincount计算了从0到n**2-1这n**2个数中每个数出现的次数,返回值形状(n, n) # 返回中,写对角线上的为分类正确的像素点 return np.bincount(n * a[...
[ "1103540209@qq.com" ]
1103540209@qq.com
2c0fb7ef5d66d0bd10e7c849de51c69da576a7ed
30fc64988818beef7353456c201f1e0a4d656f3d
/cifar10/models/vgg.py
ddf22330d9511524c0a5b830a675b5445d63e4a9
[ "BSD-2-Clause" ]
permissive
zhaofang0627/IterNorm-pytorch
48f55a7d16fb0c7efc0e57f6ba0c276a6f6f99b0
c87bc35bf2dd2cacb643c0692acabead73097ebf
refs/heads/master
2020-05-16T12:03:10.341683
2019-04-14T13:58:40
2019-04-14T13:58:40
183,035,563
1
0
null
2019-04-23T14:43:12
2019-04-23T14:43:12
null
UTF-8
Python
false
false
1,502
py
import torch.nn as nn import extension as my __all__ = ['vgg'] class VGG(nn.Module): def __init__(self, num_classes=10): super(VGG, self).__init__() bias = True self.net = nn.Sequential( # 2 x 128C3 - MP2 nn.Conv2d(3, 128, 3, 1, 1, bias=bias), my.Norm(128), nn.ReLU(True), nn...
[ "dnvtmf@gmail.com" ]
dnvtmf@gmail.com
e83f53e3b09d4c31e6cddb4686f5993e3a6dc7b9
3899a37d1f500f7935cd04079e0b293bd64fe1cb
/docs/conf.py
9902ebaf5dadaec57cdc679f1cbc45f4be1e8a5b
[ "MIT" ]
permissive
jubaer145/nlpaug
06d5fa83d68537f6485ed5afccfe2ece056aae8b
b631660f1997fc503258735ec011ffbe164d12af
refs/heads/master
2023-06-02T03:45:18.094793
2021-06-20T21:17:13
2021-06-20T21:17:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,645
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # nlpaug documentation build configuration file, created by # sphinx-quickstart on Wed Aug 7 07:37:05 2019. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # aut...
[ "makcedward@gmail.com" ]
makcedward@gmail.com
80c2a3cc92aab525c9bf52c27c5e14d7d24ec6ab
5864264e878f1ab1c08a8ae926596c7c7a9c636b
/server/main.py
45c9d5e09ea46a2ddbbd1e7a83d12a07ae94d305
[]
no_license
wayexists02/hanyang_erica_capstone
2045ca8b5c363a5e116ad4a33e9b6a563e75aff8
600a9bccc51e6a7394b8724666ae38217bd8d7d9
refs/heads/master
2020-04-25T20:54:57.701034
2019-06-06T13:42:57
2019-06-06T13:42:57
173,064,470
1
1
null
null
null
null
UTF-8
Python
false
false
2,089
py
import sys import numpy as np import cv2 import threading as th from Server import Server host = "0.0.0.0" port = 13333 num_step = 8 num_classes = 4 image_width = 128 image_height = 128 image_channel = 3 sys.path.append("../") from ai.AI import AI image_bgr = None ok = True trash_map = ["can", "extra", "glass", "...
[ "wayexists02@gmail.com" ]
wayexists02@gmail.com
412ccfa8216340ee7038cf82fd1bcb6fb83e324e
ca23ba4449afcd000ffd45b46b2d363728be9a28
/china_web/align.py
9a6016ac4d33020281c85d94c42a23e9e5c135db
[]
no_license
jiaperte/Python-WebScraping
586cc1299ea591df9bc302528423fc1b3fc35f21
b7416476689eb9485278923ec97f95287a01d65c
refs/heads/master
2020-09-08T13:09:06.149606
2019-11-23T12:49:34
2019-11-23T12:49:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
208
py
a = ['asdfasd', 'asdf', 'sdfsdf'] b = ['1232', '213', '23'] print("左对齐") for i in range(3): print(a[i].ljust(10), b[i]) print() print("右对齐") for i in range(3): print(a[i].rjust(10), b[i])
[ "jiayong_2010@139.com" ]
jiayong_2010@139.com
194f1f77634d5f8dac6ca83d307d7045572cc023
b00ba2f08e3b4f310a63206fa13483339cd1752f
/src/config.py
70a6b3adcfb7df5de2b17f064e5405e9439f6576
[]
no_license
amano-honmono/custom-matcher
4d56b33f621c4bdf139b9427d642a70699b94606
75f002f3d276f71a16f3a9fec392cd646f8f2875
refs/heads/master
2023-08-17T05:59:51.897026
2021-09-20T13:02:57
2021-09-20T13:03:24
403,336,693
0
0
null
null
null
null
UTF-8
Python
false
false
95
py
import yaml with open('/opt/project/config.yml') as file: config = yaml.safe_load(file)
[ "maplehuke@yahoo.co.jp" ]
maplehuke@yahoo.co.jp
6150cb6eab8ab3c168a1eead8a17ce4cc4735cb6
e9348d1689215220b7820134a82c2afdf8aed107
/backend/young_waterfall_29324/urls.py
19b2e1e3e6e251b7ff93a5593048f905ce1b2e58
[]
no_license
crowdbotics-apps/young-waterfall-29324
8bf2accb9197c45f59ac717b2ec4fe289830b3f8
ea74f174180c6af5acca25a82397daa7c48eb7c2
refs/heads/master
2023-06-26T05:12:51.154938
2021-08-01T20:50:29
2021-08-01T20:50:29
391,735,458
0
0
null
null
null
null
UTF-8
Python
false
false
2,253
py
"""young_waterfall_29324 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/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...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
34b4307122c60e6551de4af71b85a1ddb3126279
c6b41c56cedcb092336101b24c76b63913b2e117
/picksamples.py
f5e9d1d1a6e775c1004975f35e379df55632adb3
[]
no_license
Mmhmmmmm/SPU
2d7ddf55e9a04a7cadaa30e67ad386eff9c2d6ac
50d8df9f13dfe6dd15f30d3683b4de6a3bfa1fd9
refs/heads/master
2023-06-23T19:26:29.472168
2021-07-14T12:54:28
2021-07-14T12:54:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,769
py
import os import numpy as np import random class PickSamples(): def __init__(self, exp=0, percent=[0.5, 0.125, 0.125, 0.125, 0.125], pace=0, alpha=[15, 12.5, 10, 7.5, 5], ent_threshold=-4.2, diff_threshold=100, ent_pick_per=1200, random_pick=False, train_txt0='./images/tr_10.txt'...
[ "learninginvision@gmail.com" ]
learninginvision@gmail.com
5145d8712060a87a1544f9ff8ae537b8ecfaac8f
303fcf1576fbe5599edef3be03c9d412118b4914
/ex10.py
d849d325003706ec339c5c391d83c6120d20a752
[]
no_license
mathsrocks/python-learning-lpthw
0a91d658b921e4f518087f7722d2630278603b57
fba9d739fc176b1d21b7498e344ffdbfac6529e1
refs/heads/master
2021-04-29T05:45:05.084223
2017-01-04T10:06:07
2017-01-04T10:06:07
78,005,631
0
0
null
null
null
null
UTF-8
Python
false
false
982
py
tabby_cat = "\tI'm tabbed in." persian_cat = "I'm split\non a line." backslash_cat = "I'm \\ a \\ cat." fat_cat = """ I'll do a list: \t* Cat food \t* Fishies \t* Catnip\n\t* Grass """ print(tabby_cat) print(persian_cat) print(backslash_cat) print(fat_cat) # Escape Sequences print("ASCII bell (BELL): [\a]") print("H...
[ "jerry.zwyang@gmail.com" ]
jerry.zwyang@gmail.com
f9004dc1b017bf4e3d68dba6c51c6be7a0f11102
c613839f198debf54f386f353ad5609db2b05d29
/train.py
46d167fa8cd42f538144d406a2dc3090392cce87
[ "Apache-2.0" ]
permissive
BenJamesbabala/ner-sequencelearning
480034de481245d79f7ecaabdbd966886709374f
8302f2a621ac8082ff4d5d46e5e4b17c3ef1d14b
refs/heads/master
2020-05-23T07:48:24.274687
2017-01-29T19:51:15
2017-01-29T19:51:15
80,445,762
5
0
null
2017-01-30T17:38:24
2017-01-30T17:38:24
null
UTF-8
Python
false
false
3,466
py
#!/bin/python3 import yaml import numpy as np import pandas as pd from sklearn.cross_validation import KFold from keras.utils.np_utils import to_categorical from keras.models import Sequential from keras.layers import Dense, Dropout, LSTM, Bidirectional, Convolution1D, MaxPooling1D from keras.layers.advanced_activa...
[ "thomas.jungblut@gmail.com" ]
thomas.jungblut@gmail.com
f7ba23621e3f314f4f27451fc1ac407cf330fd24
735a290883730930a9afd042eae1a690142fa067
/mercylog_bashlog/lib/util.py
2e97840942790e8b59ea6193865554755e92e2ca
[]
no_license
RAbraham/mercylog-bashlog
09746768d399b532f0568c735a34ead21432cf56
1f1b1079752b7e4b68aeddac117813ba31c3ac17
refs/heads/master
2020-08-16T00:35:30.340934
2019-10-16T01:43:03
2019-10-16T01:43:03
215,431,550
1
0
null
null
null
null
UTF-8
Python
false
false
406
py
from pathlib import Path def remove_dir(a_dir: Path): import shutil shutil.rmtree(a_dir) pass def tmp_folder(folder_name: str = None, prefix='delete_me') -> Path: import uuid import tempfile folder_name = folder_name or (prefix + '_' + str(uuid.uuid4())) tmp_dir = Path(tempfile.gettempd...
[ "rajiv.abraham@gmail.com" ]
rajiv.abraham@gmail.com
ac873c918d6f735bc2a3bfadda916724136eecc4
5e83d62064ea4fd954820960306fb06cc8f0f391
/newsletter/views.py
48715b0e963cbe97098121435aa6acbb498d1df8
[]
no_license
bharatkumarrathod/cfe_ecommerce2_RESTapi
eff2fad0cbff7cb3def2c13de282b085aba7291d
a081cdbf10c1fbde58e128b9c9b287443c726071
refs/heads/master
2020-12-25T21:43:44.166109
2015-10-27T21:04:19
2015-10-27T21:04:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,283
py
from django.conf import settings from django.shortcuts import redirect, render from django.core.mail import send_mail from products.models import ProductFeatured, Product from .forms import ContactForm, SignUpForm from .models import SignUp def home(request): featured_image = ProductFeatured.objects.first() ...
[ "carlofusiello@gmail.com" ]
carlofusiello@gmail.com
98911ce8c4bc073fa0ada3fad0c3d1e3231ad68e
13c2f109585a033a1acecdd912a3142802170921
/Python_Object_Serialization_Context_Manager.py
2566f5ec1aeb15199b4802d5e018e7fa67a537bf
[]
no_license
VakinduPhilliam/Hierachy_Serialization
88175764e24d03602eca06e8df13223e8ec4dd7e
61d534b23bc3e072356cb33fd763b0cbb6320896
refs/heads/master
2020-05-24T15:59:41.674047
2019-11-01T15:02:08
2019-11-01T15:02:08
187,346,172
0
0
null
null
null
null
WINDOWS-1252
Python
false
false
1,953
py
# Python object serialization # The 'pickle' module implements binary protocols for serializing and de-serializing # a Python object structure. # “Pickling” is the process whereby a Python object hierarchy is converted into a byte stream, # and “unpickling” is the inverse operation, whereby a byte stream (from a...
[ "noreply@github.com" ]
VakinduPhilliam.noreply@github.com
471f69a116bb3f8ea26d0e157151b03c8573d7fb
4586fcc1afd15f04dbb269899a5b954adcd8d60e
/bin/ldgp.py
b825bbe162b265a0c48f0c32c7daf4bf04ca4e6c
[]
no_license
gautamits/rgbd
d0f1435a2b91b2aa0e848688d3c1c12fc1c77931
a055a6b718a1e20957f20f19a0c49bbfa63cbd08
refs/heads/master
2021-01-20T05:59:43.891910
2017-11-25T09:16:34
2017-11-25T09:16:34
87,881,081
0
0
null
2017-04-25T19:22:50
2017-04-11T02:51:16
Python
UTF-8
Python
false
false
1,636
py
import cv2 import numpy as np def dist(x,y): return np.sqrt(np.sum((x-y)**2)) #this function returns euclidean distance between two one dimensional arrays #this function returns histogram of image, def hist(a): hist, bin_edges = np.histogram(a, bins = range(64)) retur...
[ "gautamamits95@gmail.com" ]
gautamamits95@gmail.com
e8a6c6d6bc56b44d9ac2fae0497b557fe4c040d9
b87ea98bc166cade5c78d246aeb0e23c59183d56
/samples/openapi3/client/petstore/python-nextgen-aiohttp/setup.py
d584a44727dd30a7685acc7a8fbbfecd38037804
[ "Apache-2.0" ]
permissive
holisticon/openapi-generator
88f8e6a3d7bc059c8f56563c87f6d473694d94e5
6a67551ea54a1aa9a49eb48ee26b4e9bb7fb1272
refs/heads/master
2023-05-12T02:55:19.037397
2023-04-14T08:31:59
2023-04-14T08:31:59
450,034,139
1
0
Apache-2.0
2022-01-20T09:34:14
2022-01-20T09:34:13
null
UTF-8
Python
false
false
1,473
py
# coding: utf-8 """ OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 The version of the OpenAPI document: 1.0.0 Generated by OpenAPI Generator (https://openapi-ge...
[ "noreply@github.com" ]
holisticon.noreply@github.com
650bf7955648b1c12100ec7a4b97ce3e7b453937
9e36c3233dabb427257893b117f6a5f7914cf035
/generate_target_stats.py
d327cbee12c40a77888f0665297fad493eaaf5a2
[]
no_license
shwhalen/loopdis
bc6d21a77de1747afbbdf07c08d3774bdcb70193
db5b56c82c73b0b41f456da9d205d9243aae3690
refs/heads/master
2021-01-25T09:52:40.201318
2018-12-07T22:05:49
2018-12-07T22:05:49
159,572,729
1
0
null
null
null
null
UTF-8
Python
false
false
3,419
py
#!/usr/bin/env python import pandas as pd import sklearn.externals.joblib as joblib from chromatics import * from common import * from tqdm import tqdm def get_accuracies(cell_type): cell_type_contacts_df = get_closest_genes( contacts_df.query(f'{cell_type} >= @significant_pchic_threshold'), geno...
[ "sean@sixus5.local" ]
sean@sixus5.local
17040ccedb5c26efb123bc8a9513defa32f9b4dc
f92fbb5ecbcd0adf4998e19d9d27e49386f898ab
/rls/algorithms/single/modelbased/planet.py
be9147eddd57a4a5b08109d7b2682e733572c12f
[ "Apache-2.0" ]
permissive
tonylibing/RLs
26e5dedbe7e36704ac98fa8efd00184059cdc717
21607d93e26f3be7a1243a642ed7e76178c856ae
refs/heads/master
2023-08-02T06:14:19.142614
2021-09-15T16:20:28
2021-09-15T16:20:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,145
py
#!/usr/bin/env python3 # encoding: utf-8 from typing import Dict, List, NoReturn, Union import numpy as np import torch as t from torch import distributions as td from rls.algorithms.base.sarl_off_policy import SarlOffPolicy from rls.common.data import Data, get_first_vector, get_first_visual from rls.common.decorat...
[ "keavnn.wjs@gmail.com" ]
keavnn.wjs@gmail.com
b2d33347aa47d60f79aa8e72131352ebb1500946
0eaea7c3d760067436a5fea2f42c1101ddb1f5ca
/tests/test_accmip6.py
fb2b284ea4ef5aaab01e5a4a4aad1fc067550c17
[ "MIT" ]
permissive
TaufiqHassan/acccmip6
297a33e887fc930aab8ef22ae2d29219f1bcf225
62ae2d128dbc930d2a1c2491ec352af935a6bf59
refs/heads/master
2023-05-23T11:06:12.708738
2023-03-01T09:56:24
2023-03-01T09:56:24
208,252,347
93
23
null
null
null
null
UTF-8
Python
false
false
720
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ test_accmip6 ---------------------------------- Tests for `accmip6` module. """ import pytest from pathlib import Path from acccmip6.utilities.c6db import SearchDB from acccmip6.utilities.util import _dir_path, _Construct_urls def test_url_getter(...
[ "taufiq.hassan06@gmail.com" ]
taufiq.hassan06@gmail.com
16ea3ba54dfa748779b1a9eef4279bd305f021d3
8533e69c8b9496259cc8f7a216ff32dc753306fb
/PycharmProjects/PyQt5/PyQt5Demo/fontdialog.py
869c63cca7c4e3840f6aeefc334dacdddf1aa4e6
[]
no_license
huytrv/MyPy
93b947a4c52134bc2d35e4e406c24775cb248efd
e179f8fdb856d03909149aca00f7da4d46f38edf
refs/heads/master
2020-03-28T13:41:33.381861
2018-09-24T04:27:54
2018-09-24T04:27:54
148,418,213
0
0
null
null
null
null
UTF-8
Python
false
false
999
py
from PyQt5.QtWidgets import (QWidget, QVBoxLayout, QPushButton, QSizePolicy, QLabel, QFontDialog, QApplication) import sys class Example(QWidget): def __init__(self): super().__init__() self.initUI() def initUI(self): vbox = QVBoxLayout() btn = ...
[ "hstarpp292@gmail.com" ]
hstarpp292@gmail.com
10238bbad066ca25d54dd84191ef1a24d5bb7730
4cb507682aa3d1136221397815c60bac3538e1b0
/Lesson 6: Dictionaries/Interview Questions/two_sum.py
e9a1bf5fa4b5fb9e660a735baf82cef60f944c92
[]
no_license
srasheed1018/Blue-Studios-Interview-Prep
fa99274cda4aaa6a37a9499b60ecddcd3ef90330
b4366ac89e78229c5d424c323d7ee01a79fa878c
refs/heads/master
2023-03-18T19:58:08.923326
2020-01-11T17:26:03
2020-01-11T17:26:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
588
py
''' Given a list of numbers and a number k, determine whether or not any two numbers from the list add up to k. Ex. k = 17 so [10, 15, 3, 7] => True Ex. k = 22 so [14, 17, 1, 9] => False Ex. k = 9 so [2, 7, 11, 15] => True ''' def two_sum(arr, k): nums = {} for i in arr: if i not in nums: ...
[ "isabella.berryx3@gmail.com" ]
isabella.berryx3@gmail.com
c1d86210f98f48bbe10dcf368c6f3f9a714d07c0
8777df087c7bafae874a24351998964b7be789c1
/djangoapps/siteroot/views.py
a469d44272fca54e76cec3eb34cfdc43161355a1
[]
no_license
bestchanges/studyworthy
d5a29cd7a3b51f740501bc6faeb846ab890b9386
3f0d83deec09a4ee6141042df6a3b98fe1312615
refs/heads/master
2021-11-25T09:14:14.726125
2021-11-17T07:20:16
2021-11-17T07:20:16
193,115,897
0
2
null
2021-11-17T07:27:50
2019-06-21T14:54:41
Python
UTF-8
Python
false
false
1,581
py
import json from django.conf import settings from django.contrib.auth import logout from django.contrib.auth.decorators import login_required from django.http import HttpResponseRedirect from django.shortcuts import render from django.utils.http import urlencode from djangoapps.crm.models import CourseProduct def i...
[ "egor.fedorov@gmail.com" ]
egor.fedorov@gmail.com
6203e81e8f7ba910157eeac0f075e7cfc176d5ee
2d4e9dd73485bbe45ba3fd6df39da2fe548520c4
/ecom/settings.py
e97a213fd00c61b62e54d4c3412f78e9b239b526
[]
no_license
bafsr/Stand120
feecc7639ed0092f51cdca7308f707109512b21b
6815604addeb6b10fcdca6591a8110e57c4e01bb
refs/heads/master
2023-06-15T14:50:05.273190
2021-07-20T17:59:09
2021-07-20T17:59:09
387,868,589
0
0
null
null
null
null
UTF-8
Python
false
false
3,054
py
import os import environ env = environ.Env() # read the .env file environ.Env.read_env() BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) SECRET_KEY = env('SECRET_KEY') DEBUG = env('DEBUG') ALLOWED_HOSTS = ['*'] EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' INSTALLED_APPS =...
[ "briansr03@gmail.com" ]
briansr03@gmail.com
11fcd8e4a25632b0a49874ec600df5f8b1bd3c74
71c854326fe3911a059a21104fdee4588f803ea5
/source/day07/모듈 소스 코드/prime 구하기.py
465850ee74b2c8beb8a70aa32390332370ec221f
[]
no_license
Kwon-YoungSun/python
e0d825fca53c6dec85b23baceaf1b3876e45ea75
ad241a92baace663f410230d346348244e85e2f2
refs/heads/main
2023-06-26T09:41:00.544743
2021-07-31T06:58:53
2021-07-31T06:58:53
386,270,041
0
0
null
null
null
null
UTF-8
Python
false
false
125
py
from primePy import primes list_primes = primes.between(100, 1000) list_primes_len = len(list_primes) print(list_primes_len)
[ "dolphini0727@naver.com" ]
dolphini0727@naver.com
6ea1522396552c0f406e717a9a2af6ff2b38c39d
508079099164e26703571ea6ce416edcffd8b72a
/LeetCode/Facebook/Medium/658. Find K Closest Elements.py
18df18b50f659d8de5407e2d77030a4dbe84cb43
[]
no_license
bashbash96/InterviewPreparation
aa1163ebc789c3d5e3ade742ecf9821bcb80778d
69d0e01665ff92cf62a6548ca9e150a9b941aac8
refs/heads/master
2021-08-06T17:31:27.345756
2021-07-29T20:05:51
2021-07-29T20:05:51
245,353,790
2
1
null
null
null
null
UTF-8
Python
false
false
1,430
py
""" Given a sorted integer array arr, two integers k and x, return the k closest integers to x in the array. The result should also be sorted in ascending order. An integer a is closer to x than an integer b if: |a - x| < |b - x|, or |a - x| == |b - x| and a < b Example 1: Input: arr = [1,2,3,4,5], k = 4, x = 3 Ou...
[ "amjad.bashiti.96@gmail.com" ]
amjad.bashiti.96@gmail.com
121b171e2508ea6a42d68aa7319156308a97aab8
e8ba4ff7a31803c773fb6fdabd98d7d06850165d
/Services_dev/IndexAuth/app/src/IndexAuth_Server.py
50d932b6630ab1ecb32678c80c4aef2841d00a6f
[ "MIT" ]
permissive
samuelxu999/Microservices_dev
ded488016a2d4b9eca0094ffb8c24ce3cf2ff4f2
5ea836d1275427b0a3c08432882f106d6ddab1f8
refs/heads/master
2023-05-14T19:34:08.250014
2022-12-07T20:14:23
2022-12-07T20:14:23
157,278,854
0
3
MIT
2023-05-01T20:18:50
2018-11-12T21:24:24
Python
UTF-8
Python
false
false
2,665
py
#!/usr/bin/env python3.5 ''' ======================== IndexAuth_Server module ======================== Created on Dec.27, 2018 @author: Xu Ronghua @Email: rxu22@binghamton.edu @TaskDescription: This module provide encapsulation of Hashed Index Authentication Microservices API that handle and response client's request...
[ "samuelxu999@gmail.com" ]
samuelxu999@gmail.com
03774aa0b5ad39e6da36e47a0613ab83b5eb40a5
924c384344bdae7518e6cb8363ded38cb6e6b6fc
/jobs/my_library/Connector.py
52e54719da2df508f2a5d2028310535831d95cc8
[]
no_license
TirolJPN/codeforces-clustering
09371178f1afc877449309771a152811e490f8e7
029cc2b3436af54940956086b4f62eede5ed205e
refs/heads/master
2022-04-05T09:02:24.879092
2020-02-18T08:44:55
2020-02-18T08:45:24
180,091,773
0
0
null
null
null
null
UTF-8
Python
false
false
752
py
import mysql.connector as cn from . import key class Connector: # コンストラクタでコネクターを用意する def __init__(self): try: self.cnx = cn.connect( host=key.DB_HOST, user=key.DB_USER, password=key.DB_PASSWORD, port=key.DB_PORT, ...
[ "tirol.jpn@gmail.com" ]
tirol.jpn@gmail.com
0b8a8030b870e386374e41eca09df9151d321fd8
4a04051ba5956068e8180c0ebb94792a2b4da1d4
/CombinatorialMathematics/Misalignment.py
f0200476cdaf835e638dbfda1e1688d9adfe077a
[]
no_license
Fyy10/Python-Playground
8ab13f3a255541c4980c99510c15e5813e86fa23
bdb43396ecfdb6897bd1cd64e4886236cd20923b
refs/heads/master
2022-07-28T21:29:40.724997
2022-07-18T10:31:53
2022-07-18T10:31:53
250,740,856
0
1
null
2021-06-26T09:05:25
2020-03-28T07:48:01
Jupyter Notebook
UTF-8
Python
false
false
230
py
# n-2, n-1, n # Misalignment D = [0, 0, 1] n = int(input('Input n (n > 2): ')) assert(n > 2) for i in range(3, n+1): D[0] = D[1] D[1] = D[2] D[2] = (i-1) * (D[0] + D[1]) print('D:', D[2]) print('Q:', D[2] + D[1])
[ "1093928135@qq.com" ]
1093928135@qq.com
5f23d175f0fdaba8935c2f1b1e0de383c9639500
0a4d783c5b61113dd35ac87049f6f25b5684d08a
/metrics_iperf_jobs.py
80f9b9196e7c28242fb92e5ea13aa4ee91fd0c02
[]
no_license
gdmk/check_mk-iperf_jobs
7dd36767a8cbdb315fae82610fe09bb1ba8f0b99
827f6ac71d2d0e9f46a9dc22914d02bd08c3c358
refs/heads/master
2020-04-21T02:35:02.618731
2019-02-05T15:29:58
2019-02-05T15:29:58
169,258,490
1
0
null
null
null
null
UTF-8
Python
false
false
3,181
py
metric_info["bw_from"] = { "title" : _("bandwidth from the Host"), "unit" : "bits/s", "color" : "#00e060", } metric_info["bw_to"] = { "title" : _("bandwidth to the Host"), "unit" : "bits/s", "color" : "#0080e0", } graph_info["Iperf_bandwidth"] = { "title" : _("Iperf Bandwidth"), "met...
[ "noreply@github.com" ]
gdmk.noreply@github.com
b817d3bbe514f82e994794bd55607533500c36fb
77a2a754ed5f120b05082a41926214352c92397e
/deque.py
ef52952bbad8545c3d03a32aff729baf11875a40
[]
no_license
apotree/Python
dd3bfd91d6f1efa2248cc565ac02912d5203c732
de370f4f56dd5954650fb1b52558c7b4b82315cd
refs/heads/master
2020-11-26T13:25:05.698994
2020-01-13T15:02:51
2020-01-13T15:02:51
229,085,396
0
0
null
null
null
null
UTF-8
Python
false
false
439
py
from collections import deque dq = deque('data') for node in dq: print(node.upper(), end='') print() dq.append('aaa') dq.appendleft('bbb') dq.append('ccc') print(dq) print('deque => ', dq.pop()) print('deque => ', dq.popleft()) print('deque => ', dq[-1]) print('deque => ', dq[0]) print(dq) pri...
[ "noreply@github.com" ]
apotree.noreply@github.com
3492ff51dd31e2b083ca5472109e9def0e2f7238
80a18af059a05d96e21c0ce5a083686ad131279b
/__init__.py
0e62951c282e96ea5321cedb519e647e8266861a
[]
no_license
HasaSarl/vidy-fab
e258957abbc13fe5bc4c9dae90a7fcbb6e3d329c
6b447d4c210f6a48c4ccc104e35010230de3c5c7
refs/heads/master
2020-03-26T00:37:04.075646
2018-08-11T17:20:53
2018-08-11T17:20:53
144,328,172
0
0
null
null
null
null
UTF-8
Python
false
false
1,380
py
# -*- encoding: utf-8 -*- ############################################################################## # # Copyright (c) 2012 HASA (http://www.hasa.ch) All Rights Reserved. # # WARNING: This program as such is intended to be used by professional # programmers who take the whole responsability of assessing all p...
[ "hasa" ]
hasa
838de5b1fa72bed3804d5b3baa64482bb4c46dc6
59eca336bfe5f49257373c46ba12727b57650407
/mysql_tests.py
21213db23408548e398fbc524f15163af79f89c5
[]
no_license
ras592/verbose-garbanzo
8d206c0478ec7df63d245d8623ad141c20990f5e
d244e5a202f733d0ba879dc12db9c1aa7ea13534
refs/heads/master
2020-12-24T20:51:43.783093
2016-05-06T22:25:27
2016-05-06T22:25:27
56,338,420
0
0
null
null
null
null
UTF-8
Python
false
false
586
py
import MySQLdb from sql import destroy_dbs, build_dbs, rebuild_tables import sys, traceback def migration(): try: conn = MySQLdb.connect(host="localhost",user="rich", passwd="some_pass") destroy_dbs(conn) print "Successfully dropped dbs" build_dbs(con...
[ "rasharrott@icloud.com" ]
rasharrott@icloud.com
c09abce2634c8d6a2dbeb5a2f080fd922e2d9fb3
dbb4d1de645b16fe900d05d93f1fc31545ba9c99
/Abstract_Data_Type/queue.py
e92053a85236d226d9fa2dcf2cb5c43db67cec44
[]
no_license
0x-Robert/Algo_python_Study
731d5902aec0e9d73b60b8f96e4f931efdcb28ce
1940b46e5466e060aa69295b167173a316e3247d
refs/heads/main
2023-07-31T11:49:49.483596
2021-09-08T07:24:51
2021-09-08T07:24:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,126
py
class Queue(object): def __init__(self): self.items = [] def isEmpty(self): return not bool(self.items) def enqueue(self, item): self.items.insert(0,item) def dequeue(self): value = self.items.pop() if value is not None: return ...
[ "smartdragon417@gmail.com" ]
smartdragon417@gmail.com
82dce0291b2883bee2d384403455ea84e9cf1319
43a4767a79ade9c353574c1a43d26892ae57dc4f
/tests/integration/test_replicas.py
5aa26c55e2e2724b7daeb6bddeb49fe18595f74e
[ "Apache-2.0" ]
permissive
volatilemolotov/curator
224eafdbadb9aaccbec62fb029d656d9e3727998
b41743a061ad790820affe7acee5f71abe819357
refs/heads/master
2023-07-27T21:08:36.636450
2023-07-21T22:19:10
2023-07-21T22:19:10
192,875,097
0
0
NOASSERTION
2023-07-22T03:44:13
2019-06-20T07:52:22
Python
UTF-8
Python
false
false
2,004
py
"""Test replica count changing functionality""" # pylint: disable=missing-function-docstring, missing-class-docstring, line-too-long import os from . import CuratorTestCase from . import testvars HOST = os.environ.get('TEST_ES_SERVER', 'http://127.0.0.1:9200') class TestActionFileReplicas(CuratorTestCase): def te...
[ "noreply@github.com" ]
volatilemolotov.noreply@github.com
7424b52ef64456b131e7b2fda2175cc9eddbe318
fd8019d63cbdbecc4501986c0a8a7500508e630c
/reservations/migrations/0003_reservation_check_out.py
46dc52cbbd1bdd61b2e247f026a0fc9dc82cfb50
[]
no_license
woojs1209/airbnb-clone
d00088dc4b1b89162102cc21799ebdf6d2e02033
9d3022d9c95bac021fa4ea84736e0ee12d036fcd
refs/heads/master
2023-03-25T11:15:52.799601
2021-03-18T04:32:54
2021-03-18T04:32:54
341,895,935
0
0
null
null
null
null
UTF-8
Python
false
false
421
py
# Generated by Django 2.2.5 on 2021-03-11 01:40 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('reservations', '0002_remove_reservation_check_out'), ] operations = [ migrations.AddField( model_name='reservation'...
[ "woojs1209@naver.com" ]
woojs1209@naver.com
6411989d36dbc608b8d5cefd3542ef230ae6fa07
5f59090d4fc2696774932667e790ffd397a8d3f8
/HW1/RoboStats3_5_rwma.py
b6045b4e9059e9b33685fa217552395bb6126689
[]
no_license
lukaeerens93/RoboStats
5398f01dac15fcb8f713aa192dfc5ee4383da9c3
5273b6e79a3761782cb3728088ee3b75fc7908d8
refs/heads/master
2020-03-29T11:20:49.468914
2019-05-10T15:58:29
2019-05-10T15:58:29
149,847,281
0
0
null
null
null
null
UTF-8
Python
false
false
4,599
py
# Robot Stats Assignment 1 # Implementing the Randomized Weighted Majority Algorithm (15 Points) # For importing the classes import RoboStats3_2 import matplotlib.pyplot as plt import time import random # ------------------- Main Code ------------------ # Will take in as arguements: nat, eta, T where T = number o...
[ "noreply@github.com" ]
lukaeerens93.noreply@github.com
a9ede54f8c311163f3f1593922779cde560263bc
3d0838cc0d3cca599c2dfb6bea3274ff3cabe0ac
/discore/models/_channel.py
316c280d8e0f64347a51b6e2f534a923fc679e15
[ "MIT" ]
permissive
geek-space-hq/discore
6a799f411c81b580f0b3e0aac238e5dcf48d899c
45f4870426e635353b3621f5089880cbb30c683c
refs/heads/develop
2022-12-15T20:51:50.904945
2020-09-16T16:05:36
2020-09-16T16:05:36
295,093,463
3
0
null
2020-09-16T09:41:21
2020-09-13T06:36:35
Python
UTF-8
Python
false
false
5,679
py
from __future__ import annotations from datetime import datetime from enum import Enum, IntEnum from typing import TYPE_CHECKING, List, Optional, Union from pydantic import BaseModel from pydantic.fields import Field if TYPE_CHECKING: from ._emoji import Emoji from ._guild import GuildMember, Role from ....
[ "in9lude@gmail.com" ]
in9lude@gmail.com
e7fb2fba235e371b46eb302c8b7833d38d0530ac
2bde6ce86a4e42f288f05c6fa2c8a4725d019543
/shuanfatimu/py1.py
2a139fe0c79ee73ca529dbf1c4e8792494353e4b
[]
no_license
wangpanqiao/python
8716e0c5f07f44929a4209ee86eb3337497bea78
9684562722eabb7f45c37357d1dcd2629a577580
refs/heads/master
2020-05-22T21:24:43.915709
2018-12-07T03:14:12
2018-12-07T03:14:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
287
py
def fuc(n): c = 0 for i in range(1,n): if(n % i == 0): c +=i return c n = int(input("please input a number:")) for i in range(n): if(fuc(i) > n): continue elif(i == fuc(fuc(i)) and i < fuc(i)): print("{0}-{1}".format(i,fuc(i)))
[ "noreply@github.com" ]
wangpanqiao.noreply@github.com
6fa58bf03d5ab769c4d22526c5b9f2bbec752e33
9c50fe573ac756093d89354886ebf498fcb73230
/CorrectOCR/tokens/list/_fs.py
f9b7c168c01d6b6cff736de0303b061961b43d51
[ "CC-BY-4.0" ]
permissive
xiyuan27/CorrectOCR
241939312528c609f9674bcdec50ee4f60f48d5a
defeccf167ef0479bde6d90b803bb2fc46851734
refs/heads/master
2020-12-07T18:04:58.900860
2020-01-09T07:04:10
2020-01-09T07:04:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
870
py
import logging from ._super import TokenList @TokenList.register('fs') class FSTokenList(TokenList): log = logging.getLogger(f'{__name__}.FSTokenList') def load(self, docid: str, kind: str): from .. import Token from ...fileio import FileIO self.docid = docid self.kind = kind path = self.config.trainingP...
[ "mikkel.eriksen@gmail.com" ]
mikkel.eriksen@gmail.com
acb8fc061d465bb3933507b11b2d18656e24afbd
bbe259241170487d94d3a12ed44a6e61ad25f99b
/histogram_eq.py
e8acc51ee8a5025d0a079ec1bc7d59d17953dda7
[]
no_license
Ravimk07/Image_Processing
a1f6b94355222a5d518840065feda3dafde8aac0
72154d9187daafb7b0b7ccb1bdce1b5ee06c2cff
refs/heads/master
2021-07-11T18:41:33.341160
2021-05-03T10:03:25
2021-05-03T10:03:25
82,921,281
3
0
null
null
null
null
UTF-8
Python
false
false
2,365
py
import matplotlib import matplotlib.pyplot as plt import numpy as np from skimage import data, img_as_float from skimage import exposure matplotlib.rcParams['font.size'] = 8 def plot_img_and_hist(image, axes, bins=256): """Plot an image along with its histogram and cumulative histogram. """ image = im...
[ "noreply@github.com" ]
Ravimk07.noreply@github.com
8b3f00a2cad7a8e6ff44418c62dba66e64da0793
153f933f33b28d8cf0ee8c1335cf32c90280d287
/Proyectofinal.py
9bbd557a56182d389c023d0a78d2fe1acc4df861
[]
no_license
proyectoicc/Proyecto
fb034b1d6acb89e0e569f051eac90a8522ed28f4
42decab6b9fa03836edee4a7447eecad406f7449
refs/heads/master
2020-03-20T18:43:40.750508
2018-06-16T18:31:59
2018-06-16T18:31:59
137,601,640
0
0
null
null
null
null
UTF-8
Python
false
false
1,036
py
p = str(input("Ingrese el producto: ")) new_cantidad=float(input("Ingrese la cantidad: ")) clave=str(input("Ingrese clave de comprador: ")) def pu(): if p == "P1": return 234 elif p == "P2": return 265 if p == "P3": return 278 elif p == "P4": return 299 if p == "P5": ...
[ "40000508+anth24@users.noreply.github.com" ]
40000508+anth24@users.noreply.github.com
ba9495c780d12d5273f9746e15bd2e99e7594fb4
025912a232947e1d0553d09b1735d2a7db4671a4
/OPENCV/Kinect_test.py
28197c0e3b3cb01d20bd0903278b0ec985071a70
[]
no_license
GmGniap/thesis_dev
89cd3d12be288a38ed0cf7c5c7ee309906dc1a33
055e5e2dfd130a62f757c5c123b099eb5abf124b
refs/heads/master
2020-03-22T00:57:51.104467
2018-07-21T09:09:02
2018-07-21T09:09:02
139,275,316
0
0
null
null
null
null
UTF-8
Python
false
false
1,053
py
#import the necessary modules import freenect import cv2 import numpy as np from math import tan #function to get RGB image from kinect def get_video(): array,_ = freenect.sync_get_video() array = cv2.cvtColor(array,cv2.COLOR_RGB2BGR) return array #function to get depth image from kinect def get_depth():...
[ "thetpaingmyo43@gmail.com" ]
thetpaingmyo43@gmail.com
1419cec96ecb7e565ae9b248b3a4e81be07bfef5
91d343e7fc01cfda3dbaff441972241dddb90c6b
/ХТ.tab/Misc.panel/Tools.stack/Мусор.pulldown/Nastil.pushbutton/Nastil_script.py
1f4aa116b3719d93db696083dc3331192d44a075
[]
no_license
Thomas84/extention-for-pyRevit
af2f1a25fba8aaed52d56320b66100513aa04986
da7ae5cb75a4bf710f3075c25f45340a5769c2da
refs/heads/master
2023-06-23T01:31:29.069338
2021-07-19T20:03:00
2021-07-19T20:03:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,691
py
# -*- coding: utf-8 -*- """""" __title__ = 'Настил' __author__ = 'SG' import clr clr.AddReference('System.Core') from System.Collections.Generic import * from Autodesk.Revit.DB import IndependentTag, XYZ, FilteredElementCollector, BuiltInCategory, Transaction, TransactionGroup, BuiltInParameter, ElementId import sys fr...
[ "fazacz@ya.ru" ]
fazacz@ya.ru
a07cab13bbac62cbe9da389c04efe73253dd55ba
c6b1919498776cfc408076246390e2bba56f4c4e
/devops_tool/settings.py
e422d3a5d42866f11728863fdae9c727b4dd35e6
[]
no_license
huozhihui/devops_tool
f2ceaf7f1828853e43859645f5ab36a00b0fa7df
0eb7b4a14203e30bb2c262075864cec0db21829f
refs/heads/master
2020-05-20T19:02:47.855055
2017-04-18T05:25:59
2017-04-18T05:25:59
84,509,976
0
0
null
null
null
null
UTF-8
Python
false
false
6,196
py
""" Django settings for devops_tool project. Generated by 'django-admin startproject' using Django 1.10.4. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ impor...
[ "240516816@qq.com" ]
240516816@qq.com
a4056d802d7c03cae1448c6bd3ee6630b1581df5
5cf7b8e028a4f4d88fc6e57563632780f9490d67
/text.py
acae250a9310e87f5d62942b11ab2fc0d7c22b88
[ "MIT" ]
permissive
QuirkyDevil/alex-boat-old
75dff27ab020299982dfaa80e2bc567f4de87254
6ca1f883a13a49b0377d434e22bb25366ff64b26
refs/heads/main
2023-07-08T19:10:58.340517
2021-08-23T17:05:31
2021-08-23T17:05:31
399,185,174
0
0
null
null
null
null
UTF-8
Python
false
false
862
py
from discord.ext import commands import asyncio class text(commands.Cog): def __init__(self, client): self.client = client @commands.Cog.listener() async def on_ready(self): print("fun cog loaded") @commands.command() async def on_message(self, message): if message.conte...
[ "81952913+QuirkyDevil@users.noreply.github.com" ]
81952913+QuirkyDevil@users.noreply.github.com
776daaafd211d28ee6ca163c5fb8bd99c5595928
d2fcd448b53d79fad8ece056ff67063bd69bd502
/bextr/app/assets.py
afba988931f7b4ee7076f65aa023b5f7a4d9161f
[]
no_license
Bextr/Bextr-Website
95cbda2bb485439ee0d875397c49d874e8363a13
a12a520db20f6ea08786239f680248ace4d9aa4c
refs/heads/master
2016-09-06T17:47:46.615185
2015-01-08T04:31:38
2015-01-08T04:31:38
27,047,712
0
0
null
null
null
null
UTF-8
Python
false
false
354
py
from flask.ext.assets import Environment, Bundle assets = Environment() js = Bundle('js/jquery-ui.js', 'js/script.js', filters='rjsmin', output='js/packed.min.js') assets.register('js_all', js) css = Bundle('css/style.css', 'css/colorbox.css', filters='cssutils', output='css/packed.min.css'...
[ "dessant@kivy.org" ]
dessant@kivy.org
9aa6b11bb08a0531530e3856638408b4a2fd9be2
faabba24ec8cab081ac1821a719839ce14f11a29
/project.py
5d09f38f60ba7635170e709c32887c9a8123a8d1
[]
no_license
PROPERAT/pyCue
2e73f4e7762f4439540fc1a58320a69d45882948
d1930cd345c656e774e960696037bdba11a4e9c1
refs/heads/master
2016-09-09T21:39:53.496816
2012-06-28T10:31:43
2012-06-28T10:31:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,265
py
import pygame, sys from OpenGL.GL import * from OpenGL.GLU import * from VideoDriver import * from Node import * from TestCubeMesh import * from Camera import * class GameEvent: def __init__(self, code): self.code = code class PygameWindow: def __init__(self): pygame.init() sel...
[ "PROPERAT@properat-81cc9d.(none)" ]
PROPERAT@properat-81cc9d.(none)
0bcd2606a9ecb387878f6e66e500284c4af9354d
d258b0e30853e439bd0dcd4b660543c8d17dc757
/soloproject/appone/admin.py
2aab4a38906bc218d57b47902044a7c697cc6025
[]
no_license
Mholliday6611/BESTPROJECTEVER
fb8d00e7182b3bc1d2954fb8cdc3dba58f3bbb42
0a934de0ff055054373cd49b76744224ef6e6467
refs/heads/master
2021-01-13T04:13:30.377819
2017-01-13T02:24:31
2017-01-13T02:24:31
77,493,339
0
0
null
null
null
null
UTF-8
Python
false
false
453
py
from django.contrib import admin from models import UserProfile, Post, Category, Page, Comment # Register your models here. class PostAdmin(admin.ModelAdmin): prepopulated_fields = {'slug':('title',)} class CategoryAdmin(admin.ModelAdmin): prepopulated_fields = {'slug':('name',)} admin.site.register(Category, Categor...
[ "danielorrego02@gmail.com" ]
danielorrego02@gmail.com
6af287c25e7567cc97a37b41e9b9df7d8d589d3a
69427716f39ddb8541b7dca39d26015a26e04104
/学习脚本/Python基础学习脚本/select_socket_server.py
619aaeec0a826ffbd3a7f9299ce892eb9ef5e5a3
[]
no_license
xiatian0918/auto_scripts
a0fa80f3ec8a5e49e1b049ebed39a8ae3e7cdf7a
413c614260340557cf9e615b1339eae68a8f9acf
refs/heads/master
2020-05-14T13:32:46.556775
2020-01-21T00:18:56
2020-01-21T00:18:56
181,812,978
0
1
null
null
null
null
UTF-8
Python
false
false
606
py
#!/usr/bin/env python #-*- coding:utf-8 -*- # author: xiatian import select,socket,sys,queue server = socket.socket() server.bind(('localhost',9000)) server.listen(1000) server.setblocking(False) #不阻塞 inputs = [server,] outputs = [] readable , writeable, exceptional = select.select(inputs, outputs, inputs) print(r...
[ "18810434724@163.com" ]
18810434724@163.com
7f9ea1866114fe062661f28006ec80d13194dd03
a8062308fb3bf6c8952257504a50c3e97d801294
/problems/N875_Koko_Eating_Bananas.py
2d632a0fdaa6c0078dec7406cb6fa8e0e852a916
[]
no_license
wan-catherine/Leetcode
650d697a873ad23c0b64d08ad525bf9fcdb62b1b
238995bd23c8a6c40c6035890e94baa2473d4bbc
refs/heads/master
2023-09-01T00:56:27.677230
2023-08-31T00:49:31
2023-08-31T00:49:31
143,770,000
5
0
null
null
null
null
UTF-8
Python
false
false
878
py
class Solution(object): def minEatingSpeed(self, piles, H): """ :type piles: List[int] :type H: int :rtype: int """ length = len(piles) if length == H: return max(piles) right = max(piles) total = sum(piles) if total <= H: ...
[ "rarry2012@gmail.com" ]
rarry2012@gmail.com
1d1b1eda7603a88d4beacbcf621d06a32779d4e2
b52d968d8af2d31a93ee75a4dc02667794579656
/StepLambda/lambdaauthentication.py
0bbad12f7a060c245d1308463da68a484ab3ee91
[]
no_license
Rocha57/TicketingAWS
d8f1e4212111885b37b97b6b9adc20ef5b77bde8
f9cf5ac81cbb63196ba4bd84e13bd90a7a91b761
refs/heads/master
2021-03-24T10:41:08.184784
2017-05-27T17:45:01
2017-05-27T17:45:01
92,286,512
0
0
null
null
null
null
UTF-8
Python
false
false
1,046
py
import boto3 client_db = boto3.client('dynamodb') client_rek = boto3.client('rekognition') table_name = 'project3' bucket_name = 'esproject3bucket' bucket_register_name = 'esproject3bucketregister' def rekognition(filename, table_items): for item in table_items['Items']: response = client_rek.compare_faces( Sour...
[ "fmrocha@student.dei.uc.pt" ]
fmrocha@student.dei.uc.pt
a2519d05e37adb104bac8b8b46a2b7f4eceb98db
023c7135f9d1ceb320b6b847d1a46ed679adfbf2
/superlists/lists/migrations/0001_initial.py
b2a0376bc479bebc385384ac0450971865f8a0af
[]
no_license
mayankkapoor/Test-Driven-Development-with-Python
5a49644c29d6bae47c22496ebf358337903b2ef0
3b94be497d35355b3f4a3fa8e89104b7652c6e65
refs/heads/master
2021-01-23T07:10:39.498040
2015-02-11T03:12:39
2015-02-11T03:12:39
28,521,051
0
0
null
null
null
null
UTF-8
Python
false
false
548
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='Item', fields=[ ('id', models.AutoField(seriali...
[ "mayankkapoormail@gmail.com" ]
mayankkapoormail@gmail.com
85a8fe446187a595ad11c4c0a6dba3786a9af595
5e6d8b9989247801718dd1f10009f0f7f54c1eb4
/sdk/python/pulumi_azure_native/web/v20201001/web_app_auth_settings.py
8c0f10d3d946c6e637d1c161b9fabc2e4c33aae2
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
vivimouret29/pulumi-azure-native
d238a8f91688c9bf09d745a7280b9bf2dd6d44e0
1cbd988bcb2aa75a83e220cb5abeb805d6484fce
refs/heads/master
2023-08-26T05:50:40.560691
2021-10-21T09:25:07
2021-10-21T09:25:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
85,144
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
vivimouret29.noreply@github.com
9e58c5c02e59e93500da923b7b57630d670d2f00
a64eaa15164806cfe1fa5132cdedd97e6567d3b7
/XCTF(攻防世界)/MISC/4-1/bwm.py
e55f7127ed66b2356bd5f950ba2c514fa796a69b
[]
no_license
ThoseBygones/CTF_Write-Up
46b679001daf87934289161c99568c07807fbdca
3c41db37005df7f1d1a41cb9c2edb30f9a3f6f6e
refs/heads/master
2022-11-24T20:20:24.167658
2020-07-24T14:38:26
2020-07-24T14:38:26
255,052,976
1
0
null
null
null
null
UTF-8
Python
false
false
5,609
py
#!/usr/bin/env python # -*- coding: utf8 -*- import sys import random cmd = None debug = False seed = 20160930 alpha = 3.0 if __name__ == '__main__': if '-h' in sys.argv or '--help' in sys.argv or len(sys.argv) < 2: print('Usage: python bwm.py <cmd> [arg...] [opts...]') print(' cmds:') p...
[ "1273789365@qq.com" ]
1273789365@qq.com
fddbba3a857cda22e1cecd3113887d8608a0881d
7a5948da9c7b5fb2b0447769016882754f889338
/LogisticRegression/logisticRegression.py
83a063dbf0d1ea34b92c851c2286fa52183d84cb
[ "MIT" ]
permissive
darwin-b/MachineLearning
3f0e4ed82a3b065bc74cdff25cc55fc6e828aecb
834a07fcb5052053d7a7d6d9fe4fc5abbe3117d3
refs/heads/master
2023-02-13T07:10:05.751517
2021-01-12T01:13:23
2021-01-12T01:13:23
291,417,933
0
0
null
null
null
null
UTF-8
Python
false
false
10,536
py
import sys import os import pandas as pd import numpy as np import nltk import re from nltk.tokenize import word_tokenize import time import random nltk.download('punkt') # data_path = "C:\\Users\\darwi\\OneDrive - " \ # "The University of Texas at Dallas\\Acads\\Machine Learning\\Assignments\\MachineLearn...
[ "darwin.bollepalli@gmail.com" ]
darwin.bollepalli@gmail.com
1d78b2f287093aaabba4344add7cc6fae44f8d34
d5aa24b75c2344358752b0af0a47293533820578
/data_analysis/IO/load_data.py
6333a0cb4611a6478b56ee4e3cef726e09a8e012
[]
no_license
ModelDBRepository/234992
913da9efaadb704171da907ebd953fe59efe5fb1
b969a4c623b92c1bd79138f4132885bc424b114c
refs/heads/master
2020-05-29T18:28:48.883803
2019-05-31T03:42:59
2019-05-31T03:42:59
189,300,851
0
0
null
null
null
null
UTF-8
Python
false
false
1,298
py
import numpy as np import sys, pathlib sys.path.append(str(pathlib.Path(__file__).resolve().parents[2])) import data_analysis.IO.axon_to_python as axon import data_analysis.IO.binary_to_python as binary def load_file(filename, zoom=[0,np.inf]): if filename.endswith('.bin'): return binary.load_file(filename...
[ "tom.morse@yale.edu" ]
tom.morse@yale.edu
bda783c687d550284ea64c93dd66f035fb1f1dfb
fdfd9cab4e26491da5d2a06a15960362ccf01460
/ex32.py
2a85257657bbb1b65928785ed5e54f5bf092b766
[]
no_license
WilliamsHerrmann/MWM15
c182f7f8eca4f30a41e602a8e907497bc927af81
3f17abd57473f328ddd1e1a2a7591423f32da0f8
refs/heads/master
2021-07-07T05:01:06.486909
2017-10-02T18:18:44
2017-10-02T18:18:44
103,341,626
0
0
null
null
null
null
UTF-8
Python
false
false
816
py
the_count = [1, 2, 3, 4, 5] fruits = ['apples', 'oranges', 'pears', 'apricots'] change = [1, 'pennies', 2, 'dimes', 3, 'quarters'] # this first kind of for-loop goes through a list for number in the_count: print "This is count %d" % number # same as above for fruit in fruits: print "A fruit of type: %s" % fru...
[ "you@example.com" ]
you@example.com
fee5ba290a6c0c69abc55bd163e7344e718aa456
f201aa7b963cd6c22fabdc9c301cbf75942f5b91
/Algorithms/Analysis/draw_edge_costs.py
048b14569dda4e08bdba495caf2cc5d30774eb24
[ "MIT" ]
permissive
Kanavoy/UODS
5a4e0d5ec52e8be7467702222f3fa13767eaaf91
2da38b749e721b051aeaa6a7bcb3a921aeb5a09c
refs/heads/master
2022-12-09T18:49:24.534122
2020-09-08T18:04:26
2020-09-08T18:04:26
286,434,948
0
0
null
null
null
null
UTF-8
Python
false
false
2,668
py
from networkx import draw_networkx_edge_labels from networkx import Graph, connected_components, DiGraph, all_neighbors from networkx.exception import NetworkXError as nxerror from random import random def analyse(graph,opts,chosen): return def final_analysis(graph,opts): # make a temporary copy of the gia...
[ "noreply@github.com" ]
Kanavoy.noreply@github.com
3ded07fad9594a685e55921207a73becd76c6fab
1150d536b0181c56d15b155ae8c04633626a9ed7
/mysite/mysite/settings.py
677ada1762d1bbd40c92f08e4e7734238d6c1659
[]
no_license
fanzhang312/FetchTwitterFeeds_PythonTwitter
f4a36dd3aff28ff06f30b499ba41d3691c961ffe
1dbfb788d1209d6188cf2577036cb2fef634a8bd
refs/heads/master
2021-01-25T10:14:24.166996
2013-06-10T18:13:05
2013-06-10T18:13:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,281
py
# Django settings for mysite project. DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_email@example.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.db.backends.', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. 'NAME': '', ...
[ "fanzhang312@gmail.com" ]
fanzhang312@gmail.com
7cb7503f8d3b5067d417729a24c032e9f96f80f9
16d05542f024bc2a86b1abdf9cb452d760dfe60b
/run_svd_J.py
f5c19ce972c9e3e330816590591f435f2ededeef
[]
no_license
RoboRiot/CMSC471_The_Bards
84452ea9d1c8845fc030b9ca183d2e9d3223409c
b0da312e809e695e200ea08d46b6ab3d47e5c5b1
refs/heads/master
2020-04-03T13:39:55.917097
2018-12-01T01:40:03
2018-12-01T01:40:03
155,292,594
0
0
null
null
null
null
UTF-8
Python
false
false
1,459
py
#utilizing the newly made user-item matrix to create a rating prediction matrix #new matrix will be saved as text file for quick use in other files import os import numpy from scipy.sparse import csc_matrix from scipy.sparse.linalg import svds, eigs #we will first load our user-item matrix into data data = numpy.load...
[ "elfishfanatic18@hotmail.com" ]
elfishfanatic18@hotmail.com
c05b2d2d9ecd3eba54b5f2efb976613d93068b2e
5389214afd2a1607925c2104227395a4f2a2800e
/ajax_guide/urls.py
453bb0f440546b9de8d098f5eca2b16974c1770b
[]
no_license
vinoyjoshi/bandit
272081b3c843e85969e1a2217080beb08c2b0df5
2421d742bbf31faf9b699bd20058c242cbe68773
refs/heads/main
2023-01-06T01:49:58.327732
2020-10-15T19:47:39
2020-10-15T19:47:39
304,411,565
1
0
null
2020-10-15T19:47:40
2020-10-15T18:13:48
Python
UTF-8
Python
false
false
1,013
py
"""ajax_guide 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-ba...
[ "vnitikesh@gmail.com" ]
vnitikesh@gmail.com
7ed93578216aac980f00d00bb895797a9107acd9
e23a4f57ce5474d468258e5e63b9e23fb6011188
/018_dictionaries/examples/Python 3 Most Nessesary/9.3.Listing 9.4. Enumerating dictionary elements.py
68e2d165ac09ae3d6584391151010bbb29be77b9
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
1,111
py
d = {"x": 1, "y": 2, "z": 3} for key in d.keys(): # Использование метода keys() print("({0} => {1})".format(key, d[key]), end=" ") # Выведет: (y => 2) (x => 1) (z => 3) print() # Вставляем символ перевода строки for key in d: # Словари также поддерживают итерации p...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
a8d39dbd537d0aaba6ada0180f907c14038de717
a4f485b9ebe59372415a3ed75888d1e73e0b97e2
/kenzie_starter_app/migrations/0005_auto_20210617_1138.py
01e2974bf713618ed1723f850c41300d3b3ff5ef
[]
no_license
felipe16sm/kenzie-starter
51f630e6c9c2dd254d89a4d2d36e7cf24ac459b5
ff5c6831a95e53dbf61393f367a47c92160a2bab
refs/heads/master
2023-06-13T05:03:31.387902
2021-07-07T02:31:35
2021-07-07T02:31:35
383,645,118
0
0
null
null
null
null
UTF-8
Python
false
false
540
py
# Generated by Django 3.1 on 2021-06-17 11:38 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('kenzie_starter_app', '0004_auto_20210617_1136'), ] operations = [ migrations.AlterModelOptions( name='project', option...
[ "felipe16sm@gmail.com" ]
felipe16sm@gmail.com
10516b7519d41fd20fd759eba64a4f6122d08f7a
d40db4a1e8d2c80431b57373d746ae709bba50aa
/resource/py/webapp_helper.py
99e66121c9093b1311c6b2f04c5ab5a564fab4d9
[ "Apache-2.0" ]
permissive
dataiku/dss-plugin-ab-testing
dc3b122b5fb2c73c12cf6e757b802fcbb35f6378
3f8770bc3fdeab976639d9df2d82f4f1c32e7520
refs/heads/master
2023-07-21T10:38:10.318490
2021-03-01T17:14:24
2021-03-01T17:14:24
278,628,231
0
0
Apache-2.0
2021-03-01T17:14:25
2020-07-10T12:29:42
HTML
UTF-8
Python
false
false
509
py
import dataiku api_client = dataiku.api_client() def do(payload, config, plugin_config, inputs): project_key = dataiku.default_project_key() project_managed_folders = api_client.get_project(project_key).list_managed_folders() choices = [{ 'label': '{} ({})'.format(mf['name'], mf['type']), ...
[ "marine@DKU-MBP-marine.local" ]
marine@DKU-MBP-marine.local
53b5a7771fd57d104ac7621b2ed2b6c9e1c01f96
aa265e03e73f718d4008cfe30ada7ee32c852eec
/ABC_A/ABC033_A.py
956f4fb0fc9fc60fd343a72f21a9d322326c5e91
[ "MIT" ]
permissive
ryosuke0825/atcoder_python
4fb9de9733cd9ef41c2ad9ad38b3f190f49d3ad5
52d037d0bc9ef2c721bf2958c1c2ead558cb0cf5
refs/heads/master
2023-03-11T22:47:56.963089
2023-03-05T01:21:06
2023-03-05T01:21:06
181,768,029
0
0
null
null
null
null
UTF-8
Python
false
false
82
py
n = input() if n.count(n[0]) == 4: print("SAME") else: print("DIFFERENT")
[ "ayakobon@gmail.com" ]
ayakobon@gmail.com
def2fc41b751673fb8775b648f289d98ef9a0106
51f6443116ef09aa91cca0ac91387c1ce9cb445a
/Curso_Python_3_UDEMY/desafios/desafio_html.py
d5648ffde600f190c5bda1912b3dff47252566db
[ "MIT" ]
permissive
DanilooSilva/Cursos_de_Python
f449f75bc586f7cb5a7e43000583a83fff942e53
8f167a4c6e16f01601e23b6f107578aa1454472d
refs/heads/main
2023-07-30T02:11:27.002831
2021-10-01T21:52:15
2021-10-01T21:52:15
331,683,041
0
0
null
null
null
null
UTF-8
Python
false
false
523
py
def tag(tag, *args, **kwargs): if 'html_class' in kwargs: kwargs['class'] = kwargs.pop('html_class') attrs = ''.join(f'{k}="{v}" ' for k, v in kwargs.items()) inner = ''.join(args) return f'<{tag} {attrs}>{inner}</{tag}>' if __name__ == '__main__': print(tag('p', tag('span', 'Curso...
[ "dno.gomesps@gmail.com" ]
dno.gomesps@gmail.com
e9f449bd7a483ae454100e835054532f0789264f
6f8e46c84940be19aa33dc8abacaaf069181c482
/discount.py
041ddd2544ef8b1dcd8e9414f4f4189f2b83070f
[]
no_license
rmaryada-devops/rmaryada
e0d33e559996c921f5ba4838a68dbc302a7d3490
40c6097c9751051c97e2fb14d11d32b333b8e728
refs/heads/master
2020-05-22T11:45:23.515382
2019-09-06T16:20:22
2019-09-06T16:20:22
186,329,601
0
0
null
null
null
null
UTF-8
Python
false
false
1,234
py
#/usr/bin/python """ Purpose : Cost of Grocery after Discount and GST Products : Home Grocery """ GST = 12.5 DISCOUNT = 20 white_rice = 25 # PerKG santoor_soap = 12 # PerPiece print("Hello Sir Welcome to the store !") Type_Of_Rice = input("Which Rice you want to buy :") print("Sir , You have chosen :" , Type_Of_Ric...
[ "K26114@corp.root.nasd.com" ]
K26114@corp.root.nasd.com
9a96a1af8ecc27b48b600a8999b24dc3d0df94fd
501b09f8f9b034a8bbc27847abe82423e1aace67
/Weather_API/src/weather_API/urls.py
8e206f010683d4ade1fac533b7d0e7a6d43b877b
[]
no_license
Vivekgupta2227/Weather_API_Django
9cf6cb434a28833fc3552d09c50fdb04adfa9b74
f2d406675f8e02c7971f2cdcc1549c8e0cdb7bb2
refs/heads/master
2020-11-24T04:47:59.935278
2019-12-15T06:44:54
2019-12-15T06:44:54
227,971,355
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
from django.conf.urls import url from django.urls import path from .views import WeatherListAPIView,Get_or_Post,get_with_temperature from rest_framework.routers import DefaultRouter urlpatterns = [ url(r'^', view = WeatherListAPIView.as_view(), name = None), url(r'^weather$', view = Get_or_Post.as_view(), n...
[ "noreply@github.com" ]
Vivekgupta2227.noreply@github.com
c259087c7579124a1bf129ebea8b89faf2db13d6
458060b1616b61203e88c8e03eade3a786505a18
/machinelearning/tensorflow/basic-operation-4.py
91ecba5c81da505a7aff116007dc9c0b5896062f
[]
no_license
wangsqly0407/easypack
3251b56c2611ebc7d696a9a24a037f090d0c5d24
49c24e75fba554e42f552de9118e83ed4d951041
refs/heads/master
2020-08-30T21:10:07.792761
2019-10-23T22:15:15
2019-10-23T22:15:15
218,490,221
1
0
null
2019-10-30T09:28:15
2019-10-30T09:28:15
null
UTF-8
Python
false
false
1,331
py
import tensorflow as tf import numpy as np import pandas as pd import os import csv from sklearn import datasets os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' IRIS_TEST = "iris_test.csv" print("##Example 1: csv file read: tf.contrib.learn.datasets.base.load_csv_with_header") print(" filename: " + IRIS_TEST) test_set = ...
[ "liumiaocn@outlook.com" ]
liumiaocn@outlook.com
3cf060b15654c3e0d1da082d3010333669ddf5c1
9f0e8f9602542614f23e039e1b20e9b53afa1391
/app.py
9dc17a226658c04104d3a2491359b22f8506828f
[]
no_license
JK-More/old-car-price-prediciton-jk
79d56ab9a187cff57a25a089aa9313b0a86775e7
3a03ae5f00ad009aa550b3871271dd07901dab70
refs/heads/main
2023-06-23T07:35:53.255508
2021-07-14T17:14:38
2021-07-14T17:14:38
386,013,877
0
0
null
null
null
null
UTF-8
Python
false
false
2,994
py
# import requied packages import jsonify import requests import pickle import numpy as np import sklearn from sklearn.preprocessing import StandardScaler from flask import Flask, render_template , request # create flask object app = Flask("car_price_model") # load ml model which is store in .pkl format ...
[ "noreply@github.com" ]
JK-More.noreply@github.com
198a70fffd6976125de8387f9dece7923a9b9298
679e1a2645084d65040a4e0c48fbdd4b7659295b
/tests/test_guides.py
5a90b4895c887d90b212ad754c16f263cc94cb44
[ "MIT" ]
permissive
macdaliot/riposte
1e8634a443e9ad4ad41044ae4a2049c91bd4d6f8
4f51528e31636586c36218ed0993ba1f4b4a8ab8
refs/heads/master
2023-03-15T02:38:18.485232
2021-01-11T19:56:44
2021-02-11T20:04:48
347,116,138
0
0
MIT
2021-03-12T15:43:34
2021-03-12T15:43:24
null
UTF-8
Python
false
false
2,514
py
from typing import AnyStr, Dict, List, Set, Text from unittest import mock import pytest from riposte import Riposte, guides from riposte.exceptions import GuideError @mock.patch("riposte.guides.ast") def test_literal(mocked_ast): value = "foo" processed_value = guides.literal(value) mocked_ast.litera...
[ "f4wkes@gmail.com" ]
f4wkes@gmail.com
26bf6114fd1d3d3bef96fdc4b9fda2fca22820e7
8a42e8ef22dd15a62cd407910de96b0873fe5252
/schedule/dao.py
dd2268501e6fec0d215c3e2301839f2be7c3f4ee
[]
no_license
Vini-S/Fintek_Project
9293300c798cb5e9f9b84d34972392b411849320
406b939832f4a3f03ff8645500502a98c4d7ca75
refs/heads/master
2020-06-19T11:31:37.413669
2019-07-13T08:16:41
2019-07-13T08:16:41
196,693,104
0
1
null
null
null
null
UTF-8
Python
false
false
12,801
py
from schedule.models import Users from django.db import connection class Dao: def login(self, emailid, password): cursor = connection.cursor() query = ("select * from schedule_users where Email_id=%s and Password=%s") values = (emailid, password) cursor.execute(query,values) a = cursor.fetchal...
[ "noreply@github.com" ]
Vini-S.noreply@github.com
32e2e8da59fbfd97991dcd40e04e00e6e197a6ad
e02a97085e3aa5a699c5a4e8025d03511a92d9c9
/src/learner.py
356131ce0989edadda8412880fc93f35f46fa466
[ "MIT" ]
permissive
vhientran/bionlp17
5f2698a4be64e99583f7a40a969da67ea9bfea69
d2a0d6fdce48760ca456a19d9de7f44b31f1d4a0
refs/heads/master
2023-03-17T18:29:50.765763
2017-10-25T18:40:31
2017-10-25T18:40:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,286
py
from __future__ import unicode_literals, print_function import glog from sklearn import linear_model from sklearn.feature_extraction import DictVectorizer from sklearn.metrics import classification_report class LogisticRegressionLearner(object): def __init__(self, name, warm_start=True): self.vocal = Dic...
[ "leemagpie@gmail.com" ]
leemagpie@gmail.com
2b49f84356e7df9debe20c8e95d2d2ecc044ca6e
7dec7703429bf5fc2b108a7b36ac32f0a39220c7
/NN_1/general.py
698ac70f30ad17fd57f681ec8fc025482da20bbb
[]
no_license
agupta7/malware-webcrawler
05132769ca0072fa34bddd624eef4aa2b7eb1673
608c2949fd875c5c832c1af02902ba1ec7002038
refs/heads/master
2021-08-08T20:01:26.895590
2017-11-11T01:45:38
2017-11-11T01:45:38
103,218,732
3
1
null
2017-10-05T22:15:41
2017-09-12T03:42:40
Python
UTF-8
Python
false
false
10,020
py
import numpy as np import csv import operator import math #################### load Data from csv file def Load_Data (filename): X = [] Y = [] with open (filename, "rb") as file: reader = csv.reader (file) for line in reader: Y.append (float(line[1])) line.pop(0); line.pop(0) ; X.append (np.array(l...
[ "hebahlawneh992@gmail.com" ]
hebahlawneh992@gmail.com
f6549b1f98b57c965fe16910c6aff30ae73b46ff
94bf29ba05cc2df1de7252878f1ac6715bd4ac6f
/pythonCrashCourse/chapter2/practice2_1.py
cce665870269e76adc1e7acaed47fb2e1e8802bc
[]
no_license
ZhuXingWuChang/CollegePython
c0d1cad7c9a73a615726fb35f47727a3e8bbf47f
a3c46302b1f2fc4a17c8c0a6df46a8e1f9961433
refs/heads/main
2023-06-29T03:52:08.274271
2021-08-11T12:12:21
2021-08-11T12:12:21
343,694,490
1
0
null
null
null
null
UTF-8
Python
false
false
40
py
variable = "Hello World" print(variable)
[ "2061007923@qq.com" ]
2061007923@qq.com
1bb8ee9ffb852419667b955dfb804425d8479371
2ed8728b70ae18a581a5985471b539a3bb3c3af6
/TK/EXAM_FUNCTION.py
1609a481debf8831d08d57369301a24464bf7cf9
[]
no_license
zasdx1/python
f9fe82ba68ae465a136cc2a2ce03a5db4ffe1f80
4b7a65cd99480f035dd21a83fcab93165bb1d6f9
refs/heads/master
2022-07-28T12:15:43.441771
2019-08-28T14:27:49
2019-08-28T14:27:49
184,158,350
0
0
null
2022-07-07T03:11:31
2019-04-29T23:29:04
Python
UTF-8
Python
false
false
2,359
py
''' def 함수명(매개변수): <수행할문장1> <수행할문장2> return 결과값 def add(a, b): return a+b a = 3 b = 4 c = add(a, b) print(c) # 입력값이 몇 개 일지 모를 때 --> *매개변수 def add_money(*args): result = 0 for i in args: result = result + i return result result = add_money(1,2,3,4,5) print(result) # 여러개의 입력을 처리...
[ "ltg1382@gmail.com" ]
ltg1382@gmail.com
12882036f4128edacd59fb2f3e15e640ab641ba0
a058f2b24ad41f9c6a84b13f3480d1f237e66d9f
/FixedEffectModelPyHDFE/AlphaStdErr.py
14f43262fb75ea89adc72317d39c558c72fc5cac
[ "BSD-3-Clause", "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Mengxi-20/FixedEffectModel
b8fe5f121dadc3e8597c064845bd2adfa457e4f1
039a902b34310e652bbd3a21ba0ec663f175dd38
refs/heads/master
2023-05-15T02:46:55.824370
2021-06-11T07:01:07
2021-06-11T07:01:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,147
py
""" This module is used to get standard error of each fixed effect. Two functions are concluded: Function alpha_std0 is a traditional function to calculate std err. Function alpha_std uses bootstrap method and allow 50 calculations at the same time, which is faster than alpha-std0. Thus we recommend using alpha_std. ""...
[ "andriusb@ethz.ch" ]
andriusb@ethz.ch
347b2945398aa5cc3183c23004ce594f6246c450
84700798ce50fc88661582dca6cc45fa77035d57
/manage.py
006205b1fd09abed13a6401d6fe8be549263e860
[]
no_license
moldabek/URLshortener
945c3756e40c1df34d7ffe0a8359e42c21538440
5ecac943ca842a1c427a13471ff668a4f4be9e2d
refs/heads/master
2022-12-20T01:18:15.446842
2020-09-21T06:40:47
2020-09-21T06:40:47
290,260,367
0
1
null
null
null
null
UTF-8
Python
false
false
660
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'Back.settings') try: from django.core.management import execute_from_command_line except ImportE...
[ "abu-99@mail.ru" ]
abu-99@mail.ru
e7b420a62db0bce2fe381107cc685f1bf88035d8
f3742f46560486c07c339244f8cf47bb07709561
/features/steps/test_utils.py
7cc4d34cc1b40e7598dc65345299f0ee9046838a
[ "MIT" ]
permissive
Azure/azure-event-hubs-python
55b65920f9d8dbe6cc418d63291ba507ce648d97
326f772f5cbe3d3eaf68b24485554aada463430a
refs/heads/master
2023-03-17T22:03:54.241386
2020-04-07T22:33:17
2020-04-07T22:33:17
91,842,040
65
66
MIT
2020-04-07T22:33:18
2017-05-19T20:14:44
Python
UTF-8
Python
false
false
3,540
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
[ "antisch@microsoft.com" ]
antisch@microsoft.com
55fc9a1726e44163be89eb8a2441951491ef7af9
ef3a7391b0a5c5d8e276355e97cbe4de621d500c
/venv/Lib/site-packages/caffe2/python/layer_model_helper.py
9bb56400ffb7a26b831eb2f82abdf36f27bdbc1c
[ "Apache-2.0" ]
permissive
countBMB/BenjiRepo
143f6da5d198ea6f06404b4559e1f4528b71b3eb
79d882263baaf2a11654ca67d2e5593074d36dfa
refs/heads/master
2022-12-11T07:37:04.807143
2019-12-25T11:26:29
2019-12-25T11:26:29
230,090,428
1
1
Apache-2.0
2022-12-08T03:21:09
2019-12-25T11:05:59
Python
UTF-8
Python
false
false
28,709
py
# @package layer_model_helper # Module caffe2.python.layer_model_helper from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals from caffe2.python import core, model_helper, schema, scope, utils, muji from caffe2.python.modeli...
[ "bengmen92@gmail.com" ]
bengmen92@gmail.com
9dcf9692cc7ae29a7f56fa27e78cdc21365c70ba
8a5ab3d33e3b653c4c64305d81a85f6a4582d7ac
/PySide/QtGui/QStyleOptionTab.py
264b7c0e040a27794ebb0a067eb56b9436f49f11
[ "Apache-2.0" ]
permissive
sonictk/python-skeletons
be09526bf490856bb644fed6bf4e801194089f0d
49bc3fa51aacbc2c7f0c7ab86dfb61eefe02781d
refs/heads/master
2020-04-06T04:38:01.918589
2016-06-09T20:37:43
2016-06-09T20:37:43
56,334,503
0
0
null
2016-04-15T16:30:42
2016-04-15T16:30:42
null
UTF-8
Python
false
false
1,122
py
# encoding: utf-8 # module PySide.QtGui # from /corp.blizzard.net/BFD/Deploy/Packages/Published/ThirdParty/Qt4.8.4/2015-05-15.163857/prebuilt/linux_x64_gcc41_python2.7_ucs4/PySide/QtGui.so # by generator 1.138 # no doc # imports import PySide.QtCore as __PySide_QtCore from QStyleOption import QStyleOption class QSt...
[ "yliangsiew@blizzard.com" ]
yliangsiew@blizzard.com
857ea37b6d65aa8708b7aa91520822899db9bbaa
b3e90c765a70d0c68a3c703c31ebfbcc67d8f83e
/AN_Bridging/box_ws/src/multi_box/src/Algs/SoftActorCritic.py
6147e9cd1403a16b426ef7d1722e30eefb48531e
[]
no_license
ronf-ucb/MultiRobot
619fe1750dd25c336f7ef793e43983d992cbf519
b509e9c43e330e737135298ea4cfbd4190222328
refs/heads/master
2021-07-19T20:39:47.835985
2020-09-07T14:32:39
2020-09-07T14:32:39
211,394,959
1
2
null
2019-10-30T22:21:20
2019-09-27T20:15:07
C++
UTF-8
Python
false
false
3,825
py
#! /usr/bin/env python import numpy as np import torch import torch.nn as nn import math import rospy from std_msgs.msg import String, Int8 from geometry_msgs.msg import Vector3 import vrep import matplotlib.pyplot as plt import torch.optim as optim from Networks.network import Network from Networks.softNetwork imp...
[ "austinnguyen517@berkeley.edu" ]
austinnguyen517@berkeley.edu
5eb0a07ac596ae7345b97c9eed82da966bd14583
59270de0f31107386898488a145b1eec84304b60
/collective/recipe/template/__init__.py
1b92546f53e0c58ec847e1ae325e23b4d7f47b25
[]
no_license
lfs-multisite/lfs-multisite-project
db8349692929bc7c5318052cadc1fc9e4a5ea19c
de0cab06d4c9d76acf6fba53c182a0aa97c402ce
refs/heads/master
2016-08-02T20:44:25.195086
2011-01-31T07:04:29
2011-01-31T07:04:29
1,302,780
0
0
null
null
null
null
UTF-8
Python
false
false
2,334
py
import logging import os import re import stat import zc.buildout class Recipe: def __init__(self, buildout, name, options): self.buildout=buildout self.name=name self.options=options self.logger=logging.getLogger(self.name) if "input" not in options and "inline" not in opt...
[ "tushkanin@mail.ru" ]
tushkanin@mail.ru
8a6d6870ba905839d5e65c492532192cc083a002
445beaa2c50d62a837047b3dbd5132ef5470f8db
/Mastigando estruturas de controle/CalcularSomaDeInteirosAte0.py
f7e992a22d9c1175ef638b2d17e357926bf1a85d
[]
no_license
thayannevls/pythonZumbi
ecee77d640e6ad7e487348eae1ec2eba5e833f22
9ffd39aea2f2927bdb5d58828dfbc75756d3c197
refs/heads/master
2020-04-09T07:24:28.655236
2014-03-09T20:50:02
2014-03-09T20:50:02
17,462,490
1
0
null
null
null
null
UTF-8
Python
false
false
130
py
soma = 0 while True: x = int(input('Digite um número(0 sai):')) if x== 0: break soma = soma + x print('soma : %d' %soma)
[ "thayannevls@gmail.com" ]
thayannevls@gmail.com
2d7f2ed0e05c054d8b480b2f2da123ea594e62c3
a4f0774053ec36e7bf2adb61bd225215fac99128
/takeImageFromVideo.py
6ee456b0f445b05ee0eafc17b83531230b452f07
[]
no_license
linhhnbkdn/utils
d05848e5168fcc1f18b59eefd7fe2d82917f8d3a
242697138b5ca5bff33098974c3754685b85eb03
refs/heads/main
2023-03-08T08:11:09.569529
2021-02-21T04:18:01
2021-02-21T04:18:01
340,810,092
0
0
null
null
null
null
UTF-8
Python
false
false
1,073
py
#!/usr/bin/env python3 import os import argparse import logging import cv2 logging.basicConfig(level=logging.INFO, format='[%(asctime)s-%(name)s]: %(message)s', datefmt='%Y-%m-%d %H:%M:%S') Logger = logging.getLogger('Take image from Video') Logger.setLevel(logging.INFO) arg...
[ "lnhoang@amperecomputing.com" ]
lnhoang@amperecomputing.com
c7c9ab5555c62ef7bca526ca8069b83788f07dc4
a3e26112cb5d6b64c30b44f775750653a1daf0dc
/Q910_Smallest-Range-II.py
550d96ea406915f5883d2b9d5cea91a4561727d1
[ "MIT" ]
permissive
xiaosean/leetcode_python
938f1df379b518d99a778e2da8093ff0371e35d4
d6fc52d13946895d2b2928ef9962af0610b1d1e8
refs/heads/master
2023-04-05T07:07:01.561010
2023-03-25T19:17:21
2023-03-25T19:17:21
150,637,066
0
0
null
null
null
null
UTF-8
Python
false
false
511
py
class Solution: def smallestRangeII(self, A: List[int], K: int) -> int: A.sort() min_range = A[-1] - A[0] min_val = A[0] max_val_sub_k = A[-1] - K min_val = A[0] + K for idx in range(len(A)-1): cur_val = A[idx] + K next_val = A[idx+1] - K ...
[ "xiaosean5408@gmail.com" ]
xiaosean5408@gmail.com
855fb15b15d33fbe562973352dba115c1014db55
251e8bfec0bfc5b6094f7db8ee6bdfe1ca7f6a5b
/bookmanager/venv/bin/python-config
759cfeb2748510449a11b8162c1a3830533ca6fc
[]
no_license
googleliyang/Django_meiduo
543042e08cc5eeb1dce8432b4ea2cca996f35c06
46f48ecf7bd6e9e2796eac1c3d54787f5571a9a7
refs/heads/master
2020-04-24T19:22:42.295324
2019-02-28T05:24:23
2019-02-28T05:24:23
172,209,685
0
0
null
null
null
null
UTF-8
Python
false
false
2,362
#!/Users/ly/Programmer/django/bookmanager/venv/bin/python import sys import getopt import sysconfig valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', 'ldflags', 'help'] if sys.version_info >= (3, 2): valid_opts.insert(-1, 'extension-suffix') valid_opts.append('abiflags') if s...
[ "ubuntu@gmail.com" ]
ubuntu@gmail.com
af674a327738ce483ad38943f0d2f07b42d179ed
7bdb458f37c130fb69ccd9176ac49f1059036ade
/app.py
c191b9668d3fe93dd7b22eb0f397366a3a0ea08a
[]
no_license
cuzer1/testFlask
84332b17861f445cc5519048ef495f513fa2413b
01e8d01d376b123e10fb7f7c2726cec10af1a64c
refs/heads/master
2021-01-21T15:37:31.096097
2017-06-26T03:19:54
2017-06-26T03:19:54
95,396,175
0
0
null
null
null
null
UTF-8
Python
false
false
1,053
py
import os from flask import Flask from flask_restful import Api from flask_jwt import JWT from security import authenticate, identity from resources.user import UserRegister from resources.item import Item, ItemList from resources.store import Store, StoreList app = Flask(__name__) app.config['SQLALCHEMY_TRACK_MODIF...
[ "cuzerms@yahoo.com" ]
cuzerms@yahoo.com
5ae67b4bb1b16de948595c24dd3c6c912329ceb7
9f30877e1ace8c9c40c1b31eaf868af45e1eb61e
/main.py
3e63d83a6a54724b2eddb7823a54724d4e27b614
[]
no_license
KleEnder/chap-app
b78578be51d59d12491b03b441b9216c5f1cb60a
fe860cc0cd6504173c2a166e4ace8e4f28049195
refs/heads/master
2021-01-09T20:40:04.796896
2016-07-21T15:11:14
2016-07-21T15:11:14
63,965,627
0
0
null
null
null
null
UTF-8
Python
false
false
2,670
py
#!/usr/bin/env python import os import jinja2 import webapp2 from models import Message from google.appengine.api import users template_dir = os.path.join(os.path.dirname(__file__), "templates") jinja_env = jinja2.Environment(loader=jinja2.FileSystemLoader(template_dir), autoescape=True) class BaseHandler(webapp2.R...
[ "klemenznidar208@gmail.com" ]
klemenznidar208@gmail.com
6a3de9a2997e3969d187a691ddd2deb96e6635a7
bc9f66258575dd5c8f36f5ad3d9dfdcb3670897d
/lib/googlecloudsdk/generated_clients/apis/ondemandscanning/v1beta1/ondemandscanning_v1beta1_client.py
0ee06b63db758efe5802e29267514cc6f5aa75df
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
google-cloud-sdk-unofficial/google-cloud-sdk
05fbb473d629195f25887fc5bfaa712f2cbc0a24
392abf004b16203030e6efd2f0af24db7c8d669e
refs/heads/master
2023-08-31T05:40:41.317697
2023-08-23T18:23:16
2023-08-23T18:23:16
335,182,594
9
2
NOASSERTION
2022-10-29T20:49:13
2021-02-02T05:47:30
Python
UTF-8
Python
false
false
13,062
py
"""Generated client library for ondemandscanning version v1beta1.""" # NOTE: This file is autogenerated and should not be edited by hand. from __future__ import absolute_import from apitools.base.py import base_api from googlecloudsdk.generated_clients.apis.ondemandscanning.v1beta1 import ondemandscanning_v1beta1_mes...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
7afc32c3c55c9f4e1d021e42595106ed40aa6c5b
deed27b6bd8342d00bf0f90ee25f557f1381fced
/Week 4/lab 4/test.py
327b648731ae065a577049013e52e13b2da98bd5
[]
no_license
roypj/SparkML
13309cafb3303a2e871090270fef6dded054901e
149868b864df331dec23e6d7c2ba5c39f8f9e852
refs/heads/master
2021-09-02T05:33:33.625786
2017-12-30T19:21:57
2017-12-30T19:21:57
115,818,049
0
0
null
null
null
null
UTF-8
Python
false
false
685
py
l =u'0,1,1,5,0,1382,4,15,2,181,1,2,,2,68fd1e64,80e26c9b,fb936136,7b4723c4,25c83c98,7e0ccccf,de7995b8,1f89b562,a73ee510,a8cd5504,b2cb9c98,37c9c164,2824a5f6,1adce6ef,8ba8b39a,891b62e7,e5ba7672,f54016b9,21ddcdc9,b1252a9d,07b5194c,,3a171ecb,c5c50484,e8b83407,9727dd16' #splitStrng= ([i.split(',') for i in l]) #print(l.split...
[ "roy.p.joseph@gmail.com" ]
roy.p.joseph@gmail.com
8e69c34e7f7ee6ddd921d0a6e8b759a6073a36be
93269e34160244fa3a61dc051def95a65f6e7569
/Mark_4/venv/Scripts/pip3.8-script.py
f7a95d3b498d43f8c90a368f0801707ebe5cb22b
[]
no_license
sgundu-doosratake/Python_Coding
50e1959c640d6852d99d7cad95f27758c4c76c4e
5faec8a4f11b3c5f4395ccb31915a459da023d2a
refs/heads/master
2021-01-14T14:58:07.163661
2020-02-24T05:24:20
2020-02-24T05:24:20
242,653,194
0
0
null
null
null
null
UTF-8
Python
false
false
412
py
#!S:\Courses\Python\Examples\Mark_4\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3.8' __requires__ = 'pip==19.0.3' 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])...
[ "saith.kumar@doosratake.com" ]
saith.kumar@doosratake.com
b411cb529b4d1a3eab258d75f2fe2c9df7d6a9cf
cde7faaa1440e2d3dc8f5e65d94ba47a9a13bc56
/tango_with_django_project/rango/migrations/0003_category_slug.py
7a662eddaa214ebd823ad98d6d91ab5b00a041eb
[]
no_license
2080770/tangowithdjango
339fc0c469a41a12f5adef02e3a0111994a32019
4974a0f997f3530abf61ba64e4b0d67da320c7c6
refs/heads/master
2021-01-22T04:57:25.557892
2015-03-07T12:59:22
2015-03-07T12:59:22
28,933,146
0
0
null
null
null
null
UTF-8
Python
false
false
444
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('rango', '0002_auto_20150118_1224'), ] operations = [ migrations.AddField( model_name='category', nam...
[ "2080770R@BO715-7-05.ad.dcs.gla.ac.uk" ]
2080770R@BO715-7-05.ad.dcs.gla.ac.uk
470c33d2edcfd2a53a09494e9049ee2088fb83f0
356416463cbdbcb71afc207b4c0ee380296e6873
/venv/bin/pip3
4916b6d7267932aecafadc70da13b10f47097d87
[]
no_license
cecilianunes6/Clinica
c82c1f79654a11ff9bf3b915343995eb5413252e
d93ea1c9c9578947b11c7b997c8b85feee8ff724
refs/heads/master
2020-07-17T23:44:10.433173
2019-08-29T14:15:41
2019-08-29T14:15:41
206,126,201
1
0
null
2019-09-03T16:48:20
2019-09-03T16:48:20
null
UTF-8
Python
false
false
405
#!/home/jhonatan/PycharmProjects/Clinica/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' __requires__ = 'pip==19.0.3' 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]) ...
[ "xdjhonatan0@gmail.com" ]
xdjhonatan0@gmail.com
814dcbaa8e8ff066be7c35f6e3c1d8bf2dc22077
62c6ed61de8ed77e52f72ee012fd7a0edaaa186f
/Python72.py
f365f511ca3e9b8a3f3e90a4fdc1a79ded87a2e1
[]
no_license
teofanesowo/pythonkk
5eb43c3e65199d965047ae6c4c0cde253541149b
1189c3ac8e0eeb89e8dbce79edddfc9028183b3a
refs/heads/master
2020-04-02T15:55:45.980968
2018-11-13T12:39:54
2018-11-13T12:39:54
154,590,001
1
0
null
null
null
null
UTF-8
Python
false
false
606
py
a = int(input('Digite um número: ')) b = int(input('Digite um número: ')) c = int(input('Digite um número: ')) if a > b > c: print('O maior valor é {} e o menor valor é {}'.format(a, c)) elif a > c > b: print('O maior valor é {} e o menor valor é {}'.format(a, b)) elif b > a > c: print('O maior valor é {} e...
[ "teofanesferreira@gmail.com" ]
teofanesferreira@gmail.com
bbd06e970f33e0fd3225569ff5aedc8b24bb6c63
8b9e9de996cedd31561c14238fe655c202692c39
/recursion/Tail_Recursion.py
24b88b9901ef2a299306341c11b8f90bb3107b39
[]
no_license
monkeylyf/interviewjam
0049bc1d79e6ae88ca6d746b05d07b9e65bc9983
33c623f226981942780751554f0593f2c71cf458
refs/heads/master
2021-07-20T18:25:37.537856
2021-02-19T03:26:16
2021-02-19T03:26:16
6,741,986
59
31
null
null
null
null
UTF-8
Python
false
false
1,005
py
# Explain what is tail recursion and implement reverse a list using functional programming style def rev(a): """Tail recursion. rev([0, 1, 2, 3]) nested([], [0, 1, 2, 3]) nested([0] + [], [1, 2, 3]) nested([1] + [0], [2, 3]) nested([2] + [1, 0], [3]) nested([3], [2, 1, 0],...
[ "laituan1986@gmail.com" ]
laituan1986@gmail.com
ffc78b1d5e4a72e95417083a8d26f63092d50bb2
c0d65d8cdffd5818c5449f70843803dea8bf26e0
/2016/onionSkinRendererWidget.py
03c18748f1182c22d856a5272a8ad29643425443
[ "MIT" ]
permissive
laifuyu/onionSkinRenderer
88144831790abd9910b43b3c9cdc7215ae2f55fc
125bd26051e5b6a700e94bab042e62d55b45ce61
refs/heads/master
2021-05-14T06:49:26.686239
2017-10-01T10:20:31
2017-10-01T10:20:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,670
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'C:\Users\Christoph\OneDrive\Dokumente\maya\scripts\onionSkinRenderer\onionSkinRendererWidget.ui' # # Created: Sun Sep 17 17:58:18 2017 # by: pyside-uic 0.2.14 running on PySide 1.2.0 # # WARNING! All changes made in this file will be lo...
[ "chris.lend@gmx.at" ]
chris.lend@gmx.at
ef25ea6ab283c9467bd7a0429fe025d9498dfc72
2e83e004d8a69a773d1e305152edd16e4ea35ed8
/students/tao_ye/lesson04/mailroom_part2.py
e61b668deb69780a3772bccdbd6ef71d372bcec7
[]
no_license
UWPCE-PythonCert-ClassRepos/SP_Online_PY210
9b170efbab5efedaba8cf541e8fc42c5c8c0934d
76224d0fb871d0bf0b838f3fccf01022edd70f82
refs/heads/master
2021-06-16T20:14:29.754453
2021-02-25T23:03:19
2021-02-25T23:03:19
161,077,720
19
182
null
2021-02-25T23:03:19
2018-12-09T20:18:25
Python
UTF-8
Python
false
false
4,205
py
#!/usr/bin/env python3 from operator import itemgetter donation_table = {"Bill Gates": [40000.0, 50000.0, 9000.0], "Mark Zuckerberg": [10000.0, 6500.00], "Jeff Bezos": [1000.0, 40000.0, 7500], "Paul Allen": [100000.0, 2000.0], "Jack Ma": [15000.0...
[ "taoyeh@gmail.com" ]
taoyeh@gmail.com