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
7f027a5f8990360a411659c96ad45506c18ae5a9
8319c9859bde5e21eba2ba60219ebe496646470b
/src/stratis_cli/_stratisd_constants.py
86f901513a72fc8576ab0bd4c5884a268bb8d66e
[ "Apache-2.0" ]
permissive
stratis-storage/stratis-cli
0be83c0903c1050ac3cf75a19121ba19be97c4a6
399c95edd7c37e5fb9494f7829d5355c011fb7d7
refs/heads/master
2023-08-31T23:24:02.710481
2023-08-30T20:18:02
2023-08-30T20:18:02
66,956,943
107
44
Apache-2.0
2023-09-08T18:25:33
2016-08-30T16:09:39
Python
UTF-8
Python
false
false
2,347
py
# Copyright 2016 Red Hat, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing...
[ "amulhern@redhat.com" ]
amulhern@redhat.com
3d3811ac1ae1e4a7ce1a4f9836af4c8d81543d49
d823f9a1680a8937bf1cd5090d1e68bfbd9e3278
/crawl.py
194be5c57fa066a14cd9929fe115a88fc8d51c66
[]
no_license
justin020025/Python-crawler-on-arXiv-and-often-mentioned-words-in-the-abstract-
50a8901079c50489d34a141f94c186acac61ca64
38e6a333c2c1c6c5511b13bc7540c1e8a6e5fdd1
refs/heads/master
2020-05-02T07:26:26.979657
2019-03-26T16:38:23
2019-03-26T16:38:23
177,818,047
1
0
null
null
null
null
UTF-8
Python
false
false
2,542
py
#!/usr/bin/env python # coding: utf-8 # In[1]: from bs4 import BeautifulSoup from urllib.request import urlopen import re def url_generator(search, page): if page==1: return "https://arxiv.org/search/?query="+search+"&searchtype=all&abstracts=show&order=-announced_date_first&size=50" else: ...
[ "noreply@github.com" ]
noreply@github.com
3eab99e78874519237ee18fbd383413183909b24
92b7afd4c17088a63a38d80d2f981cf146eae988
/Chapter02/U02_Ex05_ConvertCtoF_Table.py
612668d6c17270152ff0932fe7173e0c27aaa9b4
[]
no_license
billm79/COOP2018
6d3e5d9f8309646beab0078a2f84bb6fe30b18fc
6588c0ebfa932fbae7eec11c20270e4a8e969377
refs/heads/master
2020-03-28T02:00:28.959515
2019-05-13T17:51:05
2019-05-13T17:51:05
147,540,965
3
2
null
null
null
null
UTF-8
Python
false
false
957
py
# U02_Ex05_ConvertCtoF_Table.py # # Author: Bill Montana # Course: Coding for OOP # Section: A3 # Date: 18 Nov 2017 # IDE: PyCharm Community Edition # # Assignment Info # Exercise: 5 # Source: Python Programming # Chapter: 2 # # Program Description # Computes and prints a table of Celsius temperatur...
[ "bill.m79@student.parishepiscopal.org" ]
bill.m79@student.parishepiscopal.org
7b927918987478127db33e25f638d3774ffa6cbb
d41c15b9c68ab2ee70740044d25d620e6b90a09e
/app/mod_cmd/commands/status.py
2faf54044feec0dddce8af23988a4ef47d2decb9
[ "Apache-2.0" ]
permissive
jaycode/Arthur.workspace
9093b54cda983d2e8b6745b894403b5fa1282b56
7a581104141ee5f556e058b1276b4087a2921dfc
refs/heads/master
2021-01-10T10:36:35.599700
2016-03-21T19:37:49
2016-03-21T19:37:49
55,436,635
0
0
null
null
null
null
UTF-8
Python
false
false
1,480
py
"""This module is useful to allow user finds out current state of their work. """ from app.mod_cmd.client_instruction import ClientInstruction from app.helpers import docs_path from zipfile import ZipFile from app import app, mongo def run(project = None, args = [], **kwargs): """Show status of current project. Ke...
[ "teguhwpurwanto@gmail.com" ]
teguhwpurwanto@gmail.com
d7f886a1270e5124cc2b654d3fdee2bd41b42844
99a400627ece9e6ff0c371189eb86906ba65a476
/ESP32/mqtt_led.py
7edba5c71dc8901c586b11438fa7f848f5e95ca0
[]
no_license
Dougama/CentroTIC
b02c8fe6bafe3ef29d27262a86b50fa16817d976
11a5ce6f9aa439987b0792a236947f2180411e4e
refs/heads/master
2020-05-07T16:15:09.639835
2019-04-10T19:27:08
2019-04-10T19:27:08
180,674,675
1
0
null
2019-04-10T22:42:25
2019-04-10T22:42:25
null
UTF-8
Python
false
false
888
py
from machine import Pin import machine import time from umqtt.simple import MQTTClient import ubinascii import micropython def sub_cb(topic, msg): if msg == b"ESP32-LED": p22 = Pin(22, Pin.OUT) p2 = Pin(2, Pin.OUT) for i in range(10): p22.on() time.sleep(...
[ "luismiguel@radiogis.uis.edu.co" ]
luismiguel@radiogis.uis.edu.co
927e87139bcec1ecd197a6f777683cbac29c4266
03209f70f5e365bd65e98e8030e87d747b336242
/gsecars/epicsMca.py
526fd2235cbdd10b34bfc0b7baad85ad0d1119e2
[]
no_license
jskinner53/epicsPython
a72446ef0ab2ddd3cc733312b2f7436f2bc431bb
676cb0f4b26661fcedf5cdf94fc1aa3d5d630666
refs/heads/master
2016-09-08T00:24:41.955682
2016-02-02T21:54:15
2016-02-02T21:54:15
33,684,889
0
3
null
null
null
null
UTF-8
Python
false
false
24,359
py
""" EPICS device-dependent support for the Mca class. Uses the EPICS mca record. Author: Mark Rivers Created: Sept. 18, 2002 Revision history: Original version was written in IDL Sept. 24, 2002 MLR. - Changed __init__ to use MCA_ENVIRONMENT environment variable when openin...
[ "pxsys@fluke.nsls2.bnl.gov" ]
pxsys@fluke.nsls2.bnl.gov
4a3ddf02ca87cc2175891922eaf146280f255cce
f3ed586d701e0c5e145b36103ff9cad3705a66d4
/payment_gateway/urls.py
2367faa7d402aebc5d5ed1723dd60e292bb30042
[]
no_license
Deepakbabani/payment_gateway_integration
f5744376a0c6bbcaab71603eab72fcdfaabc0862
100a0450c75867daa34c95cc10fc595936a622a2
refs/heads/main
2023-06-03T03:56:49.469016
2021-06-28T07:11:03
2021-06-28T07:11:03
313,848,933
1
0
null
null
null
null
UTF-8
Python
false
false
822
py
"""payment_gateway URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='hom...
[ "noreply@github.com" ]
noreply@github.com
68618a7466a5c4c5db83220054f3f89a5f25af56
4c7914bf0eb52f2fe5dab70fa630a322a9449e05
/淘宝美食/spider_tb.py
979bf47a13e824f3edf29f2d47cb5b352420348d
[]
no_license
xhongc/pythonCrawl
f334d737326a47782d2533c4db23734729f13099
a38e59496dd78b6e070ea6882043b1744190103e
refs/heads/master
2022-12-10T01:22:01.608193
2020-01-12T09:43:19
2020-01-12T09:43:22
93,115,695
4
5
null
2022-11-22T02:36:28
2017-06-02T01:47:22
Python
UTF-8
Python
false
false
3,288
py
import re from bs4 import BeautifulSoup from selenium import webdriver from selenium.common.exceptions import TimeoutException from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC import json import pymysql f...
[ "408737515@qq.com" ]
408737515@qq.com
0f0c05bf81ea5c2a64321a2f3e1188107a0320db
54f46fa2bd64c616d359991c588e6a33cd43c954
/demos/faceapi/database/openface/db_manager.py
507971d1289eac48d6f9b24662b5dfe294ad9ca6
[ "Apache-2.0" ]
permissive
mpmysight/copenface
c4f50063bb576e3febec84dc653f6208d87d10e7
f06f1fbd05873e47ece7b56615a6a286b9998f8b
refs/heads/master
2021-01-01T15:57:16.222262
2017-07-19T17:13:02
2017-07-19T17:13:02
97,741,426
0
0
null
null
null
null
UTF-8
Python
false
false
5,299
py
# -*- coding: UTF-8 -*- """ @file db_manager.py @brief Implement of database manager in database. Created on: 2016/1/14 """ import os import sqlite3 import logging import faceapi from faceapi import exceptions from faceapi.utils import log_center from faceapi.database import DbManager """ 8888888b. ...
[ "mpmysight@gmail.com" ]
mpmysight@gmail.com
7612ffc161f6137e5be1b45ed4065eb934959736
9eda181fe05ffb3945bda661329672b1d5491b34
/startup.py
681a9b9c6481d609cf640eca1767986705a26da1
[]
no_license
deepak0405/login_system_cloudlab
318213aa42ebb71e64a07477fde5f92ab8df4741
e8ded95dcfb2272ee0bc03bf977aeb26cda0772a
refs/heads/master
2020-05-22T01:49:51.538013
2018-10-13T08:10:47
2018-10-13T08:10:47
84,658,995
0
1
null
null
null
null
UTF-8
Python
false
false
110
py
import os import command os.system("mount filer01:/vol/plos1 /mnt/plos") os.system("ln -s /mnt/plos/home /")
[ "patankardeepak04@gmail.com" ]
patankardeepak04@gmail.com
264ee2cbf290337b94ee881d68bfccb70ff96253
9c77411e2207c150edccf7e8c857a6eac9e1fe8e
/Comparison.py
25e70fb1500bd1533f5ae9bd88fcb38ea20b22f9
[]
no_license
markobogoevski/NumericalMethodsAnalysis
a101c568aecc81ecdfade53a5d15321e84cb693d
3699b50cfb71e48c5ceb6564a0d86faa3b0c7f32
refs/heads/main
2023-03-16T23:51:01.365283
2021-03-09T12:56:02
2021-03-09T12:56:02
344,210,698
0
0
null
null
null
null
UTF-8
Python
false
false
13,121
py
from RegulaFalsi import * from NewtonRaphson import * import os import pandas as pd import math def generate_comparative_report(function, a, b, report_path, analytical_solution=None): """ A function which generates reports for the provided function by using the numerical methods Regula Falsi and Newton Rh...
[ "markobogoevski@gmail.com" ]
markobogoevski@gmail.com
dc75718ca509b24cafd770b46279b39533e4dce4
1c74a2e075793e1d35c441518e2e138e14e26ea5
/Tree/124. 二叉树中的最大路径和.py
b4a70b63656b087e29f283c107cc12e1c831c361
[]
no_license
Dawinia/LeetCode
1a385bfadbc4869c46dc1e9b8ca7656b77d746a0
e1dcc71ca657b42eb8eb15116697e852ef4a475a
refs/heads/master
2021-07-20T00:56:01.058471
2020-07-22T14:07:04
2020-07-22T14:07:04
197,305,126
1
0
null
null
null
null
UTF-8
Python
false
false
616
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def __init__(self): self.ans = -1000000000 def maxPathSum(self, root: TreeNode) -> int: self.traverse(root) ...
[ "dawinialo@163.com" ]
dawinialo@163.com
cf77e4bc9a182a406270a6fd7cf2558350304f7c
d41d18d3ea6edd2ec478b500386375a8693f1392
/plotly/validators/scatterpolargl/unselected/marker/_opacity.py
3cb2d6a2455082c340af789b6b315dfff4f79427
[ "MIT" ]
permissive
miladrux/plotly.py
38921dd6618650d03be9891d6078e771ffccc99a
dbb79e43e2cc6c5762251537d24bad1dab930fff
refs/heads/master
2020-03-27T01:46:57.497871
2018-08-20T22:37:38
2018-08-20T22:37:38
145,742,203
1
0
MIT
2018-08-22T17:37:07
2018-08-22T17:37:07
null
UTF-8
Python
false
false
500
py
import _plotly_utils.basevalidators class OpacityValidator(_plotly_utils.basevalidators.NumberValidator): def __init__( self, plotly_name='opacity', parent_name='scatterpolargl.unselected.marker', **kwargs ): super(OpacityValidator, self).__init__( plotly_n...
[ "adam.kulidjian@gmail.com" ]
adam.kulidjian@gmail.com
e829b3614151ad710bde53d2e86ab4430b3b0863
f706e3afc82fbffd259b62c65f47298c060d0c2e
/code/models.py
ebb652f3bf50db95809878a3d1d766a7d655cd39
[ "MIT" ]
permissive
haoht/Question_Answering_Models
b463ebeb4d7c1e7ed8259dfd97f7f562b28a9af7
f7268845e0cf5c75cd7e01675c8256b661a62bff
refs/heads/master
2020-03-17T20:36:13.250467
2018-05-07T04:15:18
2018-05-07T04:15:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
23,416
py
# -*- encoding:utf-8 -*- import tensorflow as tf import numpy as np class SiameseNN(object): def __init__(self, config): self.config = config # 输入 self.add_placeholders() # [batch_size, sequence_size, embed_size] q_embed, a_embed = self.add_embeddings() with tf.varia...
[ "l11x0m7@bupt.edu.cn" ]
l11x0m7@bupt.edu.cn
57fa882d992e873136c6e65dba8a3c40fc606e37
95efc2300bd2936eb9b4ca8f9cda55764047f094
/django1/src/customlogin/urls.py
14fcc5ea0182abaa54ff28601abb0ce65e803934
[]
no_license
gittaek/jeong
d207d6e41398803475aff82a49bea01e21a86901
20808cbb97daff79a4c0b4a017106519f99d919f
refs/heads/master
2020-04-21T23:11:17.202531
2019-02-10T03:20:57
2019-02-10T03:20:57
169,938,169
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
#하위 URLConf #app_name: 하위 URLConf 파일의 등록된 URL들의 그룹명 #urlpatterns: URL과 뷰함수를 이그트형태로 등록하는 변수 from django.urls import path from .views import * app_name = 'cl' urlpatterns = [ path('signup/', signup, name= 'signup'), path('signin/', signin, name= 'signin'), path('signout/', signout, name= 'signout')...
[ "user@DESKTOP-37GULAI" ]
user@DESKTOP-37GULAI
a51042d0bdcf95c0e78cb14b57b83cd0cd6888a4
4bc2f82e5c6e1780dd9792affc6d2992209e1a7e
/General Mini Programs and Competitive codes/Python/9.py
e988be4f940054e9e1733cfc5b96420b8e280cef
[]
no_license
syed-ashraf123/deploy
a85ba0596ac69168823ac3f95c8bde7e56d8bd4e
de087554009a521cb019cfb1d707ea26f44a13b6
refs/heads/master
2022-09-24T02:56:28.873916
2020-05-31T07:04:11
2020-05-31T07:04:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
239
py
x=[1,2,3] z=[y*10 for y in x] print(z) a=['ann','b','c'] b=[char.upper() for char in a] print(b) a=['syed','osama','ashraf'] b=[c[0].upper() for c in a] print(b) a=['syed','osama','ashraf'] b=[c.capitalize() for c in a] print(b)
[ "noreply@github.com" ]
noreply@github.com
3f5d32968761d50cf7aad84507abaff92e3fea9c
48981a6431c8241ac2df585db99b2ebfc637d972
/know_it_all/know_it_all/settings.py
9a35791486e6736b7fb4d27e17ae54616c5d9eaa
[]
no_license
AditiAnand8/know_it
d468f2c198b565317cb4f5ce2309bb480a813af3
0eb3c3717f08a465cc599b4d394b86fe2bccfb43
refs/heads/master
2020-08-29T19:41:38.259855
2019-10-28T22:21:29
2019-10-28T22:21:29
218,151,621
0
0
null
null
null
null
UTF-8
Python
false
false
3,103
py
""" Django settings for know_it_all project. Generated by 'django-admin startproject' using Django 2.2.6. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import o...
[ "aditianand@Aditis-MacBook-Pro.local" ]
aditianand@Aditis-MacBook-Pro.local
9f6b808ff015f37b9f62bc9cc476d8caeb214d1b
d9b14f351f668b004c4cb05a10d09e7e85243317
/src/BaekJoon/Simple_Implementation/P4659.py
845604643f77c37794f63d80ed6b5fe723062714
[]
no_license
nn98/Algorithm
262cbe20c71ff9b5de292c244b95a2a0c25e5bd7
55b6db19cb9f2aa5c5056f5cabd2b22715b682fd
refs/heads/main
2023-08-17T04:39:41.236707
2023-08-16T13:04:34
2023-08-16T13:04:34
178,701,901
0
0
null
null
null
null
UTF-8
Python
false
false
605
py
import sys vowel = {'a','e','i','o','u'} while (1): test = sys.stdin.readline().rstrip() if test == 'end': break pw = list(test) v_flag = 0 v_cnt = 0 c_cnt = 0 err = 0 for i in range(len(pw)): if i > 0: if pw[i] == pw[i-1]: if pw[i] != 'e' and pw[i] != 'o': err = 1 break if pw[i] in vowel...
[ "noreply@github.com" ]
noreply@github.com
c2a251f706de272919eee0bf2b981f3e0def3bbe
17268419060d62dabb6e9b9ca70742f0a5ba1494
/pp/assert_grating_coupler_properties.py
e4623d5afe7b5f3da50f619ba7c002a9a0e798c3
[ "MIT" ]
permissive
TrendingTechnology/gdsfactory
a19124423b12cbbb4f35b61f33303e9a012f82e5
c968558dba1bae7a0421bdf49dc192068147b776
refs/heads/master
2023-02-22T03:05:16.412440
2021-01-24T03:38:00
2021-01-24T03:38:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
990
py
from pp.component import Component def assert_grating_coupler_properties(gc: Component): assert hasattr( gc, "polarization" ), f"{gc.name} does not have polarization attribute" assert gc.polarization in [ "te", "tm", ], f"{gc.name} polarization should be 'te' or 'tm'" asse...
[ "noreply@github.com" ]
noreply@github.com
ce74506ff140955abc90a20235de07f09b7aabad
8e1e312a710d88d8d78dfd221d9340ec0ec2c13b
/post/migrations/0004_remove_post_shortdesc.py
cf424e542ca7705b916ea15bd74b2dc4e9832539
[]
no_license
saleemcoder/django-blog
2fff1c1ba1987ac6349166b095586584ab712a7e
6fd56c6ec08bbf9ebc2aa66f28161f9ff4674d00
refs/heads/master
2022-12-07T07:48:19.727516
2020-08-28T18:32:46
2020-08-28T18:32:46
282,283,155
0
0
null
2020-08-26T12:34:22
2020-07-24T17:49:56
JavaScript
UTF-8
Python
false
false
322
py
# Generated by Django 3.0.8 on 2020-08-11 18:55 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('post', '0003_post_shortdesc'), ] operations = [ migrations.RemoveField( model_name='post', name='shortdesc', ), ...
[ "saleem.coder@gmail.com" ]
saleem.coder@gmail.com
ea2438007b0386076e93ad827190c5c71c47f32f
99efa551de2a4586767d109b211d8c016c5454c4
/String/App1/K.py
17d6884198554cfa3fc90d41e6451d43c863783f
[]
no_license
Vijay-Ky/Anit_Rooman_Python_Training
9decf34b651ea8455bdd4cdf1e2239a77cf1bc7e
155ba84620c28fd64a7219013c3bdd43f76fa278
refs/heads/master
2020-05-31T23:22:45.865104
2019-06-18T09:33:10
2019-06-18T09:33:10
190,537,707
2
0
null
null
null
null
UTF-8
Python
false
false
113
py
var1 = 'Hello World!' var2 = "Python Programming" print ("var1[0]: ", var1[0]) print ("var2[1:5]: ", var2[1:5])
[ "vijayky007@gmail.com" ]
vijayky007@gmail.com
38775c2498b0318dcc2b551d3f8b8068fb756353
699279b7de9819d95666d6f01ee3dfacff53f8df
/OakfordStephenM08_Ch8_Ex7.py
c719fc2b461e733b94ca7e8a77e471fa680c2dd3
[]
no_license
stephenkyle/PythonProjects
60dc477e97f701eb8131c390f1cac7bf25c76fa0
66f0fbb6e0c5857d436bb084919c27fba77233c4
refs/heads/main
2023-03-07T03:49:39.019591
2021-02-09T16:19:27
2021-02-09T16:19:27
337,460,297
0
0
null
null
null
null
UTF-8
Python
false
false
916
py
# This program analyzes characters from # the file text.txt # The main function def main(): # Open the file named text.txt file=open('text.txt', 'r') # Read the files contents readFile=file.read() # Set accumulators to 0 upper, lower, digit, whitespace = 0,0,0,0 # Count the chara...
[ "noreply@github.com" ]
noreply@github.com
ef08f4996ebf31c18f318814a2a9fb5ac9134262
97749ece313bcf9929808f54423fb3abd0c2537c
/test/testcases/NgramSample_scenario.py
15655d242f4d284868cba79fd0e0deb6e760410a
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
IBMStreams/streamsx.nlp
3a4568cb8bb9d818f34553c0de6d6e2660de2e3e
00b48f406a293ff03a5df3ee3788e2616727baef
refs/heads/develop
2023-07-24T10:20:10.562214
2021-04-07T13:14:00
2021-04-07T13:14:00
70,638,587
2
7
NOASSERTION
2023-07-06T21:08:04
2016-10-11T21:54:55
Java
UTF-8
Python
false
false
571
py
# Copyright (C)2016, International Business Machines Corporation # All rights reserved. import testutils as tt def test_execution(name, python_command): '''Execute the test case''' tt.run_checked(['output/bin/standalone']) tt.run_checked(['diff', 'data/out.txt', 'data/expected.txt']) tt.run_checked(['output/Ngram...
[ "mark-oliver.heger@de.ibm.com" ]
mark-oliver.heger@de.ibm.com
0d35f8a88ce84a42773779ed9a31674911adfc4c
3fbb47371a627f93cdb1008bef6a29a837dfeeca
/setup.py
44b3ae356a87baa6c83f9cc7822d4708d1f57d05
[]
no_license
chuckmeade/webapp
e200723ea1a20280974664098a97727fab600512
81b5095e224806c4354ec4bafa58fc0ff80aa026
refs/heads/master
2021-01-19T11:05:12.687614
2017-12-11T14:15:20
2017-12-11T14:15:20
95,698,587
0
0
null
null
null
null
UTF-8
Python
false
false
845
py
#!/usr/bin/python from setuptools import setup import os # Utility function to read the README file in the root directory to be used as the long description # for the module. def read_long_description(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() ''' Main setup function used for buil...
[ "zmazar@gmail.com" ]
zmazar@gmail.com
eb4d2d1b8a203938eb6fabaf8cb0ba0be97d4f0f
60eb172d6838e98459c46be6ee0ab89b12881eeb
/manage.py
2f7a8298ff3505dd0cff2d4ebdcfe23c56e8d460
[]
no_license
satissera/blog
f417b21c674018662553668e567d68a27a9f03e1
2fe150d6f6c4c4a8afed52c448ccac41a687bfe5
refs/heads/master
2021-01-22T23:26:09.353799
2015-08-10T00:28:30
2015-08-10T00:28:30
40,455,293
0
0
null
null
null
null
UTF-8
Python
false
false
250
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "problog.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "piojotissera@gmail.com" ]
piojotissera@gmail.com
dfd15b290e3345001bd70e8dccef8397e16bb767
e56b63fa189d6c1e84eda135a41ae63d6177c10e
/setup.py
29e819082c2ce53fd58b560ba7c80ae49b497ba4
[]
no_license
bibi21000/janitoo_scene
22ededfc79866a806b22770f8c347169407523cb
c9c8f6b58f5109c47ae302b1fbc58c39d1c35857
refs/heads/master
2021-01-17T18:10:49.644483
2016-06-22T22:10:42
2016-06-22T22:10:42
60,803,529
0
0
null
null
null
null
UTF-8
Python
false
false
3,642
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """Setup file of Janitoo """ __license__ = """ This file is part of Janitoo. Janitoo is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 ...
[ "bibi21000@gmail.com" ]
bibi21000@gmail.com
9d52c4f034498c73cfddff71ab544637297f21c9
3a6455ffa8ab1d2e05c371e753e7549e91abc203
/xorg/caps
e7186a7ca62f030a0bc4ad73460a89fa3e9aee4b
[ "MIT" ]
permissive
shouse/bin
aaaf1ec8d1b638e67d9a9900d646619b6a320921
a1d8632b38f54ed2ac18ef8cd254436818773f89
refs/heads/master
2020-06-26T15:15:02.730323
2019-07-30T02:31:14
2019-07-30T02:31:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
279
#!/usr/bin/env python3 # # http://github.com/mitchweaver/bin # # deactivates caps lock # from ctypes import * X11 = cdll.LoadLibrary("libX11.so.6") display = X11.XOpenDisplay(None) X11.XkbLockModifiers(display, c_uint(0x0100), c_uint(2), c_uint(0)) X11.XCloseDisplay(display)
[ "20451170+MitchWeaver@users.noreply.github.com" ]
20451170+MitchWeaver@users.noreply.github.com
d36e72ccebe675aee1cca503c3d7dc07f67d22d4
371889a593c348718d66152f9190d686e21ff297
/guesslib_genomic_pair.py
b19378160f761b12cac3be0b1253ad10fefe5fed
[]
no_license
leosparring/guesslibbb
ac8628bdfc5dc71c215b11ebb7eb9c34890e51b8
000ba51e7786f5dde622d4e9ada6aafb17b8d333
refs/heads/master
2020-04-27T18:29:19.044279
2019-03-10T20:10:43
2019-03-10T20:10:43
174,572,646
0
0
null
null
null
null
UTF-8
Python
false
false
10,563
py
import subprocess import csv import argparse import time import numpy as np import scipy.stats as stats ###--------- GLOBAL VARIABLES ---------### # Specify from what line of the user's transcripts # that sequences should be aligned from. Index from zero. START_FROM_SEQUENCE_NR = 0 # Specify from how many paired ali...
[ "leo.sparring@gmail.com" ]
leo.sparring@gmail.com
28676bcce0d5d02de34a9c3a1b6a30039818a391
91961b8ba65b36893a0702bed0600185a3a3f95c
/users/migrations/0001_initial.py
bd54cbae09ade830ce856e81699b06dc59f208c6
[]
no_license
anuragpan/bookstore_project
77183fa37ebb313c218585e3c0f7ba240a2c899e
4766ff95a8086f26f2248411fa7fc31a0418ea1f
refs/heads/master
2023-04-28T14:07:27.381577
2020-01-25T20:39:37
2020-01-25T20:39:37
236,225,727
0
0
null
2023-04-21T20:50:31
2020-01-25T20:28:58
JavaScript
UTF-8
Python
false
false
2,867
py
# Generated by Django 2.2.7 on 2020-01-21 01:58 import django.contrib.auth.models import django.contrib.auth.validators from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0011_update_proxy_permission...
[ "www.anp.in@gmail.com" ]
www.anp.in@gmail.com
32d49d85a7ba29b38dc376f52713b2133b677333
ba45376e06f242057e4faae73cf81552e69ee367
/offer/26_SubstructureInTree.py
2d497697644e3f646822a94ac497c9afe884bf62
[ "MIT" ]
permissive
DevRoss/python-offer-code
2559fba95f91b0896730c0449451dd0976758dc2
580b2d7b265b3fa8a598287f42a4ca8d9f834eb1
refs/heads/master
2022-06-13T00:52:42.058543
2022-06-05T05:16:59
2022-06-05T05:16:59
166,030,123
1
0
null
null
null
null
UTF-8
Python
false
false
1,092
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- # Created by Ross on 19-1-18 """由于垃圾windows把我的代码无缘无故给删了,所以现在直接使用MKYAN的代码,若有侵权,请告知""" class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: def HasSubtree(self, pRoot1, pRoot2): # writ...
[ "820584458@qq.com" ]
820584458@qq.com
3721171943a4c4e2eb553d4abc8c733c1a7a08ae
ce36259b95f454d92b1b48ac4afeedc1a8f7a1e3
/MarcinUlikowski/bitlocker.py
385131a509ca8d31c47b47af9c16047948ee07d2
[]
no_license
citronneur/community
60780bc13f712b611890e824f01179dae0bf25d2
6bcef0d40c1d70a394144f8e0e78224acfb8b9db
refs/heads/master
2020-04-16T19:30:44.630877
2019-01-15T14:37:50
2019-01-15T14:37:50
165,862,635
3
0
null
2019-01-15T14:12:59
2019-01-15T14:12:59
null
UTF-8
Python
false
false
4,173
py
# Volatility plugin: bitlocker # # Author: # Marcin Ulikowski <marcin@ulikowski.pl> # # Based on the research by: # Jesse Kornblum <research@jessekornblum.com> # # Special thanks: # Piotr Chmylkowski <piotr.chmylkowski@gmail.com> # Romain Coltel <romain.coltel@hsc.fr> # # This plugin is free software; you can redistrib...
[ "mligh@volexity.com" ]
mligh@volexity.com
5ad46258b44db19e64334db4a262f1007335a9b6
b294fd66645d148d04c4373cd27a8244e91d8b3f
/node_modules/mongoose/node_modules/bson/node_modules/bson-ext/build/config.gypi
1684c93ac612cdd140c5872c13b2d229b2f74f26
[ "MIT", "Apache-2.0" ]
permissive
absaarhasan/hnw
8762c78393647e42c69cb20e7a2652364925c0de
a3329c87e7095979e4002ea82b2ee9de4057efb3
refs/heads/master
2016-08-12T08:28:27.470839
2016-04-04T16:09:49
2016-04-04T16:09:49
44,734,972
0
0
null
null
null
null
UTF-8
Python
false
false
3,515
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "clang": 1, "host_arch": "x64", "node_install_npm": "true", "node_prefi...
[ "[absaarcv@outlook.com]" ]
[absaarcv@outlook.com]
698b814d8dfcbd711c11c15b3ef76df552083b83
f78d5a6e72bed23160cfe6c909960d1aeb4fbee2
/hackathon_voiz_streamlit.py
2e6fb38e08dc1e9a654c7dc3047acce6bde58ac6
[]
no_license
ngttnguyen/myhackathon
6d1775342bbc7d0762e9dc4a37097335b60afd80
6fd85744b139cbad4b80e36313057c9cccd30784
refs/heads/main
2023-08-04T17:33:13.320364
2021-09-30T12:36:29
2021-09-30T12:36:29
405,927,512
0
0
null
null
null
null
UTF-8
Python
false
false
5,706
py
# Ref: https://towardsdatascience.com/data-apps-with-pythons-streamlit-b14aaca7d083 #/app.py import streamlit as st #pip install streamlit import pandas as pd import numpy as np from datetime import date from datetime import time import datetime as dt import base64 import io # Initial setup st.set_page_config(layou...
[ "ngttnguyen@gmail.com" ]
ngttnguyen@gmail.com
a072941e3e00481bf57d8d777f18169bba60b9c0
5aee801756920dd6a15dc656ed5f5fc55725b07e
/IO_assign/IOPin.py
0d3d7ac533e37ea94be26117b3a8802e6512a9dd
[]
no_license
wswslzp/PyIOAssignment
c507659c716a337c703ec6bcae398fc1578c4cd8
531045604cae408f029ef1f070e49aa0e98aa2eb
refs/heads/master
2021-12-19T03:15:36.532804
2021-12-10T09:34:07
2021-12-10T09:34:07
245,365,874
1
1
null
null
null
null
UTF-8
Python
false
false
1,878
py
from IO_assign.IOAttrTree import IOAttrLeaf, IOAttrTree class IOPinLocal(IOAttrLeaf): # define some variables shared in IOpin field def __init__(self): IOAttrLeaf.__init__(self, head="locals") self._setSingleRow() def setSide(self, side): # Specifies the side of the I/O pin. This...
[ "wswslzp@outlook.com" ]
wswslzp@outlook.com
f73c15367d50713fb92e1aae918234276cfd459c
5c2f9905a853f28fa1caf83445150f2e4adc8c62
/TestOnline2/urls.py
6a3a501fadeaca155cb1bb1c37d4ceeeb09f5a04
[]
no_license
janonoly/testonline
5eb9f44d03aaaa4707aef6ceb4b3b3e8cf48da6d
5d462ec5b42566cbf8e6cc131afd1b3dfee9546d
refs/heads/master
2022-12-12T15:44:32.884832
2020-02-09T11:17:48
2020-02-09T11:17:48
239,095,801
0
0
null
2022-12-08T03:34:43
2020-02-08T08:48:14
JavaScript
UTF-8
Python
false
false
1,439
py
import xadmin from django.urls import path,include,re_path from django.views.static import serve from Users.views import LoginView,RegisterView,ActiveUserView,ForgetPwdView,ResetView,ModifyPwdView,LogoutView,IndexView from TestOnline2.settings import MEDIA_ROOT #from apps.Exams.views import TrainView from Exams.views ...
[ "1369021134@qq.com" ]
1369021134@qq.com
2733ada706e7084eaa6567642d88d5dd1e838853
480ef178622c12adbadb37d204ee7afc7be5a8d3
/python/141-150/Binary Tree Postorder Traversal.py
35833108c21a6d9267e295105347434ec3376800
[]
no_license
talentlei/leetcode
9e71154af31c1fe563f7ad8f64dbc442d1148108
edf983bffe51ba7842446957ae9f34af6decb917
refs/heads/master
2021-01-19T07:43:16.483054
2015-07-07T15:20:09
2015-07-07T15:20:09
30,535,746
0
0
null
null
null
null
UTF-8
Python
false
false
665
py
# @param root, a tree node # @return a list of integers def postorderTraversal(self, root): if root==None: return [] result=[] stack=[root] pre = None while len(stack)>0: cur=stack[len(stack)-1] if (cur.left==None and cur.right==Non...
[ "chenlei_0630@163.com" ]
chenlei_0630@163.com
c6705abcd1b38cd180cd1869f249ca60fb5c4516
ef187d259d33e97c7b9ed07dfbf065cec3e41f59
/work/atcoder/abc/abc017/C/answers/121328_akio0803.py
35e70dd74eb09b1c6b633e244a904471419d122e
[]
no_license
kjnh10/pcw
847f7295ea3174490485ffe14ce4cdea0931c032
8f677701bce15517fb9362cc5b596644da62dca8
refs/heads/master
2020-03-18T09:54:23.442772
2018-07-19T00:26:09
2018-07-19T00:26:09
134,586,379
0
0
null
null
null
null
UTF-8
Python
false
false
285
py
N, M = [int(_) for _ in input().split()] res = [0] * (M + 2) ans = 0 for _ in range(N): l, r, s = [int(_) for _ in input().split()] res[l] = res[l] + s res[r+1] = res[r+1] - s ans += s for i in range(M+1): res[i+1] = res[i] + res[i+1] print(ans - min(res[1:-1]))
[ "kojinho10@gmail.com" ]
kojinho10@gmail.com
b12e1ca8ab8effb41a7d2ff4c549f872c10e47b2
f2a9f6d76824ea3a88b90fd44ec72b3149fab924
/VerilogCodeGen/systolic_n_body_codegen.py
d141193991efc026d2d6d26573dce77327e23251
[]
no_license
dmclark17/SystolicNBody
1db293ac3495b84e1526c4ad1bea22ffe86c4321
46c6a03426132259e636bc10d776cd13de7a5d5e
refs/heads/master
2023-01-22T01:22:32.646610
2020-11-16T15:13:29
2020-11-16T15:13:29
256,643,593
0
0
null
null
null
null
UTF-8
Python
false
false
28,352
py
# systolic_n_body_codegen.py # # This program automates SystemVerilog code generation of a Systolic array of # a given size for use in n body simulations. # # Developed by William McInroy, 2020/07/17. import argparse def parse_args(): parser = argparse.ArgumentParser( description='A script to automatical...
[ "mcinroyw@gmail.com" ]
mcinroyw@gmail.com
1d9e0efc7ef0c90b29881f938a4d87b37453c0d2
427d9e18b3a5b951529e491b16a68f9b1710c18a
/manage.py
e1434ff6c926ad41321a3bb596bb212c1549b80f
[]
no_license
kzhitizg/django_cricblog
618aa2806f65f3bcecd7642ce4c0d30c31654ec2
26f717a819cc081741b3c20f74ab3ae6c1fc162b
refs/heads/master
2020-07-16T01:25:56.052259
2019-09-01T14:45:12
2019-09-01T14:45:12
205,691,170
0
0
null
null
null
null
UTF-8
Python
false
false
540
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "cricblog.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Are...
[ "kshitizg99@gmail.com" ]
kshitizg99@gmail.com
d1e0f2c99924c7af2c81d76e5da675340af31e25
f0d34540cec8b0c5d0d4a22a5f35d1099286fa64
/1hw/1hw.py
cd1591a27b8d908a58919bb1b5845a69bb6c24ab
[]
no_license
chrsep/try-python
3cd1d00b30b8b2ce104c65b77bd99ccef89b2997
0a0f4dde0da62be613b7ef8d1619a042f8b011a4
refs/heads/master
2021-03-27T12:46:27.127911
2018-08-02T09:47:32
2018-08-02T09:47:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
86
py
a = 1 b = 2.0 c = "three" print(a, b, c) temp = a a = 9 c = b b = temp print(a, b, c)
[ "chrisep8@gmail.com" ]
chrisep8@gmail.com
10e2d1487315bb928296b66298978da171a19fac
fb909b0716f62ae118afa7d505cbcbd28f62bc63
/main/views.py
8282565f82dee5405121aed7cdc52d07b5200ebf
[]
no_license
dkalola/JustAsk-Final
a5b951462cd3c88eb84320bb8fcf10c32f959090
c2e7c2ffae4d3c2d870d5ba5348a6bae62db5319
refs/heads/main
2023-05-24T16:02:17.425251
2021-06-16T19:33:52
2021-06-16T19:33:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
74,259
py
from django.shortcuts import render, redirect from django.http import HttpResponse from django.contrib.auth.forms import AuthenticationForm from django.contrib.auth import login, logout, authenticate from django.contrib import messages from .forms import NewUserForm from . models import Student,Question,Answer,EBook,...
[ "divyanshukalola88@gmail.com" ]
divyanshukalola88@gmail.com
15da616ebb5f3323a3168dec01c1bc9f66f3b270
7fc9ebeb3b81da59a62a939d573d83cc504b6543
/odd_even_linked_list.py
38bdcf7d90f42d3cdb082189ebefc4854bb28ebd
[]
no_license
Qinode/leet_q_python
ae45896aba7911353e2f05f51b60a32ee7b03c84
9c9ff536a23f76ae76ae69ce840fa69ebe1ab313
refs/heads/master
2022-01-17T21:15:04.607397
2019-07-03T21:46:21
2019-07-03T21:46:21
117,480,249
0
0
null
null
null
null
UTF-8
Python
false
false
784
py
# Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: def oddEvenList(self, head): """ :type head: ListNode :rtype: ListNode """ if head is None or head.next is None or head.next...
[ "zheng.qin29@outlook.com" ]
zheng.qin29@outlook.com
c75733e212a92393681b13cd70eba3ea9efe56a0
f6dc6a80cd62ae8b30d4d7103e1bce744a519dd7
/venv/bin/face_detection
f65ac65ac9e0417b0309b33f08314fbedf8d300a
[]
no_license
ernestinekuti/facerec
45ed359b4ce9376513c3ae1bc93b9c234fb7669d
94b801880f8ba00d6d514734b360fcb830fe340a
refs/heads/master
2020-05-25T03:39:14.895050
2019-05-20T09:26:45
2019-05-20T09:26:45
187,608,819
0
0
null
null
null
null
UTF-8
Python
false
false
282
#!/Users/ernestinekuti/PyCharmProjects/facerec/venv/bin/python # -*- coding: utf-8 -*- import re import sys from face_recognition.face_detection_cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "ernestinekuti@Ernestines-MBP.home" ]
ernestinekuti@Ernestines-MBP.home
3f5852bacd825bf26d9c62b62094a3e9b126ef19
7abb86db144fa6aeb69fcff571496a5bb54f812a
/experiments_archived/leave_subject_out_2.py
c9da055fec6f678e811fbb227f42705cde3942f7
[]
no_license
mamaj/shared-gpfa
821273899956bd5a288db46007b11d04e9c9b588
72ef34b3574b674d0d4b1c4006e6ea8f8bc0bb22
refs/heads/master
2022-12-04T17:33:17.538648
2020-08-26T01:10:55
2020-08-26T01:10:55
255,756,129
1
1
null
null
null
null
UTF-8
Python
false
false
1,714
py
import tensorflow as tf import tensorflow_probability as tfp import numpy as np import matplotlib.pyplot as plt import pandas as pd from tqdm import tqdm from sklearn.model_selection import KFold from shared_gpfa import SharedGpfa from ea_data_loader import load_ea_data import time import pickle import math # Learn th...
[ "mamareza.e@gmail.com" ]
mamareza.e@gmail.com
9ceed50a69153b692c65e2371f53dfb4118e59fe
1a83d9fadc568cf36068be81c60952f7e9cd4e3f
/settings.py
725b40fd585d1b55291ba169de9f3698e56ab852
[]
no_license
Herdmanai16/Azi-s-game
94bda3a7ea58e6a48729d083cf7d186170aa1664
49cad33648b1752e354acfba85ff60744e14f40a
refs/heads/master
2020-12-02T21:08:48.898344
2017-07-05T00:56:22
2017-07-05T00:56:22
96,262,438
0
0
null
null
null
null
UTF-8
Python
false
false
1,033
py
import random # game options/settings TITLE = "Best Thing Since Sliced Bread" WIDTH = 750 HEIGHT = 600 FPS = 69 FONT_NAME = 'arial' HS_FILE = "highscore.txt" WIDTH1 = 70 WIDTH2 = 120 # player properties PLAYER_ACC = 0.9 PLAYER_FRICTION = -0.06 PLAYER_GRAV = 0.7 PLAYER_JUMP = 20 # starting platfor...
[ "noreply@github.com" ]
noreply@github.com
ff97908a8f54afb35129c8421de9c5f2107337f4
a38184918d9df3eb171badf9d84d59fa34482183
/spy_games.py
9985d96ff7bad7ad27b0df7ec3a072adb95794f6
[]
no_license
plazotronik/py_basic_diplom
677cdd0d6f24a121136195061bd83b467c33c1ab
c3ed65501917377882becdaa95cf355f9b3f852e
refs/heads/master
2023-05-26T01:11:40.112069
2019-07-27T12:44:27
2019-07-27T12:44:27
198,163,784
0
0
null
2023-05-22T22:28:58
2019-07-22T06:45:34
Python
UTF-8
Python
false
false
12,341
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from translate import translate from pprint import pprint from time import sleep import requests import tqdm import json import os URL = 'https://api.vk.com/method/' VER = '5.101' TOKEN = '73eaea320bdc0d3299faa475c196cfea1c4df9da4c6d291633f9fe8f83c08c4de2a3abf89fbc3ed8a4...
[ "admin@it-vi.ru" ]
admin@it-vi.ru
70f1677f1907cbc4a6cc4c3d18a640e017b09cb5
7c7ee44237e0d1fba799592a3b33e97f4f9b0931
/DASH/figures.py
72bb97092ee3eb5ef0d07323abb8c882f31cbe61
[]
no_license
Nereland/Decision_Making_during_Covid19
bd90921d8406888517b5b372bf15181acffed087
01dcb744108425982b03d03c769326e24bd49e3e
refs/heads/master
2022-12-01T20:36:57.438887
2020-08-10T14:43:52
2020-08-10T14:43:52
281,473,727
0
0
null
null
null
null
UTF-8
Python
false
false
8,004
py
import dash import dash_core_components as dcc import dash_html_components as html import plotly.express as px import pandas as pd import dash import dash_core_components as dcc import dash_html_components as html import plotly.express as px import pandas as pd import numpy as np import pandas as pd import seaborn as s...
[ "nereaamezcuav@gmail.com" ]
nereaamezcuav@gmail.com
6bc58283ed37b45ac5489b69e9678b4bc42d69d6
83d1e62b15168b1f1fddab8799db6f9759e6f7ef
/07-Ejercicios/ejercicio1.py
81f8e8d388bf990a49ebf50373c904991ba918f9
[]
no_license
ovjohn/masterPython
7184df9383a94c54af836d36a3be1a45cc523e1e
fdd4bcf2bc9b7a86fc3a5fdca0c59bb9d6cb7c7f
refs/heads/master
2022-12-30T00:40:06.573175
2020-10-19T21:02:12
2020-10-19T21:02:12
269,756,058
0
0
null
null
null
null
UTF-8
Python
false
false
366
py
""" Crear 2 Variable, una Pais y Otra Continente y Mostrar su valor por pantalla Porner Un comentario de cada Variable para decir que tipo de dato es¡ """ continente = input("Introduzca el Continente: ") #Variable de tipo string pais = input("Por favor indique el pais: ") #Variable de tipo string print(f" El pais e...
[ "olivaresvjohn@gmail.com" ]
olivaresvjohn@gmail.com
3df005a77531217e4f799cfa0c2ed935dc5578f6
29a1391f506aa8c55251a4dc1a69d026a8dd9cf1
/DBValue/SimpleDBValue.py
180839e73cfc8380e02558f803b1046d41676980
[]
no_license
eluke66/MusicDir
609e7fbccc08c24aa671b5f07cbca74141e02757
7d2f26567f1ada5706a2e81eaeb11c8bc82295e5
refs/heads/master
2020-12-24T15:58:55.913489
2012-06-23T16:30:13
2012-06-23T16:30:13
4,765,889
1
1
null
2013-05-24T09:33:09
2012-06-23T16:26:19
Python
UTF-8
Python
false
false
501
py
from DBValue import DBValue # Simple matching DB class. class SimpleDBValue(DBValue): def __init__(self,value,table,col): self.value = value self.table = table self.col = col def __str__(self): return "%s.%s = %s" % (self.col,self.table,self.value) def emitSQL(self): sql = "%s.%s=?" % (self...
[ "eluke66@gmail.com" ]
eluke66@gmail.com
5ffe4eb960ecc079f75a2040389023d3d5472ac1
d191d5fbd8218599f5a61162c7b628e20cc9b7d2
/map2.py
67bf7b2e0b3b5c366000f88ff890b8bd95fe2efc
[]
no_license
chethanaprasadwork/cloud_assignement1_mcm1
960465fd2f79781d0ebe91d21763d49ccfb2ae1b
578447a16316b1498c98e720dfbaa5737c8c4d50
refs/heads/master
2020-09-06T20:58:14.102129
2019-11-08T21:49:57
2019-11-08T21:49:57
220,549,122
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
#!/usr/bin/env python # coding: utf-8 # In[1]: #!/usr/bin/env python import sys # TF-IDF computation: Phase Two # Mapper output: <document_name, <word, word_count>> for line in sys.stdin: line = line.strip('\n') (key, word_count) = line.split('\t', 1) (word, doc_name) = key.split(',', 1) print_value = wor...
[ "noreply@github.com" ]
noreply@github.com
73ce19ad01eb026cf809463828cb6af8695be192
7aab309dee577d4df80f69b47dc4ec48d2ed451a
/python_tasks_basics/general_tasks/task_24.py
4bc7220767b3448f133c10ddde68b63ad3158abe
[]
no_license
omitiev/python_lessons
64f657e32d4414e75c6510ec111240018ed6b7d5
97561e56814c514756e207c2b323ca8e1366994e
refs/heads/master
2021-10-09T06:32:30.154748
2018-12-22T12:02:28
2018-12-22T12:02:28
97,019,527
0
0
null
null
null
null
UTF-8
Python
false
false
1,601
py
# Случайным образом программа выбирает целое число от 1 до 10 и предлагает пользователю его угадать. # Пользователь вводит число,а программа проверяет его и, если пользователь не угадал, то говорит больше или меньше. # После чего опять просит угадать. И так пока пользователь не угадает выбранное число. import default ...
[ "oleksii.mitiev@gmail.com" ]
oleksii.mitiev@gmail.com
525103668095b1083f278fa59a97bb45e58eadf4
043131e6d249969051b442ee63c9411ab8bffd81
/catalog/models.py
8f379d50b2e951e55f51732ddba93f0a28077386
[]
no_license
purebualoi101/online_shoping
7e83ba1c2b7866c6ddebe2b1d841e51d93e79db4
523308aecffb20581bd05ca8bc4bd67a97a13735
refs/heads/main
2023-03-31T00:14:23.295005
2021-03-29T02:40:02
2021-03-29T02:40:02
351,781,369
0
2
null
2021-03-31T14:30:31
2021-03-26T12:52:36
Python
UTF-8
Python
false
false
690
py
from django.db import models # Create your models here. class MovieType(models.Model): type = models.CharField(max_length=5) class MovieTag(models.Model): tag = models.CharField(max_length=10) class Movie(models.Model): name = models.CharField(max_length=20) price = models.CharField(max_length=10...
[ "s6101012630054@email.kmutnb.ac.th" ]
s6101012630054@email.kmutnb.ac.th
937305d5658cdfacf3454591443daa684f98862e
6921d7e20e5d4f117487525f2424e96bafc01523
/extract_sentence.py
b1555551c5ea681a5effc2d79cba755a5960090c
[]
no_license
shadowkiller33/AESOP
0927011886e682351d6b0807a53aca92252a05bc
35083404b21240c6a9109fac741f51659daee511
refs/heads/master
2023-08-25T05:42:27.878588
2021-11-06T06:09:51
2021-11-06T06:09:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,859
py
import argparse parser = argparse.ArgumentParser() parser.add_argument("--input_file", help="the input file from bart output") parser.add_argument("--keyword", default="<sep>") args = parser.parse_args() input_lines = open(args.input_file, "r").readlines() # ref_lines = open(args.ref_file, "r").readlines() keyword ...
[ "765641633@qq.com" ]
765641633@qq.com
b4822ca44563f6be4ba21dc3c949c510cffc59b8
bc167f434158921bcf2c678155c5cdfec1c9b0c9
/PI_code/simulator/behaviourGeneration/firstGenScripts_preyHunter/behav143.py
69e2c39d1de031eb531fff7484cfaf7bc99323d5
[]
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
737
py
#!/usr/bin/python import sys def compute(prey): if prey[0] != 0: temp0 = prey[1] % prey[0] else: temp0 = prey[0] temp1 = temp0 * prey[0] temp1 = prey[1] + prey[0] temp2 = max(temp1, prey[0]) temp3 = temp1 + temp1 if prey[1] > prey[0]: temp4 = temp0 + prey[1] else: temp4 = temp1 + prey[0] temp1 = temp4...
[ "i7674211@bournemouth.ac.uk" ]
i7674211@bournemouth.ac.uk
9308ae4ebcf181f0896ffd022dd31f4ecff6f8df
f4c753c85b23014faa43f905aef817e8d493e187
/core/fill/fill_types.py
c35def3435f65e21e0c6c7c44920c1335e35f5ec
[ "MIT" ]
permissive
bdrydyk/building_tool
61cbfe76af7b4af56ea714670609961efd809385
8da3d17d74591a556d597a4f360d3730d1ae4c1a
refs/heads/master
2020-06-25T16:56:58.726059
2019-07-21T17:51:26
2019-07-21T17:51:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,067
py
import bmesh from mathutils import Vector, Matrix from bmesh.types import BMEdge, BMVert from ...utils import ( filter_geom, calc_edge_median, calc_face_dimensions, filter_vertical_edges, filter_horizontal_edges, ) def fill_panel(bm, face, prop): """Create panels on face """ if prop.pa...
[ "karanjaichungwa@gmail.com" ]
karanjaichungwa@gmail.com
390c3c34be41f14abbe91bf7cca014ccd20d8a38
a323d8223f63005655ee552505c4b4873b65c850
/scripting/windows_recon.py
1ed840a6980da45fa88693c95b8a0a98cb95f0f8
[]
no_license
CiarraMatthews/DevOps
5ee60673e785c1a2cb775c35eb6faa378cd38090
a3f8e33bbbc595f4fec625ab07dd831d489c1946
refs/heads/master
2021-09-16T17:15:23.206906
2021-08-28T20:44:52
2021-08-28T20:44:52
202,915,456
0
0
null
null
null
null
UTF-8
Python
false
false
234
py
#!/usr/bin/python import os import socket import subprocess def main(): uname_info = os.uname() print(uname_info) main() # sysinfo = subprocess.check_output("systeminfo") # print(sysinfo) #if __name__ == '__main__': # main()
[ "cdmatthews@ucdavis.edu" ]
cdmatthews@ucdavis.edu
86d860b0d911ba83cba8a4dfdf4fe2703285de11
32c651545c41d29fb42bbadb6c33e17c6c020b93
/webtest/src/test/common/__init__.py
2981b9fcfd7493ba3435fcf29f85d74f0e79d20d
[]
no_license
Lingzy/kingdeewebtest
04d9aa760476a6239bcf4a3f570df08d8630b33f
bfffa2d3168c67fa6482089c61f7a178402c8f79
refs/heads/master
2020-03-22T12:29:23.345276
2018-07-08T07:13:18
2018-07-08T07:13:18
140,043,293
0
0
null
null
null
null
UTF-8
Python
false
false
33
py
# 通用代码放于此文件夹
[ "lingzhengying@outlook.com" ]
lingzhengying@outlook.com
2ebfd800f9581654928cde2678712a31a6ebfe08
b8687c51919cd801146eeaf2229b642b2abb4479
/stale_sync_train.py
ab35e00523fa8f1793d24d4c1efcc0d922a5bd55
[]
no_license
vikrambhatt1405/Dist-ConvKB
9ea0d42c5a8ccb143a17f79c5d8a58be505d1437
a422f3785f056ab59c2a8d434e6c481284e93283
refs/heads/master
2020-04-10T17:44:41.085611
2019-01-23T03:33:36
2019-01-23T03:33:36
161,182,592
0
1
null
null
null
null
UTF-8
Python
false
false
8,558
py
import tensorflow as tf import numpy as np from importlib import reload np.random.seed(1234) import os import time import datetime from argparse import ArgumentParser, ArgumentDefaultsHelpFormatter from builddata import * from model import ConvKB import sys REPLICAS_TO_AGGREGATE=2 # Parameters # ======================...
[ "noreply@github.com" ]
noreply@github.com
b4334a3b0034816fe4a2bbcd37170371a7f3d3f3
f1c28c7ad43bfb7338450ec73c1448168cf7e984
/src/controlFlow.py
2ea31dd9eb48f4972dc6492b72e4121cf45aae7c
[]
no_license
cKompella/python-basics
8f0913e330c06f921e8e2c2542d756dddcdf10c8
2785ccd52d5a983bb57bee98eab1430d36238054
refs/heads/main
2023-02-10T13:49:24.344445
2021-01-11T01:59:16
2021-01-11T01:59:16
327,164,137
0
0
null
null
null
null
UTF-8
Python
false
false
821
py
#asks users for package weight, determines best shipping method and its cost #finds ground_shipping_cost def ground_shipping_cost(weight): return weight*4.0+20 #finds drone_shipping_cost def drone_shipping_cost(weight): return weight*4.5 #finds cheapest shipping method def cheapest_shipping(weight): drone_cost =...
[ "chinmayi.kompella@gmail.com" ]
chinmayi.kompella@gmail.com
6fe5f23bd91afed7a5a5a947bc2ecfc947a7495a
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/pfnet_chainer/chainer-master/examples/ptb/gentxt.py
c034207b2ef2a5e688211a486a4d0ed0e00d2277
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
3,083
py
#!/usr/bin/env python """Example to generate text from a recurrent neural network language model. This code is ported from following implementation. https://github.com/longjie/chainer-char-rnn/blob/master/sample.py """ import argparse import sys import numpy as np import six import chainer from chainer import cuda ...
[ "659338505@qq.com" ]
659338505@qq.com
3b54a9446bf86c027d59ff677eaad61370b0b2cb
92cf3ce83fc1c831af4441c6f6ac2e2b02e180f3
/Pacman/Nodes.py
69fd211289a2a3c4ee9b79791fbee954b084fcf2
[]
no_license
BryanCastro/CPSC-386
08ad7f89198434c5f6309848327439c13a50b41b
64fff1f70681d70d87aafad94204806af37c5b78
refs/heads/master
2020-04-23T05:42:51.791472
2019-03-11T18:06:39
2019-03-11T18:06:39
170,948,175
0
0
null
null
null
null
UTF-8
Python
false
false
489
py
class Node(): def __init__(self): self.tag = "" self.connected_to = def read_nodes(): # self.start_y = test.half_reserved_height # self.start_x = test.half_reserved_width with open("text files/Nodes.txt", 'r') as node_file: file_context = node_file.readlines() for line...
[ "bryanc77777@gmail.com" ]
bryanc77777@gmail.com
ce9a53ce1b8f5133ac09f904d7d4fd841fd3e754
bdfbd31fb7003abbca0d7f57377d79d1bbc62e16
/flaskBlog/models.py
a99b186c56873a840189f511018bb021eb191deb
[]
no_license
fahadaleem/Blogify-backend-flask
5130e6dbeb085ea9feb30ecbb16456957c3a6735
bc14db65715151d2a78960b245fc255861026567
refs/heads/master
2023-05-24T04:39:29.507113
2021-06-11T11:46:13
2021-06-11T11:46:13
376,008,072
0
0
null
null
null
null
UTF-8
Python
false
false
899
py
from enum import unique from sqlalchemy.orm import backref, defaultload from flaskBlog import db from datetime import datetime # class User(db.Model): # id = db.Column(db.Integer, primary_key=True) # userName = db.Column(db.String(20), unique=True, nullable=False) # email = db.Column(db.String(40), unique...
[ "faleem396@gmail.com" ]
faleem396@gmail.com
f485ee61d84f7f7c07c020fb123c1234f06753e4
3730de2752e1d39dcd26a8b7a03b4a4a91c908e7
/src/checkout/test_serializers.py
76dbd0a6abeed0f86442efb6fe2f920921632681
[]
no_license
mathilde206/weekend-plannerV2
6befc52416b63f6436f836c2c667839dcb196904
14abaddf341f991d675abdf90944600392188d29
refs/heads/master
2023-08-03T10:37:25.590046
2023-07-21T11:24:42
2023-07-21T11:24:42
141,804,873
1
1
null
2023-07-25T15:26:37
2018-07-21T11:04:45
JavaScript
UTF-8
Python
false
false
800
py
from django.test import TestCase from checkout.models import (Order, OrderItem) from checkout.serializers import OrderDetailSerializer from products.models import Product from django.contrib.auth.models import User class TestAccountSerializer(TestCase): def setUp(self): self.user = User.objects.create_use...
[ "mathilde.barbier@ppro.com" ]
mathilde.barbier@ppro.com
9776ff2629f618ac5efa526007a2ffb4456ac25b
51b486f3e5f82800008c9d0f32eeaa0af2fb6102
/CIS41A_Default_Dictionary_Exercise.py
ae36b1a50b7606ed81047e1db29585b9de1ee825
[]
no_license
nandhinipandurangan11/CIS41A_DefaultDictionaryExercise
a2455ef7d2def930d79cc38a9ad4a0da94bc541d
6f51a4e29fe5f7313a475d54d7c08a44847003d0
refs/heads/master
2022-12-15T08:23:02.192735
2020-09-07T16:47:41
2020-09-07T16:47:41
293,582,466
0
0
null
null
null
null
UTF-8
Python
false
false
1,994
py
# CIS 41A: Default Dictionary Exercise: Nandhini Pandurangan # Using the Dictionary Exercise, replace the dictionary with a Default Dictionary. import csv import collections # Student class contains 2 strings: the first and last name of the student class Student: # constructor def __init__(self, first_name,...
[ "nandhinipandurangan11@gmail.com" ]
nandhinipandurangan11@gmail.com
1d1e171ab57bfd4cec11bd2fa1323c2d251a9d77
a7077ec673a9ea861e3822b07b58be29711dde6b
/ui_save.py
716c1e061820367e14ad63fc5f57cd4ea0acc057
[]
no_license
YonathanGuez/Adress-Book-Python-
900dc7e40c8f7da46875d85525f0034dd8387160
436fbace6162ba0a02fdc4e23f64da0498c1c996
refs/heads/master
2021-01-01T15:36:22.133293
2015-02-09T15:50:40
2015-02-09T15:50:40
30,543,328
0
0
null
null
null
null
UTF-8
Python
false
false
2,308
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'save.ui' # # Created: Fri Oct 10 01:51:31 2014 # by: PyQt4 UI code generator 4.10.4 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 except Attribute...
[ "yonath-g@hotmail.fr" ]
yonath-g@hotmail.fr
801454524ec5669cc57cfaaa433611d7aa678f7c
979451d41a2691356ca1e21cbc5ddeef6cbb0bff
/test.py
56011cef132b3532ff7a39e60e0f3bfabfec4970
[ "MIT" ]
permissive
SuperFluffy/colorfill-py
5baca9b3d0def424fd306ef4cd569dda4030c743
9caecf654d9c584ff6408f4b3e0836a2e9f53cff
refs/heads/master
2020-04-28T22:13:09.134096
2019-03-14T21:16:51
2019-03-14T21:16:51
175,609,799
0
0
null
null
null
null
UTF-8
Python
false
false
1,901
py
#!/usr/bin/env python import colorfill import numpy as np import unittest class TestColorfillGame(unittest.TestCase): def setUp(self): self.board = np.array([ [1,1,2,3], [2,3,4,1], [2,3,3,1], [2,3,1,1] ]) self.game = colorfill.Game(self.boar...
[ "janis.beckert@gmail.com" ]
janis.beckert@gmail.com
b9a7ff69b40425ab32d83029d44e4a17a0dede95
03848fadff877cdd783f44a7571b8917c07038ac
/tests/scripts/thread-cert/Cert_8_3_01_CommissionerPetition.py
f8562767136834329ab00bf08acade394fc993bb
[ "BSD-3-Clause", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
XPAWAN/openthread
71adc390674db3e43771865ade682be4aa6cc675
7e7da0e21149925d42f26f2e563e15c0b17226b2
refs/heads/master
2022-08-26T09:28:33.683256
2022-07-07T03:30:23
2022-07-07T03:30:23
195,210,405
0
0
null
2019-07-04T09:21:54
2019-07-04T09:21:54
null
UTF-8
Python
false
false
16,047
py
#!/usr/bin/env python3 # # Copyright (c) 2020, The OpenThread Authors. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright # ...
[ "noreply@github.com" ]
noreply@github.com
a08dc733f425fa4162c4e2ffaddce66b9491280b
3fa33b631d161d01896d1c33938245bd9cf0019c
/day12/orm_m2m.py
82010424344d195f1be1d9700ad2742f628e169b
[]
no_license
BigCity-SmallLove/test
012f69342afe9498c6a35086373ba06e960751a0
2370fab536cf00f446925b87dd15a1854e48ca21
refs/heads/master
2020-03-27T15:46:47.331645
2019-12-28T05:15:42
2019-12-28T05:15:42
146,738,453
0
0
null
null
null
null
UTF-8
Python
false
false
1,190
py
# Author:Jacke from sqlalchemy import Table, Column, Integer,String,DATE, ForeignKey from sqlalchemy.orm import relationship from sqlalchemy.ext.declarative import declarative_base from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker Base = declarative_base() book_m2m_author = Table('book_m2...
[ "31907146+BigCity-SmallLove@users.noreply.github.com" ]
31907146+BigCity-SmallLove@users.noreply.github.com
111e184e4618fc600d7bfced3ff6d93feb9e5217
975da64ee000833af92148b647ea1bea1deac6fe
/test/test_replace_phone_number_params.py
188e89fc12c3deeca09f0ee74c12b0cc356e1bbf
[]
no_license
bitlayergit/API-SDK-python
41c84eadae31556fae818e636565723d3112aa2c
111b4eb9b725d7a8feb31b8e0af8bb2ee79dcda3
refs/heads/master
2021-07-06T08:51:56.984499
2017-09-28T15:37:20
2017-09-28T15:37:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
987
py
# coding: utf-8 """ Phone.com API This is a Phone.com api Swagger definition OpenAPI spec version: 1.0.0 Contact: apisupport@phone.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import os import sys import unittest import swagge...
[ "i.simevski@gmail.com" ]
i.simevski@gmail.com
27c8151952d40da1b2200311ac189297b2ea654f
709795efbed416031b5582cc437cf3e67eb73a07
/string_factory.py
797b5058c8a6b1a1c2b9c35843afb11c18df332d
[]
no_license
VanessaSergeon/Python---Treehouse-Challenges
68acbbe7ec5432acc8f793fedb720cc5d82ba4b4
07474896faf99ebda5dfe1b9510b2798b2692ef3
refs/heads/master
2020-04-13T20:52:57.349111
2014-09-24T14:34:53
2014-09-24T14:34:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
422
py
dicts = [ {'name': 'Michelangelo', 'food': 'PIZZA'}, {'name': 'Garfield', 'food': 'lasanga'}, {'name': 'Walter', 'food': 'pancakes'}, {'name': 'Galactus', 'food': 'worlds'} ] string = "Hi, I'm {name} and I love to eat {food}!" def string_factory(dicts, string): result = [] for ...
[ "vsergeon@gmail.com" ]
vsergeon@gmail.com
25d1ab5fa5323608fa813708f55a2cc50439ed27
c959c26e196dea137f6005b75a172fb5759ec719
/ricsi/generator/pong_generator_online.py
3b9247933e67320dfd6d326514f178ce1c7f0e6d
[]
no_license
gazsi3/wimblepong
0bbadeceea8f797fe8b7f6faa019c0f352019ae0
b095765f7e9531a143a45b850f080243343940f9
refs/heads/master
2020-09-13T22:47:04.719443
2019-12-07T08:37:53
2019-12-07T08:37:53
222,926,984
0
0
null
null
null
null
UTF-8
Python
false
false
7,654
py
import wimblepong import gym from wimblepong.simple_ai import SimpleAi import matplotlib.pyplot as plt import numpy as np import pickle import torch from torch.autograd import Variable import torch.nn.functional as F import torch.utils.data as Data class PongTrainbench(object): def __init__(self, render=False):...
[ "richard.lengyel@campus.tu-berlin.de" ]
richard.lengyel@campus.tu-berlin.de
e16c091c44f637e7ad7bcb5864d0ca8b8c81ce50
e132e75cabc6ba7bcb7c1118861d6fcce0d0361f
/test.py
6f20b03ba7abd8e7c51942b1e5f5c7f8e1449c64
[]
no_license
hwrdtm/movie_embeddings
f58395eba42a312522020f51fed9fdd32b94b4e5
55f3037f8334ef472324642d12b319a4c1e54bc0
refs/heads/master
2021-01-11T16:44:45.452088
2017-01-21T19:01:29
2017-01-21T19:01:29
79,665,668
1
0
null
null
null
null
UTF-8
Python
false
false
193
py
import numpy as np test = [ [1,2,3], [4,5,6], [7,8,9], [10,11,12], [13,14,15], ] ind = 1 copy = list(test) copy[ind] = [0,0,0] print np.dot(test[ind],np.transpose(copy))
[ "howard.tam.95@gmail.com" ]
howard.tam.95@gmail.com
5ae8e4f6bff9c4bb0c4b6d58c9158e149983f7ed
372edad1cd6399cadba82818e9fb9682c3bac1b4
/packages/python/plotly/plotly/validators/_histogram2d.py
b2bbad238bb208885da6ffff8f69637c6d5e0789
[ "MIT" ]
permissive
OGVGdev/plotly.py
78bfa9e25e92c367f0da30af7885cdd163ba612b
96a9101c79aa588023f56153bf274d0d570ffcf6
refs/heads/master
2022-11-10T16:44:06.732450
2020-06-26T13:07:06
2020-06-26T13:07:06
275,173,321
1
0
MIT
2020-06-26T14:19:41
2020-06-26T14:19:40
null
UTF-8
Python
false
false
16,417
py
import _plotly_utils.basevalidators class Histogram2DValidator(_plotly_utils.basevalidators.CompoundValidator): def __init__(self, plotly_name="histogram2d", parent_name="", **kwargs): super(Histogram2DValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, ...
[ "noreply@github.com" ]
noreply@github.com
9caba90db300d554429de8efaa1af3cfebbf9ed7
eeeb902223d15089398f66e5c87f5765838eb1e4
/facturx/pdfwriter.py
51d735c7f29ba14fe6608a321268c8d2f846980e
[ "BSD-3-Clause" ]
permissive
invoice-x/factur-x-ng
bda7f4dbd508e1eb1d38cfffc45123a47b3729ad
7d2069436d6569a2f5b20170ee470ebc7b5066e8
refs/heads/master
2020-03-16T06:33:33.061464
2018-10-10T23:56:29
2018-10-10T23:56:29
132,557,575
34
9
NOASSERTION
2018-10-10T23:56:12
2018-05-08T05:19:39
Python
UTF-8
Python
false
false
21,101
py
import io import os import yaml import codecs from io import BytesIO from lxml import etree from tempfile import NamedTemporaryFile from datetime import datetime from PyPDF2 import PdfFileWriter, PdfFileReader from PyPDF2.generic import DictionaryObject, DecodedStreamObject,\ NameObject, createStringObject, ArrayOb...
[ "manu@snapdragon.cc" ]
manu@snapdragon.cc
ada46b035a399992d1b92db668b619ceb6f7a703
35e00d1996515ccf3151067ff28ff3357078f0b6
/google/pubsub_v1/services/subscriber/transports/base.py
d50b8baf683cbde3f253dee4f766efed2d53690a
[ "Apache-2.0" ]
permissive
googleapis/python-pubsub
5bb18674307bd89236a61c0d7c5079f10e19467e
1b9724324c58d27bcee42020b751cda58d80fddb
refs/heads/main
2023-09-03T13:14:22.894233
2023-08-28T13:18:36
2023-08-28T13:18:36
226,992,581
321
195
Apache-2.0
2023-09-10T23:29:10
2019-12-10T00:09:52
Python
UTF-8
Python
false
false
19,653
py
# -*- coding: utf-8 -*- # Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
noreply@github.com
b1d805212e9e586cd1696a894be92a3fe7dda554
a0c3b37c73b3437a831229e4e884ba7a5e0e9b9e
/CrawingPy/korean_dict/openapi.py
14001518ea109498e61a0fdcd23b6381848ec648
[]
no_license
couragesuper/couragesuper-ds
12f1e19f57b0c0ab5b3b6df0dadf2a1b78d2bf94
26a79de2eb2ece47a01c5e698b27c582e29b3d63
refs/heads/master
2023-01-04T01:22:30.956934
2023-01-02T13:36:20
2023-01-02T13:36:20
143,246,282
1
1
null
null
null
null
UTF-8
Python
false
false
3,129
py
import urllib.request from xml.etree import ElementTree as ET # 한국어 사전 Open API를 사용하는 샘플 if False : authkey = "5A0C7461A0E21C7DD7B237BE56922A61" encText = urllib.parse.quote("나무") url = "https://krdict.korean.go.kr/api/search?key=" + authkey + "&type_search=search&method=WORD_INFO&part=word&q=" ...
[ "couragesuper.kim@lgepartner.com" ]
couragesuper.kim@lgepartner.com
3180c44ade750ebe169aa2a3432b24205eb2d439
281f001685ed35f00798237c99758248705c865e
/blog/migrations/0001_initial.py
9d50ca1bd44e12498a8f23fd4798f355c0345e1c
[]
no_license
marina189/my-first-blog
29a25d9719f73dee169f7dd64713457f17f3687e
6f08ea0bdb3fd1f39642ea960bd187104e85e8e7
refs/heads/master
2021-01-21T13:03:58.289534
2016-07-05T15:43:22
2016-07-05T15:43:22
59,575,211
0
0
null
null
null
null
UTF-8
Python
false
false
1,048
py
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2016-05-17 16:40 from __future__ import unicode_literals 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 depende...
[ "marinka1_89@ukr.net" ]
marinka1_89@ukr.net
0b46bea0b31d66612c7f04925bc5e13e201cbb5a
04ede512c840b6b65362f5b3d952ffd52a213d7a
/Basics/print.py
ac7f30400e789f02331ede9322c848d7c91289b9
[]
no_license
not-an-anagram-lover/Python-Hello-World
758407ede47a5e89f14d744c19a25dfb79c60017
689127b25aef9207a168723065b03fbccf575ab2
refs/heads/master
2021-09-17T13:10:58.337069
2018-07-02T07:07:29
2018-07-02T07:07:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,318
py
print("5"*3) print("x","y","z") print("it is a beautiful day") print("love",43,98.08) print("love",43,98.08,sep=',',end='--\n') print("love",43,98.08,end=':') print("") for y in "python": print(y) print(y,end=':') print("") for y in "python": print(y,end=':') print("") print("About assi...
[ "noreply@github.com" ]
noreply@github.com
148d097216699d2a68a987361655c5f84bc8326b
248f56b1fb0cb20796e5a29736a37fa4106fa0bb
/2022KAKAOBLIND/solution3.py
ed3658e9ce984ff7a5c5eca0daef151660b3f2a1
[ "MIT" ]
permissive
KOOKDONGHUN/programmers
b24d672c67180765daca3036c72600ba17e0bd50
87ac8fcc23b14b3293c37933e4b9bbf663792830
refs/heads/main
2023-08-15T21:44:04.462043
2021-10-02T05:35:23
2021-10-02T05:35:23
401,706,119
0
0
null
null
null
null
UTF-8
Python
false
false
2,740
py
from datetime import datetime import math def solution(fees, records): answer = [] t_ls = [] car_num_ls = [] check_ls = [] car_num_ls2 = [] minute = 60 dead_line = "23:59" log = dict() for record in records: t, car_num, check = record.split() t_ls.append(t) ...
[ "dh3978@naver.com" ]
dh3978@naver.com
442923e518d4e8870d6df25353e175eba6d6bb09
1df63908445a5fcead51bea18bfcfde97ea26b70
/onadata/apps/logger/south_migrations/0039_auto__del_field_xform_surveys_with_geopoints__add_field_xform_instance.py
91a0f4da28e8b7e1669be7ec2a5801c07d1bd8ee
[ "BSD-2-Clause" ]
permissive
qedsoftware/kobocat
328ffedae679d9bca19f1b2be9fa5d57f312334f
273e06a352350d69a8fb4624bcab74d601e35ba6
refs/heads/master
2023-01-05T11:05:59.874517
2020-02-18T18:24:26
2020-02-18T18:24:26
77,611,974
1
0
BSD-2-Clause
2020-10-12T21:06:24
2016-12-29T12:52:04
Python
UTF-8
Python
false
false
12,668
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Deleting field 'XForm.surveys_with_geopoints' db.delete_column(u'odk_logger_xform', 'surveys_with_geopoint...
[ "peter@helioid.com" ]
peter@helioid.com
a419580b22a61cf50d55282b2c0db5b86fb96026
e08dcb07f5078a794f776cbe9c58c44749bd2efd
/apps/nest/admin.py
d4781aef8bd5ed96d57fec9f8bc6ce7b75c8a0e3
[]
no_license
DmitryDanileyko/CutNestPrint
95b28f81d6d32c637aa38b582c694c4ae87d6465
7ca2db5f32210139bef78633b10c2d945fe3918d
refs/heads/master
2023-06-20T06:57:43.727729
2021-07-12T15:07:11
2021-07-12T15:07:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
732
py
from django.contrib import admin from modeltranslation.admin import TranslationAdmin from apps.nest.models import Categories, Fashions, Items, Sizes, Pieces class CategoriesAdmin(TranslationAdmin): list_display = ('name', 'sequence',) class FashionsAdmin(TranslationAdmin): list_display = ('name', 'sequence',...
[ "danileyko@gmail.com" ]
danileyko@gmail.com
d964236f3be466efa14fb59c4c8a52fd4f6db1ac
38d46e88e60ba06cdff942f7ef4efa9c138b6f02
/scrapy_guazi/s1/s1/main.py
b0abbfdab1f7c05152f720dfe3df5f8dbc3f5afe
[]
no_license
summerlove66/Crawler_demo
b774d9f145979090362cb4418ecf4e1024773db9
2d95d325cdbeb172d5559e273b802e7cef3c0316
refs/heads/master
2020-12-11T05:47:07.056691
2016-12-05T08:41:51
2016-12-05T08:41:51
63,658,078
0
0
null
null
null
null
UTF-8
Python
false
false
91
py
# coding: utf8 from scrapy import cmdline cmdline.execute("scrapy crawl guazi".split())
[ "noreply@github.com" ]
noreply@github.com
0bc0bfd5a245b32c79060467ad696306118b2dc2
784dbe8d4d01793020887611543135230cc284ab
/selector/selector.py
22033082cca0103aacc797a0771c29462e28af94
[]
no_license
heyaoyao/pyweibo
3fe2df4dd6718f39229593652eadea51493394a8
dd5bcb89d2a53edf82e0c4aef455d3595d5db618
refs/heads/master
2021-01-22T22:09:10.149688
2017-06-19T02:42:13
2017-06-19T02:42:13
92,761,904
0
1
null
2017-06-19T02:42:14
2017-05-29T17:38:58
null
UTF-8
Python
false
false
719
py
# -*- coding: utf-8 -*- """ create on 2017-06-19 上午12:18 author @heyao """ from lxml import etree class Selector(object): def __init__(self, response=None, text=u''): if response: encoding = response.encoding text = response.text.decode(encoding) self.selector = etree.HTM...
[ "heyao@haimaqingfan.com" ]
heyao@haimaqingfan.com
d0052474efb7ba4c2d8a78d71a6515e85a96e4d2
378019316102278e3647ca05467592af27fb3973
/assignment_0and1_solution/MP1/models/Perceptron.py
c7224b04a39b291f9d4b9671c83913f5ab47fce9
[]
no_license
akabiraka/cs747_deep_learning
27edf76b92354c3c3e12704dbfa7f873344d8a20
9a5c928d8c3b4bff31648f18e08ad44797955a26
refs/heads/master
2022-12-06T22:03:55.290073
2020-02-20T19:23:59
2020-02-20T19:23:59
241,792,981
0
0
null
null
null
null
UTF-8
Python
false
false
4,593
py
import numpy as np import scipy import math import matplotlib.pyplot as plt class Perceptron(): def __init__(self): """ Initialises Perceptron classifier with initializing weights, alpha(learning rate) and number of epochs. alpha=1.0, epochs=20 """ self.w = None ...
[ "akabir0101@gmail.com" ]
akabir0101@gmail.com
055c29d2c21f9ee3e6b350a4270bf499c96aa1bf
8a2e658e66cd3f67007fa3cf1bb93cbf50725ace
/server.py
f63fe1a05b63fb6c906710ac85624718095cdd3e
[]
no_license
sumeetmathpati/tic-tac-toe-multiplayer
5bb869c9abad910447a1cff4968f1c4a67e92bba
dddae9c8b328f86d5ccadbff174b2ac6175383f5
refs/heads/master
2022-04-28T11:09:17.111535
2020-05-01T20:12:21
2020-05-01T20:12:21
250,343,269
1
0
null
null
null
null
UTF-8
Python
false
false
4,708
py
import socket import random import signal import sys from os import system, name from termios import tcflush, TCIFLUSH # ---------- SOCKET DATA ---------- # Create socket serversocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) # Frees the socket to reuse serversocket.setsockopt(socket.SOL_SOCKET, socket.SO_R...
[ "sumeet221b@gmail.com" ]
sumeet221b@gmail.com
241fb0801111b0b2599a4deb57661e945d67e045
7c6b049d97623db0b065155dfc3bcfedacd9e0a2
/primer2.py
0323bd5feb201eb7562dc2c056d2a435173397ba
[ "MIT" ]
permissive
Timofej8971/lab-4
b0c012401c35e61965b6918641baf0448f90cf24
3be1db2e650eacbeabab23020e1608e350a60c3d
refs/heads/main
2023-04-24T15:54:09.029388
2021-05-05T19:16:09
2021-05-05T19:16:09
357,817,888
0
0
null
null
null
null
UTF-8
Python
false
false
481
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import sys if __name__ == '__main__': n = int(input("Введите номер месяца: ")) if n == 1 or n == 2 or n == 12: print("Зима") elif n == 3 or n == 4 or n == 5: print("Весна") elif n == 6 or n == 7 or n == 8: print("Лето") elif n ...
[ "tortik8971@bk.ru" ]
tortik8971@bk.ru
b08da5a454e4252c209b288c741b09583865fedc
d5722200bf6600925b8ed7281dba4e8c20940820
/paysystem/settings.py
82c977468ead7638da0494a62d62d66417d61d0a
[]
no_license
kirillaborin/paysystem
902755915441f79766b6687df4ea25e1af2ae5f0
f84fff1beb5498febb2089861cf642fecfe6ff38
refs/heads/master
2021-09-24T18:17:58.820516
2020-02-11T00:38:31
2020-02-11T00:38:31
239,412,051
0
0
null
2021-09-22T18:32:47
2020-02-10T02:34:15
JavaScript
UTF-8
Python
false
false
4,002
py
""" Django settings for paysystem project. Generated by 'django-admin startproject' using Django 3.0.3. 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 ...
[ "ak@rfibank.ru" ]
ak@rfibank.ru
cfe477e393060d64feeef9b31e167c6173879e9d
7eb0b1b3308cfec9ee90b07aedea567d303f8232
/build/catkin_generated/order_packages.py
d40b465694d0a7a934e0d924819d7469edad3a5d
[]
no_license
chinhuang1000/test
c26dddfaa99a947454bab9eba121840e8ff7f702
1eee3e09452604efebb4cccdc858902a8a06d2aa
refs/heads/master
2022-12-09T03:05:38.111857
2020-09-12T09:03:00
2020-09-12T09:03:00
294,910,016
0
0
null
null
null
null
UTF-8
Python
false
false
354
py
# generated from catkin/cmake/template/order_packages.context.py.in source_root_dir = '/home/rachel/ws/src' whitelisted_packages = ''.split(';') if '' != '' else [] blacklisted_packages = ''.split(';') if '' != '' else [] underlay_workspaces = '/home/rachel/ws/devel;/opt/ros/melodic'.split(';') if '/home/rachel/ws/deve...
[ "rhsia1014@gmail.com" ]
rhsia1014@gmail.com
10cf2bf88347b9bab71e45f962e1b0a804ef7559
918d6007e52889ad7dab9f219930ba6b5e00af89
/sets.py
3e9973deae4e9b453d597052eb95d112a26942bf
[]
no_license
Draculinio/CursoPython
2f3b3b8875cf3d3ca380552606c3f90d5f1fbc38
29f56f0b60e495c3a9eac2819bb10555860e9f6b
refs/heads/master
2023-04-25T02:15:14.636143
2021-05-13T18:17:19
2021-05-13T18:17:19
360,509,508
1
0
null
null
null
null
UTF-8
Python
false
false
201
py
#coleccion INMUTABLE, desordenada, elementos unicos colores = {'rojo', 'azul', 'amarillo', 'rojo'} print(colores) list_color = [] for color in colores: list_color.append(color) print(list_color)
[ "pablo.soifer@wwecorp.com" ]
pablo.soifer@wwecorp.com
58f8bfe4ef5310e938615a6db879744f59b8b2e2
85ae846c2ff5078df5ae6ba18ed67fc54350b62b
/api/order/models.py
1bc152dd2ba4d0b4bd22412915ef312ceb9e37ad
[]
no_license
nithishd-max/Ecom
8975cf4c32bb1f60b1eca324aa7821e8c915a54d
3ff0fccb8264d868e67ac8a60f171561fcb5618f
refs/heads/master
2022-12-06T10:10:29.629040
2020-08-25T09:02:13
2020-08-25T09:02:13
290,162,278
0
0
null
null
null
null
UTF-8
Python
false
false
522
py
from django.db import models # Create your models here. from api.user.models import CustomUser from api.product.models import Product class Order(models.Model): user =models.ForeignKey(CustomUser,on_delete=models.CASCADE,null=True) product_name=models.CharField(max_length=500) total_products=models.Char...
[ "nithishdnr3@gmail.com" ]
nithishdnr3@gmail.com
5bd2a8d1a0e3d69e191296780bb91bab8cf643be
4d3feade20d7b2c6fc0375fdc5074cbd2006f802
/xout.py
8f9777eb8d0ef780d9cf207b063d406506d9784d
[]
no_license
zmoffitt/xout
d1715cd78d37774e5cb5e060edb77b5bb4f7e731
a41e158c07cda278931568c67aedc9fd5b830990
refs/heads/master
2021-09-21T09:42:31.948508
2018-08-23T19:24:11
2018-08-23T19:24:11
145,897,429
0
0
null
null
null
null
UTF-8
Python
false
false
2,907
py
""" Example program. Usage: xout [--verbose | --quiet] <src> <dst> xout --version xout -h | --help Options: -h, --help Show this message --version Print the version --quiet No progress bar --verbose Add debug info """ import sys import signal import os from docop...
[ "zac@moffitt.de" ]
zac@moffitt.de
42fbec401e74ecb59fe8750ea8e5aae561d21ca9
0f64468695177d50589f730710c791072f90f006
/mb_project/mb_project/settings.py
97100accbb2cb7646d521a30f5f0ec1a62a79d8b
[]
no_license
npvinh270/mb-app
1913b11ceafc3396ed188e5c25178cdaa65eeb1a
eb87397f91d3aa04920504f8752f7b53a194fe44
refs/heads/master
2023-08-01T02:26:12.394435
2021-09-17T07:17:18
2021-09-17T07:17:18
407,423,638
0
0
null
null
null
null
UTF-8
Python
false
false
3,329
py
import os """ Django settings for mb_project project. Generated by 'django-admin startproject' using Django 3.2.7. 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/ """ ...
[ "npvinh270@gmail.com" ]
npvinh270@gmail.com
a569f02a2bd42949317841156655c94cf9f9cb7d
6d6fc07ee55aef058f0692961850c484f7c9576f
/summarize_gcov.py
7be33526a35d9480154ca314098082f3507a57f5
[ "MIT" ]
permissive
martong/csa-testbench
ee2fc1a8f15de120f1ebf63d7bcf8902270449e3
22a2d841544be603aa5afe34ae74c7f47453210b
refs/heads/master
2021-08-02T06:02:51.060475
2018-08-08T12:04:37
2018-08-08T12:04:37
140,583,010
0
1
MIT
2018-07-11T13:59:26
2018-07-11T13:59:26
null
UTF-8
Python
false
false
2,169
py
from __future__ import division import sys import os def summarize_gcov(path): summary = {} overall_sum = 0 overall_missed = 0 overall_noop = 0 overall_covered = 0 overall_max = 0 for root, _, files in os.walk(path): for gcov_file in files: if not gcov_file.endswith(".g...
[ "xazax.hun@gmail.com" ]
xazax.hun@gmail.com
c43a49ab156f7382d0fb726caf88d66387bbe7c9
184310f55b58e854dc3b6c58599ef99bc4c95739
/hujian_api/API_service/Templight/tt.py
f8dec3403639f1cdd677b97b36c29b6ed379a8ac
[]
no_license
tanjijun1/Python_API
c8585821a627c399fea1ab31bb024be6b82dd3ab
3c4771875870ffe425d2d39fc28a50449b1752f2
refs/heads/master
2023-01-07T23:30:30.284433
2020-11-11T08:43:10
2020-11-11T08:43:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,203
py
import time now = time.time() print(now) Content-Type: multipart/form-data; boundary=-----------13418483933 -----------13418483933 Content-Disposition: form-data; name="service_key" -----------13418483933 Content-Disposition: form-data; name="device_sn" -----------13418483933 Content-Disposition: form-data; name=...
[ "1065913054@qq.com" ]
1065913054@qq.com
d92e9cf5eb38ca6929068c3092509e0bc8dbe15a
fc74d9fea992230e204afdf9fd8713d9afdb1dc0
/common/excelresult.py
2b41ffdcd4e107adbf087b01f323b6c9f01d27b0
[]
no_license
hero881011/VIP4
3f819608410518d3edc437b434991b2757b6aff3
148aaaf33b47b5fadec94ddff95d48428afaa34c
refs/heads/master
2021-02-18T14:20:33.105435
2020-03-07T14:53:03
2020-03-07T14:53:03
245,205,084
0
0
null
null
null
null
UTF-8
Python
false
false
8,053
py
# coding:utf8 from common.Excel import Reader from common import logger class Res: """ 统计Excel用例执行结果信息 powered by William 2018-11-6 copyright:testingedu.com.cn """ def __init__(self): # 用于记录所有模块分组信息名称 self.sumarry = {} # 统计分组信息 self.groups = [] def get...
[ "hero881011.love@163.com" ]
hero881011.love@163.com
d0db976b4789366dc10f97cf76be61b675d4fd61
c62ff8b0042efe8c80b9bc3f60c435835cb498be
/0x07-python-classes/2-square.py
77ad03c22e3fca86a6c646793ffd1a4b5887b32b
[]
no_license
swalgocoder/holbertonschool-higher_level_programming
a59c0f6e998de54233f22148933f03cbf680bf2c
3e2e682d93cdeda8ba04d71391212337c3888ffa
refs/heads/master
2021-01-12T05:09:20.825966
2017-03-01T06:30:55
2017-03-01T06:30:55
77,871,582
0
0
null
null
null
null
UTF-8
Python
false
false
472
py
#!/usr/bin/python3 """ The Square Class creates a Square object with initialized "size" which is private attribute """ class Square: """ size initialized with 0, error checking """ def __init__(self, size = 0): """ The __init__ method """ if type(size) != int: ...
[ "gary.d.gao@gmail.com" ]
gary.d.gao@gmail.com
8e54b1f039d0ca0755c7be443f9352e923dd1daa
ed11c9a3460bae2fbab6b22bfb5661d483d5f845
/oauth2_all.py
b9a3fff4435c43a53f5333e49212f1f5fdc183af
[]
no_license
qq372777648/pythonTest
20c33c7bdfc6b63d91f0e310bf05a624f5c9196e
f824c8d3f9fc60f7680a0c71a40977672b6a7975
refs/heads/master
2021-01-12T13:26:38.130742
2016-09-28T17:55:00
2016-09-28T17:55:00
69,164,204
0
0
null
null
null
null
GB18030
Python
false
false
5,738
py
#coding: gbk import base64 import random import time import json import hmac from datetime import datetime, timedelta import requests import sys reload(sys) sys.setdefaultencoding('utf-8') from flask import Flask, request, redirect, make_response app = Flask(__name__) users = { "lzw": ["123"] } port='5000' red...
[ "372777648@qq.com" ]
372777648@qq.com
92cee47775165ed05dd3add487e40174f4ae2e52
521328254fdf86bfc580ba289c43c71a148afdb8
/梁勇版_4.22rpy.py
80725f8f62b077a951431b136b4fce32c75df033
[]
no_license
yuuuhui/Basic-python-answers
de35c3656c677f628d6e17e717da9df995fcf9f9
d45c768eeb0c7d346754e684c608d786c59c0d3f
refs/heads/master
2020-12-28T14:22:17.411550
2020-02-05T05:57:05
2020-02-05T05:57:05
238,367,595
1
1
null
null
null
null
UTF-8
Python
false
false
468
py
x0,y0 = eval(input("Enter center of a circle with two coordinates as x,y:")) x1,y1 = eval(input("Enter a point with two coordinates as x,y:")) d = ((x1 - x0) ** 2 + (y1 - y0) ** 2 ) ** 0.5 if d > 10: print("point({},{}) is not in the circle".format(x1,y1)) elif 0 < d < 10: print("point({},{}) is ...
[ "noreply@github.com" ]
noreply@github.com
1b7ee83080c836f6c279d09bbbe341b44e72147b
8dcd3ee098b4f5b80879c37a62292f42f6b2ae17
/venv/Lib/site-packages/win32/Demos/CopyFileEx.py
4aa24f877a44e08b33f9917690f24b5da1da55db
[]
no_license
GregVargas1999/InfinityAreaInfo
53fdfefc11c4af8f5d2b8f511f7461d11a3f7533
2e4a7c6a2424514ca0ec58c9153eb08dc8e09a4a
refs/heads/master
2022-12-01T20:26:05.388878
2020-08-11T18:37:05
2020-08-11T18:37:05
286,821,452
0
0
null
null
null
null
UTF-8
Python
false
false
1,164
py
import os import win32api import win32file def ProgressRoutine(TotalFileSize, TotalBytesTransferred, StreamSize, StreamBytesTransferred, StreamNumber, CallbackReason, SourceFile, DestinationFile, Data): print(Data) print(TotalFileSize, TotalBytesTransferred, StreamSize, StreamBytesTransfe...
[ "44142880+GregVargas1999@users.noreply.github.com" ]
44142880+GregVargas1999@users.noreply.github.com
b5892daa2cf40600c3c171d16b4d33890e637c5d
3e381dc0a265afd955e23c85dce1e79e2b1c5549
/hi-A3/not_hesaplama.py
57a517a822a6edc22adf30f92c4369c4d4857351
[]
no_license
serkancam/byfp2-2020-2021
3addeb92a3ff5616cd6dbd3ae7b2673e1a1a1a5e
c67206bf5506239d967c3b1ba75f9e08fdbad162
refs/heads/master
2023-05-05T04:36:21.525621
2021-05-29T11:56:27
2021-05-29T11:56:27
322,643,962
0
0
null
null
null
null
UTF-8
Python
false
false
773
py
dosya = open(file="notlar.txt",mode="r",encoding="utf-8") metin = dosya.read() dosya.close() donem_ortalamasi=0.0 not_adet=0 for satir in metin.split("\n"): ders_adi=satir.split(":")[0].strip() notlar = satir.split(":")[1].strip().split(" ") ortalama=0.0 for nt in notlar: ortalama = ortalama + f...
[ "sekocam@gmail.com" ]
sekocam@gmail.com