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
cae9139db1ca0689eaa4d3dae13d5b36cfb09e3f
b1e184c28868ab2b6de1174dbafa031ae33b7c16
/src/analyze_depth2.py
5b5fcd87aa7b54e78737c892a97cbd42e57e5411
[]
no_license
baucheng/Python_3D
b4a228b068e42ac38b742f4e2d3973c0335120c7
724694506e2871f735a06ccd9fd8bebe66928b54
refs/heads/master
2020-03-31T03:11:06.112843
2015-07-28T21:54:07
2015-07-28T21:54:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,015
py
#!/usr/bin/python ''' Created on 23 September 2014 @author: Carlos Torres <carlitos408@gmail.com> ''' import cv2 import numpy as np import imtools as imt import pylab as pl # Mouse call back variables xg,yg = 0,0 printing = False ix,iy = 0,0 ox,oy = 0,0 radius = 2 filled = -1 color = (0,0,0) red = (0,0,255) blu...
[ "carlitos408@gmail.com" ]
carlitos408@gmail.com
b6c835a8836048217e3546563ffbd66a249b51dc
0bae683dcb48475ade03a7a9aa580302f264f787
/dbserver.py
cd58d2f5552543a2042fff59aa5fba9c964ad4f9
[]
no_license
fakewen/Monitoring-API
64485e690a8f9c7b395882173493d1ea00b09878
164ac292c3f393efb53d6736fa934a730866fafe
refs/heads/master
2021-01-10T12:07:42.789518
2015-07-03T05:11:39
2015-07-03T05:11:39
36,497,065
0
1
null
null
null
null
UTF-8
Python
false
false
25,097
py
#!/usr/bin/python # vim: ts=2 sw=2 expandtab # author: Penn Su from bson.objectid import ObjectId import dateutil.parser from gevent import monkey; monkey.patch_all() import gevent import serial import platform import os, sys, zipfile, re, time import tornado.ioloop, tornado.web import tornado.template as template im...
[ "fakewen@gmail.com" ]
fakewen@gmail.com
982a8a7dc97d0fbb2269c3c7376b81323a9b9500
9fb7a51b32282541435111de70ef905a77463852
/binary_tree/226_invert_binary_tree.py
33241b28f60f9ce8e39f9f940ffc246fb3151f52
[]
no_license
dlin94/leetcode
874b9213e72e7baa8b75c8de8bc24afb253f3fbd
8e0ce1c4321125dc67813c2543dd7e21eefe38b1
refs/heads/master
2021-01-18T22:23:58.744203
2017-04-05T19:59:08
2017-04-05T19:59:08
87,051,753
0
0
null
null
null
null
UTF-8
Python
false
false
459
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): def invertTree(self, root): """ :type root: TreeNode :rtype: TreeNode """ if not ...
[ "devin.c.lin.94@gmail.com" ]
devin.c.lin.94@gmail.com
d5838355bd336e1ff2c38c40962ffd4025e1ecc9
0508039d7c54f07b224c9af595b496f473412f62
/mnist/regression.py
0278aa56fadeff31bad62d9f5b81857256c99610
[ "WTFPL" ]
permissive
56022217/what-digit-you-write
28b7050746527d679be728b10e9e0e73246ac603
98fbcc4851027b476d2bfdfb6bfd1c20ef2b1214
refs/heads/master
2020-09-13T17:45:40.528298
2020-03-30T00:15:16
2020-03-30T00:15:16
222,859,529
0
0
WTFPL
2019-11-20T05:39:04
2019-11-20T05:39:03
null
UTF-8
Python
false
false
1,530
py
import os import tensorflow as tf from mnist.input import mnist # On my machine, I have to use the CPU # because occured some problem when i using the GPU, # so you can comment the code below for better speed os.environ["CUDA_VISIBLE_DEVICES"] = "-1" n_iterations = 2000 batch_size = 50 x = tf.placeholder(tf.float32,...
[ "innofang@outlook.com" ]
innofang@outlook.com
4deea5536b6487cd66e33ced192d31669d91404a
808957eb8e126cbf0cb9372d2ce55bb92d044cc8
/Bmi.py
c4dabfb5e80e98cacc54398b72edafce055f264c
[]
no_license
CruzHenry56/lab-07-conditionals
5d676ba744a263f97a807a6268436918c76327a9
3e8b4bdb65dc45ed2b464f013b2b26b0dcc8360f
refs/heads/main
2022-12-31T10:52:00.956325
2020-10-17T21:20:14
2020-10-17T21:20:14
304,932,557
0
0
null
null
null
null
UTF-8
Python
false
false
261
py
import sys print ("BMI CAL VOL 1") weight = input("What is your weight (in pounds) ? ") height = input("What is your height (in inches) ? ") bmi = (703 * float(weight)) / float(height) * float(height) print("Your Body mass index (BMI) is " + str(bmi) +"%")
[ "henry.cruz@mail.citytech.cuny.edu" ]
henry.cruz@mail.citytech.cuny.edu
6cf61208da80950dc941c6c6ae7e29fed7225f63
9ecd69bf6b37a9407d21208118fcd0bb97e2f0fa
/team/adminx.py
04a49457dac27e07c4eea8ba36a0b8035aa3b329
[]
no_license
dengyh/allinonerhythm
ff9fd53125af5dcc32c08c7cd219d9d6e45bacf9
d5576031f4c49480e90fd7c10d59f97d682aa287
refs/heads/master
2021-01-17T14:06:29.242300
2015-03-26T11:49:42
2015-03-26T11:49:42
32,923,460
1
0
null
null
null
null
UTF-8
Python
false
false
427
py
# -*- coding: utf-8 -*- import xadmin from xadmin import views from xadmin.layout import Main, TabHolder, Tab, Fieldset, Row, Col, AppendedText, Side from xadmin.plugins.inline import Inline from xadmin.plugins.batch import BatchChangeAction from team.models import Team class TeamAdmin(object): list_disp...
[ "dengyh071@gmail.com" ]
dengyh071@gmail.com
7dce52a0b41588a77de39ad6aad819908a21325d
863081639cf34d31a33e8153420d8f9e4cfdb33e
/scraper/migrations/0003_auto_20161109_2207.py
25decadf7f3b7210d3ab792b52fbba851764835c
[ "MIT" ]
permissive
harisnaeemofficial/fmovies
e674fb284c33377508d879d3a307119cece6a6f2
26b9a033db8b6eea7de281b96679b47dc15e303f
refs/heads/master
2021-06-09T17:32:23.778873
2016-11-24T23:28:47
2016-11-24T23:28:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.2 on 2016-11-09 22:07 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('scraper', '0002_auto_20161109_2147'), ] operations = [ migrations.RenameModel( ...
[ "piero.marini21@gmail.com" ]
piero.marini21@gmail.com
88f66087cb820da5d381f2cdfbed9213017516b0
adaab21f5ab729d63f1891f80e7d71f563768681
/game_files/test_files/read_config.py
e9d9fd305234a6db5647aefc172e4d3ebb1a1caa
[]
no_license
lwesterl/Level-Jump-Game
d62f5e012627da505b91a5c6418380dec93f4cf5
fd1f328bd47f8853ae63218e2e1fa814d30994f2
refs/heads/master
2020-03-13T20:21:46.079160
2019-01-03T17:34:46
2019-01-03T17:34:46
131,272,435
0
0
null
null
null
null
UTF-8
Python
false
false
6,752
py
import os class Config(): # class variables, these are read from config file # other classes use these (below are the standard values) # this means that in main Config object needs to be created first and read_config level_number = 0 distance_x = 50 distance_right_limit = 50 empty_line_hei...
[ "lauri.v.westerholm@gmail.com" ]
lauri.v.westerholm@gmail.com
4d64492a86f54c69660bd5606d4d2e5ac992adbb
efc4addcdea98dd7fa97393bce39d70c0f4238c6
/ds/replay.py
4a932edbf2c596d374be9b0920ab4f62271b5c78
[]
no_license
1abner1/Advanced-Soft-Actor-Critic
9aa965867b7a3f1f7b9d95bd7a338fdf7a26ff2f
bf8117f38bf8145c0718ddc6e3a76768269002e4
refs/heads/master
2023-05-09T04:12:10.526028
2021-05-25T08:16:32
2021-05-25T08:16:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,656
py
import json import logging import socket import threading import time from concurrent import futures from pathlib import Path import grpc import numpy as np import algorithm.config_helper as config_helper import algorithm.constants as C from algorithm.replay_buffer import PrioritizedReplayBuffer from .proto import (...
[ "blue_fisher@qq.com" ]
blue_fisher@qq.com
969227c596646d994c0e0840d63c252146a7b20d
67f3eb61b1f62e20a3f5f52af59a64a0c721a41c
/day01/ex04/test.py
554f824d50236edd9b2db4b0364d09a8682a97d8
[]
no_license
gbiebuyc/Bootcamp-ML
96d6300e6e26b93ebeb39cc05955b41601c735fc
76ad600dae534b844686968c1f0a043e4fe13806
refs/heads/master
2022-04-24T09:37:49.138517
2020-04-28T23:32:06
2020-04-28T23:32:06
259,360,333
0
0
null
null
null
null
UTF-8
Python
false
false
541
py
#!/usr/bin/env python3 import numpy as np from vec_gradient import gradient import numpy as np x = np.array([12.4956442, 21.5007972, 31.5527382, 48.9145838, 57.5088733]) y = np.array([37.4013816, 36.1473236, 45.7655287, 46.6793434, 59.5585554]) # Example 0: theta1 = np.array([2, 0.7]) output = gradient(x, y, theta1) ...
[ "gbiebuyc@users.noreply.github.com" ]
gbiebuyc@users.noreply.github.com
a817163144db04a7da64536a94ef9f0b994accc1
5c8a1c781c59348a1fe0eb4e01be965445d17fd1
/excelread.py
d5bb5cbcfcecd9f33c3c479f740290c0b1726cc7
[]
no_license
vijay028/python
8b289635249541ea65a6335c9cc6e52f98d9d979
592c57de0f49979529bb5ef4b67a30619da9cdee
refs/heads/master
2021-09-05T15:48:04.594041
2018-01-29T12:14:03
2018-01-29T12:14:03
114,237,382
0
0
null
null
null
null
UTF-8
Python
false
false
977
py
#import openpyxl, pprint import pandas as pd from pandas import ExcelWriter from pandas import ExcelFile import xlsxwriter df = pd.read_excel('C:\Users\kulvi03\Google Drive\Python_Practice\data_files\\bugs_in_rally.xlsx', sheet_name='teamdata') #writer = ExcelWriter('C:\Users\kulvi03\Google Drive\Python_Practice\data_...
[ "kulvi03@ca.com" ]
kulvi03@ca.com
a67a727bd18961dcd4f36f45b2842c918cad0826
c6cfbe2269259c1298467adfa0c5f1565e87cd37
/tests/test_kube_parser.py
97441b4cbd51768c90356797293f9c879aa7a75c
[ "BSD-3-Clause" ]
permissive
isabella232/nodels
4e8370b219823e340eac5626dbed59ddd11fd094
a5450da66002bc055732e0ac708c3598e99b0610
refs/heads/master
2022-01-21T00:16:26.459862
2019-06-06T15:53:48
2019-06-06T15:53:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,259
py
import datetime import pytest from nodels.kube.parsers import BaseParser def test_load_data_str(node_data_str): b = BaseParser(node_data=node_data_str) assert isinstance(b.data, dict) def test_load_data_dict(node_data): b = BaseParser(node_data=node_data) assert isinstance(b.data, dict) def test_i...
[ "frank@revsys.com" ]
frank@revsys.com
fb9d17cc393c3ab9a9c41b08627a5aedde3c113b
afc8d5a9b1c2dd476ea59a7211b455732806fdfd
/Configurations/qqH_SF/Full2018_v7/structure.py
a9c02cc6da98e29e1298473fbd2ee89de9610117
[]
no_license
latinos/PlotsConfigurations
6d88a5ad828dde4a7f45c68765081ed182fcda21
02417839021e2112e740607b0fb78e09b58c930f
refs/heads/master
2023-08-18T20:39:31.954943
2023-08-18T09:23:34
2023-08-18T09:23:34
39,819,875
10
63
null
2023-08-10T14:08:04
2015-07-28T07:36:50
Python
UTF-8
Python
false
false
4,095
py
# structure configuration for datacard #structure = {} # keys here must match keys in samples.py # structure['DY'] = { 'isSignal' : 0, 'isData' : 0 } structure['Wjets'] = { 'isSignal' : 0, 'isData' : 0 } structure['Fake'] = { 'isSignal' : 0, 'isData' ...
[ "nicolo.trevisani@cern.ch" ]
nicolo.trevisani@cern.ch
e4e8b0d796656a53f231fb0cb469b76659e258c6
217a0b3a43939459cd5b688f19d6812f8c494cb3
/pe7_4.py
f18e42009f6169eb2700b10d6e1a6c01bd821ecb
[]
no_license
MartyVos/Les7
66d59677867e998876ee95fc888ce56dc23e9db2
ef60cde199c97aea191352f1e6d68b1f10032718
refs/heads/master
2021-05-08T07:54:15.688563
2017-10-14T15:52:39
2017-10-14T15:52:39
106,940,873
0
0
null
null
null
null
UTF-8
Python
false
false
717
py
def ticker(filename): file = open(filename, "r") regel = len(file.readlines()) file.seek(0) name = input("Enter Company name: ") temp = [] temp2 = [] compTick = {} for x in range(regel): temp.append(file.readline().split("\n")[0]) temp2.append(temp[x].split(":")) ...
[ "marty.vos@student.hu.nl" ]
marty.vos@student.hu.nl
5c380fef326112dc550b1a2c2c6e53b86246d922
8ddc34354056d311cee9bf668b8229b74232aa92
/fql/__init__.py
fcab1070938ce75d836455ddc86ccf3aebed2914
[]
no_license
sungmin-park/FQL
c19375ec2f7a81475a790238c1aa5516ee213934
3b2d880f20ccce95518a52ae50bce8a1fd5a651b
refs/heads/master
2020-12-24T17:27:05.995748
2013-03-29T07:05:32
2013-03-29T07:05:32
9,093,937
1
0
null
null
null
null
UTF-8
Python
false
false
1,718
py
from simplejson import dumps class Field(object): def __init__(self, name=None, index=False): self.index = index self.name = name def coerce(self): raise NotImplementedError class String(Field): def coerce(self, from_facebook): if not isinstance(from_facebook, unicode): ...
[ "vamf12@gmail.com" ]
vamf12@gmail.com
645835750b67fe52b903da4db4d972394d145452
65caa55f568edb5399b4ae7395bea80920ceff9f
/PSSDP/Code/fd.py
2ba5dc5319a04f695131e315d6e93d0184cbead4
[ "Apache-2.0" ]
permissive
ifuding/Kaggle
e336cf34570552065d9d414c7ab27abfb8ec0581
3e372d910a904daed03ee529d705a5b29663d977
refs/heads/master
2021-01-20T01:41:31.510243
2018-08-20T07:54:52
2018-08-20T07:54:52
101,297,662
0
0
null
2017-09-22T03:50:49
2017-08-24T13:26:57
Python
UTF-8
Python
false
false
16,735
py
from sklearn import metrics, preprocessing, pipeline, \ feature_extraction, decomposition, model_selection import sklearn import pandas as pd import numpy as np import xgboost as xgb import lightgbm as lgb from time import gmtime, strftime import numpy.random as rng # from multiprocessing.dummy import Pool # import...
[ "fu_ding1991@qq.com" ]
fu_ding1991@qq.com
dc84fce78c853462b0ccb545eedd478324ef2578
bd9ec4ca92f206da7f4083f08d53b92270a9d2cd
/MFA-Project/transact/admin.py
01629ce931aed4b35707ae9fcec284d27ca54ca0
[]
no_license
waok2/arrow
66c4eea04fc2170791ac189ab6677dd5c86e5eeb
032f25e2c694c1470bb46229fc65f9fd91477203
refs/heads/master
2023-08-11T05:41:35.609282
2020-04-24T22:37:09
2020-04-24T22:37:09
256,317,381
1
0
null
2021-09-22T18:53:51
2020-04-16T20:01:43
JavaScript
UTF-8
Python
false
false
116
py
from django.contrib import admin from .models import Loan, Pay admin.site.register(Loan) admin.site.register(Pay)
[ "abachwayne@live.com" ]
abachwayne@live.com
eed34e21b6771e95f001f6907751230daa15151e
0cce050ce95209068915e8b0dcbb7634254ee78c
/SourceCode/HRP2018/HRP2018/apps/lms/api/models/LMSLS_MaterialFolder.py
967a8eed97c2f11502f750814caa524b0b23af7d
[]
no_license
truongductri/saverpart
8f1504fe6facf7bfae982c47d22061079560ac68
73cf37c9592b516821ac42b4a5c6347f4dfce0ed
refs/heads/master
2021-01-17T20:00:00.806835
2018-09-11T00:12:21
2018-09-11T00:12:21
63,472,959
0
0
null
null
null
null
UTF-8
Python
false
false
1,397
py
# -*- coding: utf-8 -*- from config import database, helpers, db_context _hasCreated=False def LMSLS_MaterialFolder(): global _hasCreated if not _hasCreated: helpers.extent_model( "LMSLS_MaterialFolder", "base", [["folder_id"]], #id=helpers.create_field("n...
[ "clevolove.unik37@gmail.com" ]
clevolove.unik37@gmail.com
784f38802b737a6dede9b4614f7466f8f10a6ddf
4b8ebedccb97cb7d7d23d0f798a0ba290695e8aa
/code/44_inspect_getsource_ipython.py
813ad2236085c26ddcb8da028caea4ef5ad3b8a1
[]
no_license
danilobellini/wta2017
19fce7c20865eae8615b3d6a02fc94cbfb95e5c3
5963dd48b46813988def356aa13aca3b6959d050
refs/heads/master
2021-01-11T14:53:19.983517
2017-01-27T20:49:16
2017-01-27T20:49:16
80,243,964
1
0
null
null
null
null
UTF-8
Python
false
false
994
py
In [1]: import inspect, ast In [2]: print(inspect.getsource(ast.walk)) def walk(node): """ Recursively yield all descendant nodes in the tree starting at *node* (including *node* itself), in no specified order. This is useful if you only want to modify nodes in place and don't care about the context. ...
[ "danilo.bellini@gmail.com" ]
danilo.bellini@gmail.com
ba262f9df6b12c19ec43ad5bfbda4220796cf6e6
d6073031933876375e5a7b627beeafb02654a07b
/Python3/UnitTest/unit_tester.py
bcc6720b347779a81e9b3985b6eefa3997a66d02
[ "MIT" ]
permissive
SLongofono/Python-Misc
81ad499c9c44fad9c6a4c157891be031ac1d1d60
c6c2735f65b7f06e31996140c2921315b1a6cf9e
refs/heads/master
2021-01-22T08:28:41.140098
2019-12-07T05:47:38
2019-12-07T05:47:38
92,618,759
2
1
null
null
null
null
UTF-8
Python
false
false
2,753
py
""" This illustrates the basic use of the unittest module to automate unit tests of a simple class. There are many more options in the documentation, but this is what I would consider a minimum example for testing any custom class. This also serves as a good example of how to set up your own modules to be importable....
[ "noreply@github.com" ]
SLongofono.noreply@github.com
c3c739542d91f67bb93f562bf1f9e713543a5bd0
131c8edf2c9dad9c1e938d5a21287a81ce4dfa6c
/mysite/settings.py
ee4a8117993afd2192e97cdb8cb64c23a8f1e537
[]
no_license
aayushi0209/mysite
c87dd056a66d09cf538b589f73ae79955bd72cee
36889dafa9b8c8ee760559179a790647ad833add
refs/heads/master
2022-04-19T12:15:07.144159
2020-04-19T09:12:14
2020-04-19T09:12:14
256,954,357
0
1
null
null
null
null
UTF-8
Python
false
false
3,191
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 3.0.5. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os # ...
[ "aayushigupta0209@gmail.com" ]
aayushigupta0209@gmail.com
48856c33bcaeb61f0c227660fabf8dd748a52f83
f53c71cc2ede3fccb7535133ca55196074b7dffc
/SQL REST API/code/security.py
988bd1274c1021e1a1370cc22bd76e9d28bbbf52
[ "Apache-2.0" ]
permissive
ccruz182/Python-Flask
b131519f3421f8b966771a16398ebb332e2bdf91
d92573f24f3099537884ef1e2ff5a59592749a62
refs/heads/master
2020-04-06T21:01:16.470141
2019-01-09T03:25:59
2019-01-09T03:25:59
157,790,166
0
0
null
null
null
null
UTF-8
Python
false
false
299
py
from werkzeug.security import safe_str_cmp from user import User def authenticate(username, password): user = User.find_by_username(username) if user and safe_str_cmp(user.password, password): return user def identity(payload): user_id = payload['identity'] return User.find_by_id(user_id)
[ "cesar.cruz182@gmail.com" ]
cesar.cruz182@gmail.com
7d991ff46b2eaa1c535a04a2ceddf88684f466e1
8d9318a33afc2c3b5ca8ac99fce0d8544478c94a
/Books/Casandra DB/opscenter-5.1.0/lib/py-debian/2.5/i386/twisted/scripts/tapconvert.py
dd78b57b2189d961ff4be1eec064d8517a300a7c
[]
no_license
tushar239/git-large-repo
e30aa7b1894454bf00546312a3fb595f6dad0ed6
9ee51112596e5fc3a7ab2ea97a86ec6adc677162
refs/heads/master
2021-01-12T13:48:43.280111
2016-11-01T22:14:51
2016-11-01T22:14:51
69,609,373
0
0
null
null
null
null
UTF-8
Python
false
false
54
py
../../../../../py-unpure/twisted/scripts/tapconvert.py
[ "tushar239@gmail.com" ]
tushar239@gmail.com
60f441fce499e815c1807d1c0976277da9716960
9eb6add08dde7c7f4dd580d00386d02dfec8b5cd
/SiteScraper/pcbmodel.py
24792be8ef22c6f00e9506085277f6021f889904
[]
no_license
lawnchairsociety/Nesicom
826c9ab620e6808d4920005bdaba744c292907f6
304779be81d361b1b6903b41a1bf44f94880b62b
refs/heads/master
2023-06-16T10:05:01.524906
2021-07-13T12:26:52
2021-07-13T12:26:52
382,918,419
1
0
null
null
null
null
UTF-8
Python
false
false
1,352
py
import json class PCB: def __init__(self): self.id = None self.manufacturer = None self.manufacturerLogo = None self.pcbName = None self.pcbNotes = None self.pcbImages = [] self.lifeSpan = None self.pcbClass = None self.mapper = None s...
[ "ben.stoker@gmail.com" ]
ben.stoker@gmail.com
b222e7b7cf7cddbc9ad82104616602da16656acc
175d3c67619e56941cd4b8c1bb25ef19733d9ad8
/oop.py
dae758e47baeecc89704abfc641fc3cc3cc9b1eb
[]
no_license
FMishka/Python
a5be2956661b570ba953b8b1ce6ba19aeca94c63
3d671e59be9bb3b38e9d0345543c98197e7d0c23
refs/heads/master
2022-12-14T17:23:00.225410
2020-08-05T01:23:22
2020-08-05T01:23:22
278,223,343
0
0
null
null
null
null
UTF-8
Python
false
false
1,187
py
class Animal: def __init__(self, name): self.name = name def Eating(self): print(self.name + " ест") class Cat(Animal): sleep = False def __init__(self, name): super().__init__(name) def Sleep(self): print("Кот спит") self.sleep = True def Awake(self): if self.sleep == True: ...
[ "noreply@github.com" ]
FMishka.noreply@github.com
da43401825e32513a203ca0371cee3c7e5d77c2f
f5fc4b7d1744a1ac3ea8fe457b4a329603f734cc
/Simulate_Here.py
a8d5d1292f17dcb15cb636f6f68be76000ed5a51
[]
no_license
AitorGuti/Computer-Simulation
daf716a2f7d9af7aee60329016d85cb18412b301
25ec0ff826ebf4188831c13135578bd381dd56bd
refs/heads/main
2023-04-03T02:50:46.109228
2021-03-29T14:23:36
2021-03-29T14:23:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,015
py
# -*- coding: utf-8 -*- """ Created on Tue Mar 23 21:01:23 2021 @author: aitor """ #Import the Body class to make Celestial Bodies! from Final_Project_Code import Body #Import the Simulate class to run the Simulation!!!!! from Final_Project_Code import Simulate def main(): #Gathers data from Body_Data folder...
[ "aitorg88@gmail.com" ]
aitorg88@gmail.com
bcd425e3b4d81b1a99d5b6e54dc6794dbac1ecce
6967a61d24d9a39b091a54e0999f6fe10f0a9d4a
/F.NS252/Laboratory - 9/Calculator.py
952e0d7e6b163d18f24b16c5c56e181f61ab9546
[]
no_license
ByamB4/MUST-Bachelor
5783c7b36d04fd9b28314309e5e0bcab996fc762
e08cd68a6813773a63dcfdd312deeb9d94b76ae1
refs/heads/master
2023-01-05T23:09:33.886027
2020-11-06T00:37:32
2020-11-06T00:37:32
244,822,193
8
1
null
null
null
null
UTF-8
Python
false
false
11,735
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'Calculator.ui' # # Created by: PyQt5 UI code generator 5.14.2 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_MainWindow(object): def setupUi(self, MainWindow): Ma...
[ "noreply@github.com" ]
ByamB4.noreply@github.com
b3b4f1fc0dcb3237767cad53fac245c6d23baec9
4fe158f24f2e046a490bec2c9308122925a27e13
/firstapp/settings.py
9ba92b5a8e51933cffcd1cee29430070e796e5da
[]
no_license
LZayats/my-first-blog
fa00a3d5ff32b4390a635781064ae6e5bd320335
8bd62f1776f5e42f34864a8286bcef2d0439213d
refs/heads/master
2021-01-21T12:53:37.933075
2017-09-01T12:35:53
2017-09-01T12:35:53
102,107,630
0
0
null
null
null
null
UTF-8
Python
false
false
3,117
py
""" Django settings for firstapp project. Generated by 'django-admin startproject' using Django 1.11.4. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import o...
[ "zayatsles@mail.ru" ]
zayatsles@mail.ru
3460206e89d14d847a2c225aefd61bcbac3cadcd
0cac8e7b3ca62b655a5197b5b2a532f7741a5ea4
/python/QA400_test.py
31ac84c898bdfc11ade643a571dd416fa07516de
[]
no_license
markmelvin/pyQA400
1e4e38e10ef0640fc6a025bd065be63a065787dc
27548bb671d62a3c8f177ea4b155d9d5ff823d70
refs/heads/master
2016-09-06T03:39:26.618280
2016-01-22T03:12:42
2016-01-22T03:12:42
19,086,102
0
0
null
null
null
null
UTF-8
Python
false
false
3,255
py
##!/usr/bin/env python # -*- coding: iso-8859-1 -*- from __future__ import print_function import pyQA400 import time import sys import os import utils def test(pathname): pyQA400.set_units(pyQA400.DBV) # Turn off both generators pyQA400.set_generator(pyQA400.GEN1, False, -110, 1000) pyQA400.set_gener...
[ "mark.melvin@gmail.com" ]
mark.melvin@gmail.com
c03cb7c54b8865aecb4a76b3c1d4d2be033b8061
5f70fd93d86d828c281c4464a38ba6a0e4381f0a
/pizza/views.py
92dd1a4511346907b429049406a9ce9408367937
[]
no_license
MHammadYou/PizzaOrderRestAPI
23dda7af0097e3804d2f4efe73212f3e12a4ff72
4a62833b943183771d4050e96cdc4d4ddb9f20d8
refs/heads/main
2023-01-19T16:44:43.456867
2020-11-30T13:19:23
2020-11-30T13:19:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
353
py
from rest_framework.viewsets import ModelViewSet from rest_framework.permissions import AllowAny from pizza.models import Pizza as Pizza_Model from pizza.serializers import PizzaSerializer class PizzaViewSet(ModelViewSet): queryset = Pizza_Model.objects.all() serializer_class = PizzaSerializer ...
[ "MHammadY2.0@gmail.com" ]
MHammadY2.0@gmail.com
8567360626a0c73fe19deea5794de21ecbbaf6a4
562fadd90dc81f51548f394203f242a3e5233b88
/Tauc_3D.py
59e72e74db7afe7ff15aeae9e7678a1fa9cffcc9
[]
no_license
MarinaGuenthert/HIERN_preprocessing
caaea82e67bacedda8a2978b6c92c782cd1575a8
8cc4c2bccc29ad3ff7777901fce5315ef8a88dca
refs/heads/main
2023-04-10T06:06:53.799115
2022-08-17T08:52:52
2022-08-17T08:52:52
525,711,614
1
0
null
null
null
null
UTF-8
Python
false
false
13,640
py
import tkinter as tk import numpy as np import matplotlib.pyplot as plt plt.rcParams['animation.ffmpeg_path'] = r'C:\FFmpeg\bin\ffmpeg.exe' from matplotlib import animation from tkinter import Label, Button, Tk from myutils import MyUtils from theme import HIERNtheme from joining import path class Tauc_plot_Eg(tk...
[ "marina.guenthert@fau.de" ]
marina.guenthert@fau.de
5bcaa77401548e2d11455c6dcdc8eccc3da79a94
f6e425fb99105442b606e3d32775514a0ed16687
/tests/test_rewind.py
b5858d8e93816e8751f81732c6e8763bfe38bc2b
[ "MIT" ]
permissive
qiuwenhuifx/patroni
db06c92f144889b40cc1de447725dd8386fb70f8
08fd8684c9765510ba6b56ec6c804b361d0bf29e
refs/heads/master
2023-07-25T04:08:46.748629
2023-07-13T07:54:10
2023-07-13T07:54:10
243,016,068
0
0
MIT
2021-05-04T04:23:17
2020-02-25T14:12:09
Python
UTF-8
Python
false
false
15,870
py
from mock import Mock, PropertyMock, patch, mock_open from patroni.postgresql import Postgresql from patroni.postgresql.cancellable import CancellableSubprocess from patroni.postgresql.rewind import Rewind from . import BaseTestPostgresql, MockCursor, psycopg_connect class MockThread(object): def __init__(self...
[ "noreply@github.com" ]
qiuwenhuifx.noreply@github.com
e46dc8a4c810b47d43cbca67a2f83ae811c35f3e
d9fb7f11eb997b45841d8d15a1573b5af0ac748d
/ltr/trainers/__init__.py
328d9aed951450f6d25147c3a55de36c6b0243e7
[]
no_license
danier97/CFKD
8730953831e80e0b505c3ef6437e7a6f0d636cd2
9017df007dceaba7020e6108ea874ea831caace8
refs/heads/master
2023-04-29T13:30:05.246737
2020-09-11T12:09:36
2020-09-11T12:09:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
97
py
from .base_trainer import BaseTrainer from .ltr_trainer import LTRTrainer, LTRDistillationTrainer
[ "zceedan@ucl.ac.uk" ]
zceedan@ucl.ac.uk
c0dbe53f4c086799b4204befed17e029ec9bddaa
d121a2d893ff69415894b7fd2f413bab15eac54d
/queues.py
cbd46d6d299c71bd5e66c4c442acefe1405c948f
[]
no_license
kwx1996/kspifka
8dbebf8f257bbdc1d118a199851c4ba3861e6f55
eca78b4951e70531d67ed5ca28a67f51b71b30a7
refs/heads/master
2022-11-13T00:12:09.704003
2020-07-05T06:40:32
2020-07-05T06:40:32
271,682,087
2
0
null
null
null
null
UTF-8
Python
false
false
1,608
py
from confluent_kafka import Consumer, Producer class Base(object): """Per-spider base queue class""" def __init__(self, producer: Producer, consumer: Consumer, topic=None, serializer=None): self.producer = producer self.consumer = consumer self.topic = topic s...
[ "kwx@xkool.info" ]
kwx@xkool.info
2a632d8356145e828e76bbc4f3419083cb246694
7ab18c5309c739b8d888374ddcaaae849dc78f7c
/HomeWork 2/code/ui/locators/basic_locators.py
e5b43356f7eb6b3a9d8a3268f92d1459c7e434f3
[]
no_license
1ntr0men/2021-1-MAILRU-SDET-Python-D-Ryazantsev
0ae9c9a9e5c91ceef9df39a1c67bdd673384ecad
8661dd9f0c87d55536b64ce5b65a28fdeb68f2de
refs/heads/main
2023-05-24T02:04:09.798761
2021-06-04T10:12:42
2021-06-04T10:12:42
351,603,136
1
0
null
2021-06-11T18:20:53
2021-03-25T23:22:56
Python
UTF-8
Python
false
false
4,108
py
from selenium.webdriver.common.by import By class LoginLocators: SIGN_IN_LOCATOR = (By.XPATH, "//div[contains(text(),'Войти')]") LOGIN_LOCATOR = (By.NAME, 'email') PASSWORD_LOCATOR = (By.NAME, 'password') GO_LOCATOR = (By.XPATH, "//div[contains(text(),'Войти') and contains(@class, 'authForm-module')]"...
[ "vadruf07@gmail.com" ]
vadruf07@gmail.com
8784fa3ace2315aa274f02c0cc31d0a8c6818038
6ec2ccefcb3673971eeebd23c1f6573ae99d1e97
/src/main/ExecucaoExperimento.py
7f588af292f8de36af72952ee72f4e5bad90aae4
[]
no_license
julianesansil/scap-spi
5d2222bd3cb80043187208a158cf23dfa86559d2
4efa7111f82bf7bafa8c1d05c9e3ad421b5b3f20
refs/heads/master
2021-01-10T09:27:08.171413
2015-11-17T04:31:43
2015-11-17T04:31:43
43,601,258
0
0
null
null
null
null
UTF-8
Python
false
false
4,921
py
''' Created on 20/10/2015 @author: Juliane ''' import glob, os import config from spi import Preparador, Indexador, Buscador, Experimento from Util import Util class ExecucaoExperimento(): # Dado um conjunto de parametros para experimento, testa as possibilidades e retorna um resultado @staticmethod ...
[ "jl.sansil@gmail.com" ]
jl.sansil@gmail.com
b681d7ccb2e5811ebce85ca72206467d43288ab1
9bffe98a3c6e9718207f1dee9724c5f38b287709
/07.Ploting/PYVisualization/ex7.py
278a4ba97875cf7c7d8cafcb58d7371969f9b526
[]
no_license
zhouhanghust/algorithms
0317870813f4971db4bfab0967dbe57dd346c030
1fa1aa0ab1b40e3269cdb1df9ba5ad9c4c687eb9
refs/heads/master
2020-04-12T07:43:52.260221
2019-01-10T13:16:21
2019-01-10T13:16:21
162,368,689
2
0
null
null
null
null
UTF-8
Python
false
false
556
py
# -*- coding: utf-8 -*- from scipy.stats.kde import gaussian_kde from scipy.stats import norm from numpy import linspace,hstack from matplotlib.pylab import plot,show,hist import matplotlib.pyplot as plt sample1 = norm.rvs(loc=-1.0,scale=1,size=320) sample2 = norm.rvs(loc=2.0,scale=0.6,size=320) sample = hsta...
[ "zhouhanghust@126.com" ]
zhouhanghust@126.com
78810a501d5849545c56909fa9fd6c418ea9d8e4
49df10ccbde30b56b62724e83239e4879343e7ad
/Ex7/Nearest_Neighbor.py
e8a552b781134c658232937dabbf8d65c8a0ae52
[ "MIT" ]
permissive
Globe-Eater/Geographic-Analysis
7363733a4d32a141feabd3f8eaf5d5ff6a3984cf
17541fbf5148ae6253d8acaeb6c4cda5a9863e12
refs/heads/master
2020-12-31T21:40:40.574059
2020-04-15T15:43:50
2020-04-15T15:43:50
239,036,401
0
0
null
null
null
null
UTF-8
Python
false
false
727
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Apr 9 13:20:12 2020 @author: kellenbullock Data was geneerated from SPSS copied and pasted into excel and then read into pandas. The Goal is to select the smallest values for each record. """ import pandas as pd df = pd.read_excel('/Users/kellenbulloc...
[ "noreply@github.com" ]
Globe-Eater.noreply@github.com
3853371b6d70d86f5bf3c5b06c9ab88e97cf3b7b
eec4a477d920bfcc5c7f9a35a25e508da425fc4f
/movement_ai/sampling.py
bc90795cb5b8d6df345184b0be75d1ce976a4b26
[]
no_license
Nooshin-github/AIam
6a57266f85c7c31e0c752a169f57ecd34fea4be3
a1112ef7f6a6eabaa5e2c124c3f9ff8b4f0a312a
refs/heads/master
2021-08-27T18:44:57.239355
2017-11-03T15:27:56
2017-11-03T15:27:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,549
py
import numpy import sklearn.cluster import sklearn.neighbors class Sampler: @staticmethod def add_parser_arguments(parser): pass def __init__(self, observations, args): self._observations = observations self._args = args class NoneSampler(Sampler): def sample(self): re...
[ "alex@nimations.com" ]
alex@nimations.com
6929da4a13a78cff2d2c90468ee5f1a26a068e15
0d914a7a8343c0d0ebf1b3996426ee3627157507
/life.py
a0429690b91449efa05dc9999c7507fab71125d5
[]
no_license
everdance/game-of-life
81c94ccb2898c90ad36d5eac52f3620af7c6df3b
8b4df169af19b80d915883bafb35176c11e6ad70
refs/heads/master
2020-06-12T13:06:36.264347
2019-07-04T02:47:44
2019-07-04T02:47:44
194,308,773
0
0
null
null
null
null
UTF-8
Python
false
false
2,649
py
# Conway's game of life cell autometa # https://en.wikipedia.org/wiki/Conway's_Game_of_Life from random import randint class Cells: """ Cell rules: Any live cell with fewer than two live neighbours dies Any live cell with two or three live neighbours lives on Any live cell with more than three liv...
[ "tristones.liu@gmail.com" ]
tristones.liu@gmail.com
afb29b837f4831048f768161eb62e9b9db843135
d79f3a31d173f18ec112c521acdcee8e8e73724d
/melondb_mainflow.py
3bbaffbea817bfe942c6b79bae41249ebfcb9872
[]
no_license
k156/hello
3de815de569b38f8260e774e57b138f4da43f480
f5a7f386d3f78d15d7f166a95ad25724e168f472
refs/heads/master
2020-04-04T23:15:38.252126
2019-05-03T05:57:00
2019-05-03T05:57:00
156,352,395
0
0
null
null
null
null
UTF-8
Python
false
false
1,466
py
import melondb_func as mf import melondb_rank as mr import melondb_album as ma import melondb_singer as ms import melondb_song as mso import melondb_songsing as mss headers = { "User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36" ...
[ "jm_91@live.co.kr" ]
jm_91@live.co.kr
8b94bffeb55fb188fc75b01f2638f9f28901b1ff
1ea9cc7a42fcf8465e207f808ece60730b50f94a
/5/5Mos.py
cd96b64625cf006c6187842360165fbacd41f29d
[]
no_license
boriphuth/Tech_Jam_2018
86f873e94dcc022e95af74b75a9df92ebaa62481
49b8f12e60faa1b76bb07132a623f1859805e414
refs/heads/master
2020-04-04T13:32:17.076415
2018-09-28T14:29:00
2018-09-28T14:29:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
439
py
def solution(A,S): LEN = len(A) max = 0 for i in range(0,LEN): sum = 0 for j in range(i,LEN): sum = sum+ int(A[j]) if sum ==S: length = (j+1)-i if length >max: max = length ...
[ "pathomphong.i@ku.th" ]
pathomphong.i@ku.th
19d006a85894f760c25af6ab8b6cb452bcdd25ec
529191fd5f65605c62375a3f1b70dfba8a673393
/Main.py
0d782db073273b0cc1163351ef52c6bb1e322b8d
[]
no_license
brownie5253/Mine_DigPlan
ff736b02dd5d06b8c867b17435ea951b3d562b67
6f1196df88d981d02edd170eedbf171a1511d5a3
refs/heads/master
2023-04-29T01:36:19.930018
2021-05-15T01:52:32
2021-05-15T01:52:32
367,512,438
0
0
null
null
null
null
UTF-8
Python
false
false
2,379
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import time import numpy as np from mining import Mine, search_dp_dig_plan, search_bb_dig_plan def test_2D_search_dig_plan(): np.random.seed(10) x_len, z_len = 5,4 some_neg_bias = -0.2 my_underground = np.random.randn(x_len, z_len) + some_neg_bias ...
[ "01connorbrowne@gmail.com" ]
01connorbrowne@gmail.com
af325f88ad46800cafc5b42aacf3d24e42dc9c05
877edd932f97480f80550c6ff2f68b22e4099bd0
/ex002 respondendo ao usuário.py
8889da76569510b1652c27e517ae6574222ef3fc
[]
no_license
lacerda92/exercicios-python
fcb57bb09d96a5b6cc6419a08daf56d3370aad3e
6c07e1fcd19a4ad1b2d57f0254acf8802ea4002c
refs/heads/main
2023-03-19T03:40:14.896581
2021-03-12T09:39:19
2021-03-12T09:39:19
345,802,634
0
0
null
null
null
null
UTF-8
Python
false
false
468
py
"""tudo que estiver entre as aspas triplas são considerados comentários, o que facilita o teste dos códigos""" #o uso de hashtag também ajuda a comentarar o código """ nome = input("Digite seu Nome: ") print('É um prazer te conhecer', nome) #essa variação é bem simples, mas totalmente funcional """ no...
[ "noreply@github.com" ]
lacerda92.noreply@github.com
2c2b75f357c2894a37c45a04e2c384083f4a6b1c
886116cbc531bcc04f290ee2d17f4387b620db85
/empleado/applications/departamento/migrations/0001_initial.py
d0785adaa3504d9556b4e2dc5f80bc5007f62e6c
[]
no_license
gunner693/cursoprodj
c3142ba28e0c911cf217b4e5b259b8997da4f623
8d9a694553e9ed61b7168e700c5f618c2ca8b4b2
refs/heads/master
2022-08-01T04:40:43.271292
2020-05-20T22:10:58
2020-05-20T22:10:58
261,902,101
0
0
null
null
null
null
UTF-8
Python
false
false
696
py
# Generated by Django 3.0.5 on 2020-04-09 19:46 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Departamento', fields=[ ('id', models.AutoF...
[ "daniel.cabedo21@gmail.com" ]
daniel.cabedo21@gmail.com
416d2752d7fe43070c00c02de9aa938ea0aa5c51
330c2171f36eb8c6ae73c709b4a064253d481179
/contest_110/minimum_area_rectangle.py
ff3f289d40117f50ca1fb469ae7efe4348e8e48d
[]
no_license
echogwu/hackerrank
08d92d87fc3b586643215f798e5e93e9de04c239
b00da4706b30b3dfddea5909215f738fbc3dd2c5
refs/heads/master
2020-04-03T18:11:53.027292
2018-12-28T18:57:11
2018-12-28T18:57:11
155,474,497
0
0
null
null
null
null
UTF-8
Python
false
false
1,170
py
class Solution: def minAreaRect(self, points): """ :type points: List[List[int]] :rtype: int """ from collections import defaultdict x_tmp = defaultdict(set) x_map = {} for i in points: x_tmp[i[0]].add(i[1]) for x, y in x_tmp.item...
[ "echo@aerserv.com" ]
echo@aerserv.com
77b03350c50092a1613d144e3438486438fbf329
d19f3f814dfef98fe9068bf3d8205bbcffca08be
/python_lecture_files/ms_example_10_005.py
230cfd753b3f0a1ff4b56e6c1d7369005fcb0450
[]
no_license
dansteingart/MAE-221-Fall-2016-Support-Code
a3ef8b646d6badd2b8860cf2ede2a8ee812973f2
4a11de9aeeffd62e5f893ae8c666b3252ab416d3
refs/heads/master
2021-06-10T05:54:55.424570
2017-01-18T05:10:34
2017-01-18T05:10:34
75,432,873
0
0
null
null
null
null
UTF-8
Python
false
false
1,834
py
##Author: Dan Steingart ##Date Started: 2016-11-20 ##Notes: MS Exampe 10.5 in better units """Air enters the compressor of an ideal Brayton refrigeration cycle at 1 bar, 266 K, with a volumetric flow rate of 1.42(m^3) / s. If the compressor pressure ratio is 3 and the turbine inlet temperature is 300 K, determine (a)...
[ "dan.steingart@gmail.com" ]
dan.steingart@gmail.com
3cc5b066a35d7b9135c9fe7cf8a98fde78d4471e
a2c7bc7f0cf5c18ba84e9a605cfc722fbf169901
/python_1_to_1000/1000_Minimum_Cost_to_Merge_Stones.py
485971e27fbdf38ceee64673a1350bf76d3f3119
[]
no_license
jakehoare/leetcode
3bf9edd499034ce32be462d4c197af9a8ed53b5d
05e0beff0047f0ad399d0b46d625bb8d3459814e
refs/heads/master
2022-02-07T04:03:20.659422
2022-01-26T22:03:00
2022-01-26T22:03:00
71,602,471
58
38
null
null
null
null
UTF-8
Python
false
false
1,714
py
_author_ = 'jake' _project_ = 'leetcode' # https://leetcode.com/problems/minimum-cost-to-merge-stones/ # There are N piles of stones arranged in a row. The i-th pile has stones[i] stones. # A move consists of merging exactly K consecutive piles into one pile, and the cost of this move is equal to the # total number o...
[ "jake_hoare@hotmail.com" ]
jake_hoare@hotmail.com
710eca4cb79c7991b4700c11e79576d985782d89
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa2/sample/class_def_methods-45.py
96d5ceb860d9bdf8d35b4041331626495ecbc040
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
316
py
class A(object): x:int = 1 def get_A(self: "A") -> int: return self.x class B(A): $FuncDef class C(B): z:bool = True def set_A(self: "C", val: int) -> object: self.x = val a:A = None b:B = None c:C = None a = A() b = B() c = C() b.x = a.get_A() a.x = b.get_A() c.set_A(0)
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
c92f8522936a8cd157cb3443376e6f63202dfcf9
a7edc5d8f711d81c05c9222393eb147959a30333
/Class 5/list_practice.py
de739672127fce207d83590e2503ae6f4ccc4864
[]
no_license
jasonsu93/cebd_1100_code_winter_2021
3eab83550c4ccdd50bb2f2f1280d96d33b34413e
e86f5a340e116739eccc82c5fdc6d2f779bb5275
refs/heads/master
2023-03-28T00:34:55.619735
2021-03-28T19:50:56
2021-03-28T19:50:56
333,587,614
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
# Ask the user to inputt numbers, add each number to a list. Enter -1 to stop. # Print max, min, average ... #Sort a list # Create an empty list and sort the first list into the 2nd list # list = [] # tuple = () # # mylist = ["A", "B", "C"] # mylist2 = ["abc", mylist, [1, 2, 3]] # # item1 = mylist2[2][2] # item2 = my...
[ "jasonsu93@outlook.com" ]
jasonsu93@outlook.com
160a0af20f7b7f7f4e6b1aeb3d7e8ca75d6c7db5
b72ed2d6caca56fa47d4eb893d51a689e64e8adc
/Python/5.11/2.py
ebca5a8094c5a8abd4a0e9a5a5dff10583c4c911
[]
no_license
waitle/2nd-grade-sunrin
563aa032bc98366cfd7abcf2b2ae8816f80b4cb9
a0c78da75272c462929e556b682f2d671cdaac02
refs/heads/master
2020-06-09T21:31:30.219179
2018-05-08T11:01:28
2018-05-08T11:01:28
76,110,292
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
fhand = open('mbox-short.txt') f = open(r"C:\Users\Sunrin\Desktop\5.11\new.txt", 'w') fuck=[] fuck2=[] for line in fhand: if(line.find("From:")!=-1): temp=line[6:] fuck.append(temp) for i in range(len(fuck)-1): if(fuck[i]==fuck[i+1]): continue else: fuck2.append(f...
[ "noreply@github.com" ]
waitle.noreply@github.com
1a443892bf1c2daedc00bd3e8e519a252cd3b897
17358a5be56ab7670634e10b9242b4d4295dc1c5
/src/ChatRouter.py
ab95de0ca454bf11ef6d20fee163af9ee9dbd4f0
[ "BSD-2-Clause" ]
permissive
jerrylindahl/pira
a814e525e1ac186df3667fef0c847c7abdde8dca
2e0d076dd0b825be2c500ab04c44e3d9de427440
refs/heads/master
2021-01-16T18:29:28.945894
2015-09-18T14:19:13
2015-09-18T14:19:13
29,020,269
1
0
null
null
null
null
UTF-8
Python
false
false
1,660
py
import re class ChatRouter: def __init__(self, chat, config): self.chat = chat self.chat.callBack = self self.regex = config.get('Chat', 'issue-regex') self.config = config self.DataStore = None self.IssueController = None self.quotes = None def run(s...
[ "jerry@copypasteit.se" ]
jerry@copypasteit.se
55c13af04aa7022186173770ac8a89ab9de0122e
0d54e035e96f04abaa6393162745b5380df9ef50
/simple/src/main/python/Y14R5P1/Grzesiu/generated_py_84e0dc4f0d374ae0ba338a870469e2f9.py
31b65f555a1ec094c2a42ed5711bbb92a9bbb9a8
[]
no_license
nischalshrestha/CodeSeer
a5adea2780449bb191c142ede8af6bd3b62176ee
0426fd324f850c1dad5faa97081cd23f34f91193
refs/heads/master
2020-07-30T23:15:37.499301
2019-09-17T16:02:24
2019-09-17T16:02:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
242,992
py
import sys sys.path.append('/home/george2/Raise/ProgramRepair/CodeSeer/projects/src/main/python') from Y14R5P1.Grzesiu.A import * def func_0c1046dd31d944ea823eab991f0e63dc(totalsum, b, a): kA = totalsum[a - 1] if a > 0 else 0 kB = totalsum[b] - kA return kA def func_422fc4f073a5491ca907af456989307d(total...
[ "george.meg91@gmail.com" ]
george.meg91@gmail.com
f8da89272bcbfad5c0c6cb70a526ad07692175d8
f3c54f52633e4a0fa1ddb587090cec8197fba0df
/download.py
6288e40776799ba97d9b03b97af54e60435a93e6
[ "Apache-2.0" ]
permissive
dggc/bovespa-backtesting
a0624f83c2b24b91f9e935f431e7b8b58ae138d9
87bf4d3c82dcc18ddecffc7b12379c7f2076d720
refs/heads/master
2020-03-11T22:11:32.570475
2018-04-26T00:43:36
2018-04-26T00:43:36
130,285,407
0
0
null
null
null
null
UTF-8
Python
false
false
680
py
from alpha_vantage.timeseries import TimeSeries from alpha_vantage.techindicators import TechIndicators from alpha_vantage.sectorperformance import SectorPerformances # from alpha_vantage.cryptocurrencies import CryptoCurrencies import matplotlib import matplotlib.pyplot as plt import os from pprint import pprint ts =...
[ "daniel.galinkin@hekima.com" ]
daniel.galinkin@hekima.com
94d2c16ddf393aa61de644077a1dc1b25bf0ca32
97a65a000b1eda15b7b78e288bb273fa3669f1ee
/frogstarb/markup.py
919c8f3f841a01e2bb4e558b03acc0b06b9819a6
[ "MIT" ]
permissive
jweslley/frogstarb
db5992672cee647c8c35add1cb4d193fee4f6f94
3d963257b60881b4a511bd562eadde12ad32e553
refs/heads/master
2021-01-21T04:36:38.145252
2010-12-27T19:16:06
2010-12-27T19:16:06
665,941
2
0
null
null
null
null
UTF-8
Python
false
false
2,063
py
""" Support for different markup languages for the body of a post. The following markup languages are supported: - HTML - Plain text - ReStructured Text - Markdown - Textile """ import logging import os.path def render_markdown(content,config): import markdown markdown_opts = config.get('markdown', 'meta;c...
[ "jw@jonhnnyweslley.net" ]
jw@jonhnnyweslley.net
f4b780ce3a52f3334136e383fe65403d47d9510c
090a5752d57c760ef9fb2c957526a0fb65a95270
/src/pyskyq/remote.py
18769309a763a035209cd484d8d52c58fe846881
[ "Python-2.0", "MIT" ]
permissive
andr3w-it/pyskyq
2cae3c367a7d438645a339d30e9742a0dd8ee130
e60918ce2b5e68fe3b7befb7dd717384b9561db0
refs/heads/master
2020-04-17T00:17:03.332401
2018-11-05T10:52:58
2018-11-05T10:52:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,364
py
"""This module implements the ``press_remote()`` function. Remote is a lower level interface to the SkyQ box that seeks to emulate most of the the button presses available on the SkyQ remote. There are some buttons which are not (currently) supported, however. Todos: * Research some of the missing button codes to...
[ "git@bradleywood.com" ]
git@bradleywood.com
3726325133234d45f138d5589f7a9959b5d437ab
3748ccbb5ffe02075e3c240c70eba4b0f258fa63
/tsn/data/samplers/__init__.py
5c4d97b3e50ff06bbdb26b06749f95ec0e5a6a86
[ "Apache-2.0" ]
permissive
ZJCV/SlowFast
7fa2cd338b580de7fa0068d8e767023e071b3053
eb049e2d23d60c02b25f20c6ec438e3fd884db46
refs/heads/master
2023-01-01T15:34:40.280832
2020-10-10T15:40:33
2020-10-10T15:40:33
301,304,285
4
1
null
null
null
null
UTF-8
Python
false
false
181
py
# -*- coding: utf-8 -*- """ @date: 2020/8/23 上午11:05 @file: __init__.py.py @author: zj @description: """ from .iteration_based_batch_sampler import IterationBasedBatchSampler
[ "wy163zhuj@163.com" ]
wy163zhuj@163.com
02d642498e52d425ff655e78ed3d230c8b1d351d
efbeefd4dd4b2cce04926c542ce371484f64136a
/InformationRetrival/IndexingFile.py
0dc195a49873e6fd8b3e54f051ac2141823321e3
[]
no_license
ShohamRoditi/information-retrieval-project
55b4188f04ebceab72b43bc6ceb96d7222796bfc
7d5b708f46665606c83b82d0d186bb5f1c9fe7c4
refs/heads/master
2020-04-30T15:27:35.949064
2019-03-21T10:54:34
2019-03-21T10:54:34
176,920,771
1
0
null
null
null
null
UTF-8
Python
false
false
7,527
py
import os import pandas as pd def define_name_of_file(file): head, tail = os.path.split(file) return os.path.splitext(tail)[0] def create_index_file(): labels = ['Term', 'Amount of Files', 'Doc Location'] df = pd.DataFrame([], columns=labels) with open('index/index.csv', 'w') as f: df.to...
[ "urielimelech@se.shenkar.ac.il" ]
urielimelech@se.shenkar.ac.il
da90f169f05161cdfd8e697424ded626ccfaf6e5
61eaec136c6b0db9936dc82df83378d1d7b13b2e
/OmniSci-master/OmniSci-master-101ea0704c5e6a76bb12efd1e3acd41364ea14d1/OmniSci/User/admin.py
443e1c9d652c137d3c4c1c3182c7b14062c817d4
[]
no_license
MichaelWang061/OmniSci
4d98a5866f339b38988bbadfde370c3cacf8d207
85f2bb3c0e97aa44de2f6c8e160cb63d018dfd45
refs/heads/master
2023-01-03T06:30:10.849661
2019-08-30T12:11:23
2019-08-30T12:11:23
205,373,855
0
1
null
2022-12-27T15:35:49
2019-08-30T12:01:38
CSS
UTF-8
Python
false
false
503
py
from django.contrib import admin from .models import UserInfo from .models import UnauthorizedUserInfo from .models import UserVisitRecord class UserAdmin(admin.ModelAdmin): list_display = ['user_name', 'register_date', 'credit', 'user_introduction'] search_fields = ['user_name'] list_filter = ['register_...
[ "43620161+MichaelWang061@users.noreply.github.com" ]
43620161+MichaelWang061@users.noreply.github.com
6740b1fbe5927a088b5217af150137bce9537241
63b9ade12ea062dce5fac01b9cccb9591a08e6da
/07b - iteraties -while - lus/4 - priemgetallen ingediend.py
5d98d8ef37577bd15684042468b5b8a90e276213
[]
no_license
hendrikmeersseman/informatica5
83de197c86fb3cc659393e4f2977bddcfa4f93be
33763c219b3c5dd6740ea148621312b539e508df
refs/heads/master
2021-08-09T00:54:20.169708
2020-04-07T10:34:56
2020-04-07T10:34:56
147,636,992
0
0
null
null
null
null
UTF-8
Python
false
false
336
py
getal = int(input('Welk getal wilt u onderzoeken? ')) n = 2 i = 1 from math import sqrt while n < getal: if (getal % n) == 0: mes = '{} is geen priemgetal'.format(getal) i = 0 n += 1 if i and getal != 1: mes = '{} is een priemgetal'.format(getal) elif getal == 1: mes = '1 is geen priemge...
[ "43027986+hendrikmeersseman@users.noreply.github.com" ]
43027986+hendrikmeersseman@users.noreply.github.com
a5b01376ece33575f53a4e151361ba2927af447a
7453911cee47edd9414ecfc66d189dc578f7e421
/examples/webchat/application.py
328e4cd364f8c2972bb4c923f3c665ffea7d5f43
[ "Python-2.0", "MIT" ]
permissive
gevent/gevent
f20eca1852098e47f32eb062db646acfead36e71
6b22af0fa8eb2efa89fce36c35808948c67352b0
refs/heads/master
2023-08-31T19:27:29.410236
2023-08-31T10:26:35
2023-08-31T10:26:35
5,801,666
4,981
866
NOASSERTION
2023-09-13T14:16:59
2012-09-13T22:03:03
Python
UTF-8
Python
false
false
475
py
#!/usr/bin/python from gevent import monkey; monkey.patch_all() import os import traceback from django.core.handlers.wsgi import WSGIHandler from django.core.signals import got_request_exception from django.core.management import call_command os.environ['DJANGO_SETTINGS_MODULE'] = 'webchat.settings' def exception_pr...
[ "denis.bilenko@gmail.com" ]
denis.bilenko@gmail.com
7da848773ea5751535aa3c3909e3c1bb4125f9db
18b01d93b25ebc1030d9c884bc2a7ee9090e91b6
/Full-Stack/back-end/demo_middleware/middleware.py
35850e3c91d45c3eb425d22d06eb69d502eed1d4
[]
no_license
John-0404/Modelchecking
ca8ff1155ceb965c80efe4883715d9ef0e3fdb67
534be38eb47e3f16043d5d5a212aa4fb673ff3a1
refs/heads/main
2023-08-14T03:33:29.993845
2021-09-22T13:56:58
2021-09-22T13:56:58
409,224,906
0
0
null
null
null
null
UTF-8
Python
false
false
1,172
py
from django.http.response import JsonResponse from rest_framework import status from rest_framework.response import Response import jwt class DemoMiddleWare: def __init__(self,get_response): self.get_response = get_response def __call__(self,request): response = self.get_response(request) ...
[ "73954171+John-0404@users.noreply.github.com" ]
73954171+John-0404@users.noreply.github.com
31e63a683491c044a6e281a0ef267011d1b4cb19
4e1358ecb414a7ece7301ae4286fe68f172aa45f
/manage.py
01e5895ba4ddb6dbc4ca005333c08951015a8fa8
[]
no_license
juliavillela/defaultDjango
065be3ac9eaddc3b355f05a7b5de5b248a2bec60
c92d60328386a74351da9098bcf1ddeaa40d4243
refs/heads/master
2023-06-06T05:30:12.357599
2021-07-01T21:17:22
2021-07-01T21:17:22
368,208,937
0
0
null
2021-07-01T21:09:08
2021-05-17T14:08:41
HTML
UTF-8
Python
false
false
669
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', 'defaultDjango.settings') try: from django.core.management import execute_from_command_line excep...
[ "33360385+juliavillela@users.noreply.github.com" ]
33360385+juliavillela@users.noreply.github.com
bded31969e7cf07ce72030a9ee03378e9b4f0747
9f558138950e119d009f862b8351bd6627129168
/meeting_room/settings.py
6532930faad4cdefb9f0150cccc91ebcc004489d
[]
no_license
Arun445/Meetingroom
b52e987ddda8aea29cd22d639ee9bd29513ec881
e3caf836d3abe1edb1d89ff8d06f3984fc41d5be
refs/heads/master
2023-08-16T20:23:05.970540
2021-09-19T22:05:48
2021-09-19T22:05:48
401,709,851
0
0
null
null
null
null
UTF-8
Python
false
false
4,083
py
""" Django settings for meeting_room project. Generated by 'django-admin startproject' using Django 3.1.4. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from da...
[ "skittlessxit@gmail.com" ]
skittlessxit@gmail.com
faae19a0a2e5040a5b765e32da0d2e67d231983d
dfdb22bc3748c47335fda875e940c605f4bdbb50
/ddqn_version_1/gettingHealthBar.py
d86fea1541bb6cbc50dbe9dabc3d248945c006cc
[]
no_license
bashmastr/tekken-reinforcement-learning
98d5e3b106ab413b6c9a0cd264aa6438dafceb00
65df195fe3bde39c397c5bcd33f7bbc4cb94b70b
refs/heads/main
2023-06-09T13:35:21.423427
2021-07-03T11:44:24
2021-07-03T11:44:24
351,080,178
0
1
null
null
null
null
UTF-8
Python
false
false
3,075
py
from PIL import Image from imageOperation import ImageOperation class GetHealth: def __init__(self, image_path, saved_location_player_one, saved_location_player_two): self.image_path = image_path self.saved_location_player_one = saved_location_player_one self.saved_location_player_t...
[ "halcyoona@gmail.com" ]
halcyoona@gmail.com
1f75d330f0001ed6958fc518a69e7bf9da4af3a6
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03433/s691569846.py
02101d153be3219692ccb72d64eca1a93b4e623c
[]
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
123
py
n = int(input()) a = int(input()) nd5 = n//500 f = False if nd5*500+a >= n: f = True print("Yes") if f else print("No")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
efff95b2ff7de8c5e9ab019f464f9856b26bc540
f96de0bbc76079c892b1d201bf977d56832621fd
/Quiz_and_Project/부동산_퀴즈.PY
875bafb478151c5c56e1c59fe605285c9898e5ed
[]
no_license
Penguin-God/web-Scraping
75a237cd032e137c5b0d68bd460eebc6eda59d34
055ae51ab6c610821501d4433b01901af4a630c8
refs/heads/master
2023-08-03T11:44:17.380899
2021-09-20T07:26:56
2021-09-20T07:26:56
290,175,748
0
0
null
null
null
null
UTF-8
Python
false
false
2,099
py
# 부동산 퀴즈 : 다음에서 송파 헬리오 시티의 매물정보를 가져오기 # 출력 결과 : 거래 : 전세, 면적 : 140/110, 가격 : 165,000, 동 : 111동, 층 : 고/35 import requests from bs4 import BeautifulSoup url = "https://search.daum.net/search?w=tot&DA=UME&t__nil_searchbox=suggest&sug=&sugo=15&sq=%EC%86%A1%ED%8C%8C+%ED%97%AC&o=1&q=%EC%86%A1%ED%8C%8C+%ED%97%AC%EB%A6%AC%EC%9...
[ "gkswh4860@naver.com" ]
gkswh4860@naver.com
8257069262712fd5efda4447a37c1641f7839b79
ee39c847312a113a05447d15615b0f9cada9b3e4
/multiple_scrappers.py
1a929d54376f3484098f6eb1d3f25fed5f42f60f
[]
no_license
vamsilnm/Scrapper-For-Zomato-Tripadvisor.
f68f5c83b33c12993f3a75aa638d860988543ff0
64adf6b2201d7e49d1bbf557dcd31ea512310021
refs/heads/master
2020-09-07T14:43:19.148254
2017-06-15T11:06:56
2017-06-15T11:06:56
94,430,819
0
0
null
null
null
null
UTF-8
Python
false
false
2,190
py
from correct_format import Correct_Format # from tripadvisor_spider.spiders import TripadvisorSpider import os import sys import json import csv # if __name__ == "__main__": # dct = {} # a = Correct_Format('https://www.tripadvisor.in/Restaurant_Review-g304555-d2142625-Reviews-Peacock_Roof_Top_Restaurant-Jaipur_J...
[ "noreply@github.com" ]
vamsilnm.noreply@github.com
fcc446cd01fd8c15041a1d49a918edacc91ecad0
2ebf7803af646f77f93d8f3c24ce6fe037e1928a
/silencesnipper.py
9a52c47e713912751fe9df93b1548aab1d106026
[]
no_license
Jungypoo/Silence-Snipper
f8dd10b93009aa4c143bee202a94d6ec54287ff8
e3fa978fc78e7190be4a40a573daf56c05d42c0d
refs/heads/master
2022-06-20T03:32:42.076941
2020-05-10T12:49:08
2020-05-10T12:49:08
262,777,092
3
0
null
null
null
null
UTF-8
Python
false
false
3,256
py
import subprocess, os, sys, re # Sort out the keyword arguments path = sys.argv[1] threshold = sys.argv[2] min_duration = sys.argv[3] print('Path is ' + str(path)) print('Threshold is ' + str(threshold)) print('Minimum duration is ' + str(min_duration)) # Make a List of all video files in the folder raw_...
[ "noreply@github.com" ]
Jungypoo.noreply@github.com
2a16e24a917e233cd52c1bc5796a459ff5b9f908
043bf402d282998a9bfcd82a025f5064586454d7
/tls_perf/asn_analyzer.py
21c2ab73bbdebaf6b4cec14edcd2651950938c9a
[]
no_license
nilsfaulhaber/tlsadoptioncode
6b482ee44cb114345e83542aa951fd1facaeebab
9472be324ecd8a02e618996a9d3c7c756cdc3192
refs/heads/master
2020-07-14T16:30:54.898216
2019-08-30T09:49:35
2019-08-30T09:49:35
205,353,433
0
0
null
null
null
null
UTF-8
Python
false
false
7,959
py
import pandas as pd import datetime import os import numpy as np PERFORMANCE_DATA_DIRECTORY = "/data/tlsadoptiondata/Performance/" OUTPUT_FOLDER = "/data/monitoring-tls13-adoption/tlsadoptiondata/Performance/" def get_file_names_sorted(): name_list = [os.fsdecode(file) for file in os.listdir(OUTPUT_FOLDER)] ...
[ "ga87bub@mytum.de" ]
ga87bub@mytum.de
7d40f50afe8b66b286d5436da28af7eb62a3203c
8e5df32dcae211505ac4cc0d13a1351f5ae0524a
/import_modulo.py
74fcd8a2b9b31ab5565d8e1d3772f42680fcd4dd
[]
no_license
IvanildoPereira-10/projeto-estudo-python
7a7a1e93c64924982b6416eb3a756578bb361b19
231520a8f046b639cdb69e58137bd1909c610a8f
refs/heads/master
2022-07-26T18:13:04.450895
2020-05-23T18:04:25
2020-05-23T18:04:25
266,392,986
1
0
null
null
null
null
UTF-8
Python
false
false
477
py
from televisao import Televisao from calculadora_1 import Calculadora from contador_letras import contadorLetras if __name__ == '__main__': televisao = Televisao() print(televisao.ligada) televisao.power() print(televisao.ligada) calculadora = Calculadora(10, 3) print(calculadora.soma()) li...
[ "63242670+IvanildoPereira-10@users.noreply.github.com" ]
63242670+IvanildoPereira-10@users.noreply.github.com
c81d790b13f208449caf744965bc2fb1e6feb428
cdbe3386e743578ad2693bcdce48da5dae56a90c
/shrec21/plotter.py
84db139473992165f08f08ae568bd96d5d2c9fd1
[]
no_license
Stagakis/shrec21_changedetection
faf2f237332056573248ac8390315cd233f19e60
a76758f969359e0dadea24cd28805a650ce294f6
refs/heads/main
2023-06-22T18:09:34.554767
2021-07-26T14:38:14
2021-07-26T14:38:14
344,481,300
2
0
null
null
null
null
UTF-8
Python
false
false
2,076
py
import seaborn as sns import csv import numpy as np from numpy import genfromtxt import matplotlib.pyplot as plt import pandas as pd added_data = genfromtxt("added.csv", delimiter="\n") print("Added data size: ", added_data.shape[0], " mean", np.mean(added_data), "std", np.std(added_data)) removed_data = ...
[ "nick-stag@hotmail.com" ]
nick-stag@hotmail.com
db5a3cca87d5c2ff5f16bee4851d1b69edf3da60
2afe3578fb2ba7bb99121a344918f97428df2594
/DeeplabV3/utils/transform.py
596b8d0acb5773767d5f8418388865febbf3ecd0
[]
no_license
KeyForce/Computer-Vison
bc0ef48fc66be700310348f5845706982c11e5b8
55ab2aebd4bf2cfde3c7debab07e72b2a5c3abb1
refs/heads/master
2021-08-08T19:33:31.753112
2021-07-18T13:50:12
2021-07-18T13:50:12
202,334,583
1
1
null
null
null
null
UTF-8
Python
false
false
2,685
py
# -*- coding: utf-8 -*- """ @File : transform.py @Time : 2019/9/2 17:40 @Author : KeyForce @Email : july.master@outlook.com """ import numpy as np from PIL import Image import random import torch from torchvision import transforms as T from torchvision.transforms import functional as F def pad_if_smaller(im...
[ "july.master@outlook.com" ]
july.master@outlook.com
16704bd536098287a927bfca8ba3dbbb240b0736
6a6f5b95b4580ab09f509a65bccc28812081a099
/LibraryReference/function_programming_module/02_functools/partials.py
fb0e109229457731d2ae8f5287b516de8562aa18
[]
no_license
imdsoho/python_snippet
eadb0eb405e40019a505bbc064ef9ce6a18187a9
f7a8fc4a5f31cf63784bfc847d3aae8518b99eef
refs/heads/master
2021-07-08T01:16:54.590021
2021-04-06T05:19:30
2021-04-06T05:19:30
231,522,424
0
0
null
null
null
null
UTF-8
Python
false
false
110
py
from functools import partial def sum(a, b): print(a/b) f = partial(sum, 10) print(type(f)) print(f(2))
[ "jsc@intellicon.co.kr" ]
jsc@intellicon.co.kr
080173590eb56739beace9ca2f1be7fa55260571
6f844abf7c436a4ae3444744c523f5f1fe6367a4
/Homes/Houses/migrations/0002_house_bhk_count.py
f7b3913e77acf9cec5d6dfdd618c94eb73528629
[]
no_license
deepakbhamla/Halanx_Backend_Task
1dd02a1061eb4d4f6072a3276735cb606dfec752
acda98c6b79690689317585dd06cf0c1cfc65192
refs/heads/master
2022-04-12T10:02:29.740781
2020-03-12T12:17:22
2020-03-12T12:27:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
446
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2018-08-04 13:14 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Houses', '0001_initial'), ] operations = [ migrations.AddField( ...
[ "patel.ayush08@gmail.com" ]
patel.ayush08@gmail.com
390199900b6a77867f50df3c177efa511180c712
620a317d607292cfa86d4781052ada463e542881
/bin/sisyphus.py
0028a9c4725634bcb263ad484d27b7b915fbbec0
[]
no_license
yinghe616/NEKCEM
0e119dd1ede5c83bacba5504622f536d7f282c69
f730a31a77963914f6428fe790ab94c5e74b9d93
refs/heads/master
2021-01-18T01:11:52.204571
2017-01-22T03:35:35
2017-01-22T03:35:35
39,838,431
0
0
null
2015-07-28T14:23:09
2015-07-28T14:23:08
null
UTF-8
Python
false
false
79,658
py
# Documentation can be found in doc/sisyphus.html. See also Section # IV on how to generate that HTML from this code. """ Sisyphus is an automatic test runner. It takes a single argument, which is a Python file (see http://docs.python.org/tut for a tutorial) which is run in a way that a few special functions are avail...
[ "gcobb@mycompany.com" ]
gcobb@mycompany.com
604c70bc2fc5812116cb2a5d135077b0fa79c787
610d8afa1fbb509a2e12a0600b2d58ecc34cc613
/app11/views.py
ed57fabffe9a3175a94f6dfb7738189e0f2524f5
[]
no_license
aparnatirumalasetti/demat
28b80d05000e927414ca11061c84e015b160376b
939527bc563d03aa8e1be642f4ad3f20fee1de6a
refs/heads/main
2023-09-05T08:40:11.645676
2021-09-25T06:03:25
2021-09-25T06:03:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
211
py
"""from django.shortcuts import render from django.views.generic.detail import DetailView from .models import GeeksModel class GeeksDetailView(DetailView): model = GeeksModels""" # Create your views here.
[ "aparnatirumalasetti132@gmail.com" ]
aparnatirumalasetti132@gmail.com
0f91f4be912d79e195e832104196151ef06e6168
bcdb66baa2b7df2b419883b99aa66fa2773a4526
/turtlerace 2.0.py
999500b64582b19fa51e43c87fe488b9c852ddbf
[]
no_license
Hibluestar/turtle-race
6ee55ed714f2c61d44afccf0a5d941bca485749e
3db2f804c8b5c0815f550337fe13096ebca6232a
refs/heads/master
2022-11-21T11:07:12.380558
2020-07-29T17:41:47
2020-07-29T17:41:47
283,042,923
0
0
null
null
null
null
UTF-8
Python
false
false
1,145
py
#!/usr/bin/env python # coding: utf-8 # In[17]: import turtle turtle0=turtle.Turtle() turtle1=turtle.Turtle() turtle2=turtle.Turtle() turtle3=turtle.Turtle() turtlelist=[turtle0,turtle1,turtle2,turtle3] colorlist=['red','blue','orange','black'] for i in range(4):#define the turtles and their starting positions t...
[ "noreply@github.com" ]
Hibluestar.noreply@github.com
b5f6092ba36145a15f39f4d7241d854d3cbb3eac
a915792c198958b1d8dae15c46e2951422ef31fe
/venv/bin/gunicorn_django
f4eea3c66dd6f567b3e7c0911aff20fb53435c8d
[]
no_license
andrewctran/rtwilio
e4dd53f4ac9c4bdc0cf20e0ced0487d604df5162
87cdf91a94fc1e2d983c3ee415f38c8de16fdbf9
refs/heads/master
2021-01-22T00:46:12.435465
2014-11-04T20:34:09
2014-11-04T20:34:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
350
#!/Users/Andrew/Desktop/jana/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'gunicorn==0.17.2','console_scripts','gunicorn_django' __requires__ = 'gunicorn==0.17.2' import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.exit( load_entry_point('gunicorn==0.17.2', 'console_scripts...
[ "atran@princeton.edu" ]
atran@princeton.edu
17907386ecabecb1b633f169f0acdeafbb396db7
eebb63331d49b0a65d03c5827a98f264b7edb9f4
/hsstock/tushare/stock/newsevent.py
330de52cdf0d471c3996a133eb71f7c5876fbf4b
[ "Apache-2.0" ]
permissive
hsstock/hsstock
050e4006652d962fadd94894238c82acf6722832
f8841331022e8844537a5c5b08d047e2cc328856
refs/heads/master
2021-06-05T02:09:12.987017
2020-05-07T03:43:07
2020-05-07T03:43:07
132,714,778
2
1
null
null
null
null
UTF-8
Python
false
false
6,966
py
# -*- coding:utf-8 -*- """ 新闻事件数据接口 Created on 2015/02/07 @author: Jimmy Liu @group : waditu @contact: jimmysoa@sina.cn """ from hsstock.tushare.stock import cons as ct from hsstock.tushare.stock import news_vars as nv import pandas as pd from datetime import datetime import lxml.html from lxml import...
[ "jiabao_hu@corp.netease.com" ]
jiabao_hu@corp.netease.com
b176a0ea0828b4bdbfedd0d47a158a30005759ab
4a76b45ff44306d3cde2b6c28d1e0ef17736abc5
/keras05_split.py
451abb1123f982c7de97ca4f1bd4d5fd9c552d24
[]
no_license
suhyeon4820/keras
24d36bae4ccdd00b1fb6591c93619d876c9a8ea1
0addd6be90462b67ddfb3dbd67aa20d4e7ee65c4
refs/heads/master
2020-12-18T18:30:00.522858
2020-05-24T13:49:37
2020-05-24T13:49:37
235,484,032
0
0
null
null
null
null
UTF-8
Python
false
false
1,069
py
import numpy as np # 데이터 x = np.array(range(1, 102)) y = np.array(range(1, 101)) x_train = x[:60] y_train = y[:60] x_test = x[60:80] y_test = y[60:80] x_val = x[80:101] y_val = y[80:101] print(x_train) print(x_test) print(x_val) # # 모델구성 # from keras.models import Sequential # from keras.layers import Dense # mo...
[ "bananacco@naver.com" ]
bananacco@naver.com
83fc55ef937bd8dc82e606d9b0229131967a07b9
d561ad7b55acbaba8c8e80cb812c6a1d4a3aabfe
/Colegiados-CPIC/Colegiados_CPIC.py
7cebe5041cbc48c90d3e9418838cde6ce4c9cfee
[]
no_license
lxv81/99999_CR_OPSCR_WEBSCRAPP
e12fc425d1671ea895531ddf0625646d0f59c7fb
afac708583c3e0884ed3558b4e793c1c257261c8
refs/heads/master
2023-01-04T03:35:01.964021
2020-10-30T23:20:49
2020-10-30T23:20:49
308,763,857
0
0
null
null
null
null
UTF-8
Python
false
false
3,063
py
# -*- coding: utf-8 -*- """ Created on Sat Sep 19 20:50:40 2020 @author: luis """ from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditi...
[ "luis.villalta@equifax.com" ]
luis.villalta@equifax.com
11bf5c18556d0ec12b8811ce6b8c58b5f6a74b89
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_bastion_hosts_operations.py
e9e2b432203c460ecf3fde84beb6e7316a25505d
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
scbedd/azure-sdk-for-python
ee7cbd6a8725ddd4a6edfde5f40a2a589808daea
cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a
refs/heads/master
2023-09-01T08:38:56.188954
2021-06-17T22:52:28
2021-06-17T22:52:28
159,568,218
2
0
MIT
2019-08-11T21:16:01
2018-11-28T21:34:49
Python
UTF-8
Python
false
false
23,315
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 may ...
[ "noreply@github.com" ]
scbedd.noreply@github.com
d8c6f572b90b4147a1bb9d3fb26e2d26ca22d93e
1cbc08b6c08d71a2d772fdf9cd4c8969d1852745
/book/migrations/0001_initial.py
f831b8e9fc573b5cf49e6f741f86f660c011eed7
[]
no_license
sabarinathem/PersonalNote
33cd72bdf1e788d587b8262123888e314ae0165e
f77f725b62f1ff881b390d035d084729dac37aa0
refs/heads/master
2023-06-23T22:24:43.966544
2021-07-21T02:54:34
2021-07-21T02:54:34
387,697,855
0
0
null
null
null
null
UTF-8
Python
false
false
718
py
# Generated by Django 3.1.6 on 2021-07-09 17:31 import ckeditor.fields from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Note', fields=[ ('id...
[ "sabarin992@gmail.com" ]
sabarin992@gmail.com
a00292625c5617368acd829e05ba71283718d3f2
e45c6f36a065b6a44e873a773428105de4d3758e
/bases/br_capes_bolsas/code/br_capes_bolsas.py
1ba002723fa36f55f75f27b1fb4667349433197b
[ "MIT" ]
permissive
basedosdados/mais
080cef1de14376699ef65ba71297e40784410f12
2836c8cfad11c27191f7a8aca5ca26b94808c1da
refs/heads/master
2023-09-05T20:55:27.351309
2023-09-02T03:21:02
2023-09-02T03:21:02
294,702,369
376
98
MIT
2023-08-30T21:17:28
2020-09-11T13:26:45
SQL
UTF-8
Python
false
false
7,492
py
################################################################################ # Paths + packages ################################################################################ # pylint: disable=C0114 # pylint: disable=C0103 # pylint: disable=C0301 from glob import glob import os import pandas as pd import basedo...
[ "noreply@github.com" ]
basedosdados.noreply@github.com
018349853b6d5708e9340b338eb6e055342cdf88
cb9cf1513e60459539297be2b4b2e859a470d058
/SemanticLCMS/views.py
9d3ce0371f1ee994273200dd2dbdf92ff106f719
[]
no_license
v--victoria/SemanticLCMS
fc5f2403fa4501dc97b773eb6976a37f0d9ad017
d17e33a3bb6a8d9cd6b7ce65dc5d6ec8419712d9
refs/heads/master
2021-01-13T02:22:43.736584
2012-04-16T14:31:27
2012-04-16T14:31:27
3,647,589
1
0
null
null
null
null
UTF-8
Python
false
false
104
py
from django.http import HttpResponse def site_root(request): return HttpResponse("This is site root")
[ "v--victoria@mail.ru" ]
v--victoria@mail.ru
c96600d8df0c71c9474c3800539ef8bee09a58f2
a3c662a5eda4e269a8c81c99e229879b946a76f6
/.venv/lib/python3.7/site-packages/pylint/test/functional/protected_access_access_different_scopes.py
dc09aa52b3512a8ea982ac27c04541df81938041
[ "MIT" ]
permissive
ahmadreza-smdi/ms-shop
0c29da82c58b243507575672bbc94fb6e8068aeb
65ba3f3061e2ac5c63115b08dadfe7d67f645fb6
refs/heads/master
2023-04-27T19:51:34.858182
2019-11-24T20:57:59
2019-11-24T20:57:59
223,616,552
6
2
MIT
2023-04-21T20:51:21
2019-11-23T16:09:03
Python
UTF-8
Python
false
false
235
py
# pylint: disable=missing-docstring, too-few-public-methods class MyClass: async def method(self): pass def function(): assert self.attr # [undefined-variable] def func(): self.attr += 2 # [undefined-variable]
[ "ahmadreza.smdi@gmail.com" ]
ahmadreza.smdi@gmail.com
27ea9aed78564a6b914a24cd57907922d5fcb6bc
6ffa9927f85ba76e2861a8d0c4eb0da35907b84c
/gitcommonsync/tests/test_ansible_module.py
0248fe62a65939e7a1913c6a2166bd8c12a33b0e
[ "MIT" ]
permissive
wtsi-hgi/git-common-sync
385503795a08dcaddacdfddb400b9204d1c4a6ea
ac0de27f056a2e5b876aeed36b5026fe380405ac
refs/heads/master
2021-05-23T05:46:47.446675
2018-02-06T14:59:25
2018-02-06T14:59:25
94,917,883
0
0
null
null
null
null
UTF-8
Python
false
false
894
py
import os import shutil import subprocess import unittest import sys from copy import copy _SCRIPT_LOCATION = os.path.dirname(os.path.realpath(__file__)) _PROJECT_ROOT = os.path.join(_SCRIPT_LOCATION, "../..") _ANSIBLE_TEST_PLAYBOOK_LOCATION = os.path.join(_SCRIPT_LOCATION, "ansible/site.yml") _ANSIBLE_PLAYBOOK_BINARY...
[ "colin.nolan@sanger.ac.uk" ]
colin.nolan@sanger.ac.uk
5c7c36c4ab8b3953cb6ebe4a1624edd0283e3657
4830b77fb9c27286ae673a8bfab4a582b377afe4
/crossover.py
46b6b999cb138d8b18fed939d245943c4c3d96c3
[]
no_license
May-226/treevolution
52d1568cd2848c2cbff3df8f97d6d2402497f387
b8b58452fcddaf7e2a00e1b2e4f4eb4068087165
refs/heads/master
2021-05-27T06:23:55.618786
2011-02-23T23:40:57
2011-02-23T23:40:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
197
py
def SwitchCrossover(father, mother): child = father.clone() fatherPart = child.randomSubTree() motherPart = mother.randomSubTree() return fatherPart.replaceBy(motherPart)
[ "agermanidis@gmail.com" ]
agermanidis@gmail.com
84782a908c198198cc526d9d4e999e050aaf805b
e5b54b382a69f8a95838ca66416187aa7091c6c6
/tranferencia_TCP.py
4fba293d07d9fa715649b552f8d84dc6ccdab273
[]
no_license
rodrigo-brito/UDP-TCP-Python
c51ee1722a36ee584f3587bb5b18b39208cc8fdb
22960c317725e14642fa5c210b2459cb4309ae90
refs/heads/master
2016-09-06T18:27:32.866823
2015-05-10T12:13:42
2015-05-10T12:13:42
35,369,104
1
0
null
null
null
null
UTF-8
Python
false
false
1,759
py
import sys, time from socket import * tamanhoPacote = 1000 bufferSize = tamanhoPacote dados = bytearray(tamanhoPacote-49) #tamanho base da estrutura é 49Bytes sizeData = sys.getsizeof(dados) port = 13000 #Porta padrão definiada para o servidor def main(): print 'Digite o tipo de terminal' print '1 - Cliente'...
[ "rig.10@hotmail.com" ]
rig.10@hotmail.com
fbd946ec916f112333c385d71ff0ef4e354c1b2b
167594929107c79c2840d5210308f613df0a5da0
/CollegeEvents3/wsgi.py
88c6402528e3c98356421be42aa7334b158779a0
[]
no_license
deepakkumar96/events
c6d298530f1e0f941abfec6bd60b6cecd864dd9d
86fe94410b7ed3b216af035c3e109993e2d4bf2f
refs/heads/master
2021-06-27T10:41:49.549323
2017-09-10T00:17:41
2017-09-10T00:17:41
102,992,681
0
0
null
null
null
null
UTF-8
Python
false
false
406
py
""" WSGI config for CollegeEvents3 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/1.10/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJAN...
[ "deepakkumar21120.dk@gmail.com" ]
deepakkumar21120.dk@gmail.com
8cba483f8c8a549e8c207eadbada8b158a4fecd5
8f2de2232f2c2ea62dec01b9799cec37375064e1
/function.py
4c39bafc3bafd2f0033fadbe9cc2d38e2df99d1d
[]
no_license
bowlingjared/clockIn
80a1dfd356dc73b07763c9459a039674c82f6bbe
e7e21a8997a28f1c16d073dc96aacafd0ecc7e7e
refs/heads/master
2023-04-05T16:58:18.991743
2021-05-06T04:14:15
2021-05-06T04:14:15
348,831,818
1
1
null
2021-05-06T03:42:48
2021-03-17T19:41:57
Python
UTF-8
Python
false
false
63
py
import mysql.connector def curprint(cursor): print(cursor)
[ "jsbowling1@outlook.com" ]
jsbowling1@outlook.com
7f3e5f4af6a7807123ac6069f4568509e5176ed1
9867b641d195c69d3ce99c29d787a3efbfe9b25b
/dianzan/main.py
99c2c287d6a81df8300fd03ecf2411de957b7c31
[]
no_license
gitsocket/3gqq
c02e18b3c8e44eed14c27dce01aaa190bc1fc767
63f240c450fe3b7961b7396bd91edd1330dad390
refs/heads/master
2021-01-17T22:10:09.291800
2013-06-22T18:15:52
2013-06-22T18:15:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,540
py
# -*- coding=utf-8 -*- import requests import libxml2 as xparse import sys #import re reload(sys) sys.setdefaultencoding('utf-8') #import copy __metaclass__ = type class Dianzan: def __init__(self, qq = None, pwd = None): self.qq = 'atupal@foxmail.com' if not qq else qq self.pwd = 'xxxxx' if not p...
[ "kangleyu@hustunique.com" ]
kangleyu@hustunique.com
c20989b41c8e003c2d8576ebbec7485ad2a13b13
eb27efb224118901745a1cafa3e33172cdee9abe
/aula6.py
5f6fa3cb5441ec0b58eb1b85c2cec7a3c8aa9975
[]
no_license
nirlan/estudos-python
0d49d1dcfb5bbd11a6b0887c1a4628b910e4079f
2e42954c518458595196fc60b2874d6069468801
refs/heads/master
2023-08-30T00:23:19.727020
2021-10-22T19:21:05
2021-10-22T19:21:05
411,502,129
0
0
null
null
null
null
UTF-8
Python
false
false
679
py
# LISTAS # Dada uma lista contendo as notas de alunos em uma disciplina, escreva uma # expressão para: # notas = [9,7,7,10,3,9,6,6,2] # a) Encontrar quantos alunos tiraram nota 7 # b) Alterar a última nota para 4 # c) Encontra a maior nota # d) Ordenar a lista de notas # e) A média das notas # a) not...
[ "nirlan858@gmail.com" ]
nirlan858@gmail.com
4affc621ccdbde6f1eb25ca8b51664ca8d465a7c
1105414add7c27eb201a0941e5bc86eb2f09378f
/journey11/src/experiments/protokafka/pb_task_pb2.py
c9cf780702f3dac3825841ad20d3442ae7271d71
[ "MIT" ]
permissive
parrisma/AI-Intuition
d083204267c351bc85c796a79ce43b8ff9d58022
3b081696b1d226815e029cbb536fac5e4d3de9a7
refs/heads/master
2021-07-25T21:07:11.455443
2020-06-06T20:44:17
2020-06-06T20:44:17
193,102,209
0
0
null
null
null
null
UTF-8
Python
false
true
2,344
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: pb_task.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _refle...
[ "parris3142@hotmail.com" ]
parris3142@hotmail.com
273ec434d6bce6b341c5479813456158666b3de1
9f866ef02765f58fa190eb454fa1506543cd7b3e
/hw_2.7.Interview.py
4656213fb88d7c39c885f7a670ee024333e316c5
[]
no_license
TTTT19/hw_2.7.Interview
999fa2691c2258e34d8c7f4ccfcef90b9a39119d
2c876912d1db607bb60b587dc19a679ac524e01b
refs/heads/master
2022-06-28T11:07:40.999381
2020-05-05T19:57:12
2020-05-05T19:57:12
261,570,025
0
0
null
null
null
null
UTF-8
Python
false
false
1,446
py
# Используя стек из задания 1 необходимо решить задачу на проверку сбалансированности скобок. # Сбалансированность скобок означает, что каждый открывающий символ имеет соответствующий ему закрывающий, # и пары скобок правильно вложены друг в друга. Сбалансированными последовательности будут следующие скобки: # (((([{}]...
[ "t.a.kamalov@gmail.com" ]
t.a.kamalov@gmail.com
f3c9a2447311da40a719b7781aecbaf8ec5d8702
4f912d37c8b3f22fdbe43a1eaaf5d8c49828a732
/frozenlake.py
6f14b47d609cb66d56ee88ff6fc576ea84de963b
[]
no_license
OneRaynyDay/FrozenLakeMDP
4f059bd26d718b88f7a26718eefa47415e99c907
6a97b96ec7abc05f32831da4d2ce319ba352b80a
refs/heads/master
2020-03-18T00:57:34.029178
2018-05-20T05:11:54
2018-05-20T05:11:54
134,120,954
3
0
null
null
null
null
UTF-8
Python
false
false
2,695
py
""" Let's use Value Iteration to solve FrozenLake! Setup ----- We start off by defining our actions: A = {move left, move right...} = {(0,1),(0,-1),...} S = {(i,j) for 0 <= i,j < 4} Reward for (3,3) = 1, and otherwise 0. Probability distribution is a 4x(4x4) matrix of exactly the policy. We have pi(a|s), where a in A,...
[ "rayzhang@g.ucla.edu" ]
rayzhang@g.ucla.edu
f6ec9a2466c9c6bdffce49b48aa2583e1513892d
900fd1ea2880dc49f7861a5d0f6dfaa964e66760
/objects.py
cc735f8bcaa232c17b5bda61203e6e78be85bfe7
[]
no_license
lorenzatesta/ProgrammingLab
7511469ebee09b2bd0b135e98d18b322b61d97c3
39590b6b5eb120e715c26e413a6b3321a164277e
refs/heads/main
2023-01-23T19:54:49.112371
2020-12-13T15:13:01
2020-12-13T15:13:01
310,655,294
0
0
null
null
null
null
UTF-8
Python
false
false
3,580
py
#====================== # Classe per file CSV #====================== class CSVFile: def __init__(self, name): # Setto il nome del file if not isinstance(name,str): raise Exception ("Nome file non stringa") self.name = name #funzione che legge i valori numerici da...
[ "replituser@example.com" ]
replituser@example.com
f8a86308a4ec0cf2d9cfe769816db63ac308dc05
8a70943af8743c8c418af12afd79922ee3725121
/ask_me/functions/functions.py
cea8cf12f07465d04de1c218218df0d7593f9628
[]
no_license
prdepyadv/Qna
f16ce6437b5b4fb982a4c37613e3e353d40b3d46
30d89fcdb4d484dfe9d19e399d8a4e97a15e09b3
refs/heads/main
2023-06-24T07:59:21.650873
2021-07-25T15:22:07
2021-07-25T15:22:07
326,346,338
0
0
null
2021-01-16T08:55:20
2021-01-03T06:49:52
JavaScript
UTF-8
Python
false
false
175
py
""" def handle_uploaded_file(f): with open('polls/static/upload/'+f.name, 'wb+') as destination: for chunk in f.chunks(): destination.write(chunk) """
[ "prdepyadv@gmail.com" ]
prdepyadv@gmail.com
a04586f6e1f901ffea070d2774881df4e4b2f004
a5ce4e2a3c23506e7ec5b662632d1df3150016b5
/ProblemSets/Computation/PS3/growth_model/stochastic/ipopt_wrapper.py
8d99b451423fc85f940f45d48c87d1832623f033
[]
no_license
ashenk99/BootCamp2019
ae9b9c625a0c2bdb4972a987cb0fb675be4c0615
7ef56c790391c4d28d125dd0c8856d9a089e85b2
refs/heads/master
2020-06-13T05:14:45.238413
2019-08-08T16:27:33
2019-08-08T16:27:33
194,547,653
0
0
null
2019-06-30T18:21:50
2019-06-30T18:21:50
null
UTF-8
Python
false
false
7,573
py
#======================================================================= # # ipopt_wrapper.py : an interface to IPOPT and PYIPOPT # # Simon Scheidegger, 06/17 # #======================================================================= ##from parameters import * from econ import * import numpy as np #=========...
[ "abs63@duke.edu" ]
abs63@duke.edu