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
1464ca6d44baf915444d9dad3ecc767fdff28e0e
dffd7156da8b71f4a743ec77d05c8ba031988508
/ac/abc154/abc154_b/9971915.py
c5baf251f913ab6f70b442a7456aca0f26f2032a
[]
no_license
e1810/kyopro
a3a9a2ee63bc178dfa110788745a208dead37da6
15cf27d9ecc70cf6d82212ca0c788e327371b2dd
refs/heads/master
2021-11-10T16:53:23.246374
2021-02-06T16:29:09
2021-10-31T06:20:50
252,388,049
0
0
null
null
null
null
UTF-8
Python
false
false
25
py
print("x"*len(input()))
[ "v.iceele1810@gmail.com" ]
v.iceele1810@gmail.com
8b5034a5ccb77ac0bd4e8067f44ce7262bb7a28f
713ae0f3f54f8fcfae796a46b3c307c329e0818f
/mailing/views.py
a683a30e32851f44fda1878d419f5456bbc6508b
[]
no_license
MartinStevko/mailing
68396e0a015823de7ad3c1be7db3cdfd6f8b375c
1aff64f1ef6e7232f8a7591f445c6818006df399
refs/heads/master
2020-03-29T12:40:52.166485
2018-09-24T17:41:56
2018-09-24T17:41:56
149,912,131
0
0
null
null
null
null
UTF-8
Python
false
false
576
py
from django.shortcuts import render, redirect from django.views import View from django.conf import settings from django.core.mail import send_mail from .models import * class MailView(View): template = 'mailing/index.html' def get(self, request): send_mail( 'Testovanie mailingu', ...
[ "mstevko10@gmail.com" ]
mstevko10@gmail.com
420170684f99d322af40a55732783f81fe0183aa
c1d6a5a715d198b556bc19240693a1621dd7f81b
/app/main/model/posts_model.py
bf6820ce99ec5fe40242db5d756e653808d1e6c2
[]
no_license
clive1995/python-practice-proj
0ff39e197a16a02a0d54c55d5abc7c086f05068a
38e6010e265d0a62a16eb88ba063c0c8379a1dc9
refs/heads/master
2023-02-21T13:17:28.743815
2021-01-21T07:17:35
2021-01-21T07:17:35
327,896,120
0
0
null
null
null
null
UTF-8
Python
false
false
768
py
from .. import mdb from .user_model import User import datetime class Likes(mdb.EmbeddedDocument): userId = mdb.ReferenceField(User) class Comments(mdb.EmbeddedDocument): userId = mdb.ReferenceField(User) publicId = mdb.UUIDField() text = mdb.StringField() # name = mdb.StringField() createdO...
[ "almeidacclive@gmail.com" ]
almeidacclive@gmail.com
d060ae03bafd519e0887b2a4bc2d04c63345c116
95e5da0f1b811e8f3e5a964ed3efc55e927b0c60
/knn.py
06d5f489153a04654901c8f5d46f3c0ef7727172
[]
no_license
delta9874/ML-practice
40dfbb089fa1fc39c323c12aaaf3655f2ba55d3c
657dee66302516479c0dc73259c4f04f6e5e45bd
refs/heads/master
2020-06-18T20:42:28.696737
2019-07-11T17:46:26
2019-07-11T17:46:26
196,440,544
0
0
null
null
null
null
UTF-8
Python
false
false
1,976
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Feb 13 15:05:49 2019 @author: delta """ import numpy as np import pandas as pd import matplotlib.pyplot as plt import seaborn as sns from sklearn import model_selection from sklearn import metrics from sklearn import ensemble from datetime import datet...
[ "noreply@github.com" ]
delta9874.noreply@github.com
0305bffab91530450d963a852da22b235312750e
41d1e085dc3ec6c329b8d6443035e1e8a1c93bcc
/gridded/tests/test_pysgrid/test_processing_2d.py
dc315187cf10aeba2e0c9777265a7f8e7304e614
[ "Unlicense" ]
permissive
Ocean1125/gridded
9252d3d89ecacc55c59a0ecf6fd60fe6ac0afd6e
90cca5edf4c8d9a47914c2b6d6f78180d9c280a5
refs/heads/master
2023-05-15T13:21:34.144583
2021-06-03T21:50:01
2021-06-03T21:50:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,341
py
""" Created on Apr 3, 2015 @author: ayan """ from __future__ import (absolute_import, division, print_function) import pytest import numpy as np from gridded.pysgrid.processing_2d import avg_to_cell_center, rotate_vectors, vector_sum def test_vector_sum(): x_vector = np.array([3, 5, 9, 11]) y_vector = np...
[ "Chris.Barker@noaa.gov" ]
Chris.Barker@noaa.gov
13f1517af465f4f0433f3dd29f9e10ba786f7d8a
15cd250ae98a0647f81a2eefcfd738b32f56170a
/EditarInformacion.py
33f2e953489a6636a92c542330911f49d709f099
[]
no_license
hernanarangoisaza/Efenergy_v2.0
21fed08d5497ebaa692d096b59954b15bd3154c5
be4faadec77e4e3ab52f4dec5f89d25c061ab5f8
refs/heads/master
2023-01-22T03:05:05.682459
2020-11-25T13:32:48
2020-11-25T13:32:48
296,912,896
0
0
null
null
null
null
UTF-8
Python
false
false
5,472
py
from ArchivoInformacion import ArchivoInformacion import wx import easygui as eg class EditarInformacion(wx.Frame): def __init__(self, id, title, informacion, archivo_txt, ventana_inicio, identificador): wx.Frame.__init__(self, None, id, title, size = (878, 350),pos=(0,0), style = wx.DEFAULT_FRAME_STYLE & ~(wx.R...
[ "31634784+hernanarangoisaza@users.noreply.github.com" ]
31634784+hernanarangoisaza@users.noreply.github.com
e8041325e5a03187eca417efcb61e8e3c5da43ac
59144f1514d0e546000848661effc7a503e109ed
/python/add_file.py
2666a2744e64fcf7a7aa3320e8664073599639fd
[]
no_license
rahul-pathak-12/Capture-Point-Modelling
b7231f708e67c8bc88404bb2f29c145421ea98e0
cbcbb2458c807c53d0a1c7139d21ad204c9564c3
refs/heads/main
2022-12-25T15:08:27.038837
2020-10-12T21:29:55
2020-10-12T21:29:55
303,515,864
0
0
null
null
null
null
UTF-8
Python
false
false
1,408
py
import os from os import listdir from os.path import isfile, join from sklearn import preprocessing import numpy as np import pandas as pd VERSION = "TRAIN" DIR_ORIGIN = "C:\\Users\\User\\Desktop\\RAW_DATA\\\STEP_MODELLING\\" + VERSION + "\\" DIR_DEST = "C:\\Users\\User\\Desktop\\RAW_DATA\\\STEP_MODELLING_PROCESSED\\...
[ "rahul.pathak@hotmail.com" ]
rahul.pathak@hotmail.com
30baae12e19f189b80c4c6bf2f69ad918fe7a895
83dec5389da7a2c3e4759a3b92abcae18d60c77e
/trainlog/_version.py
b0ae2e2d97b9c7231d2d855fbb09cab5ea69c876
[ "MIT" ]
permissive
DouglasOrr/TrainLog
0c72b837f38145601c8de154893a95f57c6c58ed
5478a6f90627817aae6acb665a2c36192b3ec0f2
refs/heads/master
2023-02-08T10:45:43.631905
2021-01-01T09:42:59
2021-01-01T09:42:59
323,322,850
0
0
null
null
null
null
UTF-8
Python
false
false
43
py
"""Module version.""" __version__ = "0.3"
[ "douglas.orr99@gmail.com" ]
douglas.orr99@gmail.com
ee9570ac547bccf91a414edc9b5d73e065cfd695
9f26388284fb7900d28f64c0a87dc9d042661f3d
/linggajati_membership/models/models.py
9efb1861ca20d505287e40bbe39a4e101f4d2fd6
[]
no_license
suningwz/gnbs-project-module
574742744e8a4a8bee0719cd7764d17d423719d6
4122376edfa6663b072b8f2946b036bd814ee7ef
refs/heads/main
2023-04-15T16:21:32.473932
2021-04-30T01:32:25
2021-04-30T01:32:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
871
py
from odoo import api, fields, models class ResPartner(models.Model): _inherit = 'res.partner' @api.model def get_all_data(self): # result = {} result = [] res_partner = self.env['res.partner'].search([]) # print('rest partner :', res_partner) # print('email :', res...
[ "abuabdirohman4@gmail.com" ]
abuabdirohman4@gmail.com
7ecc834bd42da9a9ef5316f8cbec45fb208fb2ac
9e0e3a155f7f533b178d4ed31ae7a16050e414c2
/edx-ai-week4-project-master/edx-ai-week4-project-master/KernelCalculator.py
14d764b07feafc728556d44b59674f92415fd826
[]
no_license
RudraNilBasu/edx_AI
1c67595fbf4d12619e61282d88b7374dc01d9e98
5c80bb241b7d79cb6fdd9d331d03e8171a46e642
refs/heads/master
2021-08-22T08:42:16.809292
2017-11-29T19:40:22
2017-11-29T19:40:22
112,519,558
1
0
null
null
null
null
UTF-8
Python
false
false
423
py
import FastGrid from Util import Util from UtilityCalculation import UtilityCalculator class KernelCalculator(UtilityCalculator): def __init__(self, create_snake=True, ramp_amplification=2.0): self.kernel = Util.compute_kernel(create_snake=create_snake, ramp_amplification=ramp_amplification) def comp...
[ "rudra.nil.basu.1996@gmail.com" ]
rudra.nil.basu.1996@gmail.com
d76f8ca07d1ad9d079c6e38cf85e61ef63f39ac2
91a64c5b90b04c1fc66f781da07b8ee6352f6260
/api/models/twse_over_bought.py
c92ff8585695dab0fd7233afd04f2cf8cac00915
[]
no_license
deersheep330/svc-api
309949f046334beb52a70cb737276c60b798fd4b
a86008a9fbd5fa45f5809d142060c311e3a08625
refs/heads/master
2023-02-15T09:26:48.923293
2021-01-13T09:11:59
2021-01-13T09:11:59
322,479,858
0
0
null
null
null
null
UTF-8
Python
false
false
569
py
from sqlalchemy import Column, String, Date, Integer, func, ForeignKey from sqlalchemy.orm import relationship from ..db import Base class TwseOverBought(Base): __tablename__ = 'twse_over_bought' symbol = Column(String(16), ForeignKey('stock.symbol'), nullable=False, primary_key=True) date = Column(Date...
[ "yangchiu@inquartik.com" ]
yangchiu@inquartik.com
0fed331e4c8562a59ca97e427cf0565c82985187
9b2789e2933f67f7d089f71ffb1ea9a1b4745fca
/spider_project/spider_market/admin.py
9cd5eeb9fe66ce95a5bd09273ea2ad17de606998
[ "MIT" ]
permissive
Sam1808/SG
eaff1b9eca9c1a2f29bdb520a56e65d71c576a81
4352aebdc35b5d84be09863af5d85b843e039e20
refs/heads/main
2023-03-16T19:52:44.466833
2021-03-01T08:17:42
2021-03-01T08:17:42
331,236,041
1
0
null
null
null
null
UTF-8
Python
false
false
436
py
from django.contrib import admin from .models import Category from .models import Company from .models import Product from .models import User @admin.register(Category) class CategoryAdmin(admin.ModelAdmin): pass @admin.register(Company) class CompanyAdmin(admin.ModelAdmin): pass @admin.register(Product)...
[ "Anton.Pozdnyakov.I@gmail.com" ]
Anton.Pozdnyakov.I@gmail.com
dfda23ba52d06ae59f94778824b2821140346d4b
924aa2af8991e9ff18821bfd852a27410b8af583
/app/blog/main.py
6f8e6b08276dc321cfd4ab59e6f257317f1519a1
[]
no_license
cmanish049/fastapi
e1b86f6fdb7f172e305cf6925fcfc8fca430a34b
433af34d765c707bcb834401930773b25e2263dd
refs/heads/main
2023-06-05T18:00:50.818915
2021-06-15T09:40:47
2021-06-15T09:40:47
377,111,115
1
0
null
null
null
null
UTF-8
Python
false
false
339
py
from blog.routers import user from fastapi import FastAPI from blog import models from blog.database import engine from blog.routers import blog, user, authentication app = FastAPI() models.Base.metadata.create_all(bind=engine) app.include_router(authentication.router) app.include_router(blog.router) app.include_r...
[ "cmanish049@gmail.com" ]
cmanish049@gmail.com
d823898501c02c05d1ae6ef25b3f53acb1993905
426d2c882d2e3197c3ae0426b85f29d61abb6367
/src/algorithms/mock_ranking.py
08ed5f75b785a5b78ba11663ac7fb839c0810336
[]
no_license
pestefo/ra_recommendator_conrec
9b5a0c1a6958ed3f0834c95b53939314394c5425
8274b4d6d7dbcda95a24a07c7a1acb9df6003163
refs/heads/master
2023-02-18T06:13:07.333750
2022-11-04T00:01:04
2022-11-04T00:01:04
153,520,188
2
0
null
2023-02-11T02:11:22
2018-10-17T20:34:08
null
UTF-8
Python
false
false
583
py
#!/usr/bin/env python # coding: utf-8 from random import randint from operator import itemgetter class MockRanking: ranking = None def __init__(self): MockRanking.ranking = [] MAX_NUM_USERS = 43872 MAX_SCORE = 2500 for i in range(1,150): MockRanking.ranking.append(...
[ "pestefo@gmail.com" ]
pestefo@gmail.com
738ca2b4d18b5b461b81b8391794ffc365fb64ac
2d1649a7a00d49b72ed7e53afa4abb3c9281ce03
/.history/ParticleFilter/go_to_goal_20190422000909.py
44131ed7c7cc6b39d57b9fe072ecd26c460c9af9
[]
no_license
joshzhang5/CS3630Lab6
9547dc6c89198e9bb4aebd8359d4feb974082d20
69e6df12829e18a211ae850236d74b4d728046ef
refs/heads/master
2020-05-15T13:59:51.906195
2019-04-22T18:21:42
2019-04-22T18:21:42
182,317,674
0
0
null
null
null
null
UTF-8
Python
false
false
12,138
py
# Jiaxi Zhang # George McAlear try: import matplotlib matplotlib.use('TkAgg') except ImportError: pass from skimage import color import numpy as np from numpy.linalg import inv import threading import time import sys import asyncio from PIL import Image from markers import detect, annotator from grid i...
[ "josh@lawn-143-215-110-217.lawn.gatech.edu" ]
josh@lawn-143-215-110-217.lawn.gatech.edu
8d7f11c56fe6bb5b741355a5dfad0460a1ea89f4
10b4db1d4f894897b5ee435780bddfdedd91caf7
/thrift/compiler/test/fixtures/basic-annotations/gen-py3/module/types.pyi
d60450c59a3809ab28d5574573d39ae4ae414318
[ "Apache-2.0" ]
permissive
SammyEnigma/fbthrift
04f4aca77a64c65f3d4537338f7fbf3b8214e06a
31d7b90e30de5f90891e4a845f6704e4c13748df
refs/heads/master
2021-11-11T16:59:04.628193
2021-10-12T11:19:22
2021-10-12T11:20:27
211,245,426
1
0
Apache-2.0
2021-07-15T21:12:07
2019-09-27T05:50:42
C++
UTF-8
Python
false
false
4,129
pyi
# # Autogenerated by Thrift # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # @generated # import folly.iobuf as _fbthrift_iobuf import thrift.py3.types import thrift.py3.exceptions from thrift.py3.types import __NotSet, NOTSET import typing as _typing from typing_extensions import Final import ...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
59835f76410fdd430aaafe095baf7b9c493635fe
f848ebf1adb25cc6d188f43fb02c06dad1b01651
/api/employee.py
71e0dada8044141e1a869937b0bb167c0e182676
[]
no_license
miao88318/day03_apiTestIHRM
673320c724d9a661fa9ed120a62e0d82118719d9
213e4a498055e693993b21ca2bc7942af2a25c74
refs/heads/master
2022-07-28T04:39:05.390142
2020-05-21T07:06:23
2020-05-21T07:06:23
265,769,499
0
0
null
null
null
null
UTF-8
Python
false
false
1,596
py
# 导包 import requests # 创建员工的api类 class TestEmployeeApi: def __init__(self): self.login_url = "http://ihrm-test.itheima.net" + "/api/sys/login" self.emp_url = "http://ihrm-test.itheima.net" + "/api/sys/user" def add_emp(self, headers, username, mobile): response = requests.post(self.em...
[ "stan@stan.com" ]
stan@stan.com
0bd37e75d236a48f03ea922f9cbda948310d785c
a67b85c3dd12be926cac1b773b034ceeb45f35dd
/contacts.py
62d831725f77113a3fb88dcb1799fa2e6cf80c50
[]
no_license
ShujaAbrar/python
7dd2bb0d1ce5e42e41bd0cd2aa988997f5af0019
d5b47ff56ba79132b89c573abfe196d71906f1b8
refs/heads/master
2022-09-16T11:55:51.178719
2020-05-28T15:04:53
2020-05-28T15:04:53
266,954,563
0
0
null
null
null
null
UTF-8
Python
false
false
438
py
n=int(input()) l=[] for i in range(n): x=list(map(str,input().split())) if x[0]=="add": l.append(x[1]) if x[0]=="find": count=0 for j in range(len(l)): if l[j].find(x[1])!=-1: count+=1 l[j]="-1" print(count) ________________________...
[ "noreply@github.com" ]
ShujaAbrar.noreply@github.com
00830b1923d7887a191dd956ab3d9d6ca167d13f
4855ca7f4b48e170206a20d75446c17ddf77cf10
/controllers/default.py
01fc4e0d04bacbcbb9c5117e6ebedacebe9abad4
[ "LicenseRef-scancode-public-domain" ]
permissive
jorgeagua/init
148e3c059538a94b8ca65e46c5ca90aef62ac0a0
75f9254e3961f302132859d188e2c54e9a624779
refs/heads/master
2021-01-17T17:00:26.252948
2012-05-12T23:06:21
2012-05-12T23:06:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,494
py
# -*- coding: utf-8 -*- if 0: from gluon.globals import * from gluon.html import * from gluon.http import * from gluon.tools import Auth from gluon.sqlhtml import SQLFORM, SQLTABLE, form_factory session = Session() request = Request() response = Response() ### required - do no delete de...
[ "jorge.agua@gmail.com" ]
jorge.agua@gmail.com
eca833dd5032aa1e6795775cf3cdd34363e3c686
4d5f3693e6fc2c7b2c931376324229555cb72af7
/driving_predicates.py
4e790ce9c574c6a63b657c1b054c2cf856ba5ee0
[]
no_license
m-j-mcdonald/driving_sim
a2ba8208f1fcf9aad2bc994d49e65bb618847134
dc94b172ba5abb20e19039ecd1f83819f2d47d95
refs/heads/master
2020-03-20T03:23:49.390665
2018-07-10T00:11:21
2018-07-10T00:11:21
137,144,699
0
0
null
null
null
null
UTF-8
Python
false
false
28,894
py
import numpy as np from sco.expr import Expr, AffExpr, EqExpr, LEqExpr from core.util_classes.common_predicates import ExprPredicate from internal_state.dynamics import * MOVE_FACTOR = 2 END_DIST = 4 COL_DIST = 0.5 def add_to_attr_inds_and_res(t, attr_inds, res, param, attr_name_val_tuples): if param.is_symbol...
[ "m_j_mcdonald@berkeley.edu" ]
m_j_mcdonald@berkeley.edu
00d7668ae6a3f28c782338272199e6bbe8a40d2f
97615bc7406963f570585b390997b26459cfbfa4
/ask/qa/views.py
619cea46a6981050361ea98b4709d6a5a7fb2dde
[]
no_license
s3b00/stepic_web_project
5b1dba1b4ca656540426e6e408fb26cf52f37658
62de6bead5323a291e8ace3c7b96739d9d354ea8
refs/heads/master
2023-01-03T13:56:28.937493
2020-11-01T18:26:45
2020-11-01T18:26:45
301,691,890
0
0
null
null
null
null
UTF-8
Python
false
false
3,327
py
from django.contrib.auth.decorators import login_required from django.views.decorators.http import require_GET from django.http import HttpResponse, HttpResponseRedirect from django.core.paginator import Paginator, EmptyPage from django.shortcuts import render, get_object_or_404, Http404 from .forms import AskForm, A...
[ "seboo@yandex.by" ]
seboo@yandex.by
54bcf6cbfab570bf169c4098ee5b6793f73a1e8e
d2e3d7ffab17950f49ca7739d164851c2cb20793
/currency_exchange/rateUpdater/updater.py
bccd72530d60f92e105ed37f74c2372bced69dd3
[]
no_license
diaa95/Python_Stack
d6211208bf872d8434154186d9abe9fa291e84e1
4d37dca254624a8faa52264f2cdea7b389e7224f
refs/heads/master
2023-03-17T09:29:15.197759
2021-03-08T16:51:27
2021-03-08T16:51:27
323,318,327
0
3
null
2020-12-27T09:18:55
2020-12-21T11:37:05
HTML
UTF-8
Python
false
false
270
py
from datetime import datetime from apscheduler.schedulers.background import BackgroundScheduler from rateUpdater import rateApi def start(): scheduler = BackgroundScheduler() scheduler.add_job(rateApi.update_rate, 'interval', minutes=45) scheduler.start()
[ "Diaa.abdaldayem@gmail.com" ]
Diaa.abdaldayem@gmail.com
7402d3175729950a83667309b34cdfaaab5cce1f
a8c226e94330bb76f1ada9557a34d6d34eb73e59
/ST_LE/task 4.py
21748577de394af18f568043e29999b5b05ac897
[]
no_license
AntonVetoshkin/Students_Lecturers
8b789d59975b6d4907956882c79ce2e946a8393b
7b50b7a5371a5c4c35992bc331db17f86dc87016
refs/heads/master
2023-05-11T20:58:01.638478
2021-05-26T17:31:35
2021-05-26T17:31:35
365,810,327
0
0
null
null
null
null
UTF-8
Python
false
false
5,259
py
class Student: def __init__(self, name, surname, gender): self.name = name self.surname = surname self.gender = gender self.finished_courses = [] self.courses_in_progress = [] self.grades = {} def add_courses(self, course_name): self.finished_courses.appe...
[ "aveto77@mail.ru" ]
aveto77@mail.ru
ef87da3bc9de550ff3d3d28e44b67645e9acf1ff
177b940035c7b84cf97fb4f34c451b8b10e55f95
/caso1ferreteria/caso1ferreteria/__init__.py
0e33cddf2fdee6747d4b2606824383c0c6aa1de2
[]
no_license
sergio-escalona/Caso1Ferreteria
2dd3c56a58d9856a177c2ec0c2db4272d936c0d8
743301ac75cad571110f1e1cac4edafcadc86f4c
refs/heads/main
2023-05-06T13:45:39.601338
2021-06-03T04:36:38
2021-06-03T04:36:38
359,029,991
0
0
null
2021-05-07T19:02:57
2021-04-18T02:54:03
Python
UTF-8
Python
false
false
37
py
""" Package for caso1ferreteria. """
[ "cristofopo@me.com" ]
cristofopo@me.com
24de1f20787e1d6c9153630871c6cd0f77470b59
4fe36a6c302b48be5cc26f5a2b6cd43d8f720d6f
/break_continue.py
6e3961c07dfea9cd358627e5a3409e90dd1eff8f
[]
no_license
semora93/PYTHON
acdc4d1d471a180a5392da5e0c45bce765ebb1ed
3093c12282e3e345c01c20632fd13f275bf2e011
refs/heads/master
2022-12-06T01:25:56.092457
2020-08-24T00:47:55
2020-08-24T00:47:55
282,899,549
0
0
null
null
null
null
UTF-8
Python
false
false
157
py
def run(): for contador in range(1000): if contador % 2 != 0: continue print(contador) if __name__ = "__main__": run()
[ "sebastianmora93@gmail.com" ]
sebastianmora93@gmail.com
fbc081707ef66f98e229cca660ba24a576af8e5f
479bf0773eb6b3e80a7257b15b9f203f68707669
/Examples/V3/problems/problems/updateProblemErrorHandling.py
258a7c614d7829c23e9bd3352cb41efa31453580
[]
no_license
rucamedia/python-client
56fa82c81452e9560d1eb7b5d295896391bf882f
2b9ddbea0f9173754dfeb4f4e651a7c5a275bf52
refs/heads/master
2020-03-29T10:40:08.261883
2018-08-30T10:47:25
2018-08-30T10:47:25
149,817,070
1
0
null
2018-09-21T20:55:50
2018-09-21T20:55:50
null
UTF-8
Python
false
false
1,134
py
""" Example presents error handling for problems.update() API method """ from sphere_engine import ProblemsClientV3 from sphere_engine.exceptions import SphereEngineException # define access parameters accessToken = '<access_token>' endpoint = '<endpoint>' # initialization client = ProblemsClientV3(accessToken, endpo...
[ "lewon.robert@gmail.com" ]
lewon.robert@gmail.com
47949966bb64eca06b601565bd6738c719e31d0c
48430e3541ef93d1a87dfeca04707e1c3f01df01
/day16/Block.py
6c8b70a530e1bb688948627f0f8bd58ec3b06ace
[]
no_license
shinhash/MyFirstPythonProject
859a676380deb745aff8f3461ddf45cca2eadc41
dd408e05b2e5f0dce363caf2555e2659a7d8a1e4
refs/heads/master
2022-12-30T15:39:12.295534
2020-10-21T11:24:40
2020-10-21T11:24:40
297,940,459
0
0
null
null
null
null
UTF-8
Python
false
false
367
py
from random import * class Block(): def __init__(self): self.kind = randint(1, 7) # self.kind = 2 self.status = 1 self.xloc = 4 self.yloc = 2 def __str__(self): return "kind = " + str(self.kind) + ", status = " + str(self.status) + ", x = " + str(...
[ "shinhash123@gmail.com" ]
shinhash123@gmail.com
f185fb7d2592d7b702fbb0aa041313972b43ce49
a140fe192fd643ce556fa34bf2f84ddbdb97f091
/.history/모듈과 패키지/외장함수_20200711174751.py
99b2fc1648509015a8491be7758fc5ff48cd8b55
[]
no_license
sangha0719/py-practice
826f13cb422ef43992a69f822b9f04c2cb6d4815
6d71ce64bf91cc3bccee81378577d84ba9d9c121
refs/heads/master
2023-03-13T04:40:55.883279
2021-02-25T12:02:04
2021-02-25T12:02:04
342,230,484
0
0
null
null
null
null
UTF-8
Python
false
false
324
py
# list of python modules라고 검색한다 # Python Module Index라는 페이지를 들어간다. # # glob : 경로 내의 폴더 / 파일 목록 조회(윈도우 dir) # import glob # print(glob.glob("*.py")) # 확장자가 py 인 모든 파일 # os : 운영체제에서 제공하는 기본 기능 import os print(os,get)
[ "sangha0719@gmail.com" ]
sangha0719@gmail.com
fdeecbc693b16c87cc920accd36f9da1ef8b27b7
42067b59116507b817bb85e517c1bebe9793e44d
/mysql/MysqlException/__init__.py
d810c89f0326ad8f5a144cd682d89f04a6cedb48
[]
no_license
Yelphp/Python_study
b05517f24a7d68ede19d1fcd73c1845dcde6eb42
74bcec35894e6c7a9a00151ee6c88d7b92a60689
refs/heads/master
2022-09-15T18:20:15.701801
2020-06-02T07:46:40
2020-06-02T07:46:40
263,251,662
0
0
null
null
null
null
UTF-8
Python
false
false
105
py
#!usr/bin/env python class MysqlException(Exception): def __init__(self): print('初始化') pass;
[ "yels@cc.cc" ]
yels@cc.cc
f6bdb6fdae81f13cfe121cc6e8b2f81bffc9cc72
485cf3c70fcaa68689a2b690b6465f1d6bcf21bd
/Python3_Selenium3/第7章/7.28.py
8d5897a67392f8b8f40cc6a250867a33283293b2
[]
no_license
lxz0503/study_20190608
5ffe08c4704bb00ad8d1980baf16b8f5e7135ff4
47c37798140883b8d6dc21ec5da5bc7a20988ce9
refs/heads/master
2022-12-23T17:23:45.039015
2021-06-23T14:50:19
2021-06-23T14:50:19
190,884,812
1
3
null
2022-12-15T23:17:33
2019-06-08T12:22:56
Python
GB18030
Python
false
false
455
py
### ###配套视频已出版,学习有疑问联系作者qq:2574674466### ### #coding=utf-8 dict_1 = {'Name': 'Jack','Age':18,'Score':100} print("操作字典元素之前,遍历并打印字典元素如下:") for (key,value) in dict_1.items(): print(key + ":" + str(value)) dict_1.clear() print("操作字典元素之后,遍历并打印字典元素如下:") print(dict_1) for (key,value) in dict_1.items(): print(key + "...
[ "lxz_20081025@163.com" ]
lxz_20081025@163.com
23a21be9bcf676c66497144883ee69f723158063
5df5fd36725df0cc9816c5819a3e9d231c1cad70
/stars.py
e9e6a011992e4859a87e0ba11dd82eef570cf1b7
[]
no_license
spartanshaz/Python
73e77698514b20fd52bb4d42a1fc5973f664df83
fe9921c484f8e694a2f607afb8c7b03061f90acb
refs/heads/master
2020-05-24T14:39:29.546926
2015-06-10T10:18:56
2015-06-10T10:18:56
37,189,292
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
def box(width,height): print width * "*" for i in range (height-2): print"*"+(width-2)*" " + "*" print width*"*" box(10,3)
[ "shahzadmuddabbir22@gmail.com" ]
shahzadmuddabbir22@gmail.com
81d721b7a0d2e8728825bf4b491d4817d1e1a862
eeda5834c6bd0632487407e161f8f19a6328f9ea
/Topological_Sorting.py
9d72d3a06b81c46407ef5253d5dc612846bff6e8
[]
no_license
Halal375657/Graph-Theory
01709f7e9125c635c680bc66557d77254a394fed
549f0f7a7acee9e3a236044648ac635c6138b657
refs/heads/master
2020-11-25T02:25:58.986387
2020-03-23T09:50:22
2020-03-23T09:50:22
228,451,265
0
0
null
null
null
null
UTF-8
Python
false
false
1,483
py
# # Topological Sorting Algorithm. # # O(V + E) # from collections import defaultdict graph = {} Graph = defaultdict(list) # Add edge of directed graph. def addEdges(u, v): Graph[u].append(v) # Adding in-degree. def addDegree(u, v): try: graph[v] += 1 except KeyError: graph[v] = 1 ...
[ "halaluddin375657@gmail.com" ]
halaluddin375657@gmail.com
bad4e975b3fc893bea41ab614dc569b05124cc83
773789b345985925028a6a00c5ad0dd3609fad3d
/week07_assignment/wsgi_simple_server.py
eed3d5c8d799f4725e6dd2476a18434db34c635e
[]
no_license
spedl/uw_python
ea254924b37d2946da4048341d00dc52a2c4c4fa
7073f060d725921028c44ce59f654c54f492b45f
refs/heads/master
2020-05-28T02:38:31.837734
2012-03-19T04:02:43
2012-03-19T04:02:43
3,181,852
2
0
null
null
null
null
UTF-8
Python
false
false
749
py
""" Simple WSGI application runner, including its own WSGI server Usage: python simple_wsgi_server.py <application> <port> Example: python simple_wsgi_server.py test.wsgi 8080 Default application is wsgi_test, default port is 8000 The application module can be named anything, but the application callable it provid...
[ "jacob@bigdoor.com" ]
jacob@bigdoor.com
f770862e00c3d4bd907fea69199c536b14816ffa
c8b938ab98e7ea8a97bd9f5ec001dbfe1af08eef
/CNN Model/main_cnn_code/cnn_crisis_train.py
34a588a4980e1aa3fedd0377a008d7bb702b6fa2
[]
no_license
Rajratnpranesh/CRISIS_MODEL
ca32f4190bb568d25f13f210430646a47ac97ec7
dd1fe63f1591e9d8290513c8f750f349301d5f08
refs/heads/master
2020-09-11T15:18:15.149632
2019-11-16T18:41:40
2019-11-16T18:41:40
222,108,439
6
0
null
null
null
null
UTF-8
Python
false
false
12,793
py
'''Train LSTM RNNs on the AIDR tweet classification task. GPU command: THEANO_FLAGS=mode=FAST_RUN,device=gpu,floatX=float32 python lstm_rnns_aidr.py Output after 4 epochs on CPU: ~0.8146 Time per epoch on CPU (Core i7): ~150s. ''' from __future__ import print_function import numpy as np np.random.seed(437) # for...
[ "raj.ratn18@gamil.com" ]
raj.ratn18@gamil.com
16443e3ed297179dafc58fb10e0a1b55dcc6fec6
c4726317d2a4387cede3808a8f314b02d0001664
/soft/FQW/paired_comparison/forms.py
f629043924208522123805d47471d491b0265b41
[]
no_license
CyclopsV/Final_qualifying_work
8220eedca7b118ce6eb1978d141ef12dabfa1def
97f8bb3fabe7dbcad3320daa869afc96dde33bd1
refs/heads/main
2023-07-07T22:01:30.962479
2021-09-03T13:40:06
2021-09-03T13:40:06
402,754,083
0
0
null
null
null
null
UTF-8
Python
false
false
1,438
py
from django.forms import ModelForm, TextInput, Textarea, BooleanField, ClearableFileInput from .models import Comparisons, Users class ComparisonsForm(ModelForm): index_check = BooleanField(help_text='Является ли первый столбец индексами', required=False, initial='True') class Meta: model = Comparis...
[ "vnikita3@gmail.com" ]
vnikita3@gmail.com
81409cc992d48f7b31a22d72b721517277678d4f
ce1a7e0f31f8859b3e301d8c6a4c772a52527727
/CSE 218/LAB 1 & 2/lab1 (2).py
b2d587777f48cb4a3030c3afbc9fa8db549496a5
[]
no_license
SaemHasan/Level-2-Term-1_CSE_BUET
2d9ab472b98fb8cbe6caf9c616a3882e8f9893ba
75d0478f77d438e6bc57bc0dcd52fcde2f6a390a
refs/heads/main
2023-06-27T05:04:52.420317
2021-07-31T09:28:06
2021-07-31T09:28:06
391,307,544
0
0
null
null
null
null
UTF-8
Python
false
false
66
py
#import lab2(1) print("HELLO SAYEM") x=5 print (x) #a=func(2,3)
[ "1705027@ugrad.cse.buet.ac.bd" ]
1705027@ugrad.cse.buet.ac.bd
c32280151535cb4189a8683788d19498c57003ae
142db8ada9070a9c1d8b2582c5819f1b915c6598
/tests/test_cache.py
dfbec7f38bc50ef8c78704c61a37b0fe62b446a1
[ "ISC" ]
permissive
mixja/boto3-session-cache
77e883622d8da30d94d52691b98e68f2a38c0452
ba64d358319ffc1a05d648867f635bcfceca4644
refs/heads/master
2020-12-30T13:21:56.011964
2018-02-26T11:40:27
2018-02-26T11:41:21
91,209,115
10
0
null
null
null
null
UTF-8
Python
false
false
1,213
py
import pytest import os import json from datetime import datetime from boto3_session_cache import JSONFileCache CACHE_PATH = os.path.expanduser(os.path.join('~', '.aws', 'cli', 'cache')) def test_cache_lookup(fs): cache = JSONFileCache() key = 'my-profile--arn_aws_iam__111111111111_role-admin' data = {'test': '...
[ "justin.menga@gmail.com" ]
justin.menga@gmail.com
9f48bfedb2c4173468cb9cd3c705f3b68fd47718
340352a8f482b765c3105f595502299c5e318961
/Raia2011/model/name2idx/variables.py
486f0c86f54b8984a157707c9b890cb701bf8703
[ "MIT" ]
permissive
Jin005/cancer_modeling
9e7e98f6a76c9aded1dad7f67b9e54b3fb6c9ade
0db555dfd0e35dfa220207c775311bbba30158fc
refs/heads/master
2022-11-05T19:57:50.630021
2020-06-27T04:54:24
2020-06-27T04:54:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
353
py
var_names = [\ 'IL13stimulation', 'Rec', 'Rec_i', 'IL13_Rec', 'p_IL13_Rec', 'p_IL13_Rec_i', 'JAK2', 'pJAK2', 'SHP1', 'STAT5', 'pSTAT5', 'SOCS3mRNA', 'DecoyR', 'IL13_DecoyR', 'SOCS3', 'CD274mRNA', # 'len_f_vars'\ ] for idx,name in enumerate(var_nam...
[ "himoto@protein.osaka-u.ac.jp" ]
himoto@protein.osaka-u.ac.jp
b224e371785741f76713f1e7f35515d2c7ed977a
e786939abb1c4a8a4730879e45b2bb0d755a9b7e
/players_scrape.py
bf56853a3a3f9d22976f586fa337acfcf38a38f1
[]
no_license
keithxm23/scrapesquawka
2d18091793d737be2872faa64738c0f71be5f7c7
2a9928486643fe38137305af180bc655659e4c18
refs/heads/master
2021-01-20T01:57:25.338928
2014-07-16T23:02:48
2014-07-16T23:02:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
637
py
#!/usr/bin/env python import urllib import os from bs4 import BeautifulSoup PHOTO_BASE_URL = "http://www.squawka.com/wp-content/themes/squawka_web/uploaded_icons/players/thumb/" BASE_URL = "http://www.squawka.com/wp-content/themes/squawka_web/stats_process.php?season_id=119&team_id=" TOTAL_TEAMS = 32 found_teams = 0...
[ "kmascare@akamai.com" ]
kmascare@akamai.com
0bbdd4bf7a5f32254ed7f31f8c35606cae64ef68
3e5ecad4d2f681f2f4f749109cc99deea1209ea4
/tf114/tf11_2_diabetes.py
25d2c7c7cc73f3820f81ab3f4d6d2093ecf8625e
[]
no_license
SunghoonSeok/Study
f41ede390079037b2090e6df20e5fb38f2e59b8f
50f02b9c9bac904cd4f6923b41efabe524ff3d8a
refs/heads/master
2023-06-18T06:47:55.545323
2021-07-05T00:47:55
2021-07-05T00:47:55
324,866,762
1
0
null
null
null
null
UTF-8
Python
false
false
1,851
py
from sklearn.datasets import load_diabetes import tensorflow as tf tf.compat.v1.set_random_seed(66) dataset = load_diabetes() x_data = dataset.data y_data = dataset.target y_data = y_data.reshape(-1,1) print(x_data.shape, y_data.shape) # (442, 10) (442,1) from sklearn.model_selection import train_test_split x_trai...
[ "76455292+SunghoonSeok@users.noreply.github.com" ]
76455292+SunghoonSeok@users.noreply.github.com
8389ca0978988a6a23f2ee68ab0f2e04e1d8f107
3c03073d609ea59bf3086828b6f39ccea9830d43
/test/test_inline_object21.py
596ed5573daf20904858755d38631195febc423a
[]
no_license
mkj28/codefresh_client
7226201ca1958b9ee880cebccef531e43880390d
bd2bfeb43fbc27ac00e98428f1a1382df08f5a95
refs/heads/master
2020-04-30T07:22:20.265388
2019-03-22T07:49:26
2019-03-22T07:49:26
176,682,127
0
0
null
null
null
null
UTF-8
Python
false
false
856
py
# coding: utf-8 """ Codefresh API Codefresh API openAPI 3.0 specification # noqa: E501 OpenAPI spec version: 0.0.1 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import codefresh_client from codefresh_client.models.inline_object21 import I...
[ "michal@gladly.com" ]
michal@gladly.com
259af6fd38f7530b5db9bc123a7453b2252e7725
fa8a563f71519d0bd188f9218c6e34e18e6833f7
/CIFAR10/cifar10_input.py
2033d7a931b65d83554c053dd56150780ec7ac44
[]
no_license
EricGaoJiaBao/cat_emotion
b9493a4629a7e26ad5d1d724508634137c87c5cd
7c5b3c7e82ef1e1889515892d7f2e69c1f73b904
refs/heads/master
2021-01-23T01:18:45.582704
2017-09-11T09:57:07
2017-09-11T09:57:07
102,433,313
4
4
null
null
null
null
UTF-8
Python
false
false
4,999
py
#By @Kevin Xu #kevin28520@gmail.com #Youtube: https://www.youtube.com/channel/UCVCSn4qQXTDAtGWpWAe4Plw #Chinese weibo: http://bit.ly/2nAmOcO #The aim of this project is to use TensorFlow to process our own data. # - cifar10_input.py: read in data and generate batches # - cifar10.py: build the model archite...
[ "noreply@github.com" ]
EricGaoJiaBao.noreply@github.com
791f8d85d3d886791e02f627e1970db741e70788
9d302ca09271e7ef892d0e07aa46181e6a8b07cd
/script.py
433d5e2bf3e6f0fdf2dda186537df26889426239
[]
no_license
edify42/fun-key
0f1c18e27e52ded82c0bf67225ec65a3bf053dca
0391c1c61f8f6cb8589a6f33d500bdd44cb445ff
refs/heads/master
2023-08-14T23:38:27.429912
2021-10-03T11:04:06
2021-10-03T11:04:06
412,032,481
0
0
null
null
null
null
UTF-8
Python
false
false
2,257
py
from ecdsa import SigningKey, SECP256k1 import ecdsa import codecs def max(): power = 256 max_val = 2**power print("max number yo: ") print(max_val) test_val = 115792089237316195423570985008687907852837564279074904382605163141518161494337 # print(max_val) # 1157920892373161954235709850086879078532699846656...
[ "edify42@yahoo.com" ]
edify42@yahoo.com
a6ad218d7bc11de0390f8dc2972083016003f7da
fedaabb798b5110eadf7e90f461f3b52728e1b44
/project_cellphone/cellphone.py
53a9be9e1da9ec74a9f72b3023ee7d64e00e8aa9
[]
no_license
HikaruG/NCU_scripts
cd776ca66174299b2054f9c2cb6c53381f3734e5
2bcb31613d303b7556bb85b1fb70c3112025fa9d
refs/heads/master
2020-07-11T15:14:56.601002
2019-08-27T00:04:36
2019-08-27T00:04:36
204,580,707
0
0
null
null
null
null
UTF-8
Python
false
false
3,264
py
import cellphone_phonecallsys reload(cellphone_phonecallsys) import cellphone_calendar reload(cellphone_calendar) import cellphone_contact reload(cellphone_contact) class Cellphone(object): def __init__(self, phone_id, phone_num,phone_location): self.phone_id = phone_id self.phone_num = p...
[ "noreply@github.com" ]
HikaruG.noreply@github.com
4e39f2b57ab4e11da0fd51bf75e4cf23aae756bb
8e1c2f90d2a121dceb2fe6f8f3482c0821b49cc8
/Girilen iki sayı arasındaki sayıları toplayan programı while döngüs....py
2f9342fd380870e0af9bd7c1be7e724ef754f97b
[]
no_license
KaanPY/PythonBaslangicOrnekleri
205f9c36e0289ce636337f76d8ae5fb8ab011fb4
88261fcf3c445f84c53651c4c612ceb1fb662004
refs/heads/main
2023-07-27T00:03:41.694648
2021-09-11T10:43:18
2021-09-11T10:43:18
405,351,741
0
0
null
null
null
null
UTF-8
Python
false
false
292
py
# Girilen iki sayı arasındaki sayıları toplayan programı while döngüsü ile ekrana yazınız. sayi = int(input("Sayı bir giriniz: ")) sayi2 = int(input("Sayı iki giriniz: ")) toplam = 0 while(sayi <= sayi2): toplam = toplam + sayi sayi = sayi + 1 print(toplam)
[ "noreply@github.com" ]
KaanPY.noreply@github.com
af2ced00ab5aa3cbb20c882eba158903939ef5e8
32c9f7f497ac6e3d50f8bb9a47187fa1677103eb
/src3/npiAddrExtractor.py
d6c642e8fdda399a6a9d68f916ad064e74b77a49
[]
no_license
lancerzh/AddrVerify
10729f29e0ba2dbf95a6eb6cfd92546d108aa78f
23da619229b8e6cfcf874bfda1ee3cf81bf821f9
refs/heads/master
2021-01-01T04:55:55.946304
2016-04-27T14:53:15
2016-04-27T14:53:15
55,976,543
0
0
null
null
null
null
UTF-8
Python
false
false
6,565
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- ''' Created on Mar 28, 2016 @author: lancer ''' import verify_by_usps; import USMailAddress; import csv, codecs, io; import time; import socket import sys ''' input npi file which can doanload from http://download.cms.gov/nppes/NPI_Files.html It include two address info...
[ "xlancer@yeah.net" ]
xlancer@yeah.net
095739ac447185b9c95741b1cc83f810274081cf
b6db7fcdb24b4da8415e54de81b9b86bc6fcc757
/annotator_supreme/config/development.py
8fee63a37d67b3d6bda166bf841da44c1f1b9005
[ "MIT" ]
permissive
jtoss/annotator-supreme
dcc3cb638f58342c3d8ac3033dbd3dfb486e891d
9c1fe72f968f6facb8fafc65ba49014014049c3c
refs/heads/master
2021-09-10T06:27:07.074733
2018-03-21T14:36:45
2018-03-21T14:36:45
112,369,673
0
0
null
2017-11-28T17:56:41
2017-11-28T17:56:40
null
UTF-8
Python
false
false
192
py
import logging ENV = 'development' APP_DEBUG = False # CORS configuration CORS_HEADERS = 'Content-Type' CORS_ORIGINS = '*' KEYSPACE = "annotator_supreme" #Logging LOG_LEVEL = logging.INFO
[ "gustavofuhr87@gmail.com" ]
gustavofuhr87@gmail.com
3417dd1bfb27a6908472c7fab7fd73e1b3b250d3
6a32a3ef88f8eff3efb0938d9a8f32ed94a8b11b
/scripts/02_features.py
5a642f57a0a04cc863a6999b2440cff50ce7800c
[ "MIT" ]
permissive
codeformuenster/openair-cologne
f2e7a111fb26b64df521a2f65979fb159279e52f
0e7096695443ad23028a35d41597a4221945b280
refs/heads/master
2020-04-16T07:39:22.263476
2019-01-29T22:05:02
2019-01-29T22:05:02
165,394,793
3
0
null
null
null
null
UTF-8
Python
false
false
759
py
"""Feature engineering.""" import pandas as pd # %% LOAD df_lanuv = pd.read_parquet('data/df_lanuv.parquet') \ .groupby(['timestamp', 'station'])['no2'].aggregate('median') \ .reset_index() \ .groupby(['timestamp'])['no2'].aggregate('median') \ .reset_index() \ .rename(columns={'no2': 'no2_cologne...
[ "jensen.thorben@gmail.com" ]
jensen.thorben@gmail.com
691dbc4c44ced539c61b9cfa403a6ef79b3a159c
96d55aa2f0b5ce6fb6c706dde47eeffc06853539
/flipbookapp/views.py
7ad7a1e96b5e510194a9c52bc6e57aec1250f1b5
[]
no_license
laamp/flipbook
5b63a0d281b8cde2cc0763157090a69c36929622
c34f63885bfea8027c105d8ab207d331928d2442
refs/heads/master
2020-06-16T20:58:32.685578
2019-07-09T05:39:00
2019-07-09T05:39:00
195,702,036
1
1
null
null
null
null
UTF-8
Python
false
false
504
py
from django.shortcuts import render from django.http import HttpResponse from .models import Collection, User def home(req): return HttpResponse("App home. Hello!") def collection_details(req, collection_id): collection = Collection.objects.get(id=collection_id) context = {collection_id: {"id": collecti...
[ "lance.matthew.smith@gmail.com" ]
lance.matthew.smith@gmail.com
900a29135e6327fba64530bbf7efb62664e1e3e0
d6f9856369de739eb1d48f36704032fc9d6ad279
/01-spider/practice/seleniumJdGrandandProduct.py
5ca58c43fb5dff43ab415094a4e3f08a04e7f0fa
[]
no_license
huchangchun/spider
7fd1cfd1aced71887700d1a1db176b898ca75775
7349c91bc5abf4a633752cc7a33fe24756d2ac97
refs/heads/master
2020-03-13T06:54:04.316515
2019-12-20T02:08:45
2019-12-20T02:08:45
131,014,167
0
0
null
null
null
null
UTF-8
Python
false
false
11,957
py
#encoding=utf-8 from selenium.webdriver.support import ui from selenium.webdriver import Chrome import time,os from bs4 import BeautifulSoup from selenium import webdriver from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.co...
[ "hu_changchun@126.com" ]
hu_changchun@126.com
0fda26b376e0f8dcbd1ac5a37aff9b42d12f11f4
df79e52a9e9d7230edfe81573c667be514b29b62
/exam/migrations/0006_myuser.py
5ddf4197d533184889cd92e5ba073c09a94509a5
[]
no_license
ragnarok347/ceconlineexam
682b3c18242ef44601049fb7930d28ab1b3d73ee
451168f8fbcab21f394d31161a8a5f37c0a66e4f
refs/heads/master
2020-12-22T06:51:15.123837
2020-11-30T16:17:42
2020-11-30T16:17:42
236,702,041
0
0
null
2020-01-28T09:46:09
2020-01-28T09:46:08
null
UTF-8
Python
false
false
908
py
# Generated by Django 3.0.3 on 2020-02-21 10:52 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('exam', '0005_auto_20200217_2025'), ] operations = [ migrations.CreateModel( name='Myuser', fields=[ ...
[ "noreply@github.com" ]
ragnarok347.noreply@github.com
278df4d6ba4b5361013658159c67c8018ba68755
c0e019be8b01366e0dce31ce8d0f7f740088adfd
/letterguess1.py
a3252cda1ee316cd15008f8fcc1f3b3cb0e68865
[]
no_license
rmaher/littleedie
7601df4e5832e7cad8dd87c2b3633d6b5d149707
c58ff5b2c8d8ad2499eabcd53e100971f86ca746
refs/heads/master
2020-05-17T05:37:21.462387
2014-09-06T18:48:02
2014-09-06T18:48:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
349
py
def isVowel(char): ''' char: a single letter of any case returns: True if char is a vowel and False otherwise. ''' if char == 'a' or char == 'e' or char == 'o' or char == 'u': return True elif char == 'A' or char == 'E' or char == 'I' or char == 'O' or char == 'U': return True ...
[ "rachelelizabethmaher@gmail.com" ]
rachelelizabethmaher@gmail.com
8811c483d5db3fb20315160987dfaa8a74ed1799
45def2cd621d5ce1b924a7c24379ab6884a71f9d
/server/test.wsgi
fc2faded6dc1fb92d11c753ab7c52d6cae7f03e3
[]
no_license
mbirtwell/reproduce_mod_wsgi_queue_timeout_bug
205077d67828e35f6e251a0437afd69df3ff212a
59e760e72aac93e3f11366d236328aad39fc24a4
refs/heads/master
2020-07-05T05:21:12.118127
2019-08-15T12:15:58
2019-08-15T12:15:58
202,535,606
0
0
null
null
null
null
UTF-8
Python
false
false
291
wsgi
from time import sleep import flask app = flask.Flask(__name__) @app.route("/delay/<int:amount>/<path:ignore>") def delay(amount, ignore): sleep(amount) body = """\ Delayed: {} """.format(amount) r = flask.make_response(body) return r application = app
[ "michael.birtwell@starleaf.com" ]
michael.birtwell@starleaf.com
65c54b11e8cdd95bfecd92cf81023fefba87aa9f
8b0d16a998719783a37b86d3dcae36ecf27029a8
/demo/mention_pairs_extractor_cpy_12122018/pipeline.py.bak
ebc7ab1d2c7c08b7e75adc3d3b4954800ddbfe8f
[]
no_license
yusrbi/ExQuisiTe
4e2fbbc466fbf3f0346c27adfd2e76bb0d29fd2d
3e14df63104022c01a669ea224fb132c0bbac935
refs/heads/master
2020-04-18T02:58:57.789571
2019-01-23T15:38:40
2019-01-23T15:38:40
167,182,913
0
0
null
null
null
null
UTF-8
Python
false
false
4,156
bak
#!/usr/bin/env python2 # -*- coding: utf-8 -*- import sys import findspark findspark.init() from pyspark import SparkContext, SparkConf from loader import Document_Loader from extractor import FeatureExtractor import extractor import codecs class PipeLine: def __init__(self): #TODO remover the setMaster...
[ "yibrahim@mpi-inf.mpg.de" ]
yibrahim@mpi-inf.mpg.de
f451b1b4faea36c7f6d7ca4ceec46e4a325c2715
4e5b20fdcca20f458322f0a8cd11bbdacb6fb3e5
/test/shop/ShopInfoModifyTest.py
bf78087f7fbec6a3ef4fc0ab81ee164682b8ea35
[]
no_license
shijingyu/sunningAPI
241f33b0660dc84635ce39688fed499f5c57a5da
4a3b2ef7f9bdc4707d1eaff185bc7eb636fe90d5
refs/heads/master
2020-04-24T22:15:11.584028
2019-02-24T06:41:20
2019-02-24T06:41:20
172,305,179
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
#!usr/bin/python # -*- coding: utf-8 -*- ''' Created on 2014-8-22 @author: suning ''' import sys sys.path.append("../../../api-sdk-python") import suning.api as api a=api.ShopInfoModifyRequest() a.placard = "心心相印" a.telphone = "010-11255555" f = a.getResponse() print(f)
[ "945090896@qq.com" ]
945090896@qq.com
1ea0910b6c40f92198824d0746983e6181e9e305
e3a975a04c262d7e848efb5a72d861b9c51e4dcd
/python_parallelism/part_1_threads/4_locks/rLock_usage.py
a798252b8a5428537d9abb0f92bdce933466bd68
[]
no_license
victorjabur/presentations
b7ac9b25fc122893f87ebfcc0101a8f7307af151
cf6dc1ea1f04d7108982dc4e1b063ec28b85e6a9
refs/heads/master
2021-01-19T12:42:01.726813
2017-08-13T00:09:16
2017-08-13T00:09:16
82,331,575
4
0
null
2017-02-17T19:36:59
2017-02-17T19:36:59
null
UTF-8
Python
false
false
1,195
py
import threading import time class Box(object): lock = threading.RLock() def __init__(self): self.total_items = 0 def execute(self, n): Box.lock.acquire() self.total_items += n Box.lock.release() def add(self): Box.lock.acquire() self.execute(1) ...
[ "victorjabur@gmail.com" ]
victorjabur@gmail.com
2558ae8382de1f1f6dc75e1393f2ca78965581fd
cf9f0b657a79cf3de0a0df68b915bdf23277e7c3
/snake.py
45129b5f4d87b8cb3a828eb53f0c8a11294fc50a
[]
no_license
imaadfakier/snake
c8043c3cd78fef4fce995eebc25327f84afdd11a
df83ae8aca553633eb4ae727a3683820c8282831
refs/heads/main
2023-08-15T12:56:37.689558
2021-10-18T08:38:22
2021-10-18T08:38:22
418,224,083
1
0
null
null
null
null
UTF-8
Python
false
false
2,610
py
from turtle import Turtle SNAKE_SEGMENTS_POSITIONS = [(-40, 0), (-20, 0), (0, 0)] SNAKE_MOVE_DISTANCE = 20 UP, DOWN, LEFT, RIGHT = 90, 270, 180, 0 class Snake: # ''' # ... # ''' """ ... """ # ... (ignore) # class attributes # ... def __init__(self): self.snake_segmen...
[ "58392951+imaadfakier@users.noreply.github.com" ]
58392951+imaadfakier@users.noreply.github.com
86b0f7f50a85078402d3aee998d9312891fefd9f
41911c73dec55eec3eac36b6d2e4346d949d2d96
/Word Censor1.py
c23a1a32ecb185367daaa8e506ec3c058ddde7b0
[]
no_license
mbarbour0/Practice
cff321a0e5e5090da266016f8e31a1902e1c5cb2
781cf1e10154f43adec59f736ef1716acba6c98d
refs/heads/master
2021-09-07T17:02:37.501748
2018-02-26T14:02:35
2018-02-26T14:02:35
115,876,807
0
0
null
null
null
null
UTF-8
Python
false
false
266
py
def censor(text, word): words = text.split() count = 0 result = '' stars = '*' * len(word) for i in words: if i == word: words[count] = stars count += 1 result = ' '.join(words) return result print censor('hey hey what can i do?', 'hey')
[ "m.barbour0217@me.com" ]
m.barbour0217@me.com
42ab39570dc84ac1d7601e300d81ad482e4685d7
ec68d5efe420dea0d8967de7f58a5b89d89a4a34
/i18nLib/i18nLib.py
7787967670d9718d91a7aa80cdce60518e5b868c
[]
no_license
sukutt/i18nLib
e63fbb49bedd387d9983212171e62e8dd6261691
880b25cb77772a0abf04210bccfb4857b6376043
refs/heads/master
2020-09-01T11:55:32.402856
2019-11-01T09:32:45
2019-11-01T09:32:45
218,953,523
0
0
null
null
null
null
UTF-8
Python
false
false
1,581
py
import os import re import csv oldCSVDic = {} newCSVDic = {} currentFile = "" def makeNewFile(data): f = open(currentFile, 'w', encoding="utf-8") f.write(data) f.close() def readCSV(wholePath, dic, isFirstKey=True): f = open(wholePath, "r", encoding="utf-8") data = csv.reader(f) headers = nex...
[ "woongahkim@netman.co.kr" ]
woongahkim@netman.co.kr
2fa2ad29b02a2a0a4a2b5c8c83e7221a7053cd6c
0090c267509e2a0e4a3309f7cf4d0d1c20a437f4
/pdfstat/rate.py
d55f32f1afe29b0f4cd92a1c6eb92d8178dfbe9a
[]
no_license
krzygorz/pdfstat
6e8cd06582de8baa2444df8108464394011a4611
761a2f8b503ca7ad97af351f4ff586b16e9096f8
refs/heads/master
2022-06-17T19:22:59.914878
2022-05-15T10:18:03
2022-05-15T10:18:03
249,234,191
0
0
null
null
null
null
UTF-8
Python
false
false
546
py
from functools import namedtuple from itertools import tee def pairwise(iterable): a, b = tee(iterable) next(b, None) return zip(a, b) def weighted(pairs): s = 0 total_weight = 0 for x, weight in pairs: s += x*weight total_weight += weight return s/total_weight def pages_p...
[ "krzygorz@gmail.com" ]
krzygorz@gmail.com
b54f9706f3e6ef7feac1b053edb3cfe821fccb46
172162ad255cdf62656a1fcc7b6c712a47d483e8
/exe3/headquarters/tester.py
0cff9b087783a889f852916bae51ebe57d4bed3a
[]
no_license
marioskogias/algo
1a3e64f6e70c8779d88056395af6123fdb6059d8
8796b5e1cfec24ef5f596940b77e4c02c3c0536f
refs/heads/master
2021-01-10T07:14:09.288229
2013-03-10T19:34:46
2013-03-10T19:34:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
190
py
import os count = raw_input() for i in range(int(count)): print i+1 os.system("./headquarter < headquarters/input"+str(i+1)+".txt") os.system("cat headquarters/output"+str(i+1)+".txt")
[ "marioskogias@gmail.com" ]
marioskogias@gmail.com
0d1c6e8e53e7251468c2bf5ef873438916e52d02
ffeb09f710556ffaee1944af9019be17cfb835d4
/repositories/album_repository.py
180fdb57717422333506ee3f10db55fcc05ca240
[]
no_license
ReneeNGraham/SQL_exercise_codeclan-
fc10ed944209734a9b76f51d10ceaa7ae1656e0b
edb9485b9c0218deac4161df1c1fd70b0c633ecb
refs/heads/main
2023-02-22T06:42:02.076558
2021-01-26T23:25:47
2021-01-26T23:25:47
333,244,340
0
0
null
null
null
null
UTF-8
Python
false
false
1,277
py
from db.run_sql import run_sql from models.album import Album from models.artist import Artist import repositories.artist_repository as artist_repository def save(album): sql = f"INSERT INTO albums (title, artist_id, genre) VALUES (%s, %s, %s) RETURNING*" values = [album.title, album.artist.id, album.genre] ...
[ "renee.noluthando@gmail.com" ]
renee.noluthando@gmail.com
d2a35ea2668ab07a1748e0d2a8759317926dfa88
02495eeb56c436d1dbf9f4700c43658d16ffe0ca
/03_P💀Spoopy/pylindrome/docker/app.py
098301d96aed87ab4fa1b8e3ec47ee7f45351bbd
[]
no_license
ce8so9/csr-2020-tasks
906a55c14bca0f7a14b228cbce08a38f7d2271eb
cd6ca7f98a40d5e7eb41c61f5b293537188b85c4
refs/heads/master
2023-01-12T09:33:02.928645
2020-11-10T16:19:30
2020-11-10T16:19:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
371
py
#!/usr/bin/env python3 import subprocess def sandbox(toexec): return subprocess.check_output(["sudo", "-u", "sandbox", "python3", "-c", toexec]).decode().strip() try: code = input()[:100] for bad in ['#', '"""', "'''"]: code = code.replace(bad, "") assert code == code[::-1] exec(sandbox(c...
[ "lukas@schauer.so" ]
lukas@schauer.so
178a9a2b75f11fdfb923aefdd0d5dd8a19b43333
fae5db82f29b87d6ea32ab9eef2183f318a35e05
/app/training.py
9891dd87fdf4f97e52addf857b05cd50067c4326
[ "MIT" ]
permissive
m-triple-m/project_junky
a06a871f43dbff23c03f54ab15535b7240362b96
e55d3eeae6e97f002ab3087245e9dbeb4ed3eafd
refs/heads/master
2022-04-15T08:27:36.250289
2020-03-26T22:17:16
2020-03-26T22:17:16
250,379,330
0
0
null
null
null
null
UTF-8
Python
false
false
3,335
py
import pandas as pd import numpy as np import pickle import sklearn.ensemble as ske from sklearn import tree, linear_model from sklearn.model_selection import train_test_split from sklearn.feature_selection import SelectFromModel from sklearn.externals import joblib from sklearn.naive_bayes import GaussianNB from sklea...
[ "triplem656@gmail.com" ]
triplem656@gmail.com
d996405520f5fadcbb45bb17b636f2011447af94
f5b5a6e3f844d849a05ff56c497638e607f940e0
/capitulo 05/05.02.py
3c052b435e84ceae4eef942fd6fc518631fd4e89
[]
no_license
alexrogeriodj/Caixa-Eletronico-em-Python
9237fa2f7f8fab5f17b7dd008af215fb0aaed29f
96b5238437c88e89aed7a7b9c34b303e1e7d61e5
refs/heads/master
2020-09-06T21:47:36.169855
2019-11-09T00:22:14
2019-11-09T00:22:14
220,563,960
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
############################################################################## # Parte do livro Introdução à Programação com Python # Autor: Nilo Ney Coutinho Menezes # Editora Novatec (c) 2010-2019 # Primeira edição - Novembro/2010 - ISBN 978-85-7522-250-8 # Segunda edição - Junho/2014 - ISBN 978-85-7522-408-3 # Terce...
[ "noreply@github.com" ]
alexrogeriodj.noreply@github.com
dd4330f60b86977ec40540239079d1a8fef5d657
5e84bfc75213f94190131ae86045903304e87242
/whizdom/wsgi.py
beb18d78cc23476dc7f001d3cb86283117706080
[]
no_license
waqashamid/whizdom
ac30974ed62a1808ef34a4dae2d0bea014ac4ccb
b0eba30d3a1d0f51b384abb2325a76fdca3cc7be
refs/heads/master
2022-12-11T15:15:21.595126
2018-12-10T11:14:14
2018-12-10T11:14:14
140,866,190
1
0
null
2022-11-22T02:54:27
2018-07-13T15:51:05
JavaScript
UTF-8
Python
false
false
391
py
""" WSGI config for whizdom project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTI...
[ "waqashamid722@gmail.com" ]
waqashamid722@gmail.com
224e6bf9c72fe236be357b83360e2f4a0ec1d360
d299883f8bd2458817b2b9e00d96f8bc9ae35e1e
/conftest.py
7c6a11468e0f91ff4be86b39a71c996b0c3dad02
[]
no_license
Teshimella/python_tests
7109782e29481128b472a3e7e5c9d652dbbcb30e
094b63a74969783e56551da9a6a31390168f14c9
refs/heads/master
2023-01-02T18:53:23.226001
2020-11-01T19:38:11
2020-11-02T07:07:33
309,173,676
0
0
null
null
null
null
UTF-8
Python
false
false
880
py
import pytest from .Gitmetods import GitMetods import time import base64 import os token = os.environ["TOKEN"].encode('utf-8') owner = 'Teshimella' git = 'https://api.github.com' encode_token = base64.b64encode(owner.encode("UTF-8") + b':' + token).decode("UTF-8") @pytest.fixture def api(name): apiagent = GitMet...
[ "Test" ]
Test
84a7d6d29a2a38c23bdf25e634b5e709d1813ab8
8ff9e061e34d77d02b130529ed8804b145df1b64
/app/soloanalysis/view/base/__init__.py
c6ff558ab2190495e249dad3cf13be479e56de61
[]
no_license
cash2one/solo-frame
e7277f564214304b398cb67f1b83326aee2d07ca
b9b9bd2fd96af0e0278427f3cff33582f15cf779
refs/heads/master
2021-01-23T04:39:19.500293
2016-10-29T13:59:14
2016-10-29T13:59:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,039
py
#!/usr/bin/env python # coding:utf-8 import _env # noqa import sys import httplib import traceback from os.path import join import tornado import tornado.web from tornado.httpclient import HTTPError from solo.config import APP, DEBUG def get_error_html(self, status_code, **kwargs): if status_code == 404: ...
[ "jay_yuyay@hotmail.com" ]
jay_yuyay@hotmail.com
40e6e32b3019631f8315891717d114988b825bf1
30d85430b0f44e5a57674c1b79e505a6f8e6118b
/registrationapp/models.py
817439029126dafd22061ed55d1b0dbe14cbbc7d
[]
no_license
Swarnasahu/project
a98c1832731f315b9dcd3385c6a33a1f179a9daf
d79ebfc3d0c6b6c765222eebf1bf3f37b23fe77b
refs/heads/master
2020-06-02T16:10:27.932375
2019-06-10T18:37:46
2019-06-10T18:37:46
191,222,515
0
0
null
null
null
null
UTF-8
Python
false
false
379
py
from django.db import models class RegistrationData(models.Model): firstname=models.CharField(max_length=30) lastname=models.CharField(max_length=30) username=models.CharField(max_length=30) email = models.EmailField(max_length=50) number = models.BigIntegerField() password1=models.CharField(max...
[ "noreply@github.com" ]
Swarnasahu.noreply@github.com
9634eb466219c63cc085cd1895ec57eb62ce0188
94ed98b2f4eec63be1510cc1555dad064bcc8f13
/example/mypackage/gui.py
a7104897b98fd8b34cd2a7ddc4d9a617212b18c5
[ "MIT" ]
permissive
axju/setuptools_freeze
dae496e66e5c6dc5c3d28876a056c8ddd8b570d9
c1d16bd714f5aec36ea07202f1a466eb0573d839
refs/heads/master
2020-07-24T05:43:06.920994
2019-09-11T13:32:18
2019-09-11T13:32:18
207,817,984
0
0
null
null
null
null
UTF-8
Python
false
false
2,654
py
import random from tkinter import Tk, Label, Button, Entry, StringVar, DISABLED, NORMAL, END, W, E class ConfiguratorGUI: def __init__(self, master): self.master = master master.title("Guessing Game") self.secret_number = random.randint(1, 100) self.guess = None self.num_gu...
[ "axel.juraske@short-report.de" ]
axel.juraske@short-report.de
62f0245a21f5755d34178160fb978f1a64a7f184
7df8b17e55934a51b6ba17ced3f240ea9bc37cf4
/create_models/bilstm_creators/50_50/bilstm-sentiment-analyzer50_50_4.py
6e5bc354f81f459d540b765188362b55959db4d5
[]
no_license
econmang/practice-lstm
e0c48f070d88e0167d15a8e145cc3692db8055a4
ad0ce96bf5b0292456bf9446e04f676a39b396c2
refs/heads/master
2022-05-12T13:09:22.459416
2022-05-06T06:38:37
2022-05-06T06:38:37
124,381,402
0
0
null
null
null
null
UTF-8
Python
false
false
3,336
py
# Bi-Directinal LSTM # Imports for keras and sklearn # keras: API Built on top of Tensorflow from keras.preprocessing import sequence from keras.models import Sequential from keras.layers import Dense, Dropout, Embedding, LSTM, Bidirectional from keras.utils import to_categorical from keras.datasets import imdb from s...
[ "econmang@gmail.com" ]
econmang@gmail.com
b2bc6d700ba40275585cfc1a818d9a36ad0f782c
0d0c13d80924b6e5cfc74a623eb250a5fd2e2cca
/Math/Compute nCr % m.py
7a9a4904bffa1b09667071e3a52d2ff5587639ea
[ "Apache-2.0" ]
permissive
Akashdeep-Patra/problemSolving
54e2fc3c3a9587b8c976921f6fc45364af1dfcac
c278e5d090af7370e56789e68b7bb73dc37165f8
refs/heads/master
2022-11-15T19:20:54.585886
2020-06-29T10:47:39
2020-06-29T10:47:39
258,956,787
0
0
null
null
null
null
UTF-8
Python
false
false
1,200
py
""" Compute nCr % m Problem Description Given three integers A, B and C, where A represents n, B represents r and C represents m, find and return the value of nCr % m where nCr % m = (n!/((n-r)!*r!))% m. x! means factorial of x i.e. x! = 1 * 2 * 3... * x. Problem Constraints 1 <= A * B <= 106 1 <= B <= A 1 <= C <=...
[ "adeep8961@gmail.com" ]
adeep8961@gmail.com
30b76a9a201dbe84b240185ffef64a666fffd06d
b21020746286ba1c1eac1905c393b1ddb1d208ff
/Day_2/Project.py
5e5ed717af701183056609e5269bcda22b45b646
[]
no_license
jfalkowska/pyladies-start
9bcc40abcb11560e853dc1c1cfc6df84addbb408
94687377d699644052c1a6d319cd824820e3f9c5
refs/heads/master
2021-07-04T11:49:07.245738
2017-09-26T14:07:55
2017-09-26T14:07:55
104,625,968
0
0
null
null
null
null
UTF-8
Python
false
false
588
py
print() dictionary = { 'cd': 'si-di', 'dvd': 'di-wi-di', } words_to_process = [] word = input('Podaj wyszukiwane słowo: ').lower() if word in dictionary: print('Wymowa Twojego słowa to: ' + dictionary[word]) else: print('Nie mamy takiego słowa w bazie danych. Wkrótce uzupełnimy słownik.') diction...
[ "jfalkowska@gmail.com" ]
jfalkowska@gmail.com
0c490d56b46e3f0a4b6cb6f26b399042af3e6b37
b7f45072d056b80ed49e6bcde91877d8576e970d
/ImageJ/py/load_blobs.py
3037ef28495247737fab6bf5bc930be4277273f8
[]
no_license
jrminter/tips
128a18ee55655a13085c174d532c77bcea412754
f48f8b202f8bf9e36cb6d487a23208371c79718e
refs/heads/master
2022-06-14T08:46:28.972743
2022-05-30T19:29:28
2022-05-30T19:29:28
11,463,325
5
8
null
2019-12-18T16:24:02
2013-07-17T00:16:43
Jupyter Notebook
UTF-8
Python
false
false
137
py
""" load_blobs.py """ from ij import IJ IJ.run("Close All") imp = IJ.openImage("http://imagej.nih.gov/ij/images/blobs.gif") imp.show()
[ "jrminter@gmail.com" ]
jrminter@gmail.com
440e0576d370bb15d1f889a608535bff75c3eea5
656a9d82b36c6113bfea9e28819e32877b2a9def
/module/pillow_test.py
2be01a2fe7f0dc6451e7388412f35a84b5011f2a
[]
no_license
wazsmwazsm/Python_prc
61b8a363d50772b35ef6763da997e402d8e651f2
d27f344c1dde88982be693579e66a7ca42f4de11
refs/heads/master
2020-12-07T17:07:59.205653
2018-11-28T14:58:56
2018-12-02T16:00:30
95,274,617
0
0
null
null
null
null
UTF-8
Python
false
false
163
py
#!/usr/bin/env python3 # -*- coding:UTF-8 -*- from PIL import Image im = Image.open('basic_41.jpg') print(im) im.thumbnail((200,200)) im.save('thumb.png', 'PNG')
[ "18748406022@163.com" ]
18748406022@163.com
852dfc6a9ea5e8763d80ec53520b8a7e3695a9a9
7e104ce38b6b4270a8c3b54c3726ce2c0024ea66
/betsy/views/order_item.py
f0d781c0b77ac3af363caef091704f4f477fa56b
[]
no_license
anselrognlie/betsy-flask
d8ffa564066496e3e6b726c1b7133c58f876b710
0adda0e84320795a701a3f57bb9a785e405bd01a
refs/heads/main
2023-02-06T11:56:38.491336
2020-12-20T18:32:46
2020-12-20T18:32:46
319,725,952
0
0
null
null
null
null
UTF-8
Python
false
false
1,435
py
# pylint: disable=missing-module-docstring from flask import Blueprint from flask import redirect from flask import url_for from flask import flash from ..logging.logger import logger from ..models.order_item import OrderItem from .helper.auth_helper import get_current_user, require_login bp = Blueprint("order_item"...
[ "ansel.rognlie@gmail.com" ]
ansel.rognlie@gmail.com
c3436938995466b144d6540550367d401cad712c
c443a7cd3a4c2ea3be746a5cfd343d59a555cff9
/CIFAR-10 93.67 CIFAR-100 70.52/cifar100_vgg16.py
ff6463b8b313289a64af4cce2ecc54610dfa0235
[]
no_license
woshidandan/fnnmOS_ELM
0dacf1944235924aa5fbe174f8c29a6314989615
0eb6a5000854284fe050a6ff7001aa93b03c1381
refs/heads/master
2021-08-15T18:15:35.985541
2020-05-12T03:10:53
2020-05-12T03:10:53
178,802,233
3
0
null
null
null
null
UTF-8
Python
false
false
15,503
py
import numpy as np import tensorflow as tf import random as rn # The below is necessary in Python 3.2.3 onwards to # have reproducible behavior for certain hash-based operations. # See these references for further details: # https://docs.python.org/3.4/using/cmdline.html#envvar-PYTHONHASHSEED # https://github.com/fcho...
[ "2281444815@qq.com" ]
2281444815@qq.com
7a9eacaaff1dee09c8f626968b2da5d9c9330251
881041fab1b4d05f1c5371efed2f9276037eb609
/tasks/airport-polygon/depositor.py
901985aae38ae47c1dac4ee3d0ad64212ad37cc1
[]
no_license
ResidentMario/urban-physiology-nyc-catalog
b568f3b6ee1a887a50c4df23c488f50c92e30625
cefbc799f898f6cdf24d0a0ef6c9cd13c76fb05c
refs/heads/master
2021-01-02T22:43:09.073952
2017-08-06T18:27:22
2017-08-06T18:27:22
99,377,500
0
0
null
null
null
null
UTF-8
Python
false
false
353
py
import requests r = requests.get("https://data.cityofnewyork.us/api/geospatial/xfhz-rhsk?method=export&format=GeoJSON") with open("/home/alex/Desktop/urban-physiology-nyc-catalog/catalog/airport-polygon/data.geojson", "wb") as f: f.write(r.content) outputs = ["/home/alex/Desktop/urban-physiology-nyc-catalog/catalo...
[ "aleksey.bilogur@gmail.com" ]
aleksey.bilogur@gmail.com
7cd502690ea2014302a0150c24ced0dd7e8e6aba
5e88b026e477a3945e221030b99877fe882ff71b
/autoxd/cnn_boll/load_img.py
fb12490e604fcd0f6b76af5b8cb345215d9dd748
[]
no_license
wgcgxp/autoxd
c038a623f2f41537930e157ae741d2c66ec50e4a
6e350bce34ec5b089f9e5cf4a522b07e6016024c
refs/heads/master
2022-11-28T08:03:24.093447
2020-08-17T07:36:00
2020-08-17T07:36:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,857
py
#coding:utf8 from __future__ import print_function import os import cv2 #opencv-python import matplotlib.pyplot as pl import matplotlib.ticker as tic from PIL import Image import numpy as np from autoxd.cnn_boll import env from autoxd.cnn_boll.pearson_clust import g_fname_csv, load_data as main_load_data imp...
[ "wang--kang@sohu.com" ]
wang--kang@sohu.com
18fb703b9c1e5c75de8537ea454f8900c32b66af
7a5243e4c91970773e882a45c05ab68b778b2694
/treasure_hunt/treasure_hunt/models/object_tip.py
6289802bb99fee38e5886fc857061282ce31dacd
[]
no_license
brunabxs/info-vis
8a772bf42d5664de81e8cdea935c7d89b64c5204
23a9744628f2d616d09ae59c633e6d8b2bf2f0df
refs/heads/master
2021-01-19T06:24:56.446753
2013-12-08T11:23:52
2013-12-08T11:23:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
568
py
from django.db import models class ObjectTip(models.Model): text = models.TextField() related_object = models.ForeignKey("Object") # EASY, MEDIUM or HARD (Each object sould have at least one tip of each difficulty level) difficulty_level = models.CharField(max_length=255) def serialize(self):...
[ "luizpericolo@gmail.com" ]
luizpericolo@gmail.com
4e2e4808b312d1b05fb71850e9bbf88c06f48c2b
cb42eef9aba4fc1a0dc808aae00e73cd5b44d7c0
/webapp/test_semantic.py
8f0ce747ca229deca3562a9f33c19139d7b21ae7
[]
no_license
xintao222/talkcode
9ad997533699698933a3339e2c644be3d827942f
28533b00036b6c0931f44aa63988679f601db502
refs/heads/master
2021-01-22T00:19:32.823257
2011-03-23T22:59:08
2011-03-23T22:59:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,968
py
import nltk.classify.util from nltk.classify import NaiveBayesClassifier from nltk.corpus import movie_reviews from nltk.stem.porter import PorterStemmer stemmer = PorterStemmer() def word_feats(words): global stemmer return dict([(stemmer.stem(word), True) for word in words]) def treat_parts(parts): re...
[ "disbeat@gmail.com" ]
disbeat@gmail.com
1b34b90e2f67217372f0c6145c4d7165d41135b2
6927c9e894a813749bc20d4f6d845b49cfd3fe1f
/scanner.py
f72abe6bcc33d2a776739d97b5ffe5e73d29dc40
[]
no_license
tempCross/BHP_scripts
4e7492cea85dc18d33252363999faed050656680
7eb3096c4c38ccae3d5924826bd835a4a2d3fc59
refs/heads/master
2021-01-22T01:14:17.469843
2018-07-26T16:25:26
2018-07-26T16:25:26
102,213,007
0
0
null
null
null
null
UTF-8
Python
false
false
3,617
py
#!/usr/bin/python import socket import threading import time from netaddr import IPNetwork,IPAddress import os import struct from ctypes import * from struct import * # host to listen on host = "192.168.1.187" # subnet to target subnet = "192.168.1.0/24" # magic string we'll check ICMP responses for magic_message = "...
[ "noreply@github.com" ]
tempCross.noreply@github.com
37acdcb18c346f0b966a42f60f2355c4666e132f
f8ecf2d7a4f3c74286ae2ea7ef592548c7a3b267
/647_string_Palindromic.py
1298f49b6fad57de3254a72e38d750de68cffcd5
[]
no_license
fatterZhang/leetcodeComments
beebec976465986f15ddf119f58fbe7702e55839
1535a92c2e141f86ce6c5a784d7d55ad05ed044f
refs/heads/master
2021-03-25T13:11:09.816365
2020-04-30T02:39:19
2020-04-30T02:39:19
247,621,299
0
0
null
null
null
null
UTF-8
Python
false
false
3,192
py
# -*- coding: utf-8 -*-# # Name: 647_string_Palindromic # Author: ARCHI # Date: 2020/3/20 # Description: 字符串相关的回文串 # ------------------------------------------------------------------------------- # Manacher's Algorithm 马拉车算法 求回文串 # 参考链接: https://www.cnblogs.com/grandyang/p/4475985.html https...
[ "1210188542@qq.com" ]
1210188542@qq.com
66b04227002a1607067f96719538442273eec5ec
1a27fa6447b2ef29f71833658a27564e48b08be6
/authentication/urls.py
4a2b0393902a71eb3223082d85f7841ffeee50f6
[ "MIT" ]
permissive
suryadana/django_rest
2af80e6df3c6081c4b18c05b997cf45da3e21a88
ffd3c3988e9f4ba973ef0b3d2b49232885f1b457
refs/heads/master
2020-03-26T09:28:12.358593
2018-08-14T18:00:29
2018-08-14T18:00:29
144,750,142
0
0
null
null
null
null
UTF-8
Python
false
false
249
py
from django.urls import path from authentication.views import ( UserCreateAPIView, UserLoginAPIView ) urlpatterns = [ path('auth/', UserLoginAPIView.as_view(), name="login"), path('auth/register/', UserCreateAPIView.as_view(), name='register') ]
[ "suryadana80@gmail.com" ]
suryadana80@gmail.com
5a5e52126f3d65f4e181b73cf8ef52d1509c7bbe
49800e971c605d74d0841a9bb07a618ad1fc6e49
/web/apps/nosari/urls.py
d7af7bec90c2311f11dcb3cfe7f3bacf8d6b4a99
[]
no_license
cerfelix/AntiSARI
ab0c9bd96c8044cd806d26db7b6eea67cf008f70
8a217390c367d2af65fd373cbf5794eaa841efea
refs/heads/master
2020-12-22T10:12:25.454134
2020-01-29T09:50:13
2020-01-29T09:50:13
236,748,324
0
0
null
2020-01-28T14:02:09
2020-01-28T14:02:08
null
UTF-8
Python
false
false
235
py
# _*_coding:utf-8_*_ """ @ProjectName: AntiSARI @Author: Javen Yan @File: urls.py @Software: PyCharm @Time : 2020/1/28 下午1:58 """ from web.apps.nosari.controller import NoSariHandler urlpatterns = [ (r'', NoSariHandler) ]
[ "2023335616@qq.com" ]
2023335616@qq.com
5cfe05bb879388617be66fa26b491d6a9224b810
84d5b9e6114f4588386d9342e34d52c3eab1556a
/Part4/packages/regression_model/regression_model/processing/preprocessors.py
c5e1a0a36be6ede1f85412afeb1a90aafbc93cbd
[]
no_license
Tifoaui/cours-A61
7980dc2de0bc2a73ac3715982cc987489d280b25
abd35f0d17a77dd2b661e1a4422fd772c6ff7e0e
refs/heads/main
2023-02-25T00:53:49.214908
2021-01-30T15:59:02
2021-01-30T15:59:02
330,817,988
0
0
null
null
null
null
UTF-8
Python
false
false
5,650
py
import numpy as np import pandas as pd from sklearn.base import BaseEstimator, TransformerMixin class CategoricalImputer(BaseEstimator, TransformerMixin): """Categorical data missing value imputer.""" def __init__(self, variables=None) -> None: if not isinstance(variables, list): self.var...
[ "tifaouisaid@gmail.com" ]
tifaouisaid@gmail.com
5c8a3d633cdc1f30c6039e31239a9dc7458adc8c
7604468bc21e5f7b11b7b48b884d8b8fd1b5235b
/venv/Scripts/pip3-script.py
8ce69a0d40c95b828f84e195a0a0f1b138530b64
[]
no_license
baallnight/syyoo3
5be17b7e107ed957880238d54cced70091a287ec
de333cedc00825e1516590aa3a99af988b396bfb
refs/heads/master
2020-05-05T07:05:36.660787
2019-04-13T09:20:01
2019-04-13T09:20:01
179,813,071
0
0
null
null
null
null
UTF-8
Python
false
false
412
py
#!C:\Users\ezen\PycharmProjects\syyoo-3\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0...
[ "gkdldkfk@naver.com" ]
gkdldkfk@naver.com
4c546506530b955241f0ab629a3c62ba306ed6e9
eeb351838cfb6af781586c0d67e2eb5efade738e
/dynamicProgrammin/climbStairs.py
427026889857c7b5a1e1ddc4a1c7672ee9acd607
[]
no_license
iCodeIN/Data-Structures-and-Algoritms
117a1191e3d4ac8a8c950fcec658fdc475360178
32f7cd0961abb293ec2c1d08c5686e4383a9f720
refs/heads/main
2023-02-14T19:27:47.209714
2021-01-13T02:39:56
2021-01-13T02:39:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
181
py
def climbStairs(n): if n==1: return 1 dp=[0 for _ in range(n)] dp[0]=1 dp[1]=2 for i in range(2,n): dp[i] = dp[i-1] + dp[i-2] return dp[-1]
[ "rucha.d1690@gmail.com" ]
rucha.d1690@gmail.com
94c75af050c8c909d60ab4ed56c2670b2b4bd071
d5a7981631d1ad2121fb5a252aee4b81260d376a
/posts/migrations/0002_auto_20190526_1626.py
f81d13a52d85166c78a095039650a983c5c67402
[]
no_license
alldroid/news-aggregator
f43bc869541bb6316df6d48709380fc122dad958
7394f6baad718ee88f0cf06ee9af5a5fa4b998e1
refs/heads/master
2023-05-04T18:52:55.340932
2019-11-19T20:12:11
2019-11-19T20:12:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
540
py
# Generated by Django 2.2 on 2019-05-26 16:26 from django.db import migrations import django.db.models.deletion import mptt.fields class Migration(migrations.Migration): dependencies = [ ('posts', '0001_initial'), ] operations = [ migrations.AlterField( model_name='comment',...
[ "viceroy627@news.4txip4n1dtve5mhis1bhurobdd.dx.internal.cloudapp.net" ]
viceroy627@news.4txip4n1dtve5mhis1bhurobdd.dx.internal.cloudapp.net
096008b72b4bbc1a8ce44f32e2520421c06122cb
448087b1e3335cd4f43172f0e0666f3bb8f351a0
/awd-lstm-单分类/visualizationTheVector.py
6b23e7f4327530d09233ebcaf9aa36e98e0efe1c
[]
no_license
NightmareVoid/LSTM_for_EEG
b87833dc6cee97155a894af1357371764b6cc2bf
bd55bea958c6460f9bd518bfe953651fce4f7168
refs/heads/master
2020-04-13T08:32:33.504765
2019-12-26T11:26:49
2019-12-26T11:26:49
163,083,858
7
0
null
null
null
null
UTF-8
Python
false
false
6,792
py
# -*- coding: utf-8 -*- """ Created on Wed Mar 13 21:17:16 2019 @author: night """ # .::::. # .::::::::. # ::::::::::: # ..:::::::::::' # '::::::::::::' # .:::::::::: # '::::::::::::::....
[ "noreply@github.com" ]
NightmareVoid.noreply@github.com
0b25817eb5e11c92de72378394c3f884aae9f3f1
4b2719da49b1beba62c043c7f099d3744b86e142
/d010.py
c3e32153f7c45e54f3109c4fdda9d70af96178d0
[]
no_license
fcvlh/python-cursoemvideo
68785b5fb09a6c9118cf0cae92b3bc3a6d0f5254
26d387716bb998c4882982f586bd375e7731e27b
refs/heads/master
2020-04-30T20:22:59.034694
2019-03-25T01:47:44
2019-03-25T01:47:44
177,064,646
0
1
null
null
null
null
UTF-8
Python
false
false
169
py
v = float(input('Qual é o valor que você tem disponível? ')) d = float(3.27) c = float(v/d) print('Com R$ {:.2f} você pode comprar {:.2f} dólares.'.format(v, c))
[ "felipecarvalho4@hotmail.com" ]
felipecarvalho4@hotmail.com
0c18fac95ddcd9bb781a3fec7a8ca8750a4c3d8b
01219eaf85e80f9bdebcb722278c12b10e46ac77
/write_surfrend_script.py
adb61cbcef046de72e25a95240665c2cd268277a
[]
no_license
KuperbergLab/MRI_scripts
0850613dfba41c9696251402a7c4b3a6311600f2
8b4fea4f2e9eeaaf36e8d4f52747bf78455e60a0
refs/heads/master
2021-01-23T08:56:58.728335
2013-11-05T14:43:14
2013-11-05T14:43:14
1,350,777
1
2
null
null
null
null
UTF-8
Python
false
false
1,033
py
import sys import os import os.path import readInput from os.path import join as pj def write_surfrend_script(conname,connum, swd, thresh, exthresh): """ Writes out the m file with matlab calls to surfrend_canonical.m. """ mfile_script = pj(swd, conname+".m") commands = [] commands.append("war...
[ "candida@nmr.mgh.harvard.edu" ]
candida@nmr.mgh.harvard.edu
886ca8342ed0e46c23d2cadfe13df261f5e69e34
c75f4fd96d537d57e28a1e3d6b25b7e7228dde36
/hlavnykomp/web/generate_rank.py
941804ab34ea5b4e81e8561540073b05069f0b72
[]
no_license
trojsten/proboj-2015-jesen
fd1277c84a890a748690f623ebaf6ce1747e871b
e7381c0c5847816540e2b7b4c44a7293a3a9e4c4
refs/heads/master
2021-01-17T12:40:22.778872
2017-03-17T11:16:35
2017-03-17T11:16:35
46,065,114
0
1
null
null
null
null
UTF-8
Python
false
false
8,736
py
#!/usr/bin/env python # -*- coding: utf8 -*- # Quick start: # # virtualenv venv # source venv/bin/activate # pip install flask markdown # ./web.py import os import re import time import tarfile from flask import (abort, flash, Flask, make_response, redirect, url_for, render_template, render_template_string, reque...
[ "faiface2202@gmail.com" ]
faiface2202@gmail.com
bf24ed5892fb160f649ce475c426d251ed8c2127
85988e23c7e94d3c4c6b8156c7e79040d0064320
/drf_demo/model_less/views.py
655e996c67d645cce946fbb1a99746faa5a561dc
[]
no_license
Thiyageshv/PizzaReminder
dcb98731b3ff3c461baa123342d28fc32ec3a97e
ebb10055249721474ea98c9ff2b94976bb8a1cd0
refs/heads/master
2020-12-24T18:55:11.824200
2016-05-13T00:29:47
2016-05-13T00:29:47
58,516,310
0
0
null
null
null
null
UTF-8
Python
false
false
6,947
py
import django_filters import json from rest_framework import filters from rest_framework import generics from rest_framework.response import Response from rest_framework import viewsets, status from auth import getresponse from . import serializers from . import yelp from .serializers import locserializer, groupseria...
[ "slogsudan001@gmail.com" ]
slogsudan001@gmail.com
ac26026eb814ca0db15731de59acc6421ff8784d
f1291ebc19962fac85512c807cef74837e4d9a13
/stss/__init__.py
51d81fa53ed8741bec7f3cdf7de2dcb615e63026
[ "MIT" ]
permissive
wuttem/stss
ab11e04079ce326f63212452cfcb90bc90bc8e65
518fe422ba090e77a0b4ef998955e097ffe7cae5
refs/heads/master
2020-06-10T01:03:01.876263
2017-02-19T11:36:50
2017-02-19T11:36:50
76,118,796
0
0
null
null
null
null
UTF-8
Python
false
false
96
py
#!/usr/bin/python # coding: utf8 from __future__ import unicode_literals __version__ = '0.1.0'
[ "matthias.wutte@gmail.com" ]
matthias.wutte@gmail.com
bf01b79a3700c352727aef8eaafe54f6f54e41dc
54f716fb857503f1afbde763302e4afd2237fbd0
/personalhealth/user/models.py
e35c2cae6468d5df984b0f72e06577d282f7dfc3
[]
no_license
VARSHINI2000V/PersonalHealthRecordManagement
26fa65b28e1749e13c5194359cb113fa6436e873
c065eced510ff24248b8d54f5edfdb44fdd7c90d
refs/heads/master
2023-05-19T21:15:09.515062
2021-06-11T07:13:31
2021-06-11T07:13:31
375,936,877
0
1
null
null
null
null
UTF-8
Python
false
false
2,245
py
from django.db import models # Create your models here. class Registeration(models.Model): #step 5 need to creaet all fields and insert html file in templates name=models.CharField(max_length=50) # create a new file urls.py in appname email=models.CharField(max_length=50,primary_key=True) password=models....
[ "20mx224@psgtech.ac.in" ]
20mx224@psgtech.ac.in
3d583524944b4d54d5c4a94528ae094f9a236bf1
b2092667277ecd2c5ef01d6070478621a2c73222
/Bandit/Scripts/ROT_Rotation.py
6d266e66464c0870b4117358363dbf1a972a1d1e
[]
no_license
WillGreen98/CTF-OverTheWire
47b181cda18ed4a1f745c1baa4c8d56a4d94120f
c4f11e971aa222306020eeeaa9bca1cc2b228d47
refs/heads/master
2020-04-17T11:37:11.305509
2019-01-31T00:15:42
2019-01-31T00:15:42
166,547,604
0
0
null
null
null
null
UTF-8
Python
false
false
224
py
#!/usr/local/bin/env python3 from string import ascii_lowercase as lc, ascii_uppercase as uc def rot_alpha(n): lookup = str.maketrans(lc + uc, lc[n:] + lc[:n] + uc[n:] + uc[:n]) return lambda s: s.translate(lookup)
[ "will.green98@hotmail.com" ]
will.green98@hotmail.com
36fffbf08add01a7aa0c0a0417081547bc20bd88
a7d7c4c04b3bfc0d5705de81ec5ddb52cd8bedf8
/db/tests/test_system_data.py
a4f3726782ea519628f052dc9df046a8626812dc
[ "MIT" ]
permissive
alorenzo175/ESPRR
f065db03598c2eaa278b095df7ed4c0434f3105a
de896a13c92fc4eaf3f7487e2ca8fb3ef3d04ebb
refs/heads/main
2023-06-22T09:21:41.341366
2021-05-01T03:25:13
2021-05-01T03:25:13
363,449,089
0
0
MIT
2021-05-01T15:54:44
2021-05-01T15:54:43
null
UTF-8
Python
false
false
8,865
py
from uuid import uuid1 from pymysql.err import OperationalError import pytest def test_system_foreign_key(cursor, system_id): cursor.execute( "select 1 from system_data where system_id = uuid_to_bin(%s, 1)", system_id ) assert cursor.fetchone()[0] cursor.execute("delete from systems where id...
[ "noreply@github.com" ]
alorenzo175.noreply@github.com
9ae6888a4830dd4d9410c8388b80e621f27c0173
f91823b5b660cc9057a713885581e5d3fd678c6d
/Python/419_BattleshipsInABoard.py
23b3188899e6bf96bba04cf5bbb861e67dc6ff22
[ "MIT" ]
permissive
Roiw/LeetCode
7ce722c2c1fa6117ccf18973d7cb6f79482e37c8
b052963e55a60d6b06608359cad979b8d87ec751
refs/heads/master
2021-06-24T01:56:21.116865
2021-01-30T07:19:27
2021-01-30T07:19:27
198,638,278
2
0
null
null
null
null
UTF-8
Python
false
false
871
py
class Solution: def countBattleships(self, board: List[List[str]]) -> int: def checkBattleDirection(direction, position): dX, dY = direction x, y = position[0] + dX, position[1] + dY while x < len(board) and x >=0 and y < len(board[x]) and y >= 0 and board[x][y] == 'X': ...
[ "lucas.martins.s@gmail.com" ]
lucas.martins.s@gmail.com
abcee18f11430112cfe40935f8b86f4ece9b19ee
ed79efafcc798e1af47c3041badf5953e22a9a86
/.atom/local-history/Users/anas/projects/scadmin_v3/scorecloud/2015-11-24_5-42-01 PM_admin.py
05856bef3224217a4256a290f35efb724cf8d6c9
[]
no_license
fsmo/anasfullstack-dotfiles
47534194bbe37dae48d70b161a7b5bcabf5b4a5e
a0e5eb831a2602b993fb121d94aa17f79b4c05ce
refs/heads/master
2020-03-19T10:35:55.384275
2015-12-18T15:01:54
2015-12-18T15:01:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,086
py
from django.contrib import admin from scorecloud.models import * from django.forms import ModelForm, CharField from django.forms import widgets from django.utils.safestring import mark_safe from django.contrib.admin import DateFieldListFilter, SimpleListFi...
[ "anas.aboureada@doremir.com" ]
anas.aboureada@doremir.com