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
df317995d729b1f1867618fd6d28b33ded828d4d
a1c4a197470f2b382aefcd2c0886d60234c4e29d
/data/dataset.py
7406c6f37d8d62923044450e42f2919d9cff56fa
[]
no_license
luoyi9340/letter_discriminator
f91aa9d791a97d2b2f443c7d2631a05790273a48
7c813e40bd9c6b4b181368d524cdb78c52a6c698
refs/heads/master
2023-03-09T07:15:57.081805
2021-02-20T19:22:43
2021-02-20T19:22:43
324,271,564
0
0
null
null
null
null
UTF-8
Python
false
false
4,068
py
# -*- coding: utf-8 -*- ''' 手写字母数据集数据集 一共26(小写) + 26(大写) = 52个字母 Created on 2020年12月15日 @author: irenebritney ''' import tensorflow as tf import json import matplotlib.pyplot as plot import numpy as np # 配置文件 from utils.Conf import LETTER, TRAIN # 日志信息 from utils import LoggerFactory from utils.Alphabet ...
[ "irenebritney@192.168.31.84" ]
irenebritney@192.168.31.84
2e12956584609483d216fc9a64b372968df150c6
eb123c1a74e39685ab6eef29af0af2c1356dfaf5
/python/Strings Mix.py
3db5a0965307d3cd791eb7ca312e01081845ebd3
[]
no_license
zenuie/codewars
9bada9d3c20c4b2b4b8321c784d2494bfe25689f
38ea9e8a0c97ed15c8959c073752fcfd098387ac
refs/heads/master
2021-11-30T01:43:51.590392
2021-11-29T06:31:58
2021-11-29T06:31:58
180,733,484
0
0
null
null
null
null
UTF-8
Python
false
false
1,511
py
import re def mix(s1, s2): result = [] check_alp = '[a-z]' # 正則 s1 = re.findall(check_alp, s1) # 小寫無重複 s2 = re.findall(check_alp, s2) if s1 == s2: return '' dict_1 = dictS1(s1) # 排出字典 dict_2 = dictS2(s2) dict_1 = sorted(dict_1.items(), key=lambda x: (-x[1], x[0])) # 字典值大的排前...
[ "30676398+zenuie@users.noreply.github.com" ]
30676398+zenuie@users.noreply.github.com
958ac63cbf4a149a2d0dac3fed9f2a04591c3689
a974ab24cf396c68e2072a194f86dd16e867e23e
/finalaDict.py
0bd2c8d7d5350ebc4112e742245c2bfd940b859b
[]
no_license
archanasheshadri/Python-coding-practice
e21161991c8fb1f45cf4903b098da05f15ca4fd8
e9f6d6f9cddb63825d82a2322bb8dcf166a60239
refs/heads/master
2021-01-24T03:11:59.301623
2018-02-25T21:49:57
2018-02-25T21:49:57
122,879,824
0
0
null
null
null
null
UTF-8
Python
false
false
945
py
def uniqueValues(aDict): ''' aDict: a dictionary returns: a sorted list of keys that map to unique aDict values, empty list if none ''' result = [] if aDict.keys() != []: values = aDict.values() uniqueValue = [] values.sort() temp = values[0] count = 0 ...
[ "archanasheshadri@gmail.com" ]
archanasheshadri@gmail.com
f87c504d146164de3ed512fea4d780a3594f6923
c2e4ea166b46f962d2771968642d5779183c78fb
/mtgame.py
51d151b74133a00aff00b9710ef99d9e249b691e
[]
no_license
Twist-Flex/kwart
344d54a2ff942d1eb78c8c0c0ad897387e2cb96d
74b971ca63548122052ec73faef2f36e08122f77
refs/heads/master
2021-01-19T12:13:01.171127
2017-02-17T12:42:56
2017-02-17T12:42:56
82,296,370
0
0
null
null
null
null
UTF-8
Python
false
false
3,970
py
import random print("Чать бот SimulatorAl. Текст пиши маленькими буквами!!!! И без занков препинания!") privet = { "привет":[" Салам!", " Привет!", " Хай!"], "как дела?":[" Нормально"," Плохо"," Как всегда"," Тебе какая разница?","Показать тебе мою силу???"], "что делаешь?":[" алкашню"," черти что"," не че"," Т...
[ "noreply@github.com" ]
noreply@github.com
b0e00c22ffb48e5979a2017cc88ab86b294c7b85
c5ecf74984e217946d94bb3783731d03d40ab84c
/Cal.py
78f1702e4c3311056525204d4dc4abcca5a4e512
[]
no_license
kiran260790/python_basic_scripting
02eabc021a0106cef79b4025189c4ee1b5cba11f
b2aa3c9f31497a5b001bfa982148bc114cb7df13
refs/heads/master
2023-08-04T01:22:47.786472
2023-07-25T05:04:02
2023-07-25T05:32:42
152,293,239
0
0
null
null
null
null
UTF-8
Python
false
false
357
py
class calculator: def __init__(self,num1,num2): self.num1 = num1 self.num2 = num2 def addition(self): return self.num1+self.num2 def subtraction(self): return self.num1-self.num2 def multiplication(self): return self.num1*self.num2 def division(self): ...
[ "kiranssgowda333@gmail.com" ]
kiranssgowda333@gmail.com
4d8bbd6906f8bf3c8e206e8a0445d7520084e449
cea41f28b1be6a44043d09fe1990c621b1e2ac15
/Aula 15/ex068.py
1b55c8db63bb4b125aa11032169e0cbbbe19631f
[]
no_license
sandymnascimento/Curso-de-Python
9fa91c447b2d271c216d69af4ac3501613d429f8
95aa353a3c4801a6cdbc42639bc32b28cb91315a
refs/heads/master
2023-04-25T03:52:07.645109
2021-05-09T17:27:26
2021-05-09T17:27:26
353,838,613
0
0
null
null
null
null
UTF-8
Python
false
false
962
py
from random import randint print('\033[1;34m* ' * 20) print(' '* 5, 'Vamos jogar PAR ou ÍMPAR?') print('\033[1;34m* \033[m' * 20) cont = 0 while True: user = input('Você escolhe PAR ou IMPAR? ').strip().lower()[0] numuser = int(input('Digite um valor: ')) numpc = randint(0, 10) print(f'Você escolheu {nu...
[ "sandymnascimento@outlook.com" ]
sandymnascimento@outlook.com
327cab1f61b7fc63a691fa1106537977cd19c625
e273ac58c34f6a0fba8360aef75f52a7ef03d5bb
/ansiblemetrics/playbook/num_unique_names.py
86e83089e546f11c6247dd51d9b902c4e8b68bfe
[ "Apache-2.0" ]
permissive
valeriapontillo/radon-ansible-metrics
e25b6c848fd40eb4b5802f540a6fd1ad20a77ce4
8a8e27d9b54fc1578d00526c8663184a2e686cb2
refs/heads/master
2023-09-06T06:21:43.417616
2021-11-04T14:28:04
2021-11-04T14:28:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,760
py
import re from collections import Counter from ansiblemetrics.ansible_metric import AnsibleMetric from ansiblemetrics.utils import key_value_list class NumUniqueNames(AnsibleMetric): """ This class measures the number of plays and tasks with unique a name. """ def count(self): """Return the numbe...
[ "stefano.dallapalma0@gmail.com" ]
stefano.dallapalma0@gmail.com
f04c44f3b9373ead505307d3d465a8862a926482
d541422113225e372b2d645fb1e8731b24d12d75
/hello_name.py
86c938b89f7a20f62469916e2fcd9bdfa3724004
[]
no_license
vdpham326/Python_Coding_Exercises
8c1d5d4cd87f57b94600138649dc865dc9282be3
9efd64b24671df1c56ccfac50582d6fd71bc14fc
refs/heads/master
2022-11-10T09:56:36.252673
2020-06-26T09:36:47
2020-06-26T09:36:47
274,311,562
0
0
null
null
null
null
UTF-8
Python
false
false
212
py
# Given a string name, e.g. "Bob", return a greeting of the form "Hello Bob!". def hello_name(name): return "Hello " + name + '!' print(hello_name('Bob')) print(hello_name('Alice')) print(hello_name('X'))
[ "vdpham326@gmail.com" ]
vdpham326@gmail.com
738f5c35424d9fc3c0c2579254d86e5fe343b5e4
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/6c38443a9c1f79ebf131d120be0f36ccfbe963c6-<main>-bug.py
191038ac35ab613322148994a91dc9df1e97b7c1
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
885
py
def main(): argument_spec = ec2_argument_spec() argument_spec.update(dict(names={ 'default': [], 'type': 'list', })) module = AnsibleModule(argument_spec=argument_spec, supports_check_mode=True) if (not HAS_BOTO): module.fail_json(msg='boto required for this module') try:...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
efe3f5a18b22d52c8744060a47788ebb86d50b5d
c94e4451daf83a143205d9ff1d1eb9a8411cad66
/baselines/models.py
8bc503573860ba03e27e5cb3a94fc48009c2b1a6
[ "MIT" ]
permissive
visionshao/TerminologyExtraction
dd5dd447e59e5ed734ac13e0ffc52b4ab633ff7e
ff23d7794e8bbfbc6c576fd5d46b37b40a652b67
refs/heads/main
2023-03-20T21:06:52.162720
2021-03-03T11:57:59
2021-03-03T11:57:59
344,106,132
1
0
null
null
null
null
UTF-8
Python
false
false
1,023
py
def rule_extraction(pos_sentence): result_list = [] temp_result = [] for i, (word, pos) in enumerate(pos_sentence): if pos[0] == "N": if len(temp_result) == 0: temp_result.append(word) else: if pos_sentence[i-1] == "N": ...
[ "noreply@github.com" ]
noreply@github.com
e9ba71831df58fe8207554f2e696a50742e9640a
20c81ad33259a381080d0a03c72894fea79fa374
/ClassLabs/Lab8/Python_Lab8_Home.py
bb733d069074b6f6f45bbfe36ea1bd0d936ee049
[]
no_license
Verbs2004/Python-Programming-In-Context
c9985c59ad6ea2919ad9f5c0f5d343ee61342347
5aa5e571c62e070004190b09b85bd9d2628ec3bf
refs/heads/master
2021-01-23T14:39:57.094228
2013-07-15T14:59:41
2013-07-15T14:59:41
102,695,111
1
0
null
2017-09-07T05:28:45
2017-09-07T05:28:45
null
UTF-8
Python
false
false
2,217
py
# 1: Write a function that takes a single character digit and returns # its integer value. For example, if the function name is intval, intval('9') # will return 9(the integer 9, not string '9') def intval(i): i = int(i) return i # 2: Write the letterToIndex function using ord and chr. letterToIndex is # ...
[ "thyrusg@thyrusgorges.com" ]
thyrusg@thyrusgorges.com
b3a045a004cc3bffc590d6b0196b26d6b5724efd
3a66cdcf904fa317ea6cd590effab1a6136e2ec0
/Calculator/calculator.py
326ad42a13f119b0335fe970519a13f1a81e9f16
[]
no_license
Ronjaek/TDT4113-Programming-Project
471c0127a3ff7519d029f21b6571b02cb506c02f
eea151adcb00db12892b8b27fc6f0163bc4a6a31
refs/heads/master
2022-12-14T13:21:50.114141
2020-09-03T17:11:51
2020-09-03T17:11:51
292,629,795
0
0
null
null
null
null
UTF-8
Python
false
false
9,179
py
"""Hovedklassen i programmet""" import numpy import numbers import re from function import Function from operator_ import Operator from queue import Queue from stack import Stack class Calculator: def __init__(self): """gir kalkulatoren tilgang til regneartene og funksjonene""" # definerer funks...
[ "ronjaek@Ronjas-MacBook-Pro.local" ]
ronjaek@Ronjas-MacBook-Pro.local
c9d4f38b7f97483e88d2feaec9671b65a0303653
72663667c62dc849b4f4bb773ae011b40fd7d777
/VoteOCR/bin/django-admin
9d044211d2b22b3fdb73c19c1e7820cd7f04a891
[]
no_license
neilgiri/VoteOCR
415527bff7fa29203489e2880f57d77b3cebcf82
a85d97f960d0640e11675d499a9c72a311d866bd
refs/heads/master
2020-08-03T16:44:20.675192
2018-01-13T04:31:11
2018-01-13T04:31:11
73,542,931
0
0
null
null
null
null
UTF-8
Python
false
false
311
#!/home/rlund/Documents/CalHacks3.0/VoteOCR/VoteOCR/bin/python3 # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line())
[ "ryan.lund@berkeley.edu" ]
ryan.lund@berkeley.edu
b2ca28488c94f3f941e3240dbeca0d5ce18d1b19
5288d737d3d68e86b666be03dc62600b324a2910
/main_app/filters.py
23ddd9ad6fb44e369f4235f9f2c3cbc845160d64
[]
no_license
aerastov/SkillFactory_D4
8b127baca51c69198e8e76d57d69f2567b5bd6c4
11bbc5cb936749483c27d9e4c7212270847eb7b1
refs/heads/master
2023-08-27T14:30:14.515050
2021-10-26T22:46:06
2021-10-26T22:46:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
from django_filters import FilterSet # импортируем filterset, чем-то напоминающий знакомые дженерики from .models import Post from django_filters import DateFilter from django import forms class PostFilter(FilterSet): class Meta: model = Post fields = { 'title': ['icontains'], ...
[ "a.erastov@gmail.com" ]
a.erastov@gmail.com
cdee9bbc3982ee481c0bf44afc8e682f9146e6db
216e1d474cf04cd0a9b3cabac22bef95716e08e7
/Intro to Python/Homework/CSC110_2_Ch04/hw_04_ex_02.py
f9125cdcaff0fefd2985cf256718f7ec7d24022a
[]
no_license
RPMeyer/intro-to-python
9c36a97dcad39d3060f626ab5a1d789b470ba32c
d2283c8902e0699036ef3b117d272691eaf9b490
refs/heads/master
2020-12-03T00:06:59.087698
2017-08-17T16:56:01
2017-08-17T16:56:01
95,989,261
0
0
null
null
null
null
UTF-8
Python
false
false
869
py
# Write a program to draw this ( 5 concentric squares of decreasing size) Assume the innermost square is 20 units per side # each successive square is 20 units bigger (size += to 20), per side, than the one inside it. import turtle wn = turtle.Screen() wn.bgcolor("lightgreen") wn.title("Alex draws a line of squares") a...
[ "haru.haru77haruko@gmail.com" ]
haru.haru77haruko@gmail.com
4b07fb305ff28845f8393a96c6bf69fafb122469
d5b526977adfce0ac21588598a61d0fabbd6ed48
/tkinterBasic.py
555ee324d4a6d9c89c44116dd5132240a671f8bd
[ "MIT" ]
permissive
anishmo99/Python-Functionality
b001cdd40828fc0b6879d34ad057dab3524de933
91e963609b0ce600d0c46073748611ecbab61dae
refs/heads/master
2022-12-15T18:46:47.534669
2020-09-10T07:14:13
2020-09-10T07:14:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
63
py
import tkinter as tk m=tk.Tk() m.title('hi anish') m.mainloop()
[ "ani10sh@gmail.com" ]
ani10sh@gmail.com
3ec0749c8b2c8d3d54cf97e11f641dfbced8701d
6a9b9d2e6f811423ab411c83952b9a2ff69b3471
/code_snippets/process_data.py
615cf89eb5b96d9598182b2c793997e5496130fb
[]
no_license
thebeancounter/flask_keras_train_and_prediction
017848e70bc03cac66143d94d3b18a174b786534
55e4b488fe30f98824187dd75c72c915cf50aa34
refs/heads/master
2020-03-27T13:20:40.308695
2018-11-06T14:26:28
2018-11-06T14:26:28
146,603,687
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
from keras.datasets import mnist import keras (x_train, y_train), (x_test, y_test) = mnist.load_data() x_train = x_train.reshape(60000, 784) x_test = x_test.reshape(10000, 784) x_train = x_train.astype('float32') x_test = x_test.astype('float32') x_train /= 255 x_test /= 255 y_train = keras.utils.to_categorical(y_trai...
[ "shai2go@gmail.com" ]
shai2go@gmail.com
8d551813a916a1c05fba0afca7bf63e06802bd88
72f43041a2645c10295b2e9c17d72274ddf765ef
/src/test/test_benchmarks.py
7b70d82b518ec30458cbddb7017d3e0057be845f
[ "MIT", "BSD-3-Clause" ]
permissive
zhaowill/stata-gtools
85918134c741a32b534786e57208f7640dc181cd
6409f703a265aa28ee32da9989a276188e83f46e
refs/heads/master
2020-05-17T23:33:53.840993
2019-04-04T16:45:54
2019-04-04T16:45:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
138
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # import matplotlib.pyplot as plt # import pandas as pd # import numpy as np # import json
[ "mauricio.caceres.bravo@gmail.com" ]
mauricio.caceres.bravo@gmail.com
5a2b4bbabd37932501967bb4af06485dc2806f52
47c1e2069f6f4a68216afcf0e8a0249aa15bc9dc
/minidlnaindicator/constants.py
65599585827df5c4071a9431f044a71fd69a53b3
[]
no_license
okelet/minidlnaindicator
9d154918393b6236ba76c4a147e56d501712797d
e83a85765efcdeb8492251878fa053521d662672
refs/heads/master
2022-05-04T07:16:09.138239
2022-04-27T14:28:32
2022-04-27T14:28:32
59,846,889
2
1
null
null
null
null
UTF-8
Python
false
false
2,776
py
from typing import Dict, Any import logging import os import re BASE_DIR = os.path.dirname(os.path.abspath(__file__)) LOCALE_DIR = os.path.join(BASE_DIR, "locale") APPINDICATOR_ID = 'minidlnaindicator' APP_DBUS_PATH = "/com/github/okelet/minidlnaindicator" APP_DBUS_DOMAIN = APP_DBUS_PATH APP_DBUS_DOMAIN = re.sub(...
[ "okelet@gmail.com" ]
okelet@gmail.com
748b5d931eb15cc7bc4633096be19fd44f691168
454c29a8fec880afdc6841b5468aeb89b5f3051c
/project1/urls.py
d0b226636a6d16e748de50d2c4897bdee8ac3437
[]
no_license
gauravhans8/Lawyered
24bf5710d5f5b4d89b71c386203c07c06d078431
70ee812b1f4887a0cf4b5fb68186ae474758b9a4
refs/heads/master
2021-01-11T03:57:02.993476
2016-10-18T06:05:43
2016-10-18T06:05:43
71,244,215
1
0
null
2016-10-18T12:08:26
2016-10-18T12:08:26
null
UTF-8
Python
false
false
578
py
from django.conf.urls import include, url from django.contrib import admin from django.contrib.auth import views from django.conf import settings from django.conf.urls.static import static urlpatterns = [ # Examples: # url(r'^$', 'project1.views.home', name='home'), url(r'^lawyered/', include('lawyered.urls...
[ "kratigyarastogi0705@gmail.com" ]
kratigyarastogi0705@gmail.com
27243d518c4d54514aa0ed20d368f35eaf505dbd
033fb08be4d1ebd99ff9d4a790dc5c86d82f686c
/landing_page/models.py
5f0a4b81205b47f558357e621dd5a083c75a2954
[]
no_license
MasoudMusa/Django-Blog-App
8a145c68520d50d8384fd48badbebcb097c663ed
48b8bd31608a9d3a0e65a977b7961be9ad774fa6
refs/heads/master
2020-04-25T18:38:32.919036
2019-02-27T21:14:38
2019-02-27T21:14:38
172,991,061
0
0
null
null
null
null
UTF-8
Python
false
false
801
py
from django.db import models from django.conf import settings from datetime import datetime from django.contrib.auth.models import User # Create your models here. class BlogStuff(models.Model): title = models.TextField(max_length=200) description = models.TextField(max_length=100, default='This is the descript...
[ "mwendamusa20@gmail.com" ]
mwendamusa20@gmail.com
c9d9e59cfb1c0b5c982676b2b0e139cae6120010
618bb00f2e647b58ed69295f1d6fd869eab35525
/preprocess_imgs.py
0954091fd29b4410558dcec114946d382f3f3ca9
[]
no_license
hbata/tourstic
a7d807006b0551ce76a64daaf9079eecda254436
b0bba3c5cbca5debd1c4ca6b06b46151508decd7
refs/heads/master
2020-04-09T23:56:18.137971
2018-12-06T13:39:01
2018-12-06T13:39:01
160,670,988
0
0
null
null
null
null
UTF-8
Python
false
false
2,896
py
import numpy as np import cv2 import PIL from PIL import Image import os from multiprocessing.pool import Pool def rename_imgs(): data_dir = 'dataset' ROOT_DIR = os.path.dirname(os.path.abspath(__file__)) folders = [f for f in os.listdir(data_dir) if os.path.isdir(data_dir) and f.endswith('h') or f.endswi...
[ "hesham.bataineh@aiesec.net" ]
hesham.bataineh@aiesec.net
8b9ad83e2464b381fd7db608eb689d5927b9c029
cac10d84dc970078f5c4bc31f433cd5c3aa186cf
/bikeshare.py
2c1278a32198c321ab3d0a79fdb481df82257eda
[]
no_license
sarahg/python-bikeshare-stats
5a9ee03276c25330a978c040768e6a2e008bac8e
77578021a58fa43560a55a5db1128d1c96513438
refs/heads/master
2022-10-30T13:46:09.359330
2020-06-15T17:39:29
2020-06-15T17:39:29
272,494,782
0
0
null
null
null
null
UTF-8
Python
false
false
6,533
py
import time import calendar import pandas as pd CSV_PATH = './csvs/' CITY_DATA = { 'chicago': 'chicago.csv', 'new york city': 'new_york_city.csv', 'washington': 'washington.csv' } SEPARATOR = '-' * 40 def get_filters(): """ Asks user to specify a city, month, and day to analyze. ...
[ "sgerman@pantheon.io" ]
sgerman@pantheon.io
c0bd9094de5b1e54fc83d99f8152fdce3ed29c0a
4a9c10f838128a1c401b2df91a458596bdea7cca
/mysite/settings.py
d89cf373db46f9cdfea7b2856710a471d70cb679
[]
no_license
daichimitsuzawa/djangolesson
fc587005454fa5e49f8dc6282b1d4122e7fe2463
ea71bdb9cea13831423639b3620fd7915aba908c
refs/heads/master
2022-09-09T02:39:58.447149
2020-06-01T08:46:09
2020-06-01T08:46:09
268,469,602
0
0
null
null
null
null
UTF-8
Python
false
false
3,119
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.2.12. 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 os #...
[ "mitsuzawadaichi@Daichi-no-MacBook-Air.local" ]
mitsuzawadaichi@Daichi-no-MacBook-Air.local
4e2542ef9400252a5e53cd863018ba77e7f9302f
8ec71b40687f2ebabc2d961c9efa2f9a6fc17666
/src/padronelectoral/views/views_orm.py
e4138bbf85b30898696c30a1cae785b8c0673a2f
[]
no_license
luisza/Training
37af0c17f2b97bc0a5b812469a5c47d8cd299e2c
32b901efd0cccc618a26f34f8c1702133f5fac68
refs/heads/master
2020-04-15T12:34:08.270263
2019-02-25T23:46:11
2019-02-25T23:46:11
164,680,331
0
1
null
null
null
null
UTF-8
Python
false
false
5,339
py
from django.contrib.auth.decorators import login_required from django.core.paginator import Paginator from django.http import JsonResponse from crpadron import settings from django.shortcuts import render, get_object_or_404, redirect from django.conf import settings from padronelectoral.forms import ElectorForm from ...
[ "miguel1796@live.com" ]
miguel1796@live.com
98f37383c32f1daedec53a0bb197ecf616effd71
96a37825fa81ba748edccc0a71b6c78f2a530503
/wrangle_data/packages/__init__.py
6851a907cfde581029ac137e0f8ba1be1bc95cf7
[]
no_license
ErinMa10/gwshm-machine-learning
c0c3ed1c7c5327686b66a0581efb943aa6e10b86
02210564dc1a39e297d23413f313bb092c22e86c
refs/heads/master
2022-04-22T08:20:20.375609
2019-02-05T19:36:31
2019-02-05T19:36:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
36
py
#from .two_ray_model import RayModel
[ "dibgerge@gmail.com" ]
dibgerge@gmail.com
a45a07dd66cbbfa57b6a3b8f8445747b4300de28
1d9e681b204e6ec2d7a710ef45b7dec082239491
/venv/Lib/site-packages/od_python/models/inline_response_200_33.py
2f87d5fa2b2a17141b43a2b9c133a4e168221558
[]
no_license
1chimaruGin/DotaAnalysis
0e0b85805cc83e4cc491d46f7eadc014e8d6b1f1
6a74cde2ee400fc0dc96305203d60c5e56d7ecff
refs/heads/master
2020-07-21T20:48:07.589295
2019-09-07T12:20:15
2019-09-07T12:20:15
206,972,180
2
0
null
null
null
null
UTF-8
Python
false
false
4,902
py
# coding: utf-8 """ OpenDota API # Introduction The OpenDota API provides Dota 2 related data including advanced match data extracted from match replays. Please keep request rate to approximately 1/s. **Begining 4/22/2018, the OpenDota API will be limited to 50,000 free calls per month.** We'll be offering a...
[ "kyitharhein18@gmail.com" ]
kyitharhein18@gmail.com
89531794da9e58caea0fdbc37413f91c45f8d070
9ad903f3873e82c91026066e80d9fe77b02d4bc4
/graph_generator.py
18a3346519cb40855a90b3229342235926efc25f
[]
no_license
anirudhSK/drmt
c6fa05c6cc1def571ad7ed1b095654211a85009e
b287d31d50f371284cfb3a1f810990ae26637ae1
refs/heads/master
2021-04-29T09:30:02.996494
2017-09-10T10:13:27
2017-09-10T10:13:27
77,659,675
12
10
null
2017-02-24T22:45:14
2016-12-30T04:12:46
Python
UTF-8
Python
false
false
3,461
py
import sys import math import matplotlib import importlib matplotlib.use('Agg') matplotlib.rcParams.update({'font.size':18}) import matplotlib.pyplot as plt if (len(sys.argv) != 5): print("Usage: ", sys.argv[0], " <result folder> <drmt latencies> <prmt latencies> <folder for figs>") exit(1) else: result_folder = ...
[ "sk.anirudh@gmail.com" ]
sk.anirudh@gmail.com
fca0f3066fbd42e823817547f2c01715501558b4
046d9405f06774ab8d52cd356b137007e6c9599a
/python/python/老师笔记/python/day01_pm/day01/exercise/salary.py
9b74a9a7b0e9d1efad83c45d995a6132447b113d
[]
no_license
jluocc/jluo2018
3a49d9884bd2bc2e02e0d6ef9f066269c2e430a8
30e39f93ef65810d39423a4b66dd253cdeaddae5
refs/heads/master
2020-04-07T15:24:07.850373
2019-01-06T06:05:19
2019-01-06T06:05:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
151
py
# 2. 一个学生毕业薪资是10000元, # 每年涨20%,问十年后它的薪资是多少? # (要求打印出来) print((1 + 0.2) ** 10 * 10000)
[ "473145009@qq.com" ]
473145009@qq.com
80df44273e2f313dce7038b7329a31df34e2b601
7358fef64817a640f224f6a1b0ef22f7e4812d4b
/Materi/Materi 8 Fungsi/isGenap.py
926f99fc36b94ff6225596af70dc71181e8fc136
[]
no_license
bimarakajati/Dasar-Pemrograman
8d4124701c61900c2cc41ec89be2b08c492c8541
af5e7abf122b8b151625504ac6739ab98996fb7f
refs/heads/master
2023-08-24T19:32:00.591820
2021-10-13T20:10:12
2021-10-13T20:10:12
302,336,101
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
def is_Genap(i): """ diberikan suatu bilangan i dengan tipe integer untuk mengecek apakah bilangan tersebut bilangan genap atau bukan """ print('keterangan didalam fungsi is_Genap') return i%2 == 0 is_Genap(4)
[ "bimandugal@gmail.com" ]
bimandugal@gmail.com
fb4e8cc6019e4b13f7755cdb495d918f89adcf83
d24632eb9f35ac144bee042facd9f8a596622b15
/minimos_cuadrados_regresion_lineal.py
7b1a2cd38d84804eb58dffdf1a9f742c001a047b
[]
no_license
fiscompunipamplona/taller-interpolacion-RobertoCuellar2019
02a7b24db597e3e9e2d2b3e130c07c8fcb0366be
9129885b332f153f003682d5bfae79530565fb44
refs/heads/master
2020-05-23T08:34:59.891349
2019-05-17T03:41:15
2019-05-17T03:41:15
186,690,567
0
0
null
null
null
null
UTF-8
Python
false
false
1,545
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu May 9 08:16:01 2019 @author: usuario """ import numpy as np import matplotlib.pyplot as pl from sklearn.linear_model import LinearRegression from regresion_lineal import regresion from time import time ###implementacion con libreria x1 = 1e-9*np.ar...
[ "lozano.roberto.2018@gmail.com" ]
lozano.roberto.2018@gmail.com
4f594bdd576600a328c0961d7f08f576815b4e3e
0b3279cc150b85f5daf48e74ed164d91d5b0f522
/week4/linked_lists/odd_even_linked_list.py
bef041c87b7c695c26acea8361a17d270c8aad75
[]
no_license
membriux/Wallbreakers-Training
42a0e4bf64f178e48f5228f6559929b7b0b772b7
5ec134f964cc87ae6399027bcf8b573e9ea83503
refs/heads/master
2020-06-08T05:24:13.204769
2019-07-19T21:19:43
2019-07-19T21:19:43
193,166,934
0
0
null
null
null
null
UTF-8
Python
false
false
919
py
'''Given a singly linked list, group all odd nodes together followed by the even nodes. Please note here we are talking about the node number and not the value in the nodes. You should try to do it in place. The program should run in O(1) space complexity and O(nodes) time complexity. Example 1: Input: 1->2->3->4->5...
[ "sanguillermo98@gmail.com" ]
sanguillermo98@gmail.com
a6866da48739be0c4f8ee125b99b4f00db8ce727
90882482926884e9d1bf8db393596b9b392eb3db
/4-repetition/1-while-loop/4-len/bot.py
ca51c1f85e27e69f0df0b92bdf35c8c5544b2f77
[]
no_license
4mayet21/COM404
cc2eee29433c0a5f59985ac4c02af82f0cc01c10
377ae5cca76af883c59d208f17178d5697ceeb4b
refs/heads/master
2020-07-31T09:15:03.783979
2019-11-26T12:11:53
2019-11-26T12:11:53
210,556,826
0
0
null
null
null
null
UTF-8
Python
false
false
178
py
#asking for input phrase = input("please enter a phrase: ") bopLen = (len(str(phrase))) bops = "" while bopLen > 0: bops = bops + "bop " bopLen = bopLen - 1 print(bops)
[ "4mayet21@solent.ac.uk" ]
4mayet21@solent.ac.uk
59b4a7e0dd46c5e83fc418f6782d8c48fd7a89e1
be27afb51cbdcc321ee7e80d147d62c0c321ebba
/rocon_client_sdk_py/virtual_core/hooks/bootstrap.py
f396c58086d4ef720832affed70f281b92985e6a
[ "MIT" ]
permissive
boklae/rocon_client_sdk_py
18cf6dadb5782d34e74e013d500c7ad3a5d36fa8
47ffd3a466fbbcb43f77338eddd9a9fa32b3a763
refs/heads/master
2022-11-29T19:02:20.386179
2020-03-04T06:31:52
2020-03-04T06:31:52
244,824,897
0
0
MIT
2022-11-22T05:22:10
2020-03-04T06:29:21
Python
UTF-8
Python
false
false
3,522
py
import pydash class HookBootstrap(): def __init__(self, context): self._iniitializers = {'battery':self._init_battery, 'location': self._init_location} self._validators = {'battery': self._validate_battery, 'location': self._validate_location} self._api_config = context.api_configuration ...
[ "blcho@yujinrobot.com" ]
blcho@yujinrobot.com
7e8e0c92157894f81c595a9d31c7422fe1804de2
b80130d763793ee3151b94530adb273ec06bdc04
/test_synch/optimize/cplx_dream.py
cd9305a6a83f1cbb73ae4df07a71e1ed4a4fc89d
[ "MIT" ]
permissive
mgricci/am_cdbn_mirror
18d14a354704a2f674758b52b9603a849b66b42d
6e7539da0a550550b8510bcc84c7063fc90fc701
refs/heads/master
2020-04-05T04:36:56.769925
2019-03-05T18:04:03
2019-03-05T18:04:03
156,558,424
1
0
null
null
null
null
UTF-8
Python
false
false
4,189
py
import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt plt.ioff() import numpy as np import torch from torchvision import datasets, transforms from mnist import Net import scipy.ndimage as nd from torch.autograd import Variable from test_utils import cplx_imshow from tqdm import tqdm import...
[ "junkyung_kim@brown.edu" ]
junkyung_kim@brown.edu
a5182a3592a73630ecc56a742be9063f21eaa18f
1084f6e49cb5bc119e269074abeb19892936ced0
/2_estruturas_de_condicao/exercicio_21/exercicio.py
8c043089dab08a77a37dbb68de6301db7f4ba225
[ "MIT" ]
permissive
ericsporto/Logica_com_Python
b14c68856156d20e54451064bc2854636a724740
6036de44776c69da1381d4b4e05abbfd7523c9f5
refs/heads/main
2023-09-04T13:25:14.591405
2021-10-22T10:44:16
2021-10-22T10:44:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
165
py
rodas = int(input("Digite a quantidade de rodas: ")) print(rodas) if rodas > 2: print("Pagar pedágio!") if rodas == 2: print("Pode passar livremente!")
[ "89411680+ericsporto@users.noreply.github.com" ]
89411680+ericsporto@users.noreply.github.com
2a61130e38abfdb993ca7a5d2c63578e361d5ba3
7ff908b0d3196d9170e37590654d21288ba0afc7
/lotto.py
f9fd1a6553693d0bc6e5011740b42c182493c411
[]
no_license
my0614/python
9fca95adf7175344e61b13b5c2940284e6cc5fc8
de87665e8d63c3c878abeef1be55173113c810ad
refs/heads/master
2021-11-22T23:35:02.103330
2021-08-29T05:06:19
2021-08-29T05:06:19
212,062,519
0
0
null
null
null
null
UTF-8
Python
false
false
597
py
import random lotto_value = [] count = 0 one = 0 for i in range(7): a = random.randrange(1,46) lotto_value.append(a) print(lotto_value) lotto_input = input('로또 번호를 적어주세요').split(' ') print(lotto_input) for i in range(0,6): if int(lotto_input[i]) == lotto_value[i]: count += 1 if int(lotto_input[6]...
[ "noreply@github.com" ]
noreply@github.com
1c517b59b04939c02b21ddefa13d2f904e19f7e0
9f549fbac72919299cb032bb33aa6595c8ac5789
/hackerRank/python/set_d_r_p.py
cd6a678a7ec09b7d13de08d04a60eb833ab41922
[]
no_license
jerilMJ/onlineCoding
67a1fe24d79c1c681ab2cbc731444209ea02801b
1630d9a0869e62f4725bc517e1cd834000b039da
refs/heads/master
2020-07-19T01:05:51.447936
2020-01-02T06:24:20
2020-01-02T06:24:20
206,348,107
0
0
null
null
null
null
UTF-8
Python
false
false
628
py
''' Solution to 'Set .discard(), .remove() & .pop()' under Python in HackerRank ''' n = int(input()) s = set(map(int, input().split())) numOfCommands = int(input()) commands = [] skip = 0 for _ in range(numOfCommands): command = input().split() commands.extend(command) for i in range(len(commands)): if s...
[ "jeril.0ff@gmail.com" ]
jeril.0ff@gmail.com
cbea8d19bfec7562e32c00134f80b76fc7ac3e63
035b9151e3e35e9c697c04eb54aca4a44d4a4cd2
/polls/views.py
50f21bedcaca2320703383f31f2dda3beebf35b9
[]
no_license
ghm8418/mysite
1139e4c8fc3980c0afdaa7ea9945f58444269697
4103faef9df2d921c9124190661353c474bf4ed2
refs/heads/master
2020-04-07T06:59:28.660217
2018-11-19T07:53:24
2018-11-19T07:53:24
158,159,020
0
0
null
null
null
null
UTF-8
Python
false
false
2,026
py
from django.shortcuts import render from django.http import HttpResponse from polls.models import Question # Create your views here. # def index(request): # q = Question.objects.all()[0] # choices = q.choice_set.all() # # print(q.question_text) # print(choices[0].choice_text) # print(choices[1].ch...
[ "ghm8418@gmail.com" ]
ghm8418@gmail.com
de18f9e297b8b2c8cb0d4eb962556836670c4046
a22a76d50a376ab9184df61d73e872cc80ff1a6f
/REGRIDDING/regrid_PRIMAVERA_on_CORDEX.py
42db1c9ef1e1f7228246440e20a3d85f234ec280
[ "LicenseRef-scancode-proprietary-license", "Apache-2.0" ]
permissive
PRIMAVERA-H2020/PrecipDistribution
e3eb7c4a224aab1ed4606b553edce906ad53014e
92c2faf428d1e8809c34473831ac9fbf0e5a0e0a
refs/heads/master
2023-01-05T15:57:51.768864
2020-11-04T11:02:07
2020-11-04T11:02:07
227,361,674
0
1
Apache-2.0
2020-02-24T21:35:11
2019-12-11T12:32:40
Python
UTF-8
Python
false
false
5,431
py
import european_masked_subregion as ems import iris import subprocess import os from cf_units import Unit def main(): outdir = '/gws/nopw/j04/primavera3/cache/sberthou/' country = 'prudence' frequency = 'd' n512 = False other = 'PRIMAVERA' time_con = iris.Constraint(time=lambda cell: 1950 <= ce...
[ "segolene.berthou@metoffice.gov.uk" ]
segolene.berthou@metoffice.gov.uk
e4a8b726e97e5b7e572f45b81f4f0dcf2eabafe5
8a932777c890284c5eabc203c4916516f4e314ce
/examples/example_flask.py
cbe30bd866157ced8d7a031e179630bf396f4a4f
[]
no_license
watxaut/flask-project
da58e5da06a865f2619fac2cc4ef63405cb8a9d0
a81d0e701fc2845157bb346083149ee74985e989
refs/heads/master
2021-06-17T18:27:32.656865
2019-11-02T08:56:58
2019-11-02T08:56:58
169,991,536
0
0
null
2021-03-20T00:34:35
2019-02-10T15:16:18
Python
UTF-8
Python
false
false
838
py
from flask import Flask, jsonify, request # __name__ == "__main__" if executed. It will give the module name if imported and printed app = Flask(__name__) # main page (like 'index.html') @app.route("/") def home(): # Flash automatically looks at the 'templates' folder, very important to have the same folder name...
[ "watxaut@gmail.com" ]
watxaut@gmail.com
0a38129fb32469a1590e8cefd7d32d74d316bd54
c2447adecfdbb05a772f1d84e6e5f229de33d0c6
/talleres/taller04/taller04.py
e6becc912735e6b385b632684b07b48b1b75a4bd
[]
no_license
Juanesfon5/ST0245-respuestas
e9aa433fedc1ef24891ae66cf3f1d06830b5f248
04bd676cd20393447427e8a976714be9b73cae8e
refs/heads/master
2020-03-28T12:46:38.339203
2018-08-21T20:08:19
2018-08-21T20:08:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,252
py
#!/usr/bin/python import random from matplotlib import pyplot as pl import time def array_generator(len): """List generator""" array = [0] * len for i in range(len): array[i] = random.randrange(0,100) return array def array_sum(array, sum = 0): """Add the elements in the list""" for e...
[ "noreply@github.com" ]
noreply@github.com
7a203d32c16d289fef8f26566ec33d36956c6123
b11b16bf88d4d9be80986631ba161883cd9a28a4
/examples/rc/packages/gnu.py
1d096f2cec2adb7a006c51d7ab8534210bfb4da8
[ "Apache-2.0" ]
permissive
simone-campagna/zapper
8ec11f68fdf6904cab3031789cd7553aa71f7869
fee2aaddcb13f789768a30761670c8c142d2b54d
refs/heads/master
2020-04-26T01:42:32.180173
2013-12-07T14:45:57
2013-12-07T14:45:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,317
py
from zapper.package_file import * gnu = Suite('gnu', NULL_VERSION) gnu.add_conflicting_tag('compiler-suite') for version in '4.1.2', '4.5.2', '4.7.0': version_name = version.replace('.', '_') gnu_version = Suite(version_name, NULL_VERSION, suite=gnu) gnu_version.add_conflicting_tag('gnu-suite') libf...
[ "simone.campagna@tiscali.it" ]
simone.campagna@tiscali.it
b86275ae56f9d0014b5c3a45b2b8249d042a0397
c74b29b68211a51d7283d57b24d7cf83422a8ceb
/historischekranten2folia.py
49a1dadee9ba395be694155de271a6c80da1c684
[]
no_license
proycon/nlpsandbox
63359e7cdd709dd81d66aed9bf1437f8ecf706a0
22e5f85852b7b2a658c6b94c3dedd425a5d6396f
refs/heads/master
2020-12-09T19:37:10.040962
2019-04-23T17:17:15
2019-04-23T17:17:15
2,347,265
0
1
null
null
null
null
UTF-8
Python
false
false
1,678
py
#!/usr/bin/env python3 import csv import sys from bs4 import BeautifulSoup from pynlpl.formats import folia for filename in sys.argv[1:]: with open(filename, 'r',encoding='utf-8') as f: reader = csv.DictReader(f, delimiter='\t', quotechar='"') for row in reader: docid = "historischekr...
[ "proycon@anaproy.nl" ]
proycon@anaproy.nl
57b3602e7f6251032bfd21f91cf0b5da466d7f53
a0b53f6638af5b67cc591994eea7eb3aec0e44f9
/misago/threads/tests/test_floodprotection.py
9b8d42c5085c7017af247a4b8703dfe8a2cd13ab
[]
no_license
FelixFreelancer/react-django-forum
bb4d4ed3bac1c77694bd0ef50a122e5bd2efc3a6
442db7e56714f2baad17aac525e725873bdf1650
refs/heads/master
2022-12-12T21:28:50.301365
2019-05-09T03:12:56
2019-05-09T03:12:56
185,715,690
1
0
null
2022-12-08T01:22:57
2019-05-09T02:57:02
Python
UTF-8
Python
false
false
1,525
py
from django.urls import reverse from misago.acl.testutils import override_acl from misago.categories.models import Category from misago.threads import testutils from misago.users.testutils import AuthenticatedUserTestCase class PostMentionsTests(AuthenticatedUserTestCase): def setUp(self): super().setUp(...
[ "explorerpower@hotmail.com" ]
explorerpower@hotmail.com
30bfa11e0595824edd8f03e6b69ce3e066a2646d
389b781aaa933f431ee4f4bcc5b8df256ad0c967
/kevin.py
06d95b7a94959fd35deca7ffab80ca24a91d5e97
[]
no_license
FrankJunkar/FavoriteThings
fcf9c133c1a5147489a26b7aef5b58e4cbf7ca59
419fa425f472f04ff7cf3324a87c76fe16d94acf
refs/heads/main
2023-03-13T10:23:10.824339
2021-03-02T00:03:10
2021-03-02T00:03:10
341,363,777
0
0
null
2021-02-22T23:09:49
2021-02-22T23:09:48
null
UTF-8
Python
false
false
427
py
import random import binascii favorite_things = "c3ba01c3b35e2bc3b70e70c38c25307719c29427051dc38dc294c3b1c3b50918c297c2b7c2adc39e17c2b272c38e20c2b3386463c2863ac3a3c2b27450c38bc291c2a724c396c382c390c292" def printfavs(): decoded = binascii.unhexlify(favorite_things).decode() random.seed("53c437_k3y") decrypted =...
[ "kevin@drymail.com" ]
kevin@drymail.com
ca6f20af4089ca0e8e1ecd2c061a2b5fc46bdd11
a7ed2f9d4cbdadd159dab7c817d8e3955beed2b5
/home/migrations/0005_product_url.py
9fa38e0bfdc6143565ad53cb075a891f5ea4ed02
[]
no_license
m0rtez4/1
d8cd47613d666b9598fdf111a0da98b074e624b4
d291dda1f60628287fc9090256c681f758499ff0
refs/heads/master
2023-07-21T10:40:20.145749
2021-08-19T20:53:29
2021-08-19T20:53:29
396,295,471
0
2
null
null
null
null
UTF-8
Python
false
false
400
py
# Generated by Django 3.2.5 on 2021-07-13 00:24 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('home', '0004_remove_product_total_price'), ] operations = [ migrations.AddField( model_name='product', name='url', ...
[ "m.golalipour@yahoo.com" ]
m.golalipour@yahoo.com
6b1570a94afa10a3418bbfa5637e016112f5af3d
3f8cc11f2322a2939a992378e1d3e478684ce770
/6_2_3_Natürliche_Kubische_Spline_Interpolation_mit_LGS_4_Stützpunkte.py
4f5ead4b0aec03ae3e7895c8f3f46df7520f29bf
[]
no_license
Finrod-Amandil/hm-scripts
6b37f0c0df2b6b34a9edd2b8f36ad3dd3731f3d8
ddd98ba2194933dc4654030eb4fa6a72fdb3b604
refs/heads/main
2023-06-10T04:06:02.448179
2021-06-27T14:24:39
2021-06-27T14:24:39
372,249,707
2
1
null
null
null
null
UTF-8
Python
false
false
5,578
py
import numpy as np import matplotlib.pyplot as plt x = np.array([4, 6, 8, 10], dtype=np.float64) # Stützpunkte (Knoten) xi y = np.array([6, 3, 9, 0], dtype=np.float64) # Stützpunkte (Knoten) yi x_int = 9 # Zu interpolierender Wert n = x.shape[0] - 1 # Anzahl Spline-Polynome dim = 3 print('{} Spline-Polynome {}....
[ "severin.zahler@gmail.com" ]
severin.zahler@gmail.com
9b42a9e7e46436d0ff8326b0eda12b97ff858ab2
f1ff4a61c6b850734c58ec114884cb0fa8f5d82a
/Francesco Raco/src/spotifyGroupingService.py
e86efd94089cba27c8991bad03acd1ae076f7e0e
[]
no_license
Fafixxx96/BigDataAnalitycs
23227a9dab35345cfc6e81ad06c8781e71571979
8e21d3ce9c5dc1d9c4dbfc0023b90d0b5bf38994
refs/heads/main
2023-07-01T07:04:07.869518
2021-08-01T15:44:52
2021-08-01T15:44:52
323,847,283
0
0
null
2021-08-01T08:48:53
2020-12-23T08:35:17
Python
UTF-8
Python
false
false
11,961
py
import logging import matplotlib from numpy import double logging.basicConfig(level= logging.ERROR) import numpy import math import spotipy from spotipy.oauth2 import SpotifyOAuth, SpotifyClientCredentials import json from pyspark.sql.session import SparkSession from pyspark.sql.functions import Column fro...
[ "noreply@github.com" ]
noreply@github.com
2702b2b19ddfb0b10a4f4ce3f46c6c567491e9d2
dbb4d1de645b16fe900d05d93f1fc31545ba9c99
/Object_Design/5_class_and_static_decorator.py
f14252fb5c3d823baa15cf45b95dee522e1fc067
[]
no_license
0x-Robert/Algo_python_Study
731d5902aec0e9d73b60b8f96e4f931efdcb28ce
1940b46e5466e060aa69295b167173a316e3247d
refs/heads/main
2023-07-31T11:49:49.483596
2021-09-08T07:24:51
2021-09-08T07:24:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
476
py
class A(object): _hello = True def foo(self, x): print("foo{0} {1} 실행".format(self,x)) @classmethod def class_foo(cls, x): print("class_foo({0}, {1}) 실행: {2}".format(cls,x, cls._hello)) @staticmethod def static_foo(x): print("static_foo({0}) 실행".format(x)) ...
[ "smartdragon417@gmail.com" ]
smartdragon417@gmail.com
6d3d0232ab5ec62fd9963d3b5f279118a4925235
beb315cb6c2ef23652d2de7a9adee062e02c5722
/shop/auth_/views.py
4ade748693bcef96cde288bf837051476c857524
[]
no_license
Yessenaly/SoftProject
8a537038f15542dd5939187d549ee89816811ebc
4e9cfeab21d47a05bf658267a4304fe0724cc123
refs/heads/master
2020-04-23T10:18:36.927426
2019-02-21T20:15:21
2019-02-21T20:15:21
171,100,051
0
0
null
null
null
null
UTF-8
Python
false
false
1,022
py
from django.shortcuts import render , redirect from django.http import HttpResponse from django.contrib.auth.models import User from django.contrib import auth # Create your views here. def register(request): if request.method == 'GET': return render(request , 'register.html') else: username ...
[ "yessen3103@gmail.com" ]
yessen3103@gmail.com
56845e58bbe8305e5bc3d7b2e20895a2f7696084
6eb0fb83ab926be3835973ab2703fb9fb0f384c7
/traintest/binary_trainer.py
65f3055dbaf78d395029d7e151e6a818af5f0259
[]
no_license
meetsiyuan/MCTS
26a64434b512303b87787923d6047d9e20b29ed4
2d34ec72c2358a5bf4dd0b2855a7900fbb8feae7
refs/heads/master
2022-10-13T16:17:29.742075
2020-06-07T11:48:35
2020-06-07T11:48:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,798
py
import torch import numpy as np import random import time from traintest.trainer import Trainer from utils import * __all__ = ['BinaryTrainer'] class BinaryTrainer(Trainer): """ Binarynet专用 """ def __init__(self, model, dataloader, criterion, optimizer, device, vis=None, vis_interva...
[ "1934455602@qq.com" ]
1934455602@qq.com
ebe0c7c995796cf5a3412cdf516158f9b5ae94b9
8ae22e2027a87c26e18d02febb436960321f005c
/core/migrations/0021_causas_tecnico.py
45db335b9a6856aa892ab5464df19c5111b410ec
[]
no_license
Astralroth/Proyect-Lex
67b8136d7b7e0824506e76a8f0924f23a61b50e3
9ec756cf2733bd937739a9268e0ef4f566a24cfd
refs/heads/main
2023-06-11T03:45:11.608048
2021-07-01T18:10:15
2021-07-01T18:10:15
380,637,155
0
0
null
null
null
null
UTF-8
Python
false
false
586
py
# Generated by Django 3.2.4 on 2021-06-30 22:04 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('core', '0020_auto_202106...
[ "francosandoval003@gmail.com" ]
francosandoval003@gmail.com
a2236073f0785781b83840404f7b1e3f300e4246
d083fcc77d98c9724d8de534f91e6bdd403925d4
/CodingTemplate/datasets/kittidataset.py
100e0c4725f23f040fd7b5bafb717457dadb9c1c
[]
no_license
htXin/CodingTemplate
c17c0b913102f380e53bf9856001aacd14a2d237
f9232abf069c39586dbaa92f5b71c749ce831f8a
refs/heads/main
2023-04-15T11:00:22.552421
2021-04-20T08:34:18
2021-04-20T08:34:18
359,731,006
0
0
null
null
null
null
UTF-8
Python
false
false
4,587
py
import os import numpy as np from PIL import Image from torch.utils.data import Dataset import datasets.datastruct.label_object as label_object import datasets.datastruct.calib_object as calib_object import argparse class KittiDataSet(Dataset): def __init__(self, root_dir, split): IS_TRAIN = sp...
[ "noreply@github.com" ]
noreply@github.com
d27c1611bd3737bd6b4d8b6aecbf4c536cec23b3
015098bcb0e7b5595337c1b3e702942ed5b01272
/setup.py
6036b2725a5bdc962a01ccd158e2d7961c4446af
[]
no_license
ASSNAKE/assnake-core-binning
f0e0676aa6bcdc4fc60fa98fcdb49d0f5fa960a7
7b7e539722e18226b1dd9cd23231a4fda4ba78c9
refs/heads/master
2022-12-25T18:39:22.303737
2020-10-09T09:53:07
2020-10-09T09:53:07
236,690,287
0
0
null
null
null
null
UTF-8
Python
false
false
384
py
from setuptools import setup, find_packages from setuptools.command.develop import develop from setuptools.command.install import install import os, shutil setup( name='assnake-core-binning', version='0.0.1', packages=find_packages(), entry_points = { 'assnake.plugins': ['assnake-core-binning ...
[ "fedorov.de@gmail.com" ]
fedorov.de@gmail.com
7b5f8b2dd459f5a56b4dde5383683cdeec6ffa7a
e7324a597faef537e96d0c1d27b1877d229591bb
/odoo-venv/bin/pysassc
12341ce28b1a5fff3024ced4898cc0812035101b
[]
no_license
ledonhomeweb1/ming
6a95c02e456c808b061fd5e7862d51504ba0fca8
c663fbfe6c2b3d7b0b9f7e5b94dddaca9fd8b7ed
refs/heads/master
2022-12-16T10:51:23.767786
2020-09-14T08:59:02
2020-09-14T08:59:02
295,359,198
0
0
null
null
null
null
UTF-8
Python
false
false
231
#!/opt/odoo13ming/odoo-venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from pysassc import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "ledonhome.web1@gmail.com" ]
ledonhome.web1@gmail.com
a08dc9693ab281fca9297639b0196989edb536ed
64f368cdf1555260bcdbdd556cefa4aac99aea77
/armgcc/aarch64-cortexa53-linux-gnu/lib64/libstdc++.so.6.0.22-gdb.py
ca3f171e4176b78758cca5835b650befc7053c70
[ "MIT" ]
permissive
best008/BC_ARMGCC_S5P6818
a3d01e574d4118439b0c922bb25920469c44f7db
570f410a7f4a10be3416da0aac022443f3bffd24
refs/heads/master
2020-04-11T10:46:43.957194
2018-12-14T03:23:52
2018-12-14T03:23:52
161,725,902
0
1
null
null
null
null
UTF-8
Python
false
false
74
py
../../aarch64-cortexa53-linux-gnu/sysroot/lib64/libstdc++.so.6.0.22-gdb.py
[ "2362317758@qq.com" ]
2362317758@qq.com
faebc71ced6cff2f4f66945a372fd278748ac68c
52e3f68d59615dab6928befa4b31f8bcf23595fa
/algorithm/재미있는 오셀로 게임.py
9870c96a88804b09da5615cef24c5993cf78dad0
[]
no_license
talkin24/python
0b40f2ab8893b3137195987e149a9dc79493392a
b12ba8f97dbadf41fe534a57c57d1600852e00d2
refs/heads/master
2023-01-06T14:37:45.480144
2020-10-29T08:46:34
2020-10-29T08:46:34
281,813,952
0
0
null
null
null
null
UTF-8
Python
false
false
1,521
py
import sys sys.stdin = open("재미있는 오셀로 게임.txt", "r") T = int(input()) for t in range(1, T + 1): print(f"#{t}", end=" ") N, M = input().split() N, M = int(N), int(M) acts = [list(map(int, input().split())) for _ in range(M)] b, w = 0, 0 board = [[0] * (N + 2) for i in range(N + 2)] # add padding...
[ "35341110+talkin24@users.noreply.github.com" ]
35341110+talkin24@users.noreply.github.com
d69a60ce1ac5bc784e7be8caf9b4d419321c1239
c0a1c7d0df229cd0236311f8344ae85d20560868
/Numpy/August-23-2019/calculating_Volume_Weighted_Average_Price.py
090e9e9a978f33964952f4ee7cd4fbde0578c60c
[]
no_license
edaaydinea/python-libraries-study
a67cc72a954723da92e798e3cd7f10105ad30b6c
1431f778f6edab0b7209ddbbe4a4adb5805cb251
refs/heads/master
2020-07-06T02:39:20.677670
2019-09-11T19:47:15
2019-09-11T19:47:15
202,862,334
2
1
null
null
null
null
UTF-8
Python
false
false
182
py
from __future__ import print_function import numpy as np c,v = np.loadtxt("data.csv",delimiter=",",usecols=(6,7),unpack=True) vwap= np.average(c,weights=v) print("VMAP=", vwap)
[ "noreply@github.com" ]
noreply@github.com
8275b4667d792989ce88f4409448f56247504e74
74518c42d7d909f134e6958e6aea3e555307d73f
/crawler.py
1d5722874c768a550cb9ae2d50440f8dfec0d804
[]
no_license
pariweshsubedi/simple-python-crawler
bc03ae55a76a92ab68b1f4d781b273778daf63a0
d471c3c2e5d1def259a57046805117ad81eefb6a
refs/heads/master
2021-01-20T21:06:20.492448
2016-06-15T05:32:47
2016-06-15T05:39:28
61,180,500
0
0
null
null
null
null
UTF-8
Python
false
false
3,152
py
#coding:utf8 from bs4 import BeautifulSoup import requests import json import re class Crawler(): """ A crawler that fetches the latest ads from site : http://hamrobazaar.com/ with input keyword to output json in format: [{ "price" : "", "ad_url" : "", "...
[ "pariwesh123@gmail.com" ]
pariwesh123@gmail.com
4f03dcbb3a4981e832ea2ada8019b8427ffa6e1e
7173d5322427947dcf09174e61193f99901ffb40
/common/samples-generator.py
4c47a6f5b8170a21f364dd79e55b8fb6435c433d
[ "MIT" ]
permissive
mksoc/ISA-filter-design
8b917822e196ebd6496407760723b81e0c4ebfa8
bc2af7f8ca85a06ffa2e9c3a572c9093ef42cef3
refs/heads/master
2020-03-31T12:27:44.488771
2019-03-21T10:12:26
2019-03-21T10:12:26
152,216,761
1
0
MIT
2018-11-11T17:18:37
2018-10-09T08:37:41
Verilog
UTF-8
Python
false
false
1,275
py
#! /usr/bin/python3 from sys import exit import random # define possible modes modes = {1:"Random", 2:"Special (only 0 and extremes)"} for key, value in modes.items(): print("{} - {}".format(key, value)) # prompt user for mode selection try: mode = int(input("Select the generator mode: ")) except ValueError: ...
[ "27402195+mksoc@users.noreply.github.com" ]
27402195+mksoc@users.noreply.github.com
b776e05c4aebbeae77ba412fb2ebf0fec81ef261
d3aef2ce0ee88c92516e64018f6d9f880911438c
/demo/urls.py
0137d9575b7afac8bf893f382ea0ac49ae67e9f8
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
Apkawa/django-material
648451d28a21270ddff937abf92931592ab9a56e
426e845ac27db0e1351bbb7f68377949581dfbd7
refs/heads/master
2021-01-15T17:51:49.304338
2016-02-26T10:34:15
2016-02-26T10:34:15
52,146,120
0
0
null
2016-02-20T09:29:25
2016-02-20T09:29:24
null
UTF-8
Python
false
false
6,434
py
from django.conf import settings from django.conf.urls import include, url from django.contrib import admin from django.views import generic from django.shortcuts import render from formtools.wizard.views import SessionWizardView from material.frontend import urls as frontend_urls from . import forms, widget_forms d...
[ "kmmbvnr@gmail.com" ]
kmmbvnr@gmail.com
4d11d38be8a5327f5b2570194e363b7d16a02a24
05ef845deda7863134c65da01679b92196a6dab2
/configs/models/classifier-basic.py
c6cdd3eb98ef2e7375cca5517508a66cd5d40cfe
[ "MIT" ]
permissive
gleb-t/S4
6dc6dd417519a8a93b5ef9ac52f412857776eb54
e88abf5f630aae7f2a825a7f686c23db6066d6ff
refs/heads/master
2023-01-24T22:26:50.756351
2022-04-24T09:51:35
2022-04-24T09:51:35
399,844,486
2
1
null
null
null
null
UTF-8
Python
false
false
370
py
from typing import * from Siamese.config import SiameseConfig # noinspection DuplicatedCode def build_classifier(config: SiameseConfig, inputShape: Tuple[int, ...]) -> 'keras.models.Sequential': import keras classifier = keras.models.Sequential() classifier.add(keras.layers.Dense(1, activation='sigmoid'...
[ "gleb-t@users.noreply.github.com" ]
gleb-t@users.noreply.github.com
3a5a5002e2468ce50e405be4a11ab9223ceffb70
19d6b853089421142d46e2db26ff639dc4546b6f
/walkietrackie/wsgi.py
3562f32968095906c9ac6d302791103a0446afc3
[ "Unlicense" ]
permissive
polmuz/walkietrackie
478d52857c835d63f69d9c4290e669daca149076
f498c9b0b833c481292ad60432fc9bc7e15816b3
refs/heads/master
2020-04-25T23:30:39.719767
2014-12-31T19:19:41
2014-12-31T19:19:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
437
py
""" WSGI config for walkietrackie project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/ """ import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "walkietrackie.settings") from d...
[ "pablomouzo@gmail.com" ]
pablomouzo@gmail.com
06cf5691c097f29cecbf4016aadddc46e96c8ec1
6b520836bf5caedb064af02bc7b9ec9c828f0885
/03 Num Dates Times/C04binhexdecoct.py
6610c06e7b6cfbaf416801949101b4c708c49cf1
[]
no_license
tomtom0516/python-cookbook-3rd-edition
bc2c641133f96b4d5718335f8d17eee3d4426114
e72545f99622b1f46fd05ff63e3c8d3d6841ab42
refs/heads/master
2022-03-10T22:10:19.179123
2019-12-05T02:25:04
2019-12-05T02:25:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
110
py
x = 1234 bin(x) hex(x) oct(x) int(0x4d2) int(0b10011010010) int(0o2322) int('4d2', 16) int('10011010010', 2)
[ "pyptom76@163.com" ]
pyptom76@163.com
9fdf1fcd02e82e69e482cbdf80c02a24fcb02aef
01200401ef046a917df1205268fa92f23cfd28d8
/tests/test_histogram.py
f59279d6ed0771159428df32ce8d3a52d8e06d3d
[ "BSD-3-Clause" ]
permissive
murodin/pyclesperanto_prototype
5fa8922dcbbc98aa69e1aab779c62a326a6937d7
4687e3085a5f8bc12e798bf25acd295ee249fb5e
refs/heads/master
2023-01-20T14:34:47.858014
2020-11-30T11:56:47
2020-11-30T11:56:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,534
py
import pyclesperanto_prototype as cle import numpy as np def test_histogram(): test = cle.push_zyx(np.asarray([ [1, 2, 4, 4, 2, 3], [3, 3, 4, 4, 5, 5] ])) ref_histogram = [1, 2, 3, 4, 2] my_histogram = cle.histogram(test, num_bins = 5) print(my_histogram) a = cle.pull(my_his...
[ "haesleinhuepf@users.noreply.github.com" ]
haesleinhuepf@users.noreply.github.com
1adbedc4b372ae1eec8d80d473a2248610c0e861
41288c85ba5bbb644efd36310858034153893bb2
/k_medoids.py
cde790f76334ea1421fdd4ecc4f264cd2cab8554
[]
no_license
suhamida/pythonPractice
796247652069d5d73c865bbd923c101ee08f6071
6345015b66c370a26fb3918b8dd3725a0df42d11
refs/heads/main
2023-07-06T19:36:43.915297
2021-08-08T07:15:27
2021-08-08T07:15:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,879
py
import numpy as np import matplotlib.pyplot as plt from copy import deepcopy from IPython import embed import time def _get_init_centers(n_clusters, n_samples): #return random points as initial centers''' init_ids = [] while len(init_ids) < n_clusters: _ = np.random.randint(0, n_samples) ...
[ "hamida.cse@gmail.com" ]
hamida.cse@gmail.com
bca0bdb8b08da22691ffa39b5e1104087b4180c0
9b79dc0b4b2f13dea85a1d29177e5eb266b6e7f7
/var/lib/python-support/python2.6/rdflib/store/REGEXMatching.py
b7500a712c707ce0fccfdef7843481cac2b31775
[]
no_license
haniokasai/netwalker-rootfs
0bc87efc0ae478338b6326fd9118befcbcc5cd06
d08f7bf370a82b6970387bb9f165d374a9d9092b
refs/heads/master
2021-01-10T11:04:34.436513
2016-01-12T06:09:50
2016-01-12T06:09:50
36,504,146
2
1
null
null
null
null
UTF-8
Python
false
false
69
py
/usr/share/python-support/python-rdflib/rdflib/store/REGEXMatching.py
[ "htek@haniokasai.com" ]
htek@haniokasai.com
731b016384695c7fbf09a1241bfce9fa6e6acf50
2ca90c4da88dd233fd1102d75c6a023263c1d891
/netbox/netbox_inventory.py
1633f238f3270a58cfed414e4e1e9ccdcc59026f
[ "Apache-2.0" ]
permissive
mtbutler07/netcfgbu
499b93d7ee346e6a01dfc10929894d569dc68db6
d3c5945f50f49c9e646fda47954bd92014282087
refs/heads/master
2022-10-07T19:51:17.790289
2020-06-10T00:46:29
2020-06-10T00:46:29
271,167,326
0
0
Apache-2.0
2020-06-10T03:12:32
2020-06-10T03:12:31
null
UTF-8
Python
false
false
4,296
py
#!/usr/bin/env python # # This script is used to retrieve the device inventory from a Netbox system and # emil the CSV file to either stdout (default) or a filename provided # # The following Environment variables are REQUIRED: # # NETBOX_ADDR: the URL to the NetBox server # "https://my-netbox-server" # # NET...
[ "noreply@github.com" ]
noreply@github.com
443fdd4993d3dad8cc8a84552bb38aad7f19f7ec
e0a991bbc1cc6ff2c595ad4952315028dd5d83a1
/memory_ver3/finPID_by_processName.py
fca50bc27f77600c7b3d3b7307ae07ade32da906
[]
no_license
fordivil/python
1ff40e6995622e0fb3a13cc1e137fc8d528c35b1
4d2634158226c4c5ac4881d56ac1eac9253cdcd9
refs/heads/master
2021-01-21T14:01:25.461498
2016-05-26T04:53:06
2016-05-26T04:53:06
55,599,629
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
import psutil def find_Process_Name(process_name): for proc in psutil.process_iter(): process = psutil.Process(proc.pid)# Get the process info using PID pname = process.name()# Here is the process name #print pname if pname == process_name: return proc....
[ "fordivil1@gmail.com" ]
fordivil1@gmail.com
a25684a49262357be881aa5757e6209498b9ed21
51199e2c76498e67049a8e8d8308f551044c262a
/Python/GUI/PyQtLayout.py
7763f69da7b2716765f481b486f3a7c04b0e08d0
[ "MIT" ]
permissive
yishantao/DailyPractice
9ab7129b7a573a9ff5f018bc293a40a6278675b8
ee26859af3faf48e63d6c2850db1d895a8a88fb1
refs/heads/master
2020-03-18T18:59:11.153508
2018-08-02T10:58:50
2018-08-02T10:58:50
135,126,978
0
0
null
null
null
null
UTF-8
Python
false
false
1,552
py
# -*-coding:utf-8-*- """使用布局组件布置多个标签""" import sys from PyQt5 import QtWidgets, QtCore # 通过继承QtWidgets.QWidget创建类 class MyWindow(QtWidgets.QWidget): def __init__(self): QtWidgets.QWidget.__init__(self) self.setWindowTitle('PyQT') # 设置窗口标题 self.resize(300, 200) # 设置窗口大小 grid_layo...
[ "38241025+yishantao@users.noreply.github.com" ]
38241025+yishantao@users.noreply.github.com
8f6074736677b40ad3abc447c437659f71c7eb0f
fbf4f26a2b97d4fe35aa7b66e9cfed4cd0224e89
/chlamdb/eutils/sequence_exact_match.py
83e231040a3d492e29ca337400d07a339d4fe140
[]
no_license
metagenlab/chlamdb
a100ab93407e15c33684b8d7175873adc6720d0b
f1829cf19ac1ded032d65689fbbff2d37489f739
refs/heads/master
2023-03-07T05:30:02.793914
2023-03-02T10:30:57
2023-03-02T10:30:57
179,291,344
6
1
null
2022-11-01T07:01:54
2019-04-03T13:02:40
HTML
UTF-8
Python
false
false
4,816
py
#!/usr/bin/env python def process_tag(tag): return tag.split('}')[-1] def get_UPI(seq): for element in seq: if element.tag == '{http://model.picr.ebi.ac.uk}UPI': return element.text def get_hit_attributes(hit): accession = '' version = '' taxon_id = '' db_name = '' for...
[ "trestan.pillonel@gmail.com" ]
trestan.pillonel@gmail.com
1f3b8ca61fb87703a1d5b7ee53112abbc6cca035
80e3a4fd8921ea6794f31f2f3dda13d049675f7d
/utils/__init__.py
15f6d6d9659925861c4be53aa16ef68ac9c94192
[ "MIT" ]
permissive
dan-kez/lambda-ftp-to-gsheet-transform
e228ce9d6948aa9f15a547a519988c6676c8bef0
e6707542719ed133ee90addc6b73c9c057b7898a
refs/heads/master
2023-02-02T18:37:56.947431
2020-04-04T20:50:01
2020-04-04T20:50:01
237,648,380
2
0
MIT
2023-01-24T01:17:05
2020-02-01T17:09:14
Python
UTF-8
Python
false
false
37
py
from .s3 import get_matching_s3_keys
[ "daniel.kez@gmail.com" ]
daniel.kez@gmail.com
077d1f303b1d8e4453ccf710e00fdc43e75bd68c
1f38f3cd0ba6d42dd73f273e3dc9df4ebdc0dc9d
/BuzzScoreSite/manage.py
5463761455fffd46cd530a6382b889c5bc5c5ee1
[]
no_license
MenshovSergey/BuzzScore
2a5f8cfd9b46a85665455c2a5cfa298c9a3a698b
348d1b2feb76a892e489016682f16e7a70a504a9
refs/heads/master
2021-01-16T19:49:40.996213
2013-10-12T09:43:46
2013-10-12T09:43:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
256
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "BuzzScoreSite.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "snailandmail@gmail.com" ]
snailandmail@gmail.com
b81d4344b6186530702ceb706cebe876dde0b167
8259611d9ad49cca99e26ce07d1d792ab8c28b13
/geopandas/_vectorized.py
82e3d08d21a48de2dda8b0db3faed73dcbef410d
[ "BSD-3-Clause" ]
permissive
maifeeulasad/geopandas2
83218432bae245d691b592cb4f1ca8814221f23b
12038d99dade80cacc7af6a55c42bcce8d9964a9
refs/heads/master
2023-06-03T23:21:21.857793
2021-06-30T05:42:55
2021-06-30T05:42:55
381,581,507
0
0
null
null
null
null
UTF-8
Python
false
false
27,294
py
""" Compatibility shim for the vectorized geometry operations. Uses PyGEOS if available/set, otherwise loops through Shapely geometries. """ import warnings import numpy as np import shapely.geometry import shapely.geos import shapely.wkb import shapely.wkt from shapely.geometry.base import BaseGeometry import _c...
[ "maifeeulasad@gmail.com" ]
maifeeulasad@gmail.com
5feb48a56df0215523400f5f2217468fc2545777
2a610b820d7964601fcf5e3228ad7b31dd2fe98d
/Reddit_Files_Scrapper copy.py
9cb0dcc14429a0215bb700489c43fda9d7def3a2
[]
no_license
adnanhaider/RedditScrapper
f7e075d5ff0f52103a5f8f45f8140bee495f7922
334a63a09da150e039b25901824a6c1673c51784
refs/heads/master
2023-03-14T02:27:10.940190
2021-03-13T08:39:25
2021-03-13T08:39:25
338,262,033
0
0
null
null
null
null
UTF-8
Python
false
false
13,015
py
from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.chrome.options import Options from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.common.exceptions import ElementNotVisibleException from...
[ "adnanhaider530@gmail.com" ]
adnanhaider530@gmail.com
757d03bce27b39fac9e2f1c38ab480780eb5d862
9194df1ff1de9425af605b84e59334832b577de8
/litter/q2.py
16daa943a2990f67c257b6f0688299d35672ff92
[]
no_license
wuc6602fx/ws
42aa8b7fcdd460b6847694be7d3d093b5067abfd
3b2da54dc031c299e5908225464bf8d8a8b4ffc3
refs/heads/master
2021-09-14T22:26:06.081344
2018-05-21T08:48:42
2018-05-21T08:48:42
107,844,541
0
0
null
null
null
null
UTF-8
Python
false
false
785
py
#ques2 from collections import OrderedDict #tuple myTuple = list() with open('example.csv') as f: for line in f.read().splitlines(): #avoid \r\n myTuple.append(line.split(', ')) myTuple = sorted(myTuple) #by alphblet myTuple.pop(len(myTuple)-1) #remove header print 'Tuple = ', myTuple #dict scores = [x[2...
[ "cat5530xm@gmail.com" ]
cat5530xm@gmail.com
afad18cb8a7156f474cc091590422f26708cce8a
417a35ad8b20c4ef5a8f1f346163811e514b84d6
/app/main/__init__.py
8cb55b9004a6418394bef59469386a16ab5ff076
[]
no_license
Heaveniost/Flask_Web
c045fb783f8d200ddb7ef2f5c742136eed5f1e04
c14438f9743b6b60055cc7c1871156350cc61c5d
refs/heads/master
2022-12-12T21:38:52.217316
2018-06-23T03:33:58
2018-06-23T03:33:58
136,014,275
1
0
null
2022-12-08T02:17:44
2018-06-04T11:19:06
Python
UTF-8
Python
false
false
216
py
from flask import Blueprint main = Blueprint('main',__name__) from . import views,errors from ..models import Permission @main.app_context_processor def inject_permisssions(): return dict(Permission=Permission)
[ "304090717@qq.com" ]
304090717@qq.com
05646c325d4d03bded9609b2dd0420a49fcb62fa
1a806c868d43fc87999a89e892b9a446b433c58f
/assignment/material/migrations/0013_auto_20201203_1126.py
e4321548bb7f2cd1a8b8e26200eb04f917dca58a
[]
no_license
MalsawmaKhiangte/material_management
ec0281eb0da4a8067e37d4823577d8b0b273acfa
dc31a7eb53b139db533effa379b7210ab58b30ae
refs/heads/main
2023-01-25T02:23:56.912193
2020-12-06T18:18:09
2020-12-06T18:18:09
318,254,014
0
0
null
null
null
null
UTF-8
Python
false
false
400
py
# Generated by Django 3.1.3 on 2020-12-03 05:56 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('material', '0012_auto_20201203_1126'), ] operations = [ migrations.AlterField( model_name='district', name='email', ...
[ "mskhiangte00@gmail.com" ]
mskhiangte00@gmail.com
555e2b6b866cd6328a6db4f4f3185a895ce25130
9f517ba528665be4f1065b95ed13b414b19b4580
/Tutorials/MachineLearning/SirajologyMusicDemo/tf_music_generation_demo.py
c436288ce6c8053baa70f0c7919ef031c2516ab1
[]
no_license
bgenchel/practice
d6120bf2b047ac49c0741040cbe17f17e4846883
ddd10410165bf63ef9786af8421d3d39bae8d153
refs/heads/master
2020-06-18T00:53:04.717907
2016-11-28T10:29:43
2016-11-28T10:29:43
74,961,921
0
0
null
null
null
null
UTF-8
Python
false
false
4,092
py
# Generate Music in TensorFlow # https://www.youtube.com/watch?v=ZE7qWXX05T0 import numpy as np import pandas as pd import tensorflow as tf from tqdm import tqdm import midi_manipulation from rbm_chords import * ## 4 steps to generate music! (Using restricted boltzmann machine) ############################## ### Ste...
[ "benjiegenchel@gmail.com" ]
benjiegenchel@gmail.com
936a5b37ef17d1036536797c91be42c6e52793c9
58563dbe063c2ed612a59ca78a99faa3611a0144
/SteetVector.py
19144468c684db0a1d91347e644adb8443ef6333
[ "MIT" ]
permissive
DieuwerH/AE3537
13b2f087a0af6414460be3c3cbcfe1079e978acc
3957a58374b5783725565fc874ed1829c6208106
refs/heads/master
2020-04-07T14:27:43.658590
2019-02-14T19:17:29
2019-02-14T19:17:29
158,448,405
0
0
null
null
null
null
UTF-8
Python
false
false
1,392
py
import numpy as np import datetime import time_helper class StateVector: def __init__(self, pos=np.array([0, 0, 0]), vel=np.array([0,0,0]), time=datetime.datetime.now()): self.pos_eci = np.array(pos) self.vel_eci = np.array(vel) self.time = time self.pos_ecef, self.vel_ecef = self...
[ "dieuwer.hondelink@gmail.com" ]
dieuwer.hondelink@gmail.com
c03058bdab453ed37f520ba3c345fbea4559e0f9
2a2777d02a0c99206d19e637a1c13ccf0f8e8fbb
/djangoWeb/iqc/migrations/0012_iqcuploadrecord.py
0cbf6e98bbc65489a2f59073af241cdb0d7c4cf0
[]
no_license
huangle63/DjangoWeb
38360d190feb9c201cf1cfe8e820634d6e09662c
7861e012c3788fd2e88927c0897c7ac8c4082b9c
refs/heads/master
2021-01-13T11:20:20.111551
2017-03-10T03:13:09
2017-03-10T03:13:09
77,189,183
0
0
null
null
null
null
UTF-8
Python
false
false
1,001
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.4 on 2017-03-06 15:14 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_depende...
[ "huangle63@163.com" ]
huangle63@163.com
e43483e4f83e7c1f95abb3cc02b7dce519a7661a
b0f0f72f60f4d0524a696eb67818f7bdec64f8fd
/places/migrations/0004_auto_20200827_1343.py
7457b304f34cd3240427202b307ba3e875942940
[]
no_license
denisorionov/where_to_go
7fa9c15a831f32a7e8ac1e59775b58ddb44aeecd
54107ce61de9a08cf61e3768a6f6de04cb549a4b
refs/heads/master
2022-12-18T21:56:28.200461
2020-10-01T04:47:58
2020-10-01T04:47:58
290,710,605
1
1
null
null
null
null
UTF-8
Python
false
false
373
py
# Generated by Django 3.1 on 2020-08-27 10:43 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('places', '0003_image'), ] operations = [ migrations.AlterField( model_name='image', name='img', field=mode...
[ "orionovdv@gmail.com" ]
orionovdv@gmail.com
16620636c556a91a3c0e8574830ea3e9a9f2ee90
9db2c871d1715d4068cc638458e573d58567d0f2
/labs-neural-networks/hw-lab6/mnist-improved.py
5e91ede4c5f63b28357f13c39b6c2de7769a6ad3
[ "MIT" ]
permissive
xR86/ml-stuff
ec2bff6e57aaa89ca8740cece562a4e7b8cfe685
2a1b79408897171b78032ff2531ab6f8b18be6c4
refs/heads/master
2021-05-01T10:36:22.362741
2021-04-08T22:22:20
2021-04-08T22:22:20
63,726,853
3
0
null
null
null
null
UTF-8
Python
false
false
6,159
py
import cPickle, gzip, numpy as np f = gzip.open('mnist.pkl.gz', 'rb') f2 = open('matplot-text.txt', 'w+') train_set, valid_set, test_set = cPickle.load(f) f.close() print 'train_set length: ', len(train_set[0]) epochs = 1 learning_rate = 0.1 class MLP(object): def __init__(self): # Layer init => ...
[ "9412441+xR86@users.noreply.github.com" ]
9412441+xR86@users.noreply.github.com
ab074c76f1cd3c7b21498b686f78ed8ea7f39077
0fa7eaca5da443628461b429d7d1bcb4f2cbb7e2
/code_review.py
100be4af32af533c7020f3c01c313700c50a09d0
[]
no_license
Boehrer/technical-screen
f45b285c143c9fca63c17c5359787cdd748171a6
b4144b2a8041a8b9bf9d491caf900d94e3673bd3
refs/heads/main
2023-08-13T22:27:20.771354
2021-09-22T19:00:49
2021-09-22T19:00:49
356,362,445
0
0
null
null
null
null
UTF-8
Python
false
false
2,855
py
import unittest import pandas as pd ETLS = { "us_spending": { "steps": [ { "function": "download_csv", "args": { "path": "https://www.usgovernmentspending.com/rev/usgs_downchart_csv.php?year=1990_2026&state=US&units=b&view=2&fy=fy21&chart=F0...
[ "jack@kevalaanalytics.com" ]
jack@kevalaanalytics.com
fdec849742b2c5fc11f45cd91469855165bf18e9
c6b1d783937d5b77ac25de55f3e8a17b503fbada
/sheet-3/LTH/exercise-12.py
7d7ca5f814d4540b8140e30fa87d44e9d76d2ac7
[]
no_license
thierschi/python-exercise
5a136c990d1a7ec269511b997a98bd245a26aeba
975cfbc9a48eb985ffd584e30cc95273e456af6a
refs/heads/main
2023-06-26T02:18:42.348957
2021-07-20T13:47:31
2021-07-20T13:47:31
358,187,095
2
0
null
null
null
null
UTF-8
Python
false
false
1,541
py
# ------------------------------------------------------------------------------ # Sheet 3 Exercise 12 # Niklas Markert - 1611460 / bt70985 # Lukas Thiersch - 1607110 / bt708626 # ------------------------------------------------------------------------------ # a) What happens to variables in a local scope ...
[ "lukas.thiersch@lansco.de" ]
lukas.thiersch@lansco.de
e2fa124d83cd3c760b0eff2d53eef09fec49c3aa
7e266469a84e06e3551a7ba0dca25e894f2f3111
/Bloomy_Core_CreateQualityInspection_TestCase/test_createqualityinspection_testcase.py
7f7b7aeeb1520353cfd2c98e5bd56a96ac51aa33
[]
no_license
Bloomstack-Test-Automation/Bloomstack-Test-Automation
43862b6761951effee5f17d7428f5be0c34b4499
2450df2018715cf6f0ec080ca1dc0751a230d969
refs/heads/main
2023-06-06T10:52:57.695175
2021-06-30T11:33:30
2021-06-30T11:33:30
368,438,826
0
0
null
null
null
null
UTF-8
Python
false
false
6,647
py
import time from selenium.webdriver.common.by import By from selenium.webdriver.support.select import Select from src.testproject.classes import DriverStepSettings, StepSettings from src.testproject.decorator import report_assertion_errors from src.testproject.enums import SleepTimingType from src.testproject.sdk.driv...
[ "noreply@github.com" ]
noreply@github.com
825ee6d09c56019645eeafe4b5e563ef3a057a23
251c7aa5b09cd3c260acb6eb37332755358e34f8
/Python_DataAnalysis/02reading_writing.py
adf1af8a0f7f472228b4d489c2259f00b4419a9a
[]
no_license
izaromanowska/ABM_tutorials
3efc82eb2f483d761f09d3ec6d06843098ff29dd
f0d8b0425345d31fc454f953588d0e5ffca6f361
refs/heads/master
2021-01-19T00:26:18.266606
2017-10-12T10:42:31
2017-10-12T10:42:31
87,171,411
4
0
null
null
null
null
UTF-8
Python
false
false
718
py
# -*- coding: utf-8 -*- """ Created on Wed May 13 18:41:21 2015 @author: user """ # import libraries import pandas as pd import matplotlib.pyplot as plt #__________ READ A FILE __________ Acheul_Afr = pd.read_csv("Acheulean.csv", header = 0) # read in the file print Acheul_Afr.head() ...
[ "izaromanowska@gmail.com" ]
izaromanowska@gmail.com
721c16210b081c6ce406706a8bf7b814db33d02e
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/domain/AlipayDataAiserviceHellobikeSiteQueryModel.py
dc06ebbcb58713b563f9fd0994a388c9ab3da002
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
896
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class AlipayDataAiserviceHellobikeSiteQueryModel(object): def __init__(self): self._plan_id = None @property def plan_id(self): return self._plan_id @plan_id.setter de...
[ "jiandong.jd@antfin.com" ]
jiandong.jd@antfin.com
b495e97bd11ddc3e52cae162040ef09ee78e3920
cc9b87da7d710fc0c873e9a968b1b578a460c3d1
/Practical 6/prac6_bubble_sort.py
fc2094f2dcebc248a73ca0215b0ce6f83400f907
[]
no_license
nikmalviya/Python
480434edce8480ac826ca72dc03b7a3017048861
a03f1d325ebe62282de91bc3eee57f84db9965b3
refs/heads/master
2020-04-25T05:34:53.726313
2019-03-26T15:27:10
2019-03-26T15:27:10
172,548,116
0
0
null
null
null
null
UTF-8
Python
false
false
338
py
import random as r nums = [r.randint(1, 50) for x in range(10)] print('list : ', nums) def bubble_sort(nums): for i in range(len(nums)): for j in range(len(nums) - i - 1): if nums[j] > nums[j+1]: nums[j], nums[j+1] = nums[j+1], nums[j] return nums print('list sorted : ', ...
[ "nikhilmalviya1662000@gmail.com" ]
nikhilmalviya1662000@gmail.com
8e6a40aabb5d98acecdf713ba9a997923ae08b27
7bf617f77a55d8ec23fa8156c1380b563a5ac7f6
/CG/SciPy/mm_color_cluster.py
c069d4d292db408ca47cdbeff36617ac590abb43
[]
no_license
anyatran/school
c06da0e08b148e3d93aec0e76329579bddaa85d5
24bcfd75f4a6fe9595d790808f8fca4f9bf6c7ec
refs/heads/master
2021-06-17T10:45:47.648361
2017-05-26T12:57:23
2017-05-26T12:57:23
92,509,148
1
1
null
null
null
null
UTF-8
Python
false
false
2,066
py
# Auto-clustering, suggested by Matt Terry from skimage import io, color, exposure from sklearn import cluster, preprocessing import numpy as np import matplotlib.pyplot as plt url = 'http://blogs.mathworks.com/images/steve/2010/mms.jpg' import os if not os.path.exists('mm.png'): print "Downloading M&M's..." ...
[ "panhtran249@gmail.com" ]
panhtran249@gmail.com
59a80fd32689ab9609a62db3fbe8835124d957d7
b36eace4a335f2518988f5929ffdba6e48c9e97e
/mysite/settings.py
81460bc3bd4c4677073bbf0441cd2810bd8e8926
[]
no_license
berkyaglioglu/Post-Sharing-Application
d3c4187a8b05cf34c65fee5cc90ab6b85740e754
c169af6d27dd55ea711207e3e4b04cc61e678dca
refs/heads/master
2020-06-22T22:42:56.720956
2019-08-01T08:40:04
2019-08-01T08:40:04
198,419,497
0
0
null
2019-08-01T08:40:06
2019-07-23T11:46:57
Python
UTF-8
Python
false
false
3,318
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.0.6. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os # ...
[ "berkyaglioglu@sabanciuniv.edu" ]
berkyaglioglu@sabanciuniv.edu
b9ad5d3f538a6de721c9603acde868d0da3788d0
bc167f434158921bcf2c678155c5cdfec1c9b0c9
/PI_code/simulator/behaviourGeneration/firstGenScripts_preyHunter/behav388.py
2b4f02b7722c2854864b1dddca35aacd975e7d93
[]
no_license
s0217391/DifferentProjects
6450efc89c64ecd21b86c705737e89e5c69433a6
7f4da153660817b6cbf72d2e823aa29c0c2f95a9
refs/heads/master
2021-01-17T02:58:46.219240
2015-05-26T22:45:46
2015-05-26T22:45:46
34,995,164
0
0
null
null
null
null
UTF-8
Python
false
false
663
py
#!/usr/bin/python import sys def compute(prey): temp0 = prey[0] + prey[1] if temp0 > prey[0]: temp1 = min(temp0, temp0) else: if prey[1] != 0: temp1 = prey[1] % prey[1] else: temp1 = prey[1] temp0 = max(prey[0], temp0) temp0 = temp0 - temp1 if prey[1] != 0: temp2 = prey[0] / prey[1] else: temp2 ...
[ "i7674211@bournemouth.ac.uk" ]
i7674211@bournemouth.ac.uk
4b96a0e33cc538fef822e3e29414a224c8b0e26e
86048feeeb4f741061637e69ab1a6bc59fffa553
/methcomp/regression.py
2c16f0b2c6e1143bec2832bbea3589f24759185f
[ "MIT" ]
permissive
FloEll/methcomp
258f65a2d84335b16e757a43936c3f7d81b0d191
920c51b2f799cd6041c7013ad7ed6c2444cbff3f
refs/heads/master
2020-09-29T16:26:55.800583
2019-12-09T19:54:42
2019-12-09T19:54:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,820
py
import matplotlib.pyplot as plt import pandas as pd import scipy.stats as st import math import numpy as np from collections import Iterable __all__ = ["deming", "passingbablok"] class _Deming(object): """Internal class for drawing a Deming regression plot""" def __init__(self, method1, method2, ...
[ "wptmdoorn@gmail.com" ]
wptmdoorn@gmail.com
41adb72dc70a7653c92e9b5e7b57f5a021b21354
4129c8f94e113ea9bb18986a1fabefe7b08d5022
/biggerDataHeatmiser.py
911a228d97c08c59461c008fd0b4b1e4fe27b415
[]
no_license
NylaWorker/AI_assignmentOne
f225d49d18d934dbddc271899e2bd7ed32ef2690
3bbba4e500f0a54a7cc84d691d09315952ef9606
refs/heads/master
2021-05-11T08:15:42.264189
2018-01-19T05:32:35
2018-01-19T05:32:35
118,046,993
0
0
null
null
null
null
UTF-8
Python
false
false
7,728
py
import numpy as np import math import decimal import csv ''' Generating initial conditions of the 12 rooms. ''' maxTem = 75. minTem = 65. maxHum = 55. minHum = 45. temps = np.random.uniform(low=minTem, high=maxTem, size=(12,))[np.newaxis] humidity = np.random.uniform(low=minHum, high=maxHum, size=(12,))[np.newaxis] r...
[ "nyla.worker@gmail.com" ]
nyla.worker@gmail.com
b02cacc52666b9eb02ec53c25a36fbf0ce87c48c
2b86c931e2a85b285897f5ef6b120ea3dbfe79e7
/core/settings.py
fff98839188d485665ccaa568ec075a8ffe8b912
[]
no_license
mobinkazak/django-blog
bae4ed47045e3a304e4507ef9da972c562ddaf8b
bf1d15a30a51cccb03a7ff18124658306f1efff6
refs/heads/main
2023-06-22T18:30:17.018487
2021-07-25T06:10:51
2021-07-25T06:10:51
430,067,686
1
0
null
2021-11-20T10:05:51
2021-11-20T10:05:51
null
UTF-8
Python
false
false
3,505
py
""" Django settings for core project. Generated by 'django-admin startproject' using Django 3.2.5. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from pathlib im...
[ "kzmasut@gmail.com" ]
kzmasut@gmail.com
7578264ef7177ae35cfa708b9ce8fceb34121745
6065db223f746b5c65ad33945e88d2105526d30d
/Leetcode/85-Maximal-Rectangle/solution.py
0d5cf2eac4dc57a085c4ab57450d479f9d58768e
[]
no_license
chocoluffy/leetcode-cpp
ce245a18c24ec5818e0b493c0360f0f6c73f991f
7f7e8325500b335ffc35c41b3d41b01472cce7cb
refs/heads/master
2020-03-16T06:11:15.057166
2018-12-05T15:24:08
2018-12-05T15:24:08
132,548,814
2
1
null
null
null
null
UTF-8
Python
false
false
3,459
py
""" - Construct a matrix by a bottom-up fashion, each entry record (m, n), meaning the consecutive 1s in two directions as bottom and right. Such as at position (i, j), there are m consecutive 1s from current position towards the bottom, and n such consecutive 1s towards the right. - then one more pass to find ...
[ "yushunzhe951104@gmail.com" ]
yushunzhe951104@gmail.com
8679364a43e61b2d99d04acba5b49a59559584f4
60e4ce6fd4089e481dc130f0f0e7e95ae3de2e71
/知识图谱11 数据大清洗1.1.py
7c10902ddad998c6ae693eb6d3b40c615c47ae19
[]
no_license
hhxx2015/KnowledgeGraph1.1
fd6aa1c176eb827fcdfb872b4473cf2c6c6cb308
a2077762e4d12d5724600dfa8680e98f7dc560c4
refs/heads/main
2023-02-03T17:01:06.351425
2020-12-28T08:59:15
2020-12-28T08:59:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
563
py
with open('./data/zstp11_sjdqx_ALL_LABLE.csv', 'w', encoding='utf-8') as ff: ff.close() with open('./data/zstp11_sjdqx_ALL_LABLE.csv', 'a+', encoding='utf-8') as ff: with open('./data/zstp10_gxcz1d2_ALL_LABLE.csv', 'r', encoding='utf-8') as f: count=0 for line in f: count+=1 ...
[ "noreply@github.com" ]
noreply@github.com
eac4f52c73cf9c889363316c2fbb245274207d84
713711cce4d1ab1bd17439d9ab7913c0147a54f7
/pyton.py
4facf2c583a18183b4885f5e92a1d9b4c0eaf771
[]
no_license
IliaLuksha/labs
eb05a0cdb2438d56b77df4b8a02d9c7d61b5d4a4
220bc86f272d0cddf83b9888847190a4c742ddd5
refs/heads/master
2021-07-24T08:22:20.035558
2021-06-08T20:43:01
2021-06-08T20:43:01
252,173,233
0
0
null
null
null
null
UTF-8
Python
false
false
241
py
def fibonachi(n): numb = 1 if n > 2: numb = fibonachi(n - 1) + fibonachi(n - 2) return numb number = input('Enter the number: ') number = int(number) answer = fibonachi(number) print(' sequence element = ' + str(answer))
[ "ilich.02@yandex.ru" ]
ilich.02@yandex.ru
dfc012c6ff96ced457c4637729049e7122b56867
b186998016df23c04a2104537f16adad6b76bce2
/turtle dot using loop.py
19721c21c769c439c4fde7781fb67ff47ada6319
[]
no_license
SoyabulIslamLincoln/Home-Practice
13f7fbc7e2320477876f44231efd8640b7e9e031
09183ce5a5a0808c14b2eba273ccf5799c37316d
refs/heads/master
2022-12-12T09:31:24.699697
2020-09-03T15:59:18
2020-09-03T15:59:18
292,612,442
0
0
null
null
null
null
UTF-8
Python
false
false
534
py
Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32 Type "copyright", "credits" or "license()" for more information. >>> import turtle >>> turtle.shape("turtle") >>> turtle.speed(1) >>> for i in range(20): turtle.forward(10) turtle.penup() turtle.forward(2) turtle.p...
[ "noreply@github.com" ]
noreply@github.com