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
1dffe5f62462692c17b0917a0d9f33174704c851
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_200/1215.py
2727d86b5e032b798fe4ae7360d004c88b3cc807
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
757
py
def tidy(n): a = list(str(n)) if len(a)>=2: for i in range(len(a)-1): if a[i]>a[i+1]: a[i] = str(int(a[i])-1) for j in range(i+1, len(a)): a[j] = '9' a = ''.join(a) out = int(a) return out def check_tidy(n): ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
fe767d258b2e1863022c3822a5dc6cb9bef4067c
4100d382fd6434846e00440e26bc216a6e4340bc
/spotify/v1/artist/__init__.py
868c1903c3f1a009ee7cd3cd3c93cbb4ac0563f6
[ "MIT" ]
permissive
jingming/spotify
1aa96ffc90dde8d26c5ce93cac8422d4cd61fd39
d92c71073b2515f3c850604114133a7d2022d1a4
refs/heads/master
2021-09-21T21:50:09.109613
2018-01-30T05:03:56
2018-01-31T00:32:47
118,386,962
2
1
MIT
2018-08-31T22:18:29
2018-01-22T00:35:19
Python
UTF-8
Python
false
false
2,886
py
from spotify.object.followers import Followers from spotify.object.image import Image from spotify.page import Page from spotify.resource import Resource, UpgradableInstance from spotify.v1.artist.album import AlbumList from spotify.v1.artist.related_artist import RelatedArtistList from spotify.v1.artist.top_track impo...
[ "niu@jingming.ca" ]
niu@jingming.ca
555bdcfd6c04b099c7185c359968f2d00f2e12c9
c5d1001b485a23a38d6acf4184ab1254d7c3484f
/grayscale/9thresholds/mainMultipleModelsLinear.py
85eb5424f0374e5cb90d98ef29486bc263e0ce78
[]
no_license
timurt/BinarizedNet
74e1cdc52147c404e9458617e90c992296866e47
4bb8210a0c42088553231c33b430eb2a0fa60b37
refs/heads/master
2020-03-11T01:28:00.984756
2018-04-26T06:52:31
2018-04-26T06:52:31
129,692,207
1
0
null
null
null
null
UTF-8
Python
false
false
9,129
py
from __future__ import print_function import argparse import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim import numpy as np from torchvision import datasets, transforms from torch.autograd import Variable from binaryNet import Binary_W, Binary, Threshold import shutil import ...
[ "timurtibeyev@gmail.com" ]
timurtibeyev@gmail.com
97fa49f015a6ef465e398e28ba407222aa6ef2cd
fed1dc97a37469e49c817d99124deec2dd1e8ff6
/pythonSearch/requestsCSDN.py
bcc2086ad8b9864cb536fee7c4f221d5847c897e
[]
no_license
AngiesEmail/ARTS
38b6e798730f8a7117a8df6ae3f89eadcf020911
6ccc54f25f7f3e0cb16a87cfd4ad577b5ba1f436
refs/heads/master
2020-03-26T03:57:21.447886
2019-10-07T07:44:15
2019-10-07T07:44:15
144,478,653
0
0
null
null
null
null
UTF-8
Python
false
false
573
py
# -*- coding:utf-8 -*- # 导入库 import requests import os import sys from bs4 import BeautifulSoup def getHTMLText(url): try: r = requests.get(url) r.raise_for_status() r.encoding = r.apparent_encoding demo = r.text soup = BeautifulSoup(demo,'html.parser') result = soup.article.get_text() title = soup.ti...
[ "yuanfangrui@topjoy.com" ]
yuanfangrui@topjoy.com
8f58e730976b0a677b30bf61b7b99c9ee4cc60a3
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnaiddecamp.py
19e17d66f304241ad72952f45ad26016da559867
[]
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
139
py
ii = [('MarrFDI3.py', 1), ('ClarGE2.py', 19), ('ClarGE.py', 2), ('WadeJEB.py', 1), ('SoutRD.py', 1), ('ThomGLG.py', 1), ('MackCNH2.py', 1)]
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
97c119e854804fc29fdc0b228df9eee8854e6983
b0d8642517d423b59ccebb8983e265bfd35f87c6
/modules.py
f4745c39ae5f9ad2cb8fba9bc7f8a89c9606dc77
[ "MIT" ]
permissive
vuksamardzic/basic-py
4016cf13f9efa225345f4547e59ecb0725b8d888
356766f895660376530a4734d751cea281d1920e
refs/heads/master
2020-03-21T09:13:59.269764
2018-06-23T09:43:14
2018-06-23T09:43:14
138,389,167
0
0
null
null
null
null
UTF-8
Python
false
false
82
py
import greet from greet import say_hello greet.say_hello('Vuk') say_hello('Tim')
[ "samardzic.vuk@gmail.com" ]
samardzic.vuk@gmail.com
72791e17e71456aade20cc9cc4e32de6523e144b
34f5146e25144d4ceced8af38b5de2f8fff53fdd
/ui/mainwindow.py
158a3002e7c464033c18697b89cd33491f8128a1
[]
no_license
fadiga/mstock
3271eeb0b8339b27347bbb70b96bc1f161ed6901
a5f621ed58bd881d9a232498ef23762a5f9c186f
refs/heads/master
2021-05-25T11:56:28.430965
2017-09-25T19:08:27
2017-09-25T19:08:27
39,653,154
0
0
null
null
null
null
UTF-8
Python
false
false
1,419
py
#!/usr/bin/env python # -*- coding: utf8 -*- # vim: ai ts=4 sts=4 et sw=4 nu # maintainer: Fad from __future__ import ( unicode_literals, absolute_import, division, print_function) from PyQt4.QtGui import QIcon from PyQt4.QtCore import Qt from Common.ui.common import FMainWindow, QToolBadgeButton from ui.menut...
[ "ibfadiga@gmail.com" ]
ibfadiga@gmail.com
c6ea130a24af604e6bb0ea95cbdbb09ad519387e
d567f92ff1524e67d4129f1a7e853b3427b79e87
/test5.py
ea86ebd5383f5da58dfb9bd8d893565cb3c18f16
[]
no_license
XinjieWen/test
667f6580186fbae9385c9e386e48a9f6afce7ab6
cd7d4162b5e373746f371ce25c71e7c4fab5198c
refs/heads/master
2022-05-13T01:03:26.237326
2022-05-09T07:56:35
2022-05-09T07:58:24
134,082,823
0
0
null
null
null
null
UTF-8
Python
false
false
17
py
print('hello5')
[ "jasonxjwen@tencent.com" ]
jasonxjwen@tencent.com
a8a654e2f4bef5e6c0b3f42a9577d868d6002d9e
c893333a4fd8b15c9e3c8d7d6cc0ec375cc11bb7
/nuke/fxpipenukescripts/archive.py
13fcd78d5b2b32eabb19bf536cbe8e7ca0cd8dbb
[]
no_license
khpang/vfxpipe
63af3545157897afa8eb307984056f9c916017e8
fde184a8f4cb5b4c98108bb1b2f2e8fd92cbafeb
refs/heads/master
2021-01-24T01:21:02.329898
2013-01-30T02:35:22
2013-01-30T02:35:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,242
py
import shutil import threading import time import nukescripts import nuke import os import datetime shotData = True class archiveInterface(): def interface(self): # set up the new script name scriptName = os.path.basename(nuke.value('root.name')) date = datetime.date.today() forma...
[ "throb@throb.net" ]
throb@throb.net
611a198b6cec04fdddfb406e56a5c9bfb18e4eed
3402ee0e96b9d1d2ae00cb3a0f001d399411f634
/Server/data_layer/data_layer.py
ab70ff6a55f260a56fd11e102856e4f1517c7c66
[ "MIT" ]
permissive
kerenren/Turbo-Kanban
d5854464e30014b1c7e5d2748734cb73bfaaf87f
1a15382b33336f9a86a4b4b147aad12ab0b05265
refs/heads/master
2023-02-07T22:08:52.540796
2020-12-28T14:01:18
2020-12-28T14:01:18
319,048,893
1
0
null
null
null
null
UTF-8
Python
false
false
680
py
#!/bin/python3 import os def get_dir_info_by_path(path): result_files = [] walk_obj = os.walk(path) for items in walk_obj: root = items[0] files = items[2] for child_file in files: file_path = os.path.join(root, child_file) file_statinfo = os.stat(file_p...
[ "renkelei.kelly@gmail.com" ]
renkelei.kelly@gmail.com
5482f68ce92c5b80a7fc402e4fa7bc06151e25cc
f250ec4dd1b49750f5b42d577cf42b47c929d7bc
/python_django/dojo_secrets_2/apps/secrets_app/views.py
59ef738b1e2532dcb2d144c4703af0437a352c37
[]
no_license
charlie320/programming_labs_projects
2204607109d49b2a5dd738cd067b073aef44e0b0
33b32a6ff83ddb1e7ef832eb8286e42d3a6eca12
refs/heads/master
2021-09-05T11:21:29.622439
2018-01-26T20:54:56
2018-01-26T20:54:56
106,962,753
0
0
null
null
null
null
UTF-8
Python
false
false
1,406
py
from django.shortcuts import render, redirect, reverse from django.db.models import Count from ..login_app.models import User from .models import Secret # Create your views here. def index(request): current_user = User.objects.currentUser(request) secrets = Secret.objects.annotate(num_likes=Count('liked_by')) ...
[ "Charlie@CharlieulieiMac.home" ]
Charlie@CharlieulieiMac.home
af5136259e7632ef6c77f2dedcef1585efd50be9
ce93c4d770792714810127e337f6a56ddce1aed2
/plugins/gedit2/fuzzyopen/fuzzyopen/suggestion.py
77982e7ffcbfd43d1bdb16abb5d25bf4e7bc0a95
[]
no_license
mereghost/gmate
bb8f7bce3f48bb96489babac6410024cd5673d6f
a986da119eb153e76578539f2dbcad6738f1a92a
refs/heads/master
2021-01-16T20:47:45.944601
2012-01-26T19:30:12
2012-01-26T19:30:12
1,666,484
9
1
null
null
null
null
UTF-8
Python
false
false
4,168
py
""" Class for suggestions """ import os import subprocess import gio, gtk from util import debug import util max_result = 15 class FuzzySuggestion: def __init__( self, filepath, show_hidden=False, git=False ): self._filepath = filepath self._show_hidden = show_hidden self._git = git and util.config...
[ "andrewliu33@gmail.com" ]
andrewliu33@gmail.com
40c80298125d22d148038ffefb051f1a267a1a50
6e3b8a04a074c30cf4fc43abe7a208f772df795b
/Mid-Exam/2-task.py
58c67fe8bae90b41f94cde4ab24bb1499bf056e6
[]
no_license
majurski/Softuni_Fundamentals
dc0808fdaab942896eebfb208fb6b291df797752
bf53a9efdcb45eb911624ab86d762a6281391fb8
refs/heads/master
2022-11-29T06:06:06.287984
2020-08-10T19:36:18
2020-08-10T19:36:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
730
py
arr = input().split() new_arr = list(map(int, arr)) result = [] line = input() while line != "end": value = line.split() command = value[0] if command == "swap": index_1 = int(value[1]) index_2 = int(value[2]) new_arr[index_1], new_arr[index_2] = new_arr[index_2], new_arr[index_1] ...
[ "noreply@github.com" ]
majurski.noreply@github.com
7ea19293b8c1d06c2af7679ddb75fb3ef9ba13b1
dcbb43c577fdd963638fdeb3d1042912725f5e1d
/venv/Scripts/pip3-script.py
f1fcd00d229b401b3d22581a13ab71f40c18657d
[]
no_license
ag5300cm/SaumPi2
1ac42b1bdcc3d36df8473936817554830f1b094b
6f7528109ef5e15a70c5b708dba630cc07c9f511
refs/heads/master
2020-03-28T11:15:42.453172
2018-09-12T21:30:12
2018-09-12T21:30:12
148,194,186
0
0
null
null
null
null
UTF-8
Python
false
false
412
py
#!C:\Users\Benjamin\PycharmProjects\SaumPi\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==9.0.1','console_scripts','pip3' __requires__ = 'pip==9.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[...
[ "bhillenbrand101@gmail.com" ]
bhillenbrand101@gmail.com
4c4458a3f8cea7e2f3c299b6152409241cc9459f
f320dfb79830a3dc52dd674b16cb319223ee9b47
/user_profiles/migrations/0002_auto_20191026_2242.py
f2c01999c1a380552b3d90250b1d2bd981efebe6
[]
no_license
yk220284/django
91bfcf4fe238d49c81ac46323988f501a4017e9f
046af69a19a11804fa5b5ed2a801fab3af21bca8
refs/heads/master
2020-08-28T18:42:12.484929
2019-10-27T01:24:31
2019-10-27T01:24:31
217,788,582
0
0
null
2019-10-27T01:24:33
2019-10-27T01:05:09
Python
UTF-8
Python
false
false
668
py
# Generated by Django 2.2.6 on 2019-10-26 22:42 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('user_profiles', '0001_initial'), ] operations = [ migrations.AddField( model_name='student', name='college', ...
[ "Yankang@MacdeMacBook-Air.local" ]
Yankang@MacdeMacBook-Air.local
46bc6096a386be5c695dcde7e327e88b94c36061
d4a8e4a398ceef4cb2e952892824340a498929c6
/main.py
586a4fb05baf50974d3f847344bbc3a506142d4c
[]
no_license
RimveUnfinishedProjects/Chat4Hack
0f490669b4d4d3c5cfa41c59b2bd652b4ef36696
32f127ece76f9814af3e711db961f8dffd475373
refs/heads/master
2022-04-02T21:49:04.300853
2019-12-23T00:38:15
2019-12-23T00:38:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,507
py
from kivy.app import App from kivy.lang import Builder from kivy.uix.screenmanager import ScreenManager, Screen from kivy.properties import ObjectProperty, StringProperty from kivy.uix.popup import Popup from kivy.uix.label import Label from database import DataBase from kivy.core.window import Window import ca...
[ "noreply@github.com" ]
RimveUnfinishedProjects.noreply@github.com
9749962025eab7f8672f220e73430cd6450798d6
373102b585532c54f24df422521638f81761d26d
/refugio/forms.py
7cf39b61ed2c3fe274718e3eb2a51fee1864dfb7
[]
no_license
programacionparaaprender/refugio2
d58beb92b23df537dacbdecea5ace30072256646
f4f3874e1cf1b4493ebe4ed1ffd4ac268239a54a
refs/heads/master
2022-11-12T22:37:13.861491
2020-07-05T22:04:55
2020-07-05T22:04:55
277,390,544
0
0
null
null
null
null
UTF-8
Python
false
false
825
py
from django import forms from django.contrib.auth.models import User """ class PasswordForm(forms.ModelForm): class Meta: model = Mascota fields = [ 'nombre', 'sexo', 'edad_aproximada', 'fecha_rescate', 'persona', 'vacuna', ] labels = { 'nombre':'Nombre', 'sexo':'Sexo', 'edad_apro...
[ "yancel209@gmail.com" ]
yancel209@gmail.com
3eb21352e9d9a3dcc23572a98430da9b90e4f9aa
db818127b373da9d88583e717f184f483a1f844d
/instruction_env/Lib/site-packages/numpydoc/tests/test_validate.py
b7127ce2012e8419e79f0df9f71e724b944e2723
[ "MIT" ]
permissive
lfunderburk/Effective-Instructions
4af5a763b5021668abd6d37f1d860eeff07bfee8
ce40f890fb8623ff1ec9c3e9e1190505cbd1e6db
refs/heads/main
2023-04-14T22:43:48.363281
2021-04-26T05:40:19
2021-04-26T05:40:19
331,163,652
0
0
MIT
2021-04-26T05:40:22
2021-01-20T01:58:52
null
UTF-8
Python
false
false
32,871
py
import pytest import numpydoc.validate import numpydoc.tests validate_one = numpydoc.validate.validate class GoodDocStrings: """ Collection of good doc strings. This class contains a lot of docstrings that should pass the validation script without any errors. See Also -------- AnotherC...
[ "hanh.tong@tap.work" ]
hanh.tong@tap.work
4e98cba026ffbfa488d602586ed1fb56b70a4b3e
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/117/usersdata/168/26292/submittedfiles/al2.py
2636de789a2d58357263296f2d1affdab045e0ff
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
136
py
from __future__ import division #INICIE SEU CDIGO AQUI n=float(input('Digite n')) n1=int(n) n2=n-int print('%.2f'%n1) print('%.2f'%n2)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
7e064e4f1d6fd411ba34c8d74ef4610795f58dba
2d4cb0621e5bb9680144562694aedea1fd4d0d86
/artificial/train.py
c65139818f50dde87ecd8ed76e56b7986d6c5862
[]
no_license
ForeverZyh/robust_rnn
a29f539b2d77a85e7ad509791e89429da7e23958
a6afcd2e3814b8eff66e43be3119d994c989b7d0
refs/heads/master
2020-09-15T14:19:22.692429
2019-12-28T03:56:58
2019-12-28T03:56:58
223,473,847
1
0
null
null
null
null
UTF-8
Python
false
false
775
py
import tensorflow as tf import numpy as np from simple_rnn_model import params, SimpleRNNModel1 from utils import get_one_hot training_X = np.load("./X_train.npy") training_y = np.load("./y_train.npy") training_num = len(training_X) test_X = np.load("./X_test.npy") test_y = np.load("./y_test.npy") nb_classes = 2 trai...
[ "yuhao.zhang@wisc.edu" ]
yuhao.zhang@wisc.edu
1e97caa9740ddd276af8721952d53c64e6237066
de8b832a3c804837300b9974dc0151d9294fa573
/code/experiment/GenderSoundNet/ex18_1_1_1_1_1_1_1_1_1_1_1_1_1_1/genderSoundNet.py
d318188bf1b8d63c08f77854ab0b089a4eff19a9
[]
no_license
YuanGongND/Deep_Speech_Visualization
fcff2ac93e5adffd707b98eb7591f50fe77c1274
73a79e3596d9a5ee338eafb9a87b227696de25d1
refs/heads/master
2021-07-19T23:00:36.294817
2017-10-28T01:04:59
2017-10-28T01:04:59
105,332,686
0
0
null
null
null
null
UTF-8
Python
false
false
3,377
py
# -*- coding: utf-8 -*- """ Created on Sat Aug 26 21:03:04 2017 Conduct erxperiment on IEMOCAP, three labels: 96001: emotion(0-4, 5 = other emotions) 96002: speaker(0-9) 96003: gender(male=0, female=1) @author: Kyle """ import os from sys import argv _, newFolderName, gpuI = argv os.environ["...
[ "ygong1@nd.edu" ]
ygong1@nd.edu
857cffe6d12559c9007f01ee6dc6f8354189063e
93c55344aa8e527600a906e118b7db45f7e3f208
/10-matplotlib/labels.py
0913636d7521c7a1e972838cbaa630fa8be5ec32
[]
no_license
skolakoda/ucimo-data-nauku
5b6642894967bc5f460b6d509a826bacfc66928c
0e1530d5654b49706e1a34b38e288cf972ad23fa
refs/heads/master
2021-09-19T18:33:45.194310
2018-07-30T13:08:56
2018-07-30T13:08:56
114,565,046
0
0
null
null
null
null
UTF-8
Python
false
false
217
py
import matplotlib.pyplot as plt year = [1950, 1951, 1952, 2100] pop = [2.538, 2.57, 2.62, 10.85] plt.plot(year, pop) plt.xlabel('Year') plt.ylabel('Population') plt.title('World Population Projections') plt.show()
[ "mudroljub@gmail.com" ]
mudroljub@gmail.com
2ba4b6eb69fd971459ad3d9a0373b59660585f26
8b1e05154bdbe7aa595310c6cc5ab7ec84be88d5
/contrib/zmq/zmq_sub.py
d1e7d5ca10f658bb882adb7e6afca5d704fa7a20
[ "MIT", "LicenseRef-scancode-free-unknown" ]
permissive
AustraliaCash/AustraliaCash-Core
c2ab806db3c123c41882aacd1af23109cce6b4db
5e31845eea27eecd06135ddd873d4f37fba9ee60
refs/heads/master
2023-07-09T20:26:35.387036
2023-06-26T20:27:24
2023-06-26T20:27:24
157,548,102
9
6
MIT
2023-06-26T20:27:25
2018-11-14T12:50:16
C++
UTF-8
Python
false
false
3,406
py
#!/usr/bin/env python3 # Copyright (c) 2014-2021 The AustraliaCash Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """ ZMQ example using python3's asyncio AustraliaCash should be started with the command l...
[ "31876349+farsider350@users.noreply.github.com" ]
31876349+farsider350@users.noreply.github.com
6ab0738ddfb5846b6196cc354c896871968b71f9
eb84ba23b8412ba4071c86b1e32dd28f39d423d2
/mugen-backend/Mugen/wsgi.py
55b49e2e9f63651c671f185545168b06b1f039e5
[]
no_license
tsukuyomi3/Mugen-Player
5b6135a81aa33a6f1983011301ddf9dbd504d14d
b61de1fc11f46c3284feac2a7ce0228038669b2f
refs/heads/main
2021-06-05T04:41:20.410202
2020-10-06T11:42:54
2020-10-06T11:42:54
101,651,151
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
""" WSGI config for Mugen project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('D...
[ "noreply@github.com" ]
tsukuyomi3.noreply@github.com
9c770fd102ad3cc35dacc09a06de543cc152e717
8c9e166fdbc213c8a9121bef3cac962cb94a5cc3
/Lab 9 28Sep/lab_ise_gui/lab_ise_gui/calculator.py
826deb28faad56102736e28fdca1d2c67325d76a
[]
no_license
nesarasr/Information-Systems-Lab
e7e5d94c5da3163376dc08ef2486c0eb88db90e8
6f86f6095228ab937247abe36db7b28fe2fe572c
refs/heads/master
2022-04-12T00:25:01.904127
2020-03-28T10:50:53
2020-03-28T10:50:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,037
py
# -*- coding: utf-8 -*- """ Created on Thu Sep 26 15:42:07 2019 @author: Satyajit """ from PyQt5 import QtGui , uic ,QtWidgets , QtCore import pyqtgraph import sys import numpy as np from functools import partial def exit_func(): sys.exit(0) if __name__=='__main__': a=str() a...
[ "noreply@github.com" ]
nesarasr.noreply@github.com
1872c2b02787510ea089a882647d262201237e43
e7f708af4b599ec6763e0d3b311e2cb47cc155d8
/payments/admin.py
f69953885eba02d24436b82c8477468a8e0d0cfd
[]
no_license
dmontoya1/tu-licencia
d48bc8779d8cda50c7a382cb1c14e2ae3668ebc8
d436d665ba797d7b90fcdcc58bcef3e79b917682
refs/heads/master
2023-05-14T16:38:52.408066
2020-06-08T20:24:39
2020-06-08T20:24:39
371,433,421
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.contrib import admin # from .models import Invoice # class InvoiceAdmin(admin.ModelAdmin): # list_display = ('__unicode__', 'user', 'release_date', 'is_discharged', 'payment_status') # readonly_fields = ('release_date', ) # sea...
[ "dmontoya@apptitud.com.co" ]
dmontoya@apptitud.com.co
6a9573d123ee3c2eab2c86427659496281d46515
d90b10f4fcd0199bf064edf2b46a77dbc64b2a50
/PythonGitPrograms/5-Inheritance, Multiple Inheritance.py
3a263f20e107af833200f4061b3f94f5fa0724a1
[]
no_license
satyam93sinha/PythonBasics
f13d56f84d77523b9d77e989ed09dd2d61446220
e07499884f617f2717d6aea75818db07f8f1584f
refs/heads/master
2020-04-22T19:53:38.449222
2019-03-18T13:02:04
2019-03-18T13:02:04
170,622,798
0
2
null
2019-10-01T16:51:48
2019-02-14T03:44:47
Python
UTF-8
Python
false
false
426
py
class Base1: a, b = 5, 9 print('Base1, a:{}, b:{}'.format(a, b)) class Base2: #print("Base2.mro:{}".format(Base2.mro())) a, c = 2, 3 print("Base2, a:{}, c:{}".format(a, c)) class Child1(Base2): d, e = 1, 'go' print("Child1, d:{}, e:{}".format(d, e)) class Child2(Child1, Base2, Base1): pr...
[ "satyamkumarsinha9@gmail.com" ]
satyamkumarsinha9@gmail.com
dd0f144786bc13cb2bcfd0f6f6dc726d47af6982
4100e7b9349b611c1922b37891355c46ef376f1e
/Rivet/script_and_example/fix_e-_yodas.py
36cba4143c4aa22296611e862ef088107bda2a64
[]
no_license
kdlong/LesHouchesVBSstudies
8bc0c888056a232e3ea9371cccdd300d0a9f314c
5ee351546520896935a2e53480034c40def668fc
refs/heads/master
2021-03-16T09:39:05.363696
2019-05-13T03:10:15
2019-05-13T03:10:15
113,029,275
0
0
null
null
null
null
UTF-8
Python
false
false
1,081
py
import sys analysisfile = open(sys.argv[1],'r') new_analysisfile = open("fixed_"+sys.argv[1],'w') prestring="" found_histo=False header=False wrong_histo=False print "Start adapting the histogram {0}.".format(sys.argv[1]) for line in analysisfile: if line.find('END YODA_HISTO1D') != -1: line.strip('\n') if ...
[ "stephan.braeuer@stud.uni-goettingen.de" ]
stephan.braeuer@stud.uni-goettingen.de
d50572d4090c707e69adf085200b9658c585e677
d9803bd42d8edc8fd089b89588fdd2033cfb3fb0
/GISJob/items.py
f6727c91947caf098c54d563ca06722592793253
[]
no_license
pengshaowei/GISJob
d718a66a1dacbc5dbac1084594cb572205d0d457
8d94f1fe25d41880d643923233b2569dfc7bd91e
refs/heads/master
2020-03-27T06:15:38.437874
2016-06-29T06:43:08
2016-06-29T06:43:08
62,027,652
0
0
null
null
null
null
UTF-8
Python
false
false
842
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # http://doc.scrapy.org/en/latest/topics/items.html import scrapy class GisjobItem(scrapy.Item): url = scrapy.Field() job = scrapy.Field() #岗位名称 location = scrapy.Field() #工作地点 salary = scrapy.Field() #薪资 ins = scr...
[ "www.pengshaoweip@qq.com" ]
www.pengshaoweip@qq.com
0d689174ed920a61e2ae5b29e1be0b018ef5fb2d
4676ab33b20fb9206e12bee6c12dc01d2331effb
/main.spec
692a47201ba61b89d9274edac73300215ef5d923
[]
no_license
acer-king/Goal-detection
94cbf531adbbdbc182dd123fe5f1d9b4d73f112d
a138cd153acf569c73577d03dbf91a511aee1bb9
refs/heads/master
2022-12-03T03:35:50.762543
2020-08-17T17:36:43
2020-08-17T17:36:43
288,245,195
0
0
null
null
null
null
UTF-8
Python
false
false
857
spec
# -*- mode: python ; coding: utf-8 -*- block_cipher = None a = Analysis(['main.py'], pathex=['D:\\upwork\\indian\\detecting goal'], binaries=[], datas=[], hiddenimports=[], hookspath=[], runtime_hooks=[], excludes=[], ...
[ "acerking03@gmail.com" ]
acerking03@gmail.com
9eeafd4847d7b39c112746a6e759becc2bf0aef7
f17c4d393617f0b2d4303b24e59f7fa867b6e483
/migrations/versions/a0ef55bfc5a9_.py
c2bdd3f0b49e65ba44c8d12f0b696d8d3648a802
[]
no_license
kodespy/kapes
611de2451ddc7f930c6075746375640aedb656ab
95119d89290422efccf72e565524b75742645778
refs/heads/master
2021-01-22T17:48:12.899716
2017-08-18T17:39:46
2017-08-18T17:39:46
100,735,072
0
0
null
null
null
null
UTF-8
Python
false
false
1,503
py
"""empty message Revision ID: a0ef55bfc5a9 Revises: None Create Date: 2017-08-18 08:12:53.661047 """ # revision identifiers, used by Alembic. revision = 'a0ef55bfc5a9' down_revision = None from alembic import op import sqlalchemy as sa def upgrade(): # ### commands auto generated by Alembic - please adjust! #...
[ "kodespy@gmail.com" ]
kodespy@gmail.com
015f94220909b436deb31345160eebc80132c586
3ab1f37b4372d0796c85ef24343dd8c03accb6ef
/OddEvenLinkedList.py
5004fdb3d7cf1ccbd577d641dc11c9e1fe6a488c
[]
no_license
Blossomyyh/leetcode
2be6a99534801fc59fe9551317ca49c3704b1c3d
38615779eb43d147587467e11dc22761ac0726cb
refs/heads/master
2023-01-22T16:56:26.624677
2020-11-20T13:47:43
2020-11-20T13:47:43
266,845,278
2
1
null
null
null
null
UTF-8
Python
false
false
649
py
# Definition for singly-linked list. class ListNode: def __init__(self, val=0, next=None): self.val = val self.next = next class Solution: def oddEvenList(self, head: ListNode) -> ListNode: if not head or head.next == None: return head odd, even, second = head, head.next, head....
[ "blossomyyh@163.com" ]
blossomyyh@163.com
ca30c61d529defb6e21e782cba161535f29b1a71
c538092a01585082ecfdf8845886faea3985f067
/duckietown_utils/rllib_callbacks.py
85090a0f568738d85d21c62e0f49e1f851cce444
[ "MIT" ]
permissive
BoAi01/Duckietown-RL
ef3fdd8205e499b1a68d592fed0934a8c9cba3e7
434787a1caf1e5a8ec1d45a30c1ec8eb35ff91ba
refs/heads/master
2023-04-11T02:15:32.067588
2021-04-23T15:30:33
2021-04-23T15:30:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,969
py
""" RLlib callbacks used to log custrom metrics and a hack to save trajectory data. """ __license__ = "MIT" __copyright__ = "Copyright (c) 2020 András Kalapos" import logging import numpy as np import ray.rllib as rllib from ray.tune.logger import pretty_print from ray.tune.result import TRAINING_ITERATION, TIMESTEPS_...
[ "kalapos.andras@gmail.com" ]
kalapos.andras@gmail.com
a9ea1d708b1afa66b221cc8119ea3d36a1a87fed
75669eaa1f249beefa8f0b23beb1edbe72e6e92f
/function_practice.py
9e0e5765e9a9fd8abaa21abf8ce619b4a019289f
[]
no_license
faryalj/HighSchoolCamp
0859d70e6050a1d15185c2adccc7d601057b246d
f30fa2b05982cf8a4fbed71901f6f9bac8d2d25c
refs/heads/master
2020-06-03T14:22:32.632876
2019-06-14T19:21:31
2019-06-14T19:21:31
191,602,784
0
0
null
null
null
null
UTF-8
Python
false
false
488
py
""" title: function_practice author: Faryal date: 2019-06-12 11:22 """ #Age_calculator def age_calculator(current_date, birth_year): return current_date - birth_year current_date = int(input("What year is it?")) birth_year = int(input("When were you born?")) print(f"You are " + str(current_date - birth_year) + "...
[ "faryalmjabbar@gmail.com" ]
faryalmjabbar@gmail.com
aed1f7d9aa11a49f7656442d5d5040bfb80df6b3
262655fd203a91cd533f8ecec893f821de8b4c84
/src/features/build_features.py
bb82e8218c19928ffb8372d7d40a17c3661164f8
[ "MIT" ]
permissive
GeorgesAlkhouri/bikeshare
a73bcddf30a8f68f4db4a0fe3368c81e3bf70d4c
8dfd83bc062d2c557d5d14f303b3377de9df4353
refs/heads/master
2020-11-25T00:06:15.590043
2020-01-08T12:43:39
2020-01-08T12:43:39
228,397,213
0
0
null
null
null
null
UTF-8
Python
false
false
2,662
py
def cast_column_type(df): category_features = ['season', 'holiday', 'mnth', 'hr', 'weekday', 'workingday', 'weathersit'] df[category_features] = df[category_features].astype('category') return df def drop_columns(df): df = df.drop(columns=['dteday', 'instant']) return df ...
[ "alkhouri@informatik.uni-leipzig.de" ]
alkhouri@informatik.uni-leipzig.de
db1dce711edcbeb35ad6b34bcd858cc7e5978198
ffb6a79786b1446a2f1ed66e44f9d2225b2eb463
/calculate_hours_google.py
78a61e392b3adc1db07ab6fb7d5fdc042fc3ca76
[]
no_license
rborgwald/calculate-hours
eeb15d5c47fca2a81ac2ca1766b96843f2ec57f9
a58bd7e5237600e99c372fe332290586801ccf39
refs/heads/master
2020-03-14T03:51:57.788622
2018-05-26T21:55:28
2018-05-26T21:55:28
131,428,943
0
0
null
null
null
null
UTF-8
Python
false
false
5,430
py
#!/usr/bin/python # To set this script up, follow instructions at https://developers.google.com/calendar/quickstart/python # Also, you might need to run: pip3 install --upgrade google-api-python-client from __future__ import print_function from apiclient.discovery import build from httplib2 import Http from oauth2cli...
[ "rborgwald2885@gmail.com" ]
rborgwald2885@gmail.com
862ba01f331fad15fbd5638250d0613e8136b898
606d56d4dfe3eff3f34caa43091b725db06b885d
/src/productos/views.py
95fdb6b404d32c98069129b37218835847c74b01
[ "MIT", "Apache-2.0" ]
permissive
Sublime441/inventario-api
8b6a45fdba2e7076750a9d1b06630fbe7e8af93b
e084b18908f65a481fcca0cbd44a9c2e7236e18a
refs/heads/master
2021-09-05T13:49:18.583407
2017-10-20T11:21:46
2017-10-20T11:21:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
437
py
from rest_framework import viewsets from .models import Producto from .models import Categoria from .serializers import CategoriaSerializer from .serializers import ProductoSerializer class CategoriaVista(viewsets.ModelViewSet): queryset = Categoria.objects.all() serializer_class = CategoriaSerializer class ...
[ "cercadocarlos@gmail.com" ]
cercadocarlos@gmail.com
a0ab444893ad20b5e907d2942d6ab465c68323c3
053441eba6ecf082d48f76807ad097e89d31b94c
/paddlevideo/modeling/losses/cross_entropy_loss.py
325ee35b569b2d542b6fe215f04f4338fb9adab6
[ "Apache-2.0" ]
permissive
shippingwang/PaddleVideo
9cf4ff7c8b7f9c60fe6309c4a719698bfdba00b5
48e6bb5f67ad44f7ef3c5cd683e8e7b8c50f0918
refs/heads/main
2023-03-17T10:38:39.257643
2020-12-01T06:19:41
2020-12-01T06:19:41
312,490,608
1
0
Apache-2.0
2020-11-13T06:21:55
2020-11-13T06:21:54
null
UTF-8
Python
false
false
1,293
py
# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License" # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
[ "shipeng1108@163.com" ]
shipeng1108@163.com
7246a717056fa85a8c381a15a40d9fff59077e68
9e4fc18f267f49e1efeb69f2e95e4c4a00ce8ce6
/Python Practice/3.1-2_FizzBuzz.py
8a04e6282dd558c98d016cb2446bc1d3ec41931a
[]
no_license
cookiewho/IPS_Workshop_2020
1de50e80abbedafeb48f7907ffca8461d2d2bd4a
4dda2febb7dfa6645042e8e7a6d1138465ad12cf
refs/heads/master
2022-12-25T02:59:16.436013
2020-10-09T17:31:31
2020-10-09T17:31:31
284,307,980
0
0
null
null
null
null
UTF-8
Python
false
false
328
py
''' Given an integer, print "Fizz" if it's divisible by 3, print "Buzz" if divisible by 5, "FizzBuzz" if divisible by both 3 & 5, "Not fizz or buzz" otherwise (without the quotes). ''' a = int(input()) s = "" if a%3 == 0: s+=("Fizz") if a % 5 == 0: s+=("Buzz") if len(s) > 0: print (s) else: print("Not fizz o...
[ "dinkwho@gmail.com" ]
dinkwho@gmail.com
b3955108d2bd467190ee0f8b33b6c7dae412e68a
7b84f6ace903337a3a5894ea70c564ac6bc324be
/quiz-w7-2-densenet/datasets/download_and_convert_cifar10.py
9711adc55b485f221751dd287481890fa33cf643
[]
no_license
zhouzhiqi/Deep-Learning
8d17359d7f66c46292e89a86f44326310b723052
416abd68737cd81e5d8bf15507d59bbd560d1c1a
refs/heads/master
2021-09-14T16:57:29.203381
2018-05-16T08:38:41
2018-05-16T08:38:41
126,123,994
0
1
null
null
null
null
UTF-8
Python
false
false
6,588
py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
[ "zhouzhiqi1234@outlook.com" ]
zhouzhiqi1234@outlook.com
cd77c134d12365a252030bc1ea72ea577fe53e8a
91ee7224de43029922f1396592bdf7802fe1e15e
/TrainingPadaX/python-flask-login/app.py
4ced875ee0672caa28a2879a13fa6d2f89dcd994
[]
no_license
Soniafish/Soniafish.github.io
83aefae6b0180fa0e2f39c8dbdcbb799889d7cec
1174dbd87a7aeae3489cfbd899752c3517ffe20a
refs/heads/master
2021-09-13T01:13:56.406930
2021-08-17T14:04:16
2021-08-17T14:04:16
72,912,535
0
0
null
null
null
null
UTF-8
Python
false
false
1,397
py
# !/usr/bin/python2 # coding:utf-8 from flask import Flask from flask import request from flask import redirect from flask import render_template from flask import session app=Flask(__name__) app.secret_key = 'A0Zr98j/3yX R~XHH!jmN]LWX/,?RT' @app.route("/") def index(): if 'username' in session: ...
[ "sonia.lin@kantech.com.tw" ]
sonia.lin@kantech.com.tw
9ca06377d8cd9fbe39082bfb3d7983c1eb7ddd2c
6b27c39edc10b1353104043b7a523f4981c99ef2
/pytype/tools/merge_pyi/test_data/stars.pep484.py
56d6529efedb9cc54e761bdb5952bafc66cde7b3
[ "Apache-2.0", "MIT" ]
permissive
google/pytype
ad0ff0b6c1083b4f0a1af1747869d422f2b5f4d8
bda0b9547af9a084bb2bd1427f58dcde968e48b5
refs/heads/main
2023-08-26T17:52:23.546035
2023-08-24T22:48:00
2023-08-24T22:48:00
32,483,713
4,595
367
NOASSERTION
2023-09-13T04:40:45
2015-03-18T20:52:08
Python
UTF-8
Python
false
false
288
py
def f1(*a): pass def f2(**a): pass def f3(a, *b): pass def f4(a, **b): pass ## arg with default after *args is valid python3, not python2 def f5(*a, b=1): pass def f6(*a, b=1, **c): pass def f7(x=1, *a, b=1, **c): pass def f8(#asd *a): pass
[ "rechen@google.com" ]
rechen@google.com
8d33dfc0c8f80b0f4cd63f78511920a1f5adc4ab
ca0b950d4232132c340c75513809fa4f72c52b0e
/animations/color/base.py
219dfc936d7e23b3c1ae58d7bc9b918f5d57462e
[ "MIT" ]
permissive
LeLuxNet/GridPy
e32cebd157823669b001499263e1788993c0cf13
5f4d02d2b254be1f0682b724a96a99009a415308
refs/heads/master
2022-12-21T08:20:03.913594
2020-09-23T18:31:44
2020-09-23T18:31:44
260,533,711
0
0
null
null
null
null
UTF-8
Python
false
false
608
py
class ColorGeneration: def generate(self): return None def generate_list(self, amount): colors = [] for i in range(amount): colors.append(self.generate()) return colors class IndexColorGeneration(ColorGeneration): def __init__(self, max_index): self.m...
[ "ginnythecat@lelux.net" ]
ginnythecat@lelux.net
4e69526e2f22b9e6ead9e0673d893c9460e3b570
fc1cc515a65e844705cc6262a70cd0a12ce1d1df
/math/0x00-linear_algebra/2-size_me_please.py
f9800d2c3bc375d8df09bd35e4d0cfd25402da82
[]
no_license
yulyzulu/holbertonschool-machine_learning
4f379a4d58da201e8125bd8d74e3c9a4dfcf8a57
d078d9c1c5bd96730a08d52e4520eb380467fb48
refs/heads/master
2022-12-26T12:01:25.345332
2020-10-03T03:19:05
2020-10-03T03:19:05
279,392,075
0
0
null
null
null
null
UTF-8
Python
false
false
301
py
#!/usr/bin/env python3 """ Module to execute function """ def matrix_shape(matrix): """Function that calculates the shape of a matrix""" shape = [] shape.append(len(matrix)) while type(matrix[0]) == list: matrix = matrix[0] shape.append(len(matrix)) return shape
[ "yulyzulu05@gmail.com" ]
yulyzulu05@gmail.com
9ed2a579f1ddb1d50c17e4406c162616c1ca964f
7162dbf9809c05c67e6d0569f1644a236ee1049b
/Exercises/Daxita/Class & Object/count_object.py
cca1fb1f815f7ec9dbe48d6e8185dd2f4985b7e1
[]
no_license
yogi-katewa/Core-Python-Training
acc20bf388b2ee664209926cbddda5db86d26682
a30e62092f5455531a0ee8d18168f5ba39968a56
refs/heads/master
2021-01-13T16:36:27.151828
2017-01-18T07:39:38
2017-01-18T07:39:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
167
py
class Foo(object): counter = 0 def __call__(self): Foo.counter += 1 return (Foo.counter) foo = Foo() a=foo() a=foo() a=foo() print("Object Called : ",a)
[ "daxita2013@gmail.com" ]
daxita2013@gmail.com
a305c45934f4cccda3f2ff9cda3ac07315b86ddb
a1f00428cf522c8e51ff05101ab2a1024cf04248
/python/matrix/matrix.py
55438e97e1b764bbae2543bc8f394c06bc7f247d
[]
no_license
siddharthisaiah/exercism
c994132d9f59fa5c6b11cb28c10806aed41a1c30
b4ce66543fdc70073916028c6bdd6f70ae1cc7a2
refs/heads/master
2023-01-05T23:35:48.341670
2019-07-09T17:42:52
2019-07-09T17:42:52
186,884,684
1
0
null
2023-01-05T02:14:45
2019-05-15T18:47:35
Python
UTF-8
Python
false
false
298
py
class Matrix(object): def __init__(self, matrix_string): self.matrix = [[int(n) for n in row.split()] for row in matrix_string.split("\n")] def row(self, index): return self.matrix[index-1] def column(self, index): return [row[index-1] for row in self.matrix]
[ "siddharthisaiah@gmail.com" ]
siddharthisaiah@gmail.com
9b1c4cf2eb86462a040f6f3f3d50654cb43b7469
df0849fb516ae123a8031f5830fe55b5341391df
/test/test_binaryreply.py
abf58df752c5c35f5a6ed4981f49cee6659c3cce
[ "Apache-2.0" ]
permissive
duncanmcbryde/zaber.serial
e5380eafcb0ca7ab8817118a28999edaf06f8265
3edeec2703f6266fe13d300b61c46782171e1287
refs/heads/master
2016-08-11T09:44:37.235121
2015-12-01T13:29:40
2015-12-01T13:29:40
47,191,136
1
0
null
null
null
null
UTF-8
Python
false
false
1,527
py
import pytest from zaber.serial import BinaryReply def test_init(): br = BinaryReply([1, 56, 10502]) assert(br.device_number == 1) assert(br.command_number == 56) assert(br.data == 10502) def test_init_with_message_id(): br = BinaryReply([2, 44, 21231, 12]) assert(br.device_number == 2) a...
[ "duncan.mcbryde@ttp.com" ]
duncan.mcbryde@ttp.com
f3ae22f885b78d753d9dbc851fea38a065e80d88
9fc768c541145c1996f2bdb8a5d62d523f24215f
/code/HomeWork/ch5/H_5_4.py
a92df699ef2667ea9bcb8c973b7297b29db61309
[]
no_license
jumbokh/pyclass
3b624101a8e43361458130047b87865852f72734
bf2d5bcca4fff87cb695c8cec17fa2b1bbdf2ce5
refs/heads/master
2022-12-25T12:15:38.262468
2020-09-26T09:08:46
2020-09-26T09:08:46
283,708,159
0
0
null
null
null
null
UTF-8
Python
false
false
722
py
# H_5_4.py 功能:輸入數字後判斷是否為11的倍數 num_even = 0 # 儲存偶數位數字暫存 num_odd = 0 # 儲存奇數位數字暫存 number = str(input('請輸入數字 : ')) l = len(number) # 判斷輸入數字之長度 x = int(number) # 轉換成數值型態 for n in range(l,0,-1): y = x//(10**(n-1)) # 計算奇偶位數字 x = x - (y*(10**(n-1))) if n%2 == 0: # 判斷若是偶數位數字則儲存在偶數位暫存,反之存奇數位暫存 num_even = nu...
[ "jumbokh@gmail.com" ]
jumbokh@gmail.com
1a00af2d94457d9d773df82a3718628355f690e3
51c4288732642aa75b173c9efa25c02968aa5406
/src/book/forms.py
8ea6d15f3dfed41737d6182ea82ba16aa914c020
[]
no_license
EvgPol19/Book
ae16276d5d41cf50ab9038b93a308c4be84c8280
beeffe3c2fd55920239003b28b5b63cd1ad9d924
refs/heads/main
2023-07-17T01:29:32.698177
2021-08-17T07:13:29
2021-08-17T07:13:29
369,847,918
0
0
null
null
null
null
UTF-8
Python
false
false
153
py
from django import forms from . import models class CreateBook(forms.ModelForm): class Meta: model = models.Book fields = '__all__'
[ "elulbako@list.ru" ]
elulbako@list.ru
7c38dda3f18562b3df7eecb78e86f2712b212369
b5d72e68c3976766a7adfd1fa33f778a5268c84a
/Regex/ex1.py
35628e29ded201a4fa05a049420dc39525ee29d4
[]
no_license
LizinczykKarolina/Python
4a2fb0e7fb130c86239b2666fb346bf35a8e655b
7f4a3a9cba15fd2b4c7a104667461b3c49f8b757
refs/heads/master
2021-06-18T21:43:52.983557
2017-06-17T21:24:01
2017-06-17T21:24:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
328
py
#1. Write a Python program to check that a string contains only a certain set of characters (in this case a-z, A-Z and 0-9). import re email_address = 'wieczorek.karolina1@o2.pl' searchObj = re.search(r'[a-zA-Z0-9.]', email_address, re.M | re.I) if searchObj: print True else: print False "sxdupa1" -match ...
[ "wieczorek.karolina1@o2.pl" ]
wieczorek.karolina1@o2.pl
3ddfc499ca5c451fb47020aa62fc4830e9025699
51de2f4d75b645827a466a92160c69f5a5aa27cb
/Code/intermediatary codes/code_cross_correlation.py
ab14fb2f3784959e8895d9c99c1ef290da158cb4
[]
no_license
agc-shubham/speechAnalysisAndSynthesis
399e58ff71443abdb3233278a96532aa10a9098b
f308d9f9d23d2a6097fe31126d535ad1d25d7b97
refs/heads/master
2020-07-30T07:23:20.058568
2019-09-22T12:41:59
2019-09-22T12:41:59
210,133,352
0
0
null
null
null
null
UTF-8
Python
false
false
1,659
py
import numpy as np from scipy.signal import butter, lfilter, freqz from matplotlib import pyplot as plt from scipy.io import wavfile from scipy.fftpack import fft,fftfreq from matplotlib import pyplot as plt import plotly.plotly as py import peakutils x=np.array([1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5]) y=...
[ "agc19shubham@gmail.com" ]
agc19shubham@gmail.com
b2fd156cbb5144ba90084307461364a83221c543
8feb451342837ba72967d06f339536e9b2dd6213
/2018/Python/puzzle45_46.py
17e5d209be95a13826f588c01ddda9b6d4684827
[]
no_license
csvila/AdventOfCode
bcecfcfd404d10ee36b9f0c6a82561154cc2958d
807ffba369b7a64167851e76a7edd632c7150e06
refs/heads/master
2020-04-16T06:06:17.851824
2019-12-10T16:18:15
2019-12-10T16:18:15
165,333,033
0
0
null
null
null
null
UTF-8
Python
false
false
4,876
py
import re def get_bots(values): r = re.compile("pos=<([0-9-]+),([0-9-]+),([0-9-]+)>, r=([0-9]+)") bots = [] for cur in values: if cur.startswith("#"): print("# Note: " + cur) else: m = r.search(cur) if m is None: print(cur) bo...
[ "cesar.vilarim@hotmail.com" ]
cesar.vilarim@hotmail.com
672a4e70022ac965ccb9167e465218b4afb9d018
3efc0c578c5136d83eeab69dc3e5fd565de05c31
/Assignment 3/P1_Baseline/p1/baseline.py
5e4ea735ca9db4350f25a51ac22f38f53193240e
[]
no_license
Rshcaroline/UCSD-CSE256-Statistical-NLP
34ccc690ec3e7f1e7e41a176a46350e8bddbeaf6
57d3f2081d7aa46d44b096669ca2d6c9e242c5c2
refs/heads/master
2023-04-01T14:27:20.390827
2019-12-13T06:36:07
2019-12-13T06:36:07
213,223,407
6
5
null
2023-03-25T00:11:32
2019-10-06T18:40:57
JavaScript
UTF-8
Python
false
false
2,212
py
''' @Author: @Date: 2019-11-01 19:48:16 @LastEditors: Shihan Ran @LastEditTime: 2019-11-01 20:41:28 @Email: rshcaroline@gmail.com @Software: VSCode @License: Copyright(C), UCSD @Description: ''' import sys from collections import defaultdict import math def read_counts(counts_file, word_tag, word_dict, uni_tag): ...
[ "RshCaroline@163.com" ]
RshCaroline@163.com
acda56ee78a8132344cc053561886c569a3f64fd
61fa09e50752022ee57553f1af4dd84b201b4aff
/0x00-python-hello_world/6-concat.py
7c492b9d7fa2f0c5c7c0cfa14012dcdd748e2c0c
[]
no_license
ellio-hub/holbertonschool-higher_level_programming
184880bbb99c59d1d64d8f650d4addbec41321db
96ddcd43889b9df5e8497669e14ef85e9494cbb0
refs/heads/master
2023-06-18T20:22:57.871905
2021-07-14T14:08:20
2021-07-14T14:08:20
270,609,342
1
0
null
null
null
null
UTF-8
Python
false
false
116
py
#!/usr/bin/python3 str1 = "Holberton" str2 = "School" str1 = str1 + ' ' + str2 print('Welcome to {}!'.format(str1))
[ "1421@holbertonschool.com" ]
1421@holbertonschool.com
91c02459d4b5116db0e911aeeb9585e3e2c177d5
0a7a2941602ceeb819fad3f222a7b3950452d304
/zeus/controller/BusinessController.py
4fbd01d8f9a720253ea74c7b4e089b8257d087fb
[ "Apache-2.0" ]
permissive
flyliufu/PythonDemo
3b9ed3c74181ad7f46257655bba03c389d870eec
9f31998a53e94b4036c6e96d80748945845b82b6
refs/heads/master
2022-04-26T10:54:42.543061
2022-03-11T07:51:29
2022-03-11T07:51:29
147,266,004
0
0
null
null
null
null
UTF-8
Python
false
false
1,861
py
from zeus.util.MsgUtil import MsgUtil # 微信服务器推送消息是xml的,根据利用ElementTree来解析出的不同xml内容返回不同的回复信息,就实现了基本的自动回复功能了,也可以按照需求用其他的XML解析方法 import xml.etree.ElementTree as et import logging logger = logging.getLogger("django.request") class BusinessController: def auto_reply(self, body): xml_data = et.fromstring(bod...
[ "flyliufu@sina.com" ]
flyliufu@sina.com
b4aec3c94de4ef1c9d0804e58f30aa47e9eeb51c
22c6303398fe9d3a01ea2e2dee56a7c51ffb8106
/src/StyleVarPane.py
caec6f9ba7540e07c20e8041d2bf85d34f9bbcfc
[]
no_license
prrg/BEE2.4
07c3d96b58bda8d7b4383d46778d01bcf970a5e4
ffd30eb140e04db781229b27992aaed4385b438b
refs/heads/master
2020-04-01T18:45:12.625402
2018-10-04T05:28:13
2018-10-04T05:28:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,859
py
from tkinter import * from tk_tools import TK_ROOT from tkinter import ttk from collections import namedtuple import functools import operator import img as png from BEE2_config import GEN_OPTS from SubPane import SubPane import packageLoader import tooltip import utils import itemconfig from typing import Union s...
[ "spencerb21@live.com" ]
spencerb21@live.com
748bd141851012ae41c1d7935ee35c81843e1b35
22dc5935a022e23d053cca14357b5b0732d96a63
/DataScie/tuts/pd_intro.py
18b715277127112b19a636a33662be70d361bcb7
[]
no_license
deaninous/playground
3aa548db543e2e1620793dea15d1c934967c6976
fe43d0e97a188b3f368114c0a295b34ded396760
refs/heads/master
2021-01-02T23:03:46.557197
2017-08-09T00:06:05
2017-08-09T00:06:05
99,456,332
0
0
null
null
null
null
UTF-8
Python
false
false
6,261
py
from pandas import Series, DataFrame import numpy as np stock = Series([4, 3, 8, 9]) #stock #Out[12]: #0 4 #1 3 #2 8 #3 9 #dtype: int64 # stock.values # DataFrame, think csv # pandas, think linear values # numpy, think spreadsheets data = {'state': ['Ohio', 'Ohio', 'Ohio', 'Nevada', 'Nevada'], 'year': ...
[ "ouedinous20@gmail.com" ]
ouedinous20@gmail.com
932a26342f04be288d55af4acb34cfe86fc29623
5258f5997ad9d2d75a5a0b950abb41b122c2a2d2
/source/Mlos.Python/mlos/Optimizers/ExperimentDesigner/UtilityFunctionOptimizers/UtilityFunctionOptimizerFactory.py
07c4da47b756ec8ca0b90a0a4dc3a21b35801b91
[ "MIT", "GPL-2.0-only" ]
permissive
amueller/MLOS
49c0d361aeaffabce20d5b31ab44ad180d8dd13d
8f79bfa27a6fd09c3e00187bae8d7177eaf55247
refs/heads/main
2023-07-07T23:46:03.028439
2021-06-14T20:09:09
2021-06-14T20:09:09
290,320,526
4
1
MIT
2020-11-06T01:12:17
2020-08-25T20:49:13
Python
UTF-8
Python
false
false
2,789
py
# # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # from mlos.Optimizers.ExperimentDesigner.UtilityFunctions.UtilityFunction import UtilityFunction from mlos.Optimizers.ExperimentDesigner.UtilityFunctionOptimizers.GlowWormSwarmOptimizer import GlowWormSwarmOptimizer, glow_worm_swarm_optimi...
[ "noreply@github.com" ]
amueller.noreply@github.com
eacef7a09f8311f33624a9f5acb965d5ec877336
7d8022661a756f77f715ee4d099fb17cb9da671a
/engine/data_loader.py
6e92e9d69aff6df248ddbe721e11db9904459073
[]
no_license
lxj0276/Quant-Util
a7d70d88fc47eb16a08149faefa7b128c01c670e
2706ecba72a293ee01105ad22508a8d6b20e1394
refs/heads/master
2020-04-25T13:40:36.700892
2018-10-15T04:35:54
2018-10-15T04:35:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,979
py
import os from collections import OrderedDict import pandas as pd from engine.cons import * from engine.utils import get_calendar from feature.time import TimeRange from mongoapi.get_data import get_day_trade_data from redis_cache.rediscache import cache_it_pickle class pricing_data_loader: def __init__(self, lo...
[ "zhangzc@pku.edu.cn" ]
zhangzc@pku.edu.cn
d13484b16678129c6aaeb00750fcd04de43e2ed3
0228a6aefd7dcedb16bb6baf2152bb893b0a7c4e
/externalapiproject/settings.py
6441bbd7eac8a52a31de11e8614fec179ed1ce49
[]
no_license
balaji2245/django_project_externalapi
7cf7d950cbdfb7c396f194f5b2df4d7390a58e56
4fdecbfd7f2a6863c77ab9c98348d16f5a199f4c
refs/heads/master
2023-08-30T09:58:25.551883
2021-11-15T19:45:21
2021-11-15T19:45:21
428,282,828
0
0
null
null
null
null
UTF-8
Python
false
false
4,019
py
""" Django settings for externalapiproject project. Generated by 'django-admin startproject' using Django 3.2.9. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ im...
[ "balajidavangavem@gmail.com" ]
balajidavangavem@gmail.com
7903bebf11136419ad1380585a837c763047ba50
16f9e5c65d309bb3d3f0da90bd2a3ffa6dfbb922
/labs/lab3/mysiteS20/myapp/migrations/0004_auto_20200623_1522.py
293c9fe8f3a20fcc0f30ae5b71d0a787257fff65
[]
no_license
datqlam/internet-app-distributed-sys
e8ffaa8eeec0a808d07f8f3d3ba9095c0ae63189
3e5fe41282023b8678710d7805765b00cecb2b38
refs/heads/master
2022-12-10T16:29:45.596137
2020-08-20T21:08:22
2020-08-20T21:08:22
268,125,378
0
0
null
null
null
null
UTF-8
Python
false
false
494
py
# Generated by Django 3.0.7 on 2020-06-23 19:22 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('myapp', '0003_auto_20200619_1833'), ] operations = [ migrations.RemoveField( model_name='order', name='course', ...
[ "lqdat2n@gmail.com" ]
lqdat2n@gmail.com
bc65a3921d29d115fa2d05902808f18552cb33e5
94efbd46bec43b07f29f8718b378834f28cfa18c
/env/Lib/site-packages/dotenv/__init__.py
1867868f719e0edd17ad0cc144fa680c9e273bf4
[ "Apache-2.0" ]
permissive
BiceCold/Citadel_of_Ricks
2a9d1fc45fe36098dc61f2e00c55cedfd1dd22b7
72f1a447accc2c11d1fa1cbf3c3342913913e50e
refs/heads/master
2021-06-15T17:52:35.999378
2019-06-15T18:29:55
2019-06-15T18:29:55
129,338,382
2
0
Apache-2.0
2021-02-26T02:29:49
2018-04-13T02:45:19
Python
UTF-8
Python
false
false
1,276
py
from typing import Any, Optional from .main import load_dotenv, get_key, set_key, unset_key, find_dotenv, dotenv_values def load_ipython_extension(ipython): # type: (Any) -> None from .ipython import load_ipython_extension load_ipython_extension(ipython) def get_cli_string(path=None, action=None, key=No...
[ "bice.jeremy@outlook.com" ]
bice.jeremy@outlook.com
66c913bf07d18f0b0788b67fdd65aaa861d80416
771856a4f24b8a4ff0cb627a316e825f6364db5f
/04_conditional_statements/ifelifelse.py
c977dd4c830f8f79818f21cc6daf6c9f7f6ec492
[]
no_license
rafaelgramoschi/pythontuts
f3cd8df91cdfda40910c3946f9018cdf29659b4a
b7b3145658e9b38f30d7579b0b031e4abdc916ac
refs/heads/main
2023-02-06T11:47:36.488737
2021-01-02T15:32:42
2021-01-02T15:32:42
326,212,033
0
0
null
null
null
null
UTF-8
Python
false
false
461
py
""" if-elif-else """ zero = 0; one = 1; if one > zero: #Indentation is important! #it makes python understand that if something happens #it must follow the indented code, print("one is greater than 0") elif one == zero: print("number are the same") else print("one is less than 0") str = 'str' if str is '...
[ "gramoschi.rafael@gmail.com" ]
gramoschi.rafael@gmail.com
f4d4ad5fffdbd3200bfabf4936fb900e12376a50
ec2075fc61f622a0ddf11744d67222d10d7582ea
/pickle.py
f918870478bc477f88030a65c7a293ee31f3a522
[]
no_license
Aravinthanucep/Python-program
f3b2f4df8b6f53d049db062852af7a5ddb435546
3502fdf2755ade6c735f8478e5c31730688f68a7
refs/heads/master
2021-05-08T14:56:25.438546
2018-02-11T17:08:19
2018-02-11T17:08:19
120,101,252
0
2
null
null
null
null
UTF-8
Python
false
false
608
py
#------------------------------------------------------------------------------- # Name: module2 # Purpose: # # Author: Deepa # # Created: 19/01/2018 # Copyright: (c) Deepa 2018 # Licence: <your licence> #------------------------------------------------------------------------------- d...
[ "noreply@github.com" ]
Aravinthanucep.noreply@github.com
a1f30bad67e95432f8ac7e765fea90b9672f1617
af314ff8e16565cc826e2cf747605da645c631c9
/Project/urls.py
e86b975ad118c8a2847ef0a280d5899607ac158d
[]
no_license
cutlerwater/django_blog
8bbcc7a5b51109650dad80eebb32a4ae7c85c690
6c7e71f82af59e9bd28c5315428457d678d62aa5
refs/heads/main
2023-08-21T17:57:53.783259
2021-09-30T20:51:51
2021-09-30T20:51:51
411,458,990
0
0
null
null
null
null
UTF-8
Python
false
false
792
py
"""Project URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.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') Class-based...
[ "cutlerwater2@live.com" ]
cutlerwater2@live.com
11a9a10ba5f3266f862981818c7a0334b636af87
294dd0d3534d95479348d0fc7c03f1dd0f4c1e42
/RemitaBillingService/EncryptionConfig.py
8fd57202a8bcc2dabed8e0b5ed1ce406915628e0
[]
no_license
RemitaNet/billing-gateway-sdk-python
7827c9a16fd81ce48ca0206c350aba762c2a5cfe
d051f24cdce99b5f3c4acf96d19fcbd5d3da2aa8
refs/heads/master
2023-02-22T23:23:53.064169
2023-02-20T20:30:28
2023-02-20T20:30:28
207,595,239
4
1
null
2023-09-12T13:49:35
2019-09-10T15:25:56
Python
UTF-8
Python
false
false
1,320
py
import hashlib from Responses.BaseResponse import BaseResponse class EncryptionConfig(object): empty_credential_msg: str empty_credential_code: str def sha512(input): hashed_input = hashlib.sha512(input.encode('utf-8')) hex_dig = hashed_input.hexdigest() return hex_dig def c...
[ "ilesanmi@Systemspecs.com.ng" ]
ilesanmi@Systemspecs.com.ng
cdccf29b8a2c7760740db2afacb752d2876105f2
f8bc86843e8904404940fb37d1b153e8aa28e180
/crop_microstructure.py
0eef73b0e1399d28ec813e90d7913b8e16356ebd
[]
no_license
pkarira/Cascade
621ad8ee20825ca1cd77bbebd7e9be1917e49ab0
d32d77f78131e158092225d9df16ef6ef161137d
refs/heads/master
2020-04-26T09:31:53.286493
2019-04-09T11:36:14
2019-04-09T11:36:14
173,458,734
0
0
null
null
null
null
UTF-8
Python
false
false
2,058
py
import glob import numpy as np from skimage.io import imread, imsave import os def quad_crop(image, w=224): """ crop out four panels from the center of the image """ labels = np.array([['UL', 'UR'], ['LL', 'LR']]) center = (np.array(image.shape) / 2).astype(int) x, y = center crops = [] for i...
[ "pulkit5208@gmail.com" ]
pulkit5208@gmail.com
94d174ed0e5896823a43d4869acc725f51bd70f3
e306eb3fc110dee0e3f5e68eb375c55704b3642f
/personel_portfolio/urls.py
3a0c2409023554b1730c7ac42d3244152c9166dd
[]
no_license
Yeet2006/personel-potfolio
446cc22f7a678b64aa6a01267878d9ebff5c41e3
9ecbfc58504654cb043aedffddc44e3b13cd6db9
refs/heads/main
2023-01-28T11:42:27.880185
2020-12-14T13:48:38
2020-12-14T13:48:38
321,355,428
0
0
null
null
null
null
UTF-8
Python
false
false
1,035
py
"""personel_portfolio 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') ...
[ "yeetkamakazi@gmail.com" ]
yeetkamakazi@gmail.com
37142c60c2f8e5880e54185a549c7cc27bbc1105
34fe072f9dc15728f3d8be00a1654499bfbc9c5b
/check_json
ebc96db0236ce43d641bb148fb12e75b9d664e78
[]
no_license
mmaschenk/docker-nagios-full
13b5c28cb5a44d8b69c9f86516549251d5626121
5f8d8ea54132ebd2cd49ec6ff1255f924694d820
refs/heads/master
2023-01-05T11:19:46.511130
2020-11-06T14:15:39
2020-11-06T14:15:39
309,425,110
0
0
null
2020-11-06T14:15:41
2020-11-02T16:13:42
Shell
UTF-8
Python
false
false
2,265
#! /usr/bin/env python """ Nagios plugin to check a value returned from a uri in json format. Copyright (c) 2009 Peter Kropf. All rights reserved. Example: Compare the "hostname" field in the json structure returned from http://store.example.com/hostname.py against a known value. ./check_json hostname buenosai...
[ "m.m.a.schenk@tudelft.nl" ]
m.m.a.schenk@tudelft.nl
4b90e720e1c60a9af54132d8db1f4f2a10f0e5d0
5aa3fd7dbad807c12fdecf9504e9a1580ab24768
/ctopy.py
e465eb04bba5b9be97183b7fb950969455d7eee9
[ "BSD-3-Clause" ]
permissive
sunnybesunny/CtoPy_Gillespie_Brute
3ca2030943c7a1bd58af3a45f67bb9dba8e44e6a
8d2e59d5893502cf09d8d963d97928ea56c996c0
refs/heads/master
2021-01-10T03:12:39.127213
2018-05-13T00:26:39
2018-05-13T00:26:39
55,079,548
0
0
null
null
null
null
UTF-8
Python
false
false
62,780
py
#!/usr/bin/env python """ ctopy -- a quick and dirty C-to-Python translator. Libraries not mapped that theoretically could be: curses.panel, dbm, md5, popen2, pty, resource, sha, subprocess, syslog, time. Some of these would need more elaborate machinery for method translation. Python library bindings are as of 2.6a...
[ "mskang@mit.edu" ]
mskang@mit.edu
6eeb30afedb9faf5956630200d67199cef30815d
2a4a17a67b9069c19396c0f8eabc8b7c4b6ff703
/BGP3D/Chapter11/WorldClass_00.py
2cd366287c64b1790280d87dd425c04951cc0271
[]
no_license
kaz101/panda-book
0fa273cc2df5849507ecc949b4dde626241ffa5e
859a759c769d9c2db0d11140b0d04506611c2b7b
refs/heads/master
2022-12-19T09:36:05.794731
2020-09-16T19:04:10
2020-09-16T19:04:10
295,784,057
0
0
null
null
null
null
UTF-8
Python
false
false
2,569
py
''' World Class This class is the launching point for the game. This is the file that needs to run to start the game, and this class creates all the pieces of the game. ''' import direct.directbase.DirectStart from direct.filter.CommonFilters import CommonFilters from HUDClass_00 import HUD from RaceClass_0...
[ "kaz101130@gmail.com" ]
kaz101130@gmail.com
7c121797cad965fbc6295c3de5455d4268684abb
09f630e6550c067238677879c01724a511d73470
/awsutils/sqs/queue.py
c5f3696586e2945fed2ed25420cafced6d5eb451
[ "MIT" ]
permissive
morgothdz/awsutils
638803c01a986b688cfb1fbc2bc7112e26dfc896
3bff36b8c8fb400f6066b4c749ca502e7a04acf7
refs/heads/master
2021-01-17T05:51:51.197683
2013-02-20T20:54:05
2013-02-20T20:54:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,229
py
# awsutils/sqs/queue.py # Copyright 2013 Sandor Attila Gerendi (Sanyi) # # This module is part of awsutils and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php import time, logging from awsutils.exceptions.aws import UserInputException from awsutils.sqs.message import SQSMessage ...
[ "sanyi@fake.com" ]
sanyi@fake.com
1faa06888f69e06de3d838ad15e8f59de008c405
a2f72e29393a2613bf4c869d6618d256d202e57e
/Tpu/GanV2/Tpu_GanV2.py
6bcc03a5bacb7cf47ebbbb82ac85c9de8f4716cc
[]
no_license
eladshabi/Acgan
937b7c01bd5c1b64d4228b831cf82d7ed7b8ecd7
c8073d275db253b306e097d16442d7a7b0f95a67
refs/heads/master
2020-04-17T22:55:14.480906
2019-02-24T13:00:51
2019-02-24T13:00:51
167,007,224
0
0
null
null
null
null
UTF-8
Python
false
false
3,889
py
import numpy as np import time from tensorflow.contrib.mixed_precision import FixedLossScaleManager, LossScaleOptimizer from tensorflow.examples.tutorials.mnist import input_data from Tpu.GanV2.Generator import Generator from Tpu.GanV2.Discriminator import Discriminator from Tpu.GanV2.losses import * from Tpu.GanV2.dt...
[ "elad.eladsh@gmail.com" ]
elad.eladsh@gmail.com
94a6049bd0b29f745ad759a26578f79218888ef5
b25f9a671d57616d359ed1885fc7c96009af0984
/uuv_control/uuv_trajectory_control/src/uuv_control_interfaces/dp_pid_controller_base.py
af563bdb5a244caf02552b74f7d33d880de65750
[ "Apache-2.0", "LicenseRef-scancode-proprietary-license", "BSD-3-Clause", "BSD-2-Clause" ]
permissive
AbdelazizAssem/VAUV-simulator
8bb55c6e59307efdf2d27dd8dead348cb354e486
1ef4078de239a05fbdb050cc64e735897a31b3b7
refs/heads/main
2023-04-03T23:45:36.803280
2021-04-11T19:02:27
2021-04-11T19:02:27
356,694,933
0
0
Apache-2.0
2021-04-10T21:07:56
2021-04-10T21:07:56
null
UTF-8
Python
false
false
5,539
py
# Copyright (c) 2020 The Plankton Authors. # All rights reserved. # # This source code is derived from UUV Simulator # (https://github.com/uuvsimulator/uuv_simulator) # Copyright (c) 2016-2019 The UUV Simulator Authors # licensed under the Apache license, Version 2.0 # cf. 3rd-party-licenses.txt file in the root direct...
[ "engibrahimhabib@gmail.com" ]
engibrahimhabib@gmail.com
6e954ce6187d1273920eca965ab0db30375857bf
60f88b58500abed3e01b67dd519506b6e0e6e491
/PasswordKeeper/PasswordKeeper/PasswordKeeper/wsgi.py
d6dbb1e0e6e4378a0fab8d42ab8ac4e44886db9a
[]
no_license
gouravgarg48/PasswordKeeper
61008339982192a766c50597cdb28f88c41f5d4d
439770004100ca32e9cb494fb177d5c642906565
refs/heads/master
2022-12-09T08:15:38.592805
2020-08-25T13:21:28
2020-08-25T13:21:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
""" WSGI config for PasswordKeeper 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.setdefault('DJANG...
[ "gauravgarg4000@gmail.com" ]
gauravgarg4000@gmail.com
bb4e4bd748283b521eb43cbfc3512f14cc5a6fd9
8d39bfe6bbe1f30077b69d92745eac067d4619c4
/parserInvoke-Mimikatz.py
f42deb1e197310e3173d734c97d8181d347b75b9
[]
no_license
Ne0nd0g/scripts
f987f416070dfd60425ce83598cc02ece191bc81
5b8f989c88860bbe663a81c489c3baff82b81ee9
refs/heads/master
2021-01-17T12:21:56.836062
2018-12-07T16:41:01
2018-12-07T16:41:01
30,088,779
20
11
null
null
null
null
UTF-8
Python
false
false
5,337
py
#!/usr/bin/python #!/usr/bin/env python """Parse files generated by piped output from Invoke-Mimikatz.ps1""" import logging import argparse import sys import os import readline ################################################# # Variables # ########################################...
[ "rcvt@sses.net" ]
rcvt@sses.net
cf2b8cbadeba4fa6168e63817f67c1570428e5b9
0ab04927cda34b384044d5d827a0043a5db0105d
/projects/data science/college_admission_poly.py
0c7b806c3e7c229db7fb0ac731bdd607299acce1
[]
no_license
anishd513/projects
49b6a03b5d60db71dde0bdb3a9c99d37e3afa752
6c85b7c7e2b9ed6b71e8244204ec355bb26edbd9
refs/heads/main
2023-06-08T23:14:32.861369
2021-06-29T15:20:28
2021-06-29T15:20:28
305,082,217
0
0
null
null
null
null
UTF-8
Python
false
false
803
py
# -*- coding: utf-8 -*- """ Created on Fri Oct 16 20:34:45 2020 @author: Admin """ import matplotlib.pyplot as plt import numpy as np import pandas as pd dataset=pd.read_csv("Admission_Predict.csv") x=dataset.iloc[:,1:-1].values y=dataset.iloc[:,-1:].values from sklearn.model_selection import train_test_sp...
[ "noreply@github.com" ]
anishd513.noreply@github.com
cfa3e6dd807a8829414f580e7847edd533b53527
dfee236b3f4bf66e52d50b0226b7773a745d8d34
/structure/validator.py
21f68f8c5d9deec430c12ffe98c0d815eb8bb1ca
[ "MIT" ]
permissive
ayush5harma/ECS-Hiring-Challenge
43409aadf69d58addd9ffd8818b30adaff4eb20f
ccab72645026c311aee74ac68c69503d187740ff
refs/heads/main
2023-08-06T06:23:36.939623
2021-09-23T20:12:43
2021-09-23T20:12:43
352,643,716
0
0
null
2021-09-23T20:12:43
2021-03-29T12:57:40
PowerShell
UTF-8
Python
false
false
914
py
from marshmallow import Schema, fields from marshmallow.validate import Length class DataModel(Schema): """ /api/note - POST Parameters: - title (str) - note (str) - user_id (int) - time_created (time) """ title = fields.Str(required=True, error_messages={ "r...
[ "47772616+ayush5harma@users.noreply.github.com" ]
47772616+ayush5harma@users.noreply.github.com
d83ff9d35756aa203096778316d1f1840a266b4c
d9f6f439300d298246c37ccfb881e8e8af4fda22
/cfp/migrations/0021_profile_name.py
814cb2ed2021c677ece96c65e1671b44cb2a0824
[ "MIT" ]
permissive
ajlozier/speakers
e62b8d346a58a034998860d1b42a38b00cbdbd23
d7d87c99b1cfa5f9df5455f737385115d9d5279c
refs/heads/master
2021-09-08T19:33:08.894305
2018-03-12T00:54:10
2018-03-12T00:54:10
122,101,157
0
0
null
2018-02-19T18:08:18
2018-02-19T18:08:18
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 = [ ('cfp', '0020_auto_20150218_0802'), ] operations = [ migrations.AddField( model_name='profile', name='...
[ "kyle@kyleconroy.com" ]
kyle@kyleconroy.com
36e77a80aeb9667fa8fbfe256dc23efc4a5d068a
4637dcdfbfa4eeaefaa9c2ffc5e537ab21171fff
/main.py
9a4f557401b411bd11c83084e9fda8003013177f
[ "MIT" ]
permissive
gabriel-farache/homautomation
98321a2c6ddc8ead60a6cc89a7917619a5743fdb
c2bd6a18deb2699242d543bc0eeaf386c2b6296a
refs/heads/master
2020-04-06T07:57:21.459828
2018-02-25T17:02:30
2018-02-25T17:02:30
64,056,793
0
0
null
null
null
null
UTF-8
Python
false
false
605
py
# main.py -- put your code here! import pycom import time import sendData from machine import RTC pycom.heartbeat(False) try: sendData.connectLocalBox('/flash/config.json') rtc = RTC() rtc.ntp_sync('fr.pool.ntp.org') pycom.rgbled(0x00FF00) time.sleep(0.2) pycom.rgbled(0) tim...
[ "gabi.matamu@gmail.com" ]
gabi.matamu@gmail.com
07956246e6818d61ad5c4214d016aa49af201c8e
58185d7c1684d4ed78fdf7702578d88f9fe97c0c
/nires/dez.py
70a5ddfb5ab71797593fc7f25630f46725639734
[]
no_license
jmel/NIRES
51a6086e590833fd3d4bf8bb22db9a712891027b
fbd62ac18412595924c537e54e160a8721fd509e
refs/heads/master
2021-01-21T04:35:14.098096
2016-07-08T17:20:12
2016-07-08T17:20:12
11,027,957
0
0
null
2016-07-08T17:20:13
2013-06-28T14:12:46
Python
UTF-8
Python
false
false
2,340
py
#!/usr/bin/env python # Take difference between two fits files import sys import numpy import readcol as rc import pyfits as pf import string import ds9 import globals z = sys.argv[1] unit = open(globals.calibrationpath + 'z_emission.reg','w') wsol = pf.open(globals.calibrationpath + 'tspec_wavesol.fits')[0].data s...
[ "jason.melbourne@gmail.com" ]
jason.melbourne@gmail.com
93770b04b06cc4bee60b772d822f418ad8a272c9
faca8866b3c8aca30a915d8cb2748766557ed808
/object_detection_updata/metrics/tf_example_parser.py
510e6917fa9838e9282ec6f561e50cb77a7b5ff9
[]
no_license
yongqis/proposal_joint_retireval
6899d80f8fb94569c7b60764f6e7de74bcfa9cc8
97b086c62473ab1a5baf45743535fce70c3f8c20
refs/heads/master
2020-05-25T19:07:22.946008
2019-06-03T07:09:04
2019-06-03T07:09:09
187,943,867
0
0
null
null
null
null
UTF-8
Python
false
false
6,294
py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "syq132@live.com" ]
syq132@live.com
e5d51b840f9d3e61bbf612efe4cb4e6c26e84ce6
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_actor.py
04e32c50a329bba627e107500de9e8bd1c6b493f
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
386
py
#calss header class _ACTOR(): def __init__(self,): self.name = "ACTOR" self.definitions = [u'someone who pretends to be someone else while performing in a film, play, or television or radio programme: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'noun...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
6541bd8abead9b63b701593616ed08cc40c2325a
2ef60bfe78bdc963da9512b98c763ef65b5f033a
/converter.py
96d5bd5da44610044d91ddb85087b22844497c91
[]
no_license
moritzschaefer/back-to-earth
5c264d16535b1acf0f4a288e5fc749c5096ed248
6f641c74c5452197507fbaf170ebcc6625e90805
refs/heads/master
2021-01-22T10:07:43.289137
2014-10-25T19:03:44
2014-10-25T19:03:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
881
py
# -*- coding: utf-8 -*- # <nbformat>3.0</nbformat> # <codecell> # <codecell> # <codecell> import sys prefix = 'public int[,] level = new int[,]{' suffix = '};' f = open ("spaceship.txt" , "r") tr={'.':'0' , '-':'1' , '#':'2' , 'A':'3' , 'G':'4'} # <codecell> # <codecell> # <codecell> def translate (line...
[ "senexger@gmail.com" ]
senexger@gmail.com
be907c727984cfab702dce79e342cc787711db91
f121b8c1ace10068da592fe76607f4f2af62728d
/genspirasi/wsgi.py
1090cd1a995f0c117b5fb60efd5204df423c0010
[]
no_license
bajjol/websitetest
f8e289a78d7cc2747841678c8a675e83ae8cf6b7
a6a82001fe687c94bf7a7215566689f610cb77be
refs/heads/master
2020-04-30T06:48:03.641942
2019-03-30T09:31:38
2019-03-30T09:31:38
176,663,368
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
""" WSGI config for genspirasi project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefau...
[ "noreply@github.com" ]
bajjol.noreply@github.com
bef9c9db13ccd2fe5d3bc2eaad4f4e2d1b933af0
8dfa84f10fbcb9e16ff266675bc6c8c5aad48085
/uebung3/djangoProject/vorlesung3/wsgi.py
05b181c233da97525a3524277f0c192c5e1ddf69
[]
no_license
mharidy/python-WS2021
3ce5ea3891fe745498fb003995e74fd15b0b42b2
0c0316fd51d2236b2fe5429c21983f13c0632f7d
refs/heads/master
2023-02-27T04:46:29.625128
2021-02-07T08:48:54
2021-02-07T08:48:54
304,264,579
0
0
null
2021-01-25T03:58:56
2020-10-15T08:47:49
Python
UTF-8
Python
false
false
397
py
""" WSGI config for vorlesung3 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.setdefault('DJANGO_SE...
[ "mohamed.haridy@avy.health" ]
mohamed.haridy@avy.health
7d9b13742e9ffbb7203c8dcddb9174cf144b5264
617b88b30b82d422f67f0b474a42586c3bc57279
/solution.py
0780b674351b62d58d7639099258852296def536
[]
no_license
gilbertduenas/hackerrank---itertools.product-
51835068112279b9b36f4584235c0dc724c16111
24ba35d36a1a67bdcb481540d209a97cdf25e304
refs/heads/master
2022-11-26T03:00:28.119239
2020-08-02T22:46:31
2020-08-02T22:46:31
284,551,933
0
0
null
null
null
null
UTF-8
Python
false
false
143
py
# learn to splat from itertools import product x = list(map(int, input().split())) y = list(map(int, input().split())) print(*product(x, y))
[ "noreply@github.com" ]
gilbertduenas.noreply@github.com
feeedca4690352677357ee4f6a4fd44bdc23359e
39a1da7d6e302bc22d6dc9053d32c0a8b587b178
/engine/metrics/tests.py
bf490fecaa927cc4eb0b0780d9bc7ef432c65913
[]
no_license
jinchuuriki91/whats-the-mosam
f1e3ed8c4e1f2a81e0a776680f3d51060fdbcb64
9af79bb2888af227e94877d87f152cb404eae0bf
refs/heads/master
2020-04-08T00:11:04.115839
2018-11-30T11:39:51
2018-11-30T11:39:51
158,840,857
1
0
null
null
null
null
UTF-8
Python
false
false
1,418
py
# Python imports import requests # Django imports from django.test import TestCase # Engine imports from metrics.constants import REGION_INT class APITestCase(TestCase): url = "http://localhost:8000/api/v1/metric/" metric_type = "Rainfall" location = "England" def test_post(self): try: ...
[ "gandhar.pednekar15@gmail.com" ]
gandhar.pednekar15@gmail.com
8f7d8ba80dc18fa7a18f4b34c9b016bd9aee0260
49f73eaf29d3e9427216b44ed519cb8b0b9c6ef4
/products/models.py
32473adb2498dbc4f85c0b5f48f06db99a3341bf
[]
no_license
zauribrahimkhalilov-zz/python-django-shoppinlistapp
dc5797d4d49f07d226b90129322442af6e5ca8b4
ffd1f1cf84e2ab2f57dbd675271fa96a9e278f5c
refs/heads/master
2021-09-20T18:16:55.112863
2018-08-13T17:18:56
2018-08-13T17:18:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
450
py
from django.db import models from datetime import datetime from django.urls import reverse class Products(models.Model): name = models.CharField(max_length=200) created_at = models.DateTimeField(default=datetime.now, blank=True) def __str__(self): return self.name class Meta: verbose_n...
[ "zibrahimov95@gmail.com" ]
zibrahimov95@gmail.com
1a89d48503fba5a5f596dc365fc645417e63c887
77311ad9622a7d8b88707d7cee3f44de7c8860cb
/res/scripts/client/gui/scaleform/battle.py
cb3cb78844254b812459a7a4b3f4ed98dac52a20
[]
no_license
webiumsk/WOT-0.9.14-CT
9b193191505a4560df4e872e022eebf59308057e
cfe0b03e511d02c36ce185f308eb48f13ecc05ca
refs/heads/master
2021-01-10T02:14:10.830715
2016-02-14T11:59:59
2016-02-14T11:59:59
51,606,676
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
39,654
py
# 2016.02.14 12:38:27 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/Scaleform/Battle.py import weakref import BigWorld import GUI import Math import SoundGroups import VOIP import constants import BattleReplay import CommandMapping from ConnectionManager import connectionManager from account_helpe...
[ "info@webium.sk" ]
info@webium.sk
087c70a2155e879d896447289bfc2e295a84c7fb
585f3bd3b846512b058ae1e48a29afc8ab11eae3
/Week2P3/Week2P3(with wabble).py
f0b25e4e4aab74e8d9841ce8ddda0168ac5f4054
[]
no_license
johntraben/ENG209-CR
05bb1584ecbbb0eb8db0359967a60dd1fd9832f8
d927d264fbe24b86c6a5e11d0affdba412530e4d
refs/heads/main
2022-12-31T23:53:18.695963
2020-10-29T19:33:42
2020-10-29T19:33:42
306,501,410
0
0
null
null
null
null
UTF-8
Python
false
false
4,184
py
# -*- coding: utf-8 -*- """ Created on Tue Oct 20 17:42:44 2020 MDP problem @author: fishy """ class MDP(object): def __init__(self,Xmax,Vmax,Pw): self.Xmax = Xmax self.Vmax = Vmax self.Pw = Pw def startState(self): return [self.X0,self.V0] de...
[ "noreply@github.com" ]
johntraben.noreply@github.com
19c02720487d050d98b087fa4a3eff70b39034f9
9c2d4ca98df937fcaa8879e44ef1f3e5fe93876b
/SciGen/__init__.py
3de4372d820f1f2d98f6b622bbdcc3d25459c300
[ "MIT" ]
permissive
SamuelSchmidgall/Machine-Learning-from-Scratch
500b80b1cd4944df2b75c9feb15e220064ae2a1b
d030b71ab87a034f9d59c5a53f501e96411dc0b2
refs/heads/master
2021-06-22T15:50:13.457129
2021-01-02T23:19:36
2021-01-02T23:19:36
132,190,537
0
0
null
null
null
null
UTF-8
Python
false
false
137
py
#!/usr/bin/env python __name__ = "SciGen" __author__ = "Samuel Schmidgall" __license__ = "MIT" __email__ = "sschmidg@masonlive.gmu.edu"
[ "AbstractMobius@gmail.com" ]
AbstractMobius@gmail.com
e599a060cadc68ae4d18deb51d3ae77921ac74f9
11c2e2360666ea02196ff0973ba3340f8f327a17
/clearlog.py
7678e00655e1b659083799ca790fca92a7fc3670
[]
no_license
KingDarkness/clear-old-file
456a3eeab0e56142320f0ba0fda9cf1d85960cf6
50a55684cdd56b39c9e4ce4c2bf61b2447b981a1
refs/heads/master
2020-06-03T20:37:13.225193
2019-06-13T09:34:54
2019-06-13T09:34:54
191,722,284
0
0
null
null
null
null
UTF-8
Python
false
false
1,166
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import time from datetime import datetime import argparse def clear_directory_older_than(directory, days): print "Xoá dữ liệu tạo trước %s ngày thư mục %s " % (days, directory) now = time.time() cutoff = now - (days * 86400) files = os.listdir(di...
[ "noreply@github.com" ]
KingDarkness.noreply@github.com
07573412e81359a8769586309efc67f4597edaa7
be4fc3aac9d41e52e799cc366376e611fe726f90
/reading_comprehension/model/base_model.py
a99aeb0dc25f2c9e397569854c5077ed1086596b
[ "Apache-2.0" ]
permissive
Hope247code/reading_comprehension_tf
235fac5eee98183e021d8c315b8193f4a1a33ba3
6cd4ac78c6c93900458ac75c774766b56125891d
refs/heads/master
2023-06-28T14:50:26.802641
2019-07-14T06:30:30
2019-07-14T06:30:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,095
py
import collections import os.path import numpy as np import tensorflow as tf from util.default_util import * from util.reading_comprehension_util import * from util.layer_util import * __all__ = ["TrainResult", "InferResult", "BaseModel"] class TrainResult(collections.namedtuple("TrainResult", ("loss", "learnin...
[ "mizheng@microsoft.com" ]
mizheng@microsoft.com
9bbf035b5e759603277ab311b08da9172cf22559
cd40fd66338bab16c3cac360ec68d0410daf85dc
/asyncio_study/event_loop/utils.py
039087d9261d78679ca8a895731fe964988d7754
[]
no_license
suhjohn/Asyncio-Study
c74a95c37d6ce1d0983b5626a4f68d2b80d7ec79
d9c5a092924a32f18849787fd30cb322a0ff8b15
refs/heads/master
2021-05-12T12:28:15.749447
2018-01-14T17:25:22
2018-01-14T17:25:22
117,414,697
1
0
null
null
null
null
UTF-8
Python
false
false
585
py
from functools import wraps from time import time def log_execution_time(func): """ Decorator function that prints how long it took to execute the function :param func: :return: """ @wraps(func) def wrapper(*args, **kwargs): start = time() return_value = func(*args, **kwarg...
[ "johnsuh94@gmail.com" ]
johnsuh94@gmail.com
f881b852d96988139088e6ec681f7e3666dff200
76277abda6d4f5dea18209a2e362a2725c154055
/bentoml/exceptions.py
850b95e0289fd86b61c509070e1d143e98090b1b
[ "Apache-2.0" ]
permissive
joychen0103/BentoML
eb77e30d434e05b69e8cb44a6be93b38de537044
e7d05d5f32adb3cbb90bd165ed2f45871052c192
refs/heads/master
2020-08-05T06:12:54.126786
2019-10-02T19:23:14
2019-10-02T19:23:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,115
py
# Copyright 2019 Atalaya Tech, Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, ...
[ "noreply@github.com" ]
joychen0103.noreply@github.com
230f3f86dd3cbe8b70cccfa1db296bdc5283e8a1
dcfdc9822308c21824b27c051f221a971864e637
/desafio2 aula4.py
7f2a0e50aa677da8a05c309c580a503e9ab5c6d2
[]
no_license
renato29/python3-mundo-1
04d5f23bcf8e0f5558cd6db129896ce09e14cc6f
a7d92d5b620d56efbcaeced8e00ff4a5fb80ae23
refs/heads/master
2020-04-23T05:10:21.013030
2019-02-15T21:54:29
2019-02-15T21:54:29
170,931,417
0
0
null
null
null
null
UTF-8
Python
false
false
229
py
dia=input(print("digite seu dia de nascimento")) mes=input(print("digite o mes de nascimento")) ano=input(print("digite o ano que vc nasceu")) print('Você nasceu no dia', dia, 'de', mes, 'de', ano, '. Correto?') wait
[ "noreply@github.com" ]
renato29.noreply@github.com
752c2a30035856ddab6654f7db9b32d5874bd910
d90200c658360b455092f9124211b5da8f2caf0d
/6.py
0fb73f44320ff20d6eb8eaa84ae553f34bb72b1f
[]
no_license
Shreemay/FP
797abdaeea286718ea9caddc2d1040827a15533d
783542cdb2aa9a59d997c8e038278f0ab2a14bea
refs/heads/master
2016-09-09T21:22:40.457124
2014-12-10T09:58:49
2014-12-10T09:58:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
134
py
def low(li): li = map(fun,li) print li def fun(x): return x.lower() lst = ['Hello World','abc','NaMo','INDIA','python'] low(lst)
[ "shreemay1993@gmail.com" ]
shreemay1993@gmail.com
8f95dcb9c22025b63932cb30e24ae18203a9dc38
ce48d74eb28ec153573cd42fe58d39adc784c85c
/jdcloud_sdk/services/xdata/models/DwDatabaseInfo.py
bedf36eee3a80637f1aaf4c87b6493744b5f6c2c
[ "Apache-2.0" ]
permissive
oulinbao/jdcloud-sdk-python
4c886cb5b851707d98232ca9d76a85d54c8ff8a8
660e48ec3bc8125da1dbd576f7868ea61ea21c1d
refs/heads/master
2020-03-16T22:22:15.922184
2018-05-11T10:45:34
2018-05-11T10:45:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,049
py
# coding=utf8 # Copyright 2018-2025 JDCLOUD.COM # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http:#www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agr...
[ "oulinbao@jd.com" ]
oulinbao@jd.com
8db3d4c9d758b5bd397cc8c7c6ed56d2302b981f
d415f387170b564eccc0c01b386c4eff4b709066
/CalculadoraSimples.py
efb956605969cea22f4c993dd562202bc678f1a9
[]
no_license
alessandradiamantino/Estudo
ae53130909d9339bac08948b6bfea9637942e9c0
b3fff6aeeae0e7dbb824593f655d2d87f79c1bfb
refs/heads/master
2022-12-19T15:00:21.259636
2020-09-14T21:54:24
2020-09-14T21:54:24
295,545,117
1
0
null
null
null
null
UTF-8
Python
false
false
484
py
print("1 - soma\n") print("2 - subtração\n") print("3 - multiplicação\n") print("4 - divisão\n\n") c = int(input(" ")) import os os.system('clear') or None a = int(input("Digite o primeiro numero\n")) b = int(input("Digite o segundo numero\n\n")) if c == 1: print(a + b) elif c == 2: print(a ...
[ "noreply@github.com" ]
alessandradiamantino.noreply@github.com