blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
3228207b933aff1eef3e25d4fb842256ce6527f5
a1d1d9604b9ca0fcf5a3dff737b8c7951655e6e3
/contrib/osm/admin.py
71cf194867359737f38b3ab7ebf0e02851faef00
[]
no_license
Nikolay89Veselinov/Python-Django
d49ef8ee1656ca311f28c6f125432be8a1815a59
7e76322b40e6dd2f6ef661305a3abba04961cd6d
refs/heads/master
2023-02-22T06:38:19.422972
2022-09-03T08:55:52
2022-09-03T08:55:52
183,636,163
0
0
null
2023-02-16T02:20:15
2019-04-26T13:45:37
Python
UTF-8
Python
false
false
280
py
from django.contrib import admin from .forms import OpenStreetMapsForm from .models import OpenStreetMaps @admin.register(OpenStreetMaps) class OpenStreetMapsAdmin(admin.ModelAdmin): list_display = ('location', 'location_lat', 'location_lon') form = OpenStreetMapsForm
[ "nikolay.veselinov@industria.tech" ]
nikolay.veselinov@industria.tech
9fd27f6fbd9d9d6ee8eacadd461d9117b4a3fc0f
205fad3beb88de74ab5e66f17b4179029f99a79a
/data_handler.py
6ed0bff9b6f8aa7babca9ecce9fc09b54ad764d3
[]
no_license
AaronMcDaniel/Machine-Learning
c0d0ccd48a8bac74524953b4c839f132bfacbcb7
2c5f243ff132176475d894f4cb89f48c108399a0
refs/heads/master
2021-09-05T11:04:50.660961
2018-01-24T21:14:04
2018-01-24T21:14:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,536
py
import config import logging import numpy train_file_path = "" test_file_path = "" train_data_features = [] train_data_target = [] test_data_features = [] test_data_target = [] """ Takes 2 args and returns array of length 2 First: first line from csv to put in array Last: last line from csv to put in array Element...
[ "aaronmcdaniel7@gmail.com" ]
aaronmcdaniel7@gmail.com
aef326127b390a5f120d15e8ddd9d4ac25e619e6
08a04d7eebc4f321b88889e7b150980682dfb4e2
/projekt/backend/biljnevrste/biljnevrsteapp/serializers.py
f09f37f51fa975f0e7c9e3180bc74fa9971f95a5
[ "MIT" ]
permissive
vdavid033/biljnevrste_repo
94c601b5e69386d8a2249cae0ade0e378b197d86
72517f1403b539f152c71a64aab9e1e0d1ab034f
refs/heads/master
2022-05-08T00:57:03.715454
2021-03-18T09:22:05
2021-03-18T09:22:05
178,878,491
0
14
MIT
2019-07-21T12:14:38
2019-04-01T14:14:56
Vue
UTF-8
Python
false
false
1,152
py
from rest_framework import serializers from .models import * class UporabniDioSerializer(serializers.HyperlinkedModelSerializer): class Meta: model = UporabniDio fields = '__all__' class SlikaSerializer(serializers.HyperlinkedModelSerializer): class Meta: model = Slika field...
[ "ivan.miljancic@gmail.com" ]
ivan.miljancic@gmail.com
c2631ce8b813c20f3ce59d54ef82654854bb3039
bf6d68d11de37370aca5d25a6d07540a11ef3a6f
/servo.py
2a7a8c3d9408b4d590e78ed1dc1cc4afb1a4f9a4
[]
no_license
pranavkumar14/mac_secure
96434047779a948c081a95b65f5a62f7654e84a6
e57ab072ab82d9166308d539a95334572e40d41b
refs/heads/master
2023-02-28T09:20:48.770086
2021-01-25T06:25:09
2021-01-25T06:25:09
248,576,014
0
0
null
null
null
null
UTF-8
Python
false
false
964
py
import RPi.GPIO as GPIO import time control = [5,5.5,6,6.5,7,7.5,8,8.5,9,9.5,10] servo = 22 GPIO.setmode(GPIO.BOARD) GPIO.setup(servo,GPIO.OUT) # in servo motor, # 1ms pulse for 0 degree (LEFT) # 1.5ms pulse for 90 degree (MIDDLE) # 2ms pulse for 180 degree (RIGHT) # so for 50hz, one frequency is 20ms # duty cycle...
[ "pranavkr@iitk.ac.in" ]
pranavkr@iitk.ac.in
350dc7421d7e9e8ac47a29f996ee16ce8cc60c26
81b7f356f398ba14840e269543cea0be854f73f2
/Practices/Parser/myParser.py
6b60dd2e7f79fb3792d32360e233db001f90f18a
[]
no_license
Gaetano-svg/assignment-1-FLC
684ac95784f86312e05aa3121a47bd5fced1721b
4f72ad2fae5501aacfae71104d0bdd0d790444c3
refs/heads/master
2022-11-20T10:37:09.287021
2020-07-23T17:46:13
2020-07-23T17:46:13
276,305,791
0
0
null
null
null
null
UTF-8
Python
false
false
881
py
from myLexer import * import ply.yacc as yacc import sys class MyParser: # CONSTRUCTOR def __init__(self,lexer): print("Parser constructor called") self.parser = yacc.yacc(module=self) self.lexer = lexer # DESTRUCTOR def __del__(self): print('Parser destructor called....
[ "gaetano.buscema@eng.it" ]
gaetano.buscema@eng.it
5c42e68ba59c0d1d41a1f63d44a2ada7b21b1563
ff00423c4d9f243fab6b7e89c7343a03bb6ba255
/opt_inveneo/config-server/cfgsrv/controllers/template.py
1e33fdb95bb1e047c4d354eb683977583d952756
[]
no_license
yuuhhe/hub-linux-ubuntu
7fd381812a92adcc96c06e985526e575a4791c78
1cd38df59a9c50a75821ada99e3511d02fbf4e6e
refs/heads/master
2023-03-21T22:33:19.387258
2009-01-10T01:57:16
2009-01-10T01:57:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
853
py
from cfgsrv.lib.base import * class TemplateController(BaseController): def view(self, url): """By default, the final controller tried to fulfill the request when no other routes match. It may be used to display a template when all else fails, e.g.:: def view(self, url): ...
[ "jwiggins@539d6c29-9a2f-0410-8196-a36328eba1ad" ]
jwiggins@539d6c29-9a2f-0410-8196-a36328eba1ad
806dd87fdab4b15264e919652669fc5c58a3b736
2961d4116352eb67240ba1e080ca2e75676ec822
/dmcuo/obj_fun.py
c6ba5790277acb44c09fc306930af28e49d001bf
[ "CC0-1.0", "CC-BY-4.0" ]
permissive
Leibniz-IWT/dmcuo
108677b28a03ad9c40835253c5359c64e99fa586
20cf76807168a5fbb9760410fdea5061e724a83e
refs/heads/main
2023-04-10T01:47:02.121807
2022-04-26T10:59:43
2022-04-26T10:59:43
478,118,914
0
0
null
2022-04-22T14:44:35
2022-04-05T12:29:19
Jupyter Notebook
UTF-8
Python
false
false
5,201
py
import numpy as np import scipy.integrate from dmcuo.reaction_kinetic_ODE_system import reaction_kinetic_ODE_system, dcdt_r from dmcuo.diffusion_controlled_release import diffusion_controlled_release #%% Objective function that calculates the root mean square error (RMSE) between experimental data and model for a...
[ "stefan.c.endres@gmail.com" ]
stefan.c.endres@gmail.com
84151b8fd0d9de30ea50e5c64b084ff3ebf542d7
9cf30f3ff4df5f311977b47cd3dc261d4a9bf316
/tests/test_io.py
03b29d84bfa579530e69077f2caab53ba348b1aa
[ "Apache-2.0" ]
permissive
vovkd/ambient
187600e8e307fe29b3326c4363a6d0a40686d8d7
3bccedcea57afec3dd427da8134ab2b149717741
refs/heads/master
2022-09-04T08:20:37.668724
2020-05-30T09:48:49
2020-05-30T09:48:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,251
py
import json import pytest from ambient.core import BaseElement, SensorMISO from ambient.construction import ConstructionLayered from ambient.material_data import Brickwork, HeavyweightConcrete from ambient.simulation import Simulation from ambient.io import SimulationEncoder, simulation_decoder def encode_simulatio...
[ "noreply@github.com" ]
noreply@github.com
dad0e1127e3cb9a4a83e34b3b395685797c291ec
570c89f2ed204ab6289fa9b99df2eaf726208918
/cambnet/home/urls.py
ad9c48a34b928e2c725ed5ef964f24961825e6f9
[ "MIT" ]
permissive
pjlong/cambNet
05008eea4fbb09091318ed09747123a6566554c2
195a3294e1f185192c8fc449f89db6757d4d93c9
refs/heads/master
2021-01-10T19:37:42.617560
2014-04-06T04:05:34
2014-04-06T04:05:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
342
py
from django.conf.urls import patterns, url from . import views urlpatterns = patterns('', url(r'^$', views.IndexView.as_view(), name="index"), url(r'^contacts/$', views.ContactsView.as_view(), name="contacts"), url(r'^login/$', views.LoginView.as_view(), name="login"), url(r'^logout/$', views.LogoutView.as_view...
[ "phil.long.09@gmail.com" ]
phil.long.09@gmail.com
7c0c761e0eb874e87225b67b92c6c871ca3ea0aa
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa3/sample/str_cat-207.py
53a36c0c4f2221975566cc4362fa0f79bd194121
[]
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
283
py
a:str = "Hello" b:str = "World" c:str = "ChocoPy" def cat2(a:str, b:str) -> str: return a + b def cat3(a:str, b:str, c:str) -> str: return a + b + c print(cat2(a, b)) print(cat2("", c)) print(cat3(a, " ", c)) print(len(a)) print(len(cat2(a,a))) print(len(cat2($Exp,"")))
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
04640dde560910e0832261ea2972e720f222af3c
c0b6f77fce4a35001ac75d9375eac682780c72cd
/experiments/heli/plotting/plot_trajectories.py
5e11cf21d79a94fe0198595dcd8167631e0f9ca0
[ "MIT" ]
permissive
sisl/CEEM
aef7854211887939f582fef9ce4fa9ac23a30567
6154587fe3cdb92e8b7f70eedb1262caa1553cc8
refs/heads/master
2023-07-19T17:56:31.222617
2021-03-16T15:59:43
2021-03-16T15:59:43
266,781,728
6
1
MIT
2023-07-06T21:36:26
2020-05-25T13:07:42
Python
UTF-8
Python
false
false
2,885
py
import matplotlib.pyplot as plt import torch import numpy as np from ceem.data_utils import * from ceem.smoother import EKF import pandas as pd import click import matplotlib matplotlib.rc('text', usetex=True) matplotlib.rcParams['text.latex.preamble'] = [r"\usepackage{amsmath}", r"\usepackage{siunitx}"] ttl = [ '...
[ "kunal.menda@gmail.com" ]
kunal.menda@gmail.com
aa636c9ca9af2c8cd6fb080c9f59f7c4ee955c0c
edc698773f4cd334c1a12c891c291037f75374a9
/BWG/migrate.py
7ca4c04f8d9c6f72184fb919e35e74e62c78412a
[]
no_license
oodavy41/MyToysBox
ba56e3913b54c2f7eb35a49ef4576da1c6bcfe1a
80e34a3e9d66f99fa5335881760a8fa25a2e993e
refs/heads/master
2020-03-25T05:16:51.955406
2018-10-20T07:58:48
2018-10-20T07:58:48
143,438,527
0
1
null
null
null
null
UTF-8
Python
false
false
465
py
import requests url='https://api.64clouds.com/v1/' methods=[ 'start', #0 'stop', #1 'restart', #2 'migrate/getLocations', # 3 'migrate/start', #4 ] locations=['USCA_3','USCA_8'] veid='' apikey='' data={ 'veid':veid, 'api_key':apikey, } r=requests.post(url+methods[3],data) if(r.json()[...
[ "keke.ly@qq.com" ]
keke.ly@qq.com
567854f29d38416103ec3318189d55778dbeb556
41ede4fd3bfba1bff0166bca7aee80dcf21434c6
/suvari/gtk2chain/gtk2deps/libXinerama/actions.py
c2c1791cced00ef75b6b069b187e330f85971b39
[]
no_license
pisilinux/playground
a7db4b42559a21cc72fd4c8649e0231ab6a3eb3c
e4e12fff8a847ba210befc8db7e2af8556c3adf7
refs/heads/master
2022-08-12T23:03:27.609506
2022-08-11T18:28:19
2022-08-11T18:28:19
8,429,459
16
22
null
2022-08-11T18:28:20
2013-02-26T09:37:11
Python
UTF-8
Python
false
false
501
py
# -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/licenses/gpl.txt from pisi.actionsapi import get from pisi.actionsapi import autotools from pisi.actionsapi import pisitools def setup(): autotools.autoreconf("-vif") autotools.configure("--...
[ "suvarice@gmail.com" ]
suvarice@gmail.com
bcb747edf6ec8afb40c371fd72f64777ffa569af
1a960f04a6a110b1d28aa5952ea0f9d692ef59a4
/Ccircle.py
3824ee6a999397d7caf513c0d7c415e084e782fa
[]
no_license
Harshi4501/sdc
56b1f6228473250627a1878051a3aee9ec85ed5b
a4373920191a22433646978e8eff2422c3e7464f
refs/heads/master
2022-11-08T05:30:33.908786
2020-07-03T13:19:34
2020-07-03T13:19:34
273,440,782
0
0
null
null
null
null
UTF-8
Python
false
false
62
py
pi=3.14 r=int(input('enter r value')) C=2*pi*r print(float(C))
[ "noreply@github.com" ]
noreply@github.com
1380ea09dd1f94d2c508b5b43f86f5cef8851fcc
72c65a163dc71c297d1e301be592ef2444d851ae
/hypertext_search_engine/venv/Scripts/easy_install-3.7-script.py
2089c0d0e5577df3875a6dd2352600c9bfcc125a
[]
no_license
chododom/Hypertext-Search-Engine
adb3bb70d08bb336286fb5638cbf0e9b753f2e62
f5e300e1c34b14178c5e58d940b21c541c35c318
refs/heads/master
2021-01-26T10:52:11.611958
2020-02-27T02:20:25
2020-02-27T02:20:25
243,410,923
0
0
null
null
null
null
UTF-8
Python
false
false
474
py
#!C:\Users\domin\PycharmProjects\hypertext_search_engine\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install-3.7' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub...
[ "chododom@fit.cvut.cz" ]
chododom@fit.cvut.cz
cf86aceb5820c92771bd860a1bc51af30603247b
9e699ff5260fba7bd22e6fb20840f1ea1d687f80
/materials/lesson2/elif.py
85ec5674a2186ca3d97f825def3842f7ff7996ae
[]
no_license
mohsr/teaching
a47110acd01e73e32c8f0c94ea556080b1e0e1a3
236d4127fa7ef46845ab03cc6407e372447a97e1
refs/heads/master
2022-11-11T14:02:59.871076
2020-06-19T23:51:12
2020-06-19T23:51:12
259,089,553
0
0
null
null
null
null
UTF-8
Python
false
false
645
py
x = input("Hi, what's a word that start with a lowercase 'h', 'f', 'r', or 'b'?\n") # Initialize firstchar to the first letter in the input firstchar = x[0] # Depending on the first character of the input, one of the below blocks will be executed # Please note that these blocks can contain more than just one line...
[ "mkrizvi98@gmail.com" ]
mkrizvi98@gmail.com
5da847c0b33aee2c7f5c9ccb80599d53300b720b
c1a02771eefb6a92e168d7f25be5e4458396ce51
/test_demo/继承.py
f7ee8e0c6482bb65e675aa86a714f4577a478863
[]
no_license
MS-MS-MS/Python_HogwardsCas1
a1db2963a4071d6533050954e5b0568e98482161
3c79932e1b6163a95df3522e60d2c73fd13f05f4
refs/heads/master
2023-06-27T05:04:45.709725
2021-07-27T09:22:10
2021-07-27T09:22:10
389,921,614
0
0
null
null
null
null
UTF-8
Python
false
false
5,587
py
# -*- coding: utf-8 -*- """ @Time : 2021/7/19 14:26 @Author : MaSai @FileName: 继承.py @SoftWare: PyCharm """ # class App: # def start(self): # print('starting') # # class Android(App): # def getVersion(self): # print('Android version') # # app = Android() # app.start() # app.getVersion() # c...
[ "13439718124@163.com" ]
13439718124@163.com
2bd6e002d9e835685cc5ef00b7b9d62a2f0170b6
43aaa36545fc51e25c893b4f8a18d3f4cec7d06e
/myapp/views/middleware.py
91d9171befc5a5c050be317b683724dcda510a84
[]
no_license
cuongnmfis/dms
092a431d47a80e10c408732b76bf640fabc571fe
239f250b40ff6b0415bb376cb1dbe9d476e2063f
refs/heads/master
2016-09-06T04:30:36.821013
2014-08-29T06:34:40
2014-08-29T06:34:43
22,334,492
1
0
null
null
null
null
UTF-8
Python
false
false
1,511
py
from datetime import datetime, timedelta from django.conf import settings from django.contrib import auth from django.http import HttpResponseRedirect from social import exceptions as social_exceptions from django.shortcuts import render from social.apps.django_app.middleware import SocialAuthExceptionMiddleware cla...
[ "cuongnm@ex-aritsan.com" ]
cuongnm@ex-aritsan.com
8c64931e9e6282a29f1af519ba9797a115e95d85
d48a65c5117bf58334e833f116ea9cda8622d49a
/Day 1/part2.py
fb76c661a52c3eb7ced67148ee9cb232ef76723e
[]
no_license
shanscendent/adventofcode2019
ec55dd55ea9a515d8a02c24ebc56e23ed083474d
178509a89e795a837504048278fa0b00cd1f8cd0
refs/heads/master
2020-09-22T21:07:07.605613
2019-12-10T03:15:26
2019-12-10T03:15:26
225,321,677
0
0
null
null
null
null
UTF-8
Python
false
false
261
py
sum_fuel = 0 def calc_fuel(mass): fuel = max(0, mass//3-2) if fuel > 0: fuel += calc_fuel(fuel) return fuel with open('Day 1/input.txt') as f: for mass in f: fuel = calc_fuel(int(mass)) sum_fuel += fuel print(sum_fuel)
[ "shanlee41@gmail.com" ]
shanlee41@gmail.com
1096ceab5c58b730c11c204555f2b606334dfd5b
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/hzQ6dEJ2GfscAZzND_23.py
6d6b618bba5d6f707d882f094ff6b102bf50e42f
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
713
py
""" Create a function that takes a number as its parameter and returns another function.The returned function must take a list of numbers as its parameter, and return a list of the numbers divided by the number that was passed into the first function. ### Examples first = factory(15) // returns a function ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
036728c8539de1e4ffdb7febac03951f52e1e078
967e27373e9f0e9e09a23f1bbd17c60c5fede8fe
/ensemble.py
3d4196a1dd78be6ea8062649eb604c54cf9ece81
[]
no_license
indrajitsg/ants-and-bees-pytorch
4dabd68e6d8fd1496b18b92c5beb809cf9535dd7
c0c20899a4a7a5b360c5fa0c31bfcb5f1bdc8ad1
refs/heads/master
2020-06-28T07:23:21.112010
2019-12-22T17:34:38
2019-12-22T17:34:38
200,174,543
0
0
null
null
null
null
UTF-8
Python
false
false
3,496
py
import torch import torch.nn as nn from model.resnet import resnet18 from model.inception import inception_v3 from model.vgg import vgg16 from model.alexnet import alexnet from data_loader.data_loader import get_data_loader from model.utils import LayerActivations from torch.utils.data import DataLoader from torch.util...
[ "indrajitsg@gmail.com" ]
indrajitsg@gmail.com
a8ac262ff307dda8d37f5d10bb8684c77d8778fe
d85430e4728e14c243734d5f2a2b81c7d9f3b018
/PythonProjects/back/ques.py
5f0e3d16876eba4c5016e7f1bc9b84dea9374fa6
[ "Apache-2.0" ]
permissive
mhrcbdlndllr/school_projects
5001cada69ccfca52c1f59876588c79e88495c3e
7dea1587a0cf5bbbea716d3bff9f0a31ea34d232
refs/heads/master
2022-12-01T06:52:10.711285
2020-08-21T09:20:27
2020-08-21T09:20:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,535
py
# import from tkinter import * # start class Question: def __init__(self, question, answers, correctLetter): self.question = question self.answers = answers self.correctLetter = correctLetter def check(self, letter, view): global right if(letter == self.correctLetter): ...
[ "mhrcbdlndllr@gmail.com" ]
mhrcbdlndllr@gmail.com
44ec356d33a6eeb229f8a08e5c38a02ca2b32098
75a179e8ddba54442697de87a3846f1711a30bae
/custompermission/api/views.py
a22c47ef90caba6c8771d00567decb8b3d0a670d
[]
no_license
amanlalwani007/drftutorial
2b5a5338b3146b1feb88c4d815fbf996dd49cb9d
4f5c651f4dee98a359b7a6e34d0ae9a8f8630e68
refs/heads/master
2023-07-09T01:28:04.921042
2021-08-21T10:59:06
2021-08-21T10:59:06
392,457,445
0
0
null
null
null
null
UTF-8
Python
false
false
573
py
from .models import Student from .serializers import StudentSerializer from rest_framework import viewsets from rest_framework.authentication import SessionAuthentication from rest_framework.permissions import IsAuthenticated, AllowAny, IsAdminUser, IsAuthenticatedOrReadOnly, \ DjangoModelPermissions from .custompe...
[ "amanlalwani0807@gmail.com" ]
amanlalwani0807@gmail.com
1a6c7b44d67d833628cf5424c42ec8b76fb2e6f7
5bccad1a5df268dc3d5d3c21a32dc42a55a048b3
/WebApp/Scripts/pip3.7-script.py
3c779abf9135eaf5e5a35f23a7d5ff032935c4e5
[]
no_license
ihenisa1972/PycharmProjects_Archive
153f97638804fa166a384994a9518b194c250b54
a077aa0a24c5f1569e6ea6ceeac3d3c092875eb7
refs/heads/master
2022-10-11T15:54:20.653231
2018-12-20T02:31:56
2018-12-20T02:31:56
161,859,746
0
1
null
2022-10-01T10:43:23
2018-12-15T01:50:43
Python
UTF-8
Python
false
false
409
py
#!C:\Users\Ian\PycharmProjects\WebApp\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3.7' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) ...
[ "ihenisa1972@gmail.com" ]
ihenisa1972@gmail.com
68516eb8465dd0d6a43d17922aeacc2e62549fc3
b3ab2979dd8638b244abdb2dcf8da26d45d7b730
/test/test_update_request_permission_set_request_model.py
1cd01805888beee5d37b87cb5335ebce540773ae
[]
no_license
CU-CommunityApps/ct-cloudcheckr-cmx-client
4b3d9b82c5dfdaf24f8f443526868e971d8d1b15
18ac9fd4d6c4ae799c0d21745eaecd783da68c0c
refs/heads/main
2023-03-03T19:53:57.685925
2021-02-09T13:05:07
2021-02-09T13:05:07
329,308,757
0
1
null
null
null
null
UTF-8
Python
false
false
1,111
py
# coding: utf-8 """ CloudCheckr API CloudCheckr API # noqa: E501 OpenAPI spec version: v1 Contact: support@cloudcheckr.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import cloudcheckr_cmx_client from cloudcheckr...
[ "pea1@cornell.edu" ]
pea1@cornell.edu
b5862c54903294ec07c26c54d450861018205faf
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_blitzes.py
605e73b62180965fa4fde07a03eb8b38914f2909
[ "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
233
py
from xai.brain.wordbase.nouns._blitz import _BLITZ #calss header class _BLITZES(_BLITZ, ): def __init__(self,): _BLITZ.__init__(self) self.name = "BLITZES" self.specie = 'nouns' self.basic = "blitz" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
e897e05550669ef4b3983ee510a446baff801559
3ff8326ff6e046f3e7eed99c59647febcdb095bd
/test_issue_1.py
0c8507e2623f6a7df8093ba61537e1a52591b5df
[]
no_license
ianmiell/beggarmypython
79e903a33029ddb6527871c9803e7e45bade66b0
216dd6f615d7acb7d899b538287c4cc2ea76463c
refs/heads/master
2021-01-15T11:03:43.003778
2017-08-07T19:30:49
2017-08-07T19:30:49
99,610,155
0
0
null
2017-08-07T18:59:03
2017-08-07T18:59:03
null
UTF-8
Python
false
false
477
py
#!/usr/bin/python import beggarmypython print "Issue #1 - should be 52 plays:" beggarmypython.play(('--------------------------','--------------------------'), verbose=False) print "Anderson 2013 - should be 7225 turns (as before fix):" beggarmypython.play(('--A-Q--J--J---Q--AJ-K---K-','-J-------Q------A--A--QKK-'),v...
[ "danieljbwork@gmail.com" ]
danieljbwork@gmail.com
3785ef46107921524feeb1efce983ef4ce78bca2
4d0d13eb04a4fa3273199c11d11b083105c83e80
/tether/models.py
73713a5f8d4594d375bbfa0c0aae1601b2df9ea6
[]
no_license
johnkrausecodes/Tether-Capstone-Application
c76760ea8938eee00c9da31b455215ab2dd095f9
7b139f5f9c4d5516e2362ff1d78a34f6f86d2c03
refs/heads/master
2021-06-18T03:48:48.579636
2017-04-28T08:00:20
2017-04-28T08:00:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,279
py
from django.db import models from django.contrib.auth.models import User from django.template.defaultfilters import slugify from django.db.models import Count from django.db.models.signals import post_save from django.dispatch import receiver from django.db.models import F # League model, PK is league_id and...
[ "noreply@github.com" ]
noreply@github.com
aa63f4f1f740aae73547591aa5da68c7a70c722d
5eb621ec227189a131ac7d19c6cd51937469c00e
/zephir-exports/create_winner_list.py
2b666494df54202447afb455ca2cf0a07aa75808
[ "BSD-3-Clause" ]
permissive
claudiaconrad/zephir-services
b7395bcd51c32f1b3df5ed3e1175e1238fc496e5
f62bd50ab36aa26a15a0264080734304b798d93f
refs/heads/master
2020-04-09T00:29:36.247706
2018-11-30T18:13:31
2018-11-30T18:13:31
159,869,589
0
0
BSD-3-Clause
2018-11-30T19:29:48
2018-11-30T19:29:48
null
UTF-8
Python
false
false
740
py
import json import pymarc from sqlalchemy import create_engine import zlib with open("outcome1.tsv", "a") as outcome_file: engine = create_engine("sqlite:///cache/complete-gz.db", echo=False) with engine.connect() as con: create_table_stmt = "select cache_data from cache" result = con.execute...
[ "charlie.collett@ucop.edu" ]
charlie.collett@ucop.edu
c8d48ca58129e8d8529f7e838f6dd2d9b15da126
4e2113f5192ea82c757516019c3cf470f6a11589
/Classifier/textClassifierFasttext.py
51f487a2fe32df3948c202bac0d94dda4c1b1548
[]
no_license
ChunaraLab/Discrimination-Data-Study
0d52f9c9904343fd542ccd544d32a7c32d7cd570
20cf21111334b961aa4420e8e53b64c527bccea6
refs/heads/master
2023-01-07T06:51:28.685747
2019-01-16T18:58:11
2019-01-16T18:58:11
138,217,866
0
0
null
null
null
null
UTF-8
Python
false
false
7,457
py
'''This example demonstrates the use of fasttext for text classification Based on Joulin et al's paper: Bags of Tricks for Efficient Text Classification https://arxiv.org/abs/1607.01759 Results on IMDB datasets with uni and bi-gram embeddings: Uni-gram: 0.8813 test accuracy after 5 epochs. 8s/epoch on i7 cpu. ...
[ "noreply@github.com" ]
noreply@github.com
9cd94babcd222a66efa7ea8d42ecd04cbe72962a
244cd2612ee79a8b85d4351ebb033803e208e121
/webcrawler_url.py
053fd3f2c1d5563a23d9b9a9806d889120bbcc8e
[]
no_license
thesmritisharma/myprojects
87573f2cfce79e79ed91a1329d126879ec82e259
21d1cffdde697ee6d0dda292b2fd006f12ad6f05
refs/heads/master
2020-03-23T07:10:49.995102
2018-07-17T08:01:23
2018-07-17T08:01:23
141,253,015
0
0
null
null
null
null
UTF-8
Python
false
false
1,478
py
import urllib.request, urllib.parse, urllib.error import lxml.html flag = 0 print("Enter Website") x = input() if "http://" not in x: website = "http://" + x elif "https://" in x: website = "http://" + x else: website = x try: connection = urllib.request.urlopen(website) dom = lxml.ht...
[ "noreply@github.com" ]
noreply@github.com
e5dac068aa152fe869d2807bc6692d6ec415d13c
5e3c8c755cd436e40284d66d41d13ff7868aa80a
/between.py
ef3a124c56a952b941322b4725f8f0bb4623923d
[]
no_license
Deepakumar1806/You_Can_Do
814b1f6dff22f8bc3507b1ef6a2d10777927e2c1
9f1a4e751687e795fbd9be87ed86fbac9fa881af
refs/heads/master
2020-06-05T17:48:55.591845
2019-07-13T05:59:56
2019-07-13T05:59:56
192,502,305
0
1
null
null
null
null
UTF-8
Python
false
false
124
py
start=int(input()) end=int(input()) for num in range(start+1, end + 1): if num % 2 != 0: print(num, end = " ")
[ "noreply@github.com" ]
noreply@github.com
5bf79895f4c2abd627c6fe2a9a9ef1992f00bb89
0a88712593e9d6b888974fcc30c8656e5ef0ec3b
/tug_observers/tug_observer_plugins/tug_timing_observer/scripts/timing.py
a6912da2d138859cbcfd59144792af1f27df39bc
[ "BSD-3-Clause" ]
permissive
annarosejohny/Model_based_diagnosis
72fecd2e49613cd379f055a26cdfa28698a4e0b6
2f66e226fc335ae357001d07fbc74d30ab469509
refs/heads/master
2022-11-23T03:48:44.861440
2020-07-27T09:52:19
2020-07-27T09:52:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,272
py
#!/usr/bin/env python from threading import Lock import rospy from tug_observers import PluginBase, PluginThread, PluginTimeout from tug_observers_msgs.msg import observer_info, observation_info, observation from tug_observer_plugin_utils import Filter, SingleValueHypothesisCheckFactory from tug_python_utils import ...
[ "annar2698@gmail.com" ]
annar2698@gmail.com
260f244588032f462f9f24e95a4b695db69b90b7
d68ae7aa63b50a23ad7ac5e27b7f48a2ad73f769
/test/extras/no_use_pycon.py
e30020788aa1299062f407cf16a349670af05373
[ "Apache-2.0", "MIT" ]
permissive
naginenisridhar/snowflake-connector-python
5f6a1ae04d938f471782a892e2039e64ff3ddedd
6ce771f2b5d16264cdd4e7d369852753198589be
refs/heads/master
2023-09-05T04:20:57.840778
2021-11-17T23:28:33
2021-11-17T23:28:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
338
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (c) 2012-2021 Snowflake Computing Inc. All rights reserved. # # This test tests for SNOW-186747 import requests import snowflake.connector # NOQA r = requests.get( "https://snowflake.com/", headers={"User-Agent": ""}, allow_redirects=False ) assert r.s...
[ "noreply@github.com" ]
noreply@github.com
d6415239f67605998f3d333ff4fbb83839512920
861c5f553d0723325ccd910071f36c8ebaba8845
/thesis_portal/model/__init__.py
757626686acaefd666317cedbc1872ee2c636189
[]
no_license
SirGlorg/thesis_portal
d60115048eec0adac5e2ad121025b9cca0d8942d
a217dd6f0a5e253a6bd22394f9bd7e4401f8c39a
refs/heads/master
2016-09-05T10:32:21.345370
2012-09-24T12:16:55
2012-09-24T12:16:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,342
py
# -*- coding: utf-8 -*- """The application's model objects""" from zope.sqlalchemy import ZopeTransactionExtension from sqlalchemy.orm import scoped_session, sessionmaker #from sqlalchemy import MetaData from sqlalchemy.ext.declarative import declarative_base # Global session manager: DBSession() returns the Thread-l...
[ "sirglorg@gmail.com" ]
sirglorg@gmail.com
5c2c095cc93a7ee32077da9ae0bd55ec22072e48
9769d150f71a0ddd6c19957a78cdfc7a4f4ffdb9
/test.py
0bd3dcf6051532063dbea819ad2b2f928986585a
[ "MIT" ]
permissive
scooler/tic-tac-toe
6a0b4847c9b930e4d364f81075a87b0c1b2619f2
8ec14c0c35dd48edc8718b478e5f4c83891a941a
refs/heads/master
2021-08-23T06:30:04.354780
2017-12-02T00:26:04
2017-12-02T00:26:04
106,172,415
0
0
null
null
null
null
UTF-8
Python
false
false
183
py
import unittest from tests.rule_player_test import RulePlayerTest from tests.score_calculator_test import ScoreCalculatorTest from tests.board_test import BoardTest unittest.main()
[ "palorek@gmail.com" ]
palorek@gmail.com
f113a6e07a3d899c5938f12426977f3c8db3f325
f7bbba6ccb0530baa721e2ce406b3217ddfb322d
/joinquantoption.py
647ce85c0ea2fb57fcea3175ce4f9f8b5e20f5c6
[]
no_license
ZIP-pixel-5/OptionBackTest
9860e72796f2ed121de644d20fb321ddb7067376
8cfb426684945922e1bfaf7e18dc3d282c3a2cac
refs/heads/master
2022-01-22T23:25:10.447858
2018-10-17T02:59:10
2018-10-17T02:59:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,795
py
# joinquan平台版权 # 新元blank - 原创 禁止复制商业贩卖 违者必究 # block不可篡改修正记录 ''' 参照: 上证50ETF期权合约基本条款 合约标的 上证50交易型开放式指数证券投资基金(“50ETF”) 合约类型 认购期权和认沽期权 合约单位 10000份 合约到期月份 当月、下月及随后两个季月 行权价格 9个(1个平值合约、4个虚值合约、4个实值合约) 行权价格间距 3元或以下为0.05元,3元至5元(含)为0.1元,5元至10元(含)为0.25元,10元至20元(含)为0.5元,20元至50元(含)为1元,50元至100元(含)为2.5元,100元以上为5元 行权方式 到期日行权(欧式) 交割方式...
[ "blank.sweet@qq.com" ]
blank.sweet@qq.com
ca99e4cc342d8f1b1652d8cc16043041b229033b
c07494ce640ff5556a9bb596b1b978db9c578ff6
/test_mul.py
881795695b7093279f22e5d6a4b9c2c24a041419
[]
no_license
saimaneesh/python_DS
1f04d27de24d7940943e351b132f0b998658cf2a
b4e51fec6ec0ac2194e14dfa431242b7c40c994c
refs/heads/master
2023-05-12T09:58:31.909685
2021-05-31T06:40:33
2021-05-31T06:40:33
352,960,933
0
0
null
null
null
null
UTF-8
Python
false
false
73
py
import mul import pytest def test_m(): assert mul.mul(2,3)==6,'false'
[ "saimaneeshthaticherla@gmail.com" ]
saimaneeshthaticherla@gmail.com
eb8e4a117c13531cce84262fa88ef50c79dff1be
ee3d8e233370d5a890ba61b00b768f743c979e67
/baekjoon/1904.py
3e6a0c99876563e3fe760c5e26fcfe350281dd62
[ "MIT" ]
permissive
alinghi/PracticeAlgorithm
50384fd12a29964e5aa704784a8867046693eff2
dea49e17337d9d7711e694059e27ceefb4b9d5d5
refs/heads/master
2023-01-23T06:03:40.314459
2020-12-09T14:20:09
2020-12-09T14:20:09
285,253,698
0
0
null
2020-08-13T05:25:44
2020-08-05T10:19:42
Python
UTF-8
Python
false
false
129
py
N=int(input()) #111 001 100 #001+1 00+00 100+1 11+00 111+1 a,b=0,1 for i in range(N): a,b=b%15746,(a+b)%15746 print(b%15746)
[ "alinghi@kaist.ac.kr" ]
alinghi@kaist.ac.kr
b6a04bcc5f707d3243a4afcdb429fd097cd4e31d
8930bd6712f5e75817addb843728f64f2d5f989f
/simple_client.py
9f81bc56837bada2c8291cea3c56d8bda079462c
[ "BSL-1.0" ]
permissive
danilogd/partorrent
ec82baa957cf7eec796ad86b653b093063ed06b3
67f7094219e0a9b7d1d27a67171c1272d83f80eb
refs/heads/master
2021-01-01T19:43:30.518501
2012-06-30T22:56:25
2012-06-30T22:56:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,302
py
#!/usr/bin/env python # Copyright Arvid Norberg 2008, Dave Vasilevsky 2012 # Use, modification and distribution is # subject to the Boost Software License, Version 1.0. (See accompanying # file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt) import libtorrent as lt import time import signal import string imp...
[ "dave@vasilevsky.ca" ]
dave@vasilevsky.ca
d58a7593890481fc52423b257d32ab41e49e23f4
b3ba0797b8f291bc4c220cbe2ab368bdab29fab7
/emily/chess/Chess.py
97d2bc6e477653ef2f96ae86d54ec3ddc978823a
[]
no_license
skyClutch/internets
a4afe561bef72dc4a390c5c5190b755c45dab824
7dcbde45f19d5e46b39917fd7f0bbd36c7a23330
refs/heads/master
2021-05-30T15:15:44.286566
2015-09-23T03:37:52
2015-09-23T03:37:52
41,172,186
0
0
null
null
null
null
UTF-8
Python
false
false
795
py
class Game(object): def __init__(self): class Player(object): def __init__(self): class Board(object): def __init__(self): class Piece(object): def __init__(self, color): self.color = color def move(self): pass class King(Piece): white = u'\u2654' black = u'\u265A' def possible_moves(self): pas...
[ "emily@Emilys-MacBook-Pro-2.local" ]
emily@Emilys-MacBook-Pro-2.local
9ebc9732ec4d9e55ed5ac8412a7037b84f615d27
214521648e76f28de65e2b3444a4e8b5a67d3b28
/from_scratch/lasso.py
28cf6b0011189d56bbd4d2dedbbfafde730f62b4
[]
no_license
krmiddlebrook/ML_by_kai
4433e23e00326700c59755d6a0198c40f52c7e40
33cad88df05f1ff64a432bb602cc82be5c74d691
refs/heads/master
2020-05-15T07:05:34.007847
2019-08-23T20:33:56
2019-08-23T20:33:56
182,133,781
0
0
null
null
null
null
UTF-8
Python
false
false
2,120
py
''' author: Kai Middlebrook Code to recover the weight vector x, given b and A and prior knowledge that x is spare, by solving a Lasso problem. ''' import numpy as np import matplotlib.pyplot as plt #%% numRows = 40 numCols = 200 np.random.seed(6) A = np.random.randn(numRows,numCols) idxs = np.random.pe...
[ "kaimiddlebrook@gmail.com" ]
kaimiddlebrook@gmail.com
1182a84f8f1e204bd08bb9b67b4848cdfb4d4d10
0c35186a5c515f6be01e1915e721beb0798e4dbc
/meetup_13/latency_analysis/files/examples/03.sample_client_throughput5.py
dae621be8c029e569894375c71a9c65b622f0bfb
[]
no_license
pydatacluj/meetup-slides
5232e9a8f95fcb08cdde4ca75b2213154db4688d
a2246a95cae1acd0526467ebbc687bbc394d8845
refs/heads/master
2023-04-06T14:48:37.418580
2021-01-29T08:11:20
2021-01-29T08:11:20
171,817,253
15
4
null
2023-03-24T23:47:11
2019-02-21T06:54:52
HTML
UTF-8
Python
false
false
1,305
py
#requests near above the server processing throughput rate import requests import time from threading import Thread from queue import Queue link = "http://192.168.56.1:8000/" out = open("03.sample_throughput5.csv", "a") out.write("LocalProcessTimeDiffMs,LocalTimeDiffMs,LocalMonotonicDiffMs,RemoteDiffTimeMs,RemotePro...
[ "romain.thalineau@qwertee.io" ]
romain.thalineau@qwertee.io
5af24da10e11fccc1343cc0d16e6ac4ca6982dda
26154f3d52044920336fcfcf0ca1e89f58df0579
/examples/combinedluftdaten.py
2fba254fa905df1fe919612d4dd73edc7875198e
[ "MIT" ]
permissive
mauricecyril/enviroplus-python
260cfb5363ecb617b0a5e9a82a7b14e5021dea0a
b1c9254ec8bdf5ccac351f579add9363bad65696
refs/heads/master
2020-12-03T01:27:44.603310
2020-01-01T04:59:23
2020-01-01T04:59:23
231,176,120
0
0
MIT
2020-01-01T04:43:37
2020-01-01T04:43:36
null
UTF-8
Python
false
false
11,376
py
#!/usr/bin/env python import requests import ST7735 try: # Transitional fix for breaking change in LTR559 from ltr559 import LTR559 ltr559 = LTR559() except ImportError: import ltr559 import time import colorsys import os import sys from bme280 import BME280 from pms5003 import PMS5003, ReadTimeou...
[ "noreply@github.com" ]
noreply@github.com
47c5272664b152664e540934d1c051c8eaf3c6b9
045c5dc9743b218d746014e26cfa8d7fe91a88de
/python/cmd-run.py
87e24db427bc44c30bb26a67882dea4a097e0670
[]
no_license
KitwareMedicalPublications/2020-MICCAI-ASMUS-Automatic-ONSD
02c05d2dd3ec0f2357d2a7b6a7136c5fb05f1aaf
b46cf4000b8df6baaa6dfea9d27c231b18397a2d
refs/heads/master
2022-12-01T03:00:03.257255
2020-08-07T15:23:53
2020-08-07T15:23:53
283,876,018
1
1
null
null
null
null
UTF-8
Python
false
false
1,534
py
import sys from datetime import datetime from ocularus import * from data_manager import * import json import sys sys.setrecursionlimit(30000) # size_id = sys.argv[1] size_ids = ['3mm', '4mm', '5mm', '6mm', '7mm'] # ids = ['3mm-capture_1', '4mm-capture_1', '5mm-capture_1', '6mm-capture_1', '7mm-capture_1'] capture_ids...
[ "brad.moore@kitware.com" ]
brad.moore@kitware.com
e05939b877ab8b45dd5f02bdaecaea04224c8ed5
0b842bcb3bf20e1ce628d39bf7e11abd7699baf9
/oscar/a/sys/platform_basic/platform_basic.py
c0e0d961147716015348a902c79c19714d02ab8e
[]
no_license
afeset/miner2-tools
75cc8cdee06222e0d81e39a34f621399e1ceadee
81bcc74fe7c0ca036ec483f634d7be0bab19a6d0
refs/heads/master
2016-09-05T12:50:58.228698
2013-08-27T21:09:56
2013-08-27T21:09:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,862
py
# # Copyright Qwilt, 2013 # # The code contained in this file may not be used by any other entities without explicit written permission from Qwilt. # # Author: Shmulika # import os import json import a.infra.format.json import platform_base class PlatformBasic(platform_base.PlatformBase): """ TODO(shmulika): do...
[ "afeset@gmail.com" ]
afeset@gmail.com
bc2b9dbdc3eca6bc10e3c77555d011386baaa0b9
1eae48feb5fd8f0eeec2261ba71de38ddcfa4b83
/leetcode/027_removeElement.py
39d2814425f7859c90070fe518d19c6332c40f02
[]
no_license
Korea-code/algorithm
9c13cc85bd15c633be140ea03e4b0afb2b038393
34a71d3dad720402c4b3e9adfced7b4950314eb0
refs/heads/main
2023-02-01T02:44:00.835170
2020-12-16T13:55:50
2020-12-16T13:55:50
314,274,353
0
0
null
null
null
null
UTF-8
Python
false
false
314
py
class Solution: def removeElement(self, nums: List[int], val: int) -> int: length = len(nums) j = 0 for i in range(length): if nums[j] == val: length -= 1 nums[j] = nums[length] j -= 1 j += 1 return length
[ "rlawlgy93@gmail.com" ]
rlawlgy93@gmail.com
07f5270318c8de03732be2125647a3c81dc989e2
a1d87e5f144292c9e1b8b6369e27fb49bf68a405
/encoder/xml.py
fbedf6103869ec09a9075d493ca37086ee662595
[ "Apache-2.0" ]
permissive
blake-sheridan/py-serializer
2507009fe33453ccf145c70b9f7558ad1142f0ee
1ac3b2e320bb3de4deeb133be7840a02019c33c5
refs/heads/master
2020-06-03T12:51:26.580542
2013-05-02T11:29:48
2013-05-02T11:29:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
705
py
import sys sys.path.append('build/lib.linux-x86_64-3.3') import _encoder from . import abc class _TagFactory: def __init__(self, encoder): self._encoder = encoder def __getattr__(self, name): value = self.__dict__[name] = _encoder.Tag(self._encoder, name) return value class Encoder(...
[ "bsheridan@harttech.com" ]
bsheridan@harttech.com
8c5fc38935a674117b20cbd3f6a3038786d0fc2a
76769ef4394477046f646cd4195f5ffe30091d10
/Problems/Counting unique/task.py
ea694370acdd2174bdfc3c1cf580d4ac52838058
[]
no_license
Hemie143/Hangman
10b01c18fa6cbfc275d3758774b1455f2229f84e
cb82a82bb937b917e515b93ad5fb7b634eaca6aa
refs/heads/master
2022-04-25T00:54:51.078640
2020-04-28T20:34:33
2020-04-28T20:34:33
259,745,457
0
0
null
null
null
null
UTF-8
Python
false
false
64
py
# please, work with the variables 'Belov', 'Smith', and 'Sarada'
[ "hemie143@gmail.com" ]
hemie143@gmail.com
4b33bf52d69d4ce418b1861968d8399c41583fa3
64981e55457624f000cf07fdc8394a0f712ba2b5
/graph_generation/fitness_parameter_space/parse_results.py
ebb3c83888453b2f96e242cb8b9b69e86b76368b
[]
no_license
jcbpyle/predprey-parameter-search
e113c5839d61426fc62590fca2da91ff8d07a768
c8c2b9f201a3016afc664fcd5e2adc754fcb2612
refs/heads/master
2021-09-12T17:52:10.858404
2018-04-19T12:46:53
2018-04-19T12:46:53
125,205,980
0
0
null
null
null
null
UTF-8
Python
false
false
4,895
py
# -*- coding: utf-8 -*- """ Created on Wed Dec 13 11:49:49 2017 @author: James """ import pandas as pd import os import matplotlib.pyplot as plt import matplotlib.cm as cm try: import cPickle as pickle except: import pickle import seaborn as sns sns.set_context(rc={"lines.linewidth": 1}) sns.set_style("whiteg...
[ "jcbpyle1@sheffield.ac.uk" ]
jcbpyle1@sheffield.ac.uk
61478897225f0fdf30d0bea7d3d211beeb1d1c41
2d38b91d42de3d209bf5a011193d3b76d24476c7
/ExpensesTracker/ExpensesTracker/wsgi.py
128c7a208b401edafccfa6c8175046aede000df3
[]
no_license
dhariskov/python-web
88143fe2c733a7f8149cd014e9a99d630875bd46
8de6ca0eb05576dfcd6723aa2d7ce0933074612c
refs/heads/master
2023-01-23T07:08:36.349211
2020-11-29T12:44:26
2020-11-29T12:44:26
316,788,416
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
""" WSGI config for ExpensesTracker 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('DJAN...
[ "dhariskov@gmail.com" ]
dhariskov@gmail.com
8bf57221ac0d8deaf91850ff36f78b8a54ccd9d7
d6475976a503e78fb52cdba57124f8cd98a178bc
/BlogApp/blog_project/urls.py
61e9a226577b2c4ffdbd417e6e761ddb0f9bdfe9
[]
no_license
alexprodan99/TrainingDJango
0d61db72d3ae58d90e35e46cbdb18aa535505c23
6c2543aea68c00d5b65505caa6eb3b276c374d92
refs/heads/master
2021-01-01T02:49:18.093373
2020-02-29T15:34:59
2020-02-29T15:34:59
239,149,078
0
0
null
2020-02-09T13:18:17
2020-02-08T14:51:37
Python
UTF-8
Python
false
false
1,131
py
"""blog_project URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-...
[ "prodanalex323@gmail.com" ]
prodanalex323@gmail.com
7bbe58a925f858deabcb88cfe329c58ff4da3f6d
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/N/narphorium/canadian_charities.py
b127dd024b64b13a4a719a865d73f8ac0e00bf51
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,780
py
import scraperwiki from string import Template import re from math import ceil from BeautifulSoup import BeautifulSoup start_page = scraperwiki.sqlite.get_var("current_page", 1) page = start_page num_pages = 1 max_pages = 500 for p in range(1, max_pages): page = start_page + p if page > num_pages: p...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
f0aa5867590262d6f836a54bfee41cdf2479a801
e0ff63336e8b867f391786dfb2f3f6043e399888
/page2.py
a9fb1f98f5ad39db941616ce004775e6579b720d
[]
no_license
darshanbadiger/CIPD_Demo
1218e4ddb4d8a8cce461ae7925125260e10b1821
ce72a4e3a3f4c1caeb299ff5d326dd6fcabd10a2
refs/heads/master
2021-05-18T14:42:03.852677
2020-07-05T07:49:41
2020-07-05T07:49:41
251,279,533
0
0
null
null
null
null
UTF-8
Python
false
false
736
py
from tkinter import * from PIL import ImageTk, Image import os import subprocess os.system('clear') root = Tk() root.title("BREED Tool") root.geometry("1350x750") #root.configure(background='white') def open_blender(): blend = "/snap/bin/cloudcompare.CloudCompare" sam = (f1,(os.system('"%s"' % blend))) top1 ...
[ "noreply@github.com" ]
noreply@github.com
c849d9eef1c28d8be7bd033094c36c6a925852de
44bfd6b9b11a066fdf8fc855d937bea3b6ee51ba
/xc.py
16ecdf1d57bc3c74a035db13b1595943a665bc8f
[ "MIT" ]
permissive
chih98/xc-hours
e25797fc9d5bf70605d0da55c54c15e2e67672f7
cb31064f37bbd5dfa39269dc9d6996b0f1a8250a
refs/heads/master
2021-01-15T02:47:24.149276
2020-02-28T19:30:20
2020-02-28T19:30:20
242,853,063
0
0
null
null
null
null
UTF-8
Python
false
false
1,577
py
#!/usr/bin/env python # © Marko Crnkovic, 2020 - www.mbobpro.com # Goes through foreflight loogbook and # returns all PIC XC hours. import sys filepath = "" if len(sys.argv) > 1: filepath = sys.argv[1] else: filepath = input("Relative Path to ForeFlight's Logbook CSV: ") try: file = open(filepath, 'r') except ...
[ "marko777.ny@gmail.com" ]
marko777.ny@gmail.com
1ce477074d2e0a1b11ce70afc6101c1c40a74570
806679ead435d266dc1972ea8cfe8c449846c7f0
/picker.py
8ce76ec4692d8a6712e20c329f3e6c76fbfeabb2
[]
no_license
shankark10n/ecotrends
fa0da51f8363651a90f12d4c3d5e992fda59953b
0a37ecfe754315cd03f55d5800a5ba833fa57e43
refs/heads/master
2020-05-09T14:35:23.560106
2014-04-03T20:13:40
2014-04-03T20:13:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,363
py
import os import random import re from stemming.porter2 import stem import sys def satisfactory(ngram, freq_list, taboo, percentile, cumulative): """ Returns true if an ngram from a list is 'satisfactory': 1. not already present in the file name (e.g., 'rainfall' in 'agriculture_rainfall') 2. is no...
[ "shankark@gmail.com" ]
shankark@gmail.com
e7f053ae7d83293e99e87fae46aec4c8206d9194
55a7e06e425f11476ef6e49b32d0ea6b295be793
/models/player_model.py
412e4ebe0b9468eea1032f62bc12c2d134ac77a9
[ "MIT" ]
permissive
tomgauth/p4-oc-chess-tournament
2c16c251196ab2873acf5ae24bf584322fb81c82
5af9faee7b4940f1f5af1a209092d761485902ef
refs/heads/main
2023-07-24T09:12:08.739863
2021-09-07T06:32:35
2021-09-07T06:32:35
385,540,095
0
0
null
null
null
null
UTF-8
Python
false
false
3,694
py
# This is the player model from tinydb import TinyDB, Query db = TinyDB('db.json') class Player: def __init__(self, last_name='', first_name='', birth_date='', sex='', ranking=0): self.p_table = db.table('players') self.last_name = last_name self.first_name = first_name ...
[ "tomgauthier0@gmail.com" ]
tomgauthier0@gmail.com
0a95626257f77887d3b96ef45ce148a01b00e3d5
b18c268e75036b79706c1ec5a2f7a6817382bfd6
/store/products/migrations/0003_auto_20190208_2254.py
0d747e5776a96d621f0d44e772482b276a7eed3c
[]
no_license
heba2/Ecommerce
15ffe2c83396267faf7ce9036ccde2680c2b3090
1b422a3faf375dda9a88c92646bbf6ecd55024c4
refs/heads/master
2022-12-13T21:00:27.726908
2019-07-07T21:37:28
2019-07-07T21:37:28
195,700,129
0
1
null
2022-11-29T11:15:34
2019-07-07T21:49:44
Python
UTF-8
Python
false
false
514
py
# Generated by Django 2.1.5 on 2019-02-08 20:54 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('products', '0002_auto_20190208_2216'), ] operations = [ migrations.AlterField( model_name='prod...
[ "hebasalem623@yahoo.com" ]
hebasalem623@yahoo.com
20cdd135ed4378da2aee49b440458ad62d1ced84
dbf06ff20fc6a618c82b9c3f560a695c88c32ed5
/urbanlearning/flask/bin/gunicorn_django
6972de963e319457f3449f26d9d9f8e2ad4b0217
[]
no_license
WISDelft/WIS-Intern-Summer2016-Wang
d0f02820b67784f254cea500a1a4b6795499a109
6c42d1897de52a35a671f7d50be83eb6733b95a5
refs/heads/master
2020-04-06T07:05:58.049746
2016-09-05T10:10:10
2016-09-05T10:10:10
62,041,759
1
0
null
2016-07-18T07:33:44
2016-06-27T09:08:57
null
UTF-8
Python
false
false
269
#!/root/WIS-Intern-Summer2016-Wang/urbanlearning/flask/bin/python # -*- coding: utf-8 -*- import re import sys from gunicorn.app.djangoapp import run if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(run())
[ "root@ubuntu.members.linode.com" ]
root@ubuntu.members.linode.com
322d29fe0931fd88622b497e37f99ea0d0d93cf8
13ce3959fca0e51d5d17b4bf5b99d55b4a3d8ee0
/setup.py
e84b1d4bdd1371f6a1b0b7bdfbced243bda9212f
[ "MIT" ]
permissive
guadagn0/flavio
2b4d4bb450dfcbd21a92f55c5dfdbf6488cbf331
5a9b64e38b828fcd7907fd6fe7eb79b1dcefd4d3
refs/heads/master
2020-04-05T12:29:25.207810
2019-03-12T22:32:29
2019-03-12T22:32:29
156,872,590
0
0
null
null
null
null
UTF-8
Python
false
false
1,528
py
from setuptools import setup, find_packages with open('flavio/_version.py', encoding='utf-8') as f: exec(f.read()) with open('README.md', encoding='utf-8') as f: LONG_DESCRIPTION = f.read() setup(name='flavio', version=__version__, author='David M. Straub', author_email='david.straub@tum.de...
[ "david.straub@tum.de" ]
david.straub@tum.de
413bc5ab7c9a5eeea98c1310fcf21c955a3b899d
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/qwDPeZeufrHo2ejAY_5.py
dd2776cc8868b371d82d76aca6a7ce2578b301f3
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
577
py
""" Given a _string_ containing an _algebraic equation_ , calculate and **return the value of x**. You'll only be given equations for simple **addition** and **subtraction**. ### Examples eval_algebra("2 + x = 19") ➞ 17 eval_algebra("4 - x = 1") ➞ 3 eval_algebra("23 + 1 = x") ➞ 24 ### Notes ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
a4f82e13bca7ca49a7937d9611a8388bfc2a04ac
c3aea109da1ea7ee59d883d0f85e60f033445c91
/app/models.py
00527d89b8c6e929ed572d2d3730adfaa43c78fe
[]
no_license
miokato/ChatBot_Transformer
cbccc1c695e70adfa2cd5494c1c2c6e39ae6570f
67a39408e69c5b49cce5bb33f61743c079376ec3
refs/heads/master
2023-06-05T14:06:31.708664
2021-07-01T14:14:30
2021-07-01T14:14:30
382,039,337
0
0
null
null
null
null
UTF-8
Python
false
false
3,658
py
import math from torch import Tensor import torch import torch.nn as nn from torch.nn import Transformer import math # 単語の順序の概念を付与するために位置のエンコーディングを追加する class PositionalEncoding(nn.Module): def __init__(self, emb_size: int, dropout: float, maxlen: int = 5000): ...
[ "miokato@me.com" ]
miokato@me.com
1095eaed11e8d1a5ba345a124c0be5dd542a4de6
d6a2eddca83007209ba6f2eda6c426df7a8b9f1c
/mptpy/tools/misc.py
10ad403403c0a6badb98ddb7517625056584f8a6
[ "MIT" ]
permissive
saurabhr/mptpy
cc28f50e4c4a4dcef43985a7c8e8d8247f8ae7bb
820fb6c9019623bc98f14c894ced9ed5d70eb96b
refs/heads/master
2022-11-17T21:05:12.369075
2020-07-15T09:56:41
2020-07-15T09:56:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,455
py
""" Miscellaneous helper functions. """ import os def split_half(args): """ Split the given list into two parts (equal if possible, if not the right one gets one more) Arguments --------- args : list list to split Returns ------- list, list Args split in two parts ...
[ "paulina@friemann.com" ]
paulina@friemann.com
b0f52ab0ff50b2eb7a0744598e29f715966f7a1b
0d4ce4ba065ecb037c41f06a4f3689117b2bedd6
/ex24.py
759465898e4d9d173538b692ab981510b5058438
[]
no_license
wlane/hardway
fbd8b1271a44e5b5998213b395f8f2629e5c8cf0
999cc9a797661015c985f21add5a8d4ebbca6820
refs/heads/master
2020-05-21T20:31:19.923374
2016-09-19T15:43:42
2016-09-19T15:43:42
61,432,300
0
0
null
null
null
null
UTF-8
Python
false
false
914
py
print "Let's practice everything." print 'you\'d need to know \'bout escapes with \\ that do \n newlines and \t tabs.' poem=""" \tThe lovely world with logic so firmly planted cannot discern \n the needs of love nor comprehend passion from imtuition and requires an explanation \n\twhere there is none. """ print "----...
[ "xyf2424094@gmail.com" ]
xyf2424094@gmail.com
9946d535b1e025ce17b1172d1e550e76762ae46b
5112b1879e5c80230e744aed103a54a8c870107b
/Set3/Set3_25.py
4c538dc412334ef5c8196670096951f1b8aab831
[]
no_license
ankurbhatt04/GUVI_CodeKata_Beginner
dad9f7b3ca596913f2c102c87aa547c8dc42493f
5e115f59db5807bd8829fff2aa7ff00d1d4706a6
refs/heads/master
2020-04-01T03:03:08.733560
2019-06-03T21:19:27
2019-06-03T21:19:27
152,807,547
0
0
null
null
null
null
UTF-8
Python
false
false
164
py
try: n=int(input('Enter N: ').strip()) arr=list(map(int,input('Enter array elements: ').strip().split())) arr.sort() print(arr[n//2]) except: print('invalid')
[ "ankurbhatt04@gmail.com" ]
ankurbhatt04@gmail.com
76b350794545ea1722629d648ee38347a7762338
1ea288630a92504fc32b62869ea0404831171fa6
/ex3.py
6069853bad0ec154120f1f8e6840bbc1809760ed
[]
no_license
ramsandhya/Python
1e289c5730b0d068ab203d4846f4ac6e075c887a
4f2b67bb18b404b45f8acf9e200a17fee30aa090
refs/heads/master
2021-01-19T07:28:12.827444
2016-07-14T04:05:25
2016-07-14T04:05:25
63,300,763
0
0
null
null
null
null
UTF-8
Python
false
false
274
py
# print "I'll now count my chickens." # # print "Hens", 25 + 30 / 6 # print "Roosters", 100 - 25 * 3 % 4 # # print "Now I will count the eggs" # # print 3 + 2 + 1 - 5 + 4 % 2 - 1 / 4 + 6 # # print "Is it true that", 3 + 2 < 5 - 7 # print "What is 3 + 2?", 3 + 2 print 7 / 4
[ "ram.sandhya@gmail.com" ]
ram.sandhya@gmail.com
ff1472dcd87a4bc8e59be850ec87ab4550b5bf78
6facd2a37aa096408571077a288855e50467f71b
/accounts/test_models.py
f77263eccdea4e7a646bf6b633f56a5cefac5699
[ "MIT" ]
permissive
cu-library/mellyn
8e7b29156b80ddae6fb426b7bc1c5bb1eb3b70a4
e3456678b240b49b2ebaf01a2f4b6b8d7721d68f
refs/heads/master
2023-07-23T03:29:07.246818
2023-07-21T21:32:36
2023-07-21T21:32:36
249,534,486
0
0
MIT
2023-07-21T21:32:38
2020-03-23T20:15:39
Python
UTF-8
Python
false
false
11,631
py
""" This module defines tests to run against the fields module. https://docs.djangoproject.com/en/3.0/topics/testing/ """ import random import string from django.contrib.auth import get_user_model from django.contrib.auth.models import Group, Permission from django.contrib.contenttypes.models import ContentType from...
[ "kevinbowrin@cunet.carleton.ca" ]
kevinbowrin@cunet.carleton.ca
7af116e2c14ec98773ce3d71c7fb2b5e01d350aa
78d50d6229a5614799705d9bfd3932d5fa582403
/autoencoder/create_model.py
c4fe4ee7c9b341e6c8e980e4ee721369299805b2
[]
no_license
jkarns275/eigen-faces
1f336d0854e188eb93dac48625fbdb68854df6bb
ac9e3df8c8a70b86b638416c7a281d0fd4d0ee06
refs/heads/master
2020-09-15T14:16:50.339203
2019-12-12T07:00:10
2019-12-12T07:00:10
223,472,939
0
0
null
null
null
null
UTF-8
Python
false
false
2,459
py
## load the libraries import sys import warnings import os import glob warnings.filterwarnings("ignore") os.environ['TF_CPP_MIN_LOG_LEVEL']='2' import numpy as np import pandas as pd import cv2 from sklearn.model_selection import train_test_split import tensorflow as tf tf.logging.set_verbosity(tf.logging.ERROR) fr...
[ "jkarns275@gmail.com" ]
jkarns275@gmail.com
de6deadae5964507528b0ef217e7f2f664731f8a
208f92d39a127316e50aa5ba1f341fe78e0435fa
/spoiler_detection/utils.py
a1e3afd70e59925abbaf69d031c40a705946f723
[]
no_license
rzepinskip/spoiler-detection
81f6ff51a1d833681c1a98ac882eece52822ffb8
70448409e570bfbcfae7cbbf0697c697de62eb4a
refs/heads/master
2022-11-05T06:54:30.876062
2020-06-22T13:46:15
2020-06-22T13:46:15
241,899,619
0
0
null
null
null
null
UTF-8
Python
false
false
1,163
py
import tensorflow as tf import tensorflow_addons as tfa # Adapted from https://www.tensorflow.org/guide/keras/train_and_evaluate#specifying_a_loss_metrics_and_an_optimizer class WeightedBinaryCrossEntropy(tf.keras.losses.Loss): """ Args: pos_weight: Scalar to affect the positive labels of the loss func...
[ "rzepinski.pawel@gmail.com" ]
rzepinski.pawel@gmail.com
1a0c3f750145694d43d2c8c253c2de4af2313dc5
2a3f205035554dc062ea734fcea38cf9da955d87
/Python/aws_iot.py
ee3bc6891b7c041c166eef214ada4bef59a98d57
[]
no_license
jacobrits1/snippets
dd24885b2541d22d16deb49ffc1742f3fc42bf80
6de5a9e415cd8721e6751119dbc7b6e986f20948
refs/heads/master
2021-07-14T05:45:17.588390
2019-03-12T00:40:30
2019-03-12T00:40:30
146,788,380
0
0
null
null
null
null
UTF-8
Python
false
false
2,786
py
from pyfirmata import Arduino, util import time import math from serial import SerialException # Not needed, but used for troubleshootingserial timeouts/exceptions from AWSIoTPythonSDK.MQTTLib import * import sys import select import os import time import datetime import serial import logging import json import getopt ...
[ "jaco@netstart.co.za" ]
jaco@netstart.co.za
ca6a14711f5fbc121792986501439f1f313ec357
a4186aadd9de84de34cde0d9bf443f802117260d
/scrapenews/spiders/news24.py
20561989efbb09f476923702ccff8a4ccb499508
[ "MIT" ]
permissive
public-people/scrape-news
bf1bd414d0c94d591aed0c515befaa7a76069093
b057f100e4db567dbadba26e18728d4ff5cd5fb3
refs/heads/master
2023-05-29T13:41:14.181360
2020-04-18T20:52:02
2020-04-18T20:52:02
123,028,777
10
20
MIT
2023-05-22T22:28:35
2018-02-26T20:50:29
Python
UTF-8
Python
false
false
2,256
py
# -*- coding: utf-8 -*- from .sitemap import SitemapSpider from scrapenews.items import ScrapenewsItem from datetime import datetime import pytz SAST = pytz.timezone('Africa/Johannesburg') class News24Spider(SitemapSpider): name = 'news24' allowed_domains = ['www.news24.com'] sitemap_urls = ['https://w...
[ "jbothma@gmail.com" ]
jbothma@gmail.com
050c6d64a7e34ab1e92d1ca8a82c006208da4b2e
32e0dcfe03fc8a54fd218bfb5fe8741a5ea8fc39
/UserCode/jzhang/sbc_run6_mergeall.py
013b5ffbce8389c2ccc782914a093247c85589c1
[ "MIT" ]
permissive
RunzZhang/SBCcode
e480ab85d165b42de060b1778a2e2af38b2f511e
e75b8e751cec5fb2c28950edef0c82f005caedcb
refs/heads/master
2021-09-08T03:41:56.222249
2019-06-17T19:52:32
2019-06-17T19:52:32
192,990,370
0
0
MIT
2019-06-20T21:36:26
2019-06-20T21:36:26
null
UTF-8
Python
false
false
7,163
py
import numpy as np import SBCcode as sbc import os import re from SBCcode.DataHandling.WriteBinary import WriteBinaryNtupleFile as wb # import ipdb modules = [ 'AcousticAnalysis_', 'DytranAnalysis_', 'EventAnalysis_', 'HistoryAnalysis_', 'ImageAnalysis_', 'TimingAnalysis_', 'PMTfastDAQalign...
[ "j.gresl12@gmail.com" ]
j.gresl12@gmail.com
df220c17b1103f377b94efff99b32e1b7bbc9d3d
cbf968ba4a47542140a2c458f654226031ee11eb
/t002.py
8772eebf8e29a3f63684be23a351a64d51a1ea0b
[]
no_license
CN-COTER/python_test
d16e615a105997f77cf927febbef2c5e8bd0b4a8
8f1ac7d8dda7dcf8c8baf35bc61761c5f5532251
refs/heads/master
2020-03-28T10:37:28.717778
2018-09-12T14:04:28
2018-09-12T14:04:28
148,094,889
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
name = 'jiang chao mei' print('hello' + name + 'i love u') print(name.upper()) print(name.lower()) print(name.title()) words = 'Pride hurts,Modesty benefits.' print(name +' once said '+ '"' + words + '"') famous_words = words print(name + " once said "+ '"' + famous_words + '"') sentence = '\tgsfhguiusofhdfueotghiowr\...
[ "1486628732@qq.com" ]
1486628732@qq.com
6e13eafc1f1c7a44f123080d5426571f1f9c6078
aecca1e6fc8523b03fab3eceefd5e6d3f96a3a4f
/venv/Scripts/easy_install-script.py
451d5e03f286d7f844f8bae0bd06359c22e5d5dd
[]
no_license
AndrehAguiar/cursoProjeto
030a4200659323983d7ebdf777bfa8a2f1e46105
9a7f054044c10e0695b1a2d8e9fd0b89c26c479b
refs/heads/master
2020-08-29T22:07:54.717592
2020-04-30T18:10:08
2020-04-30T18:10:08
218,186,129
0
0
null
null
null
null
UTF-8
Python
false
false
455
py
#!C:\Users\ANDRE\PycharmProjects\cursoProjeto\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.py...
[ "andreaguiar.g@gmail.com" ]
andreaguiar.g@gmail.com
26edfb1742bc1400dc9db534fccb471bbb3562ba
74fbe4040157a4ab289b613cd5801fbe1f814311
/email.py
3ccd79e1b729e48d2cfd40e53344fe2c501a7f90
[]
no_license
sidduGIT/regx
cf0bff639682cb0375a61f12588a1e10f62cb911
c313afbd2bb54f64ff2c39e5a32b99a1f0cc8088
refs/heads/master
2020-12-28T01:19:03.109043
2020-02-04T06:00:35
2020-02-04T06:00:35
238,134,383
0
0
null
null
null
null
UTF-8
Python
false
false
594
py
import re str1='hi how are you 123siddu-bagewadi1978@gmail.com i am waiting for your input on this' find=re.findall(r'[a-zA-Z0-9._-]+\@+[a-zA-Z0-9.]+',str1) print(find) emails=''' siddu.bagewadi@gmail.com SidduMbagewadi@university.edu siddu-321-bagewadi@my-work.net ''' pattern=re.compile(r'[a-zA-Z00-9.-]+@[a-zA-Z-]+...
[ "siddu.bagewadi@gmail.com" ]
siddu.bagewadi@gmail.com
ba56c26d387e67416fc8e60a2be4d9d9cfffcf96
618e2788bdeacb7570887789519488c8887588ad
/maskrcnn_benchmark/modeling/sequence/__init__.py
5cb737eaf9b6b9f641b944057898ee65d8c09d26
[]
no_license
hongsoog/lomin_in_pycaffe
d8a50614329e1d734d9c7e56ff94883ac4a3ee78
05ce5ed4f17e7043597858e926a0835dc379f1d3
refs/heads/master
2023-08-18T01:52:14.333091
2021-10-18T12:29:46
2021-10-18T12:29:46
401,898,283
0
0
null
null
null
null
UTF-8
Python
false
false
83
py
from .bidirectional_transformer import PositionalEncoding, build_transformer_native
[ "kimkk@etri.re.kr" ]
kimkk@etri.re.kr
493bbcd1b572434a64ebefdb5b6508f4f3643ffe
beb0d33d3663a60075c1f5454e04384f6fe19ba3
/prelobby.py
ed5508c469bb9de04e124db2fd25196a3e3d1c6b
[]
no_license
MJ-meo-dmt/Warlocks
7788eee873cf9bf57217996cae772dc3ee6e6c77
4c74bb32ea253e03dd6b0f8dd7083635dbf450c8
refs/heads/master
2021-01-16T20:07:46.974908
2012-01-22T23:40:57
2012-01-22T23:40:57
3,245,064
0
0
null
null
null
null
UTF-8
Python
false
false
5,257
py
from direct.gui.DirectGui import * from direct.gui.OnscreenImage import OnscreenImage from direct.gui.OnscreenText import OnscreenText from pandac.PandaModules import * class PreLobby(): def __init__(self, game, statusText = ""): self.game=game self.background = OnscreenImage( image = 'media/gui/...
[ "guy_davis@hotmail.com" ]
guy_davis@hotmail.com
54d33e008fdf76d2beb955d861ad379b21930fcb
5b1651cb59e901263f24777f5cfb00fb762ec9b3
/manage/routes.py
0463937dedf4ac84bb7fba13da16c9a5c6452893
[]
no_license
hansyen/data_anlyze
818b0f12a62d40d45ed1647431c018d4c35b6ce0
b6a24229ac0b4e21a133fed3d9e53044af79e934
refs/heads/master
2020-09-30T08:57:04.743537
2019-12-20T08:38:28
2019-12-20T08:38:28
227,255,219
0
0
null
null
null
null
UTF-8
Python
false
false
1,280
py
from flask import Blueprint, request, flash, redirect, url_for, render_template from flask_login import login_user, logout_user, current_user, login_required from models import Role, User from __init__ import db ohyamanage = Blueprint('ohyamanage', __name__) # @manage.context_processor # 將class丟到前端 # def inject_ro...
[ "hans@smartfun.com.tw" ]
hans@smartfun.com.tw
30e1cacc67556931923c1dfab31cbd42a69ea396
904550a93e71be9b155db56d252ae4ce74696efb
/jump7.py
4b9b51bf01976979ef87d440d29f418f07e0a6c0
[]
no_license
Shangyc8/shiyanlou-code
822d66cade9e7e45a363cc7d54add824ede7e982
7dba18ffe64d56b349e32501009d5e9263f36b45
refs/heads/master
2023-01-12T00:24:26.966952
2020-11-18T06:31:11
2020-11-18T06:31:11
313,841,771
0
0
null
null
null
null
UTF-8
Python
false
false
119
py
a=0 while a<100: a=a+1 if a%7==0: continue elif a%10==7: continue elif a//10==7: continue else: print(a)
[ "1319041478@qq.com" ]
1319041478@qq.com
56d0405db58b5f812d616e2c4bbe7c5568058edb
326b38a31a74e22a1eea81f2981256b2ae1562c2
/code/packages/Bank/__main__.py
458b0ae40317210cc356f467ff9daf287b377133
[]
no_license
ashishku/pythonTrainings
2b2d90b591127ee98d42d902a2d1289c5ec1b2e8
f38c749bcb4ccb3ab676a7a832af08d282422c76
refs/heads/master
2021-01-18T14:05:07.272919
2020-03-05T11:18:27
2020-03-05T11:18:27
22,903,628
2
0
null
null
null
null
UTF-8
Python
false
false
511
py
from Customer import Customer from Account import SavingsAccount, CurrentAccount customer = Customer('Ashish Kumar', {'saving': SavingsAccount(100, 500), 'current': CurrentAccount(1000)}) customer.accounts() try: customer.transfer('saving', 'current', 600) customer.accounts() except ValueError as err: pr...
[ "ashish.kvarma@gmail.com" ]
ashish.kvarma@gmail.com
a04fcffa8e327209c8e04feb7c9e4aec49f1d73b
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/fRB5QRYn5WC8jMGTe_10.py
ad1e01971694e69b65bc1bfc1f4ba58bef2fe277
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
721
py
import datetime as dt def time_difference(city_a, timestamp, city_b): gmt = {"Los Angeles": {"h": -8,"m":0}, "New York": {"h":-5,"m":0}, "Caracas": {"h":-4,"m":-30}, "Buenos Aires": {"h":-3,"m":0}, "London": {"h":0,"m":0}, "Rome": {"h":1,"m":0}, "Moscow": {"h":3,"m":0}, "Tehran": {"h":3,"...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
eaac582bb5e17bd85769951120de076b4b0b5d46
ea0e99c198cc56ee74f6274d8eb7dc4e2e298d7d
/test1.py
67d9b972bb34ea8840a0368dba799f65b6f00bd2
[]
no_license
BBojack/datasciencecoursera
ca82c924a97628f4f03dd8591f51c18f4e226d34
a7572fa430b25d4ef673b8712bbad3899fe0cc00
refs/heads/master
2020-04-14T20:57:48.442411
2019-01-06T00:05:56
2019-01-06T00:05:56
164,112,595
0
0
null
null
null
null
UTF-8
Python
false
false
1,699
py
import itertools def count_wins(dice1, dice2): assert len(dice1) == 6 and len(dice2) == 6 dice1_wins, dice2_wins = 0, 0 num_rounds = 36 # write your code here pair = itertools.product(dice1, dice2) for item in pair: if item[0] > item[1]: dice1_wins += 1 elif item[0]...
[ "tiq218@lehigh.edu" ]
tiq218@lehigh.edu
730ad7c52a87d68667cc6d4ef736c84998330595
e17ab8f50b8a1f13b52aa770269eb469c87161b8
/apps/contact/forms.py
61cca7b816d64ca24e3016b278acd325dd385140
[]
no_license
masterfung/bond
6baa84a4322801aeb3f466d8f83e7e18c1d91731
bc283ec1bd7a52f77b6fc788d5e818bd7233fc1d
refs/heads/master
2022-12-09T17:45:47.243471
2015-03-08T19:29:21
2015-03-08T19:29:21
22,904,060
0
0
null
2022-12-07T23:22:59
2014-08-13T05:42:10
Python
UTF-8
Python
false
false
598
py
__author__ = '@masterfung' from captcha.fields import ReCaptchaField # Only import different from yesterday import floppyforms as forms class ContactForm(forms.Form): def __init__(self, *args, **kwargs): super(ContactForm, self).__init__(*args, **kwargs) for field_name, field in self.fields.item...
[ "hungmasterj@gmail.com" ]
hungmasterj@gmail.com
990daf0852955e0c6a709452f03996efbabed5bc
8628de01decf977ab5f3f04fbc063730c4a898de
/dji_asdk_to_python/flight_controller/flight_controller_state.py
6b9b871aa8799a131333c0103be9d0693191b3a7
[ "BSD-3-Clause" ]
permissive
Munijp/dji-asdk-to-python
8e730c16e8ad21f7caa2baf2e8a069c1c7ef895f
b7547f23f2181d0bf9f3c40686b658baa43c9d40
refs/heads/master
2023-07-27T07:08:51.824359
2021-06-25T22:40:42
2021-06-25T22:40:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,247
py
import uuid class FlightControllerState: """ This class represents the current state of the flight controller. """ class Callback: """ Callback class that updates the flight controller's current state data. This method gets called 10 times per second after startUpdatingFlightControlle...
[ "cartovarc@gmail.com" ]
cartovarc@gmail.com
e61f7e2f3d31aeaffb7f49f9fbc4822bb3458fda
1c2a0744f5a858894bdefd96687cb64b91fbb7c4
/assignment1/q4_sentiment.py
f41612bb2dd2baa4f3956841c05a6dfdfce008b7
[]
no_license
Kolento93/cs224n
516f5deb56124c91c900dbdf89eb4e5ea75592c4
1c3709ab05022e4547fc0a0280315b83143d98a5
refs/heads/master
2021-08-23T23:44:13.607862
2017-12-07T03:57:33
2017-12-07T03:57:33
112,143,923
0
0
null
null
null
null
UTF-8
Python
false
false
7,932
py
#!/usr/bin/env python import argparse import numpy as np import matplotlib matplotlib.use('agg') import matplotlib.pyplot as plt import itertools from utils.treebank import StanfordSentiment import utils.glove as glove from q3_sgd import load_saved_params, sgd # We will use sklearn here because it will run faster t...
[ "haorangu93@hotmail.com" ]
haorangu93@hotmail.com
971047551245952f0fd4fd8a84b7260b6e20fca1
c0cecb7482612d2495956ce31282e8c8cbd23d3c
/src/backchannel_prediction/plot_features_back.py
757ace3dedbc6f650fc721ebac3e02d5ef1f51c6
[]
no_license
unuldur/GroupSynchroniePy
e38b5076947f48d68411adc3ab7c970c1dd9d305
6b4da73ff587b511f7df4b1d3df8105667b18053
refs/heads/master
2020-06-27T02:05:43.418765
2019-07-31T10:40:38
2019-07-31T10:40:38
199,816,431
0
0
null
null
null
null
UTF-8
Python
false
false
6,479
py
import matplotlib.pyplot as plt from matplotlib.widgets import Slider, MultiCursor import numpy as np import pandas as pd from utils import * from math import * def print_features(datas_sentence, features): """ Permet d'afficher les différentes features des différents en les associant à un poids. :param da...
[ "julien.defiolles@gmail.com" ]
julien.defiolles@gmail.com
f2c7bf4f72bd114d613ecb8d88edb704d617bff6
9add15eccdbe6df6a7e354ec38445e3979d1c666
/set_alarm.py
339805d14bb50c75dd39fda4c049464ffcfdbc19
[]
no_license
juliusreid01/Python
f6c41d04f4d33f880ef47c216f13eb526b0275b9
10a54f2f91063f5c0d72d5a9cb1d2cd131864009
refs/heads/main
2023-01-29T07:23:15.414781
2020-12-09T03:15:12
2020-12-09T03:15:12
319,714,659
0
0
null
null
null
null
UTF-8
Python
false
false
943
py
import winsound import time # implements a general purpose event scheduler import sched def my_alarm(alarmTime, alarmSound, msg): while time.time() <= alarmTime: time.sleep(0.1) #winsound.Beep(2500, 1000) print(msg) winsound.PlaySound(alarmSound, winsound.SND_FILENAME) def set_alarm(alarm...
[ "noreply@github.com" ]
noreply@github.com
2b80e991998881a815ef8d991d0d1747dd9a3be1
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/apimanagement/azure-mgmt-apimanagement/generated_samples/api_management_list_diagnostics.py
9c7e8d5fde159226518502a2d34c5ee855e982f4
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
1,587
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" ]
noreply@github.com
12b63b99842873fb8df6b1e9c6b2d8dc49f34548
d36cdb0266a61a0545eb9ea5d49457d235e05992
/design_patterns/bridge/red_circle.py
c47e9c81d1e505ae8f464a42933314fbef64c65b
[]
no_license
JonneyLloyd/CS4227
2f05e1b6a3f5393ba99a4c505b8bc51419b4e603
643bf2e3dfa8c0a4507f7ba5bd2ca58df8e15967
refs/heads/master
2021-03-22T05:19:37.849394
2017-11-14T13:31:09
2017-11-14T13:31:09
104,522,621
0
1
null
null
null
null
UTF-8
Python
false
false
218
py
from .draw_api import DrawAPI class RedCircle(DrawAPI): def draw_circle(self, radius: int, x: int, y: int) -> None: print("Drawing Circle[ color: red, radius: {0}, x: {1}, y: {2}]".format(radius, x, y))
[ "14161044@studentmail.ul.ie" ]
14161044@studentmail.ul.ie
7d7d9e3f4ee38535b9909b2b3168a029ffb5622e
e63c1e59b2d1bfb5c03d7bf9178cf3b8302ce551
/uri/uri_python/matematica/p1198.py
26ea0741bc55d2e35e7fe6e038e30ff4b41afddf
[]
no_license
GabrielEstevam/icpc_contest_training
b8d97184ace8a0e13e1c0bf442baa36c853a6837
012796c2ceb901cf7aa25d44a93614696a7d9c58
refs/heads/master
2020-04-24T06:15:16.826669
2019-10-08T23:13:15
2019-10-08T23:13:15
171,758,893
5
0
null
null
null
null
UTF-8
Python
false
false
198
py
import math while True: try: entrada = input().split(" ") A = int(entrada[0]) B = int(entrada[1]) print(int(math.fabs(A-B))) except EOFError: break
[ "gabrielestevam@hotmail.com" ]
gabrielestevam@hotmail.com
5c64e2a13fe2eb40f4a1419700140dd4cffe742c
f11373e91a4b94aa7e9646c99a71ebb2aab46a7b
/ch6/6-3.py
c514a725803e95d7e5999cd0f860de933f7d37ab
[]
no_license
atososon/python_practice
f3ecb086cc29a63f3a526537d60a57395632ce5f
a58fb26f2265bba30c85dec8fec544853954aa54
refs/heads/master
2022-09-15T22:25:55.753330
2020-06-05T09:45:05
2020-06-05T09:45:05
256,482,553
0
0
null
null
null
null
UTF-8
Python
false
false
112
py
class Thing3: def __init__(self): self.letters = 'xyz' something = Thing3() print(something.letters)
[ "atososon165@gmail.com" ]
atososon165@gmail.com
994cedc21a44fb8fff7092c5b392146011408f19
39dd0847898503b3b6e3ffeca2afe7713c006e7a
/orchestration/scripts/list-gcs-files-as-array.py
a9b4788ddca482a83acd64df70dab689fa41aa77
[ "BSD-3-Clause" ]
permissive
pshapiro4broad/hca-ingest
dc0d41c46ab03982a178efbb73c1e1ab80c9712e
e4d227b79733a820878f2a1d7f2f5eb63cdf5d43
refs/heads/master
2022-12-03T15:19:01.284787
2020-08-14T16:48:42
2020-08-14T16:48:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
620
py
from google.cloud import storage import json import os import sys bucket_name = os.environ["GCS_BUCKET"] bucket_prefix = os.environ["GCS_PREFIX"] # Connect to the bucket. client = storage.Client() bucket = client.get_bucket(bucket_name) # List all blobs in the bucket, and add the 'gs://' prefix to their names. blob...
[ "noreply@github.com" ]
noreply@github.com
a58348936dbb01ef0b8165b74851ebe3281b9531
872ebf8a89bafdd7836edf55bda9fda8857e2f0d
/projects/myproject/pybo/__init__.py
a1fb8071a4fc2a99458f2579ab937746d4cc503a
[]
no_license
ltyiz07/flask_practice
ab482faaaa3152861e8d55cf941e84fe9c3b2cc6
26fde906e42fd42427b017c39c57f90f22d17c2c
refs/heads/master
2022-12-10T06:56:16.628781
2020-09-21T10:49:50
2020-09-21T10:49:50
297,286,294
0
0
null
null
null
null
UTF-8
Python
false
false
166
py
from flask import Flask def create_app(): app = Flask(__name__) from .views import main_views app.register_blueprint(main_views.bp) return app
[ "ltyiz07@gmail.com" ]
ltyiz07@gmail.com
f28ad57a72cfa4ae94c77765d98b800eed936b57
79d028be04c3b28865e089c783bf98a1d89247cd
/Algorithms/Mini-Max Sum.py
60929733289813256b44c37008702683664d21cc
[]
no_license
fauzansdq/HackerRank
cb7f0a4c1e27af853d18318aa3f395345bd60b3b
9375e526d606ec27a7cd98566d1a7e108f76e84a
refs/heads/main
2023-05-22T22:00:28.251057
2021-06-12T13:52:13
2021-06-12T13:52:13
371,659,973
0
0
null
null
null
null
UTF-8
Python
false
false
514
py
#!/bin/python3 import math import os import random import re import sys # # Complete the 'miniMaxSum' function below. # # The function accepts INTEGER_ARRAY arr as parameter. # def miniMaxSum(arr): # Write your code here #akhir = max(arr) #awal = min(arr) #ans=[] #for x in arr: hasil1 = sum(a...
[ "noreply@github.com" ]
noreply@github.com
01f33bb04330ff2df770b9df993826726ac4b53b
fe401068057e9120c13b422e9ef8aa80d4728f16
/Exercicio49.py
049d9fd964ccf1a5e94e558c17d49477ebc87a7f
[]
no_license
LeonardoPaschoaBraga16/Python
0ee615a49676185f02b0b1fabf66a9deb9f8d15a
5ce763961140ec240d070647afa7e44be5a24a65
refs/heads/main
2023-08-10T01:46:19.979376
2021-09-05T17:42:37
2021-09-05T17:42:37
383,619,463
0
0
null
null
null
null
UTF-8
Python
false
false
149
py
import time n1 = int(input('Insira um numero: ')) for t in range (1, 11, ): print('{} X {} = {}'.format(n1, t, n1*t)) time.sleep(0.7)
[ "noreply@github.com" ]
noreply@github.com
f43787db612d1a713496d7a2e9cb11b969c3df4b
93ea879d3fbec98fbbf2f67cd197f86eaa10d0d9
/week-01/submission/first-script.py
8f83d855c67c5f3dd2b6d847a9b563bb5057f026
[]
no_license
huyueddie/big-data-spring2018
e73785688f88de0bdd48eadfa3f950d96c3e2137
c56d3583fe37c199c5624dd73394cf5e12b6e14e
refs/heads/master
2021-05-02T09:44:12.720873
2018-04-30T13:47:45
2018-04-30T13:47:45
120,782,237
0
0
null
2018-02-08T15:51:43
2018-02-08T15:51:42
null
UTF-8
Python
false
false
32
py
msg = "Eddie PSet 1" print(msg)
[ "huyu@dhcp-18-111-77-123.dyn.MIT.EDU" ]
huyu@dhcp-18-111-77-123.dyn.MIT.EDU
ebd51f786500cd4af08c8de69da476616279f2e5
2142a11b3edab047247e1991cb9eac96b7a41049
/sudoku.py
dcc875d57a6739d4f16cb19c7614a182a8ce400c
[]
no_license
Aaron32365/Python-Sudoku-Solver
1867c1b7c2486f87b658f415de18a7d47c49fbde
f43e9e0f46fa373693cae1070c6484548cc19761
refs/heads/main
2023-01-12T10:36:58.531169
2020-11-14T05:45:45
2020-11-14T05:45:45
312,738,390
0
0
null
null
null
null
UTF-8
Python
false
false
1,444
py
# sudoku board # Goals: # 1. loop through board, find an empty space (index with 0 value) # 2. try every number until number that will satisfy sudoku game rules is found # 3. repeat step 1 and 2 until unable space that is unable to satisfy game rules are found # 4. use backtrack algorithm to fix previous mistakes unti...
[ "aaronsphone32365@gmail.com" ]
aaronsphone32365@gmail.com
9585febe2d62a25d6b243613450ff81663a93698
8902d011706efc6fa6ee1ce286f4d54e411245d6
/Weekend Package/Facebook_page_using_xpath.py
623051276fe5beb151d30df8af485c6a10ecdb62
[]
no_license
radhagithub2304/WeekendProjects
61f81e11fcf4c2b49384aabd92336f32a836d087
8336a6448e7d02c7d8e7db4d2775bf42106eaf9f
refs/heads/master
2020-04-26T12:33:00.506873
2019-03-03T12:18:06
2019-03-03T12:18:06
173,553,381
0
0
null
null
null
null
UTF-8
Python
false
false
323
py
from selenium import webdriver qspider=webdriver.Chrome() qspider.get("https://www.facebook.com/") qspider.maximize_window() qspider.implicitly_wait(30) qspider.find_element_by_id("email").send_keys("radha23041993@gmail.com") qspider.find_element_by_id("pass").send_keys("lilyc") qspider.find_element_by_id("u_0_b").clic...
[ "2304anukumari@gmail.com" ]
2304anukumari@gmail.com
be982130e33fc0a553e3b3fd8b65745079611ef1
d61ec1de30d52e11dd778cc189422d69ac28a3bf
/tools/dictionary_compare.py
b9dc9f9b25f6a7a0dd352aed753cf7191b4820b3
[]
no_license
nlp-study/zhihu_competition
00c5f343d4954e33935633cf6105976e05496264
b76102a3f00e02f608da955117989aff8ecd2184
refs/heads/master
2020-03-08T08:59:24.363067
2018-04-07T12:47:13
2018-04-07T12:47:13
128,035,157
0
0
null
null
null
null
UTF-8
Python
false
false
2,573
py
''' Created on 2017年8月25日 @author: Zhang Xiulong ''' from tools.list_operation import * def compare_list(input_1_path,input_2_path): dict_1_list = read_list(input_1_path) dict_2_list = read_list(input_2_path) # dict_1_word_list = [x.split('\t')[0] for x in dict_1_list] # dict_2_word_l...
[ "zhang_github@163.com" ]
zhang_github@163.com
f25b608cb443f23a57322c75709b19998812d924
893e8e5eafa998124df3be9071dda69831babffa
/calibration_flat/calibration_data/plotLaserScan1.py
09bff59ec7ecb997869258e746d180809239e7d1
[]
no_license
779688471/laser_calibration
3ce3f8a5404bc3445acc46f966bd46508c81a48b
e1f82e2f06ac22e45deb8a77541a10485b2dd590
refs/heads/master
2023-03-18T09:54:55.196359
2019-11-14T20:39:27
2019-11-14T20:39:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
698
py
import matplotlib.pyplot as plt import csv x = [] y = [] with open('reducedranges1.csv','r') as csvfile: plots = csv.reader(csvfile, delimiter=',') for row in plots: x.append(float(row[0])) y.append(float(row[1])) px = [] py = [] with open('calibration_points.csv','r') as csvfile: plots...
[ "jan-456@t-online.de" ]
jan-456@t-online.de