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
851e188926412577b670edf374b8128bec3b8f91
773dc03117f8b0d51f7a10e2a4577229c8be6ba3
/alttprbot_discord/util/alttpr_discord.py
b109cfd6aa74d9845a9daf9414c8e7910803208f
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
tcprescott/sahasrahbot
382cdff058d63feb5f42dbbd7729eb4b08c4d1bd
64a125d948873d0faa5ea3f2d306075ad9e013be
refs/heads/master
2023-08-31T15:33:01.533206
2023-08-31T01:58:48
2023-08-31T01:58:48
178,310,225
22
43
MIT
2023-09-01T08:45:52
2019-03-29T01:34:45
Python
UTF-8
Python
false
false
17,139
py
import datetime import os import aiohttp import discord import html2markdown from pyz3r import ALTTPR emoji_code_map = { 'Bow': 'Bow', 'Boomerang': 'BestBoomerang', 'Hookshot': 'Hookshot', 'Bombs': 'Blowup', 'Mushroom': 'Mushroom', 'Magic Powder': 'Powder', 'Ice Rod': 'IceRod', 'Penda...
[ "tcprescott@gmail.com" ]
tcprescott@gmail.com
e3607a442bff7c43f904b6b494c8081b77810bdc
68f4e55f3d8176dd59eeaa4a2a8cf45e714cab38
/Luminar Python prmgs/Collections/Dictionary/employee.py
3d6c4034d326cba90a25d56ceda6cc8e59d925b6
[]
no_license
dhanyamc97/luminarpython
3558f4c3a77fce84bd26e1cf6f90d4ad7505f172
2c57c7da2c0ba0a171f64aaa80fe49fab9bddf5f
refs/heads/master
2022-12-31T21:22:52.623340
2020-10-23T10:33:28
2020-10-23T10:33:28
290,289,392
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
employee={ "eid":1000, "ename":"person", "design":"tester", "salary":15000 } print(employee["ename"]) #check for compny name there print("company" in employee) #add a new record company employee["company"]="Luminar" print(employee) #update employee salary = curr + 5000 employee["salary"]+=5000 pr...
[ "dhanyamc97@gmail.com" ]
dhanyamc97@gmail.com
a26bbf68119003ce6a2dd8fc24c5f0c47154a201
03613bca89bd257fd46353672f131d13b4f5beae
/weibo/test/myGA_raw.py
1af88fbd850e1d9ad904606e7bf7f14773e286ba
[]
no_license
feifanhanmc/MyWeiboPrj
8034011b9acb67c4379adce2f2fd50856be584e6
736d0b9f66fe4da9be324701db8510400efdf75c
refs/heads/master
2021-01-22T09:26:59.032545
2017-11-15T03:22:49
2017-11-15T03:22:49
86,690,214
0
0
null
null
null
null
UTF-8
Python
false
false
6,168
py
# -*- coding: utf-8 -*- import copy import random from math import sin, pi import matplotlib.pyplot as plt class Gas(): #初始化一些变量 def __init__(self,popsize,chrosize,xrangemin,xrangemax): self.popsize = popsize self.chrosize = chrosize self.xrangemin = xrangemin self.x...
[ "feifanhanmc@163.com" ]
feifanhanmc@163.com
faab337f01de40d0231dd63feb7558dc578a207a
0aa953ce2353ecebffe3e6853c43868ff1a9ece1
/4. For-Loop/05. Character Sequence.py
7875889540c2e026cd7c54b90ab285b1e1db64ee
[]
no_license
alexlikova/Python-Basics-SoftUni
1e341233f48fb20b0d3d264623c5b74d88e852d0
02a6a594dfce45c4996584e80437a5fcf0022e63
refs/heads/master
2023-02-22T05:13:44.690580
2021-01-25T20:51:44
2021-01-25T20:51:44
326,074,199
0
0
null
null
null
null
UTF-8
Python
false
false
71
py
text = input() for i in range (0, len(text)): print(f"{text[i]}")
[ "alexlikova@gmail.com" ]
alexlikova@gmail.com
61d21cd5046836892b809cc0fc7f1a977605c227
5c2824ff58eb8a57d71b3c24873c4695c7c3a2ba
/Fundamentals_Final_Exam/03.Problem_Three.py
1e7d798f28b43c1d3e3e8e862cdef755df0fecb0
[]
no_license
svetoslavastoyanova/Python_Fundamentals_Mid_and_Final_Exams
e7ff6677bc762b24262019a0ebb0ed6a5952c50d
781e03fd5f540d55b41fbe6ef1d722d39ed62176
refs/heads/main
2023-04-17T17:35:38.894988
2021-05-02T12:28:26
2021-05-02T12:28:26
349,411,531
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
line = input() minutes = int(input()) seconds = int(input()) total_time = 0 text = "" while line != "Finish": total_time = minutes*60 + seconds if total_time < 55: text = "Gold" elif 55 <= total_time <= 85: text = "Silver" elif 85 < total_time <= 120: text = "Bronze" line =...
[ "svetoslava_stoyanova92@abv.bg" ]
svetoslava_stoyanova92@abv.bg
8875ac94e280bc86fba52d3cb162d5cf6ccbb716
820a9956bc066f663079c1d6c98439d921fce418
/src/prediction/test_all.py
a9a5e70a2f0735399697e961b26ec3fe3fa6703d
[]
no_license
haolang/CMB_pred
1be8ca3778cc0bafc22149c994e53fe7e01ad531
423217978f376a8074cc66fca5896ab43e423cf7
refs/heads/master
2020-03-20T20:42:47.196155
2018-06-19T13:57:48
2018-06-19T13:57:48
137,702,072
0
0
null
null
null
null
UTF-8
Python
false
false
2,144
py
import pandas as pd from sklearn.model_selection import train_test_split from src.common.my_data import Data from src.common.time_used import runtime from sklearn.linear_model import LogisticRegression from sklearn.metrics import hamming_loss class TestAllEvtTiems: def __init__(self): self.data = Data() ...
[ "1363687132@qq.com" ]
1363687132@qq.com
c9a516a9901b8b6fb7ed70ad878490204ff0a6fd
d8641ce5b69a57f20a3a67997c4228a62a3ac902
/pythonpro.py
9268808aa2bbe252de24fdb14731fe1a66cab26f
[]
no_license
miteshgoplani/webcrawler
751a330f5d0281ce4c745351a77c3112c067ef94
760ed72a3dbab48406642abf284efa7f8f749476
refs/heads/master
2020-03-11T04:59:16.254401
2018-04-17T13:33:09
2018-04-17T13:33:09
129,790,364
1
0
null
null
null
null
UTF-8
Python
false
false
6,785
py
import sys from PyQt5 import QtWidgets from bs4 import BeautifulSoup import requests from PyQt5.QtWidgets import QMainWindow, QApplication, QWidget, QPushButton, QAction, QLineEdit,QInputDialog import re import os import sqlite3 import csv ##sqlite_file = 'C:/Users/dell/Desktop/my_database.sqlite' ##conn ...
[ "noreply@github.com" ]
noreply@github.com
e5ec7d80a9bd8ec0d31e8695546aa7bfb197c39d
209a7a4023a9a79693ec1f6e8045646496d1ea71
/COMP0016_2020_21_Team12-datasetsExperimentsAna/pwa/FADapp/pythonScripts/venv/Lib/site-packages/pandas/tests/arrays/boolean/test_reduction.py
7ac6c13a933d640f3b303c790f7220a60ada525b
[ "MIT" ]
permissive
anzhao920/MicrosoftProject15_Invictus
5e2347015411bbffbdf0ceb059df854661fb240c
15f44eebb09561acbbe7b6730dfadf141e4c166d
refs/heads/main
2023-04-16T13:24:39.332492
2021-04-27T00:47:13
2021-04-27T00:47:13
361,913,170
0
0
MIT
2021-04-26T22:41:56
2021-04-26T22:41:55
null
UTF-8
Python
false
false
2,077
py
import numpy as np import pytest import pandas as pd @pytest.fixture def data(): return pd.array( [True, False] * 4 + [np.nan] + [True, False] * 44 + [np.nan] + [True, False], dtype="boolean", ) @pytest.mark.parametrize( "values, exp_any, exp_all, exp_any_noskip, exp_all_...
[ "ana.kapros@yahoo.ro" ]
ana.kapros@yahoo.ro
49011a52a359f585c31188328a68b51289b4c113
0221492205ef2b22d0ec4b9b13736683f7ec2da3
/google/cloud/dialogflow_v2beta1/services/entity_types/transports/grpc.py
d665a461e3c43addffadff3fb5755ae94d785b9f
[ "Apache-2.0" ]
permissive
galz100/python-dialogflow
1f78bfbff213b0a9fd9e3cbab195e1993489bbac
a6d5a08ea1a996ecea6a2512ffcc6d99d4fd6302
refs/heads/main
2023-08-02T06:32:57.851663
2021-10-05T22:13:19
2021-10-05T22:13:19
413,930,124
0
0
Apache-2.0
2021-10-05T18:11:13
2021-10-05T18:11:12
null
UTF-8
Python
false
false
26,961
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
noreply@github.com
b7bb266e93b0df327f5e287bf32512bcdf2c4e1b
546c4957869e508b7007926d3e77bbb21b4251f0
/omnichannel/models/status.py
d149f738e47cf7b5b45b87150b0af61c2f4cde4c
[]
no_license
messente/messente-omnichannel-python
e08cc1da43e3088548cd2df9dae93504f4e97b24
5c4f361fcb6e4dd1643421b7070f139dc2e12a67
refs/heads/master
2020-03-20T09:07:49.929194
2019-03-01T14:24:10
2019-03-01T14:24:10
137,329,184
0
1
null
2019-03-01T14:24:11
2018-06-14T08:28:35
Python
UTF-8
Python
false
false
2,610
py
# coding: utf-8 """ Omnichannel API Messente's API which allows sending messages via various channels with fallback options. # noqa: E501 OpenAPI spec version: 0.0.2 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import si...
[ "uku.loskit@messente.com" ]
uku.loskit@messente.com
90335780df8b761aed39fd0eb7705096f2d507d6
ea1afc640abad8fa17d3b727cd8b16edde7999c6
/Practica1/bin/get_func.py
5581f1f16005313bb8e437b8b6eaa988780fedf9
[]
no_license
iTzAlver/WebApp
defc8a1649d34f8f4d65fa3bf829cbb34fa8fc9b
27f7974c9df4752c0798e4ef104f6f57f0225a83
refs/heads/main
2023-09-03T15:33:32.502699
2021-11-05T17:27:53
2021-11-05T17:27:53
425,025,704
1
0
null
null
null
null
UTF-8
Python
false
false
588
py
import requests from bs4 import BeautifulSoup import time URL = 'https://www.numeroalazar.com.ar/' GPH_URL = 'https://beebotte.com/dash/ffc47900-38cd-11ec-954b-39d34f82886a' def getRND(): response = requests.get(URL) content = response.content html = BeautifulSoup(content,'html.parser') nums = html.find(id="numer...
[ "ialver.p@gmail.com" ]
ialver.p@gmail.com
ec8da544cd59eff81c89e4f327ad9a081c8125d6
b45d33675b38fd3bd15fb2f73a29851a3cc4037d
/0x01-python-if_else_loops_functions/1-last_digit.py
6fd126b08396c288541339756d823b1a022c70f4
[]
no_license
angelah1994/holbertonschool-higher_level_programming-1
38b8ca1859af2ec08aa50a862ecf37cabf993b46
61ab83696ed45686456317c485f7adb7220654ff
refs/heads/master
2023-03-16T04:08:44.868909
2020-05-15T15:40:50
2020-05-15T15:40:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
429
py
#!/usr/bin/python3 import random number = random.randint(-10000, 10000) last = abs(number) % 10 if number < 10: last = last * -1 if last > 5: print('Last digit of {} is {} and is greater than 5'. format(number, last)) elif last < 6 and last != 0: str = 'Last digit of {} is {} and is less than 6 and not 0' ...
[ "amendez72@misena.edu.co" ]
amendez72@misena.edu.co
1ea1ae55edc8616ffc54bd6950152e4260f94fe3
b8e307befb2602a5a74cb4003f4a088e63215448
/ef_coronals_allqp.py
1dca6e7741d4bd3270d96e8f46f63dc2cf7451fb
[]
no_license
sbakst/acoustics
537d515d7414361e4745caf6e9ee6075e6b27edb
f5cd4e4db622096904b68021aa40bd6199138713
refs/heads/master
2021-06-08T04:41:29.871145
2020-12-12T17:26:46
2020-12-12T17:26:46
136,626,044
0
0
null
null
null
null
UTF-8
Python
false
false
6,089
py
#!/usr/bin/env python ## USAGE: ef_coronals.py SOURCE DESTINATION TARGETS (TARGETWORDS) import sys import os import re import subprocess import audiolabel import numpy as np import shutil import datetime # DIR is the directory containing folders of images, audio, etc PARENTDIR = sys.argv[1] DESTDIR...
[ "bakst.sarah@gmail.com" ]
bakst.sarah@gmail.com
14caf7d6f40b402dc3843b98f90334167ef8865a
1c47ba8109f1eee265e34b846de0a5639249708a
/cart/urls.py
821cfdc8a27b5bfaf0bdd510288da27513518c59
[]
no_license
jpastva/nowwegrow
c0292e6a57656681a918340debbf03a38e73f0b0
aa2b16f49430b41432369f586fb36beeb85c4058
refs/heads/master
2023-02-13T19:54:25.415660
2021-01-10T19:44:23
2021-01-10T19:44:23
328,465,858
0
0
null
null
null
null
UTF-8
Python
false
false
310
py
''' URLs for cart app ''' from django.urls import path from . import views app_name = 'cart' urlpatterns = [ path('', views.cart_detail, name='cart_detail'), path('add/<int:product_id>/', views.cart_add, name='cart_add'), path('remove/<int:product_id>/', views.cart_remove, name='cart_remove'), ]
[ "joelen.pastva@northwestern.edu" ]
joelen.pastva@northwestern.edu
1f36a514482352b15f26407d72ee9ba6027dac94
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/anagram/09ab13ac53e54a21819b45d33c272459.py
30c00dfe1a41d1c24e13263850e15a2fbd439762
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
394
py
def detect_anagrams(src, words): ret = [] t1 = sort_string(src) for wd in words: t2 = sort_string(wd) if t1 == t2 and src.lower() != wd.lower(): ret.append(wd) return ret def sort_string(st): ls = [] ret = '' for c in range(len(st)): ls.append((st[c])....
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
b420613052b641f347f2624a872a0abe9402792e
e36fba4df1bdac2e673da63311b7bef88bc2bcd0
/pygraphblas/demo/maxflow.py
0d065ad74c802968f4a374563b01a46e8634aefd
[ "Apache-2.0" ]
permissive
TrendingTechnology/pygraphblas
d122a303452ccd2326945726839384560eb6fb0e
5f7362f276ac2f1d3f5c0df02b79fb34ef0aa46c
refs/heads/master
2023-02-17T20:34:22.099643
2021-01-17T04:46:22
2021-01-17T04:46:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
696
py
from pygraphblas import Matrix, Vector from pygraphblas.semiring import max_times_fp64 from pygraphblas.binaryop import max_fp64, Accum # The graph as a list of row and column indices and values data = [ [1, 1, 2, 4, 4, 5, 6], # rows [2, 4, 3, 5, 6, 3, 5], # cols [0.2, 0.8, 0.3, 0.6, 1.0, 0.7, 0.9], # v...
[ "pelletier.michel@gmail.com" ]
pelletier.michel@gmail.com
48ad8a9133516b17e67bde68ff445fe462c08fef
0e6695df1c3fed584bdbb83e282588fb22cde7f7
/eles/sharepage.py
81157447b26e53dafe49a048997c4559e9a36da1
[]
no_license
whaley-peter/Test
6c14c915b159387da2225f703f3c3bbd81eece49
5def5e47ae17ec766689aeff6509355d044c1ce0
refs/heads/master
2021-01-16T21:24:41.700883
2018-01-03T09:00:49
2018-01-03T09:00:49
100,229,312
2
1
null
null
null
null
UTF-8
Python
false
false
2,657
py
#!/usr/bin/env python # -*- coding: utf-8 -*- __mtime__ = '2017/12/11' """分享模块""" #分享 share = "com.snailvr.manager:id/layout_share" share_text = "//*[@resource-id='com.snailvr.manager:id/layout_share']//android.widget.TextView" #========================================调出分享框======================================# #新浪微博...
[ "18207168761@163.com" ]
18207168761@163.com
07628817d9d5a2d38f5f06baf10b96300ac58cd0
18cf6c3b9415da0938295a5688444534f16215c9
/artisans/urls.py
2af03fc5788de110d7a4b60fe9bcb48d98da1693
[]
no_license
carlomagg/artisan
d1c849c7d6e9bcf2737363d058b08786b3ba8160
a910b14572f1d46cefc0336df0926f4b5fa5fa78
refs/heads/master
2022-12-20T05:51:14.996034
2020-10-10T14:43:10
2020-10-10T14:43:10
295,440,244
0
0
null
null
null
null
UTF-8
Python
false
false
1,082
py
"""artisans URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-base...
[ "obijurumagnus@gmil.com" ]
obijurumagnus@gmil.com
a8f414f5dc7a4f54130ea293dc1783264d5409bf
392824767b4ccb772a33a8f242f2d43a6ced0b80
/BIL103E - Intr. to Inf. Syst.&Comp. Eng./Course Files/OtherExamples/Bottle World Time Example Week 1/world_time01.py
0749abe509ccce7b52950389b21566f32afff148
[]
no_license
yilmazmuhammed/ITU-CE-Courses
82ec520c3703c91c6eb98be2769a1418ac925b70
19f2db633e5fdf6f5ea0c3584a5432f6fb4adf36
refs/heads/master
2020-03-11T16:34:51.650985
2018-05-17T01:25:24
2018-05-17T01:25:24
130,121,033
7
0
null
null
null
null
UTF-8
Python
false
false
530
py
from bottle import Bottle from datetime import datetime app = Bottle() page_template = ''' <!DOCTYPE html> <html lang="en"> <head> <title>World Time</title> <meta charset="utf-8" /> </head> <body> %(content)s </body> </html> ''' def time_page(): current_time = datetime.now() content_te...
[ "halil_yilmaz1997@hotmail.com" ]
halil_yilmaz1997@hotmail.com
1029307e17ff37e33f2b89833d70f7879f9f5e45
60dbecafad0eb3baf67265ebda5c6230dfc99088
/old_plotter_files/CLUSTER_PLOT_NEW.py
d4f5332e0882a5300eb2ffad687c5550409349dd
[]
no_license
shanto268/NaSch_CA_Traffic_Flow_Analysis_Software
fbddadd70a70458b96a9a12c5a1c731d29266e34
d9065df9b8288790aa688bf5bf4c30750ba2889c
refs/heads/master
2020-09-20T01:47:41.301182
2020-05-17T03:28:20
2020-05-17T03:28:20
224,346,779
14
1
null
null
null
null
UTF-8
Python
false
false
3,044
py
# -*- coding: utf-8 -*- """ Created on Wed Sep 4 15:13:35 2019 @author: Owner """ import matplotlib.pyplot as plt import csv def plot1(fname): fn = fname nn = fn.split('.') fr = 'processed_' + str(fname) + '.txt' #dnewdata = "0.0, 0.0, 0.0, 0.0, 0, 0.0, 0.0, 0.0...
[ "sadman-ahmed.shanto@ttu.edu" ]
sadman-ahmed.shanto@ttu.edu
9ec508663ace9267c71c4058916da4b688e0a499
0d0783d5561941626ea9e586826aa34f77b64bcf
/meiduo_mall/meiduo_mall/apps/areas/migrations/0001_initial.py
35d477e72c36ab66d4e6fe53704bc7e21889de74
[]
no_license
lczdada/meiduo_mall
afb7a6da4b4bb7375b2d397aab308351917ed689
663699e122e1b85ff91893a174ae705812c3d82b
refs/heads/master
2020-03-28T17:14:57.924845
2018-10-08T05:23:04
2018-10-08T05:23:04
148,771,866
0
0
null
null
null
null
UTF-8
Python
false
false
974
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.11 on 2018-09-20 13:58 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Cre...
[ "884275720@qq.com" ]
884275720@qq.com
e75e737bfe0c2277124546220c4c75fca2526deb
86fb5726cdb4492eb263a702785e7bdd8ac53141
/game.py
72598ee30cff4ca852bdb6c30ae63a1165064828
[]
no_license
aaron777collins/simple-ai-game
0c84c32373c197f2193ba697911fb0ee72a16380
15c0a82d2c438288dcb64fc1872459af3edcedf3
refs/heads/main
2023-07-08T01:31:24.015596
2021-08-13T22:04:08
2021-08-13T22:04:08
381,473,803
0
0
null
null
null
null
UTF-8
Python
false
false
7,519
py
from visualizationSprite import VisualizationSprite from visualization import PLAYER_NUM, ENEMY_NUM, Visualization from enemy import ENEMY_COLOR, Enemy from pygame import surface import pygame from player import DO_NOTHING_ACTION, PLAYER_COLOR, Player from environment import Environment from pygame.locals import ( ...
[ "aaroncollins@rocketinnovationstudio.ca" ]
aaroncollins@rocketinnovationstudio.ca
16a3a8560d14738c480e32368a3b4c2b7f240037
fd474c0c0df7de6c09f802586068a2069222aadd
/reviewboard/reviews/evolutions/file_attachment_comment_extra_data.py
86e3d2fc9eb496b260de4b12d19e98ab74fb6221
[ "MIT" ]
permissive
pombredanne/reviewboard
a2970fa18cfff4b15adfe65fd0098287d73c650e
15f1d7236ec7a5cb4778ebfeb8b45d13a46ac71d
refs/heads/master
2022-03-09T22:24:19.951964
2022-02-09T07:12:23
2022-02-09T07:12:23
2,324,135
0
0
null
null
null
null
UTF-8
Python
false
false
180
py
from django_evolution.mutations import AddField from djblets.db.fields import JSONField MUTATIONS = [ AddField('FileAttachmentComment', 'extra_data', JSONField, null=True) ]
[ "chipx86@chipx86.com" ]
chipx86@chipx86.com
6fda36128bdb9dc753e27b4afafafb34d8003f8b
b555bbdae3bb0a23c3e6a0f6f2273a3aaafb0d41
/django/djangoproject/fivth_django/juheapp/migrations/0001_initial.py
9a12a5c968c2a81c1f32c07c5d8bae8425eb0ab1
[]
no_license
gaofeng860613/weixinxiaochengxu
e3fbfc613da81b4eadd1d58d27c5d61109b6af50
0d31e7bfa64f3b1e4b0fc17f837866f998f7e8e3
refs/heads/master
2021-02-10T09:56:49.066395
2020-03-09T09:43:36
2020-03-09T09:43:36
244,371,833
2
0
null
null
null
null
UTF-8
Python
false
false
563
py
# Generated by Django 3.0.3 on 2020-02-25 12:36 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='User', fields=[ ('id', models.AutoField(aut...
[ "735754494@qq.com" ]
735754494@qq.com
92b8cb7b47b9ee887f6ae8c34067590019668fc1
77ec9edf40b34b48477a627d149b6c2054b98a93
/abc_188_d.py
07fb56df0536dddc7d23de1cb381a788cdc223e9
[]
no_license
junkhp/atcorder
fa4eeb204e3a4ac713001ab89c205039703abc88
028ddf7a39534d5907232c4576a03af79feb6073
refs/heads/main
2023-04-11T02:15:10.088883
2021-04-22T07:06:06
2021-04-22T07:06:06
313,284,147
0
0
null
null
null
null
UTF-8
Python
false
false
1,127
py
# -*- coding: utf-8 -*- def main(): n, C = map(int, input().split()) abc_list = [list(map(int, input().split())) for i in range(n)] keikaku_dict = {} day_set = set() for i, abc in enumerate(abc_list): a = abc[0] b = abc[1] + 1 if a in day_set: keikaku_dict[a].appe...
[ "oshiba@m.cs.osakafu-u.ac.jp" ]
oshiba@m.cs.osakafu-u.ac.jp
3c598f0e0380a9a269749d5b4d0c66eccbe3e684
8474b7b689a385fa9d02ec176b670a9a49dff2d1
/music.py
7c379c42587d3dbec4775094d0b7afc243d21910
[]
no_license
just21097varg/Virtual-Voice-Assistant
23d08a29edb07b4a77352c17f179e4919552270b
53a5062551076dcd8306aaa6dd45f2cbb473e581
refs/heads/main
2023-02-12T22:15:32.452037
2021-01-23T17:20:38
2021-01-23T17:20:38
332,268,369
0
0
null
null
null
null
UTF-8
Python
false
false
2,251
py
import re, requests, subprocess, urllib.parse, urllib.request from bs4 import BeautifulSoup import os import youtube_dl import urllib import shutil import moviepy.editor as mp from playsound import playsound import multiprocessing import speech_recognition as sr import pyttsx3 # Initialize the recognizer r = sr....
[ "just21097varg@gmail.com" ]
just21097varg@gmail.com
0827574c78dbf6f8411927ec8c2f368c165aded5
135254b8c00935efd0efd33c708ce69470e23741
/Hard/335. Self Crossing.py
84c1eaf99e013d78a368297707b298a1dacf7618
[]
no_license
MinecraftDawn/LeetCode
4974e6f96612f01e4774ecd5c30bc42dfff79467
0404bcce27ff363430e6ab71dbc27a69055fd261
refs/heads/master
2021-06-19T05:50:08.000396
2021-06-14T05:57:09
2021-06-14T05:57:09
188,446,485
1
0
null
null
null
null
UTF-8
Python
false
false
689
py
# Reference: https://leetcode.com/problems/self-crossing/discuss/386087/Python-simple-case-easy-to-read class Solution: def isSelfCrossing(self, edge: list) -> bool: if len(edge) < 4: return False for i in range(3, len(edge)): if edge[i-1] <= edge[i-3] and edge[i] >=...
[ "eric4902077@gmail.com" ]
eric4902077@gmail.com
34ed9733ad7417f4216e50a9fd6bd49b6f323df7
fe6b912e32bb9bdf6e7fb3af8ab7294150329d06
/problem3.py
dd3d806605f4b8d81965249792c791955a03440f
[]
no_license
btkaija/hw6
03a8d6d87c91d10a0d31812c97c269b9f3081a27
3c32dd147d6594ba6cbe85383a3950c17f229464
refs/heads/master
2021-01-01T04:57:35.384499
2016-04-26T15:12:52
2016-04-26T15:12:52
56,979,843
0
0
null
null
null
null
UTF-8
Python
false
false
2,848
py
#! /usr/bin/python # ECE 2524 Homework 6 Problem 3 Ben Kaija import sys from collections import namedtuple from operator import attrgetter Item = namedtuple("Item", "item_id descrip qty_1 qty_10 floor whse") #error checking crap... try: d_f = sys.argv[1] c_f = sys.argv[2] except: sys.exit("insufficent or unsupport...
[ "Benjamin Kaija" ]
Benjamin Kaija
ce0ce73cbd9b854a3f1a59aeaf2f50852a784e6b
bb94939b5c7edb984d24adedb6da6f6c8c100f34
/apps/first_app/migrations/0004_loginreg.py
0de6406a3b83c7a3ad6b92875e863d73db943f58
[]
no_license
waldytorres/djangoLoginMarch
db5fe916403adf70873e40393195e509d4a28ea0
b48897fafc1059c6dcea784e15a4295f6574c697
refs/heads/master
2021-04-12T09:27:33.596958
2018-03-26T05:23:29
2018-03-26T05:23:29
126,740,063
0
0
null
null
null
null
UTF-8
Python
false
false
643
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2018-03-25 00:25 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('first_app', '0003_delete_loginreg'), ] operations = [ migrations.CreateModel(...
[ "waldytorres" ]
waldytorres
10766a363b608b7e1a971988d5f21c52ac6600df
ffadb1d8ec6805bc6e6022f3195787593cd77c74
/my python programe/learn_python.py
7834ffe3e2773269ec933545daa32455fe9af0da
[]
no_license
bhanupratapsinghcs/python
f815314b8303d3da36396eb5d5d7bd7db98e82e8
e757b481e00f077cba114575e1ff0c318b391635
refs/heads/master
2021-06-20T00:40:34.017921
2021-01-15T10:31:04
2021-01-15T10:31:04
166,222,897
0
0
null
null
null
null
UTF-8
Python
false
false
46
py
x = "Shantanu" y = -(-3) z = -7 print(7 / 4)
[ "pbhanu314@gmail.com" ]
pbhanu314@gmail.com
931be45e94d4f499f1aec37d5fb65fc6dab8a8a9
21b6b5cabb1ab5c64956c6918756704ce18b1b8d
/ds-system-api-server/venv/Lib/site-packages/dbutils/persistent_pg.py
eb53e228dc6b85bfe8bff7ca28e5c764753bfca4
[]
no_license
xzx-dalao/DormitorySystem
18c7eef57e99418f3f7537ea8e1fe1a3c186ad0b
9502e44f73285816030872ea12aafc9209bba702
refs/heads/master
2023-04-05T12:04:42.665029
2021-04-25T14:06:37
2021-04-25T14:06:37
356,129,067
4
0
null
null
null
null
UTF-8
Python
false
false
7,034
py
"""PersistentPg - persistent classic PyGreSQL connections. Implements steady, thread-affine persistent connections to a PostgreSQL database using the classic (not DB-API 2 compliant) PyGreSQL API. This should result in a speedup for persistent applications such as the application server of "Webware for Python," witho...
[ "1340796532@qq.com" ]
1340796532@qq.com
210c32bffdfcbe2fea8b31746088ce7e6896645f
2a39fe8bd203531c9bcdb470d19b80beac665eae
/read_best.py
380979ab3e9af8575ef0e733e5486bb67e30d4e4
[]
no_license
davidharvey1986/lenstoolTools
7bf11af1a38700503a731c6fe7e83fdc92bf58c1
85bcf729603d34341f5f41c57c4e233b08055baa
refs/heads/master
2021-09-08T14:29:52.695461
2018-03-10T13:54:50
2018-03-10T13:54:50
124,657,727
0
0
null
null
null
null
UTF-8
Python
false
false
7,896
py
from lensing.lenstool import potentiels from write_par import * import csv as csv import ipdb as pdb def read_best( filename='best.par', pot_type='AUTO', verbose=False, return_limits=False, return_image=False): ''' Read the input into lenstool, the .p...
[ "davidharvey1986@googlemail.com" ]
davidharvey1986@googlemail.com
9a042ef3c82d71e1fc6275be3dfe0d32c89402a3
64c5934b2529a9bd66fe568607dbb437711327b0
/MANN/Utils/tf_utils.py
8a6751c26fcb55899ca939f269fe57fa3abd9647
[ "MIT" ]
permissive
fshaikh-fast/NTM-One-Shot-TF
fdba8571b48a6940d43a9234d9edad49e47bd603
83ce96bb65074db5927238dbde7c7cdd5b018818
refs/heads/master
2021-01-15T15:05:53.841146
2017-08-08T14:43:30
2017-08-08T14:43:30
99,702,934
0
0
null
2017-08-08T14:38:18
2017-08-08T14:38:18
null
UTF-8
Python
false
false
1,416
py
import tensorflow as tf import numpy as np def shared_float32(x, name=''): return tf.Variable(tf.cast(np.asarray(x, dtype=np.float32), tf.float32), name=name) def update_tensor(V, dim2, val): # Update tensor V, with index(:,dim2[:]) by val[:] print('Shapes Recieved in Update: V, dim, val are ==> '...
[ "fshaikh@primaticsfinancial.com" ]
fshaikh@primaticsfinancial.com
bef58ecb5d5c9cc9435f7de069f798a52efbbe18
976a96749377df8843ba0330a887c321e6a8957a
/prime.py
331b7135b513bb364c10806e7f9873c0f74a5c14
[]
no_license
anuwat-an/CODIUMInterview
e105d5b83ef276fce922ad664ca67ec38cfa7179
9641edcfa88d52088cf231cabadc3b63af844309
refs/heads/master
2020-06-13T12:16:48.050795
2019-07-01T10:27:28
2019-07-01T10:27:28
194,650,825
0
0
null
null
null
null
UTF-8
Python
false
false
306
py
import math def isPrime(n): if n == 1 or (n > 2 and n%2 == 0): return False else: for i in range(3, int(math.sqrt(n))+1): if n%i == 0: return False return True n = int(input()) for i in range(2,n+1): if isPrime(i): print(i, end=' ')
[ "anuwat.an@ku.th" ]
anuwat.an@ku.th
8b63f8825bbcc0f68e1919498029c6dd55d32b3f
94cb95d48543fc057370380c118504fb9d4f9646
/backend/toursNtrip/wsgi.py
d36e4ccb688d3a96680e0558322caadb01a3d719
[]
no_license
nixistechnologies/toursntrip
c6ce7d50f4423a93366aaae073021290e588f3ec
ccce10da19a5ccad5a3496ac1456fcd11c5bb726
refs/heads/master
2023-03-17T18:36:58.246300
2021-03-11T16:20:31
2021-03-11T16:20:31
277,988,690
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" WSGI config for toursNtrip 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.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SE...
[ "nixis.institute@gmail.com" ]
nixis.institute@gmail.com
6b0e78d50451bb8ccc11aab0a05214bf732c8bdb
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2479/60586/261474.py
a9f57d33b28f100b2c88c064fd239af6152dd305
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
369
py
def exam4(): t=int(input()) res=[] for i in range(t): a=list(input()) b=list(input()) for item in a: if b.count(item)==0: res.append(item) for item in b: if a.count(item)==0: res.append(item) res.sort() res=list(...
[ "1069583789@qq.com" ]
1069583789@qq.com
22de6d844f8a01878c594311ed30261434bc7328
1448e6127b593fdbc57b8d8069703c469af1c6ed
/models/state.py
7e3345fd8bd489c7f216e19d8b110429c047e8d9
[]
no_license
oimoralest/AirBnB_clone
6917082ce56b8fa7851077fdba2d1f164b3cc72f
555967e22791ef082f9ad7965b395ef0268f95b3
refs/heads/main
2023-01-10T07:44:37.443586
2020-11-14T00:10:39
2020-11-14T00:10:39
308,388,380
0
1
null
2020-11-04T17:25:10
2020-10-29T16:34:46
Python
UTF-8
Python
false
false
164
py
#!/usr/bin/python3 """ This module defines a State class """ from models.base_model import BaseModel class State(BaseModel): """defines name""" name = ""
[ "exanymejose1@hotmail.com" ]
exanymejose1@hotmail.com
a383a50daa1a541e95db9b25cc4c834596901370
2097dfbef57884db606e2f14d17adc07972a2c3b
/bookmarks/urls.py
0467dca4c43f0cab40148f57f973f54c9c2847b9
[]
no_license
jeer2234/social-web-for-practice
4f54f4ad6531f0894e02ab3fd1ec40ec10dd0a69
4e23f8db555b229d7a5ffed243b7e77bc77fa611
refs/heads/main
2023-04-21T22:59:11.456934
2021-05-19T20:46:11
2021-05-19T20:46:11
355,633,168
1
0
null
null
null
null
UTF-8
Python
false
false
1,067
py
"""bookmarks URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-bas...
[ "jeer2234@gmail.com" ]
jeer2234@gmail.com
0907223952e480da4059cdae5cc8b9034ee81e0f
4b2d75ba65d2a6838a0cbc70cdda0ae49bd4ae49
/Test/test_04_list_resource.py
99735d7e4136d69e955e58a85e16c2049c288908
[]
no_license
mimqupspy/python_rest
32360d051f266f379165543aea9f7a7bf7252188
707ac2494752fd6772081f7afddfc7e9102ad12a
refs/heads/main
2023-08-29T12:41:39.738241
2021-10-12T04:44:29
2021-10-12T04:44:29
415,355,636
0
0
null
null
null
null
UTF-8
Python
false
false
502
py
from testdata.list_resource import list_resource_data, list_resource_response_code import allure @allure.step('list_resource_response_code') def test_list_resource_response_code(): assert list_resource_response_code == 200 @allure.step('list_resource_data not empty') def test_list_resource_data_not_empty(): ...
[ "mim90@live.com" ]
mim90@live.com
6aa82ed0d8ef67869d43e05aa0adb1d4791a832c
53bfe8bc386b3319258968c633bf9e5dc5652153
/src/creators/views/api.py
99b819182e2e00eb8f915749aee916cf27e4ae5f
[]
no_license
devinhunt/Django-Creators
3b626029ddb327456826bfd0f5ca9389a88c77df
3f8d634c6801ad0618006269930deaa08d2403b6
refs/heads/master
2021-01-22T01:00:07.127759
2011-02-24T20:49:44
2011-02-24T20:49:44
712,548
0
0
null
null
null
null
UTF-8
Python
false
false
12,817
py
from creators.models import * from django.core import serializers from django.http import HttpResponse, HttpResponseRedirect, Http404 from django.shortcuts import get_object_or_404 from django.conf import settings from datetime import datetime, timedelta import json hack_day_date = datetime(2010, 7, 18) # User GET Me...
[ "devinhunt@gmail.com" ]
devinhunt@gmail.com
32cad3dc7aaa562398dc5b81390d4ce1858373c6
55ddd333eb1c2baa6c38cb7d0f916675d65a26f6
/decision-making-engine/server/iirs/utils.py
5fe3b76cba686849fd4f04fc8be75ee34e03beca
[]
no_license
cracer/Intelligent-Intrusion-Response-System
bb4f4bf6b352df3ce084f8ed32585773c98c38c1
232bd174f1bb04071fb31bc87f63defdb0b29c09
refs/heads/master
2023-08-30T08:58:19.724415
2021-09-28T01:30:05
2021-09-28T01:30:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,396
py
import numpy as np class Agent: def allowlearn(self): self.learn = 1 def preventlearn(self): self.learn = 0 def train(self, n_episodes): if self.verbosity: print('Training...') self.allowlearn() return self.runEpisodes(n_episodes) / n_episodes def benchmark(se...
[ "grammatikakiskonstantinos@gmail.com" ]
grammatikakiskonstantinos@gmail.com
9f0b0934bd46274b7931dcab25328e281a6b80d7
e116df6da6a700303060120bcd27af432d14be8a
/week_2/05_get_linked_list_sum_nayoung.py
87893b05f358929c759c2d11ad3f5c6ff56a4bdd
[]
no_license
NayoungBae/algorithm
d14af821d4f4e498f689a2918035c27d5f4333c2
bf79bd2ce04a9501dc5c514ecf3fc048acfe336b
refs/heads/master
2023-07-19T08:44:28.903136
2021-09-05T18:25:28
2021-09-05T18:25:28
395,613,843
0
0
null
null
null
null
UTF-8
Python
false
false
1,433
py
# https://nazero.tistory.com/69 # 다음과 같은 두 링크드 리스트를 입력받았을 때, 합산한 값을 반환하시오. # 예를 들어, 아래와 같은 링크드 리스트를 입력받았다면, # 각각 678, 354이므로 두 개의 총합 # 678 + 354 = 1032를 반환해야 한다. # 단, 각 노드의 데이터는 한 자리 수 숫자만 들어갈 수 있다. class Node: def __init__(self, data): self.data = data self.next = None class LinkedList: def...
[ "nybae2003@naver.com" ]
nybae2003@naver.com
2c2283192c90f141c35575960fe5643f6f871075
9515e51a3e6c326c9c48c69189e508a73bfb1b9f
/BetterMidWins/settings.py
687f921fd875f4201d3baa10eaacde5713f99a57
[]
no_license
Tap84/BetterMidWins
39b4ce4af36974815903807179dc6568173aeb47
9bbf7e689666a7115248b38930cd5363bf8febea
refs/heads/master
2022-12-11T09:49:20.633192
2019-12-04T02:23:59
2019-12-04T02:23:59
216,057,306
0
1
null
2022-11-22T04:48:30
2019-10-18T15:43:22
Python
UTF-8
Python
false
false
3,169
py
""" Django settings for BetterMidWins project. Generated by 'django-admin startproject' using Django 2.2.6. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import...
[ "43452884+Tap84@users.noreply.github.com" ]
43452884+Tap84@users.noreply.github.com
10f7e3c347eb30004151f1556f490b053246fe90
d42b771f64bc2185a8c0dca0f5bcfa5a2e13c5ed
/users/migrations/0004_auto_20210401_1122.py
c6031beb0bb860b42025e95c43890b7f126098f1
[]
no_license
bgy1060/Daily_Project
4b38de59c09f5e3f82211a9860e1f32a8ef46b37
bcc955bddd9941f2bc54f7577c26c1ddc6b36a48
refs/heads/main
2023-05-15T17:26:56.858438
2021-06-17T05:59:10
2021-06-17T05:59:10
353,864,798
1
1
null
null
null
null
UTF-8
Python
false
false
446
py
# Generated by Django 3.1.7 on 2021-04-01 02:22 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('users', '0003_customuser_username'), ] operations = [ migrations.RemoveField( model_name='customuser', name='is_staff', ...
[ "40761315+bgy1060@users.noreply.github.com" ]
40761315+bgy1060@users.noreply.github.com
a127628ee171ccca9b91bcedf5da712e73bef787
44d9cb9d5f1fae6eb5849d1faa595bdda0d6dcc3
/plugins/customeralerts.py
034a5403368e28d88a995c79032e8c100e30d03f
[ "MIT" ]
permissive
kb18951452/slack-machine
022b7af4aeed837340f57b405d19fa443fb2ced5
e7f240cad199672b3a1ba0f657b7d8404df93059
refs/heads/master
2020-04-14T18:40:27.658741
2019-01-18T23:27:02
2019-01-18T23:27:02
164,028,732
0
0
MIT
2019-01-03T22:20:22
2019-01-03T22:20:21
null
UTF-8
Python
false
false
4,637
py
from machine.plugins.base import MachineBasePlugin from machine.plugins.decorators import listen_to import re class OverageAlerts(MachineBasePlugin): # Bot will @listen_to the channel for the regex expression to be matched. @listen_to(regex=r'^overagesalert ') def question(self, message): # message...
[ "kenneth@sumologic.com" ]
kenneth@sumologic.com
6e8c77b345c53ff42ce5cbcb97431a29637ff3b4
e217ad7b67ff57b68bc6aae242ef7ccf699b4929
/Ch 04/ex_odd_numbers.py
7bfeef4a1dda0ac45ce67fff3bb2d8a5ba1c1e9a
[]
no_license
a5eeM/PCC
3a01e5ad8f78ef982d4a8a64c5ac4ce8624fb474
7949169b5efe927d2ddcdd5a2e825b16fde9a3f2
refs/heads/master
2021-08-28T23:23:31.253375
2017-12-13T08:29:11
2017-12-13T08:29:11
111,636,132
0
0
null
2017-12-13T08:29:12
2017-11-22T04:25:39
Python
UTF-8
Python
false
false
184
py
odd_numbers = [] for val in range(1, 21, 2): odd_numbers.append(val) print(odd_numbers) # more advanced way # odd_numbers = [val for val in range(1, 21, 2)] # print(odd_numbers)
[ "30532759+a5eeM@users.noreply.github.com" ]
30532759+a5eeM@users.noreply.github.com
72603bc959fdf19473817fce9d1ad0b71955d359
650076fb94a086e15bdaa5bd2f51ce72df42dce4
/test/functional/test_framework/messages.py
49710adae056fb25980006084a7696e53a066492
[ "MIT" ]
permissive
c0de0x/ErosCore
548075fe85c46e2bb3946f94361689dbad692da8
a71767f7ee7105dc83973aac8ac60903b69459c9
refs/heads/master
2022-11-25T14:35:59.091923
2020-07-30T14:38:39
2020-07-30T14:38:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
39,420
py
#!/usr/bin/env python3 # Copyright (c) 2010 ArtForz -- public domain half-a-node # Copyright (c) 2012 Jeff Garzik # Copyright (c) 2010-2017 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Bitcoin test...
[ "60665036+ErosCore@users.noreply.github.com" ]
60665036+ErosCore@users.noreply.github.com
efe85265eb159f968910b0203ca590e3eaf07671
feb46976e6c75cfb34ca0d1b293d765ccd85ed53
/python_bin/iprange.py
1fd2ac14a3f3aeb4bcea3642d11add12de42b319
[ "Unlicense" ]
permissive
JJK96/dotfiles
e72a88e575fbc1c5362b722582ef7018c2f95ed9
b0ef45c86b67cc7fa6e0cb4f1b714b5623de7cea
refs/heads/master
2023-08-05T03:06:29.879350
2023-08-02T10:20:16
2023-08-02T10:20:16
48,692,152
6
1
null
null
null
null
UTF-8
Python
false
false
103
py
import ipaddress import sys for ip in ipaddress.IPv4Network(sys.argv[1], strict=False): print(ip)
[ "jjkorpershoek96@gmail.com" ]
jjkorpershoek96@gmail.com
2a64d018362c95a4aeacd114e5acebb5da748583
cf43db77936309a1e64019808e439f0f249902c3
/Curso Python/py4e-master/testlistp.py
0f42125caffc07600558c1d40bb4fb6df66b1f40
[]
no_license
ariel91/Python
a63fd5a1b11ef387833af48c66585dc17e701821
5fb7cf86738a68fcf2d8afc5c9bb25ecee196e3a
refs/heads/master
2021-07-01T14:10:19.727267
2020-09-19T03:40:19
2020-09-19T03:40:19
168,010,837
0
0
null
null
null
null
UTF-8
Python
false
false
643
py
#Open the file romeo.txt and read it line by line. For each line, split the line into a #list of words using the split() method. The program should build a list of words. #For each word on each line check to see if the word is already in the list and if #not append it to the list. When the program completes, sort an...
[ "arielchitay91@gmail.com" ]
arielchitay91@gmail.com
b61968dae81932acb65d39767e1e265e0cacf305
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_167/ch50_2019_06_11_13_14_47_474417.py
72022271fba4966682e6c89d23ed329447de3c78
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
193
py
def numero_no_indice (lista): l=[] i=0 posicao=0 while i < len(lista): if i[lista]==posicao: i+=1 posicao+=1 x.append(i) return l
[ "you@example.com" ]
you@example.com
0f2d60323aeaeee9b180543ca38aee027ea8742b
b8191f0b92559ceffd1cc43713bb9e6529133161
/dashbord/manage.py
1e800a537560c993447493a5d036cf4d274f6ad9
[]
no_license
rkrishan/Assignement-
1f6c3121de82dc72d7acb8e42bbde6a6a51766d3
6a752bbd35b00214be5f30fd5a0155300a98b94f
refs/heads/master
2020-07-17T15:21:31.560393
2019-09-03T09:51:43
2019-09-03T09:51:43
206,044,246
0
0
null
null
null
null
UTF-8
Python
false
false
628
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'dashbord.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Impor...
[ "rkrishan.sharma94@gmail.com" ]
rkrishan.sharma94@gmail.com
4908c1d2429db0091ffcfc277d7b422dee4282cf
9058a1657c56814f9fab4990532bd6d9c7982397
/venv/bin/wheel
23ebf9f8de07684990f87979011a5e0c77c766df
[]
no_license
malukasrokas/Online-Blog
1d2e09bd9ade08f07a9915f53cbcb17970f83689
55a2aee8b32dedebc114769a6fabb5184a41b13b
refs/heads/master
2021-06-14T03:07:44.144189
2017-03-13T22:12:03
2017-03-13T22:12:03
53,199,224
0
1
null
null
null
null
UTF-8
Python
false
false
233
#!/home/rokas/django/venv/bin/python3.4 # -*- coding: utf-8 -*- import re import sys from wheel.tool import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "malukasrokas@gmail.com" ]
malukasrokas@gmail.com
cd53b60104a255ceff9857f2bda90f7af2800333
458e9e7c315aeefd247978f6ed920d627b12caaf
/pyhton2/2-week/2.4.4-6/2.4 работа_с_файлами_7.py
19e7b67f2e005c7c3c579790c05e5e1b58c041a2
[]
no_license
SUraza/Learning_Stepic.org
2798bb6a763915e048c4ead3230ddbade8160f59
8ee0ae7eb349dd25ef03d2ac5229885ee341b5d1
refs/heads/master
2021-09-08T00:27:50.911397
2018-03-04T08:59:44
2018-03-04T08:59:44
117,680,666
0
1
null
null
null
null
UTF-8
Python
false
false
536
py
import os import os.path import shutil #shutil.copy("2.4.4/text1.txt", "2.4.4/text11.txt") shutil.copytree("2.4.4", "2.4.4/2.4.4") #print(os.getcwd()) #print(os.listdir(".idea")) #print(os.path.exists("fib.py")) #print(os.path.exists("2.4.4")) #print(os.path.isfile("fib.py")) #print(os.path.isfile("2.4.4")) #print...
[ "noreply@github.com" ]
noreply@github.com
2a2637186f97918b3b4852e4b8ffdf1211426990
ac86f9f18d23027bd68704f9a27446303df716d5
/june-leetcoding-challenge-2020/week-3/Surrounded Regions.py
432786c2a1ff20ef635445eccda5df57a853a14a
[]
no_license
dhruvbpatel/leetcode-solutions
ae6fd73e14b4d3d895a1787ff1eb5780950bf6f8
ef557e4b833a518e69ef6a8eb3a31fc49031d7f0
refs/heads/master
2022-11-11T16:29:24.957133
2020-07-01T08:03:14
2020-07-01T08:03:14
262,847,373
0
0
null
null
null
null
UTF-8
Python
false
false
1,203
py
class Solution: def dfs(self,i,j): if i>=0 and i<len(self.board) and j>=0 and j<len(self.board[0]) and self.board[i][j]=='O': self.board[i][j]='S' self.dfs(i+1,j) self.dfs(i-1,j) self.dfs(i,j+1) self.dfs(i,j-1) def solv...
[ "33346480+dhruvbpatel@users.noreply.github.com" ]
33346480+dhruvbpatel@users.noreply.github.com
50b5551e2682d74df8ebdd6d16391bbe9325c6ea
9108caf69eeb1426451e4d2480600bd35b052115
/models.py
7c98bc9b633365fc744ee5e9bab17f385b3ff0da
[]
no_license
jbozas/project1
f63594b8b0dcb63c50e7a29852108eb81a5e05e8
40ac960b3416c28a69beddb3ba6c862096171246
refs/heads/master
2023-03-01T21:16:30.478570
2020-07-23T17:31:50
2020-07-23T17:31:50
268,688,762
1
0
null
2021-02-01T21:13:35
2020-06-02T03:08:46
Python
UTF-8
Python
false
false
1,151
py
from flask_sqlalchemy import SQLAlchemy db = SQLAlchemy() class Book(db.Model): __tablename__ = "book" isbn = db.Column(db.String, primary_key=True) title = db.Column(db.String, nullable=False) author = db.Column(db.String, nullable=False) year = db.Column(db.String, nullable=False) """ #r...
[ "julianbozas@gmail.com" ]
julianbozas@gmail.com
64ede3e1ec0a1297453440798baed6136a477c95
33d02a5b35c47deaa674e0a7bab1033331edb107
/training/django_for_beginners/pages/pages/urls.py
906e5b98d89de35edc6af3cbee3bcbe4b00be7ed
[]
no_license
nzejoe/django_project
d9229d96925c9461cff18462b1ce0956f45751f0
ea8c3d390702ef7e82e40404a9f179d7de62b2b5
refs/heads/master
2023-01-03T15:21:54.393353
2020-10-23T13:32:25
2020-10-23T13:32:25
294,787,627
1
0
null
null
null
null
UTF-8
Python
false
false
207
py
from django.urls import path from .views import HomePageView, AboutPageView urlpatterns = [ path('about/', AboutPageView.as_view(), name='about'), path('', HomePageView.as_view(), name='home'), ]
[ "nzejoeworld@gmail.com" ]
nzejoeworld@gmail.com
7320504d66476de1e212eee75bca69045809f7ba
91dac7925c323b8f5d2b914f6a5e0c7e847effde
/controllers/binary.py
5c5b3e5ede86ac40634bad8564aedbc6259866de
[]
no_license
Jonnathangte68/aha
1ca6b27e35ccbb7f0dd579546cfb2cde9e647999
e28bc44f59da7503b3dda58ae9daa025c1081912
refs/heads/master
2020-03-17T11:42:15.163887
2018-06-01T22:58:09
2018-06-01T22:58:09
133,561,248
0
0
null
null
null
null
UTF-8
Python
false
false
1,334
py
from openerp import http from openerp.http import request from openerp.addons.web.controllers.main import serialize_exception,content_disposition import base64 ''' class Binary(http.Controller): @http.route('/web/binary/download_document', type='http', auth="public") @serialize_exception def download_document(self,...
[ "jonnathangte68@hotmail.com" ]
jonnathangte68@hotmail.com
3139b9a9007077695d008ed8e6b438ca22d099f1
d64c34b65c957e2da1a7067d646fd5963eac5251
/Miscelaneous/class.py
ae2cde8eedfb1a591af7ad5a034a99dabf2ada46
[]
no_license
RayGonzalez/FormalAnalysis
00c6eca497594685c8ca62fbb2f9007f9c3674ed
a49117b2fe4c70f1ebff040b0e96cf1d8375d8b5
refs/heads/master
2021-01-12T04:11:22.600014
2017-10-28T08:25:55
2017-10-28T08:25:55
77,536,207
0
0
null
null
null
null
UTF-8
Python
false
false
1,423
py
import numpy as np def create_pop(n): # A distrib = 1000 * np.random.random_sample((n)) #returns an array with the population return distrib population_size = int(raw_input("Enter a population size:")) population = create_pop(population_size) std_pop= np.std(population) print "In order to have a fixe...
[ "raygzz19@gmail.comi" ]
raygzz19@gmail.comi
a3b3e59173d3c3436ff586179cd03853da30a70b
8de0dbcd297f1829ab80497a7968cce339ed8407
/kenpom.py
6e3e28b6ccd7a3172ab10a97b7ad5ae3dfbd1b9b
[]
no_license
edavis/krach
65d36e546a81bc217f575fd35b400c613fb20023
c1f93e3597a15024c9aa050bf7edd619b0a8e9dc
refs/heads/master
2021-01-25T01:02:53.981788
2017-06-18T21:54:25
2017-06-18T21:54:25
94,714,962
1
0
null
null
null
null
UTF-8
Python
false
false
1,225
py
import re D1TEAMS = set([line.strip() for line in open('teams.txt')]) assert len(D1TEAMS) == 351, 'incorrect number of D1 teams found' def is_d1_matchup(a, b): return all([a in D1TEAMS, b in D1TEAMS]) def parse_games(fname): base = '^(?P<date>[\d/]+)[ ](?P<visitor>.{,22}?)[ ][ ]?(?P<visitor_score>\d{2,3}) (?...
[ "edavis@eresources.com" ]
edavis@eresources.com
84fec749e9160d11a5eaf3a9435caba53d2426ef
2e808a252a917c9a0fe0734203d74c6e778bd16b
/Flask/[flask] route.py
19408981e7369760c82790f50137866cc5bce952
[]
no_license
lixuefei8916/Python-for-Examples-Exercises-in-books
3dfcac7ec89378185b49cf1ea31a8693eb6c730f
b8aef46b3dd2fcb7eab8ab524154a24a8051d339
refs/heads/master
2021-01-10T08:11:25.661669
2017-03-16T07:03:02
2017-03-16T07:03:02
47,171,382
1
1
null
null
null
null
UTF-8
Python
false
false
340
py
#-*- coding: utf-8 -*- from flask import Flask app = Flask(__name__) @app.route('/') def index(): return '******** index ********' @app.route('/hello') def hello(): return 'Hello World' if __name__ == "__main__": app.run(host='0.0.0.0',debug=True) # ie 访问 http://192.168.58.128:5000/ # ie 访问 http://192.168.58.12...
[ "lixuefei8916@126.com" ]
lixuefei8916@126.com
700ce2cd55fcdea770e4586d5d0441d543612fa9
895e1eeb1e18205ce3ee8d8c73f6c18c1279d16c
/flask_app/app/main/text_preprocess.py
19f2ad466f8065c37324e408e72d339236833f27
[]
no_license
lwoloszy/albumpitch
ab18e7c60490fa7a7c8055d24312c8c3789cc6f2
5f7b3e85abb8c3197adf351a63ce8971ce2c576b
refs/heads/master
2021-01-20T15:36:31.305144
2017-04-10T04:28:19
2017-04-10T06:23:26
64,318,822
2
0
null
null
null
null
UTF-8
Python
false
false
9,615
py
import re import string from itertools import groupby from unidecode import unidecode import nltk from nltk.stem import PorterStemmer, SnowballStemmer from stop_words import get_stop_words #from pymongo import MongoClient class CustomTokenizer(object): def __init__(self, stopset=None, stemmer=None): i...
[ "luke.woloszyn@gmail.com" ]
luke.woloszyn@gmail.com
d952e3aa3f2702ee77fba5e59c2ae950a3d54637
9f5fcff2513f2d78f27e5313698dcc47fce1e754
/Experiment/RL_EA_search/graphnas/rl_trainer.py
98698e1f65a8d86c9fc924e46fecd052d959f4cb
[ "Apache-2.0" ]
permissive
ncucjm/notebook
c2495f790e9fc2ca55c1c29a8eaa2dc1bfe7463f
7271a0d1b10cdd6298e223c7ff150d4df031aa76
refs/heads/master
2023-07-20T05:55:48.946687
2021-01-27T09:12:19
2021-01-27T09:12:19
202,633,012
0
0
null
2023-07-06T21:28:29
2019-08-16T00:58:45
Jupyter Notebook
UTF-8
Python
false
false
14,605
py
from collections import deque import os import glob import torch import numpy as np import scipy.signal import graphnas.utils.tensor_utils as utils from graphnas_variants.macro_graphnas.pyg.pyg_gnn_model_manager import GeoCitationManager import time logger = utils.get_logger() def discount(x, amount): return sci...
[ "1300887184@qq.com" ]
1300887184@qq.com
5fde2542be069b0af6d18e4d2815fbf6102b6647
d4cdd6c052bf9f63e31ed46566f3b089633a8b8b
/day03/while_demo.py
1c99ca24b530fc2e13b656e0f26d76c56cc7ef21
[]
no_license
qimeihong/myedu--1904
af0f59ebeb73be08b79c489521e660db35d23817
2126715dd5484b4379c51d746c13924dc05cef14
refs/heads/master
2020-05-29T19:40:43.199343
2019-06-01T05:44:45
2019-06-01T05:44:45
189,334,996
0
0
null
null
null
null
UTF-8
Python
false
false
118
py
def while_demo(): a = 0 while a<5: print(a) a=a+1 if __name__ == '__main__': while_demo()
[ "3268602292@qq.com" ]
3268602292@qq.com
d6f07267bf0d2dd20592fc5a356ef3f0dc539597
c5b10bf433fc2152fdef2df6f63e71bf823a1955
/update.py
7b6427906bd65e0381ea1bbea668ecfb885a9f41
[]
no_license
Student-Hu/Huawei-
30579690e1efb9d63df69d0f54ddb8a6eec878e9
38a3cd828737478e0b79049098b3586c449f31ea
refs/heads/master
2022-02-21T21:13:35.094670
2019-09-17T01:31:24
2019-09-17T01:31:24
208,930,760
0
0
null
null
null
null
UTF-8
Python
false
false
6,249
py
# -*- coding: utf-8 -*- """ Created on Mon Mar 25 22:25:13 2019 @author: Administrator """ def update_road(In_road, current, k,road, car): roading = In_road.sort_values(["run_channel"], ascending=True) # 按车道升序 roading = roading.sort_values(["weizhi"], ascending=False) # 按照位置降序 channel_index = ro...
[ "noreply@github.com" ]
noreply@github.com
8ebdfb932ffb2412d837743bf89bab1774dd0c8a
e2dd5ac76868f0a2bd12137b2e8b37de296c9d4c
/knn_classification.py
66816384e57d42404bbb6493248341c98faab446
[]
no_license
shafiul-haque-johny/KNN-implementation
06c4e95df02be1e085dff8e7e248cc4be83fc324
5ba7775515952c3e70e02075ab18bef8a95c21db
refs/heads/main
2023-03-31T20:07:11.433039
2021-04-08T19:57:20
2021-04-08T19:57:20
351,548,595
1
0
null
null
null
null
UTF-8
Python
false
false
2,939
py
# -*- coding: utf-8 -*- """KNN-classification.ipynb Automatically generated by Colaboratory. Original file is located at https:......... # **K Nearest naigabours** """ from google.colab import drive drive.mount('/content/drive') from numpy import genfromtxt import random data_path='/set your path here/iris.csv...
[ "noreply@github.com" ]
noreply@github.com
2ff3fca3fef49b34cbdddce58f75c2fcbd1551e1
5dbb432c111ae81de11f221f21222d13cd81e711
/december-measurements/config/cascade_metrics_config.py
9bce91cba081bfd8f76c5e053875c39e701ba99f
[ "BSD-2-Clause" ]
permissive
dalton/socialsim
7b38d26e03a21fec5a5c4964ee92523be5ed8187
48b6acc2db423c0f4b14f4ff1c98e931660342fd
refs/heads/master
2020-04-05T08:38:55.798505
2018-11-07T23:02:21
2018-11-07T23:02:21
156,722,995
0
0
BSD-2-Clause
2018-11-08T14:56:16
2018-11-08T14:56:15
null
UTF-8
Python
false
false
21,798
py
import Metrics from functools import partial, update_wrapper def named_partial(func, *args, **kwargs): partial_func = partial(func, *args, **kwargs) update_wrapper(partial_func, func) partial_func.varnames = func.__code__.co_varnames return partial_func def get_node_level_measurements_params(time_gra...
[ "emily.grace@pnnl.gov" ]
emily.grace@pnnl.gov
54d596a8f7abeaa708ce12829210e4b01ed2cd1c
9b5d0b7d7c9cdaef2851b675292e5eef651ab257
/database/compiled_templates/root/history_common.mako.py
10318451f22158193738b9a03b46af42ae5c7016
[ "CC-BY-2.5", "MIT" ]
permissive
msGenDev/Yeps-EURAC
392fd497a6891a5a22204b236c26dcd133793f21
7b679ea17ba294893cc560354d759cfd61c0b450
refs/heads/master
2021-01-16T21:49:26.499975
2010-04-05T17:52:50
2010-04-05T17:52:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,425
py
from mako import runtime, filters, cache UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 5 _modified_time = 1262455474.7263279 _template_filename=u'templates/root/history_common.mako' _template_uri=u'root/history_common.mako' _template_cache=cache.Cache(__name__, _modif...
[ "fox91@anche.no" ]
fox91@anche.no
af6840c68da72fd220ac2f284948d832a5114275
4f9b35c4a5654bdcbd6aba24f1f2d4b5ace4af08
/models/tf_ops/sampling/tf_sampling.py
12de6ed7443746b3bfb155afbd5d1dae612eb41c
[ "MIT" ]
permissive
jaswanthbjk/3D-Object-Detection
d8afbaae78888d66345a485eb6bebcc7a7539ff3
dec5ec6f4c799018c858240202ae4381c4a7023e
refs/heads/master
2023-06-29T22:50:15.463343
2021-08-05T17:27:28
2021-08-05T17:27:28
217,224,946
0
0
MIT
2020-02-12T10:41:38
2019-10-24T06:15:29
Jupyter Notebook
UTF-8
Python
false
false
3,142
py
''' Furthest point sampling Original author: Haoqiang Fan Modified by Charles R. Qi All Rights Reserved. 2017. ''' from __future__ import print_function import tensorflow as tf from tensorflow.python.framework import ops import sys import os BASE_DIR = os.path.dirname(os.path.abspath(__file__)) sys.path.app...
[ "jaswanthbjk@gmail.com" ]
jaswanthbjk@gmail.com
f458b07ae6034ef58799287a85230d547378ae28
aefb95b0212cf2f418a0922d25d47d5217867cf3
/Creator.py
cf505594c063bb2bd663975f5d67fefeb0c6beb4
[]
no_license
bsaitheja/AWS-Regular-Expression-python-Flask
0fd2897583061b49bcf6d2f81d5028b2996c70fd
9bc35ced59c5bf6da55a1c8ab7df5ffd3efc45ed
refs/heads/main
2023-06-15T23:17:44.956402
2021-07-14T20:24:33
2021-07-14T20:24:33
386,060,384
0
0
null
null
null
null
UTF-8
Python
false
false
2,094
py
import os from nltk.stem import SnowballStemmer import re import string from collections import Counter import pickle path="corpus" files=os.listdir(path) paths=[] for file in files: paths.append(os.path.join(path,file)) documents={} index={} stop = open('stopwords.txt','r') stopwords=sto...
[ "noreply@github.com" ]
noreply@github.com
cc2fb3795c9dafa0f738c912004965c3b7b25f9a
ab4f0df599159b2c3929c24b12e2766718efdacb
/pyplan_engine/classes/CustomImports.py
e28736de5115b4624154fca75a5693ce79bf591c
[ "MIT" ]
permissive
jorgedouglas71/pyplan-ide
f01ec438f727ee0dea01b0d265155b49a26ccdb8
5ad0e4a2592b5f2716ff680018f717c65de140f5
refs/heads/master
2020-09-25T03:10:01.201707
2019-12-04T15:39:55
2019-12-04T15:39:55
225,904,173
0
0
MIT
2019-12-04T15:57:06
2019-12-04T15:57:05
null
UTF-8
Python
false
false
1,083
py
custom = { } defaults = { "abs": abs, "range": range, "abs": abs, "dict": dict, "min": min, "all": all, "hex": hex, "next": next, "slice": slice, "any": any, "divmod": divmod, "object": object, "sorted": sorted, "ascii": ascii, "enumerate": enumerate, ...
[ "fbrussa@novix.com" ]
fbrussa@novix.com
1e7b6824388677aa5ecd22cea3f82adef24207f2
27c0fa5374bbffb9a39fbf931480999c8be29515
/setup.py
27029b7fc07983de45672785b88be8c8d39216c3
[ "MIT" ]
permissive
Fytex/asynchelper
89382559799c51f34245bb18d4ea16b0c18a5ead
165ea47fd345316f1a318f910ab659781c7097c7
refs/heads/main
2023-04-04T12:50:46.118388
2021-04-10T14:16:03
2021-04-10T14:16:03
356,635,891
2
0
MIT
2021-04-10T16:23:56
2021-04-10T16:23:55
null
UTF-8
Python
false
false
1,466
py
import io import os import re from setuptools import find_packages from setuptools import setup def read(filename): filename = os.path.join(os.path.dirname(__file__), filename) text_type = type(u"") with io.open(filename, mode="r", encoding='utf-8') as fd: return re.sub(text_type(r':[a-z]+:`~?(.*...
[ "mario@whitehathacking.tech" ]
mario@whitehathacking.tech
52aaa46352ec022d7349aab054fec390a4a8e785
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03359/s399632677.py
4b9e4ef5080c28b6522f683bf717ce679011d8cb
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
411
py
import sys read = sys.stdin.read readline = sys.stdin.readline readlines = sys.stdin.readlines sys.setrecursionlimit(10 ** 9) INF = 1 << 60 MOD = 1000000007 def main(): a, b = map(int, readline().split()) ans = 0 for i in range(1, 13): if i < a: ans += 1 elif i == a and i <= ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
8a1cb4c90dc2597426e31b6db141c368b35b8562
15a74e570b168a388907e0b0ae77c4878af66b31
/Resene naloge/euler6.py
19371415bcf011b5a741e5a060a72d131cd41918
[ "MIT" ]
permissive
CadezDavid/ProjectEuler
0701a1a2c0330b9ecee8a2f502c8f76a91cdbe72
9e11aa5782fb600c98eba9e04766b3bd79acea0e
refs/heads/master
2022-12-15T19:41:32.392922
2020-09-06T10:20:59
2020-09-06T10:20:59
290,522,975
0
0
null
null
null
null
UTF-8
Python
false
false
78
py
razlika = sum(range(101)) ** 2 - sum([stevilo ** 2 for stevilo in range(101)])
[ "david.cadez7@gmail.com" ]
david.cadez7@gmail.com
8b37472d10b8edae52003f7aecb8ceeff0f30fb6
4c12452fffc4184d7e722fb08cb3d9ea365213e2
/KMeans_captcha.py
41f7d247cff60db62ee4be83731676a5751f3642
[]
no_license
Super-Storm/tensorflow-captcha
b5e668286d4674450402a038157b5ac3f80b5a0f
59d3a837c91c993496c2d11da18b9bff7284cfa2
refs/heads/master
2020-04-28T15:35:38.928974
2019-03-18T06:40:18
2019-03-18T06:40:18
175,380,483
1
0
null
null
null
null
UTF-8
Python
false
false
3,311
py
# -*- coding:utf-8 -*- # 使用KMeans实现验证码识别 # Author : fx # E-mail : pythonist@126.com import numpy as np import tensorflow as tf from tensorflow.contrib.factorization import KMeans # deal_data是我本地的样本处理脚本,这里就不放上来了 from deal_data import train_X, train_Y, test_X, test_Y train_X = train_X / 255 train_Y = train_Y /...
[ "noreply@github.com" ]
noreply@github.com
e43f90d4344474dba84c05a76fca7ba95d855ce3
d935ed784adfeeb72d6bba64d1ab56ffcc982034
/IRCBot/modules/examples/test_listener.py
363834797b39011ea461402d7bb392b46dbdaf78
[]
no_license
mrt-prodz/CTFBot2
0161fd210b4a3b2b8503e3bf06e93c4865a5c220
134ca34bf0a38dfa77202044f72e777a4858115e
refs/heads/master
2021-06-04T00:22:45.438491
2018-05-23T22:35:09
2018-05-23T22:35:09
58,544,491
1
2
null
2016-05-20T19:22:52
2016-05-11T12:50:55
Python
UTF-8
Python
false
false
941
py
from template import template class test_listener(template): def __init__(self, send): # class inheritance template.__init__(self, send) self.config = { 'name': self.__class__.__name__, 'trigger': '_listener_', ...
[ "info@mrt-prodz.com" ]
info@mrt-prodz.com
991ef0d671ac96b7e9c8992788bc4c9aaefb75ee
eb7b84b70b335e913aa7d6bf9effba3034810e27
/FirstApp_Flask/employeeInfo.py
73e6fe9ffb1ca4a70d0a2d3879854a6a22310f0c
[]
no_license
chavhanpunamchand/flask
ccc27c9909799bcc4fa9208b49c478942d569eb4
840c7299eb5cfc708f8a6cbefe8955115af9b179
refs/heads/master
2023-02-21T13:57:43.012794
2021-01-28T11:09:41
2021-01-28T11:09:41
326,448,594
0
0
null
null
null
null
UTF-8
Python
false
false
1,008
py
class Employee: def __init__(self,eid,ename,eage,egen,ecity,esalary,email,erole,eskil,ehobs): self.empid=eid self.empName=ename self.empAge=eage self.eGender=egen self.empCity=ecity self.empSalary=esalary self.empEmail=email self.empRole=erole ...
[ "chavhanpunamchand@gmail.com" ]
chavhanpunamchand@gmail.com
19815ace86ab6e7faa636b18d46800124f9f70d9
304c6e52a561e6d06e34c2e0394956f176bc1831
/complete-python-bootcamp/apo_test.py
48c82f5308b21dfd5f32a969984edf4cfd0d2c4b
[]
no_license
lanceyvang/Interviewing
0a8b0a1313f4b42618de4ca01ddf46bfe54812f0
23aac20fd21e774f76580ea9e54dfb64a74045cf
refs/heads/master
2020-05-03T00:29:58.438735
2020-04-01T04:02:53
2020-04-01T04:02:53
173,514,848
0
0
null
null
null
null
UTF-8
Python
false
false
1,430
py
# Problem 1: Convert 1024 to binary and hexadecimal representation # print(bin(1024)) # print(hex(1024)) # Problem 2: Round 5.23222 to two decimal places # print(round(5.23222,2)) # Problem 3: Check if every letter in the string s is lower case s = 'hello how are you Mary, are you feeling okay?' s2 = len([x for x in...
[ "lanceyvang@gmail.com" ]
lanceyvang@gmail.com
1974fbc2150ed8aa170cf462e7e9aa1febb40233
ff919ea0d5b66e55d4194ace168a5a2b1cfda624
/app/migrations/0011_auto_20160214_1411.py
9d95ae30c9af0bb5f0d31dcc76a7dc20488f6948
[]
no_license
AlejandroGA/natcamDEPLOY
6f2024f51d1d63768dd52bb8b11de88f7aab4cf1
72e9e916efaec5c29971b827017fb57073e094cb
refs/heads/master
2021-01-13T00:48:25.683354
2016-02-16T11:07:01
2016-02-16T11:07:01
51,830,052
0
0
null
null
null
null
UTF-8
Python
false
false
553
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.2 on 2016-02-14 20:11 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('app', '0010_auto_20160214_1411'), ] operations = [ ...
[ "seader@gmail.com" ]
seader@gmail.com
21a37c4db34259dc7418cb72169e1fcb7f0d5108
86d735caac440721ea30f73c7f948f028b11b16b
/using_tuple.py
08e34e663faa84fb5184281afd6cf128841c4b7c
[]
no_license
KA-Ryzhkov/A_Byte_of_Python_code
7db5dc30aebc7f4cab4dd258cd8b9c27670f4abc
6cae8e5b25ea25872338f34dddecf8dd62b52cf0
refs/heads/master
2021-05-20T16:35:59.490847
2020-05-09T08:34:08
2020-05-09T08:34:08
252,370,320
0
0
null
null
null
null
UTF-8
Python
false
false
664
py
zoo = ('питон', 'слон', 'пингвин') print('Количество животных в зоопарке - ', len(zoo)) new_zoo = 'обезьяна', 'верблюд', zoo print('количество клеток в зоопарке', len(new_zoo)) print('Все животные в новом зоопарке:', new_zoo) print('Животные привезённые из старого зоопарка:', new_zoo) print('Последнее животное привезён...
[ "RyzhkovUS@gmail.com" ]
RyzhkovUS@gmail.com
a51a38a2e71d34f8aa6a2e82026c584eeacddb12
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03363/s286998192.py
091f166035f13606310d3cb4f31a2b7bd57a4859
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
297
py
from collections import defaultdict n = int(input()) li_a = list(map(int, input().split())) s = [0] * (n+1) dd = defaultdict(lambda:0) for i in range(n): s[i+1] += s[i] + li_a[i] for i in range(n+1): dd[s[i]] += 1 ans = 0 for key in dd: ans += (dd[key]*dd[key] - dd[key])//2 print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
0027a9cd6cfde09fe03feb729e12888b9c7731fe
04b9cb782ae0126989cdbd4b4f4902d21a9dedaa
/setup.py
abdd0fb56c405dd1ac12a90d0dd8f5e563148160
[]
no_license
janinamass/Vizqes
cafd7afc512603cc19f280c5a435fe77574437fc
8463dd168f54765034fe23acdf7edd4a21cbd3bd
refs/heads/master
2020-12-24T15:13:53.553983
2015-02-08T17:18:10
2015-02-08T17:18:10
24,757,195
1
0
null
null
null
null
UTF-8
Python
false
false
770
py
import os import glob from setuptools import setup, find_packages setup( name='vizqes', version='0.9.0', author='Janina Mass', author_email='janina.mass@hhu.de', packages=['vizqespkg'], scripts=['vizqes'], package_data = {'vizqespkg': ['data/FreeMono.ttf']}, ...
[ "gglyptodon@gmail.com" ]
gglyptodon@gmail.com
be8ce0bb1fe1b8959b0e504434a65a5eedde0d8f
b4e9d9edda73f8b853705cdcabcd8557b64b1009
/maindata/views.py
6bddb26699c76533f0b44265d2bf35bc63daa2a2
[]
no_license
trotmarin/golden_toad
f8a76a77b8e76b6376bdae8d3a441a102396d8a3
14ad37b148f91c8ab422fe2e2440f2d2b11ad228
refs/heads/master
2023-02-26T05:31:35.234212
2021-02-07T13:25:20
2021-02-07T13:25:20
336,793,483
0
0
null
null
null
null
UTF-8
Python
false
false
456
py
from django.shortcuts import render from rest_framework import viewsets from .serializer import Table2Serializer, TestTableSerializer from .models import TestTable, Table2 # Create your views here. class TestTableViewSet(viewsets.ModelViewSet): queryset = TestTable.objects.all() serializer_class = TestTableS...
[ "trotmarin@gmail.com" ]
trotmarin@gmail.com
bb74ddac0a7bc8a9c141488aea6f2faa98c9f820
8fb1d41797595550418ecfc0e7558f38254b4606
/django/contrib/flatpages/tests/forms.py
7282f009c9dc86d398bb8e67aa09a2233c66ef42
[ "MIT" ]
permissive
hunch/hunch-gift-app
2aad70a9f18124bf0de02d7a125fa93c765da008
8c7cad24cc0d9900deb4175e6b768c64a3d7adcf
refs/heads/master
2016-09-06T03:13:52.153974
2012-03-26T18:11:59
2012-03-26T18:11:59
1,191,221
6
3
null
null
null
null
UTF-8
Python
false
false
1,245
py
from django.contrib.flatpages.admin import FlatpageForm from django.test import TestCase class FlatpageAdminFormTests(TestCase): def setUp(self): self.form_data = { 'title': "A test page", 'content': "This is a test", 'sites': [1], } def test_flat...
[ "gleitz@hunch.com" ]
gleitz@hunch.com
4834fd49bfc14729688e48ddef0a083f66fbdcb8
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02659/s688514282.py
9e2ccbf9b9d040bce71fcaff7dcf3be04de6d05d
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
104
py
import math from decimal import * a,b=map(str,input().split()) ans=(Decimal(a)*Decimal(b))//1 print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
fffd6752c16d1acd7b8727b848b6ff2bba2d2bb2
f039353d02bd8375eab18f89b8e9b47223fdad71
/circle/model-theta.py
1d70f97de477eaabe2f2f8efc40a79578e79af0c
[]
no_license
Yoshihama0901/burger_war_19sm
a0b3eb13bff1425c4a5e1b2b28be9043276f23eb
900a64b8961d88b356f48153bca9b71f4b1fcbe3
refs/heads/master
2021-01-07T04:48:27.299370
2019-09-04T08:44:38
2019-09-04T08:44:49
241,580,857
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
#!/usr/bin/env python import sys import pandas as pd import matplotlib.pyplot as plt from sklearn.linear_model import LinearRegression df = pd.read_csv(sys.argv[1]) lr = LinearRegression() X = df[['circle_x']] Y = df['theta'] lr.fit(X, Y) print('coef=', lr.coef_) print('intercept=', lr.intercept_) plt.scatter(X, Y) ...
[ "53517611+kyad@users.noreply.github.com" ]
53517611+kyad@users.noreply.github.com
ed6ebe49955826b3061ed7e04f22e18a9dff6971
a1deb1737dbd24407d91bc9b7cba0ced44d744e0
/firstpage/models.py
15caaf840510ffdc15ae22478d77498f6010e3e2
[]
no_license
FAIZANA1ZHAR/django-ml-project
5873763f06da6ffce43ed531c22632bfee5837e4
9199f886f307f8787240f914a24b0d47b192f17c
refs/heads/main
2023-06-16T13:04:27.002133
2021-07-08T14:34:42
2021-07-08T14:34:42
377,922,586
0
0
null
null
null
null
UTF-8
Python
false
false
1,141
py
from django.db import models from django.db import models from django.forms import ModelForm from django.forms.models import model_to_dict class table(models.Model): Account_length=models.IntegerField() Area_code=models.IntegerField() Number_vmail_messages=models.IntegerField() Total_day_minutes=mode...
[ "faziazhar1@gmail.com" ]
faziazhar1@gmail.com
8eb9cb2c3e6e103c61b5e145cd0ccc55e2f5621c
dfb9be880c9e910dcbfd5653d9e48a7cff1fb8aa
/ex15.py
1f6ab87b084e4a82c909acd85a01f09de9d5f698
[]
no_license
Alanxa1/LPTHW_NEW
5cea8539a8aee642828ef8ae6f2d906f5a05dd27
2582752603ef2744ce3ab9e5c53691ec3504757f
refs/heads/master
2021-08-24T04:34:05.084849
2017-12-08T02:40:42
2017-12-08T02:40:42
113,520,334
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
from sys import argv script, filename = argv txt = open(filename) print(f"Here's your file {filename}:") print(txt.read()) print("Type the filename again:") file_again = input("> ") txt_again = open(file_again) print(txt_again.read())
[ "noreply@github.com" ]
noreply@github.com
e11e7f157bd594146ba4dff9987c8483968a3046
1d75146a66245dc046dc216bb602129208e00733
/closed/GIGABYTE/code/rnnt/tensorrt/preprocessing/parts/features.py
20935e8f677b7c52a9c49336f23ad6259ef4b8b6
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
georgelyuan/inference_results_v1.1
febf287bd5967bf7f087355a81f06a2bd298cbfe
3196a5587887c39203ee3ac246fa5dbe789d9085
refs/heads/main
2023-08-16T08:49:45.274284
2021-09-23T20:57:17
2021-09-23T20:57:17
409,773,141
0
0
NOASSERTION
2021-09-23T23:36:37
2021-09-23T23:36:37
null
UTF-8
Python
false
false
13,634
py
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # Copyright (c) 2019, Myrtle Software Limited. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # ...
[ "tjablin@google.com" ]
tjablin@google.com
c6283b432e7cc517ab49d5868cb8608925fc9ed8
60eec837687166288bed41aa406fb92ff8b63f1b
/model/tensorflow/examples/tfdnnc/tfdnnc.py
d764e5f63f5b4c9824f4e993163d0e65ed8a9156
[ "MIT", "LicenseRef-scancode-generic-export-compliance" ]
permissive
shivam-bit/dffml
1c5ca75e946fddec78fd3943bdcb6cf5650bcd89
4c1e7870dba12c298d5a7f4740a23af634cacb7e
refs/heads/master
2022-06-19T22:28:10.396364
2020-05-08T21:53:53
2020-05-08T21:53:53
262,698,152
0
0
MIT
2020-05-10T02:36:10
2020-05-10T02:36:09
null
UTF-8
Python
false
false
1,128
py
from dffml import CSVSource, Features, DefFeature from dffml.noasync import train, accuracy, predict from dffml_model_tensorflow.dnnc import DNNClassifierModel model = DNNClassifierModel( features=Features( DefFeature("SepalLength", float, 1), DefFeature("SepalWidth", float, 1), DefFeature(...
[ "johnandersenpdx@gmail.com" ]
johnandersenpdx@gmail.com
ba6615f0905f2fcf92dbcbe3fd3e3a429ab24116
3374856cd2a004bb74d460a25aeead019290d90f
/cnn.py
63d5fa4ce301d91d545d5d08fcf2574bcd6ce66c
[]
no_license
kamalikap/Convolutional-Neural-Networks
98f05cb05ed9c5215a4e023e936f803b9e044904
d2916f09180915ac399d91ddff721489c186cd49
refs/heads/master
2020-04-16T16:21:48.380171
2019-02-04T04:16:04
2019-02-04T04:16:04
165,733,598
1
0
null
null
null
null
UTF-8
Python
false
false
2,916
py
#Convolutional Neural Network #Installing Theano #Installing Tensorflow #Installing Keras #Part 1- Building the CNN #importing the Keras libraries and packages from keras.models import Sequential from keras.layers import Convolution2D from keras.layers import MaxPooling2D from keras.layers import Flatten from ker...
[ "noreply@github.com" ]
noreply@github.com
d66a9c261e99d76240ccac7b846be4b72a5150cf
ad21693877574538236018fa20cec35242e55866
/esko_app/models.py
f7c441006fd6e63b2df808bcd089d2ef29ecd829
[]
no_license
reg-11/122-Project
8955400b22a26c76fe4a0810c75535fef40d9748
68a654f43099ab1f6a495ccf76de8813e2d95985
refs/heads/master
2023-05-14T06:58:54.292631
2021-06-09T08:12:07
2021-06-09T08:12:07
369,425,628
0
1
null
null
null
null
UTF-8
Python
false
false
3,806
py
from django.db import models from django.utils import timezone from django.contrib.auth.models import User from PIL import Image from django.urls import reverse # from taggit.managers import TaggableManager # Create your models here. class Category(models.Model): name = models.CharField(max_length=30) def __str...
[ "rcpalomo@up.edu.ph" ]
rcpalomo@up.edu.ph
f20449be902a9b3b4d7cc2029dd57d892ca3404d
601a270268f385f8f61991d63b945d4fe153583e
/bin/pip-2.7
d6c32ca709d09d965bc31d153c1f2bb8bed9de91
[]
no_license
s914211/Djangorestframework
615edcfba8dbebc513207590c75b69f30a9ab62e
d00845b17fe7fcd8a95b0f9ed04b8c596eeac2aa
refs/heads/master
2016-09-09T22:00:02.749535
2014-06-03T11:12:15
2014-06-03T11:12:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
306
7
#!/home/tommy/tutorial1/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==1.4.1','console_scripts','pip-2.7' __requires__ = 'pip==1.4.1' import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.exit( load_entry_point('pip==1.4.1', 'console_scripts', 'pip-2.7')() )
[ "cchccy1623@gmail.com" ]
cchccy1623@gmail.com
9e02e6741a21fa1043bffdc06bbb271eeddd095a
8f9fde783e2a7f40892cf2bd5ea3195af6e15c17
/summarize.py
e29541385fd61fd51cfd5c1b200eada2c307e066
[]
no_license
generic-github-user/project-summary
5f376815bc99619d212722c896d4546d38c913da
d124f5466d516d8b08ae97c2e25c9d7f8ff6c7c3
refs/heads/master
2023-06-11T03:42:53.368318
2021-07-07T17:27:51
2021-07-07T17:27:51
382,965,254
1
0
null
null
null
null
UTF-8
Python
false
false
6,482
py
#!/usr/bin/env python # coding: utf-8 # # Project Summary # # This is a small tool to compile a formatted list of information about a user's GitHub repositories. It includes relevant links and can summarize the completion of tasks across many repositories (for example, adding a README or license file). # # ## Usage ...
[ "40661852+generic-github-user@users.noreply.github.com" ]
40661852+generic-github-user@users.noreply.github.com
7f3bf8f8ce8e9c7ccf75cededa66cb3619b79869
8e4fba85743b359d5a3de61675e15dcc61ba128e
/extract-output.py
a10f1cb0d0fe0b3bc36e5322ed4633445a1c2d59
[]
no_license
chrisxwan/ads-final
2e70e1850dd0617cd25a7fa9517a608d51d962db
f72d98da40e1c9664368ddd576c377fdb5528eaa
refs/heads/master
2021-01-10T13:41:26.032493
2015-12-19T18:53:57
2015-12-19T18:53:57
46,877,808
0
0
null
null
null
null
UTF-8
Python
false
false
2,826
py
# extract-output.py # author: Christopher Wan import csv """def rsquared(x, y): Return R^2 where x and y are array-like. x is observed data, y is modeled data total = 0 for entry in x: total += entry average = float(total) / len(x) totalError = 0.0 for entry in x: totalError += pow((entry - average),2...
[ "christopher.wan@yale.edu" ]
christopher.wan@yale.edu
1568f79e45cf13d560531c5f6baed0e0fea2a27a
aa7c82614031d7d7ab3603042b940838fa73771a
/day02/grade.py
6c5a75b7e14b5951318fecb2c1f6512568f1778e
[]
no_license
wswwew/wsw
f79fee4c25d9416417ebecec34fafe1664a00aef
bfc3a1c0c98a3b35fd29b60946d1ada045159c68
refs/heads/master
2020-04-05T04:00:14.933968
2018-11-17T10:02:15
2018-11-17T10:02:15
156,534,607
0
0
null
null
null
null
UTF-8
Python
false
false
205
py
grade = float(input('请输入成绩:')) if grade>=90: print('优秀') elif grade>=80: print('好') elif grade>=70: print('良') elif grade>=60: print('及格') else: print('不及格')
[ "345740575@qq.com" ]
345740575@qq.com
f5ad2dd19e684829e793cbc9de1d2fc63fa725bc
4471bb9a47c0db93306bf4bcf7851dc61d660ca5
/env/bin/jupyter-nbextension
bad856cb17a8a9af6faea1e183dccd00cf39cb37
[]
no_license
amartyashankha/extruded-surfaces
ed0cd5c4c266e61d5b5c8e81bd114b68667dfff6
74fa982dab9021d4567838aa39bc5a2db9cbf847
refs/heads/master
2018-10-09T09:07:43.902410
2018-09-05T07:29:56
2018-09-05T16:10:07
109,978,050
2
0
null
null
null
null
UTF-8
Python
false
false
262
#!/home/shankha/Origami/extruded-surfaces/env/bin/python # -*- coding: utf-8 -*- import re import sys from notebook.nbextensions import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "asbiswas@mit.edu" ]
asbiswas@mit.edu
6200af4f551c8e6534b8a3a0ca176346d8b54d3e
dfff816642f4e1afeab268f441906a6d811d3fb4
/polling_stations/apps/data_collection/management/commands/import_swale.py
1450c85e75893e03f2e966075e02b5698e14b4c4
[]
permissive
mtravis/UK-Polling-Stations
2c07e03d03959492c7312e5a4bfbb71e12320432
26e0331dc29253dc436a0462ffaa01e974c5dc52
refs/heads/master
2020-05-14T18:36:31.501346
2019-04-17T12:54:57
2019-04-17T12:54:57
181,912,382
0
0
BSD-3-Clause
2019-04-17T14:48:26
2019-04-17T14:48:26
null
UTF-8
Python
false
false
3,327
py
from django.contrib.gis.geos import Point from data_collection.management.commands import BaseHalaroseCsvImporter class Command(BaseHalaroseCsvImporter): council_id = "E07000113" addresses_name = ( "local.2019-05-02/Version 1/polling_station_export-2019-02-28Swle.csv" ) stations_name = ( ...
[ "chris.shaw480@gmail.com" ]
chris.shaw480@gmail.com
d34530d6a594737b9d2122601a6e981fc4b9881c
71d258dcfffd401af91dfbb0db44fb72742a4108
/64.py
0d93e5fa177502c8594747812d7c0a28f82bc488
[]
no_license
GOWRI181109/gow
819c55c570b43aa3179c617db69a0c40b1b7005c
69be6b42c715ad747ed99e19da14360d8bb63c3b
refs/heads/master
2020-06-14T14:27:44.529165
2019-07-09T14:17:46
2019-07-09T14:17:46
195,026,641
0
0
null
null
null
null
UTF-8
Python
false
false
98
py
rgv1,rgv2=map(int,input().split()) gw=rgv1+rgv2 if(gw%2==0): print("even") else: print("odd")
[ "noreply@github.com" ]
noreply@github.com
b2d34af6905339ffce5155b5a7df7fe3509e9c4e
40e20e97cbaef78fea255d6bcbddd7aadc0e2c16
/Day04/imageprocess.py
e6778190fca1a27d18b4036a972d07986b2762e8
[]
no_license
AnushkaTiwari/FSDP_2019
d70567be2d2063f27e702663ba74460e7d9f7ef0
8388f9305de8e43ca89d76d1907cb9e3cdd16001
refs/heads/master
2020-06-04T04:44:30.224369
2019-06-14T05:28:57
2019-06-14T05:28:57
191,877,195
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
# -*- coding: utf-8 -*- """ Created on Thu Jun 6 12:05:19 2019 @author: ANISHKA """ # Code Challenge : Image Processing using PIL from PIL import Image import os img = Image.open('sample.jpg').convert('L') img.save('greyscale.png') img_rotate=img.transpose(Image.ROTATE_90) crop_im = img.crop(box=(80, 120, 160, 24...
[ "anushkatiwari4620@gmail.com" ]
anushkatiwari4620@gmail.com
9399c9273cd93034db22b32eba2127b884c75e9e
4869c5e4d4b5ba6af434b62a2369ed58891c4eb0
/addons/plugin.video.fen/resources/lib/indexers/dialogs.py
806f73f4a98af300d972b66eed68208ef5f003b4
[]
no_license
JohnnyBlackwater/Zephyr-mod
1bd73a04549da83965a0979a1957ab4f98b03a6d
2e9472793b45287b1114221f5dd1674ce886bca1
refs/heads/master
2023-08-31T22:54:47.827433
2021-11-15T03:01:01
2021-11-15T03:01:01
428,104,158
0
0
null
null
null
null
UTF-8
Python
false
false
35,327
py
# -*- coding: utf-8 -*- import json import metadata from windows import open_window from modules import kodi_utils from modules import settings from modules.source_utils import clear_and_rescrape, clear_scrapers_cache, rescrape_with_disabled, scrape_with_custom_values from modules.nav_utils import open_settings, clear...
[ "Johnnyblackx3@aol.com" ]
Johnnyblackx3@aol.com