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
f55c8a4be2c1181299895c4fe33e44f6c2de40c5
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/ia95ckhN5ztgfJHe4_7.py
3ba1f214826ddee32eec6ed44940399db61237ca
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,202
py
""" In JavaScript, there are two types of comments: 1. Single-line comments start with `//` 2. Multi-line or inline comments start with `/*` and end with `*/` The input will be a sequence of `//`, `/*` and `*/`. **Every`/*` must have a `*/` that immediately follows it**. To add, there can be **no single-line c...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
5eb1a5ea9b7f705bd38dba510644b752d8cf4162
a035633afbc4fa12faf5a83270be6640b61ecc4e
/328. 奇偶链表.py
1fadc4bf4a4333eb00031ee16ea18ac32c9853df
[]
no_license
opwtryl/leetcode
cf6208628a643cb79666f0868d2de17b8110b770
b28f6998d4153921c30e8c66c70a77681e67fe15
refs/heads/master
2020-04-01T03:56:06.938178
2018-11-13T02:06:16
2018-11-13T02:06:16
152,842,378
0
0
null
null
null
null
UTF-8
Python
false
false
1,268
py
''' 给定一个单链表,把所有的奇数节点和偶数节点分别排在一起。请注意,这里的奇数节点和偶数节点指的是节点编号的奇偶性,而不是节点的值的奇偶性。 请尝试使用原地算法完成。你的算法的空间复杂度应为 O(1),时间复杂度应为 O(nodes),nodes 为节点总数。 示例 1: 输入: 1->2->3->4->5->NULL 输出: 1->3->5->2->4->NULL 示例 2: 输入: 2->1->3->5->6->4->7->NULL 输出: 2->3->6->7->1->5->4->NULL 说明: 应当保持奇数节点和偶数节点的相对顺序。 链表的第一个节点视为奇数节点,第二个节点视为偶数节点,以此类推。 ''' ...
[ "noreply@github.com" ]
opwtryl.noreply@github.com
50561e28bfc2a862656bf2ed45c24ed34ac0cd05
3e659c92b20f8e08c0b60212351d74fce24d8974
/migrations/0001_initial.py
8c81f4886964505f16b79e4fb4ef317fd53620a5
[]
no_license
Arpan612/Blogging-app-updated
e6d12c3fd9a690035a4f0c25ccb86a17f43b55da
0068a53a978ff33bd5a603bc1ebe9db57f4bb3b5
refs/heads/master
2021-07-06T21:22:34.761440
2020-08-27T12:20:35
2020-08-27T12:20:35
169,705,571
0
0
null
null
null
null
UTF-8
Python
false
false
1,015
py
# Generated by Django 2.0.9 on 2019-01-02 06:41 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...
[ "noreply@github.com" ]
Arpan612.noreply@github.com
b1d6ae4dd46b033c203319c87878910bf65f15ff
c892379a87343ee326c9fd29ba573dcb6d3ef863
/quizsite/wsgi.py
073ec64d4925c451e2259220bfc9af4783d1459b
[]
no_license
Raffan11/quizproject
20f853cd43f3fa764c1328e95a252013d04ca20a
3e8e8dfc7a760869f0591b2404f13198d3242997
refs/heads/master
2021-05-05T13:34:23.787107
2017-09-29T13:31:28
2017-09-29T13:31:28
104,997,504
0
0
null
null
null
null
UTF-8
Python
false
false
635
py
""" WSGI config for quizsite project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/dev/howto/deployment/wsgi/ """ # import os # from django.core.wsgi import get_wsgi_application # os.environ.setdefault("DJANG...
[ "32261499+Raffan11@users.noreply.github.com" ]
32261499+Raffan11@users.noreply.github.com
0265b67928a755c785a7fe897af01a048622a747
5e120b28006e054f0c524c8155598d73fd2d4281
/base/catalog/exportViews.py
ce4969850529417ae6b999ba7a18a5fa28a542a0
[ "MIT" ]
permissive
daavelino/vulnerability-catalog
92bf12df36be9ab8937f6010d13b5a2eb02c819c
61e0db9cc4656a16847ec635a4cac3e9a6c67dd4
refs/heads/master
2023-01-06T14:54:41.802416
2021-12-21T12:45:25
2021-12-21T12:45:25
80,522,058
12
7
MIT
2022-12-24T08:22:10
2017-01-31T13:19:07
JavaScript
UTF-8
Python
false
false
1,525
py
from datetime import datetime from django.contrib.auth.decorators import login_required, permission_required from django.core import serializers from django.http import HttpRequest, HttpResponse, HttpResponseForbidden from django.utils.decorators import method_decorator from django.views.generic import ListView from ...
[ "daavelino@gmail.com" ]
daavelino@gmail.com
b3dc5ea3d89b1e07a55ce83f932073cd9b52c537
b6df7cda5c23cda304fcc0af1450ac3c27a224c1
/data/codes/ericmartel_Perforce.py
f0b775db30e972ffd0563d511eca16f05a452ea5
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
vieira-rafael/py-search
88ee167fa1949414cc4f3c98d33f8ecec1ce756d
b8c6dccc58d72af35e4d4631f21178296f610b8a
refs/heads/master
2021-01-21T04:59:36.220510
2016-06-20T01:45:34
2016-06-20T01:45:34
54,433,313
2
4
null
null
null
null
UTF-8
Python
false
false
35,544
py
# Written by Eric Martel (emartel@gmail.com / www.ericmartel.com) # Direct port of the Sublime Text 2 version also available on my github, see README.md for more info. import sublimeimport sublime_plugin import osimport statimport subprocessimport tempfileimport threadingimport jsonimport systry: from Queue import Queu...
[ "thaisnviana@gmail.com" ]
thaisnviana@gmail.com
b7a60a72aec305247050106d7a6c5b6847ad98b0
f2a70409df3d3ea1cc74a650038ffe2c8d648497
/settings/__init__.py
689240e02006106488d3a37b1c0c0ea91e096d06
[]
no_license
abhi420bhardwaj/Django-Socialize
120ca34c68d42b9fc2a73bd4b11eb1d32154d9b4
b3fddab4150abb2f8721a07637c3c49d647d43b0
refs/heads/master
2021-03-03T01:49:31.007578
2020-03-09T02:21:43
2020-03-09T02:21:43
245,923,229
0
0
null
null
null
null
UTF-8
Python
false
false
67
py
from .base import * try: from .local import * except: pass
[ "abhi420bhardwaj@gmail.com" ]
abhi420bhardwaj@gmail.com
d841badd34ccdcfe5480954322d0517052ffb407
23471682c3664940ed3af33908087c700b0e2da2
/ControlVentas/src/accounts/views.py
41a8c771d85344d71d6f7ca75e2b257bf199f4c3
[]
no_license
MarianaYucra/ProyectoFinal
0fa7a2992208573bb13521d4846d99a738b9494e
30b1345d1a4aa37ad106532c6d55c2e733d85ff1
refs/heads/master
2022-11-30T13:21:27.325188
2020-08-13T14:35:21
2020-08-13T14:35:21
278,252,876
0
1
null
2020-07-12T00:27:58
2020-07-09T03:25:57
Python
UTF-8
Python
false
false
1,956
py
from django.shortcuts import render,redirect from django.contrib import messages from django.contrib.auth.models import User,auth # Create your views here. def login(request): if request.method == 'POST': username = request.POST['username'] password = request.POST['password'] user = auth....
[ "whuaracha@unsa.edu.pe" ]
whuaracha@unsa.edu.pe
75c1ffff51472f9e8835840089ae9d5bf686ca71
7a2b129b1ba60efa5a525c1e5e499dca69283ee9
/Selenium/cppic.py
0e43b850330c9c488318b0ad04c7781658f87d3d
[]
no_license
shyfeel/myTestCode
364bc8ff19d9e588892090c165399f726fda2987
a5a833eeafd72f228840cc8c2596f4613df0bd61
refs/heads/master
2021-01-25T07:28:57.140923
2018-07-31T03:05:49
2018-07-31T03:05:49
39,937,203
0
0
null
null
null
null
UTF-8
Python
false
false
697
py
import cv2 import numpy as np img = cv2.imread("./cat.jpg") emptyImage = np.zeros(img.shape, np.uint8) emptyImage2 = img.copy() emptyImage3=cv2.cvtColor(img,cv2.COLOR_BGR2GRAY) #emptyImage3[...]=0 cv2.imshow("EmptyImage", emptyImage) cv2.imshow("Image", img) cv2.imshow("EmptyImage2", empty...
[ "shyfeel@qq.com" ]
shyfeel@qq.com
9a945c38b5ac272314f3cc18b8d69a3004068b3d
c9500ad778b8521aaa85cb7fe3239989efaa4799
/plugins/trendmicro_visionone/icon_trendmicro_visionone/actions/submit_file_to_sandbox/__init__.py
aff6b3ae31a70139a54adafc52b8b179ae63bb49
[ "MIT" ]
permissive
rapid7/insightconnect-plugins
5a6465e720f114d71b1a82fe14e42e94db104a0b
718d15ca36c57231bb89df0aebc53d0210db400c
refs/heads/master
2023-09-01T09:21:27.143980
2023-08-31T10:25:36
2023-08-31T10:25:36
190,435,635
61
60
MIT
2023-09-14T08:47:37
2019-06-05T17:05:12
Python
UTF-8
Python
false
false
80
py
# GENERATED BY KOMAND SDK - DO NOT EDIT from .action import SubmitFileToSandbox
[ "noreply@github.com" ]
rapid7.noreply@github.com
dd05162bb6283bcd9dadd28dd5050c53e8467b4f
d8a39f2a8bcc41cb81dcda292ba81f65502417f2
/deep_net/image_quality_tagging/utils.py
75833d6ad0613bad76bef39d0c77d23453bba373
[]
no_license
santoshgsk/DeepNet
95d92ca9ea6db1dc13dde50b70b9657573015f3b
00d5386b61aa105c11105db962876c5e5827412b
refs/heads/master
2021-01-10T04:00:57.804955
2018-06-04T10:54:27
2018-06-04T10:54:27
44,368,590
0
0
null
null
null
null
UTF-8
Python
false
false
1,345
py
from models import * from random import randint import time import numpy as np import keras import os from keras.models import model_from_json from Crypto.Hash import MD5 from django.db.models import Min from onetimeload import model def encrypt(data): data = data + str(time.time()) return MD5.new(data).hexdi...
[ "gsk.krishna@gmail.com" ]
gsk.krishna@gmail.com
22a8a08b7f13534d6a4c9439ebb9324d7efb9f49
46ad34abc8681ee69bb35dc75e5aa6c9b48e79f6
/script/post_example.py
b1956c61ed6204bf3922912785593e9b90eb53d4
[]
no_license
dingdan539/work_script
23275a2b92238c9c736c6a4460f20aac6ecc1753
2e5833aa2f31b74b07b78f06ced5db687303b5b3
refs/heads/master
2021-01-25T11:27:50.809653
2017-06-17T04:16:50
2017-06-17T04:16:50
93,924,081
0
0
null
null
null
null
UTF-8
Python
false
false
525
py
import urllib import urllib2 def getresponse(post_parm): test_data_urlencode = urllib.urlencode(post_param) requrl="http://oms.yihaodian.com.cn/api/notification/event/" req = urllib2.Request(url=requrl,data=test_data_urlencode,headers={"Authorization": "Basic ZXZlbnRfcG9zdDpkaW5nZ28="}) return...
[ "dingdan@dingdande-MBP.lan" ]
dingdan@dingdande-MBP.lan
1ffc53b3185a5ea505a06024cb8e86d6300109ef
7e80274e4940123c11dee20b94d5142725ab6150
/Minesweeper_Python/src/draft_MyAI.py
e5aea03a7f9480affc79ae907e74d74c9ddf7ab8
[]
no_license
codewitty/GaiaAI
18fc4eb2baa143ceb8c4702e905d49a214f961c6
0dd365b0f1ab1567e840c71d48befcdf28191519
refs/heads/main
2023-05-06T19:09:51.924170
2021-06-06T07:59:43
2021-06-06T07:59:43
368,739,527
1
0
null
null
null
null
UTF-8
Python
false
false
13,604
py
# ==============================CS-199================================== # FILE: MyAI.py # # AUTHOR: Justin Chung # # DESCRIPTION: This file contains the MyAI class. You will implement your # agent in this file. You will write the 'getAction' function, # the constructor, and any additional helper functions. #...
[ "gomesjoshua@gmail.com" ]
gomesjoshua@gmail.com
115080ce1f0bce0813ec4a0f2dfe786aea708513
ae181d786a3a7f010d18a7680dc9704273d31a47
/useful/hamming_distance.py
ca23f0fb8f55abc38d23de60eb912621df337cf6
[ "MIT", "Unlicense" ]
permissive
zelr0x/solutions
f1a3a1deec6be5280193ec07da7e5ec4e6402fca
e073c64e866fd9b25d9bb9ae80f92fd3bc5c604d
refs/heads/master
2023-08-31T21:41:04.250456
2023-08-03T18:32:44
2023-08-03T18:32:44
175,304,414
2
0
null
null
null
null
UTF-8
Python
false
false
853
py
from typing import Iterable, TypeVar from itertools import chain def s_hamming_dist_bit(a: str, b: str, encoding='utf-8') -> int: return hamming_dist_bit(a.encode(encoding), b.encode(encoding)) def hamming_dist_bit(a: Iterable[int], b: Iterable[int]) -> int: a_bits = to_bits(a) b_bits = to_bits(b) r...
[ "noreply@github.com" ]
zelr0x.noreply@github.com
b7aca8b75628ed479dd4d1e1a071dc321a3000c5
45a2cce962a0fa3231fb206e3f2121e675ad6fcd
/get_commit.py
5aabdd5f2a164375409b033d2ac2f9ba735457b1
[]
no_license
relentless-coder/github_to_s3
9d461a1ecb2c3ab92eafff552ffe19eb2a97f4e3
25dc8b18703ad43a1124ba522d79b930d2644b57
refs/heads/master
2022-12-11T08:34:34.514646
2021-01-20T10:43:33
2021-01-20T10:43:33
126,624,681
2
0
null
2022-12-08T02:04:17
2018-03-24T17:44:01
Python
UTF-8
Python
false
false
882
py
"""Fetches the commit for a commit_id""" import os from request_handler import request_handler from error import ResponseError def get_commit(commit_id): """Returns JSON with commit data Arguments: commit_id - a valid id of the commit """ url = 'https://api.github.com/repos/{:1}/{:2}/commits/{...
[ "contact@ayushbahuguna.com" ]
contact@ayushbahuguna.com
25d739c64d67666b3e512fd4009ad70803619a9c
860ee2fc11471e5d08b7576fe1b539a1efa4ff2b
/AppleTomato.py
72785b0bb10eca2a2bc94377df993c5ef35081ea
[]
no_license
itakuto/AppleTomatoWeb
19b7ebfe9b4de5dbf614ce0964351dfb8e3d6be1
96a7ff425ae84a9ce47e45f184fe13d9039f2f48
refs/heads/master
2020-06-11T11:16:51.613092
2019-06-26T16:56:59
2019-06-26T16:56:59
193,944,617
0
0
null
null
null
null
UTF-8
Python
false
false
3,864
py
# coding: utf-8 import os import cv2 import matplotlib.pyplot as plt from sklearn.model_selection import train_test_split import tensorflow as tf import keras import numpy as np # 各年代の画像をリスト化 Apple_files = os.listdir('downloads/Apple') Tomato_files = os.listdir('downloads/Tomato') # 配列Xに画像を入れる X = [] for i in Apple_...
[ "itakuto.pw4@gmail.com" ]
itakuto.pw4@gmail.com
1972d15adead71f72550f9c4ff7bfc3a1ad6a084
62c6884e9597d96a25d274515d6124c46daffec8
/zvt/stats/stats.py
7128f18fc673ad777d15adc0d5b1552ed4641b1b
[ "MIT" ]
permissive
doncat99/zvt
0f9305442af287e63f15de11cb2e2f6b5f9b3d05
831183bdf7a6d0fc3acd3ea51984df590078eec6
refs/heads/master
2023-03-22T13:35:17.277276
2021-03-10T14:02:08
2021-03-10T14:02:08
284,984,720
13
2
null
null
null
null
UTF-8
Python
false
false
22,003
py
#!/usr/bin/env python # -*- coding: UTF-8 -*- # # QuantStats: Portfolio analytics for quants # https://github.com/ranaroussi/quantstats # # Copyright 2019 Ran Aroussi # # 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...
[ "doncat99@gmail.com" ]
doncat99@gmail.com
0b7abfd2850c397d76469bbbb02b3dd8687bcfde
cfc1be3ae11cfee97aac0cfc56672026f1a7c853
/ping.py
6f92fce1eecd55e7e8dfa301d2a64795d1f70761
[]
no_license
AlfonsoOvalle/puertos_abiertos
162301f57a76f0a1c2468aaa99db3b9181391fd7
dd559475202e7dcb899112d6a677b5a0c6f152a4
refs/heads/master
2023-01-20T19:18:49.966281
2020-11-28T01:25:09
2020-11-28T01:25:09
316,634,614
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
import socket; sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) # host = '40.76.231.100' print("Ingrese la Ip o nombre del host:") Host = input() print(f"Buscando puertos abiertos en el host:, {Host}") for puerto in range(0, 65536): result = sock.connect_ex((Host,puerto)) if result == 0: print (...
[ "alfonso200925014@gmail.com" ]
alfonso200925014@gmail.com
39cd88f0f87221d1954869382294290420c184ff
f8f88c947975c569025f7c7ffd35014ecfc7f639
/pyThosT/__init__.py
edd16243957c8e5f520fe363c9bdea579a00af5b
[]
no_license
afalaize/exchange
16dbafbf2bff63c57112474184de4984a7eb7927
135f8ccf97ff88f1fe7c7c38fe0ce499d5ed9186
refs/heads/master
2020-07-05T05:04:55.806692
2017-03-14T09:41:27
2017-03-14T09:41:28
74,126,344
0
0
null
null
null
null
UTF-8
Python
false
false
96
py
# -*- coding: utf-8 -*- """ Created on Wed Jan 18 16:00:46 2017 @author: afalaize """ #
[ "noreply@github.com" ]
afalaize.noreply@github.com
e58e8361f66d4ba00ac7e23212da5f974c710fad
67b2be20c931cf53df782dbfa7783542e60fa484
/dgreed/tools/mkdig/SConscript
6d14bd23c00ec634d9aaa7e916d44f23f3b7c9a3
[]
no_license
carlossless/quibble
78d3c19b552c447b2181c24d3bbd9462f9e20cc0
f816d7fc2aa8566d3e410ed9ed6579364c9b9913
refs/heads/master
2021-01-10T13:27:55.083085
2014-10-13T11:29:03
2014-10-13T11:29:03
45,132,977
0
0
null
null
null
null
UTF-8
Python
false
false
192
Import('env') NAME='mkdig' sources = Glob('*.c', strings=True) app = env.Program(NAME + env['DGREED_POSTFIX'], sources, LIBS=env['DGREED_LIBS']) env.Install('#'+env['DGREED_BIN_DIR'], app)
[ "domas.marko@gmail.com" ]
domas.marko@gmail.com
4d7441191bb081ae089a0ca2507ab8be71437200
4ddf61397e02ba4638ba1137e3f18e8ca5979ac7
/examples/respmod_copy.py
a78e7288a0e94c685bb233cddde9bc52a8e3973c
[]
no_license
snobb/pyicap
209282b433730b682fb47886f5abc04ad2851a08
2696697b40d2534ce0c9af0f3078525fd038a902
refs/heads/master
2021-05-27T23:49:38.687001
2013-07-08T07:30:13
2013-07-08T07:32:23
18,606,360
1
0
null
null
null
null
UTF-8
Python
false
false
2,675
py
#!/bin/env python # -*- coding: utf8 -*- import random import SocketServer from pyicap import * class ThreadingSimpleServer(SocketServer.ThreadingMixIn, ICAPServer): pass class ICAPHandler(BaseICAPRequestHandler): def example_OPTIONS(self): self.set_icap_response(200) self.set_icap_header('...
[ "tamas.fabian@vengit.com" ]
tamas.fabian@vengit.com
f875953eeb6bc655bf365406127b7e55f238a6e8
d91fe0e972f2befab71987a732111b56245c5efc
/example_sm_pkg/nodes/subscriber_publisher_class_example.py
9c626cf9b3902a827c6dde41ecd95bc0f3438280
[]
no_license
karla3jo/robocup2014
2064e8102d5a3251ae582b7ed37ab80d0398f71c
3d8563956fd1276b7e034402a9348dd5cb3dc165
refs/heads/master
2020-07-26T08:22:13.932741
2014-07-14T13:58:48
2014-07-14T13:58:48
21,850,936
1
0
null
null
null
null
UTF-8
Python
false
false
1,093
py
#! /usr/bin/env python # -*- coding: utf-8 -*- """ Created on Tue Oct 22 12:00:00 2013 @author: sampfeiffer """ import roslib; roslib.load_manifest('example_sm_pkg') import rospy import sys from std_msgs.msg import String class myNode(): def __init__(self, argument_one): # my class variables sel...
[ "sammypfeiffer@gmail.com" ]
sammypfeiffer@gmail.com
b741ff399ab76da7346243c4a6b8b998babe038f
b3f33d53507b09bc8193c5fc113fe2f28d95f6da
/empinfo/forms.py
4e01d73915ed2eae414d2d03cf9e13da6356e549
[]
no_license
Jayant2185/Django_Employee
f07beb3b3497a84c75ba43a623a7ebb7390b18b4
ac3650670ddecd634b847bb39c3f0e9372b1bb4f
refs/heads/master
2020-04-24T07:49:20.986569
2019-02-21T06:13:06
2019-02-21T06:13:06
171,810,493
1
0
null
null
null
null
UTF-8
Python
false
false
166
py
from django import forms from empinfo.models import Employee class EmployeeForm(forms.ModelForm): class Meta: model = Employee fields = "__all__"
[ "me@gmail.com" ]
me@gmail.com
4073df6d3ccfdb1360789995dbae5c54b8f6be5a
778ddc9e596f368bc5fbf4ea78bd7044b94cd99e
/textutils/views.py
9ba9ea7818e08bca4c93b9fb3cf59fb294984f86
[]
no_license
sskanishk/django-textutil
e777202a8dac5312db1575ac19cc62c3349861a0
f3c29de3c4a69af491dacb7bf1f71779bad3651a
refs/heads/master
2020-12-02T20:38:06.619019
2019-12-31T16:06:09
2019-12-31T16:06:09
231,114,626
1
0
null
null
null
null
UTF-8
Python
false
false
4,484
py
# star # views it is a python program # views return HttpResponse from django.shortcuts import render from django.http import HttpResponse def index(request): return render(request, 'index.html') # return HttpResponse("hello wotld") # orignial def analyse(request): #Get the text djtext = request.POST...
[ "kanishkmalviya78@gmail.com" ]
kanishkmalviya78@gmail.com
f03e64fbebef264b8c776239227111949d6b19ed
934d1653e6c48fdd32b82edd0167767ea8e38c32
/code/resources/store.py
3d9d82bfa5b34ff8dabbe912e31643c881381eeb
[]
no_license
Nishantk1906/flask-tut-api
40f2e7df98aaa22d14f4a1edf96558d51f7ff92c
ef6d79bb12a9b32e29fb8f7c0160978eae9b4a45
refs/heads/main
2023-08-25T16:23:06.585136
2021-10-23T06:07:11
2021-10-23T06:07:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
903
py
from flask_restful import Resource, reqparse from models.store import Storemodel class Store(Resource): def get(self, name): store= Storemodel.find_by_name(name) if store: return store.json() return {'message': 'Store not found'}, 404 def post(self, name): if Storem...
[ "nishant@corum8.com" ]
nishant@corum8.com
51643692269809ea5f60e8640cb27fcf7291b775
ccef22b749658409c4a7665196d8264824ebb9f4
/ctci/arrays/setRowColumnZero.py
cd3fa085c658918b5cffc75923f53896a02e0630
[]
no_license
anjaligr05/TechInterviews
12afc9cb69758f129dbba213b88a7075b4484cdd
a6ba26f39afef3f91b2fbf4b0ff759ce096a03c7
refs/heads/master
2020-03-19T05:36:40.003074
2018-11-28T19:45:33
2018-11-28T19:45:33
135,947,817
0
0
null
null
null
null
UTF-8
Python
false
false
900
py
def nullifyColumn(matrix, c): for i in range(len(matrix)): matrix[i][c] = 0 def nullifyRow(matrix, r): for j in range(len(matrix[0])): matrix[r][j] = 0 def setToZero(matrix): for r in matrix: print r print('\n') firstRowZero = False firstColumnZero = False for c in range(len(matrix[0])): if matrix[0][c]...
[ "anjred@amazon.com" ]
anjred@amazon.com
59f898c24b7c31d0cbe76ef107a8a875644260fd
e4c6acac07427baf82b44c17198dab5b78b44fa7
/warn/warn.py
2e374b944fce69f2ab0ee357d7bfd5128807795a
[ "MIT" ]
permissive
scopatz/warn
bf1b33320031857233ee525fc56957a511eb2d37
a528bca192856f3cbf81e5fb133b143cb247a789
refs/heads/master
2020-04-06T05:30:32.463854
2016-08-29T00:23:41
2016-08-29T00:23:41
67,258,506
0
0
null
2016-09-02T22:20:43
2016-09-02T22:20:43
null
UTF-8
Python
false
false
8,594
py
""" A module that replace the built-ins warning module wit a more flexible interface. """ import warnings import sys import re from warnings import (_is_internal_frame, _next_external_frame, _filters_mutated, showwarning, defaultaction, onceregistry) wfmu = _filters_mutat...
[ "bussonniermatthias@gmail.com" ]
bussonniermatthias@gmail.com
07f5f0febe13636216e15925edf3d44f1db27c2f
2d80791a21a049243dd2bf7dd95a46c4d4b2510b
/domains/datastructures/linkedlist/CompareLists.py
c0436a2864f8f8fe985aca810532048acb762799
[]
no_license
jayrav13/jr-hackerrank
909346d101fdf08a54ff75ec2ee39c90e661b251
b7e0130fdd1c2eb4436871be3255200eac8ca3d9
refs/heads/master
2021-01-15T15:36:16.772814
2016-11-21T18:59:15
2016-11-21T18:59:15
48,657,803
0
0
null
null
null
null
UTF-8
Python
false
false
586
py
""" Compare two linked list head could be None as well for empty list Node is defined as return back the head of the linked list in the below method. """ class Node(object): def __init__(self, data=None, next_node=None): self.data = data self.next = next_node def CompareLists(headA, headB): count = 0 whil...
[ "jayrav13@gmail.com" ]
jayrav13@gmail.com
6b174a065fbde2ba1c834f3c080c64112a4ee370
8c7e58a1c80dfb0b0f62175173bf56f48ee90880
/models/store.py
da9628512c368a2b14cd37457ba0aea815bb2b81
[]
no_license
veerdoshi/stores-rest-api
90692bd7ca80a6d8e52306782bb68dc354c69878
6868a2305f0222e9cb58e12156f5a019ba1a6fbc
refs/heads/master
2021-09-01T11:37:07.069630
2017-12-26T18:27:38
2017-12-26T18:27:38
114,919,483
0
0
null
null
null
null
UTF-8
Python
false
false
669
py
from db import db class StoreModel(db.Model): __tablename__ = 'stores' id = db.Column(db.Integer, primary_key=True) name = db.Column(db.String(80)) items = db.relationship('ItemModel', lazy='dynamic') def __init__(self, name): self.name = name def json(self): return {'na...
[ "noreply@github.com" ]
veerdoshi.noreply@github.com
ac56b27c967404a47fd578fdbff927c73f1753f0
5e684563a57d28b4fd353f7c0ec6155d52db3b8c
/exerciciosw3resource/01.py
327f2de8264ae9ac72ef39c21ee74f79f07a1d86
[]
no_license
rafaellamgs/prog_comp2018.1
a42de9c3e0eae8c27c616664187f3917470d3a0e
89017f8dd8b77f8edee571ecb047eee6534d51f9
refs/heads/master
2020-03-28T02:10:54.899557
2019-01-02T19:09:26
2019-01-02T19:09:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
143
py
for number in range ( 1500, 2701): if number % 7 == 0 and number % 5 == 0: print(number, 'é multiplo de 5 e divisivel por 7')
[ "39624306+camumbembe@users.noreply.github.com" ]
39624306+camumbembe@users.noreply.github.com
298fb512ae1280030836435e20ea3f5487152026
1bab425414ff522916c70fbc57562ad7e7e2aa64
/build_libtcod.py
94b053869450719211c905bff082869f96a359a8
[ "BSD-2-Clause-Views", "Python-2.0" ]
permissive
Rakaneth/python-tcod
c958797193a365c5ccd8b1cb9d1a143938e4ba05
70ff1895fd7ae87bf66f16e388211db389d983fd
refs/heads/master
2020-04-13T20:47:56.853106
2018-12-28T18:42:20
2018-12-28T18:42:20
163,439,619
0
0
NOASSERTION
2018-12-28T18:42:21
2018-12-28T18:40:01
Python
UTF-8
Python
false
false
11,464
py
#!/usr/bin/env python3 import os import sys import glob from cffi import FFI from pycparser import c_parser, c_ast, parse_file, c_generator import shutil import subprocess import platform try: from urllib import urlretrieve except ImportError: from urllib.request import urlretrieve import zipfile SDL2_VERS...
[ "4b796c65@gmail.com" ]
4b796c65@gmail.com
90cda2194aab9ac1aa8576288440859c5c54fbbc
dd19ab77e237a80e32b25247b514b34bd99e22be
/scripts/build_seed2uniref_mappings_table.py
fb67bcf214f2634c92557ef09c94e337836eef84
[]
no_license
aekazakov/seed2kegg
54d65ab13c660a71c21dfd4dc1426fad9ecbb76c
b41aeda511d017eefe75231121c86d77fa796c55
refs/heads/master
2021-09-11T00:03:37.866608
2018-04-04T16:21:11
2018-04-04T16:21:11
125,553,927
0
0
null
null
null
null
UTF-8
Python
false
false
1,906
py
#!/usr/bin/python import sys import os.path import sqlite3 import argparse from context import seed2kegg from seed2kegg import db_utils from seed2kegg import seed_data_util from seed2kegg import data_analysis def get_args(): desc = '''This script builds a table of SEED genes mapped to UniRef. First, it compar...
[ "aekazakov@iseq.lbl.gov" ]
aekazakov@iseq.lbl.gov
324787c4111ae0c7fbd6537e0453983a3e004533
0d9cfecca5ced625e3544b987e1da3648458fd0b
/Python/scripts/match_standalone.py
6e402e0d267d8c0c2562d1c39650610c44f63744
[ "MIT" ]
permissive
CandisZhao/SSF
34168de32f08a9ef0ccdf6c25df093b542f26cc2
133ed0518ed6b54bdcb781d78bc1fcd531211d8d
refs/heads/master
2020-12-30T15:41:35.327364
2017-11-16T07:28:51
2017-11-16T07:28:51
91,160,242
1
1
null
null
null
null
UTF-8
Python
false
false
9,162
py
#!/usr/bin/env python # vim:ts=4 sw=4 sts=4 et: """\ %prog [options] reference_complexes predicted_complexes Calculates matching scores between a set of reference and predicted complexes. The input files must contain the reference and the predicted complexes, one complex per line. """ from __future__ import division ...
[ "can.zhao1114@hotmail.com" ]
can.zhao1114@hotmail.com
995e5340e3e9b0c8c5de25b5387d45937c15f28d
ac7e039a70ba627f6d9a7a02c9a8849ed5e18a89
/unep.project-database/tags/0.5/reports/ProjectsByStaffReportFactory.py
098ba274cf4516efa70e202f34be5109ec024408
[]
no_license
jean/project-database
65a2559844175350351ba87e820d25c3037b5fb2
e818d322ec11d950f2770cd5324fbcd1acaa734d
refs/heads/master
2021-01-01T06:27:24.528764
2014-01-31T11:11:45
2014-01-31T11:11:45
32,125,426
0
0
null
null
null
null
UTF-8
Python
false
false
791
py
from Report import Report class ProjectsByStaffReportFactory(object): def __init__(self, context, **kw): self.context = context self.params = kw def getReport(self): # create and fill the report name = "Projects by Staff Report" report = Report(name) report.set...
[ "jurgen.blignaut@61ed036f-b72b-0410-9ea5-b9ec1d72d98d" ]
jurgen.blignaut@61ed036f-b72b-0410-9ea5-b9ec1d72d98d
286e6feb771656a50d1d552a5583577d2f990bc4
ce816d60b9aa647951749f86e8ed3e2bedc12ba6
/fuzzylink/duplicates.py
62ae785afbb3b88cc122bf0514d941d1ba523d6a
[ "MIT" ]
permissive
tseastmond/fuzzylink
7c2bb1cecd0d97b24ff4c329a069255c774cbfe8
5aee255ab31b5a387694d512451e95791925ccfb
refs/heads/master
2023-04-19T06:26:42.615848
2021-05-11T17:15:11
2021-05-11T17:15:11
240,357,955
0
0
null
null
null
null
UTF-8
Python
false
false
7,668
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from multiprocessing import Process, Manager from os import kill from random import shuffle from time import time, sleep import pandas as pd from ._loop import _loop from ._memory_check import _memory_check from ._timer import _timer ##################################...
[ "teastmon@ucsd.edu" ]
teastmon@ucsd.edu
2bfb19c4ed33d2b895432f2794e91a2a83869bf2
a2832e8b13109e9c730995afda6037102f788d74
/MNIST_CNN.py
c4b9209ea57745713a7f101a3c985dfd5817d366
[]
no_license
NengnengZhang/my-nlp
abd3177792c4cbf8e901e7b4b06e400e784a2c4c
a6f160c5bd966abcf2133e9b8d3a4633439a94ef
refs/heads/master
2021-07-03T01:11:55.197620
2020-10-15T08:21:49
2020-10-15T08:21:49
182,517,293
0
0
null
null
null
null
UTF-8
Python
false
false
3,991
py
# Convolutional Neural Network,CNN import matplotlib.pyplot as plt import numpy as np import tensorflow as tf import com.hello.mnist.input_data as input_data mnist = input_data.read_data_sets("MNIST_data/", one_hot=True) def weight_variable(shape): initial = tf.truncated_normal(shape, stddev=0.1) return tf...
[ "nengneng_zhang@outlook.com" ]
nengneng_zhang@outlook.com
9cf43674f5ae4b67b40e064a3e7906ca50fe7a6a
99df94cb8fbbec6311a26ffd6146f98656a2e1c4
/app/core/proyectos/migrations/0001_initial.py
a3c70612bcb7ae32362830615f90e83db1370394
[]
no_license
luis114/Python
e9e36251c5b2cccaec499ac30df97286129bbae9
27879e6974a5e58d66ab9db4cfbb2bca49bbd963
refs/heads/master
2022-09-25T05:38:09.358209
2020-06-04T00:53:39
2020-06-04T00:53:39
269,226,069
0
0
null
null
null
null
UTF-8
Python
false
false
3,797
py
# Generated by Django 2.2.12 on 2020-05-14 00:14 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('userdata', '0003_auto_20200513_1531'), ] operations = [ migrations.CreateModel( ...
[ "64228042+luis114@users.noreply.github.com" ]
64228042+luis114@users.noreply.github.com
09df1cd07c077f07a91816f38d1c8539b004786e
d5579bf9341d8ae1edcbf3cce1b55ddb582be954
/test/integration/sagemaker/test_distributed_operations.py
8fdb943993445ee7cafc9d265d15363805d9919b
[ "Apache-2.0" ]
permissive
bearpelican/sagemaker-fastai-container
ad4759ecdc4cda4a50f63810edb2feda144d72d0
32173721a5bbdd0c9009001a778343884d3a117c
refs/heads/master
2020-04-07T06:30:42.041402
2018-11-19T01:13:21
2018-11-19T01:13:21
158,138,610
0
0
Apache-2.0
2018-11-18T23:53:36
2018-11-18T23:53:36
null
UTF-8
Python
false
false
2,380
py
# Copyright 2018 Amazon.com, Inc. or its affiliates. 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. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file acc...
[ "mmcclean@amazon.com" ]
mmcclean@amazon.com
db1548e5b6ec0456ee71194444efa7d5cb1a68a9
a2cd0076377f3b660d0d2ba8d3caf8382281492f
/hotel_channel_connector_wubook/tests/test_reservation_restriction_item_model.py
3ad7283debf0d8f19a926c2bf5416c8e15ce0603
[]
no_license
hootel/hootel
9f465beaabc9a5da9eb3d7f8aa1d8e987631301f
d46d3de23b8bae756400d7be645893ed11583ee0
refs/heads/11.0
2023-05-11T05:18:59.550231
2023-04-27T17:06:51
2023-04-27T17:06:51
123,324,791
33
35
null
2023-04-27T17:06:52
2018-02-28T18:24:23
Python
UTF-8
Python
false
false
1,920
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2017 Solucións Aloxa S.L. <info@aloxa.eu> # Alexandre Díaz <dev@redneboa.es> # # # This program is free software: you can red...
[ "noreply@github.com" ]
hootel.noreply@github.com
dfbe4793da8123e0dc4a52d5d76275ed55a387fe
e7d598e7b56f6cc2ddfb193d201b2bc9c06c6856
/rehab/models/pathology.py
be73eb29ca10117785b4bce3f0fab04430b434d4
[ "ISC" ]
permissive
RehabForAll/RehabProtocol
c13ed7c9facc899ffedadf846e0b4637ae52d8ef
f8a0a846ba3afedcd17671b077da5665310b7137
refs/heads/main
2023-08-03T17:02:27.846893
2021-09-29T17:39:46
2021-09-29T17:39:46
384,837,176
0
0
null
2021-09-29T17:39:47
2021-07-11T01:24:35
Python
UTF-8
Python
false
false
947
py
import json import uuid from dataclasses import dataclass, asdict, field from functools import cached_property from typing import List @dataclass class Pathology: """ Represents a pathology, which is initialized with a name and description. """ name: str description: str phases: List[str] = fi...
[ "gabe.cohen@hey.com" ]
gabe.cohen@hey.com
1e29bf8238137d9c10cafa4a39b30bda313da58b
e4aa334316c940f07cbf87176be53c7cb8703345
/08_pr.py
cf20f3e7f201b59596c4e8ec470a807f2c028389
[]
no_license
kumarsaurav20/pythonchapters
f6a9d0a04278f57dabe4bffc1ad91b46f2694ee4
a45627aabbec22f7f5e6df107d3fe19a846bd33e
refs/heads/main
2023-07-05T22:48:13.618485
2021-08-08T06:17:51
2021-08-08T06:17:51
386,627,105
0
0
null
null
null
null
UTF-8
Python
false
false
86
py
# Check that a tuple cannot be changed in pyhton t = (2, 4, 5, 8) t[0] = 0 print(t)
[ "noreply@github.com" ]
kumarsaurav20.noreply@github.com
ea9d3ee3230d73f421fb22d2f59af8f113c81b91
c1bd12405d244c5924a4b069286cd9baf2c63895
/azure-mgmt-network/azure/mgmt/network/v2015_06_15/models/load_balancing_rule_py3.py
695a8e63e56403f3519346e6c5ce8aa055f7b53e
[ "MIT" ]
permissive
lmazuel/azure-sdk-for-python
972708ad5902778004680b142874582a284a8a7c
b40e0e36cc00a82b7f8ca2fa599b1928240c98b5
refs/heads/master
2022-08-16T02:32:14.070707
2018-03-29T17:16:15
2018-03-29T17:16:15
21,287,134
1
3
MIT
2019-10-25T15:56:00
2014-06-27T19:40:56
Python
UTF-8
Python
false
false
5,391
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "noreply@github.com" ]
lmazuel.noreply@github.com
2ed787bbddbaa83abe0480f699b22342aef9d349
9355b7af3d03dfd7feeaf002b0a5c99b7d9678f0
/cloudpathlib/local/__init__.py
c6a1ba1e7ca427e6d8b62c37eeb68dc51a596663
[ "MIT" ]
permissive
rluta/cloudpathlib
64780e574e533a8c128285d10ecfb79c5be30f19
80f7afdf85dfb4f3ad0406944a5d3cf28c727435
refs/heads/master
2023-06-10T01:46:32.670933
2021-07-05T18:29:47
2021-07-05T18:29:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,035
py
"""This module implements "Local" classes that mimic their associated `cloudpathlib` non-local counterparts but use the local filesystem in place of cloud storage. They can be used as drop-in replacements, with the intent that you can use them as mock or monkepatch substitutes in your tests. See ["Testing code that use...
[ "noreply@github.com" ]
rluta.noreply@github.com
d9868dd88cf02a964c6d945a91add7bd02582f0b
8dd003be19ec906c114420b362677414b513be43
/tutorial_07/exercise7_1.py
7eb40e4cde5e4fc12db13585adc12346a630740a
[]
no_license
kneureither/compMBP
c14cb85961f3f07fe9ac6368a0acf72abbd655d0
7108a16b85bab6ac7500bc572938a2b0efe96247
refs/heads/main
2023-06-10T16:49:37.675120
2021-06-18T12:45:37
2021-06-18T12:45:37
360,791,110
0
0
null
null
null
null
UTF-8
Python
false
false
5,027
py
import scipy import numpy as np import matplotlib.pyplot as plt from compMBP.tutorial_05 import ed from matplotlib import cm import functools def task_decorator(func): def inner(*args, **kwargs): print('--'*30) print(func.__name__) func(*args, **kwargs) return inner class MatrixProd...
[ "o.kuijpers@appliednanolayers.com" ]
o.kuijpers@appliednanolayers.com
2bacde3214b0e7c787edcea2d2dd0a33a87aee18
d638e4a000327c7b0163020f9aef188023570ce2
/initialiser.py
7b43f4c8f2e93380b5898d829c43fe7dc337f992
[]
no_license
t-afo/Lymph
9d9fd205870d0badbf2349107267f58b3c006b28
e87a9517f8828fe1fda65ad2902c7a2deb202b40
refs/heads/master
2023-05-11T02:13:23.431036
2021-06-03T11:14:59
2021-06-03T11:14:59
373,480,105
0
0
null
null
null
null
UTF-8
Python
false
false
3,412
py
#Code for initialising conditions, along with supporting functions for 1 lymphangion import numpy as np import scipy as sp import matplotlib.pyplot as plt from scipy import optimize #Constants pa = 2190 pb = 2500 pe = 2140 Pd = 35 Dd = 0.025 mu = 1 L = 0.3 f = 0.5 t0 = np.pi / 2 #Valve resistance constants througho...
[ "42203782+t-afo@users.noreply.github.com" ]
42203782+t-afo@users.noreply.github.com
122b76e57de2082a15a22ffe30f332ef29d31dd6
8245ecc361319340b5b196b76dc8cf1d5075c3b1
/reservations/views.py
6872d1de2dbff040b8a1412b6e1b63bdd5a01625
[]
no_license
Korimse/airbnb_clone
bc267e384fc098f179387ba3153614c71f999edc
c20a82cb196ad9ad6b697cf874bca34b5461c87e
refs/heads/master
2023-06-30T11:17:53.412006
2021-08-03T16:30:47
2021-08-03T16:30:47
391,269,669
0
0
null
null
null
null
UTF-8
Python
false
false
2,313
py
import datetime from django.views.generic import View from django.contrib import messages from django.shortcuts import render, redirect, reverse from django.http import Http404 from rooms import models as room_models from reviews import forms as review_forms from . import models class CreateError(Exception): pass...
[ "korimse@gmail.com" ]
korimse@gmail.com
8171b639c10a5af7c9974b7827ca99ad7d23f1e9
9b93d0591edf01684254b460d26f56cc180eee24
/assignment2/neural_lm.py
a2b235e061eaaf246dd339944f941501097747fb
[]
no_license
GuyTevet/nlp-tau
5d9ad3da8722df395241123dccc187f4d9d2044f
bba13ec7ca8a24724c78ff37d269367bd9a03e69
refs/heads/master
2021-04-06T00:50:19.088880
2018-06-01T08:32:33
2018-06-01T08:32:33
125,262,087
0
0
null
null
null
null
UTF-8
Python
false
false
5,558
py
#!/usr/local/bin/python import pandas as pd import time import os.path from data_utils import utils as du from numpy import * from neural import * from sgd import * VOCAB_EMBEDDING_PATH = "data/lm/vocab.embeddings.glove.txt" BATCH_SIZE = 50 NUM_OF_SGD_ITERATIONS = 40000 LEARNING_RATE = 0.3 def load_vocab_embedding...
[ "guy.tvt@gmail.com" ]
guy.tvt@gmail.com
c73e52136d599822c89c4bad081b5f3c2bd8bf63
9425d564cb8c19f0213697ba24eaa512dabd24a4
/contour.py
e5f64dab769811df855574fce54e3ca04435c920
[]
no_license
linzhibo/auto_rectangle_detection
bf557fadedb9ebc51843021779d2d68e578e20ef
5b17e614ba6cfd70d09e91eaef5b44524276e4ad
refs/heads/master
2020-03-15T03:41:02.377770
2018-05-03T05:58:16
2018-05-03T05:58:16
131,948,266
0
0
null
null
null
null
UTF-8
Python
false
false
3,035
py
import cv2 import numpy as np import sys import os import numpy as np from matplotlib import pyplot as plt def angle_cos(p0, p1, p2): d1, d2 = (p0-p1).astype('float'), (p2-p1).astype('float') return abs( np.dot(d1, d2) / np.sqrt( np.dot(d1, d1)*np.dot(d2, d2) ) ) def find_squares(vid): vid = cv2.GaussianBl...
[ "zhibo98@hotmail.com" ]
zhibo98@hotmail.com
d7a7dd541bc436358194e21d56e22cccd5a27ae9
5178f5aa20a857f8744fb959e8b246079c800c65
/02_oop/tr/src/23_list/list_tr2.py
1c3806bcda6b62f6a939b84a1cd64d558d120ece
[]
no_license
murayama333/python2020
4c3f35a0d78426c96f0fbaed335f9a63227205da
8afe367b8b42fcf9489fff1da1866e88f3af3b33
refs/heads/master
2021-05-19T04:03:46.295906
2021-03-09T22:23:58
2021-03-09T22:23:58
251,520,131
0
3
null
2020-10-26T01:20:09
2020-03-31T06:35:18
Python
UTF-8
Python
false
false
99
py
my_list = ["a", "b", "c", "d", "e"] my_list.reverse() print("".join([e.upper() for e in my_list]))
[ "murayama333@gmail.com" ]
murayama333@gmail.com
a026a57ad5eda7c9a365e0e346865752f3c49fce
87020f242ca9087dfef226f5114ad9691313fddb
/search.py
140f03c40c7ebf21714cbdb772ed0453ca6b5452
[ "ISC" ]
permissive
tslight/dsa
18ee40cf57aec88a6d97f172df6e49f296676050
c59ff7c4e25908086ac7589d1a763fc311bdad50
refs/heads/main
2021-12-02T10:07:51.058416
2021-08-27T16:15:24
2021-08-27T16:15:24
398,352,193
1
0
null
null
null
null
UTF-8
Python
false
false
2,995
py
from argparse import ArgumentParser import sys import timeit def get_args(): parser = ArgumentParser( description='Search for an item in a list. ' + 'Defaults to a sorted list of 10 million elements ' + 'and searches for the last element.' ) group = parser.add_mutually_exclusive_gr...
[ "tslight@pm.com" ]
tslight@pm.com
003e4fca3eace8c6be7169624bfe843f9b977a21
605a4d0c4fd3beb3a1c290317bea56ab2a86f999
/users/views.py
444b75024b1fe9b1e24205e41f052d9bfaeb1e0b
[]
no_license
Nikolai586/hw05_final
eda54ca105e4babb7b5a8154c99fdff019d2faa1
9e9f0c1738c03c60946b4447d6c2295351049b6d
refs/heads/master
2023-02-15T17:04:12.743697
2021-01-13T12:50:32
2021-01-13T12:50:32
254,456,352
0
0
null
null
null
null
UTF-8
Python
false
false
287
py
from django.shortcuts import render from django.urls import reverse_lazy from django.views.generic import CreateView from .forms import CreationForm class SignUp(CreateView): form_class = CreationForm success_url = "/auth/login/" template_name = "signup.html"
[ "n.chistoprudov@yandex.ru" ]
n.chistoprudov@yandex.ru
66af24b8e79c42a8dc7aa3ebdc1ace6b22534927
f9e8733ed87858b12bfee6b70ccdddd6a616b60a
/73.py
1b81f914bf328740233161f9aaa72772c4032d9f
[]
no_license
MajestyLee/leetcode_TopInterview
c1c9c923d3bf42cd4777bb2a2ccd21654a7c6dbb
30b7d5acec716b7d754141835fc8bafe4411437e
refs/heads/master
2020-04-01T12:19:20.837383
2018-11-06T02:13:44
2018-11-06T02:13:44
153,200,785
0
0
null
null
null
null
UTF-8
Python
false
false
1,201
py
''' Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in-place. Example 1: Input: [ [1,1,1], [1,0,1], [1,1,1] ] Output: [ [1,0,1], [0,0,0], [1,0,1] ] Example 2: Input: [ [0,1,2,0], [3,4,5,2], [1,3,1,5] ] Output: [ [0,0,0,0], [0,4,5,0], [0,3,1,0] ] Follow up: ...
[ "binjie_lee@163.com" ]
binjie_lee@163.com
32299d75b478e539707e32ef50bd264407775fda
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02796/s396415723.py
183a9157222ec19c1853c4eb1252eb8dcabd5ca6
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
222
py
rs = [(x - l, x + l) for x, l in (map(int, input().split()) for _ in range(int(input())))] rs.sort(key=lambda x: x[1]) last = - 10 ** 9 ans = 0 for l, r in rs: if last <= l: ans += 1 last = r print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
9fea6a7e73c6e6d9c9615de59079f3c61274895b
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/tourn.py
b96981b870a4794e10ed270201c3a0c1ab925f9b
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
26
py
ii = [('MereHHB3.py', 13)]
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
0b76eb3152ea21f50c238690516d9c4b250c8271
1c9a0b4b5fd25c73f99bd9839973ca652077d078
/fotogram/migrations/0002_auto_20200227_1244.py
aaf779808dd2cd6c492c12e4e2a2dc894a1e9143
[]
no_license
vthakur-1/fotogrammysite
eebc2a7ebe2a2d3133153ecc046b3de32b77dbb6
14be1758a170fcd70be555fd918e5c40277427e2
refs/heads/master
2021-01-16T04:26:51.472003
2020-03-03T09:17:11
2020-03-03T09:17:11
242,975,961
0
0
null
null
null
null
UTF-8
Python
false
false
382
py
# Generated by Django 2.2.9 on 2020-02-27 12:44 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('fotogram', '0001_initial'), ] operations = [ migrations.AlterField( model_name='profile', name='image', ...
[ "vthakur@bestpeeers.com" ]
vthakur@bestpeeers.com
7fb65c504197305fd3cdcc370807cdcc1aa103a4
f79061c27f0f1c718d2cfdea5d5281c5a6eeaaf7
/platforms/typescript.py
29f5c56cb6398b0653d9d96cd8c5268fe2335409
[ "Unlicense" ]
permissive
jt28828/fontawesome-enum-generator
09bec3297ab192ee88bc7b66be5d1ab62b70e0c6
30b27885f3c3dadb5b17af5033b4c57169dda8f4
refs/heads/master
2023-02-15T12:42:24.242274
2020-07-15T12:14:45
2020-07-15T12:14:45
279,809,508
0
0
null
null
null
null
UTF-8
Python
false
false
695
py
from typing import Dict, TextIO from utils.file import write_enum from utils.string import to_pascal_case def read_template() -> str: template_file: TextIO = open("./file_templates/typescript-enum.ts", "r") return template_file.read() def as_enum_row(key: str, json: Dict) -> str: enum_name = to_pascal_...
[ "jt28828@gmail.com" ]
jt28828@gmail.com
5c7defef90a65bb7f61aeef89e351f7402713492
62bcb903ed04041e9b896f6e18efca93dbc20fa6
/medium/79.py
c26c1bc3810757d26a6cb4d4835ebf77e29e250d
[]
no_license
moxi43/leetcode-to-the-moon
41022dbb5f5640eeaf39acbc852401a1f6b7cfed
b3ff69e9cb6139668496f1258bb7690769e762e9
refs/heads/main
2023-08-25T20:43:03.623753
2021-10-11T04:32:08
2021-10-11T04:32:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
945
py
# Link to the problem: https://leetcode.com/problems/word-search/ class Solution: def exist(self, board: List[List[str]], word: str) -> bool: for i in range(len(board)): for j in range(len(board[0])): if board[i][j] == word[0] and self.traverse(board, i, j, word): ...
[ "vostretsov0505@gmail.com" ]
vostretsov0505@gmail.com
b144b7816aafcab541d963b588d1e7bdc49ea124
0f17dce7c6f8c659b5dcdcf5d0f34942aaaf55af
/bilinear_interpolation.py
8a53740e5483155c201ba7060b5829f17da12fa0
[ "MIT" ]
permissive
HelinXu/NA_project1
99516d01ea55510cb8e0832b7730160349fe6517
5a62b12832819d39a2872669ab9fee077c9d1d8f
refs/heads/main
2023-08-23T22:24:15.893537
2021-10-15T04:15:04
2021-10-15T04:15:04
417,161,050
0
0
null
null
null
null
UTF-8
Python
false
false
2,467
py
# NA project 1_1 # Auther: Helin Xu import cv2 import numpy as np import math from math import pi as PI def read_img(): img = cv2.imread('./img/qr-polar.png') return img def bilinear_interpolate_v1(img, length): ''' version 1 length must be aligned to the original image. ''' output_img ...
[ "xhl19@mails.tsinghua.edu.cn" ]
xhl19@mails.tsinghua.edu.cn
621a71a66735f63280d746b371e164c3f0f864c3
b52732e4f54c9f04d10378b05e8cb4575a7c1122
/gams_parser/gams_parser.py
699d7bda3ee656a93bc461b0e1ffe72a01050a01
[]
no_license
anderson-optimization/gams-parser
759344ded12d45ec10115d3517f564855f506007
3786206a34d6a6ae08d9525965ddc21df0beefe1
refs/heads/master
2020-05-02T23:26:49.920945
2019-09-17T21:23:12
2019-09-17T21:23:12
178,280,296
6
1
null
null
null
null
UTF-8
Python
false
false
1,784
py
from lark import Lark import os from .tree_injector import TreeInjector from .tree_to_model import TreeToModel import logging logger = logging.getLogger('gams_parser') dirname = os.path.dirname(__file__) grammar_gams = os.path.join(dirname, 'grammar/gams.lark') grammar_ao_inject = os.path.join(dirname, 'grammar/ao...
[ "ericjanderson4@gmail.com" ]
ericjanderson4@gmail.com
89b1f16b7c44389e677d7b3500ffc2e6d9da37f5
9600a6178957e9e37d073dde4f65690796eb6dff
/.venv/bin/symilar
2a8796f197c6cab58958b756f733b316bbbeaf8d
[]
no_license
gregoryswedeen/IOTActiveNoiseCancelling
96ee30e9adc0f473a969607929235227944ea26b
ee20de6c1f3a056c817d3a437fbc9d70f5bfd6dd
refs/heads/master
2020-04-10T10:34:30.133340
2018-12-08T19:19:50
2018-12-08T19:19:50
160,970,021
0
0
null
null
null
null
UTF-8
Python
false
false
247
#!/Users/greg/Desktop/IOT/.venv/bin/python # -*- coding: utf-8 -*- import re import sys from pylint import run_symilar if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(run_symilar())
[ "greg@Gregs-MacBook-Pro.local" ]
greg@Gregs-MacBook-Pro.local
d6be0f7331fa6b064a004a0259e1d74da5084b2b
aa3f0f41cf53b71ac6d070025a5b2150ff6a30ca
/main.py
23d5c89f8c56bf49e6225b028963807e90793572
[]
no_license
camilled671/diaz-camill-set-up
bccb73576953fa4f3f9e22ee8c8fcda0040dc7f6
664707947544f404560c1e6590340271c35ceca5
refs/heads/master
2022-12-28T18:41:20.157834
2020-10-19T17:48:12
2020-10-19T17:48:12
305,466,605
0
0
null
null
null
null
UTF-8
Python
false
false
96
py
def on_forever(): pass forever(on_forever) light.show_animation(light.rainbowAnimation, 500)
[ "72838912+camilled671@users.noreply.github.com" ]
72838912+camilled671@users.noreply.github.com
194ec17dc4782d8db8ac1bd6cb988904879d5cd0
f64adace83544d6653a1025cc6ded9c46be269f3
/week1/week1-1.py
b569e07d9ccf77725776702d1d3175444864fa95
[]
no_license
yved/python_lesson2
f7626edae91085aed27ea8838ee4852ea77bda14
7170cf8ae85bf50a993efcff3dc901ed3148b03c
refs/heads/master
2020-04-29T11:28:20.423368
2019-03-08T13:06:03
2019-03-08T13:06:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
707
py
# #商管程式設計二第一周上課內容 #five littile duck #function #版本一 def over_mother(): print("Over the hills and far away") print("Mother duck said quack quack quack") def n_duck(num): print("%s litte ducks went out day" % num) def only_n(num): print("But only %s little ducks came back" % num) # n_duck("Five") # over_mother() #...
[ "n0975116268@gmail.com" ]
n0975116268@gmail.com
b91382be96010e2e1aefacdcb707ef46b39f8400
3ca6302ebdc0e47d5d462435ad24a2886cfa5063
/64.py
5ce1111db6333ea60c31349788bb7a2df4797496
[]
no_license
Sem31/PythonBasics
3859276820d484025d6c3d8f9efaf131b8626da8
d9bfd520b67056a3cbb747f7a4b71fe55871c082
refs/heads/master
2020-04-24T19:09:48.608293
2019-02-23T10:56:26
2019-02-23T10:56:26
172,203,384
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
#create csv file by this programs import csv with open("example1.csv",'w')as obj: field = ["name","salary"] writer = csv.DictWriter(obj, fieldnames=field) writer.writeheader() writer.writerow({'name':'bob','salary':10000}) writer.writerow({'name':'sem','salary':40000}) writer.writerow({'name...
[ "semprajapat31@gmail.com" ]
semprajapat31@gmail.com
5dcce59288ba49c09d94cfea168bf68303a22c56
cd02ebba78037ecc06c77fa3c7f1ac942613d330
/UR5_Move/build/universal_robot/ur_description/catkin_generated/pkg.installspace.context.pc.py
cb37c28f0a2cde3b23c13fd45d1ea0d1e9f6d4ef
[]
no_license
tianxiang84/ROS_Project
8e63cf2dad1fc0aa7db8d1ede0eb370be3b92d0a
7b1efe121fde034fcf5e377877c0106f248e4d5c
refs/heads/master
2021-01-24T13:29:05.231000
2018-02-27T19:17:00
2018-02-27T19:17:00
123,176,284
0
0
null
null
null
null
UTF-8
Python
false
false
390
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "ur_description" PROJECT_SPACE_DIR = "...
[ "su.tianxiang@gmail.com" ]
su.tianxiang@gmail.com
fb2be3e6b7ee3d9b312742dd57afeede7ca2bac3
a654ff745707f986643719e34ccc279dd7639368
/EmailFetcher/manage.py
0ce7d610b43c20c4bb543bd193e7e201bda7b64f
[]
no_license
Slammy-akash/Email-Fetcher-Web-App
8936c6553f2d0114389c92b51f63086d2f426ecf
a6ddaf12d18dd73cddf2d31f94dac5cbe732ad75
refs/heads/master
2023-07-20T16:21:24.166181
2021-09-01T16:25:48
2021-09-01T16:25:48
402,082,751
0
0
null
null
null
null
UTF-8
Python
false
false
668
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', 'EmailFetcher.settings') try: from django.core.management import execute_from_command_line except...
[ "akashlonkarmail@gmail.com" ]
akashlonkarmail@gmail.com
59dff948764973fa5020813450cbf72ec9b819a3
7e6ecf52e90d618ebb2df7be864e1370543540a8
/30/loginhash/myhash/views.py
dc6e2736ba65cff3214430745b84cbdd7c615e0a
[]
no_license
rangai/draft_0
76be571d40043b98c9faa830a5924b4886e9d975
bf7ff892b167ebae0ad9378f9aebd0b3cf3c8e48
refs/heads/main
2023-08-27T03:58:49.876422
2021-11-03T07:22:31
2021-11-03T07:22:31
397,608,738
0
0
null
null
null
null
UTF-8
Python
false
false
755
py
import hashlib from django.contrib.auth.decorators import login_required from django.shortcuts import render, redirect from myhash.models import Myhash from myhash.forms import MyhashForm def top(request): myhash = Myhash.objects.all() context = {"myhash": myhash} return render(request, "myhash/top.html"...
[ "fibo.112358132134@gmail.com" ]
fibo.112358132134@gmail.com
a3ec93a7b13f164f0ce903611bb8dd6f8cd55385
a67961da00957467c6f79e119e3faa6072970c0b
/Assets/Scripts/Weapons/Weapon.py
0e9a097a027e395d4f8de4b0675e0ca4fd3fc62f
[]
no_license
westtr-gv/tercio
d10300ae5336d99e34334e8991b16ab02078ea9a
bf11775f83f8bf4f1a97e84322afc8b5a88f6572
refs/heads/master
2020-12-15T18:11:15.438290
2020-02-24T13:08:40
2020-02-24T13:08:40
235,206,248
0
0
null
2020-02-12T19:28:22
2020-01-20T21:54:59
Python
UTF-8
Python
false
false
314
py
""" This script will be inherited by each type of weapon (Melee and Ranged), and hold the basic information that is relevant to any kind of weapon """ import pygame from LeagueEngine import * class Weapon(DUGameObject): def __init__(self): self.damage = 1 self.attackSpeed = 2
[ "17kisern@gmail.com" ]
17kisern@gmail.com
32f32d142cd5b87ef07bfe78179e6dbe85a6fe01
a368d89f996f035f02e8b2f0b5ab62e4738b311b
/level1/lesson3.py
660599626f422afdb3473d92a1399d4e458ef3e7
[]
no_license
iiinjoy/algorithms_python_lessons
e95934b50734508b95eca67249ffc66979e154c1
16ac0db57de8d12b4920e433b734c84f4264b301
refs/heads/master
2021-01-15T01:45:00.203631
2020-11-20T14:59:17
2020-11-20T14:59:17
242,836,966
0
0
null
null
null
null
UTF-8
Python
false
false
2,367
py
#!/usr/bin/env python3 import ctypes class DynArray: def __init__(self): self.count = 0 self.capacity = 16 self.array = self.make_array(self.capacity) def __len__(self): return self.count def make_array(self, new_capacity): return (new_capacity * ctypes.py_objec...
[ "iiinjoy@gmail.com" ]
iiinjoy@gmail.com
a6a6984813486278c4dc89f5e5201d922504d0eb
fcaa66bb55cb96342fc673e88363337fac95a184
/MovieApp/migrations/0004_auto_20210610_1948.py
c749cbeeb8d6a5a28e0b123163bcbbfbf191e942
[]
no_license
rushabhgediya38/MovieTicketBooking
3f0ab4fbea6011c47968ae0d50a42d8bacf4ffdb
beeb59d671d96418c0959ed072f4ffcf517a1b0c
refs/heads/main
2023-05-14T05:55:09.176174
2021-06-13T15:02:42
2021-06-13T15:02:42
375,613,410
0
0
null
null
null
null
UTF-8
Python
false
false
673
py
# Generated by Django 3.2.4 on 2021-06-10 14:18 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('MovieApp', '0003_images'), ] operations = [ migrations.CreateModel( name='M_lang', fields=[ ('id', m...
[ "rushabhgediya38@gmail.com" ]
rushabhgediya38@gmail.com
9e2a924be8d259560a72db6497c863403bfb61b4
8cb68e9e7b920c7795f23b8fb11d27de77fe6888
/tox/tests/test_z_cmdline.py
b28888066c205307d439a32cfbe3bcf4f3845f85
[ "MIT", "Apache-2.0" ]
permissive
maxalbert/circleci-python-sandbox
fdc0d8acd4e80793b68eb4cc295d60ce32ee9fcc
a4c07c809e05e7f34dfbf7a449c60070d1856e6a
refs/heads/master
2021-01-17T21:56:58.803742
2016-02-19T19:58:53
2016-02-19T20:08:20
52,112,609
0
0
null
2016-02-19T19:53:31
2016-02-19T19:53:31
null
UTF-8
Python
false
false
20,991
py
import tox import py import pytest from tox._pytestplugin import ReportExpectMock try: import json except ImportError: import simplejson as json pytest_plugins = "pytester" from tox.session import Session from tox.config import parseconfig def test_report_protocol(newconfig): config = newconfig([], """ ...
[ "smlstvnh@gmail.com" ]
smlstvnh@gmail.com
d04d69a830c7cfa1d28c20023309327dad01a9dd
a20f588629b8d27655b3e47ccb517c3e7fdb1c80
/tests/test_fitsmanager.py
924d73e9cb0da045ab2461895e4000423d0525c9
[ "MIT" ]
permissive
lgrcia/prose
52d114f5efff539bcbf2a418de2ca03ef2c12518
1c90ff6ebef671b2e74f30643656d1528ed45190
refs/heads/main
2023-08-03T08:50:24.294406
2023-07-21T15:25:47
2023-07-21T15:25:47
259,437,330
45
8
MIT
2023-08-30T00:10:15
2020-04-27T19:56:37
Python
UTF-8
Python
false
false
530
py
from astropy.io.fits import Header from prose import FitsManager, Image, Telescope def test_empty_header(tmp_path): im = Image() im.writeto(tmp_path / "test.fits") FitsManager(tmp_path) def test_custom_fm(tmp_path): im = Image() keyword = "FILT" value = "test_filter" im.header[keywor...
[ "lionel_garcia@live.fr" ]
lionel_garcia@live.fr
e2315618261019a8385b4bde0fe248eef4ec9cf6
6fc75fec537f4b8211c358649dc63d71940a6f34
/app/core/admin.py
0e15594ccfb4a231476e867860aa69c2a6e051ff
[ "MIT" ]
permissive
henryvalbuena/recipe-api
a8d9e0c05112f0651409b48608106efe2e1bf2ab
60e8a4e4f3c576ef1bd12740083fc0f6c22f4bc3
refs/heads/master
2020-07-25T06:41:14.415226
2019-09-18T23:33:34
2019-09-18T23:33:34
208,199,348
0
1
null
null
null
null
UTF-8
Python
false
false
902
py
from django.contrib import admin from django.contrib.auth.admin import UserAdmin as BaseUserAdmin from django.utils.translation import gettext as _ from core import models # Register your models here. class UserAdmin(BaseUserAdmin): ordering = ['id'] list_display = ['email', 'name'] fieldsets = ( ...
[ "dev.henryvm@gmail.com" ]
dev.henryvm@gmail.com
bdebc2ca24df7c0c89118d81e345933c293f4e6b
3320082ef45c39e62157c487052758f0b4a86c33
/app/TaskAPISchedulerEngine/TaskAPISchedulerEngine/wsgi.py
2c6491c47b9ead6cabfdaa12f7f6f15d12b016ce
[]
no_license
art-bug/TaskAPIScheduler
f24e6fb8d7e783d6f3ce9eb083d8c62380480e9c
5cdf9b9dad54b67b68b34bc71ebf4eff40fcccc3
refs/heads/main
2023-01-12T16:28:21.096985
2020-11-16T06:50:22
2020-11-16T06:50:22
313,212,460
0
0
null
null
null
null
UTF-8
Python
false
false
421
py
""" WSGI config for TaskAPISchedulerEngine project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefaul...
[ "artbag94@gmail.com" ]
artbag94@gmail.com
a02991bb550d24cd031f5ec463f1626b4f85959b
53787e5cc1f2c9112c79cf5f6b07fc7961419c08
/scripts/decoder_performance_plots.py
5d74e05757f706095a5d8577605e0ac07039b691
[]
no_license
sanjayankur31/BillingsEtAl2014_GCL_SpikingSimulationAndAnalysis
a1ccbf0ffa295eef11da515ff0de9b83d3c9dee2
52f95f6425c3d732bca2362c6fcd7c7e6987eee6
refs/heads/master
2021-05-28T03:45:49.352361
2015-01-09T11:25:33
2015-01-09T11:25:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,655
py
import numpy as np import matplotlib matplotlib.rc('font', family='Helvetica', size=18) from matplotlib import pyplot as plt linewidth = 1.5 file_extension='eps' training_size = np.loadtxt('../../data/data_training_size.csv', delimiter=',') training_size_mi_poor = np.loadtxt('../../data/data_training_size_mi_f0.1.csv...
[ "e.piasini@ucl.ac.uk" ]
e.piasini@ucl.ac.uk
96f93bf467f72e4c91c462af4e93915455cbeeb7
4d19ee7c0d80b6cc94b543c12b1f74bfee8dab4d
/Python1/python1/nested.py
e13db486bf10b2decc630195978ca6540e7651ab
[ "MIT" ]
permissive
ceeblet/OST_PythonCertificationTrack
df8d640b95ca0d1f7d45960f46253b899291c880
042e0ce964bc88b3f4132dcbd7e06c5f504eae34
refs/heads/master
2016-09-05T19:21:26.887824
2015-03-17T14:25:50
2015-03-17T14:25:50
31,505,190
0
0
null
null
null
null
UTF-8
Python
false
false
530
py
#!/usr/local/bin/python3 """ Nested exception handling """ def divide(a, b): """ Return result of dividing a by b """ print("=" * 20) print("a: ", a, "/ b: ", b) try: return a/b except (ZeroDivisionError, TypeError): print("Something went wrong!") raise if __name__ == "__mai...
[ "cbrown@navinet.net" ]
cbrown@navinet.net
9d43309417fafb43f5aaf4c0c7e0890f85b8e219
b5df682b69682dbb2ba954e28b0fbd76b41ba465
/OWL/migrations/0001_initial.py
e6cff32955b5ac15fb0df187bcdc482babfdecaf
[]
no_license
nlittlepoole/Bernie-s-Army
4c61a665def4f0e29d38fc2a3f50d43d8f2e3382
9504ebc5269e2431c7c40f8bd1e4cf1b395a9af0
refs/heads/master
2021-01-11T10:47:40.352664
2015-05-19T02:23:23
2015-05-19T02:23:23
35,443,721
0
0
null
null
null
null
UTF-8
Python
false
false
690
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='Soldier', fields=[ ('id', models.AutoField(verb...
[ "nl2418@columbia.edu" ]
nl2418@columbia.edu
1b00196825631a6f44decdbf3560208ff455bf28
d354d2da2a6bd47aa0f545a0bf351e982882ea4c
/setup.py
03aded87728f2e3159fcc416da43efee5d4887cd
[ "MIT" ]
permissive
acodebreaker/pywsd
27dffb27a0961dbe5d09e71cc4f18e3dba10bfdf
ec8dd4bead6108e04250591d1732afcc9b0fb1bb
refs/heads/master
2021-01-18T01:40:48.909216
2014-11-24T07:25:17
2014-11-24T07:25:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
371
py
#!/usr/bin/env python -*- coding: utf-8 -*- # # Python Word Sense Disambiguation (pyWSD) # # Copyright (C) 2014 alvations # URL: # For license information, see LICENSE.md from distutils.core import setup setup( name='pywsd', version='0.1', packages=['pywsd',], long_description='Python Implementations ...
[ "alvations@gmail.com" ]
alvations@gmail.com
c7e85775629e15d592aad6dc1b386daa9b3152fc
524591f2c4f760bc01c12fea3061833847a4ff9a
/arm/opt/ros/kinetic/lib/python2.7/dist-packages/sensor_msgs/msg/_PointCloud2.py
63495f1677ff10df73ab8c86a47cfff83c7bb456
[ "BSD-3-Clause" ]
permissive
Roboy/roboy_plexus
6f78d45c52055d97159fd4d0ca8e0f32f1fbd07e
1f3039edd24c059459563cb81d194326fe824905
refs/heads/roboy3
2023-03-10T15:01:34.703853
2021-08-16T13:42:54
2021-08-16T13:42:54
101,666,005
2
4
BSD-3-Clause
2022-10-22T13:43:45
2017-08-28T16:53:52
C++
UTF-8
Python
false
false
13,149
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from sensor_msgs/PointCloud2.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import sensor_msgs.msg import std_msgs.msg class PointCloud2(genpy.Message): _md5sum = "115...
[ "simon.trendel@tum.de" ]
simon.trendel@tum.de
44b0f8140acf2ee96f151344629234de62c648f2
3e5150447a2c90c26354500f1df9660ef35c990b
/classes/str/.rstrip()
2409992c6e0c6d0f2ce555b6bc34fe5f619190e3
[]
no_license
kilirobbs/python-fiddle
8d6417ebff9d6530e713b6724f8416da86c24c65
9c2f320bd2391433288cd4971c2993f1dd5ff464
refs/heads/master
2016-09-11T03:56:39.808358
2013-03-19T19:26:19
2013-03-19T19:26:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
64
#!/usr/bin/env python print "1 ".rstrip() print "1\n".rstrip()
[ "cancerhermit@gmail.com" ]
cancerhermit@gmail.com
43171e67ff9e36899ce8b565c03eaac899555a02
b7f3edb5b7c62174bed808079c3b21fb9ea51d52
/components/policy/tools/PRESUBMIT.py
8d6bc1a9cc400f3e06219f8a9d4ecd123cddc991
[ "BSD-3-Clause" ]
permissive
otcshare/chromium-src
26a7372773b53b236784c51677c566dc0ad839e4
64bee65c921db7e78e25d08f1e98da2668b57be5
refs/heads/webml
2023-03-21T03:20:15.377034
2020-11-16T01:40:14
2020-11-16T01:40:14
209,262,645
18
21
BSD-3-Clause
2023-03-23T06:20:07
2019-09-18T08:52:07
null
UTF-8
Python
false
false
847
py
# Copyright 2020 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. def RunOtherPresubmit(function_name, input_api, output_api): # Apply the PRESUBMIT for components/policy/resources to run the syntax check. presubmit_pa...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
838027b05c4975fc5f55b86184077144347a1bad
4f21e3301c1a8699745528177b3210b4f1a1f1d5
/week10/project2/library/settings.py
4dbdb1bf1faf2c3a9ac45fabe288d8e6aa05c0ca
[]
no_license
ndina/webdev2019
7fd0250b662b378d55e24e931f82d0b2538d63a5
eae4808e2f0bfcdd5a366fd4692c041b96faaa0b
refs/heads/master
2020-05-03T22:05:12.392913
2019-05-04T02:46:56
2019-05-04T02:46:56
167,550,783
0
1
null
null
null
null
UTF-8
Python
false
false
2,688
py
""" Django settings for library project. Generated by 'django-admin startproject' using Django 1.8.7. 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 path...
[ "dbom12360@gmail.com" ]
dbom12360@gmail.com
a73c5d4bb559659bf09d6c522ea1b8a91e58cc67
db88c14390c0edaf096e1e9f1c02a4a799f8d3a4
/scripts/mospy_handle.py
4ff3c46c312a1673c28b6e582644773ea273ceaa
[]
no_license
themiyan/MosfireDRP_Themiyan
91b85597255f9f74e866617205ee70fe34f89379
84e61dcd4b8d926e0d7fc6a4f73edb3f045f6a6a
refs/heads/master
2021-01-10T02:31:43.602593
2017-02-20T23:33:54
2017-02-20T23:33:54
54,149,912
1
0
null
null
null
null
UTF-8
Python
false
false
6,565
py
#!/usr/local/bin/python ''' MOSFIRE 'handle' command: (c) npk - Dec 2013 ''' import MOSFIRE import MOSFIRE.IO as IO import os import numpy as np import pyfits as pf import sys import glob if len(sys.argv) < 3: print '''Usage: mospy handle [target]''' sys.exit() files = [] for i in range(1, len(sys.argv)):...
[ "themiyananayakkara@gmail.com" ]
themiyananayakkara@gmail.com
f9cb989c8163b4dc1f891d8bb5dd73e77e8fcd38
06d9fc57608b775fcd3944f29ea9ae0d9143a710
/code/exercises/07_DataStructures/ex_07_07_global.py
0aaa1f30e4e6c668e757f99e3af864faf21914b2
[ "Apache-2.0" ]
permissive
chiachang100/learn-to-code-with-python
bbde94d48566e962888286aea902befc8481a464
fe16115cb3be612d5abd8ffdbd6a14a37d6b4d52
refs/heads/master
2022-03-25T11:15:18.820484
2019-11-21T01:27:01
2019-11-21T01:27:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
179
py
#!/usr/bin/python # Filename: ex_global.py x = 50 def func(): global x print('x is ', x) x = 2 print('Changed local x to ', x) func() print('Value of x is ', x)
[ "chiachang100@gmail.com" ]
chiachang100@gmail.com
baf02ed9910963e5ed29164ba414f88415d59e00
ae5bdb32f5ae61f422e537222601e0fe4f86739c
/py2app_tests/argv_app/setup.py
432f60efe00ec2498ecebe46d1699b3bb23c06bb
[ "MIT", "Python-2.0" ]
permissive
acclivity/py2app
beeefa84eaeaa40edfcbed25d4edb500ddd60a61
a3dafb2c559dc9be78ebe1c44887820f9451806c
refs/heads/master
2021-03-26T09:11:01.176301
2020-03-16T22:25:26
2020-03-16T22:25:26
247,691,716
0
0
NOASSERTION
2020-03-16T12:04:10
2020-03-16T12:04:09
null
UTF-8
Python
false
false
148
py
from setuptools import setup setup( name='BasicApp', app=['main.py'], options=dict(py2app=dict( argv_emulation=True, )), )
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
b100c782ba41017bc03dda7b492a6fc56956b54c
96ff8afa4e440a5adba69a2f3438c05ccbc9cf15
/core/plotter/ts_plot.py
94e225e7e6b5ad7e2a02448a9527e69c84dabd00
[]
no_license
StockLiM/SLiM
8e05cc36d5f30a3bce0ba92d462b23f39cbc6212
0d4977d3457a7645a90a77e025615148ce29e594
refs/heads/master
2021-01-21T15:22:59.247618
2017-06-30T03:57:16
2017-06-30T03:57:16
89,649,324
0
0
null
null
null
null
UTF-8
Python
false
false
6,874
py
import pandas as pd import matplotlib.pylab as plt import numpy as np import os from datetime import datetime ## sma plot def plot_sma_symbol(symbol, date, price_from = 'Close', short_sma = True, long_sma = False): print "plot sma on {0}".format(symbol) fn = 'data/price/{0}/{1}.csv'.format(date, symbol) ...
[ "yejing1991@hotmail.com" ]
yejing1991@hotmail.com
83ae553fb14325ec70a9a373c9e33ad74c4c1844
e997e95cdda60b898d2da30a4ce2f27119532a3f
/main.py
f3f6430cc0e3e25deaf00ab80bc65d942573a046
[]
no_license
dperezc21/guane-intern-fastapi
23ea8c9f540a060d03bc34cd8b68a8db58477e80
42d2b1b2cf4881d811dc24a9d00490bbec091967
refs/heads/master
2023-05-08T03:19:34.009368
2021-05-28T02:40:56
2021-05-28T02:40:56
370,084,992
0
0
null
null
null
null
UTF-8
Python
false
false
2,299
py
from fastapi import FastAPI from database import db from crud.crud_dog import * from crud.crud_user import * from schemas import ModelDogs, ModelUser from auth import * from fastapi import Depends from fastapi.security import OAuth2PasswordRequestForm from models import * app = FastAPI() @app.on_event('startup') de...
[ "davierperez11.2@gmail.com" ]
davierperez11.2@gmail.com
ae03b937573efae64738241bb1ef7d3cdce0ca08
c38389bc55bb1021d5af3e234bb509c322d9d574
/djproject/urls.py
4fae2b0de8a02299469c9d75d91f3f247e55f0e2
[]
no_license
kcemenike/djproject
bb22c546776f714be3ea41510cae8c26947428a7
a6c61977afb30ae1ab0f066fa0e5cd3171922eb2
refs/heads/master
2020-04-13T19:14:12.473587
2019-01-08T19:58:55
2019-01-08T19:58:55
163,396,455
0
0
null
null
null
null
UTF-8
Python
false
false
891
py
"""djproject URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.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-bas...
[ "kc@KCEKALI.lab" ]
kc@KCEKALI.lab
12743efafbf2db040d55e3bac3802bdfe66aef1f
835aedfce2b3d84d81861420fed5f801831b3b4f
/Prototype/Packet_Summary_Questions.py
ebb8c2ab5ed5c89ea4ff5cc7325da957c162db53
[]
no_license
alifa2try/Mirai_Bot_Scanner_Summation_Prototype
74d6dfbd5123b5727bf13ea350dff93aa0a23ad0
380b248c7eb8240c3bb178404261be8e11560116
refs/heads/master
2020-07-09T05:12:23.348776
2019-01-23T19:36:23
2019-01-23T19:36:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,113
py
## Student: ## Charles V. Frank Jr. ## charles.frank@trojans.dsu.edu ## ## University: ## Dakota State University ## ## Date: ## August 15, 2018 ## ------------------------------------------------------------------------------------------- ## Module: ## Answer_Research_Questions.py ## ----------...
[ "noreply@github.com" ]
alifa2try.noreply@github.com
04d11322b67cf04250275997e9f96e08b6189c9e
2e09fd737be7dadf9d89da654ad87b617244c838
/migrations/versions/ff4b9656bd74_.py
cbe6236df7cb7308693031d497ad323b4fa4dae8
[]
no_license
ahmadalthamer/fyyur
6392cf011d6aa984fd7da1233500bd7796fe7695
45b0b4a5579397549547626b4fdfdf02b86e0fcb
refs/heads/master
2022-06-21T09:22:06.661163
2020-05-14T23:38:00
2020-05-14T23:38:00
261,534,370
0
0
null
null
null
null
UTF-8
Python
false
false
841
py
"""empty message Revision ID: ff4b9656bd74 Revises: fe0e9b829e71 Create Date: 2020-05-12 03:48:11.041139 """ from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import postgresql # revision identifiers, used by Alembic. revision = 'ff4b9656bd74' down_revision = 'fe0e9b829e71' branch_labels = None...
[ "ahmad.althamer@hotmail.com" ]
ahmad.althamer@hotmail.com
bfbdafd3b48ff0f5e1b4d217edb4c347cc630969
d7ac596181d48395ee16f2ba74ce3ed6a959c369
/test.py
1dbfbb57c7b273b125e6cd0042f6917878057716
[]
no_license
bloggermark/Test-Repo
5eba24e84d73bceaaf16410ea857d0cf2e1284e2
87afa26eadd55f5378bd53e192a86dd10969c20a
refs/heads/main
2023-06-12T07:27:50.985894
2021-07-10T16:41:03
2021-07-10T16:41:03
384,736,324
1
0
null
null
null
null
UTF-8
Python
false
false
36
py
print('hello world!') print('test')
[ "bloggermark@sbcglobal.net" ]
bloggermark@sbcglobal.net
cdc14ab92541df567c2da2c71eab1580caecb1c9
73dadaa1c10ba149cf42fe3600edee9565b2e418
/pythonBasicsHandsOn.py
92dfdf4b8dab6dd981c4aea7320a988e9e35c5e3
[]
no_license
Sankarb475/Python_Learning
078826e5087bf1c6d2e18e9176af1bad3e345eb1
1b0d929a66f99b86bfd41590c1ce8781385223a0
refs/heads/master
2022-06-14T07:45:10.053327
2022-06-09T05:11:44
2022-06-09T05:11:44
167,215,150
0
1
null
null
null
null
UTF-8
Python
false
false
10,865
py
# Shallow Copy and Deep Copy # When you use "=" to create a copy of an object, It only creates a new variable that shares the reference of the original object. a = [1,2,3,4] b = a a.append(5) a[2] = 100 print(a,b) => [1, 2, 100, 4, 5] [1, 2, 100, 4, 5] -- Shallow copy creates a copy of t import copy a = [1,2,3,4] ...
[ "noreply@github.com" ]
Sankarb475.noreply@github.com
f52d578b0c5ce04a6f71e3ad5469a8314254b093
ce12ef4b16535da475f14ec0d974750fcc7c2377
/ordersapp/views.py
fa7daf3fb894319be2061639cffd12e9169b495a
[]
no_license
IlyaSaveliev/geekshop
6336ea431b458621a36f90d6ab9f91ce7e1c4d91
51d714ce105aeb0ce3102d2e845fb53aa4581eca
refs/heads/Master
2023-04-16T05:40:44.812694
2021-04-25T11:43:22
2021-04-25T11:43:22
343,256,697
0
0
null
null
null
null
UTF-8
Python
false
false
4,858
py
from django.db import transaction from django.db.models.signals import pre_save, pre_delete from django.dispatch import receiver from django.forms import inlineformset_factory from django.http import HttpResponseRedirect, JsonResponse from django.shortcuts import render, get_object_or_404 from django.urls import revers...
[ "parazit.ololo@gmail.com" ]
parazit.ololo@gmail.com
f72a7e1fb1b3ae77d80542b0a582a4170c564ef7
440149cfffd932d6f86e4660f0934443bd483c9a
/Pathfinding Visualizer Project/a_star.py
06ebaf790b9a949616352e27c19ec703aa3bd02f
[]
no_license
siddhantgpt99/cv-projets
72176d19487ccd5a0cde3dff8d4767a217e19c5a
559246966bad4b3c7c0b1992aee2151239515e3b
refs/heads/master
2022-11-27T11:41:37.441504
2020-08-09T17:49:35
2020-08-09T17:49:35
286,029,871
0
0
null
null
null
null
UTF-8
Python
false
false
2,308
py
from queues import PriorityQueue def heuristic(tile1, tile2): """ Manhattan distance between two tiles. :param tile1: Tile :param tile2: Tile :return: int distance """ (x1, y1) = (tile1.r, tile1.c) (x2, y2) = (tile2.r, tile2.c) return abs(x1 - x2) + abs(y1 - y2) def reconstruct_p...
[ "noreply@github.com" ]
siddhantgpt99.noreply@github.com
d4dd8d3af20c272a50ffd0226634bd7465a6f2ee
6ff12f51b9a1b9f751cec3df21813803d2455f1e
/tools/link_graph_generator.py
cf503594caed97072da3912f1fad3b5706416592
[]
no_license
prdx/PoliteScrapper
5d40089bb399c3d08fb848355b73cdc530c8327c
e84a49fa197e484361d2e69421b32fd4240c884c
refs/heads/master
2020-03-23T18:36:21.340544
2018-08-01T21:48:14
2018-08-01T21:48:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,554
py
from bs4 import BeautifulSoup import os import pickle files = [f for f in os.listdir('.') if os.path.isfile(f) and f.endswith(".xml")] outlinks = {} inlinks = {} def generate_outlink_file(): print("Generating outlinks file ...") # Generate outlinks for xml in files: try: with open(xml...
[ "astungkara.project@gmail.com" ]
astungkara.project@gmail.com
364ca9a98f0bed65c764fca9306fca1df99f3df8
5c12a874f7a4c01d233b028bb2332214d7d4919f
/activity/migrations/0002_auto_20191107_1203.py
732eae609155059d6742805f68f7f80a587bd454
[]
no_license
cocogels/marketing
9cc9535ac04ac008c9882ed5087a33eb201fbeeb
41e3d4959cf2c07a1d8f00821e5a4ad829419ba4
refs/heads/master
2020-07-06T06:09:13.356059
2019-11-08T09:04:08
2019-11-08T09:04:08
202,916,826
0
0
null
null
null
null
UTF-8
Python
false
false
2,563
py
# Generated by Django 2.2.1 on 2019-11-07 04:03 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django_fsm class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('activi...
[ "laracasangelo008@gmail.com" ]
laracasangelo008@gmail.com
0a852681577cdebfbc2733b9e17da56aaebb4186
b0d898be0456049180333dec8c216f1752b0ddf3
/0215_5.py
f4aab87ee519f122997ae11fe5fe5059f0fb0376
[]
no_license
mason890/python
c2517a034acd13d4b3e2c9d2b6f2758d25b3780e
473f2032d4ee90cb9757adebfd2b45c7e6a430d6
refs/heads/master
2020-12-08T11:33:45.080873
2020-02-22T07:49:30
2020-02-22T07:49:30
232,972,155
0
0
null
null
null
null
UTF-8
Python
false
false
1,204
py
#추상 클래스 #추상 메소드를 가진 클래스 #주로 최상위 부모클래스가 해당 #객체를 만들수 없다. class Animal : def __init__(self, name): self.name = name def sound(self): print('소리가 납니다.') class Dog(Animal) : def __init__(self,name): super().__init__(name) def sound(self): print('멍멍') def sm...
[ "noreply@github.com" ]
mason890.noreply@github.com
aa08416cec64433ef17052cae24d44ab961b544f
2d9a17e2b896d2f6a90913a4ba02d41f0ede5dd0
/_gsinfo/qiyecxb-ct/qycxb_spider.py
c629ad7e0a0c3154e2b6a4ad7ae34b42379b6c08
[]
no_license
wolfwhoami/xxxxx
1cf2ed2c8ed78048d87cccf2953ca86c0871a783
670787ec71127bc05c1645cc3d8ef7c3a91fe84b
refs/heads/master
2020-03-30T00:44:55.864817
2016-12-16T01:45:03
2016-12-16T01:45:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,218
py
#!/usr/bin/env python # -*- coding:utf8 -*- import os import sys sys.path.append(sys.path[0]+"/..") print sys.path import time from spider.spider import Spider, AccountErrors import re from spider.savebin import BinSaver import random import threading import traceback import spider.util from spider.savebin import File...
[ "jianghao@ipin.com" ]
jianghao@ipin.com
855520507be67c41ec69ec8579c87dda07b2ebf2
eead3da885b3a36c5704e314c2610eaa64b21528
/去除链表重复节点.py
327faa8543b6a1dbba150035ea83c101f4328a0e
[]
no_license
Rango94/leetcode
8ecd708a5ad552bd184b432f0ec0647df8de2304
11696cb03aa81dbea95b4c61aff08f70e4f1a81f
refs/heads/master
2020-03-23T18:59:45.591397
2018-08-27T01:50:21
2018-08-27T01:50:21
141,947,153
0
0
null
null
null
null
UTF-8
Python
false
false
1,017
py
class ListNode: def __init__(self, x): self.val = x self.next = None def print(self): p=self while p!=None: print(p.val) p=p.next class Solution: def deleteDuplication(self, pHead): if pHead==None: return None out_pHead=No...
[ "wangnz1994@163.com" ]
wangnz1994@163.com
580c4532e3607bbc2d2b818f089db145db04139b
8ef1439e1a44ae3ac83498facb5dcb48f48e13da
/venv/Scripts/pip3-script.py
f2c54b69d77f1a73551beee61141d4f238898c5a
[]
no_license
myfoxsay/Spiders
1c1ad138d83e0d0257b0f73bfa250207227e4475
c50a7b49f65d1e19ef8a2064fb6162fee454442b
refs/heads/master
2021-06-28T12:24:42.410054
2021-01-07T07:00:54
2021-01-07T07:00:54
196,186,968
0
0
null
null
null
null
UTF-8
Python
false
false
417
py
#!C:\Users\ym10266\PycharmProjects\untitled1\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3' __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.a...
[ "myfoxsay@163.com" ]
myfoxsay@163.com
d0c3fb8162dec8bff5a63f4bba4da756f7c890e6
1c45f9b803bca4b022e53a6128c7937286d397a0
/pythontest/0110/functionex1.py
7bbac6857e840f4f5dcce3f4a45b0f9d1ba7f8d9
[]
no_license
yangyohan123/python
2860e185b581e1b0d16fbdbbd69932154d004e06
fc643d54542b15d32bb1319f223412694929b88f
refs/heads/master
2021-01-01T14:18:59.395282
2020-02-09T17:34:40
2020-02-09T17:34:40
239,317,150
0
0
null
null
null
null
UTF-8
Python
false
false
589
py
''' Created on 2020. 1. 10. @author: GDJ-19 함수 사용하기 ''' def coffee_machine(button): print() print('#1 뜨거운 물 준비') print('#2 종이컵 준비') if button==1 : print("#3 보통커피를 탄다") elif button == 2: print("#3 설탕커피를 탄다") elif button == 3: print("#3 블랙커피를 탄다") else ...
[ "yangyohan123@daum.net" ]
yangyohan123@daum.net