blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
220 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
27662a4fcf03d06563de81b5403cb694f76230a8
420aeef7c5408ceced77ad5d26d2b3ae7bcb1dcf
/Semiprime.py
9a3dc5bd6cb91bdf0481787253140cb5eefb61f3
[]
no_license
Sagarmk079/Python-programs
bb629c8ecbbd6af3220b97cd68d577fa5cc14bdf
f8c80de10d44ccf82a7c6758465b07be2d3b62fe
refs/heads/master
2021-07-22T23:11:58.614385
2021-07-22T05:20:06
2021-07-22T05:20:06
207,059,942
0
0
null
null
null
null
UTF-8
Python
false
false
805
py
import math def checkSemiprime(num): cnt = 0 for i in range(2, int(math.sqrt(num)) + 1): while num % i == 0: num /= i cnt += 1 # Increment count # of prime number # If count is greater than 2, # break loop if cnt >= 2: ...
[ "sagarmk079@gmail.com" ]
sagarmk079@gmail.com
b8430e364b3b0c9d528b71bbfe6536dd57a0cb27
d275949ee4c551b7a513e6bd0af048d8aad8b26e
/user/api/serializers.py
611d7eabe1287302056339cc18bfdf7c4648375d
[]
no_license
djwesleyborges/apiPaintBall
e6a429adbf1e5dde0e901b987751317aa2489dda
a57f7325b69d5c339f276026e30791267bd0c0b1
refs/heads/master
2022-12-12T02:03:26.879059
2019-12-05T18:13:51
2019-12-05T18:13:51
172,746,032
0
0
null
2022-04-22T22:51:41
2019-02-26T16:14:57
Python
UTF-8
Python
false
false
2,575
py
from user.models import User from perfil.models import Perfil from rest_framework import serializers from rest_framework.serializers import ModelSerializer from perfil.api.serializers import PerfilSerializer class UserListSerializer(ModelSerializer): perfil = PerfilSerializer() class Meta: model = Us...
[ "djwesleyborges@gmail.com" ]
djwesleyborges@gmail.com
087a2ceba2542308335379769432cd401ccaefea
7c3fc7c125961d931b773691890812ee2af7f4d8
/entries/request.py
d04deb926e6e0723b767b94071c9ffe5b980b369
[]
no_license
jamalbrowning/daily_journal_server
67397683184bc69daaeeb71bd2553a2a5aeba1e7
c6eb42ffebe9e7c033d13fbfa48b61568d36c940
refs/heads/main
2023-01-06T09:47:51.371369
2020-10-30T00:37:40
2020-10-30T00:37:40
303,887,764
0
0
null
2020-10-30T00:37:41
2020-10-14T03:02:29
Python
UTF-8
Python
false
false
3,762
py
import sqlite3 import json from models.entry import Entry from models.mood import Mood def get_all_entries(): with sqlite3.connect("./dailyjournal.db") as conn: conn.row_factory = sqlite3.Row db_cursor = conn.cursor() db_cursor.execute(""" SELECT a.id, a.c...
[ "jamalebrowning@gmail.com" ]
jamalebrowning@gmail.com
ded5374c01de41b2b14b1533154547bb1ed7d5d2
d5df2e08a1d4064d0c34db7e1e23823b44fa62fa
/demo/person/tests/project/infrastructure/environments/test_loader.py
3e0f1747196f2c412ae2068a729eb24865c627ee
[ "MIT" ]
permissive
sharof2000/ms-fastapi-template
42c1f68f3260e8facad6984abada9f3d56363e05
5bbd6903305db07cc18330ec86fb04ca518e9dab
refs/heads/main
2023-07-06T21:28:13.558790
2021-08-13T13:52:12
2021-08-13T13:52:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
515
py
import pytest from project.infrastructure.environments.loader import Configs def test_loader_success(): configs = Configs() assert configs.get_by_key("redis") def test_loader_error_file(): configs = Configs() assert pytest.raises(FileNotFoundError, configs.get_by_key, "security_token", "unknow_path...
[ "farlley@live.com" ]
farlley@live.com
9fbddab470ce95d6a31bb446fcd8a7ee812aa1d0
5399dd4580ea3f528753bc8b52a981743d62f8bb
/keras/keras26_LSTM_hamsu.py
10977c12c7ffbf0c14ef67ef7f6d8b6f2e3211d9
[]
no_license
iwillbeaprogramer/Study
3ac7c118ffe3981d78b4ad263cb62432eae13970
3bfe571da5bbfc545b994e5878e217f9306bde14
refs/heads/main
2023-05-07T16:31:05.564973
2021-05-27T14:50:00
2021-05-27T14:50:00
324,044,441
8
1
null
null
null
null
UTF-8
Python
false
false
1,598
py
# keras 23 _LSTM3_scale을 함수형으로 코딩 import numpy as np x = np.array([[1,2,3],[2,3,4],[3,4,5],[4,5,6],[5,6,7],[6,7,8],[7,8,9],[8,9,10],[9,10,11],[10,11,12],[20,30,40],[30,40,50],[40,50,60]]) y = np.array([4,5,6,7,8,9,10,11,12,13,50,60,70]) x_pred = np.array([50,60,70]).reshape(1,3,1) from tensorflow.keras.models import ...
[ "wisixicidi@gmail.com" ]
wisixicidi@gmail.com
ade4e9790cde04ce39668c5e9228287df47dccf4
b7ea1c6fd5e83c045f21ffb3157c782bba01f9fc
/example.py
4a81ef5ab11d1fd3243b13b18166dda8fd59ed9c
[]
no_license
aditya803/Coursera-Github-Course
fe0a94942d8137bbfbff905b028e1656c513c352
53f3926de052d77942b27cf1a75424551ea9b205
refs/heads/master
2022-11-13T02:18:16.312247
2020-07-02T18:13:21
2020-07-02T18:13:21
276,713,982
0
0
null
null
null
null
UTF-8
Python
false
false
51
py
def git_operation(): print("yeet") git_operation()
[ "adityapan25@gmail.com" ]
adityapan25@gmail.com
1e4ec69660f5980e00461dbe5783a03c23174204
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/226/users/4131/codes/1758_1580.py
c80833ecede95654db5b447bb5eb5803ca08197f
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
423
py
from numpy import* v=array(eval(input("notas:")))*1.0 n=array(eval(input("alunos:"))) i=0 faltas=0 aprovados=0 reprovados=0 soma=0 while(i<size(v)): if(v[i]==-1.0): faltas+=1 if(v[i]>=6): aprovados+=1 soma+=v[i] if(v[i]<6.0 and v[i]!=-1.0): reprovados+=1 soma+=v[i] if(v[i]==max(v)): nome = n[i] i=i+1 p...
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
3778a108dab9ee7a1c7d4da33e2ebcc070b23d85
d2384f082395812f58c1f4611db9f6032b661b6f
/word_count.py
3d7ec1e76f0b9f7ac6730af7c5648e1dfcfd2b85
[]
no_license
JudePark96/2020-datascience-kmu-wordcount
2c5208a17cc5c3f9332a46577a57aa24676c9a70
044d6a0b43469159f9c32ff5f65a8874d0d7fbc4
refs/heads/master
2022-12-17T06:54:40.287244
2020-09-20T14:49:02
2020-09-20T14:49:02
295,360,282
0
0
null
null
null
null
UTF-8
Python
false
false
1,460
py
# -*- coding: utf-8 -*- # 문제 1. 문서를 입력받아 자주 등장하는 단어 1000개를 자주 등장하는 순서대로 출력하는 python 프로그램 작성하기 __author__ = 'JudePark' __email__ = 'judepark@kookmin.ac.kr' __repository__ = 'https://github.com/JudePark96/2020-datascience-kmu-wordcount' import logging import re import sys from collections import defaultdict logging.ba...
[ "judepark@kookmin.ac.kr" ]
judepark@kookmin.ac.kr
3d3689106688934bb73954a5bffcf59896666ec8
fd63e5cfc880432d7bdb7c36481266d681539f76
/mix-list/mixlist01.py
49b73e895bda9394f7cbfd5d1b742f37891b73e4
[]
no_license
MasterOlaga/mycode
de8425e5f32affcd803ecb44cb6bdba1f327f774
69f6b8747f1dbc5ae4762a39fb5aaa0b4650ab63
refs/heads/main
2023-04-10T18:57:48.585811
2021-05-04T12:05:11
2021-05-04T12:05:11
361,783,394
0
0
null
null
null
null
UTF-8
Python
false
false
474
py
#!/usr/bin/env python3 my_list = [ "192.168.0.5", 5060, "UP" ] iplist = [ 5060, "80", 55, "10.0.0.1", "10.20.30.1", "ssh" ] print("The first item in the list (IP): " + my_list[0] ) print("The second item in the list (port): " + str(my_list[1]) ) print("The last item in the list (state): " + my_list[2] ) print("IP add...
[ "xcurl2009@hotmail.com" ]
xcurl2009@hotmail.com
f256f72a4fd3aca0163f277da7fc1482de8abfd9
a14862ce7c4b0adfffe2c136ccd93205e6b4c8a9
/getElementsByID.py
d698baa4813a92abff2b93bcb5c220ab09bd79f7
[]
no_license
Ahmadaj84/GetElementByID-
ab99accdf95fbf3cc43ef39b5319860c210f9f76
e7aa5bea19e2a231d828d70e2a74d04960dfe0aa
refs/heads/main
2023-05-07T03:22:16.798586
2021-05-31T11:13:57
2021-05-31T11:13:57
372,476,766
0
0
null
null
null
null
UTF-8
Python
false
false
614
py
import csv #open the html file as txt f = open ('html.txt', 'r') lst = [] #loop over the html text to get all the element which has and id for l in f: if "id" in l: lst.append(l) #open a new file to write in the ids of the elments with open('out.csv' , 'w', newline = '')as file: writer = csv.writer(file...
[ "noreply@github.com" ]
Ahmadaj84.noreply@github.com
c05e4d3a81d0f595ef5688ff14ccf5bbe8773e2b
816fb0dc384216f9bdfcebe59f15f175f1c70e03
/blog/migrations/0001_initial.py
f488b2d76d2ea4c455ca703834adb039ea787b94
[]
no_license
Arton-o/myfirst_project
24414ae359f2cac2a05980eeb5037be27d7c1d1b
4782eb980e1e397ff979f0c79caa0a70a5fb8d39
refs/heads/master
2020-12-13T19:22:19.425509
2020-01-17T08:27:58
2020-01-17T08:27:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
986
py
# Generated by Django 3.0.2 on 2020-01-14 02:05 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUT...
[ "atsumi.19@iamas.ac.jp" ]
atsumi.19@iamas.ac.jp
2689ebd6f20aa132cad611d4ab5f248f9fdf380d
55868885e97a08b21a98f3dc8e2f81939ec6761d
/BadgePy/subscriber.py
7f0f8b06c0b81e1b716273223f0220626eff1184
[ "MIT" ]
permissive
orrinjelo/OpenWest2018
a1c6305a429c86806a098fff1e91920db240b348
13503465c0c2cf74c3bbf77d476b2ab5e69085bf
refs/heads/master
2020-03-19T12:40:43.449446
2018-06-08T15:42:27
2018-06-08T15:42:27
136,533,151
0
0
null
null
null
null
UTF-8
Python
false
false
985
py
import paho.mqtt.client as mqtt # The callback for when the client receives a CONNACK response from the server. def on_connect(client, userdata, flags, rc): print("Connected with result code "+str(rc)) # Subscribing in on_connect() means that if we lose the connection and # reconnect then subscriptions wi...
[ "orrin.jelo@gmail.com" ]
orrin.jelo@gmail.com
573e195a6ee0cf64d44548b0b3cf38f0233749b1
7c843f80a08db6725fd8d2e85099d9e6c13f6426
/lib/yllibInterface.py
ec7a24ba3216459a602d8f2be161df434745f8a3
[]
no_license
wanfade/scaffolding_Seg
e983c1d1cdd60efcd7d381728c277993a1cf4721
12ba8892eb44d3ce47fa2609973b0510904c4753
refs/heads/master
2023-03-16T05:57:28.808341
2017-11-25T13:53:11
2017-11-25T13:53:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
# -*- coding: utf-8 -*- import sys from os.path import abspath,join,dirname yllibPath = abspath(join(dirname(abspath(__file__)),'./yl')) if yllibPath not in sys.path: sys.path = [yllibPath] + sys.path import tool import ylimg as imglib import ylml as mllib import ylnp as nplib from tool import * from ylimg i...
[ "ylxx@live.com" ]
ylxx@live.com
6c60dd674feb3ae9f0e96aa74a816af5e89af811
d66155cd936eb2cc88962756c6acb45a94ed09bc
/_bili_caicai/05特征选择02嵌入法.py
864e6f35ae4183048d4ce8b368a10225732fdd7f
[]
no_license
wangyaochong/learn-python
fdf6b163095bc9fb8701e8414f0b1c02d47aedfb
2d5ee4c01ea01244c9996c938af1e6e9ed69ea03
refs/heads/master
2022-09-09T17:26:54.040111
2020-05-29T11:04:48
2020-05-29T11:04:48
265,125,972
2
0
null
null
null
null
UTF-8
Python
false
false
1,046
py
from sklearn.feature_selection import SelectFromModel from sklearn.ensemble import RandomForestClassifier as RFC from zipfile import ZipFile import pandas as pd import matplotlib.pyplot as plt import numpy as np from sklearn.model_selection import cross_val_score # 一般优先使用过滤法,嵌入法运行速度比较慢 file = ZipFile('./digit recogn...
[ "1162025261@qq.com" ]
1162025261@qq.com
593b64e70ff28f81f0068b7138ba2e9ba482f7f3
38d48857ffadf7917465036ae56d2e48a7b709ac
/plots.py
33c64a9309dcb012c720fab6acaa26d6c6f9bfe3
[]
no_license
tlaure/PopModel2
b13ea0c52c9b26739644d9734c010ced6cafa1c5
d08ecf865d12494d900d020d04365ee7596cb7c1
refs/heads/master
2020-04-10T08:18:28.771995
2018-12-12T06:02:01
2018-12-12T06:02:01
160,902,582
0
0
null
null
null
null
UTF-8
Python
false
false
1,897
py
def plotPyramid(x1,y1) : import matplotlib.pyplot as plt import numpy as np y = np.arange(x1.size) fig, axes = plt.subplots(ncols=2, sharey=True) axes[0].barh(y, x1/1000, align='center', color='xkcd:steel blue') axes[0].set(title='Number of Male') axes[1].barh(y, y1/1000, align='center', col...
[ "thomas.laure@me.com" ]
thomas.laure@me.com
f0201724254415022c8ee3d82158e0094dabfdad
a36a3f4e41cbbe111529921c30b2d75442c7ed64
/TIPS_Data_Analysis/TIPS_Data_Analysis/Leak_Analysis.py
c2433ba0314b59d0062bbe145c5639042009a88d
[ "MIT" ]
permissive
rnsheehan/TIPS_Data_Analysis
47b5f8bf1bb8a945ed702a7ac5e52abc9b1d1862
8909fe9306a1ba57fa42cf2f41b5ed6ecbb60dda
refs/heads/master
2022-08-02T05:14:06.140928
2020-05-25T14:18:06
2020-05-25T14:18:06
266,798,110
0
0
null
null
null
null
UTF-8
Python
false
false
29,087
py
import os import glob import re import sys # access system routines import math import scipy import numpy as np import matplotlib.pyplot as plt import Common import Plotting # variables that tell you what data is in each column CURR_VAL = 0; # column containing current data DFB_VAL = 1; SOA_VAL = 3; EAM_VAL = 5; PW...
[ "robertnsheehan@gmail.com" ]
robertnsheehan@gmail.com
1ae4875a6b7dfa4a2bd80d10ab50d019aef43b4b
63eee042ccdb29c1959fa81e958efe974d14105b
/demo/app.py
cce7b5a882895551644334d3225196d4d64ab8ea
[]
no_license
pycaret/pycaret-demo-td
487a5c5c93204ba06b76a6e7039e8a0a6cbab165
da64d3f62002f702a4f7a200de3995a02e4a3023
refs/heads/master
2022-11-30T02:04:30.320190
2020-07-29T13:46:35
2020-07-29T13:46:35
283,319,671
1
1
null
null
null
null
UTF-8
Python
false
false
1,216
py
from flask import Flask,request, url_for, redirect, render_template, jsonify from pycaret.regression import * import pandas as pd import pickle import numpy as np app = Flask(__name__) model=load_model('deployment_28042020') @app.route('/') def home(): return render_template("home.html") @app.rout...
[ "noreply@github.com" ]
pycaret.noreply@github.com
a1d7168df36367a6a9de58b2eef43b6e2a6c0481
14a58f0c6d0bcfeeb308a8a8719d0e9e728ee48e
/tests/test_custom.py
13238835eb34053c78b53794b33cf1e7e3e11830
[ "MIT" ]
permissive
wesselb/lab
262da5a30c1b3a78e576014d9b752aae52959774
275d041bdd47bbbad1fce5a10bbce0d7beceefdb
refs/heads/master
2023-06-08T11:04:03.523207
2023-05-27T10:15:07
2023-05-27T10:15:07
127,299,861
62
6
MIT
2023-09-01T09:53:02
2018-03-29T14:02:14
Python
UTF-8
Python
false
false
4,677
py
import jax import jax.numpy as jnp import lab as B import numpy as np import pytest import tensorflow as tf import torch from autograd import grad from fdm import check_sensitivity, gradient from lab.custom import ( toeplitz_solve, s_toeplitz_solve, bvn_cdf, s_bvn_cdf, expm, s_expm, logm, ...
[ "wessel.p.bruinsma@gmail.com" ]
wessel.p.bruinsma@gmail.com
e0741c9d552f0336469f31757144187784c60621
16bf89ec6848c78f4aad3e87b5e386bb86f92815
/Mypython-code-master/class.py
c128c49809f24aef457bfe26cb8af46defc888df
[]
no_license
95ankitmishra/Program-data_structure
bae865e72800ade5ed99feb516015820ac876805
fc2e9a09c5e382a718b44d9e1ee03cad3442f2f7
refs/heads/master
2020-06-17T22:18:02.785493
2019-07-09T21:00:53
2019-07-09T21:00:53
196,077,979
0
0
null
null
null
null
UTF-8
Python
false
false
138
py
y=10 print("outside function",y) def f1(): global y y=5 ; print("inside function",y) f1() print("outside function",y)
[ "noreply@github.com" ]
95ankitmishra.noreply@github.com
dace69fb2b01d9af69f69069555401deba70980e
f32f5e0d4c9523febcf8fed370e583cb18a22fe1
/day_26/coding exercises/exercise 4/main.py
0cabd33a98008270e4053e10c7e0ec3433405be0
[]
no_license
guptaraghav01/100DaysOfCode
3b1cd4aa3e38a787096a705dba4bd1732184fc3b
f6b2e611c02f980116af7107070e6c88267a2ed4
refs/heads/master
2023-04-12T17:49:33.688269
2021-05-11T18:38:31
2021-05-11T18:38:31
345,348,770
1
0
null
null
null
null
UTF-8
Python
false
false
196
py
sentence = "What is the Airspeed Velocity of an Unladen Swallow?" # Don't change code above 👆 # Write your code below: result = {word: len(word) for word in sentence.split()} print(result)
[ "raghavgupta0112@gmail.com" ]
raghavgupta0112@gmail.com
dec25661ceb49ad799ce51d961b2b3a7d6f6b199
757366e7b025066d04775436c7d3115dc1d95bd2
/modeller/factors/factor_percentage_consecutive_requests.py
6322c0f2a366687b4ec347b01236ebe361d34c77
[]
no_license
ryanchin18/heimdall
1f0ae927dc3fa44074395df0c31f84c461e58f8b
053548da33cd3997101229e0c0a4cd652f60e46b
refs/heads/master
2021-01-23T12:38:00.120467
2016-09-11T04:37:24
2016-09-11T04:37:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,333
py
from modeller.factors import BaseFactor class FactorPercentageConsecutiveRequests(BaseFactor): """ To further elucidate the requester's interaction with a given site we additionally consider how many of the requests made were consecutive as another window onto frequency. """ def __init__(self,...
[ "ivone.perera@gmail.com" ]
ivone.perera@gmail.com
93bdceb56925c84adec55189bbf50fec88fccbe7
94d218e6b4cd6a4a426442fd98fc905e9acf5f6e
/myrecommendationsystem/pages/models.py
11fa98f89f6a34cee0a75c7141afd657d6c907f0
[ "MIT" ]
permissive
rukesh-shrestha/Book-Recommendation-System
777c9bf12162b105345ed065bc66fcd162f4f27d
64c9cfafcff978d54abb15ba16001ec18c75e4b8
refs/heads/master
2023-07-21T13:43:48.883356
2023-07-13T07:28:03
2023-07-13T07:28:03
375,590,438
2
0
null
null
null
null
UTF-8
Python
false
false
3,075
py
from django.db import models from django.contrib.auth.models import Permission, User from django.core.validators import MaxValueValidator, MinValueValidator from django.db import models from django.urls import reverse class Book(models.Model): name = models.CharField(blank=False,max_length=100) author = models.Ch...
[ "rukesh.shrestha11@gmail.com" ]
rukesh.shrestha11@gmail.com
e2959bbf4b73f8f6af1087ddbe37c105d3ea8bf5
9b066b7c2bc2f59fca3415e867c46a8949f42867
/cci_partner/__openerp__.py
24407d7f005eb6f0df6bfae77e93dd796d9d9948
[]
no_license
OdooPython/OpenERPOdoo
ccaa48666e0ca9690e0a07b2d05728200614136c
85c0936d17854f184b761c03f3b085e4c95566a1
refs/heads/master
2021-05-05T21:30:24.146839
2018-08-17T09:26:11
2018-08-17T09:26:11
115,533,848
0
0
null
null
null
null
UTF-8
Python
false
false
1,230
py
# -*- coding: utf-8 -*- { 'name': "CCI PARTENAIRE", 'description': """ CCI PARTENAIRE. ======================== Ce module gère les partenaires selon un workflow bien déterminé (brouillon, en attente de validation, validé, refusé). De tel sorte, que l'administrateur a le droit de valider l'ajout des partenaires....
[ "marwa.benmessaoud@iway-tn.com" ]
marwa.benmessaoud@iway-tn.com
290390532c65f675cb7a528a1cbd51f63a642701
a0c50f2da1fb49dc69337dbc059e0ed6d0a49ef7
/server/dataserver.py
ec818d7e0d72ce884959a40bab1c801583439fbf
[ "MIT" ]
permissive
adminlove520/product-recommend
4d4cf87ace9261bfec741a60f59f3c3fb61d5ad2
4ac0c855c960ce7f9b8dbc316f184a3810297a84
refs/heads/master
2022-04-08T12:41:38.852850
2020-03-13T10:49:24
2020-03-13T10:49:24
256,377,399
1
0
MIT
2020-04-17T02:08:16
2020-04-17T02:08:16
null
UTF-8
Python
false
false
1,121
py
from aliyun.log import LogClient from aliyun.log import GetLogsRequest import pymysql class ossdataserver: def __init__(self,endpoint,accessKeyId,accessKey,basename,tablename): self.endpoint = endpoint #http://oss-cn-hangzhou.aliyuncs.com # 用户访问秘钥对中的 AccessKeyId。 self.accessKeyId =...
[ "2282420654@qq.com" ]
2282420654@qq.com
3fabae89d8e5b8b4ba507cdc9d0fcfd6a3198290
a6d966f362b5add0faabc0aaab1b6b6464307338
/ResNet/resnet.py
8298b08e18b8877e6b9f027b68f4022da0dabe03
[]
no_license
jusepv/paper_implementation
772ed1d6e8353bd72c3abc3a0d13aee298dffe64
edd9b686866bde71be77786bff2f2e11f66603a2
refs/heads/main
2023-03-29T18:01:25.825261
2021-03-26T11:00:52
2021-03-26T11:00:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,495
py
import torch import torchvision import torchvision.transforms as transforms import torch.nn as nn import torch.nn.functional as F import torch.optim as optim import argparse import numpy as np from . import block class ResNet(nn.Module): def __init__(self, block, layers, num_classes=1000, zero_init_residual=False)...
[ "jinju4948@naver.com" ]
jinju4948@naver.com
b6b30a5211de514ccc29a84165549898bf818ab2
080c13cd91a073457bd9eddc2a3d13fc2e0e56ae
/GIT-USERS/TOM2/cs41long_lambda_mud_server/adv_project/settings.py
262f1bf5e8db671d85bf94889ff91cb1a1be8b13
[]
no_license
Portfolio-Projects42/UsefulResourceRepo2.0
1dccc8961a09347f124d3ed7c27c6d73b9806189
75b1e23c757845b5f1894ebe53551a1cf759c6a3
refs/heads/master
2023-08-04T12:23:48.862451
2021-09-15T12:51:35
2021-09-15T12:51:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,698
py
""" Django settings for adv_project project. Generated by 'django-admin startproject' using Django 2.1. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os ...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
e92b8e4b15c288eff358cd8ca006e1290b4b5e34
36b04c5d9ae181a780d44764dd85bcc784e72101
/cifar10_resnet/ensemble/saved_models/load_model.py
5334b291c6071e015285bbce9ab03b85e6023c65
[]
no_license
chengning-zhang/Ensemble-Method-in-Image-Classification
9783b6b30f3e174fad1504a44cca57093f8c8730
a7c4176334f8e7701fe9cae77fc31b3b6ed0704d
refs/heads/master
2022-12-30T09:07:30.546966
2020-10-21T20:03:51
2020-10-21T20:03:51
112,964,609
0
0
null
null
null
null
UTF-8
Python
false
false
588
py
from keras.models import load_model from resnet import * if __name__ == "__main__": # Training parameters batch_size = 64 epochs = 2 data_augmentation = True num_classes = 10 # Subtracting pixel mean improves accuracy n = 3 # Model version # Orig paper: version = 1 (ResNet v1), Im...
[ "zhang623@wisc.edu" ]
zhang623@wisc.edu
41af35eaeb4c92034c8a2580cbad30a47d7bb7ec
689fcced10cc920c263e4d85bed5a51f85c76abb
/aragwas_server/gwasdb/migrations/0001_initial.py
4899285d5b7e268d3c50007dfc43290786692c94
[ "MIT" ]
permissive
1001genomes/AraGWAS
ddb10ea3e476c8cee31e75f9db6dc2bd79f7f487
be02c0480bf18228b07853740e63f249fe31d7e5
refs/heads/master
2022-12-29T00:12:59.936918
2020-08-31T16:32:04
2020-08-31T16:32:04
82,693,787
13
9
MIT
2022-12-06T20:20:08
2017-02-21T15:11:31
Vue
UTF-8
Python
false
false
3,971
py
# -*- coding: utf-8 -*- # Generated by Django 1.11b1 on 2017-02-27 15:30 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.Crea...
[ "timeu@users.noreply.github.com" ]
timeu@users.noreply.github.com
ac96698f9e823501b4e9678648199c29f14f8d32
236c6d7f53d61dfbddefa3b6574f181ccef72e60
/lessons/lesson18/demo/migrations/0001_initial.py
5c3a99d8634bbc9b10b49ec5bf5f502928440c92
[]
no_license
maxchv/LearnPython
94193c9770dc7b788099076316a1dbd6a5112cf4
561f74f39644cd6694ef36869beb7ddb6ff006dc
refs/heads/master
2022-07-07T18:31:02.274159
2022-06-15T15:10:40
2022-06-15T15:10:40
65,457,162
1
7
null
2019-10-23T05:42:30
2016-08-11T09:30:53
Python
UTF-8
Python
false
false
677
py
# Generated by Django 4.0.4 on 2022-05-11 18:48 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Task', fields=[ ('id', models.BigAutoField(...
[ "maxshaptala@gmail.com" ]
maxshaptala@gmail.com
7f4727eec13919575df59195f7ce6f62cde82742
1973098bfe8f7251702ba7b9b922152ee50a3f40
/mysite/mysite/settings.py
c6e9f7c06409ba4ddc23d259c89f0429d9bc9ecf
[]
no_license
eunsong8784/my-first-blog
3e0dd043bfc58b9534b6d67f9e450ab2c821c8c1
3af4621d719d57e3ca52279efa111dbfeb348792
refs/heads/master
2023-04-08T20:32:52.516410
2021-04-22T07:20:47
2021-04-22T07:20:47
359,710,129
0
0
null
null
null
null
UTF-8
Python
false
false
3,433
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 3.2. 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...
[ "sh1997@snu.ac.kr" ]
sh1997@snu.ac.kr
c98cff74e222c45dd648fc96417716977a4dd826
24773154047043586c002d35195b2d5fb345fe02
/oktaduosync/__init__.py
173dc1db4cfd09c3496521ab045922bb4d0bb7f6
[]
no_license
sargun/oktaduosync
2494fd84f7562da1995807874e1fc6eb69c31d61
1ea2408c3a5469e46fd49c3fd9ef2e106090f3b6
refs/heads/master
2018-12-29T22:03:49.851402
2014-11-20T00:54:39
2014-11-20T00:54:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,146
py
import logging import duo, okta logger = logging.getLogger(__name__) class OktaDuoSync(object): def __init__(self, config): self.config = config self.okta = okta.Okta(self.config['okta']['token']) self.duo = duo.Duo(self.config['duo']) def sync(self): logger.info('Beginning user sync') okta_...
[ "sargun@sargun.me" ]
sargun@sargun.me
a517580985bfc806ff4b6ef05aadef44df036c49
823ee0f0a4d9902b31d9d5846f6ed0e95126708c
/models.py
d1d67db2408d03d658f95ebf3f421ba16a6aa3a5
[]
no_license
z-cabric/blogz
e10486255b273bf04eae4f280cc6fa0f02343ac4
ab3f167494aefb6a8b4a7e09c15325867a2b2643
refs/heads/master
2023-01-11T14:31:48.714831
2018-02-05T03:50:03
2018-02-05T03:50:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
670
py
from app import db class Blog(db.Model): id = db.Column(db.Integer, primary_key=True) title = db.Column(db.String(40)) body = db.Column(db.String(500)) owner_id = db.Column(db.Integer, db.ForeignKey("user.id")) def __init__(self, title, body, owner): self.title = title self.body = ...
[ "cabricz@gmail.com" ]
cabricz@gmail.com
2d73c2e24886dc741ce1d0a7e7c2efb1f6f6cda2
0e383ccac5fdf21dc5059502b9aae26412fd6a88
/shared_lib/readers.py
3ce6f7460240524ae740f15057482645e5bbafea
[ "MIT" ]
permissive
jimsrc/seatos
63c8ad99f2b5d4ae5f203cdc8f8e061948f257f4
e775dba1a2a96ff44b837cf8d85101ccfef302b1
refs/heads/master
2021-01-02T08:38:51.349670
2017-09-01T01:59:35
2017-09-01T01:59:35
99,040,968
0
1
null
2017-09-01T01:59:36
2017-08-01T20:33:55
Python
UTF-8
Python
false
false
23,271
py
#!/usr/bin/env ipython # -*- coding: utf-8 -*- from scipy.io.netcdf import netcdf_file import numpy as np from numpy.linalg import norm from datetime import datetime, timedelta from h5py import File as h5 import os, sys, h5py, argparse #--- shared libs from shared.ShiftTimes import ShiftCorrection, ShiftDts import shar...
[ "jimmy.ilws@gmail.com" ]
jimmy.ilws@gmail.com
bab3187381fd4b1c1d2fdf5633a0a4cd53bd72b3
ad2a685b28cd62b4ecb807f5eef1bd048d2c1821
/test/model/test_demo.py
5b0620da882de1a2e46bdd015438f614d732a798
[]
no_license
InternetDataMiningLaboratory/qianfu
1657e5f721d74767bbef7ac84e9f54ba3ff5d762
9b4e653cfa7b1da98e8ffb5c76a0496dc75c6ef0
refs/heads/master
2021-01-10T17:55:20.147478
2016-03-22T09:34:54
2016-03-22T09:34:54
52,708,996
0
2
null
2016-03-22T09:34:54
2016-02-28T06:54:33
Python
UTF-8
Python
false
false
651
py
# -*- coding: utf-8 -*- # # Author: jimin.huang # ''' The test of ``DemoObject`` ''' from test.test_database import TestModel from nose.tools import assert_equal class TestDemoObject(TestModel): ''' The test class of ``DemoObject`` which inherits from ``TestModel`` ''' def test_get_object_by_...
[ "windworship2@163.com" ]
windworship2@163.com
15bbb9337422a280ee086239d4255805318811aa
fc6bc070063c19298d0406d6d850345be6c373e8
/source.py
462841c4fa6cd44b1baca93dbf17408efa6be0c2
[]
no_license
malarjeyanthi/python-programming
f46808aa27f72d1cd59ee636cf5cfc0389395f8b
61c2bb227121eda9842e0c5b0320beb47c88ef1f
refs/heads/master
2020-07-12T00:27:26.162568
2019-12-09T18:27:31
2019-12-09T18:27:31
204,675,032
0
0
null
null
null
null
UTF-8
Python
false
false
641
py
print("user details") a=input("enter name:") b=int(input("enter phone:")) source=int(input("enter the source:")) destination=int(input("enter the destination")) if source<0 or destination<0: print("give valid number") exit() elif source==0 or destination==0: print("source and destination are not valid") exit(...
[ "noreply@github.com" ]
malarjeyanthi.noreply@github.com
d4cb207b0b113e1652f2c36c3180ac1111e4a42e
5fc359e00cf5e4d4f7aaf8500e3277ee761ed95b
/task1.py
18ad829254c34cba99cc004b930a7c0f465bd980
[]
no_license
sattwik21/spectrum-task-2
753c9923fe7bd2376c258f8d50c28369a3fa7895
abae659d7d6f98271b1e6ad74eed32498efee0ed
refs/heads/master
2022-12-24T04:54:18.468270
2020-10-01T05:14:09
2020-10-01T05:14:09
265,745,250
1
1
null
2020-10-01T05:14:10
2020-05-21T03:27:46
Python
UTF-8
Python
false
false
187
py
def fun1(a,b): def fun2(): s = a+b return s c = fun2() return c + 5 a = int(input("enter value of a:")) b = int(input("enter value of b:")) result = fun1(a,b) print(result)
[ "sattwikpalai21@gmail.com" ]
sattwikpalai21@gmail.com
2ee77d79324b60b7b8ff9fb60468d0490a613e67
be328c1bc9e185ef378518d3e5a72ca354761235
/rast.py
8526e15b9f5c7c47c82f62c8ad81b4917609e0ef
[]
no_license
gdmike/gdtest
9e38a6461621aa546d7d44bf324f74644b26d1da
40bff4b46092c8df5bfb1e88a1b68288232344ad
refs/heads/master
2020-04-01T12:39:02.226655
2013-08-09T18:44:57
2013-08-09T18:44:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
197
py
import sys from math import cos, pi args = sys.argv[1:20] x = [float(i) for i in args] s0 = 0.0 for i in xrange(len(x)): t = x[i] s0 += t*t - 10*cos(2.0 * pi * x[i]) print s0 + len(x)*10
[ "engineering@mikevargas.com" ]
engineering@mikevargas.com
52336540f344c0aeb41dc50f505dcc622075cca4
94ec56a9c81085e04f15382a6d3ba0e8944fe589
/chapter1/month_name.py
65bbacda11490141e8ac4a885f7a3ed5975c5b70
[]
no_license
indraputra147/pythonworkbook
39ccd4bb6b8ee24debed13938c88f119819603b0
af2ed0879234085ef3e2b6fc747f84dee703bc97
refs/heads/master
2022-08-28T18:31:46.151942
2020-05-25T12:04:06
2020-05-25T12:04:06
262,615,066
0
0
null
null
null
null
UTF-8
Python
false
false
547
py
def mn(x): if x == 1: return "January" elif x == 2: return "February" elif x == 3: return "March" elif x == 4: return "April" elif x == 5: return "May" elif x == 6: return "June" elif x == 7: return "July" elif x == 8: retur...
[ "indraputra785@gmail.com" ]
indraputra785@gmail.com
36f5343ff6a33617ffdbabae7e6f01da48966d40
a199d70c94ab465da2b4ca504f6fb6d69cf5eba0
/Python/ex9/ex9.py
4b90547461172385bff7ba86a82e48be4413cffa
[]
no_license
robgoyal/LearnCodeTheHardWay
abd4f8665a618589c6bed41eb083d65904b1a857
b67f35060d72abc1b8ca1b258c4962f6c3530d4d
refs/heads/master
2021-01-20T20:21:32.106441
2016-08-08T20:07:02
2016-08-08T20:07:02
61,711,815
0
0
null
null
null
null
UTF-8
Python
false
false
424
py
#!/bin/python2 # Printing, Printing, Printing # Here's some new strange stuff, remember type it exactly. days = "Mon Tue Wed Thu Fri Sat Sun" months = "Jan\nFeb\nMar\nApr\nMay\nJun\nJul\nAug" print "Here are the days: ", days print "Here are the months: ", months print """ There's something going on here. With the ...
[ "robin_goyal@hotmail.com" ]
robin_goyal@hotmail.com
5155217b001f024d04577a620ef84c24673c7f6a
aac55459f0aa63942c7304a5324f3b7f6fe9874e
/removefiles.py
60c26887603ea894bfbc9dac33148062e5800804
[]
no_license
RkTm100/Remove-files-project
d52b78193a95240cdf8e9a8dbcb631dd45796228
de8d23bb6f3e1a2c5e9a81b9f7f1b5793f553196
refs/heads/main
2023-06-23T02:11:27.466118
2021-07-15T01:56:09
2021-07-15T01:56:09
386,130,243
0
0
null
null
null
null
UTF-8
Python
false
false
1,315
py
import os import shutil import time def main(): deleted_files=0 deleted_folders=0 path="C:\Users\asish\OneDrive\Desktop\backup files for class\backfiles removing folder testing" days=30 seconds=time.time(-days*24*60*60) if os.path.exists(path): for root_folder, folders, files...
[ "noreply@github.com" ]
RkTm100.noreply@github.com
46465500fcd64b9c80c677b23f3c2d5ec50ef1f0
b7e0ea14903ac611413e490c741f5b7e4ffb29df
/MySQL数据库命令.py
d4c6c66dc2a7bd74f2e64fba37b1caaab13b8d63
[]
no_license
pointworld/python
c729d6fc029edf28a3b331adf7de888af0216646
06bee716f2615526757a67dcd35be59abc31ff41
refs/heads/master
2021-07-13T13:14:55.540038
2017-10-09T14:45:50
2017-10-09T14:45:50
103,842,172
0
0
null
null
null
null
UTF-8
Python
false
false
6,636
py
编程常见命令集合 MySQL数据库命令 登录到MySQL mysql -h localhost -u root -p localhost:IP地址; root:用户名; database:数据库名(可以省略,如果有,跟在-p面) 删除数据库: mysqladmin -u root -pwrf956750621 drop awesome 初始化数据库: mysql –u root –p密码 <D:\computer_learning\backup\schema.sql mysql -u root -p 2.mysql -h localhost -u root -p database...
[ "onerf@sina.com" ]
onerf@sina.com
97b5f0ef79377fda71bc581d5362b3ce878e0112
38ee3fcf01955180881c9b16f2c04bd3367a19f9
/Examples/life.py
ad6c2b7e3d43292c9336a52a03ad90fe15f69c41
[]
no_license
DriesDD/python-workshop
bb0566cb9e89d5e97c4d860e0174653c230fadef
3b62f237838c421da85923ef286fe2cf840a661b
refs/heads/main
2023-01-16T01:50:20.331434
2020-11-24T21:09:30
2020-11-24T21:09:30
315,424,182
0
0
null
null
null
null
UTF-8
Python
false
false
2,068
py
"""Game of Life simulation. Conway's game of life is a classic cellular automation created in 1970 by John Conway. https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life Exercises 1. Can you identify any Still Lifes, Oscillators, or Spaceships? 2. How can you make the simulation faster? Or bigger? 3. How would you mo...
[ "driesdedecker@gmail.com" ]
driesdedecker@gmail.com
515ba7852c21cbbd7571153357208c1a9f99f9b1
e82eeedeb4a90ab6faf368da2eb3d9d579b72e2a
/video_uploader/video/migrations/0002_remove_video_name.py
ddda84b01ea94d51244f006bafc32b7955bac575
[]
no_license
anuragregmi/video-uploader-backend
75c69202ad6c3dc4c0552d2414996e0ef1b28964
5d746837a7234c6720e04e46c3ec807fa5fe150d
refs/heads/master
2023-07-05T10:40:13.174805
2021-08-10T07:57:41
2021-08-10T07:57:41
393,454,803
0
0
null
null
null
null
UTF-8
Python
false
false
312
py
# Generated by Django 3.2.5 on 2021-08-06 16:45 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('video', '0001_initial'), ] operations = [ migrations.RemoveField( model_name='video', name='name', ), ]
[ "anuragregmi@protonmail.com" ]
anuragregmi@protonmail.com
1d75cf8dfda5387bbd92d44b25bf36a51f150889
6dd01979146e130c94cab4326baab54eeb3f3f68
/hangman.py
d65f3b0a1a733b07042e1276e78a61e6940351e7
[]
no_license
harshitanand/6.00.1x-Computer-Programming-Using-Python
0f884ac13ac9e1b1eb2fed2ff125493ad3bfba4f
792c1d4dc7703d25e760dcb47e9004857779ed96
refs/heads/master
2016-09-15T14:32:26.016967
2014-10-29T19:17:27
2014-10-29T19:17:27
25,719,583
1
0
null
null
null
null
UTF-8
Python
false
false
1,176
py
def hangman(secretWord): print 'Welcome to the game, Hangman!', '\nI am thinking of a word that is ' + str(len(secretWord)) + ' letters long.' lettersGuessed = [] win = False miss = 8 while True: print '-------------' if miss == 0: print 'Sorry, you ran out of guesses. Th...
[ "harshitanand94@gmail.com" ]
harshitanand94@gmail.com
dc417bf09f73d438048aee47429084185e48c7c6
68e05d3644962fbde0d5aac4ba0037589da4be8d
/parsr.py
d3b050d630763fa82d554dc332141a0c07318455
[]
no_license
shubhamchdhary/ExampleLanguage
89a00fded24fe01dd4409e153a3834dd5ae67ac6
6281a553ea712968cb8efce0431041588148676d
refs/heads/master
2023-02-02T08:29:43.552479
2020-12-20T07:15:48
2020-12-20T07:15:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,348
py
# This is a parser file. import lexr as lx #Function for addition. def ADD(*args): t = 0 for ii in args: t += ii return t #Function for subtraction. def SUB(*args): t = args[0] for ii in args[1:]: t -= ii return t #Function for division. def DIV(*args): t = args[0] for ii in args[1:]: t /= ii return t...
[ "shubhamchaudharybrg@gmail.com" ]
shubhamchaudharybrg@gmail.com
73e68b63e46a4312ffdc6922e6c83c88b9c0bc31
f9b9b12b8dbe853b9a201cb95cd780916c67901e
/Backend/splitpay/splitpay/asgi.py
edfdbdcbe1f908a3896c4f31208e996264286fee
[ "MIT" ]
permissive
tanmayb104/SplitPay-HCI
d83c5215ddd0e815ee0c40f7166551ac2defcc11
b7a22639670706fb7b173c25a7ebbb84e929cecb
refs/heads/main
2023-07-04T06:03:55.961814
2021-08-05T07:18:49
2021-08-05T07:18:49
373,949,358
3
0
MIT
2021-06-04T20:10:38
2021-06-04T20:10:38
null
UTF-8
Python
false
false
393
py
""" ASGI config for splitpay project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETT...
[ "tanmaybansal104@gmail.com" ]
tanmaybansal104@gmail.com
f7d6c4be894a80d920335e88119b8b8f5cb8e7ba
325bee18d3a8b5de183118d02c480e562f6acba8
/germany/germany_l/germany/ScriptDir/Move_2_Nas.py
ad52465414998306bcd3649c403736db8a51f842
[]
no_license
waynecanfly/spiderItem
fc07af6921493fcfc21437c464c6433d247abad3
1960efaad0d995e83e8cf85e58e1db029e49fa56
refs/heads/master
2022-11-14T16:35:42.855901
2019-10-25T03:43:57
2019-10-25T03:43:57
193,424,274
4
0
null
2022-11-04T19:16:15
2019-06-24T03:00:51
Python
UTF-8
Python
false
false
1,962
py
# -*- coding: utf-8 -*- import pymysql from ftplib import FTP import os class Move2Nas(object): num = 0 def __init__(self): self.conn = pymysql.connect(host="10.100.4.99", port=3306, db="opd_common", user="root", passwd="OPDATA", charset="utf8") self.cursor = self.conn.cursor() def get_f...
[ "1370153124@qq.com" ]
1370153124@qq.com
eb9c6c4846c223dc0bc16732c3ae5abb061b94d9
e84242b4e00b2afdcda6d9b68292631c3c86d9f1
/hangar_2019/vinogradov.py
bfe7181d8335edf9fb5ed44ce09f9ddd4b9a056b
[]
no_license
Gleb-bit/astrobox-project
ac12b92255febafd196cf2ba717ecd4aa3771fb5
de6a74db001a4d4e9456d8946a741164190b32ae
refs/heads/main
2023-03-18T18:19:32.730946
2021-02-27T15:49:07
2021-03-03T16:06:31
346,435,875
0
0
null
null
null
null
UTF-8
Python
false
false
2,016
py
from astrobox.core import Drone ASTEROIDS_DRONES = {} class VinogradovDrone(Drone): def on_born(self): if len(ASTEROIDS_DRONES) == 0: self._fill_holder() asteroid = self.choose_asteroid() self.move_at(asteroid) def on_stop_at_asteroid(self, asteroid): if not sel...
[ "suguby@gmail.com" ]
suguby@gmail.com
10f210817797689493a8e304960d8b07abdc6eb0
7df7952dfb484d8c629a49f89cac181da833bb76
/Ejercicios/TercTrim/Ejercicio7/Colecciones.py
d3f68aaf6d08750b6fc896bed785cd4f776cd540
[ "Apache-2.0" ]
permissive
IhToN/DAW1-PRG
491d7111943116ee5c0e8f00b4017dd28b5fe17f
0fd7943b972a4e2e6293fdd5c539b168a19c0ea5
refs/heads/master
2020-05-30T08:43:20.188261
2017-05-25T07:49:31
2017-05-25T07:49:31
68,364,100
0
1
null
null
null
null
UTF-8
Python
false
false
959
py
from Ejercicios.TercTrim.Ejercicio7 import Clases from Ejercicios.TercTrim.Ejercicio7.ControlBD import ControlBD class ColeccionClientes: def __init__(self): self.cbd = ControlBD() self.clientes = dict() self.cargar_clientes() def obtener_cliente(self, dni): return self.client...
[ "atalgaba@gmail.com" ]
atalgaba@gmail.com
0a9b94032f274d1b3137ec9c09acdaf1e39f6998
70a9233ceddcbabe7dcce5484606401e567f6ba9
/message_board/posts/forms.py
a4bc741e35d125f682f3526b1d9fe2622ce38f9f
[ "MIT" ]
permissive
robalford/message_board
e736ef6a4c2a3381ca83d712d62982b1f5a7f60e
744f1f524ee8a60c5b799fc7a9d911818a519bf1
refs/heads/master
2021-08-23T22:04:13.100410
2017-12-06T19:30:02
2017-12-06T19:30:02
111,590,468
0
0
null
null
null
null
UTF-8
Python
false
false
285
py
from django import forms from .models import Post class PostForm(forms.ModelForm): class Meta: model = Post fields = ['post', ] widgets = {'post': forms.TextInput} class LoatheForm(forms.Form): post_id = forms.CharField(widget=forms.HiddenInput)
[ "robertsalford@gmail.com" ]
robertsalford@gmail.com
72c760eb56c3884eafcc21d150e1f4c00bf88b25
285e8a59b01b1eed7f647f1c2947ab07d50f1c2e
/mpact/mpact/export_to_CSV.py
116a29ea863056b856c3dd20d8f986bfabac8bb2
[]
no_license
willchenko/mpact
2fb6586b0fefde735fdd03c5052f1027f85d032b
12ad2cc55fe72f111d36106f1f49422168cf2c29
refs/heads/main
2023-04-13T12:29:31.131556
2021-04-26T19:01:47
2021-04-26T19:01:47
360,989,332
0
0
null
null
null
null
UTF-8
Python
false
false
2,649
py
# export dict's as a csv import csv import os def create_new_problem(problem_name,mmdb_path): problem_path = os.path.join(mmdb_path,r"problems",problem_name) os.mkdir(problem_path) os.chdir(problem_path) create_pathway_csv_table() create_reaction_csv_table() create_metabolite_csv_tabl...
[ "noreply@github.com" ]
willchenko.noreply@github.com
89cf0d50fb6e2df3124bee8b77421b3fd186c0fb
3940b4a507789e1fbbaffeb200149aee215f655a
/lc/primes.py
c910b9b14a132ba9a5b1670d224af1c8c2d70824
[]
no_license
akimi-yano/algorithm-practice
15f52022ec79542d218c6f901a54396a62080445
1abc28919abb55b93d3879860ac9c1297d493d09
refs/heads/master
2023-06-11T13:17:56.971791
2023-06-10T05:17:56
2023-06-10T05:17:56
239,395,822
0
0
null
null
null
null
UTF-8
Python
false
false
645
py
def setup(): primes = [] for num in range(2,100000+1): is_prime = True for p in primes: if num%p == 0: is_prime = False break if is_prime: primes.append(num) return primes primes = setup() def prime_factors(num): ans = [] ...
[ "akimi.mimi.yano@gmail.com" ]
akimi.mimi.yano@gmail.com
0f049c3cb4578e72deb75294061f8abf410f3f3c
879f4ef926cbcc7dc8ee6625b63fd9a4635539fb
/models/helper.py
c83b717f71d6b4a7cc108e05b18bde472add5345
[]
no_license
KrakenCode/PyMarket
758138e18a65b5f043557e2cce9b28cd4f6b305f
572d4fa59e5c593eea333e9be35acd76a34dc749
refs/heads/master
2020-03-17T15:42:37.858615
2018-05-03T00:07:49
2018-05-03T00:07:49
133,721,008
1
0
null
null
null
null
UTF-8
Python
false
false
896
py
from models.user import User from models.product import Product from models.customer import Customer from models.address import Address from models.creditcard import CreditCard from models.shoppingcart import ShoppingCart from models.cartitem import CartItem from models.product import Product from models.productbatch i...
[ "daltonsumrall@gmail.com" ]
daltonsumrall@gmail.com
fc2e147737ded9347e22939f14736a0c9337dd6a
10f29942422d7f3b9899952d446a48069f70b631
/gitpull/apps.py
cb96b7c0cfa4f286774eb0f33f4fd32ef59d1b6f
[]
no_license
manish-eng/pms
dd52a92e29b94fa8044183c8efdc3d7bda4aab0e
741f813f69a2f88699b20b7ec5983accf163e42a
refs/heads/master
2020-09-03T09:45:21.281844
2019-11-15T08:55:40
2019-11-15T08:55:40
219,437,903
0
0
null
null
null
null
UTF-8
Python
false
false
89
py
from django.apps import AppConfig class GitpullConfig(AppConfig): name = 'gitpull'
[ "manish.kumar@digivalet.com" ]
manish.kumar@digivalet.com
63a59f8b9288d2e727ad38525c0981576555d3a4
0779a098cbd060a35143390afa171225f2974fef
/bin/hateno-update
1d57d71adcb3121a80df70bf6c631c6b6f4de0fa
[ "MIT" ]
permissive
JeremyHeleine/Hateno
14943d9d5017bedd05c057b1e08975e8f08ed912
0a5e4068b69b871df6069a7737fb15d670ff37de
refs/heads/master
2022-11-08T09:31:14.324035
2021-08-22T20:47:26
2021-08-22T20:47:26
249,705,288
0
1
MIT
2022-10-17T09:35:06
2020-03-24T12:42:28
Python
UTF-8
Python
false
false
977
#!/usr/bin/env python3 # -*- coding: utf-8 -*- ''' This script uses the Manager class to update a simulations folder. ''' import argparse from hateno.folder import Folder from hateno.manager import Manager from hateno.ui import UI from hateno.utils import utils def addArguments(parser): pass def main(args): fold...
[ "jeremy.heleine@gmail.com" ]
jeremy.heleine@gmail.com
300adea8e18706917d08603580493fab395ee6f5
2e29b5855d427d701ad1b613529fe613a16bbca9
/pinax/stripe/migrations/0018_subscriptionitem.py
208202628202d810d010af379faf82a99169335e
[ "MIT" ]
permissive
baseup/pinax-stripe
dacd3d62adc38ac40e9ef10769e4fb425ea9d018
6ac7053a1bb67f0c254eeb3b87441335df59a8e2
refs/heads/master
2022-05-22T06:57:10.793400
2022-03-09T07:40:53
2022-03-09T07:40:53
145,524,522
0
0
null
2018-08-21T07:30:59
2018-08-21T07:30:59
null
UTF-8
Python
false
false
1,311
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2018-10-23 06:32 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import django.utils.timezone import jsonfield.fields class Migration(migrations.Migration): dependencies = [ ('pinax_...
[ "w.jbarreraact@gmail.com" ]
w.jbarreraact@gmail.com
bb8fa43a7bfe9505237f700a8ee96895d2c4759d
fdd82539504bef18dac31be6cc5ac4c322a54e53
/Validating_Postal_Codes.py
a87c2f0b52b1cdd693769ebb3250a3d80f941b00
[]
no_license
the-preeti-singh/PythonWithHackerrank
0c8521b7a091e1aba12c33412e5ef15727209887
fb606ffd712eefde69669eec38289ab0741f1e8b
refs/heads/master
2018-10-21T04:12:52.262321
2018-08-03T17:07:10
2018-08-03T17:07:10
119,407,106
0
0
null
null
null
null
UTF-8
Python
false
false
112
py
import re P = raw_input() print len(re.findall(r'(?=(\d)\d\1)',P)) < 2 and bool(re.match(r'^[1-9][0-9]{5}$',P))
[ "noreply@github.com" ]
the-preeti-singh.noreply@github.com
2f5c2879a35b47476100a62654cda58a38c71639
fa16e1d0ed18fd6f9e25bc57f83eec3a4b559e28
/sotaai/rl/gym_wrapper.py
29d26980a2f9d529b2f34c63ab88d1bc33b4f2a2
[]
no_license
stateoftheartai/sotaai-beta
83d2d9d01b9321d20ba36f66c6160daa8883adc3
0013716ca644cc0434774f1ebc16106dfdd6d100
refs/heads/master
2023-03-31T04:51:48.009977
2021-03-30T22:08:39
2021-03-30T22:08:39
353,137,512
2
0
null
null
null
null
UTF-8
Python
false
false
191
py
# -*- coding: utf-8 -*- # Author: Tonio Teran <tonio@stateoftheart.ai> # Copyright: Stateoftheart AI PBC 2021. '''OpenAI's Gym library wrapper.''' import gym # pylint: disable=unused-import
[ "noreply@github.com" ]
stateoftheartai.noreply@github.com
a4469bce9b75969f349a26f3a6ebba64c8c31cb8
deeeeb5f90a99bd3c071b42e9b87a78e526fe837
/demo_test/demo_test/settings.py
a9eac1c3b9509a91104fb972b4009c4f1915a663
[]
no_license
Rounak21/Demo_serializer_test
c4e48adc6db602c6353fe50a735283ff0062fd38
bb389d2ec947333ba9ae0f6863d1dd9f6648f121
refs/heads/master
2022-11-10T06:41:21.892828
2020-06-21T10:39:11
2020-06-21T10:39:11
273,846,880
0
0
null
null
null
null
UTF-8
Python
false
false
3,142
py
""" Django settings for demo_test project. Generated by 'django-admin startproject' using Django 3.0.7. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os ...
[ "babisantos34@gmail.com" ]
babisantos34@gmail.com
e93607e3f8cedbe714f6544a3fc4138ec54f8498
24cbfefc98c5c34dc2d29021889c06d40734108d
/LeetCodeEasy/findUnsortedSubarray.py
02a1f546fdc37d7863df130127a14b855d934427
[]
no_license
surmayi/CodePython
6bbf5967de9b72aa6e8915725fda53d6c3d82fc5
c0dd25471e34a2c7ce2d1ce6a10dbd6e0f7042f1
refs/heads/master
2022-05-16T11:59:39.289329
2022-05-02T19:33:48
2022-05-02T19:33:48
234,530,224
0
0
null
2020-06-05T18:48:33
2020-01-17T10:55:34
Python
UTF-8
Python
false
false
975
py
class Solution(object): def findUnsortedSubarray(self, nums): if nums[0]> nums[-1]: return len(nums) if len(nums) in[0,1]: return 0 l=len(nums) frontind =0 backind =l-1 i=0 frontdone =False backdone = False while(i<l-1):...
[ "surmayi7@gmail.com" ]
surmayi7@gmail.com
5bcca5b2ff7d223ee53b29f2949498ac1dfe992c
06c2d172b28cfa3705e76ee53cb002c256b895ce
/goodBoyBigHands.py
074621c4f92bb68439089655ca0a03e983043898
[]
no_license
charss/algolympics2021
2288de652f9e4d0705d6271e6fdbf5112a2eb7ba
527557d88bbcbbb2c78989bea1b6b58861d40843
refs/heads/main
2023-03-05T21:10:04.243770
2021-02-13T13:37:36
2021-02-13T13:37:36
338,304,801
0
0
null
null
null
null
UTF-8
Python
false
false
747
py
import re fin = [] temp1 = [] l = int(input()) text = '' for i in range(l): # for i in range(32, 127): # text += chr(i) text = input().lower().split() for s in text: x = re.sub("[^a-zA-Z]","", s) if x != '': fin.append(x) print(fin) n = int(input()) for i in range(n): ...
[ "charleskylereyes16@gmail.com" ]
charleskylereyes16@gmail.com
9817974e6268ed72a04ce521f186f689f4307d49
0de3a3e453f49edadf9ecc9aebb04981394a05af
/day10-OO/exo01.py
9e3b25a8e8e71e59114a0c418e936b6b1dd56b0e
[]
no_license
LU-Jingyu/aid-month01-updated
17e0ae31d3a38944544693a2b1eb3138714337a9
8df88bbf29d4cb07c10cf5accd5172b56e96d75a
refs/heads/main
2023-07-03T04:25:12.653062
2021-08-11T08:51:13
2021-08-11T08:51:13
393,339,392
0
0
null
null
null
null
UTF-8
Python
false
false
653
py
""" """ import Student """ 用学生类来循环录入学生信息 """ # dict_prod = {} # while True: # nom = input("请输入商品信息: ") # if nom == "": # break # prix = input("请输入商品单价: ") # dict_prod[nom] = prix # for k, v in dict_prod.items(): # print("商品名:" + k, "单价:" + v) list_stud = [] while True: name = in...
[ "724027461@qq.com" ]
724027461@qq.com
d374f557f75fbfa71084b996ee9029ef19b9f982
fa7e0fd1013762eac8d878b70582544a5598600d
/django_3_2_18/users/views.py
748e20b3538248543b14b3b7547299dacb80c910
[]
no_license
gy0109/django_2.18
b8c48005027720ab46e7e050ff139b57437ff5f6
0c9971fae249a4f1932b3fc20d29fc7232b244ab
refs/heads/master
2020-04-24T01:41:05.553801
2019-02-21T12:37:36
2019-02-21T12:37:36
171,608,336
0
0
null
null
null
null
UTF-8
Python
false
false
1,666
py
import json from django.http import HttpResponse, JsonResponse from django.shortcuts import render # Create your views here. 视图 # /user/index/ def index(request): """ index视图部分 :param request: 接收到的请求对象 :return: 响应对象 """ return HttpResponse('hello world!') def weather(request, city, year):...
[ "1974326896@qq.com" ]
1974326896@qq.com
7f0bca736406ad4c6513c80772cdfc7f57e1b426
bc9f60ecf1d3faff2fb893a015eee1a002512dd3
/newLstm/lstm.py
0e16680f877218b44bba7fa100a2981ea6abbae4
[]
no_license
syahmifouzi/Lessons
933e93004e90f65ff1cecc18b1987700d21ead28
6777026d20ddbd3a583d5084aac7acb36ca7da32
refs/heads/master
2020-04-11T00:00:53.764217
2019-06-04T07:00:37
2019-06-04T07:00:37
161,372,386
0
0
null
null
null
null
UTF-8
Python
false
false
10,391
py
import random import numpy as np import math import sys import json class NumpyEncoder(json.JSONEncoder): def default(self, obj): if isinstance(obj, np.ndarray): return obj.tolist() return json.JSONEncoder.default(self, obj) def sigmoid(x): return 1. / (1 + np.exp(-x)) def sigmo...
[ "syahmi.fouzi@gmail.com" ]
syahmi.fouzi@gmail.com
9d0d06450dae426bb8132ab21d7681e52090a89b
dc59a18b105dc12a951416b9f72c92b8960e612b
/tSimMicrometer.py
9027788df0b883f31fed15a938e119e48a525460
[]
no_license
DanMailman/SCADAVIS
539b122890720fc0d998511e53956e54ac01d589
59c9b1da396131fca9f05fc6879f99ab5f52f419
refs/heads/main
2023-06-15T12:56:35.310516
2021-07-02T00:58:34
2021-07-02T00:58:34
377,230,138
0
0
null
null
null
null
UTF-8
Python
false
false
1,070
py
from sys import dont_write_bytecode from Utilities import LimitVal class tSimMicrometer: dictDefaultConfig = { 'Min': 0, 'Max': 100, 'Units': 'mm'} def __init__(self, oDevToMeasure, dictConfig = dictDefaultConfig): # TODO: What if Min != 0 print(f'tSimMicrometer(): INIT!') self.oDev = oDevToMeasure self.dict...
[ "dmailman@gmail.com" ]
dmailman@gmail.com
dcfba9a7338513aac165adb376398954d32bedf7
6cd0e360aef530b47dacbf2468f3dab44cd5ed0d
/atlatlTest/settings.py
42c2c29f08f08b0fd473135348ce7de465ff14d7
[]
no_license
hughybarra/atlatlTest
16e0f943d8692f4d0c8642a8aad963148b9e02d2
42a2ffff6534e464e3685bfa4458bfd208d163a2
refs/heads/master
2021-01-22T09:16:40.145504
2014-07-06T01:43:30
2014-07-06T01:43:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,996
py
""" Django settings for atlatlTest project. For more information on this file, see https://docs.djangoproject.com/en/1.6/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.6/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE_DIR, ...)...
[ "hugh.ybarra@gmaillcom" ]
hugh.ybarra@gmaillcom
2a79ebc762ce1b21a171102de8c4921db995312e
afc8d5a9b1c2dd476ea59a7211b455732806fdfd
/Configurations/ggH_SF/Full2018/DNN/configuration_2018.py
b9aa3c9058017e04aa91fb0713b0804969ea1ced
[]
no_license
latinos/PlotsConfigurations
6d88a5ad828dde4a7f45c68765081ed182fcda21
02417839021e2112e740607b0fb78e09b58c930f
refs/heads/master
2023-08-18T20:39:31.954943
2023-08-18T09:23:34
2023-08-18T09:23:34
39,819,875
10
63
null
2023-08-10T14:08:04
2015-07-28T07:36:50
Python
UTF-8
Python
false
false
917
py
# example of configuration file treeName= 'Events' tag = 'ggH_SF_split2' # used by mkShape to define output directory for root files outputDir = 'rootFile' # file with TTree aliases aliasesFile = 'aliases.py' # file with list of variables variablesFile = 'variables.py' # file with list of cuts cutsFile = 'cuts_al...
[ "davide.di.croce@cern.ch" ]
davide.di.croce@cern.ch
ee8c553e504a4d6bea4de956dab956ce19d12a5f
7f77a1e5b005bb57a43276ce65e18743776aa4e6
/user/wechat.py
1ae74343f0dab9dc0251118b62bb94624b1907bd
[]
no_license
lihuigang/python
aba3944e5f9ea4bae5a98a4fff1e87a0ed8723b1
e71c80782b1398ce0dcdaf8c572ac33811d843bd
refs/heads/master
2021-04-27T13:40:37.740391
2018-03-23T08:25:04
2018-03-23T08:25:04
116,439,425
0
0
null
null
null
null
UTF-8
Python
false
false
42
py
#微信登录 import itchat itchat.login()
[ "lihuigang0104@lihuigang.com" ]
lihuigang0104@lihuigang.com
609a202b9806a22d3f07180acfcc1ea99da4b3d4
ab8714c73f34a21ae3756e3e8f90a673e6ffd4d5
/env/src/orders/admin.py
f53b75532f73ae8fcdf31503dc9375668f96bac3
[]
no_license
ambaresthete/AnybodyCook
f89b858f9a2a02d68c6c8ddf0dfa9fb92c1f1451
94af7320e3a6ed32822c5f288d8ba18e12cf6fa7
refs/heads/master
2020-03-20T21:53:22.014763
2018-11-19T17:24:29
2018-11-19T17:24:29
137,766,205
1
1
null
null
null
null
UTF-8
Python
false
false
117
py
from django.contrib import admin from .models import Order # Register your models here. admin.site.register(Order)
[ "t.ambareesh@github.com" ]
t.ambareesh@github.com
b2155da0b6053ea84fa3ba2291e9437337804439
17a2201de4ea55752b3707ec416278934eb1785f
/src/authentication/admin.py
859cf6016e8e17a1829a9492a0bfe87dd3e8062f
[]
no_license
thepsalmist/role_based_access_control
134eb4022c8e6ebefe209e09e14978925de6cc49
8b0f28fe555ee2f8e4a43c0c14735e43082da495
refs/heads/master
2023-03-05T00:49:45.210097
2021-02-14T19:15:53
2021-02-14T19:15:53
338,590,802
0
0
null
null
null
null
UTF-8
Python
false
false
809
py
from django.contrib import admin from django.contrib.auth.admin import UserAdmin from .models import CustomUser class CustomUserAdmin(UserAdmin): model = CustomUser list_display = ( "email", "is_staff", "is_active", ) list_filter = ( "email", "is_staff", ...
[ "76.thealchemist@gmail.com" ]
76.thealchemist@gmail.com
ae8959b431a7168d2ad9a743c5bb013247a0bc6a
96956ec099a1213047e067b70773ca9f642ef7b7
/item/migrations/0003_item_owner.py
3a7007c5df8fefb59f6e803044fa0c3e52c9eeb8
[]
no_license
svyatoslavgalas/mp_vision
107701e3c703b733d8d8768115f07cce9837ea66
3db17fb28cb4630c72e8db40f4fe64bb68e36b6a
refs/heads/main
2023-08-17T04:09:25.884660
2021-09-27T09:09:33
2021-09-27T09:09:33
410,812,906
0
0
null
null
null
null
UTF-8
Python
false
false
650
py
# Generated by Django 3.2.7 on 2021-09-26 19:55 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), ('item', '0002_alter_item_...
[ "v*?%4=463pyU[d*" ]
v*?%4=463pyU[d*
57b410d649fbf712a2dc614d4c684ae1b830064c
46900ffadf08b92f656ff5d0a0b71a7717e4415c
/old_trash/renthop_src/stacking/stacking_no_mngr_medians.py
0813eec07659754692009389b16c91cbee03e00e
[]
no_license
ubbikk/kaggle
9765ca9530d139525752b4286c20e971b0a97be7
cc7ea173ad8215a42108a973abe2cf0095517588
refs/heads/master
2021-01-19T10:32:44.615755
2017-11-11T19:28:42
2017-11-11T19:28:42
82,200,964
0
0
null
null
null
null
UTF-8
Python
false
false
36,496
py
import json import os import traceback from time import time, sleep import seaborn as sns import pandas as pd from collections import OrderedDict import sys from matplotlib import pyplot from scipy.sparse import coo_matrix from sklearn.linear_model import LogisticRegression from sklearn.ensemble import GradientBoosti...
[ "dd.petrovskiy@gmail.com" ]
dd.petrovskiy@gmail.com
d8d8b3a049def033de5d8a9e4ba1045238c02c95
2c649895227ac385897c6103df57d65f5381cea1
/Faq/views.py
367c773395a3052279f742d3779815598d31f9cc
[]
no_license
ifekeyz/KendraGroup
59b71773da37287fec16d1da513d834df6572f3d
885e54af6aeb6a576368b3bd745ce0a791f4ee2b
refs/heads/master
2023-07-16T13:56:12.447060
2021-09-06T02:16:39
2021-09-06T02:16:39
403,452,560
0
0
null
null
null
null
UTF-8
Python
false
false
744
py
from django.shortcuts import render, redirect from .models import FAQs, Message from django.contrib import messages # Create your views here. def index(request): faqs = FAQs.objects.all() context = { 'faqs':faqs } return render(request, 'faq/faq.html',context) def message(request): if r...
[ "feranmi.micheal@gmail.com" ]
feranmi.micheal@gmail.com
9f7d68ae346094a658eaf03f008763831f5e1c0d
230a41bc0f05a4e2a02a4d671f0d48e517833b1f
/youtube_api.py
d2891f5c18d5f7150f8cfcc21e3dc053507288f2
[]
no_license
FuckBrains/autoTube
7c9288d6ba09799b91592e2950aa96ff75c0526c
4bbd6e319f7b6143f64f43e13c8ef66d04b03781
refs/heads/master
2023-04-18T05:48:31.653287
2021-04-30T07:56:09
2021-04-30T07:56:09
363,264,201
1
0
null
null
null
null
UTF-8
Python
false
false
7,887
py
import httplib2 import http.client as httplib import os import sys import time import logging import settings import game_config from googleapiclient.discovery import build from googleapiclient.errors import HttpError from googleapiclient.http import MediaFileUpload from google_auth_oauthlib.flow import InstalledAppFl...
[ "chuski1212@gmail.com" ]
chuski1212@gmail.com
9d5a6ba6446140a91ac8195ae11cdf52026435c4
ec0b8bfe19b03e9c3bb13d9cfa9bd328fb9ca3f1
/res/packages/scripts/scripts/client/tutorial/control/quests/__init__.py
e0557fa51737e0fce1a443bfd0b2043093d7aa71
[]
no_license
webiumsk/WOT-0.9.20.0
de3d7441c5d442f085c47a89fa58a83f1cd783f2
811cb4e1bca271372a1d837a268b6e0e915368bc
refs/heads/master
2021-01-20T22:11:45.505844
2017-08-29T20:11:38
2017-08-29T20:11:38
101,803,045
0
1
null
null
null
null
WINDOWS-1250
Python
false
false
3,036
py
# 2017.08.29 21:51:51 Střední Evropa (letní čas) # Embedded file name: scripts/client/tutorial/control/quests/__init__.py from tutorial.control.lobby.context import LobbyBonusesRequester from tutorial.control.quests import queries from tutorial.data.effects import EFFECT_TYPE from tutorial.control import ControlsFactor...
[ "info@webium.sk" ]
info@webium.sk
89fd42deb21f848164c189a464567bc999be8cb9
b37b4d39a205ef8229742c4c5c6a96a227557b32
/cycleGAN/generator.py
182c6ccafb4ff2f9307a213ac9a91d3d456be59c
[]
no_license
aedismorah/cycleGAN
89c03767ed5f4c0873ef5e5a8904b72b335b5d2d
b77d32815123b6535bf26748ff18fd8d4678a99a
refs/heads/main
2023-03-02T12:20:03.883130
2021-02-14T11:35:54
2021-02-14T11:35:54
336,785,952
0
0
null
null
null
null
UTF-8
Python
false
false
2,368
py
import torch.nn as nn def c7s1(in_channels, out_channels): return nn.Sequential( nn.ReflectionPad2d(2), nn.Conv2d(in_channels, out_channels, kernel_size=7, stride=1), nn.InstanceNorm2d(out_channels), nn.ReLU(True) ) def dk(in_channels, out_channels): return nn.Se...
[ "noreply@github.com" ]
aedismorah.noreply@github.com
35bf39dd863f6c5d6245f5da78ea0fdf09490e02
161a765674b837cf4a2f48879a987dce3f40d15f
/api_dev/conftest.py
b2d36162d3cf30037f9f43e1065cff26c17a45e0
[ "MIT" ]
permissive
ManhTai01/api
19662cae94f9182dabb183a37bf7715be04254d9
09d7a8dd0a11c1552c34cd9006c5afae94897afc
refs/heads/master
2023-05-23T17:09:36.339576
2021-06-14T12:19:13
2021-06-14T12:19:13
376,811,903
0
0
null
null
null
null
UTF-8
Python
false
false
280
py
import pytest from api_dev.users.models import User from api_dev.users.tests.factories import UserFactory @pytest.fixture(autouse=True) def media_storage(settings, tmpdir): settings.MEDIA_ROOT = tmpdir.strpath @pytest.fixture def user() -> User: return UserFactory()
[ "lemanhtaictbp@gmail.com" ]
lemanhtaictbp@gmail.com
3115dba334b96fae367bec65fe0d65a2afd69de0
c9fbb498e0077d69069a8ca122ef30f76b7576f8
/pyesm/components/pism/time_bounds.py
c145901cc5c5e10e68432e9f88ed71e2122730ae
[]
no_license
pgierz/pyesm
f465e526b5ccb46248a02d80a94283dc9f644d20
de479a5337dae1e377807318792db559ef7e542a
refs/heads/master
2021-06-06T06:16:34.316245
2019-11-11T07:52:33
2019-11-11T07:52:33
164,526,660
0
0
null
2021-06-01T23:18:06
2019-01-08T01:18:47
Python
UTF-8
Python
false
false
759
py
import numpy as np from pyesm.core.time_control.esm_calendar import Date time_array = np.empty((24, 1)) time_bounds_array = np.empty((24, 2)) date1 = Date("1850-01-01") date2 = Date("1851-01-01") end_day = 0 for year_number, date in enumerate([date1, date2]): for index, month in enumerate(date._calendar.monthna...
[ "pgierz@awi.de" ]
pgierz@awi.de
0a5ffbe378c430de0e47891dad38a24150a9bbf2
67c6db3455463a00b30fafc83240de3fbe1fb7d6
/Topik10_HIMPUNAN (DATA SET)/Tugas1.py
a8adc0cbb31570d7c05951d2e640e9a11c5eb259
[]
no_license
rbnset/Teknik_Pemrogaman
fe5e2439b9af27696154af9b2c108f7b7e29edb0
36ecfd494804363d3a6d61011480be508e378325
refs/heads/main
2023-08-19T01:04:10.327289
2021-07-19T03:14:31
2021-07-19T03:14:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,214
py
# Program himpunan makanan favorit Nasgor = {'Robin', 'Taufiq', 'Iqbal', 'Bayu', 'Dwi'} Bakso = {'Galih', 'Taufiq', 'Niken', 'Anggie', 'Dwi'} Mie = {'Robin', 'Dwi', 'Bayu', 'Nimas'} Nasgor.add('Argo') Bakso.remove('Taufiq') print('Daftar yang menyukai Nasgor : ', Nasgor) print('Daftar yang menyukai Bakso : ', Bakso...
[ "rbn.setiyawan@gmail.com" ]
rbn.setiyawan@gmail.com
37d97636dfa963b89a41c572f266ecd760ddab16
f6670ecfba1471f4ebb12f3bf63a4d5c7fcfda83
/Search.py
50a1b42aec225d9298364f9fc48c66885012b368
[]
no_license
wfyhz/alfred-pkmanager
b4d3eebd1ce5412b06c1829f14670a27f14e2454
c0e08f49855c75ede1f4439598d2c455424071a5
refs/heads/master
2022-12-30T06:53:27.260156
2020-10-25T16:31:57
2020-10-25T16:31:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,771
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # -------------------------------------- # Created by Konfido on 2020-07-16 # -------------------------------------- import re import Config from Items import Items, Display from Utils import Utils as U C = Config.Config().configs class File(): def __init__(self)...
[ "konfido.du@outlook.com" ]
konfido.du@outlook.com
0af08865ace2e4eed3d32921381267d797d9d853
411b56e76febcf809e85505bb38387a8e5518ab3
/django_date_picker/wsgi.py
61b1acc38e71532d4a9b693c29586a71e9e445dd
[]
no_license
Ngahu/Django-Date-picker-
865835ee674c0f65d4deab2ca21f48d2b88d2254
ec32ce697bb4778eb563741ac3a7f4de26edf825
refs/heads/master
2020-05-23T23:24:38.445389
2019-05-16T10:15:05
2019-05-16T10:15:05
186,993,806
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
""" WSGI config for django_date_picker 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.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("...
[ "ngahu@joels-MacBook-Pro.local" ]
ngahu@joels-MacBook-Pro.local
f65d7f4ed9bbaf5c442a94a94788f83ebbb04726
8e0cf61eb6d7b68077be2d6676bed8444e105a07
/P3/multiagent/multiAgentsNoSabe.py
3c2b786dc1d0446fa67b8bb5b19eaf891c21b564
[]
no_license
marcrabat/AI
487e623c1d3919c2defe7b3daf98fb434d5203a8
8e4254342107835e9d4133ee7f32f5e1aac4215e
refs/heads/master
2021-09-10T11:17:50.642321
2018-03-25T12:36:19
2018-03-25T12:36:19
118,330,539
0
0
null
null
null
null
UTF-8
Python
false
false
7,975
py
# multiAgents.py # -------------- # Licensing Information: You are free to use or extend these projects for # educational purposes provided that (1) you do not distribute or publish # solutions, (2) you retain this notice, and (3) you provide clear # attribution to UC Berkeley, including a link to http://ai.berkeley.e...
[ "marc.rabat01@estudiant.upf.edu" ]
marc.rabat01@estudiant.upf.edu
b24be479fbc1e14fe1264446b6a3b99c4514a9f2
2dd30033a83d8684b304eda9b2d535bdffea2cc6
/src/motor.py
012e9b29003a03ad679c543c6647b5d8c8bd9e71
[ "MIT" ]
permissive
dmaicher/rpi-quadcopter
e83ff8610a3c99244706a9f7f660727a3d1d196e
096572ba27bc1dd5ca5db17ddefae35ce859eba9
refs/heads/master
2020-04-18T22:12:11.205896
2014-05-03T12:31:42
2014-05-03T12:31:42
19,201,046
1
1
null
null
null
null
UTF-8
Python
false
false
668
py
class Motor: MIN_TICK = 150 MAX_TICK = 600 DIFF_TICK = MAX_TICK - MIN_TICK def __init__(self, id, pwm, channel): self.id = id self.power = 0 #percent 0-100 self.pwm = pwm self.channel = channel self.pwm_set_power() def change_power(self, diff): self....
[ "mail@dmaicher.de" ]
mail@dmaicher.de
5ba7f81e1658fabbaf3412669f7616ed03993089
0d4885832213478e621d6b58a894d1d3fbf10e89
/catkin_ws/src/testing/src/test_import.py
3a90e40fc7eec7c31e5895366519fea9fdc44a6c
[]
no_license
dtbinh/ros_basic
38be51e0cc157a2a7a69065f771a3cb5dea6cd31
5c9b2de1d01b84924a75f5e7f725f43d09033e33
refs/heads/master
2022-07-28T13:35:37.192202
2020-05-27T15:45:41
2020-05-27T15:45:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
821
py
#! /usr/bin/env python import rospy import time from common_dir.common_things import cool, CmdVelPub if __name__ == '__main__': cool('TheConstruct') stop_time = 1 move_time = 3 rospy.init_node('test_import', log_level=rospy.INFO) move_object = CmdVelPub() rospy.loginfo("Startin...
[ "osong@ucsd.edu" ]
osong@ucsd.edu
400bd9c3f0c6ff4b9ec361588aa8bc0ee3f82070
31c738876a8037d106a767f0761505282de842c1
/django_ical/feedgenerator.py
232fb705e415df63b05957ca3d7b9f253bb587ab
[]
no_license
mick88/django-ical
e8ddc84e2ac5b3922915393f0fefc638c6371559
94558a542ce2baa687cf50ab2f989537caa4b0ed
refs/heads/master
2021-01-10T06:37:34.786239
2015-02-15T17:41:45
2015-02-15T17:41:45
43,001,011
0
0
null
null
null
null
UTF-8
Python
false
false
2,939
py
#:coding=utf-8: """ iCalendar feed generation library -- used for generating iCalendar feeds. Sample usage: >>> from django_ical import feedgenerator >>> from datetime import datetime >>> feed = feedgenerator.ICal20Feed( ... title=u"My Events", ... link=u"http://www.example.com/events.ical", ... descript...
[ "Michal@Michal-pc" ]
Michal@Michal-pc
a6413ee47a04dd4a4c2b9d22eed87295184b3f8e
919156799a5dd4b8bfed059b30af5e98fa2686ed
/Clustering/hierarchical_clustering.py
b6902c0b8aafc203b622ee52fbdc2d1f7a192afc
[]
no_license
SoniaCheung/Machine-Learning-Samples
6060d59ca287e3e91ca0aea9a2307e5f0dac5fad
a0cf9b15f3202bf9ed6cef73f8e09d2f33ad9e34
refs/heads/master
2020-03-29T22:55:31.035544
2018-10-04T14:21:28
2018-10-04T14:21:28
150,447,888
0
0
null
null
null
null
UTF-8
Python
false
false
1,451
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Sep 18 19:08:27 2018 @author: sonia Hierarchial Clustering """ #Hierarchial Clustering #import libraries import numpy as np import matplotlib.pyplot as plt import pandas as pd #import the mall dataset with pandas dataset = pd.read_csv('Mall_Customers...
[ "soniacym@gmail.com" ]
soniacym@gmail.com
cd009ea532016e6d794b44635f9cf787d176f987
d374478ba42d027e730e2b9d378b0a08de9c23b5
/4. Building your Deep Neural Network/linear_backward.py
a7d5789fc96744d2b4c971623e11c58a98dfa9a2
[]
no_license
kuangzijian/Neural-Networks-and-Deep-Learning
8ffe46e7b99611c033f54d553a897313b36ea22b
781d62679497e9dfa6e6556d2b49a6366c6f945f
refs/heads/master
2023-08-08T07:32:13.280785
2021-05-05T16:44:49
2021-05-05T16:44:49
217,354,065
0
0
null
2023-07-22T19:42:15
2019-10-24T17:20:55
Python
UTF-8
Python
false
false
990
py
# GRADED FUNCTION: linear_backward import numpy as np def linear_backward(dZ, cache): """ Implement the linear portion of backward propagation for a single layer (layer l) Arguments: dZ -- Gradient of the cost with respect to the linear output (of current layer l) cache -- tuple of values (A_prev, ...
[ "kuangzijian1@hotmail.com" ]
kuangzijian1@hotmail.com
8aba2942340cc5f1e675229a80ce52ff0a0f4244
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/M/martharotter/wikipediavisualiser.py
8077e845b760b04b80b2c4f75a79ad8f643a9261
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
998
py
import scraperwiki scraperwiki.sqlite.attach("wikipedia_paper_scraper_until_jan_20") data = scraperwiki.sqlite.select( '''* from wikipedia_paper_scraper_until_jan_20.swdata order by id desc limit 10''' ) print "<table>" print "<tr><th>ID</th><th>Tweet</th><th>User</th>" for...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
ebb70ae6174007de438a9ebda6abaf0d24309a98
76d4de4ec3ae352bdeb55bf216afab7984c6fd63
/server/main/api/security.py
5054ca6f0fd8ff14ef71b938dfc4511fd68a0bc6
[]
no_license
krystofwoldrich/via-project
41e041df8b5120b9c99b30b6b52864752e88c785
d332710914c4d25c06caf4ecd9f041ddf5dcb119
refs/heads/main
2023-02-11T08:36:46.187582
2021-01-07T12:26:29
2021-01-07T12:28:35
303,415,346
0
0
null
null
null
null
UTF-8
Python
false
false
3,157
py
import uuid import jwt from flask_restplus import Namespace, Resource, fields from flask import request from werkzeug.security import generate_password_hash, check_password_hash from functools import wraps from parameters import config from custom_time.custom_time import get_now_utc_iso_string from datetime import date...
[ "krystof51@gmail.com" ]
krystof51@gmail.com
5d3672c2a1c6bca4c072e56a67bdf929bf920c55
82eb24f0e9c9501727e339ec9cad9991a8ade618
/GREETINGBOOK/socailmedia/__init__.py
1349c1cd5b688fa8b10b1f8d831d3862c8b5b689
[]
no_license
kundan1989/GreetingbookProject
4bf706e79b456fd0e98d745f9a8021e60d7c7ee2
73248f0925b5b8fbf6b6abe827213fa37a772573
refs/heads/master
2022-04-27T15:01:54.557678
2020-04-29T09:09:42
2020-04-29T09:09:42
259,877,331
0
0
null
null
null
null
UTF-8
Python
false
false
57
py
default_app_config = 'socailmedia.apps.SocailmediaConfig'
[ "kundanrj3@gmil.com" ]
kundanrj3@gmil.com
6137c990285e636fdf82e210f75dee172cfa4c61
618eb6d8c9aca9a179ef252d1e4cb9ab13449e13
/String/Pattern Matcher.py
db791da8160afb25e4caeaa9c09768f531257c23
[]
no_license
kotsky/programming-exercises
8966660986d8baf0467f1efc88b606b7d61a31f7
636b1f6b0ab28c6eef8f8900e68393f7b1fb931a
refs/heads/master
2023-04-16T22:40:21.461494
2021-05-02T03:48:56
2021-05-02T03:48:56
268,241,097
0
0
null
null
null
null
UTF-8
Python
false
false
2,308
py
''' (patternMatcher("xxyxxy", "gogopowerrangergogopowerranger")) => ["go", "powerranger"] TO define patterns as x = "go" and y = "powerrangers" in the given string. Count of x and y. Then calculate len of possible substrings. And check every time for new substring of x. ''' def patternMatcher(pattern, string): i...
[ "noreply@github.com" ]
kotsky.noreply@github.com
8a7325c4058cee17ab12e9eb1c91d00c7cfcd48e
b144ca4e7e7e53d35b6c4d56567fc00b771b3e2d
/Scripts/stock_ts_loader.py
d57b9c879b46e9bc4ed3e1577cf4848300a17432
[]
no_license
junbai94/quant_trading
02fb052a490e773365ab421b7cb2c4b1aebfaa51
3d20ddcc602a586461bd8efddafe5afeed01c416
refs/heads/master
2021-08-29T18:11:14.369913
2017-12-14T14:53:46
2017-12-14T14:53:46
110,840,452
1
1
null
null
null
null
UTF-8
Python
false
false
2,704
py
# -*- coding: utf-8 -*- """ Created on Mon Nov 27 09:42:12 2017 @author: Junbai Load SZ50 data from TuShare Add in get_k_data tomorrow """ import tushare as ts import pandas as pd import sqlite3 import time import datetime DATABASE_PATH = "C:/Users/user/quant_analysis/Database/cn_stock.db" sql_un...
[ "noreply@github.com" ]
junbai94.noreply@github.com
fa226e9c59edd983c0b72c84bcd9a980cb861f7c
148537b9709b5c1ee5ddd43c30430eccb338aec4
/keras_ana_mit_cent_sort.py
df2dd09a41e9a857cfc4d309b489bb498e5bd141
[]
no_license
vheinitz/learn_keras
571137fe83b048c3e51bbe2cb6284fbefd5e404e
0efc894cbe30fad454a697f7ecc7c76497591dd1
refs/heads/master
2021-01-25T12:43:49.190862
2018-03-01T23:57:02
2018-03-01T23:57:02
123,503,974
0
0
null
null
null
null
UTF-8
Python
false
false
2,093
py
# Valentin Heinitz, vheinitz@googlemail.com, 2018.01.01 # L E A R N I N G K E R A S WITH # https://www.youtube.com/playlist?list=PLtPJ9lKvJ4oiz9aaL_xcZd-x0qd8G0VN_ # Using ANA-HEp2, ANCA, dDNA data sets # # Find mitosis in images of Centromere-pattern cells and sort them in different # directories import numpy as...
[ "vheinitz@googlemail.com" ]
vheinitz@googlemail.com
f9fe3338792613d6f1e728f251acd0f70bd12db0
297d5aa6906eac1c05093516a033a6670a4ea88b
/src/haverster/streamtimeline.py
971de43c23d4f2d115086da1cadb97f93b7cce7b
[]
no_license
xinzhel97/Project_Cloud_Computing_and_Cluster
05d3af735aec00bea6240efbec2671d926d419ce
e49515b708322753cc8d1ef75dbfa06f650f4291
refs/heads/master
2022-11-27T01:59:47.633324
2020-08-09T12:57:55
2020-08-09T12:57:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,004
py
from __future__ import absolute_import, print_function import tweepy from auth import consumer_key,consumer_secret,access_token,access_token_secret from timelineThread import timelineThread import json import couchdb from dblogin import user, password import sys class dbStreamListener(tweepy.StreamListener): ...
[ "phyjeremy@outlook.com" ]
phyjeremy@outlook.com
0c0342a2bf22618d0cb8629199ad831bb482d324
84a3092c59f828651cc3608449a531ffbcb1a599
/main.py
4d6611c2f9d4708464ae2ed24e45c5635ec9d053
[]
no_license
festivalle/PyTracker-MIDI
0009a8f70330f5090d1b5ee980650730cd7bb97e
f1443587758f388c729bc6dbae75d1a7bf306183
refs/heads/master
2022-04-25T05:45:17.676030
2020-04-25T03:44:58
2020-04-25T03:44:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,698
py
''' CircuitPython DJ Inspired by LSDJ and nanoloop gameboy trackers Code snippets and libraries from the following Adafruit Learning Guides: FruitBox Sequencer PyBadge GamePad Feather Waveform Generator in CircuitPython Circuit Playground Express USB MIDI Controller and Synthesizer ''' im...
[ "noreply@github.com" ]
festivalle.noreply@github.com
d1e5895ff33ca6ce5a15f6feacdd7059200c09c0
a94941c225c3029755efe3bb56eb13e1c8bcfde5
/examples/batch_compute_LiNaMgAl_rvd+neq.py
942d239904b9fd2b7eadcee0d4aa00c4fcff8861
[]
no_license
shuhebing/cavd
80d3d48ec19cfde727d67ecb8d74deac084c19a1
e5146e89a0cfdf35bcc5677808c9cc4ea96dae95
refs/heads/master
2022-11-12T06:51:32.110927
2019-12-14T14:47:17
2019-12-14T14:47:24
276,862,815
1
0
null
null
null
null
UTF-8
Python
false
false
4,001
py
import os import cavd #数据挖掘获取的标准值 std_surf_list = [0.8018, 1.1705, 0.8435, 0.6119] std_list = [2.0562, 2.4439, 2.0644, 1.8552] ions = ["Li", "Na", "Mg", "Al"] for i in range(len(ions)): filenames=[] path = "../../Li_Na_Mg_Al_cifs_order_revise/" + ions[i] + "/" if not os.path.exists(path+"results"): ...
[ "yeanjiang11@qq.com" ]
yeanjiang11@qq.com
aa0eb2304723651a84891f2939dba38fde4c68ce
90dc956890f6581424aa0925c86c5752a19ba618
/url_shortner.py
eb52b4d306b0277fdb7d4c8f3d576815288f4a62
[]
no_license
Narentest/Applause-task
0579dc812c5c2304cab6a5af8ad629008a83d3e7
072d121578d2ffdb7f6a1cb9de1d7d1f74e8c945
refs/heads/main
2023-03-13T22:36:32.499849
2021-03-15T00:03:09
2021-03-15T00:03:09
347,784,043
0
0
null
null
null
null
UTF-8
Python
false
false
544
py
from __future__ import with_statement import contextlib try: from urllib.parse import urlencode except ImportError: from urllib import urlencode try: from urllib.request import urlopen except ImportError: from urllib2 import urlopen import sys def make_tiny(url): request_url = input('enter url:' + urlencode({'ur...
[ "narendarmsctesting@gmail.com" ]
narendarmsctesting@gmail.com
608b68e973e8bfe9e3922fe3c69dc0ff9a731796
bf97a169e18a256294018c0a81837e59680859d8
/ValidBST.py
ce7107a9e086187d0b79f13a34fc2573f8a6d14c
[]
no_license
oskip/IB_Algorithms
780904842372a608362528758377344e126d3012
094d871ac4b808d883d5af5430bac47782132c6b
refs/heads/master
2021-01-19T04:25:13.948498
2016-07-04T16:55:09
2016-07-04T16:55:09
50,581,848
1
0
null
null
null
null
UTF-8
Python
false
false
1,124
py
# Given a binary tree, determine if it is a valid binary search tree (BST). # # Assume a BST is defined as follows: # # The left subtree of a node contains only nodes with keys less than the node's key. # The right subtree of a node contains only nodes with keys greater than the node's key. # Both the left and right su...
[ "oskipet@gmail.com" ]
oskipet@gmail.com
54e636829957d06459dc60b547fb5f2dd688a85e
0e34eb0fd1327c4663ad0b47add223b3ee4764e3
/rename.py
0a73cf276b876dc4f6121501ee11e50172521bb5
[]
no_license
morphIsmail/date-rename
fb19194d03b2a2f16abd0bd7b14d2920df543a36
15885874c4190a339991fb24072356c30a933c95
refs/heads/main
2023-04-21T19:47:28.475063
2021-05-14T07:50:55
2021-05-14T07:50:55
367,283,882
0
0
null
null
null
null
UTF-8
Python
false
false
1,360
py
# импорт модулей import os, re, time, datetime # проверить ОС == Windows from sys import platform if platform == 'win32': from win32_setctime import setctime def finder(): # все файлы в текущей директории names = os.listdir(os.getcwd()) # цикл по всем файлам for name in names: # путь к текущему файлу ...
[ "ismail_2016@mail.ru" ]
ismail_2016@mail.ru
2aa6bf269adef4a8e482ad5d9fd5320bbae3df96
21c5b922925922c5358075f1b11361cca022530e
/day5/day5a.py
df66bae926b0f43c32c5bcae941c65ec3788472e
[]
no_license
sjstein/aoc2020
8efd6aeebfa6ccea4e95debe4d56d5eb88025d22
be024ad7daf1e9385a18e9263fed69be07d8a0d9
refs/heads/main
2023-01-31T16:51:58.907334
2020-12-19T03:54:29
2020-12-19T03:54:29
317,272,893
0
0
null
null
null
null
UTF-8
Python
false
false
3,862
py
""" --- Day 5: Binary Boarding --- You board your plane only to discover a new problem: you dropped your boarding pass! You aren't sure which seat is yours, and all of the flight attendants are busy with the flood of people that suddenly made it through passport control. You write a quick program to use your phone's c...
[ "s.joshua.stein@gmail.com" ]
s.joshua.stein@gmail.com