blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
e0ddb04de606fd4d64d262abca523eb694b73250
5338f87daa807981347587e66a6b21bfadc4ed6f
/Automate boring stuff/tictactoe.py
cead8723530f3cf4977a1acfac3d081f33054ce4
[]
no_license
Tometoyou1983/Python
28b461e04afcb37fd46dd70ad2d39fd5b8dde495
a7fd2eef44325927cb7cf001788130958587834d
refs/heads/master
2022-12-22T00:18:50.862506
2020-09-02T20:12:51
2020-09-02T20:12:51
288,759,485
0
0
null
null
null
null
UTF-8
Python
false
false
4,771
py
import os, datetime, sys os.system('cls') # defining the table theBoard = {'top-L':' ', 'top-M':' ','top-R':' ', 'mid-L':' ', 'mid-M':' ','mid-R':' ', 'low-L':' ', 'low-M':' ','low-R':' ',} def printBoard(board): print ('________________') print ('| ' + board['top-L'] + ' | ' + board['t...
[ "64913244+Tometoyou1983@users.noreply.github.com" ]
64913244+Tometoyou1983@users.noreply.github.com
f91348acd91bb8f291c753775d5372d571da76d8
d109917f98639fbd51c29d6acc5a1be39b21c3a1
/exchangeapi/admin.py
91997618212c483cb32b0fd1ba8efac83a0e1cbd
[]
no_license
sathak/ExchangeRate
459d3428dae2c9a04a961999242ef7341d55d3a0
eb55c8268fb6f06da6d3dccf70d7538e37b17313
refs/heads/main
2023-08-26T13:07:26.609156
2021-11-01T14:23:53
2021-11-01T14:23:53
423,368,531
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
from django.contrib import admin from .models import ExchangeInfo admin.site.register(ExchangeInfo) # Register your models here.
[ "sathak318@gmail.com" ]
sathak318@gmail.com
2ec2fae39bcc408b95c103e5cf11896d6eb6c7c1
8e07077598873164bb10091b1f57da9bd710c066
/project/settings.py
b3996332d0eee9e50e010a6cb51094e7c0f74066
[]
no_license
Ainur935/SF_D1.6
5c3923d0e443e49ccc49cd3b1055e1822ba12235
0a20c2634419e109659c804617a6369bc44424a1
refs/heads/main
2023-08-14T17:37:32.555543
2021-10-10T16:48:11
2021-10-10T16:48:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,490
py
""" Django settings for project project. Generated by 'django-admin startproject' using Django 3.2.8. 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/ """ import os fro...
[ "ainur935@mail.ru" ]
ainur935@mail.ru
dcf2d01bf65510f7f5b70e50ecb003a20b9e695d
a7eb38a1cf5cfe7e56653bb8272009b30eb60bff
/mmf.py
5a1180cb21c1f2bff77e2ad03d4a1ef29ed118a7
[ "MIT" ]
permissive
Etherealflux/recipeformats
4c5ad785143a1d6f059da85837783ea533f3a86c
3776e73e6d8cf44e6d863958529764b08513a70b
refs/heads/master
2020-03-21T03:05:22.235105
2018-06-20T16:40:05
2018-06-20T16:40:05
138,036,169
0
0
null
null
null
null
UTF-8
Python
false
false
14,152
py
"""Recipe parsing for Meal-Master format (.mmf) files. Use parse_recipes to parse multiple recipes. Use parse_recipe to parse a single recipe. Use split_recipe_lines to yield a list of lines for each recipe that can be passed into parse_recipe to parse only a single recipe out of multiple recipes. You may run into is...
[ "samuel.javner@gmail.com" ]
samuel.javner@gmail.com
3bced6253c1dd0d538d185357e4afd7d6ed7510d
f158a4e631d19d12a4f8d393ac3514ec9c0d2e84
/prenovi/apps.py
67cb559cc5ed1673cbac1bb3087b38c91782e803
[]
no_license
Barsonja/PersonalProject
13f3a4e1b259a31460d2cac9cb6fe789cdd8ddcd
2f98b201a060f2a80f32b2427d0a7fda7ff39488
refs/heads/master
2021-01-01T16:42:27.496194
2017-08-09T17:36:42
2017-08-09T17:36:42
97,894,862
0
0
null
null
null
null
UTF-8
Python
false
false
89
py
from django.apps import AppConfig class PrenoviConfig(AppConfig): name = 'prenovi'
[ "rok.jencic@gmail.com" ]
rok.jencic@gmail.com
b029233ca5db7a28e56f90072761bd0020303006
e781909485258415cb01e2bb2f7aaaaa0b14eb3b
/trunk/pyinstaller-1.3/optparse.py
8d231fe52eed9349d83fc923a56d765d04b3f47f
[]
no_license
BGCX067/fabriciols-svn-to-git
408cce031243125ed13c1b01deeb077c55519ac6
6fbd5eccdc8af831e3c7f3a313a5c300ab39b4aa
refs/heads/master
2016-09-01T08:53:02.311545
2015-12-28T14:39:38
2015-12-28T14:39:38
48,847,917
0
0
null
null
null
null
UTF-8
Python
false
false
321
py
""" optparse -- forward-compatibility wrapper for use with Python 2.2.x and earlier. If you import from 'optparse' rather than 'optik', your code will work on base Python 2.3 (and later), or on earlier Pythons with Optik 1.4.1 or later installed. """ from optik import __version__, __all__ from optik import * ...
[ "you@example.com" ]
you@example.com
1ad5315184b786ae8d126b59f3f428b96cb9ab7a
ebf25bc39930224737700eed965b8ca51340386a
/djmodel/blog/migrations/0005_postmodel_title.py
d79ece45e81c0d3158fa761b0deb18362edd2684
[ "Apache-2.0" ]
permissive
dorotan/Django-models
e929acaa9aab6bd630ace1ab7b9e2f434388a8ba
74961b1569536469ec751f84cf9754b486b6f500
refs/heads/master
2021-05-12T10:54:33.409808
2018-01-23T19:19:10
2018-01-23T19:19:10
117,365,426
0
0
null
null
null
null
UTF-8
Python
false
false
503
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-01-14 17:41 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0004_auto_20180114_1837'), ] operations = [ migrations.AddField( ...
[ "d.niezborala@merixstudio.com" ]
d.niezborala@merixstudio.com
05b6f671bc46c28c58dba5fa05df2a71842b32ee
d7344fe4570cd4018404cf4e29fb66ccf78eb449
/CNN_Data_Transformation.py
be8baeb4f5ca35a09615823d1ee856d90e6d8d50
[]
no_license
anastasatos/image_gender_classification
027bdae49335173bfe910412a91e16665ea1fb45
d3f16733957825bed03d9f521b98724a79638e5f
refs/heads/master
2020-04-22T17:14:47.126332
2019-02-13T16:16:35
2019-02-13T16:16:35
170,534,147
0
0
null
null
null
null
UTF-8
Python
false
false
845
py
# coding: utf-8 # In[ ]: #Create test set with females and males seperately for i in range(len(df)): image1 = test_df.iloc[i,2:] image1 = image1.values.reshape(100,100) if (test_df.loc[i,'gender']== 0): # Female name = 'female.'+str(i)+'.jpg' scipy.misc.imsave("test_set/females/" + name,...
[ "noreply@github.com" ]
anastasatos.noreply@github.com
0a17c4a3a96f46c1b448dc93700c7c55373c4752
e9757274ddb8484e27590ff0cc3f24550776c6cc
/Solved/0072/0072.py
55dea79789686cbd455c67813dc7f05c68eda8de
[]
no_license
Jinmin-Goh/LeetCode
948a9b3e77eb03507aad6f3c78640aa7f00e6ad5
d6e80b968032b08506c5b185f66d35c6ff1f8bb9
refs/heads/master
2020-09-22T10:22:18.443352
2020-09-06T06:34:12
2020-09-06T06:34:12
225,153,497
1
1
null
2020-01-29T15:16:53
2019-12-01T11:55:25
Python
UTF-8
Python
false
false
2,045
py
# Problem No.: 72 # Solver: Jinmin Goh # Date: 20191228 # URL: https://leetcode.com/problems/edit-distance/ import sys # good solution link: https://leetcode.com/problems/edit-distance/discuss/159295/Python-solutions-and-intuition class Solution: def minDistance(self, word1: str, word2: str) -> int: ...
[ "eric970901@gmail.com" ]
eric970901@gmail.com
ee6d4d5006bee707f3b51f6a6c624b93db9985e1
eef19e03a24854025418d886a2ba6d828333a768
/simulations/evo_game4/Thomas3/config.py
ae994ae54d8bc6a66992f1f05055b772c4a5b212
[]
no_license
caioguirado/DynamicGamesSpatioTemporal
49f0f641cedb06c984588bd3475f69fe09500ca9
7c266ea4399ce953e8444bf9f7104cb37c84b628
refs/heads/main
2023-06-04T07:09:20.140611
2021-06-27T12:37:19
2021-06-27T12:37:19
355,817,378
0
1
null
null
null
null
UTF-8
Python
false
false
37,130
py
import numpy as np INITIAL_CONFIG_FILE = 'initial_config.npz' SIZE = (100, 100) N_FRAMES = 200 POSITION = (0, 0) FITNESS_MATRIX = np.array([[ 0, -2, 8], [8, 0, -2], [-2, 8, 0]]) DEATH_RATE = 0 INTER_RADIUS = 1 OFFSPRINT_RADIUS = 1 DISASTER_WHEN = (25, 50, 75, 10...
[ "tvergut@gmail.com" ]
tvergut@gmail.com
6160f4a79745e462b754e4af2a636eb18a8f3986
61da7772052be832e865c34225f87480575f2dac
/computer-algorithms/chapter4/stack_ll.py
eaf576838af57f9ce26d906cc3bb3ffdd952618b
[]
no_license
JiyooonPark/python
1cd5406683746e803c744fa1e376810995754284
1a23bd0f9022f6a85b1b9d5dcf707170b5049a89
refs/heads/main
2023-04-15T16:29:08.955955
2021-04-27T05:15:34
2021-04-27T05:15:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,274
py
# stack implementation using a linked list. class Node: def __init__(self, value): self.value = value self.next = None class Stack: def __init__(self): self.head = Node("head") self.size = 0 def __str__(self): cur = self.head.next out = "" while cur: ...
[ "jiyoonpark0207@gmail.com" ]
jiyoonpark0207@gmail.com
84e8c238e6c0b86013760489e94aae0986cde98c
5ea91eb5546bbcaba83dc5805915bd4d077014c2
/shop/main/mixins.py
8a53ca37bbab2c3e09d78bd5c3b24566c0442a6a
[]
no_license
ilya1231231/online-shop
cc11656b231ab2059ab1432c142f1c55befcbdeb
753b8e1af99b9d243f564d54f96022cea55c6c7b
refs/heads/main
2023-07-01T22:05:14.703986
2021-08-15T18:02:00
2021-08-15T18:02:00
387,183,349
2
0
null
null
null
null
UTF-8
Python
false
false
2,251
py
from django.views.generic.detail import SingleObjectMixin from .models import Category, Cart, Customer, Hookah, Tobacco from django.views.generic import View class CategoryDetailMixin(SingleObjectMixin): CATEGORY_SLUG_TO_PRODUCT_MODEL= { 'hookahs': Hookah, 'tobaccos': Tobacco, } def get_c...
[ "malygin.ilja@yandex.ru" ]
malygin.ilja@yandex.ru
726c5a40040aa0fd3868459f8271eafcc1bf5814
e1aed2ac8adf73579db646867e77f376a677e33d
/9.27.py
7a9039984a7fbc89a9f05d103bb658a39d6ccc38
[]
no_license
jasemabeed114/Python-work
e88185d55d31717286df6a597f410996c059fdff
bb9887cd94220c34ce45906257b5553682b5f41b
refs/heads/master
2021-12-10T01:10:29.637896
2016-07-05T15:09:19
2016-07-05T15:09:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,556
py
from tkinter import * class interest: def __init__(self): window = Tk() window.title("Compare Interest Rates") frame = Frame(window) frame.pack() Label(frame, text = "Loan Amount").pack(side = LEFT) self.loan = StringVar() Entry(frame, textvariabl...
[ "ralatorr@iun.edu" ]
ralatorr@iun.edu
3724494d7f2fdfb5444a956ada9809963f682e6d
50ee76b2a4ff43b26ca7c8f7198bcd6d6930b479
/venv/Scripts/pip3-script.py
99fd383cdeb68bb2c9e5e7fe13f74846fdd5ca6c
[]
no_license
Liulz1805708843/2020-7-7-git
dcb74e2128cbeabae46b2191dd9dadad8da47021
1e40cd61c98c55ff9b8314516d5bce795239e4ef
refs/heads/master
2022-11-09T02:43:18.038600
2020-07-07T07:55:12
2020-07-07T07:55:12
277,705,345
0
0
null
null
null
null
UTF-8
Python
false
false
400
py
#!D:\softwaredate\workspace\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.e...
[ "m15871801369@163.com" ]
m15871801369@163.com
e5a68fdbd264556fe57a8a23ce791ca47b3ffe62
1fefa116c283a50c2903176b7be86990cd5bdad3
/Vision/camera_stream.py
e60bef02b25cba97fbee33fe9e377ef64368b2e4
[]
no_license
DankersW/DEIS_robot
54b31e8639e9a84e8a58a3c835db16ad9ef7df37
dc6e7deb6b18ab4846a7a3b5fc180c500f09e79c
refs/heads/master
2022-07-23T22:16:38.177108
2020-05-20T06:52:08
2020-05-20T06:52:08
106,696,237
1
0
null
2020-05-20T06:52:10
2017-10-12T13:26:17
Python
UTF-8
Python
false
false
797
py
# import the necessary packages from __future__ import print_function from imutils.video.pivideostream import PiVideoStream from imutils.video import FPS from picamera.array import PiRGBArray from picamera import PiCamera import argparse import imutils import time import cv2 # initialize the camera and stream camer...
[ "wouter.dankers@skynet.be" ]
wouter.dankers@skynet.be
79de74bb69fd589140f36f572cd62b0b38c30d9d
1fadfa923445b384d99f91023b4689a20759c6d1
/app/helpers/response.py
e285ea49111bc8ade05fce8bdc317877c0c91dd9
[ "MIT" ]
permissive
fressive/qute-backend
790dbc2b5aa533749cca391e35fd0208b2d6d32c
09697e56ad44619cf29c2b4168031d4ba8ef7644
refs/heads/master
2022-11-28T00:47:22.486814
2020-08-03T05:29:52
2020-08-03T05:29:52
284,611,539
0
0
null
null
null
null
UTF-8
Python
false
false
89
py
def make(code, result): return { "code": code, "result": result }
[ "me@fressive.cn" ]
me@fressive.cn
b0d77d99448f5be8400b71b9de891fabc614a5d3
4326121c0ef1f1e78075db53a2ec3ffd6de60e67
/calculator/__init__.py
dad0253c9c16947ff2e778a337cc6def7cc0fe2e
[]
no_license
Bella-hz/Myhomework
0e80fdc216e66ca4e25c97d2a34ead368737bb67
1c0388c56a0bb9929dfecaaea1e845f72f5767b6
refs/heads/master
2022-11-10T07:34:41.765769
2020-06-27T10:55:36
2020-06-27T10:55:36
264,400,340
0
0
null
null
null
null
UTF-8
Python
false
false
77
py
# ! /usr/bin/env python # coding = utf-8 # __author__ = 'wyn' # Filename: .py
[ "wangyanan@deepwise.com" ]
wangyanan@deepwise.com
f2c2e1f5de32709cef8311da0b195d3758054721
12ef1c6084554ef1aa6d0b7523abea2900ba13a9
/node_modules/ws/build/config.gypi
7604be40f6bd84678b3976235872503ee57c496a
[ "MIT" ]
permissive
NPellet/spectrolab-control
76860c3923c1b4caed46d9c369297e409a60bc98
869ee1442ba1331c9665a0c90bd1810dff78e183
refs/heads/master
2021-01-20T06:22:51.644720
2015-10-23T13:02:06
2015-10-23T13:02:06
26,635,605
0
0
null
2015-02-11T00:24:04
2014-11-14T11:24:19
JavaScript
UTF-8
Python
false
false
3,088
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...
[ "norman.pellet@gmail.com" ]
norman.pellet@gmail.com
c86c17dcdd0c5224fc73fea7c71b13c48f6d0743
503fb1476e98b25c5cc8d3a97851a6ddfc14241f
/test.py
9905c67606015ab5bb345327d1c98c25240bffbd
[]
no_license
fabiorogeriosj/lab-udemy-ml-ds
931deed5a8d72b34d445d12a5994cc24c488a259
d0589dd2d5de20d61e3e61f3fae532da9cd09542
refs/heads/master
2021-04-06T00:06:40.658839
2018-03-20T01:04:32
2018-03-20T01:04:32
124,938,479
0
0
null
null
null
null
UTF-8
Python
false
false
2,520
py
from lib.mlerning import calc1, parse_file, parse_csv import matplotlib.pyplot as plt import numpy as np import pandas as pd import pydataset from database.vendas import db_vendas from planilha.volume import csv, excel import seaborn as sns import locale locale.setlocale(locale.LC_ALL, 'pt') #print(calc1(10)) data =...
[ "fabio.rogerio@tecnospeed.com.br" ]
fabio.rogerio@tecnospeed.com.br
9ecdd30fd1b55995b01d1a59c57b3d4238ecaa4c
e2a0d1fe07d8ee245e5e974b6073cfc0de47ed8b
/src/Client/View/MainFrame/TabFrame/FirstTabFrame/messageFrame.py
31f41dfa0c73a84231fdad7c8f4fb5061574101f
[ "MIT", "ICU" ]
permissive
Sniper970119/MemoryAssistInPython
26d7d3be3f6bdf9f39607ca88ed3e6f320a946cc
434efd09edbda7919a3f754374add7f34912fab7
refs/heads/master
2020-04-20T00:54:10.298240
2019-05-28T03:42:36
2019-05-28T03:42:36
168,531,573
28
5
MIT
2019-05-28T03:42:37
2019-01-31T13:42:14
Python
UTF-8
Python
false
false
8,282
py
# -*- coding:utf-8 -*- from src.Client.Conf.config import * from src.Client.MissionSystem import missionSystem from src.Client.SystemTools.ConfFileRead import configFileRead class MessageFrame(): """ 负责显示 显示当日任务信息的GUI界面,以及用户完成任务信息的响应。 """ def __init__(self, firstTabFrame=None): """ :...
[ "30463691+Sniper970119@users.noreply.github.com" ]
30463691+Sniper970119@users.noreply.github.com
90d367495fd4f5c2f02d3b37e2e010af2cff3534
c7faffdc340eb72737315efb017beee97cbd016d
/GetSharedWithAnyoneTeamDriveACLs.py
52723eee417c2f398f7db170df420c32af2f7da5
[]
no_license
boussagf/GAM-Scripts
d4b1c840cc2d25e67960262758b2a59f844d452b
bc1e05ddd4e9c94a3fd78c4566fe1df13a8d2e68
refs/heads/master
2020-04-29T16:35:57.279614
2019-03-01T18:43:49
2019-03-01T18:43:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,418
py
#!/usr/bin/env python2 """ # Purpose: For a Google Drive User(s), delete all drive file ACLs for Team Drive files shared with anyone # Note: This script requires Advanced GAM with Team Drive support: # https://github.com/taers232c/GAMADV-XTD, https://github.com/taers232c/GAMADV-XTD3 # Customize: Set FILE_NAME and ALT_F...
[ "ross.scroggs@gmail.com" ]
ross.scroggs@gmail.com
f439595cb39ef495936efad8712fa16400e44651
6923f79f1eaaba0ab28b25337ba6cb56be97d32d
/Introduction_to_numerical_programming_using_Python_and_CPP_Beu/Ch04/Python/P04-SortComp0.py
75189e60cc98e52081bce1ec35954c3f6ea24a9d
[]
no_license
burakbayramli/books
9fe7ba0cabf06e113eb125d62fe16d4946f4a4f0
5e9a0e03aa7ddf5e5ddf89943ccc68d94b539e95
refs/heads/master
2023-08-17T05:31:08.885134
2023-08-14T10:05:37
2023-08-14T10:05:37
72,460,321
223
174
null
2022-10-24T12:15:06
2016-10-31T17:24:00
Jupyter Notebook
UTF-8
Python
false
false
5,186
py
# Comparison of operation counts for sorting methods from random import * #============================================================================ def BubbleSort(x, n): #---------------------------------------------------------------------------- # Ascending sort of array x[1..n] by modified bubble sort #...
[ "me@yomama.com" ]
me@yomama.com
6ac662f8cf7717e288da896123dd1887a1e9f83e
47c718712afea1f51b3c9905b93fe32b6e76614e
/lab3-3/xxe4.py
8c708165d632968a789982a4ba847ebff6b3af8d
[]
no_license
spurgeonc/filetransfer
18425c9f0f539db9644098c17191e4b6df3cc7e8
02e9239dfc703056e2f13b3aa09eb96c1d8cb3dd
refs/heads/main
2023-05-07T00:15:05.016865
2021-05-25T23:11:13
2021-05-25T23:11:13
356,482,926
0
0
null
2021-04-25T17:22:00
2021-04-10T05:38:53
Python
UTF-8
Python
false
false
738
py
import requests from bs4 import BeautifulSoup s = requests.Session() site = 'acbb1f271eed210c807222a400ef00a9.web-security-academy.net' post_url = f'https://{site}/post?postId=5' resp = s.get(post_url) soup = BeautifulSoup(resp.text,'html.parser') csrf = soup.find('input', {'name':'csrf'}).get('value') comment_url =...
[ "noreply@github.com" ]
spurgeonc.noreply@github.com
f81127ac5b9136ebbbcc46f37165f9d81680dd88
5721cc3acd3de0370b6bcceb33b3e6c38ddddf14
/hilbert.py
93bc9d503ef422cd4b1b742112694a4c1850e16c
[]
no_license
make-github-pseudonymous-again/xournalpp-crayola
98f17cdb76e581df2386628f34b304a3e9f6f1aa
e9a0d20cf3c1eaea49fe706f426a27d60d35aad4
refs/heads/master
2022-11-12T04:35:40.736084
2020-07-02T18:22:45
2020-07-02T18:22:45
227,465,449
1
0
null
null
null
null
UTF-8
Python
false
false
8,031
py
#!/usr/bin/env python3 ### hilbert.py -- Hilbert walk coordinate codec in multiple dimensions. # int_to_Hilbert( i, 3 ) ==> ( x, y, z ) # int_to_Hilbert( 0, nD ) ==> ( 0, 0, 0, ... 0 ) Start at origin. # int_to_Hilbert( 1, nD ) ==> ( 1, 0, 0, ... 0 ) 1st step is along x. # Hilbert_to_int( ( x, y, z...
[ "aurelien.ooms@gmail.com" ]
aurelien.ooms@gmail.com
0e444e2c9e98c0fc552fb1dae9c1f6eba2ce8971
12827fb803e24eca8d2f2dcc00a1bbebf1203b89
/database_login/project1_database/project1_database/wsgi.py
b683c35d56624bacb13359ddc8783d8d9980aa1b
[]
no_license
Joycechocho/weather-station
500abc5798d09fdf012cbc07e32691da0d2f2ae7
9d9091f5dac5cf3dd74703a5f38619ba3b65e427
refs/heads/master
2020-04-04T08:04:43.430413
2019-01-29T21:27:49
2019-01-29T21:27:49
155,770,383
0
0
null
null
null
null
UTF-8
Python
false
false
412
py
""" WSGI config for project1_database 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("D...
[ "joyce.cho@colorado.edu" ]
joyce.cho@colorado.edu
850bae36eb3813bfb2451e452917a1b72f2a3fed
5cd5f95d4678d52eb1fabdfc23afe706d2357b7e
/fibnocci series in while loop.py
bf8baf38d1aa96744f887f170990dceaaec2e09d
[]
no_license
Bhogavarapuvaralakshmi/python-
bff6a8e16831ef21462748011bbde209a809dbbd
b6c3a38b6607d3a6f2aaa29b969148a7f66ad713
refs/heads/master
2023-03-23T15:53:45.787473
2021-03-17T02:13:12
2021-03-17T02:13:12
298,817,046
0
0
null
null
null
null
UTF-8
Python
false
false
153
py
n=int(input('enter a number')) a=0 b=1 print(a,b,end=" ") count=3 while count<=n: s=a+b print(s,end=" ") a=b b=s count+=1
[ "noreply@github.com" ]
Bhogavarapuvaralakshmi.noreply@github.com
bd49b1bc8c3fc09fa7dbe416d81e0c9afd6e4ac4
ea706110cc0defcae735a3e9aad8a3abda8d8f9d
/core/__init__.py
8a7241d614f9caba79a7a3c4bde8aa1666b47dd5
[]
no_license
edgardleal/mysqllogger
13782249e2fe5707eeef86d3eb3fcca5f5432c26
ec703b05347027f9952e9946f3b5e3bdaabcbc7c
refs/heads/master
2020-12-24T16:06:24.543196
2015-02-01T17:30:46
2015-02-01T17:30:46
30,154,131
0
0
null
null
null
null
UTF-8
Python
false
false
42
py
import metadatabase import mysqllogger
[ "edgardleal@gmail.com" ]
edgardleal@gmail.com
8ad685515e7b6ef6e6001c7bc82aa2187d1c80c1
a9d7b7ff56123ccdee7d499ef6ecd56ad9ba8654
/Server/app/docs/v1/admin/account/auth.py
1e781af75c14e82c8c53977792753f4e26d7253a
[ "MIT" ]
permissive
miraedbswo/DMS-Backend
cbbbd2b88c92faac65a23d707434746849b95b8a
de585fe904a2bf15f9fc74219eae176151a0f8ca
refs/heads/master
2020-03-21T11:07:30.938555
2018-06-19T13:00:22
2018-06-19T13:00:22
138,490,734
2
0
null
2018-06-24T14:54:02
2018-06-24T14:54:01
null
UTF-8
Python
false
false
2,457
py
AUTH_POST = { 'tags': ['계정'], 'description': '로그인', 'parameters': [ { 'name': 'id', 'description': 'ID', 'in': 'formData', 'type': 'str', 'required': True }, { 'name': 'pw', 'description': '비밀번호', ...
[ "sm372181@gmail.com" ]
sm372181@gmail.com
edb315f71b84db29690421d194897a00509f7e11
21246983169dad0f735c3f564b6961b65b93c84a
/drobne_cwiczenia/kamien_papier_nozyce.py
40586cfef02e31036f9ea3173b853a1df93bac30
[]
no_license
KrawMich/Python-works
cd40d6ba53b448966b21443d4e696ef9f02f418a
f10613f642736bce30d7a53cfbdd3522ff196ca4
refs/heads/master
2020-05-25T07:31:44.206249
2019-05-20T17:42:42
2019-05-20T17:42:42
187,687,476
0
0
null
null
null
null
UTF-8
Python
false
false
673
py
import random opcje = ['k', 'p', 'n'] komp = 0 ty = 0 print('Gra kamien papier nozyce gramy do 2 wygranych') while komp != 2 and ty != 2: wybor = input(f'Wprowadz wybór ? k/p/n :\n') if wybor not in opcje: print('Zły wybor') continue a = random.choice(opcje) print(a) if wybor == a:...
[ "krawczyk.michal25@gmail.com" ]
krawczyk.michal25@gmail.com
f21be01f96f8ddebf8e79a99b8d4f0c9a479277a
47267b8b2fb0b6f6627dbf8524c19b49acf00b34
/data_loader.py
af9fb15d43714b96ec58ea29fd207d71939e273d
[]
no_license
aicaffeinelife/disp_mt_fairness
fc48fe4d9da677ffe9fad8584567561647288edb
ebe20882e898361613a41bc53a0915d41830b902
refs/heads/master
2023-03-23T12:53:52.624003
2021-03-09T17:47:47
2021-03-09T17:47:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,570
py
from load_adult import adultDataset from load_compas import load_compas import pandas as pd import numpy as np from collections import namedtuple from sklearn.preprocessing import StandardScaler # TODO: DrugLoader, ArrythmLoader def load_drug_data(dataset_file='datasets/drug_consumption.data'): ''' Load drug cons...
[ "akulshr@clemson.edu" ]
akulshr@clemson.edu
11088b1749f41c813d22ed8f7fa1869c71ca6dab
d01869771ebb7e98c121af82c27d5fdb4a0a1c5c
/ServerClient/JsonsocketbyPython/server.py
0384bbb777e94b94c6e3fee9a26ec0e5c532c4bf
[]
no_license
notinhomenow/runestone
3cc0c56bf41760f55e63afb73b29abdc65f1f8e0
8117242ec2eff9e79cdafc922215347b50fd3399
refs/heads/master
2020-03-18T04:31:07.384516
2018-05-23T03:38:09
2018-05-23T03:38:09
134,291,630
0
0
null
2018-05-21T15:57:36
2018-05-21T15:57:36
null
UTF-8
Python
false
false
4,163
py
import socket import sys from thread import * import nxt.locator host = '192.168.124.1' port = 8888 s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) #opcode cmd = { "1": { "action": "down", "move": "forward" }, "2": { "action": "up", "move": "forward" }, "3": { "action": "down", ...
[ "Tung.Lin.6324@student.uu.se" ]
Tung.Lin.6324@student.uu.se
8a93acb3e5d67ecd8aa7a59639df91384b829756
8e0070b28f5377b94c50de2c979f92194a4ac88d
/tests/test_svg_colorful.py
6b5c35925b757675b537c35c42fe91fbd1853ceb
[ "BSD-3-Clause" ]
permissive
AgentIvan/segno
c04ce887c3ee71ae0173d8e7653442fa16eea3b5
1033b9d21c6d82cf76f90927702f79599097ca1d
refs/heads/master
2023-07-26T04:30:52.640466
2021-08-30T21:06:42
2021-08-30T21:06:42
416,811,279
1
0
null
null
null
null
UTF-8
Python
false
false
2,735
py
# -*- coding: utf-8 -*- # # Copyright (c) 2016 - 2020 -- Lars Heuer # All rights reserved. # # License: BSD License # """\ SVG related tests for multicolor support. """ from __future__ import absolute_import, unicode_literals import io import xml.etree.ElementTree as etree import pytest import segno from segno import w...
[ "heuer@semagia.com" ]
heuer@semagia.com
41583ea6e01c8e99c165c21c63182ebb7c6c41b6
51f1d5c37e938f27ef1014d98a689401ac46c8c8
/remove_Admin.py
2fd72c4f30e4ec318ec6032fb2b3e406338bed9e
[]
no_license
atharva22-techie/Scrapper2Database-using-python
df1e6d990f50c184a56f029f3311146d475446d5
9289575d049401d5cf91ed4916a0accaca476e82
refs/heads/main
2023-04-26T20:22:21.542028
2021-05-30T14:10:01
2021-05-30T14:10:01
371,966,991
0
0
null
null
null
null
UTF-8
Python
false
false
755
py
import sqlite3 import time # Admin data base conn=sqlite3.connect("admin.db") c=conn.cursor() def remove_admin(): username=input("Enter the username to be removed: ") choice=input("Are you sure you wnat to remove "+username+" from admin list? [y/N]: ") if(choice in ('y','Y')): with conn...
[ "noreply@github.com" ]
atharva22-techie.noreply@github.com
3f446f829468ec5c6b8eabfe7c5fc76c04693ddb
edf97b1c36b58d6a700ee52683a844b0f986fe2a
/day2.py
8f5aeaf0d29496469656d58b49515c581f7a8a53
[]
no_license
123456781234567/200728
a6e4738b617d3f60ac36f8fd8b4871abb6c41d62
c96004452e877c3d3cb2588c86863434da9aec4a
refs/heads/master
2022-11-25T10:53:24.683623
2020-07-28T09:07:28
2020-07-28T09:07:28
283,157,166
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
# -*- coding: utf-8 -*- """ Created on Tue Jul 28 14:47:49 2020 @author: user """ from mcpi.minecraft import Minecraft mc = Minecraft.create() x,y,z = mc.player.getTilePos() blockid = int(input("block ID:")) mc.setBlock(x+1,y,z,blockid)
[ "noreply@github.com" ]
123456781234567.noreply@github.com
a1929366007d966a57e731bac88fc7ff87d6ef75
c7764b1477ca93fe4300d42c1e0352290f3a164c
/yashexcoreenv/lib64/python3.6/site-packages/serial/urlhandler/protocol_loop.py
f4fce5c53e8d2e39b332c806cfa55a06ced88c53
[]
no_license
mmarashan/yashex-core
847aa9be2c05da90cad28093b35b694748191ef6
458d7b23df680bdac14d869bbafdc613aadf8080
refs/heads/master
2020-03-24T12:06:53.156022
2018-11-08T07:42:19
2018-11-08T07:42:19
142,703,668
1
0
null
null
null
null
UTF-8
Python
false
false
10,121
py
#! python # # This module implements a loop back connection receiving itself what it sent. # # The purpose of this module is.. well... You can run the unit tests with it. # and it was so easy to implement ;-) # # This file is part of pySerial. https://github.com/pyserial/pyserial # (C) 2001-2015 Chris Liechti <cliechti...
[ "maximmarashan@mail.ru" ]
maximmarashan@mail.ru
d541731a871f9f9d13040f08cd87d7ab9d5c1bab
e961180174937e494fcdf112ba2c7d6a6e0cbfae
/python3/e_interactingwithexternalcommands
59b340ded4a5e0576c9f3dab940d37eeab158928
[]
no_license
tolgaman/python
0b94f5f09287b898c6f9f2343bcd81d08ae8916d
ad775d10d92e414ad1e5e1bc80d8f7c212f98be3
refs/heads/master
2021-06-04T08:18:41.765320
2020-02-12T16:10:11
2020-02-12T16:10:11
108,611,940
0
0
null
null
null
null
UTF-8
Python
false
false
918
#!/usr/bin/env python import subprocess import os from argparse import ArgumentParser parser = ArgumentParser(description='kill the running process listening on a given port') parser.add_argument('port', type=int, help='the port number to search for') port = parser.parse_args().port try: result = subprocess.run...
[ "tolga.ozaltin@gmail.com" ]
tolga.ozaltin@gmail.com
1f3c42c2e5b461e33e71ac5b7d95148b38ac9273
1d5770633a920dd6d4b823962bad0bd8503e87c9
/main1.py
e25cf73bef8216a5d9170e125d2bf0b07cb0a03a
[]
no_license
ANUBlS/telegram_bot
93104061d78523893ddca57d7bcae34633aae74d
61456e75cacc6a26245d3f6ee8318a2bf52ff7a1
refs/heads/master
2020-12-21T02:45:41.826837
2020-02-09T12:28:44
2020-02-09T12:28:44
236,283,078
1
0
null
2020-02-09T12:28:45
2020-01-26T07:56:28
Python
UTF-8
Python
false
false
9,412
py
from telegram.ext import Updater, InlineQueryHandler, CommandHandler,Filters,MessageHandler,CallbackQueryHandler from subprocess import Popen,PIPE from telegram import InlineKeyboardButton,ParseMode, InlineKeyboardMarkup,ReplyKeyboardRemove,ReplyKeyboardMarkup import requests import re import datetime from bu...
[ "noreply@github.com" ]
ANUBlS.noreply@github.com
6e3263a26368cef24a99c9f55da6cb9a57c8467b
fb58e1ee8793c0198918b9bbbafb4f534f7fcdfc
/claseActaDeNacimiento.py
03ad78963a7f9e93c680c594e29f130df728ba41
[]
no_license
poofcefnunsj/Unidad3POO
c13c75d650d3416dd16e0cb01a11ed81956ef2e6
492e5f255eec785723cd90b0ee2da1c938712d87
refs/heads/master
2022-08-15T23:11:06.166242
2020-05-22T01:31:09
2020-05-22T01:31:09
260,936,561
0
0
null
null
null
null
UTF-8
Python
false
false
747
py
class ActaNacimiento: __fechaInscripcion=None __numeroroLibro=0 __numeroActa=0 __persona=None __registrocivil=None def __init__(self, nroActa, nroLibro, fechaInscripcion, persona, registroCivil): self.__numeroActa = nroActa self.__numeroLib...
[ "noreply@github.com" ]
poofcefnunsj.noreply@github.com
e5687b543c699c46eb410ade955376d23dc12ef0
845cc73d7e539676970d10045935d7685d01f937
/RegEx.py
875e8d80eec97f8bc22a83ecdd0c944ca210a8fd
[]
no_license
sebgra/Python_RegEx
9125b884265f14dc241295a21fcb359e7e6c9e1c
dbae22ca8917fd9ea44ddd8d76ce85fc4aa39fe1
refs/heads/master
2022-12-27T22:35:50.762250
2020-10-08T21:15:25
2020-10-08T21:15:25
302,462,760
0
0
null
null
null
null
UTF-8
Python
false
false
2,972
py
# -*- coding: utf-8 -*- """Tuto_Expression_reguliere.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1uD7yUKhVyCHrgObYXxonlCiORimfaJ7y """ import re """# Explications - Début et fin de chaîne - ^ : matérialise le débvut de chaîne' - $ : matéria...
[ "sebastiengradit@hotmail.com" ]
sebastiengradit@hotmail.com
bee71d9e27d2cf39cac1b040ee85f1adb2ee9573
1d8e4f3b669bbc867091fac04c9ff8ba9ee2175e
/training/tme1.py
eee60d384c2bde807d19dae48d8f66dc8d5a3908
[]
no_license
ohouens/3i026
3f4011f8830d32bb38835c09cd6f0b65af3f8dca
094b18e88dc93d0a3b476a4cc94f2d094ddb1e1c
refs/heads/master
2020-04-20T08:34:55.715156
2019-05-08T19:34:08
2019-05-08T19:34:08
168,743,592
0
0
null
null
null
null
UTF-8
Python
false
false
986
py
import math import numpy as np import pandas as pd from datetime import datetime as dt import matplotlib.pyplot as plt # Chargement des fichiers de donnees : prices_pd = pd.read_csv("../TME-01-etudiants/data-01/Weed_Price.csv", parse_dates=[-1]) demography_pd = pd.read_csv("../TME-01-etudiants/data-01/Demographics_Sta...
[ "rohouens@yahoo.fr" ]
rohouens@yahoo.fr
ae761356404f396e02fb31430fd5c71e82076dae
9f4f091ee8f98a894a5b5bf29cdc51b95a20e55b
/references/docs/old_scripts/camera_3shot_gui.py
ec5257780ba7076f2232b3394956d9bceb40ce1c
[]
no_license
Dotrar/Oracle
d3ae1fc89329894521d3f202342625827e7d4bd2
4831af1aa1868f6f03c4feee11a9f1f0f2039765
refs/heads/master
2022-10-11T19:02:12.111008
2020-06-14T04:07:23
2020-06-14T04:07:23
139,316,721
0
0
null
null
null
null
UTF-8
Python
false
false
1,783
py
#!/usr/bin/python3 #initial_camera import time ''' assuming all goes well, this should be set up to run on the pi. from which, the pi will manage 3 webcameras that are attached to it and tell the user what to do. ''' import cv2 import numpy as np import time from appJar import gui import sys, os SCREEN = "fullscre...
[ "dotrar@fakestreet.au" ]
dotrar@fakestreet.au
e502b098a3f0cd8bf31a7f0b2406de28c0c5a64d
740c7b04bb3b87fbe8a6d6adcb0dfbca5e7440dc
/main.py
7d6b0b1ec3e9ed584255ef783b223ecc54b87278
[]
no_license
VictoMigue/Register-System
72decdfec958c622546c2f16696c009825b2ec8e
cc0cdff55885106293bf6230055c2cc69d468e10
refs/heads/master
2023-09-05T05:28:59.088249
2021-11-14T14:04:25
2021-11-14T14:04:25
427,943,361
0
0
null
null
null
null
UTF-8
Python
false
false
1,249
py
from tkinter import * write = None code = None canWriteCode = True window = Tk() window.title('Register System') window.resizable(False, False) lbl_message = Label(window, text = 'Define your password:', font = ('Consola', 20)) ety_entry = Entry(window, fon...
[ "VictorMiguelAlmeidaLima@gmail.com" ]
VictorMiguelAlmeidaLima@gmail.com
d2342cc4dfed6568e9e8eea9cd343a11bed95c27
ff3708f595073bc462b0fbc498bbd4817ee061dd
/examples/02.hwi/messagesign.01.hwi.py
e22a9ee128be99fb86daf74e0a4e4a70ae3f72ab
[]
no_license
eehlers/eehlers.github.io
373f7b36090717f948761969c9e0e808644205f8
49f5e10155ebdc55e56b08090cb776d718efa674
refs/heads/master
2021-06-23T13:16:45.581886
2021-01-28T15:34:24
2021-01-28T15:34:24
253,345,482
1
1
null
2020-04-19T21:49:44
2020-04-05T22:35:52
null
UTF-8
Python
false
false
711
py
#!/usr/bin/env python3 import hashlib import os from hwilib import commands, serializations from hwilib.devices import ledger messageStr = "hello world" message = bytes(messageStr, encoding='utf8') h = hashlib.sha256() h.update(message) print("hash=\n" + h.hexdigest()) if "LEDGER_PROXY_ADDRESS" in os.environ and "L...
[ "eric.ehlers@reposit.be" ]
eric.ehlers@reposit.be
84052a80f462cd5b12c1788672f6bf0953a8177f
128dac2cee9a1022fafcc15a8d4903af678d88ee
/066. Plus One.py
0875b8224bda1402b93baa32b1120090bfe89fbb
[]
no_license
wangtaodd/LeetCodeSolutions
b998d9de408bc2e01b6bff11fcb315b453389bc8
364107c1a74b2fbe72cbf7076f38b9089f7017fb
refs/heads/master
2021-09-11T19:21:10.223002
2018-04-11T11:18:32
2018-04-11T11:18:32
125,821,429
0
1
null
null
null
null
UTF-8
Python
false
false
538
py
""" Given a non-negative integer represented as a non-empty array of digits, plus one to the integer. You may assume the integer do not contain any leading zero, except the number 0 itself. The digits are stored such that the most significant digit is at the head of the list. """ class Solution(object): def plu...
[ "wangtaodd@gmail.com" ]
wangtaodd@gmail.com
4974ecf0747cb8b1458a3321b144d168e7102622
5b7bb822848722523fbd82fb86e401fcc1aab5b0
/reviews/migrations/0002_review_room.py
0f157d57f55aac2addd57c2e11e2248a9b8ff22e
[]
no_license
doksuri761/Jbnb
ffb03db993479764f49cc186532fb714adab8aa3
144b546bb79bcb0bf583bb69ed1e46c98028b8d4
refs/heads/master
2023-04-22T15:07:14.104222
2021-05-02T10:52:52
2021-05-02T10:52:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
531
py
# Generated by Django 2.2.5 on 2021-05-01 04:30 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('reviews', '0001_initial'), ('rooms', '0001_initial'), ] operations = [ migratio...
[ "takio0116@gmail.com" ]
takio0116@gmail.com
2a8efb717200b391459bef8239c7a97a42f0d82e
94bcf7739bf632d6249d9eb7fc56d8232cbe446e
/genetic-sorting/genetic_sorting.py
776c66b71c539569985ca836bfaf7f8654b5df60
[]
no_license
freddiejbawden/mini-projects
a73ca900cd0cc39e365a42c2b60a62c277af5f27
7559b1ac2508b8f877d6b9f2976f9aaed592156b
refs/heads/master
2020-04-23T03:59:39.929531
2019-08-26T13:58:23
2019-08-26T13:58:23
170,894,604
0
0
null
null
null
null
UTF-8
Python
false
false
3,160
py
import random import math from tqdm import tqdm def sorted_score(arr): # score based # - The number of sorted elements # - The number of unique elements value_score = 1 unique_score = 0 seen = {} for i in range(0,len(arr)): if not(arr[i] in seen): seen[arr[i]] = 1 ...
[ "frederickbawden@c113101.wlan.net.ed.ac.uk" ]
frederickbawden@c113101.wlan.net.ed.ac.uk
226681be86154535110074c73a87ac21438d8ed0
83a5e7c3027dc5f62d8ba88df96ab296c186d258
/Game6/Bird_kor.py
d834e428446855030fdc52ea893b5ae789f319c6
[ "MIT" ]
permissive
minkyoyeah/Games
7f7f339e0cf447918e1cfbee486fcca49ef36e3e
1df05eefb62d9f00034f521af7a7fab552b38160
refs/heads/master
2020-05-20T11:26:17.100793
2019-05-30T10:13:51
2019-05-30T10:13:51
185,549,807
0
3
MIT
2019-06-01T10:57:10
2019-05-08T06:56:18
Python
UTF-8
Python
false
false
2,399
py
# 저자: Charles # 공공 번호 : Charles의 피카츄 # 조류 import pygame # Bird 종류 class Bird(pygame.sprite.Sprite): def __init__(self, HEIGHT, WIDTH): pygame.sprite.Sprite.__init__(self) # 기준 self.ori_bird = pygame.image.load("./resources/images/bird.png") # 디스플레이 self.rotated_bird = pygame.image.load("./reso...
[ "mangonie@naver.com" ]
mangonie@naver.com
827c56d16072b0c0dc3a06b707e6625239559f88
0022b9465c3b68b718c3aba2d84dffadd439801b
/Quantum_GAN_for_HEP_Chi_Lung_Cheng/quple/circuits/quantum_circuit_test.py
bf2af0e75ba98a92d2d0c875a611d2822acfd638
[ "MIT" ]
permissive
ericardomuten/QMLHEP
8077184c86ef9dae39eaab5598db8931bdcf93a1
f5f227129916bd1b5e66e823f684655e94553fd5
refs/heads/main
2023-07-16T11:55:43.631586
2021-09-01T19:07:55
2021-09-01T19:07:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
23,196
py
from abc import ABC, abstractmethod import itertools from typing import (Any, Callable, cast, Dict, FrozenSet, Iterable, Iterator, List, Optional, overload, Sequence, Set, Tuple, Type, TYPE_CHECKING, TypeVar, Union) import re import numpy as np from pdb import set_trace import s...
[ "chi.lung.cheng@cern.ch" ]
chi.lung.cheng@cern.ch
21c7d86604087e1f64aab3a533e8d35ecb9e7fc4
87d89c79120c953c644313da8d5f1020c87c73a1
/scripts/mirbase_gff2genes.py
c0bd66295f66ee5740fffca03218c2f0552fcc47
[]
no_license
gcfntnu/gcfdb
d647bd08603724957fb2bba5bc8255e860e86e78
d5ff8cef1419f516c4fcfd0107595af2340a4c41
refs/heads/bfq-dev
2021-07-05T11:22:26.638117
2020-12-10T09:06:31
2020-12-10T09:06:31
208,247,076
0
0
null
2020-12-14T13:20:12
2019-09-13T11:00:01
Python
UTF-8
Python
false
false
1,968
py
import sys from collections import defaultdict import pandas as pd if __name__ == '__main__': df = pd.read_csv(sys.argv[1], sep='\t', header=None, comment='#') df.columns = ['seqid', 'source', 'feature', 'start', 'end', 'score', 'strand', 'phase', 'attrs'] data = {} delete_keys = [] i = 0 ...
[ "arnar.flatberg@ntnu.no" ]
arnar.flatberg@ntnu.no
5a1e56872d5452c032dc23c23ca192b621aa38e1
a296dc8f628111cab2b5b96cc22fb1b35f776a1d
/arbitrage/public_markets/paymiumeur.py
009e357742af71f7cb84d275af7b1d5d2d6a43d1
[ "MIT" ]
permissive
caojun105/bitcoin-arbitrage
e67e9c6bfb4280f1f3cc79292844f2365a28f964
9677b77829005c928c7a0b738c5fd28ad65a6331
refs/heads/master
2021-01-18T20:47:54.084419
2016-07-08T07:31:56
2016-07-08T07:31:56
63,140,117
2
0
null
2016-07-12T08:22:20
2016-07-12T08:22:19
null
UTF-8
Python
false
false
1,112
py
import urllib.request import urllib.error import urllib.parse import json from .market import Market class PaymiumEUR(Market): def __init__(self): super(PaymiumEUR, self).__init__("EUR") # bitcoin central maximum call / day = 5000 # keep 2500 for other operations self.update_rate =...
[ "maxime.biais@gmail.com" ]
maxime.biais@gmail.com
c12d5ba71e38e4249181939307ea67952b912e2a
0472e717b8b2739a1eee20d49026f87031f1f72d
/v3/core/core/settings.py
3a5f3b5c76f8e34964e0e3d8c51027a83f49facc
[]
no_license
nightarcherbr/uplayer
f11dd47c1da7655005c3051df7be706e75a6feca
3d67275676111a0fdf0b4874129c6ba824022f4f
refs/heads/master
2021-01-12T17:08:38.407182
2016-10-24T10:47:36
2016-10-24T10:47:36
71,516,128
1
0
null
null
null
null
UTF-8
Python
false
false
235
py
import os; HOME_DIR=os.getcwd(); CACHE_DIR=("~/.uplayer/cache/"); TMP_DIR = TEMP_DIR = "/tmp/uplayer"; PRIMARY_SERVER="http://helloo.com.br/webservices/operacao/"; INSTALL_PATH="http://helloo.com.br/webservices/operacao/install";
[ "fabio@docker" ]
fabio@docker
afadc0650fe9799b877989a94f76bc5e6f562074
aa8269e27f0ed3838706538d58013c0953f59b2d
/hdp/struct/metadata.py
774e1facd9ec1e5df25140a9b33eb05f6d6f06ea
[ "BSD-3-Clause" ]
permissive
KatarzynaWatroba/hdp
61b9735fb568154880c4ece94f27fabec934fd01
f60a94192cd5dab34bbf00720de5f615a7356fa1
refs/heads/master
2022-07-14T20:05:58.663299
2020-05-10T20:55:30
2020-05-10T20:55:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
124
py
class Metadata: patterns = {} units = {} dtype = {} missing_data = {} data_min = {} data_max = {}
[ "krzysztof.michalski1999@gmail.com" ]
krzysztof.michalski1999@gmail.com
3dca8f668196d7fc132fd8d95253acc6fe07f560
1b93e0909240ffb463d1d3979120bbb0b867365d
/bin/experiment/singlerun.py
746a56ceb963a3a1fe38336afdd3a15ba3c76469
[]
no_license
liu-nlper/smp-eupt-2018
ffd1ca35d32ac95686d923d81e652a1240670a09
b0f9749954ab3c2d9cb798a2078a47f826378ff7
refs/heads/master
2020-03-25T04:51:50.564972
2018-06-04T23:01:38
2018-06-04T23:01:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,028
py
#! /usr/bin/python # -*- coding: utf-8 -*- # @Time : 5/12/18 10:15 AM # @Author : HouJP # @Email : houjp1992@gmail.com import json import numpy as np from absl import logging from bin.model.model import Model from bin.experiment.runner import Runner from bin.featwheel.io import load_vector, ValidType, write_csv ...
[ "houjp1992@gmail.com" ]
houjp1992@gmail.com
643fdf29e78d4627ba0e073def4c6eebe8d7a8df
ade831b94991011344006d663f179ad9c11c634a
/auctions/tests/test_urls.py
192a54d81cf8359327aae325d3a071668e44791d
[]
no_license
LujBalzanti/django-auction-website
9a69435ac60d480ad9eea61da48afd3c9549a04e
ca082ae968fe4a1c78d24d5f909ef710c774d73e
refs/heads/master
2023-03-08T14:27:55.692898
2021-02-26T18:33:10
2021-02-26T18:33:10
334,487,914
0
1
null
2021-01-30T19:16:15
2021-01-30T18:52:34
Python
UTF-8
Python
false
false
1,965
py
from django.test import SimpleTestCase from django.urls import reverse, resolve from auctions import views class TestUrls(SimpleTestCase): def testIndexUrlResolves(self): url = reverse('index') self.assertEquals(resolve(url).func, views.index) def testLoginUrlResolves(self): url = rev...
[ "Lujrbalzanti@hotmail.com" ]
Lujrbalzanti@hotmail.com
685183591cc68992807cb442bab71157d4a2f293
132c55f17da675a2d97e286fdbe21eece5c1435d
/SEM-1.1/Core_Model.py
e7fcd3973d39b838fa164c417d65014f9ddfae6a
[]
no_license
jacquelinedowling/SEM-long-duration-storage
19c8a14e8ed43de205f7338d081fea428a1a16f2
e8171f29cb5624deb5f8ef803680b85169ab3d89
refs/heads/master
2022-12-02T02:42:31.370055
2020-08-14T21:09:46
2020-08-14T21:09:46
278,500,365
0
0
null
null
null
null
UTF-8
Python
false
false
29,042
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- ''' NOTE: THIS VERSION OF THE MODEL NEEDS CVXPY-04. File name: Core_Model.py Simple Energy Model Ver 1 This is the heart of the Simple Energy Model. It reads in the case dictionary that was created in Preprocess_Input.py, and then executes all of the cases. Technolog...
[ "noreply@github.com" ]
jacquelinedowling.noreply@github.com
089a8cb911834929cd3d0915fe85a704e59bdff7
22bbbc4d802403e6e556c3f618291babe2d5e72e
/theme_installer/utils.py
2d6f700cbbbf5118e7a8ebad304d2b2bcc34137a
[ "MIT" ]
permissive
jefcolbi/django-theme-installer
03aaa13e2a43c9dd19c75e02ad56187517ccf88a
6ec58cb32ade51db07d7aa41ff9448f1858a6d23
refs/heads/master
2020-12-14T17:29:38.358946
2020-07-06T01:58:52
2020-07-06T01:58:52
234,825,502
5
1
null
null
null
null
UTF-8
Python
false
false
1,247
py
import re rgx_bad_start = re.compile("^([^A-Za-z]+)") def get_view_name_from_html_name(app:str, html_name:str) -> str: if html_name.startswith(app): html_name = html_name.replace(app+'/', '', 1) html_name = html_name.replace('.html', '') html_name = html_name.replace('/', '_').replace('-...
[ "jefcolbi@gmail.com" ]
jefcolbi@gmail.com
6b7ded71e6c55a1aa444ab52997237b0cae1a9dc
304db04be5554d68121c9b3192df189eaaa2d3fa
/knowledge.py
bccac6f10f7d3dc8689a4c141ceea1707efcda8f
[]
no_license
jordanjambazov/knowledge-graph
6155f3091bf3a85596092e628212d1e2daabace1
f4181c54522122d7693bd81d7ee93afff4bc9035
refs/heads/master
2023-01-21T08:10:14.240608
2020-12-03T18:45:53
2020-12-03T18:45:53
318,288,011
0
0
null
null
null
null
UTF-8
Python
false
false
1,273
py
from suggestions import Suggestions class KnowledgeGraph: MAX_DEPTH = 2 def __init__(self, term): self.__term = term.lower() self.__nodes = [term] self.__edges = [] self.__build_graph(term) def __build_graph(self, term, depth=0): if depth == self.MAX_...
[ "jordan.jambazov@gmail.com" ]
jordan.jambazov@gmail.com
b3563963de95460cd52c5979b9ac6dbf28dc4465
6b3b81d2e3c2dc2bd7e8b56c4398bdcf7614366a
/ctypes/simple/main.py
351d68770f2c23061c777cff1ae324054a33a768
[]
no_license
princewang1994/python_c_extension
f28cc206f55d35471c0f433564985212ec4d279f
30cb3e7fac14d8e1a36bdf25ea5d64d82399e68d
refs/heads/master
2020-03-23T07:51:40.002351
2019-05-15T03:09:53
2019-05-15T03:09:53
141,293,803
13
0
null
null
null
null
UTF-8
Python
false
false
67
py
# call wrap module from cos import cos_func print(cos_func(1.0))
[ "princewang1994@gmail.com" ]
princewang1994@gmail.com
baf708c445230a53e02364d32bf58b9b37fb58d6
95e046a08b26352c9a6aea6673380d6141c4bd62
/final.py
bda46e914795230a915156a6693120a4733816da
[]
no_license
Anirudh-Murali/BBB-Home-Automation
e97c4a88d6dabf8be5c78edec053b80ff04e5807
89750082110932422d83ca1d498a133686ecfe67
refs/heads/master
2021-05-15T15:21:42.082763
2017-10-18T07:40:43
2017-10-18T07:40:43
107,371,211
0
0
null
null
null
null
UTF-8
Python
false
false
1,671
py
import Adafruit_BBIO.GPIO as GPIO import Adafruit_BBIO.PWM as PWM import time import math import urllib import sys import signal import csv #pwm duty #PWM.start("P9_ ,50) GPIO.setup("P9_22",GPIO.OUT) GPIO.setup("P9_24",GPIO.OUT) #GPIO.setup("P9_16",GPIO.OUT) while True: try: #prev = ...
[ "noreply@github.com" ]
Anirudh-Murali.noreply@github.com
2794c228f5b143fdfae9f98044664b701ae733b3
b21bdc7be1a314b9816c56286c57b63961ed163c
/Problems/Students/main.py
a0a93dca2d812d86f6328a3905515d1e0d94fb33
[]
no_license
martinezga/jetbrains-academy-simple-banking-system
257074a4cc821209ca6751ab80837fd4df2bf8cd
1e6e217cd00550384f597296088ca9567380639f
refs/heads/main
2023-01-29T16:15:43.122888
2020-12-12T21:28:47
2020-12-12T21:28:47
316,833,619
0
0
null
null
null
null
UTF-8
Python
false
false
1,610
py
class Student: def __init__(self, name, last_name, birth_year): self.name = name self.last_name = last_name self.birth_year = birth_year self.student_id = name[0] + last_name + birth_year a_student = Student(input(), input(), input()) print(a_student.student_id) """ Students Joh...
[ "52822208+martinezga@users.noreply.github.com" ]
52822208+martinezga@users.noreply.github.com
2a3c0413cbe215ba5d2bbde741f165085399a9a9
e952ddf766fe5374105f242937439b925cdbb82b
/proj3py/controller.py
6af3d6e4729378aef00fb86d1352b6731f1ec993
[]
no_license
Raenbows/Python-p3
8a7155be1b594fab5714c175cfbc5ad33c710096
1e0cb070649a6d6040357b33ffe6bd68c3f175b2
refs/heads/master
2016-09-06T19:18:53.875706
2015-03-08T04:58:41
2015-03-08T04:58:41
31,820,374
0
0
null
null
null
null
UTF-8
Python
false
false
1,533
py
#controller.py #Rachael Byrkit rmb11d #WELCOME TO TEAM FORTRESS 2! from char import Demoman from char import Soldier from map import Map print ("WELCOME TO TEAM FORTRESS 2!") pname=raw_input("Now, what's your name, mercenary?") print ("You're on BLU. Which offensive class would you like to play?") classchoice=raw_inpu...
[ "rbyrkit@gmail.com" ]
rbyrkit@gmail.com
762f66561d8648aca6e0784e3ebccc8d36a7e4c0
3ead257c7b6413fd6f0831652f367b926f39f337
/data/cites/utils.py
1107ce533303981d9e6153144a29dfeba0b07994
[]
no_license
syyunn/tex
88558b993f561f0370e9b8ad1500220f6c7578c9
6b5976c2f668d115ef2dbfa22cd16d1fac9c2b0c
refs/heads/master
2022-12-31T21:09:05.073341
2020-10-21T11:27:41
2020-10-21T11:27:41
300,886,452
0
0
null
null
null
null
UTF-8
Python
false
false
1,323
py
def create_cooccurrence_matrix(cites): """Create co occurrence matrix from given list of sentences. Returns: - vocabs: dictionary of word counts - co_occ_matrix_sparse: sparse co occurrence matrix Example: =========== sentences = ['I love nlp', 'I love to learn', 'nlp i...
[ "syyun@snu.ac.kr" ]
syyun@snu.ac.kr
647b30379f37a277c78f8b6e9cfad34e77374880
18da2e6f54184313f9d36107fd7d6a60acc3df92
/0x0F-python-object_relational_mapping/model_state.py
dc00ab58c9b0ba6aab8f141c4ec7660efe4e191c
[]
no_license
decolnz/HS_higher_level_programming
a92311faed6ecdeeb6db81ebd8da330126d0e139
4ff903992945e7f021db9a7e7499dccd35395446
refs/heads/master
2022-07-09T12:34:57.847768
2020-05-15T06:45:39
2020-05-15T06:45:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
#!/usr/bin/python3 """ Creating a class """ from sqlalchemy import Column, Integer, String from sqlalchemy.ext.declarative import declarative_base Base = declarative_base() class State(Base): """Class State""" __tablename__ = 'states' id = Column(Integer, autoincrement=True, unique=True, nullable=False...
[ "castrok.c11@hotmail.com" ]
castrok.c11@hotmail.com
ae18dfbbd874a77429f1374bfb58521ee9f7abca
a06c82aebb3ecfbe89c86b4892f6665c8002a386
/project/trobz_sync/wizards/sync_password_prompt_wizard.py
e21b39a6b728aeac4d60cc5cb2deb857e68b8f4c
[]
no_license
Smart744/thaikhuong
0c6bab2d203310056a9e76e924f254ec24082f8f
0f163f84f57e8520e3dd05b28e5cc89f706b4061
refs/heads/master
2022-12-19T08:52:28.485979
2020-10-01T10:18:53
2020-10-01T10:18:53
300,236,049
0
0
null
2020-10-01T10:18:09
2020-10-01T10:18:09
null
UTF-8
Python
false
false
1,196
py
# -*- coding: utf-8 -*- from openerp.osv import osv, fields # TODO: rename this model to follow Trobz's convention class sync_password_prompt_wizard(osv.TransientModel): _name = 'sync.password.prompt.wizard' _columns = { 'password': fields.char('password', size=256, required=True), } def de...
[ "ubizgit@gmail.com" ]
ubizgit@gmail.com
f1ad5a1da1cf5397c5e0c7f22c07ad4688a00ab3
a63aff864666f8e5480b852e9960c0b638d55478
/employee/views.py
9800077677ea4c999edaa7fbcf207a6aa901ab16
[]
no_license
danish703/asmt
5788e7daf063ddc5e6b4d18b827c294962e0ddb2
1d3fe7fba6f30c342b7bdf5b0589c13c8219ecf7
refs/heads/master
2020-09-15T01:34:59.188235
2019-11-27T03:50:59
2019-11-27T03:50:59
223,316,913
4
0
null
null
null
null
UTF-8
Python
false
false
2,625
py
from django.shortcuts import render,redirect from .forms import EmployeForm,EmployeEditForm,EmployeImageEditForm,ExperineceForm,SkillForm from .models import Employee,Experience,Skill # Create your views here. def dashbaord(request): e = Employee.objects.get(user_id=request.user.id) x = EmployeEditForm(request....
[ "dipu.danish@outlook.com" ]
dipu.danish@outlook.com
e18b3657bcf036d792f980438845cacd61d5bd51
9adc810b07f7172a7d0341f0b38088b4f5829cf4
/experiments/shikhar/corl2019/mulitobj_cvae/multiobj_cvae2.py
23bef1e12a07541089ac824be0af1db3efcbb747
[ "MIT" ]
permissive
Asap7772/railrl_evalsawyer
7ee9358b5277b9ddf2468f0c6d28beb92a5a0879
baba8ce634d32a48c7dfe4dc03b123e18e96e0a3
refs/heads/main
2023-05-29T10:00:50.126508
2021-06-18T03:08:12
2021-06-18T03:08:12
375,810,557
1
0
null
null
null
null
UTF-8
Python
false
false
6,161
py
import rlkit.misc.hyperparameter as hyp from experiments.murtaza.multiworld.skew_fit.reacher.generate_uniform_dataset import generate_uniform_dataset_reacher from multiworld.envs.mujoco.cameras import sawyer_init_camera_zoomed_in from rlkit.launchers.launcher_util import run_experiment # from rlkit.torch.grill.launcher...
[ "alexanderkhazatsky@gmail.com" ]
alexanderkhazatsky@gmail.com
f74c1bef0bbf6a21fca6e1d069017b460f2ca0e0
03e7552ca43d6d1be2c867acfb013da2a96a32c1
/examples/drake/manipulation_station/manipulation_station_plan_runner.py
31ed4ba6e31afad4714fdea3e4611444363dee50
[ "MIT" ]
permissive
ronuchit/pddlstream
65a7c1b789363636219cb2127604007dd5d838f2
3471834ce5f6710c9871dd1dad94365fd5b5c0a9
refs/heads/master
2021-07-17T11:07:05.974594
2020-07-13T15:37:03
2020-07-13T15:37:03
196,050,963
2
0
MIT
2019-07-09T17:07:07
2019-07-09T17:07:07
null
UTF-8
Python
false
false
9,446
py
import numpy as np import sys from pydrake.all import ( BasicVector, LeafSystem, PortDataType, ) from pydrake.util.eigen_geometry import Isometry3 from pydrake.trajectories import ( PiecewisePolynomial ) from pydrake.math import RollPitchYaw from robot_plans import * class ManipStationPlanRunner(Lea...
[ "caelan@mit.edu" ]
caelan@mit.edu
2a21be4baa493ba4ebbd659cb4cf4c518e170455
11583bb4cbcd1518bec8f1316cb3588b2bc2c1c6
/zaif_last_price.py
c57d70cc6face15056fbc3e7e9755b12f1a1cb0f
[]
no_license
aki-06/zaif_last_price
e41ac7bfa55f6a5e959e0b757ec4f6924e69a0aa
2f6eae8f1df5443d8da0776f2a617a1b7b938a06
refs/heads/master
2021-08-14T11:31:48.766514
2017-11-15T14:25:38
2017-11-15T14:25:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
818
py
import zaifapi from zaifapi import * if __name__ == '__main__': zaif = ZaifPublicApi() zaif_btc_jpy = zaif.last_price(('btc_jpy')) zaif_xem_jpy = zaif.last_price(('xem_jpy')) zaif_eth_jpy = zaif.last_price(('eth_jpy')) zaif_mona_jpy = zaif.last_price(('mona_jpy')) zaif_bch_jpy = zaif.last_...
[ "akihiro.nemoto.06@gmail.com" ]
akihiro.nemoto.06@gmail.com
13ec4aded9b3b3ffb1dcbd38b762f073b497b16e
0df6d7d56d90e87c9b7ba33fdc1b3a990a8e456f
/ML and Dash integration_2.py
77fd8a87ba99b50a6d0440405baf9b3e6529dda2
[]
no_license
jayasharm-a/Website-showing-user-insighs-for-a-product_site
f76058ae60f939c6c4a2460e067a56278d50dbeb
6ddd39c840a229dbcbd773824c1b6c167f35838f
refs/heads/main
2023-07-12T04:44:00.016921
2021-08-17T22:42:47
2021-08-17T22:42:47
397,406,348
0
0
null
null
null
null
UTF-8
Python
false
false
6,782
py
####### Importing the libraries import pickle import pandas as pd import webbrowser import dash import dash_core_components as dcc import dash_html_components as html import dash_bootstrap_components as dbc from dash.dependencies import Input, Output, State from sklearn.feature_extraction.text import TfidfTran...
[ "noreply@github.com" ]
jayasharm-a.noreply@github.com
3475bc1c855a33a365c7f89e08b78e86a35c60aa
e36d439355a9287dddf312d66a159b571e96deb1
/generate-wordlist.py
fe3f555edff7ce98a7ace9f3e09c3db361d6fa89
[]
no_license
attacker-codeninja/bash-hacks
5b29d53882ab5bdafc68961511e0fce5075f2bfd
fd7a3edd05aa8661d612af348846b11f75499fb7
refs/heads/master
2023-04-12T19:47:05.045048
2021-05-04T03:21:55
2021-05-04T03:21:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
720
py
import argparse import sys Parser = argparse.ArgumentParser() Parser.add_argument('-l', '--list', help="File with URLs") Parser.add_argument('-o', '--output', help="Output file (optional)") Args = Parser.parse_args() if Args.list == None: print("Argument --list required!") print(Parser.print_help()) sys.exit(2) ...
[ "michaelben7781@gmail.com" ]
michaelben7781@gmail.com
5b68965b58fe858161493c9ac55efc4862b6ebeb
7ea1e98213760bf93d485304972cef6c2d092823
/multi/likepool.py
9d8bccb22060ebd983b96d858c7a6f99410bf52b
[]
no_license
libincla/scrpits
63bfb955b05149f81efa60230db47a980c0d4bf4
61dc4af4b2fa0764720fbef8646a5504392f3c14
refs/heads/master
2021-01-19T22:52:19.278760
2017-04-20T14:50:31
2017-04-20T14:50:31
88,876,414
0
0
null
null
null
null
UTF-8
Python
false
false
153
py
#!/usr/bin/env python from multiprocessing import Pool def exam(x): return x * x if __name__ == '__main__': p = Pool() print (p.map(exam,[1,2,3]))
[ "libincla@sina.com" ]
libincla@sina.com
136217c6934974caa3c84a3a21222f53c74fdbae
f60abb4aaf72d3fe185ec446f97030857808c3b3
/myproject/myapp/migrations/0002_auto_20201019_1155.py
c5b037c1252146503ed109e2e52c7c7ff6288844
[ "Apache-2.0" ]
permissive
ObukhovVladislav/mysite-django
4cff483642e125de4dd167a27c9465b43a3d4877
715a3793351c19a0e7b052d2711796cafee4d5a9
refs/heads/main
2023-01-12T10:41:17.476330
2020-11-16T07:11:56
2020-11-16T07:11:56
305,019,098
0
0
Apache-2.0
2020-11-16T06:05:51
2020-10-18T04:06:32
Python
UTF-8
Python
false
false
918
py
# Generated by Django 2.2 on 2020-10-19 06:55 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('myapp', '0001_initial'), ] operations = [ migrations.RenameModel( old_name='Computers', ...
[ "VladislavObv@example.com" ]
VladislavObv@example.com
c8011d71d45725f70e164cf51fc25c8483b90898
e020177a77482dd9c85eda1daceb2f8a715eb419
/read_statistics/migrations/0002_readdetail.py
e0c106dd181bf4640b17891fc1de53c137c455af
[]
no_license
JamKuo/mysite2
b467799373c913751f3ab57043cdf4e5a1c602a3
0a35c1c0e57991c1c665687afa5ef894427369b2
refs/heads/master
2023-05-14T05:51:30.395421
2020-07-07T17:02:31
2020-07-07T17:02:31
277,872,597
0
0
null
2021-06-10T23:08:24
2020-07-07T16:49:00
Python
UTF-8
Python
false
false
909
py
# Generated by Django 2.0 on 2020-07-01 06:38 from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('contenttypes', '0002_remove_content_type_name'), ('read_statistics', '0001_initial'), ...
[ "2269810297@qq.com" ]
2269810297@qq.com
58970f8219505e642ae5a6e3eae2d0f638cabf2c
13bf934fe5470eed7c94cd86655eef28eebc4a41
/commonmethod.py
35a6c073617624fe33ad81dffe817ed7f3437ee8
[]
no_license
RenShixu/spider2
bac13c8d821a1cca506f58dbc8fa42792037902b
f1e37d005b6b0901557e720a1ec99614755f7817
refs/heads/master
2020-04-01T23:59:19.292199
2018-10-19T12:57:57
2018-10-19T12:57:57
153,782,973
0
0
null
null
null
null
UTF-8
Python
false
false
1,045
py
#通用方法 import requests from requests.exceptions import RequestException import json def savetofile(content,filepath): ''' 保存信息到文本 :param content: :return: ''' with open(filepath,"a",encoding="utf-8") as file: file.write(json.dumps(content,ensure_ascii=False)+"\n") def spiderdata(url,head...
[ "ren_shixu@outlook.com" ]
ren_shixu@outlook.com
a9f479690680b69ea0b2486f319a983d4c08409b
6085af347b66144897fec3f92ea0a77ba6a8a66c
/test_sundry/test_get_func_info.py
9e305a2da01b75778649b021a68a75f40d771f5d
[ "MIT" ]
permissive
jamesabel/sundry
44c6c86c4999b5b1e3eccc564c4e8ccd71b7ac93
4db961ac81b85bc4de8888f7dd0b4b49393b4770
refs/heads/master
2022-07-24T14:32:08.357387
2022-07-16T00:00:18
2022-07-16T00:00:18
161,882,254
2
1
null
null
null
null
UTF-8
Python
false
false
652
py
import os from sundry import get_func_name, get_line_number, get_file_name, get_file_path def test_get_func_name(): assert get_func_name() == "test_get_func_name" assert get_line_number() == 7 assert get_file_name() == "test_get_func_info.py" # sometimes we split on /, other times \ file_path = g...
[ "j@abel.co" ]
j@abel.co
5c4ffd13d989a39eeac802a982aa42658eb71568
de37773bca6f81ec0b6dd30ab9ec4cec38fc2598
/bin/futurize
056870f72481711871ba95ee20b205e489cc8964
[ "MIT" ]
permissive
paultrigcode/EcommerceGadget
7b68f9abc9ff8020c9cc95bbf37c446bfb9509a5
3c6927aa9f3bc891eb7e7eff06bdfca09835aa73
refs/heads/master
2023-03-04T05:33:55.393211
2021-02-16T05:57:12
2021-02-16T05:57:12
337,429,362
0
0
null
null
null
null
UTF-8
Python
false
false
261
#!/Users/paultrigcode/Desktop/Projects/paulgadgets/bin/python3.7 # -*- coding: utf-8 -*- import re import sys from libfuturize.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "mailpaulade@gmail.com" ]
mailpaulade@gmail.com
89734e1da49cbef6da35b7ee1dd73cebfd10faf9
4e72d499be0250f1b30632a1e8b9723fd7b2ca49
/azurevm/azurevm.py
eff03b272f1b680db1451fbb6d18d7a463fac5e4
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
alfonsof/azure-python-examples
ec61b4227ddd15034797f8c45e729f1f907efeba
aeb2f69ae4b8f3f0289cde1cd88c3fe9b685c18a
refs/heads/master
2022-09-04T21:18:52.989689
2022-08-24T15:30:57
2022-08-24T15:30:57
146,594,912
4
5
null
null
null
null
UTF-8
Python
false
false
1,569
py
#!/usr/bin/python # -*- coding: utf-8 -*- # azurevm.py # It is an example of how to handle Virtual Machines on Microsoft Azure. import sys import azurevmhelper def print_menu(): print('\nMENU') print('0 = Quit') print('1 = List all Virtual Machines') print('2 = Create a Virtual Machine') print('3 ...
[ "alfonsofb@gmail.com" ]
alfonsofb@gmail.com
d29d81888de9710a4d0837f9f00eb13263a04e23
a9e3f3ad54ade49c19973707d2beb49f64490efd
/Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/openedx/core/djangoapps/theming/helpers.py
0e1da2a4ae268d323d4b630e7673b15f47aacfce
[ "AGPL-3.0-only", "AGPL-3.0-or-later", "MIT" ]
permissive
luque/better-ways-of-thinking-about-software
8c3dda94e119f0f96edbfe5ba60ca6ec3f5f625d
5809eaca7079a15ee56b0b7fcfea425337046c97
refs/heads/master
2021-11-24T15:10:09.785252
2021-11-22T12:14:34
2021-11-22T12:14:34
163,850,454
3
1
MIT
2021-11-22T12:12:31
2019-01-02T14:21:30
JavaScript
UTF-8
Python
false
false
10,224
py
""" Helpers for accessing comprehensive theming related variables. This file is imported at startup. Imports of models or things which import models will break startup on Django 1.9+. If you need models here, please import them inside the function which uses them. """ import os import re from logging import getLogge...
[ "rafael.luque@osoco.es" ]
rafael.luque@osoco.es
cab0e808647d7fbb0f3978b47dc9ee5e90ce421e
5bcaecbb523db985c0704e1fd44bada6e655e695
/starter/azext_starter/custom.py
88dd2fa8247c87b1f9f07a7b28de027e35550b0b
[]
no_license
eriolchan/azure-demo
c81b722e38453cf7f3653e25cebb10196678854b
9b46fa4ec66a42fca949e583c5e12d2b86279a2d
refs/heads/master
2020-12-30T05:19:41.937042
2020-02-07T13:54:32
2020-02-07T13:54:32
238,874,107
0
2
null
null
null
null
UTF-8
Python
false
false
4,946
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
[ "erichen@microsoft.com" ]
erichen@microsoft.com
7a586bd08898a5adf6cff95a633f1bf2b3054ebd
8d88d81acaf0e25d68eb1bb3c47adc3b4831841c
/mtoolnote/mtoolnote.py
358ba211ec63942df185850d256895d7c9367d61
[ "MIT" ]
permissive
mitoNGS/mtoolnote
005d7d3a044a4969e09533114535e9eee243f4ed
16e94757781886716a27989ac014241af7409e7d
refs/heads/master
2023-01-04T11:49:59.646669
2021-06-10T09:06:40
2021-06-10T09:06:40
204,669,719
1
0
MIT
2022-12-26T20:56:20
2019-08-27T09:36:04
Python
UTF-8
Python
false
false
1,306
py
#!/usr/bin/env python # -*- coding: UTF-8 -*- # Created by Roberto Preste from mtoolnote.human import HumanAnnotator from mtoolnote.nonhuman import NonHumanAnnotator def annotate(input_vcf: str, output_vcf: str, species: str = "human", csv: bool = False, crossref: bool = True, predict: bool ...
[ "roberto.preste@gmail.com" ]
roberto.preste@gmail.com
83240fb402ffb441f8ea27fc70d086d6e2787731
276dd5dd778adefd039e6f6a71dc574386729401
/demo2/grpc-services/users/client/sample_client.py
861eb08c3d04ea39c85a816e156ae04b0ad6b8a4
[ "MIT" ]
permissive
amitsaha/python-grpc-demo
4880e64b4b993df4b7eb96f2946b6607fb2dfa82
48546bfda83062a3fcb015d352fecb46346e8c92
refs/heads/master
2023-01-12T10:01:36.396783
2022-10-08T05:10:39
2022-10-08T05:10:39
101,063,881
145
52
MIT
2022-12-27T17:26:21
2017-08-22T13:07:17
Python
UTF-8
Python
false
false
777
py
import users_pb2_grpc as users_service import users_types_pb2 as users_messages from client_wrapper import ServiceClient def run(): users = ServiceClient(users_service, 'UsersStub', 'localhost', 50051) # Insert example metadata metadata = [('ip', '127.0.0.1')] response = users.CreateUser( user...
[ "amitsaha.in@gmail.com" ]
amitsaha.in@gmail.com
6de4e7189a708edc48eba349a24d132097a215a2
931b1fa81f550340c8b8222cbabb0fc16282c364
/helper/read_helper.py
b24f1999cac025270865f8e0e746907b1f2428bb
[]
no_license
truongdo619/Spell_LSTM
600102bc739e841b670e45f4cb9fe29b876065ca
53832876affd5e5042d86dedef4ec01fdac83ce6
refs/heads/master
2022-12-13T21:15:16.432005
2020-06-11T03:36:00
2020-06-11T03:36:00
239,971,010
0
0
null
2022-12-08T03:36:59
2020-02-12T09:17:53
Python
UTF-8
Python
false
false
7,743
py
# -*- coding: utf8 -*- import gzip, csv import os import json import pathlib from collections import Counter import subprocess from glob import glob import sys sys.path.insert(0, './') def get_single_word_list(): list = load_uni_gram() try: with open('data_train/tu_viettat.txt', encoding="utf-8") as f:...
[ "conmuonvenha@gmail.com" ]
conmuonvenha@gmail.com
250fe633342902421e18eb42c4191f6bdbac2e32
05536893d069dd87256ba74ecdee06bdf481d44b
/args_api/ORAEXA/ORAEXA-ORA11G.py
1a7cf8c1ba362166fa07740f18ac0c81f9aa7995
[]
no_license
TheRockStarDBA/DataBuddy
b2d889e11745d0afe1b39a11aab5945e2bd08cf7
38fa7adfdd228e2b2e4b4408393505163c5702e8
refs/heads/master
2020-12-25T23:27:02.363977
2015-05-28T19:14:12
2015-05-28T19:14:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,347,642
py
#do not change aa={'ORAEXA_Partition_NoClient.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy...
[ "alexbuzunov@gmail.com" ]
alexbuzunov@gmail.com
787d0ead8e3e61a69f630621e29795a58e9c52c3
3531bbff49b36aff6289911bc061865e7e59bd46
/src/HttpGenerator/Plugins/PythonNullWebserverContentProcessorPlugin.py
ef8a2dc856cbfc76161efbbb5e7a1f253b0867ea
[ "LicenseRef-scancode-unknown-license-reference", "BSL-1.0", "Python-2.0" ]
permissive
davidbrownell/Common_Web
c5e66fc7ca03cdbd640ef1fe7cc12dafa9c04ef6
fe3ee9d46cf9f2184434cf950d2c4281b5ec21e7
refs/heads/master
2022-09-05T18:33:34.014472
2022-06-08T16:44:54
2022-06-08T16:44:54
95,167,233
0
0
null
null
null
null
UTF-8
Python
false
false
7,940
py
# ---------------------------------------------------------------------- # | # | PythonNullWebserverContentProcessorPlugin.py # | # | David Brownell <db@DavidBrownell.com> # | 2020-08-28 22:15:38 # | # ---------------------------------------------------------------------- # | # | Copyright David Browne...
[ "db@DavidBrownell.com" ]
db@DavidBrownell.com
e450124a3668d87ba76635a486a5576d25066aac
765b05b001597b76ef126e8ecc90701bcf8766e3
/docs/home/code-samples/Scheduled_Reboot_Video_Demo.py
1630c10c268ebe8988960382c40574a1147b4930
[]
no_license
esper-io/dev-docs
4b8a6b5b059b309f25cd32e032db1ad49f0c7d20
18dbde3533362163336c7550ec86394c9760612c
refs/heads/develop
2023-08-02T15:53:40.700531
2023-08-01T18:21:46
2023-08-01T18:21:46
187,644,421
6
25
null
2023-08-01T18:21:47
2019-05-20T13:19:20
JavaScript
UTF-8
Python
false
false
3,591
py
import esperclient from esperclient.rest import ApiException from datetime import datetime, timedelta configuration = esperclient.Configuration() configuration.host = 'https://YOUR_ENDPOINT_HERE-api.esper.cloud/api' configuration.api_key['Authorization'] = 'YOUR_BEARER_TOKEN_HERE' configuration.api_key_prefix...
[ "radha@esper.io" ]
radha@esper.io
1000933bc872a19d9c6b2939a5d27f382320c3c4
0e7b912b641b22fbe6efae33234c2f0056e514be
/cloud.py
7a3baded5ba37a014a6c908c1a1665acadee26e9
[]
no_license
Anurag-sahu/cloud2
110c4027a211e0a81fbe3db3635d6590a4e478de
b6ac2085a162d3b0d543a1e983977932c452d35c
refs/heads/main
2023-07-01T19:11:48.904487
2021-08-05T16:29:44
2021-08-05T16:29:44
393,108,925
0
0
null
null
null
null
UTF-8
Python
false
false
761
py
import dropbox class TransferData: def __init__(self, access_token): self.access_token = access_token def upload_file(self, file_from, file_to): dbx = dropbox.Dropbox(self.access_token) f = open(file_from, 'rb') dbx.files_upload(f.read(), file_to) def main(): ...
[ "noreply@github.com" ]
Anurag-sahu.noreply@github.com
0ea91e5a0cf17f128231b27e498ed8faef5c8244
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03131/s109288213.py
d83fd52fecf6c54b08e12805530c326dab31a380
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
199
py
K,A,B=map(int,input().split()) b_count=1 if B-A<=2: b_count+=K else: b_chenge_count=max(0,int((K-(A-1))/2)) b_count+=b_chenge_count*(B-A)+(A-1)+(K-(A-1)-b_chenge_count*2) print(b_count)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
b8fbb72707bb51165490e780748bc15b618d348b
0eccf4553845e27405a65242428fbf6f527ddeb3
/model.py
92039b0b40aacd358821927d033bd4147addb9b7
[]
no_license
muskanmahajan37/CheckMate
94e406df2d479f79c16b237cf56664b8c76a2d96
25f41ba67d2122fa700277f728a7f3da44074f4c
refs/heads/master
2023-01-19T22:03:28.969436
2020-11-25T20:54:33
2020-11-25T20:54:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,133
py
import pdfplumber import glob from sklearn.feature_extraction.text import TfidfVectorizer import numpy as np from pdftotext import get_text from pdftotext import get_percentages from pdftotext import assign_comparison def ml_model(): path = r'uploads' # use your path all_files = glob.glob(path + "/*.pdf") ...
[ "rohan.mathur0@gmail.com" ]
rohan.mathur0@gmail.com
a17c64a742a45832da07a086ce11578fdb82b72e
d532b85841b459c61d88d380e88dd08d29836d43
/solutions/1418_display_table_of_food_orders_in_a_restaurant.py
70d472684cea39e66b5cec60e2c88f8f5d159460
[ "MIT" ]
permissive
YiqunPeng/leetcode_pro
ad942468df5506de9dc48a4019933f658e2a3121
4a508a982b125a3a90ea893ae70863df7c99cc70
refs/heads/master
2022-05-15T09:32:02.699180
2022-05-14T16:32:17
2022-05-14T16:32:17
182,453,966
0
0
null
null
null
null
UTF-8
Python
false
false
744
py
class Solution: def displayTable(self, orders: List[List[str]]) -> List[List[str]]: """Hash table. """ foods = set() tables = {} for order in orders: t, f = int(order[1]), order[2] if t not in tables: tables[t] = {f: 1} else...
[ "ypeng1@andrew.cmu.edu" ]
ypeng1@andrew.cmu.edu
f619900a0c6edd69f0dc30490bf1c40fd33bcb35
ef5c84970dc2131df878b1f9a056759aefb98f67
/pcadriver.py
04e9de38e4c2ec09c1a5656db6a8d87246e9454e
[]
no_license
geneostrat/SelfDrivingCar
91b40b0192f81fc264436d0bb9aeceea58f2b6ee
f3225c246d2f84d7a03534d04765d874fee7f4c1
refs/heads/master
2020-03-25T08:37:25.183471
2019-01-02T02:19:04
2019-01-02T02:19:04
143,623,771
0
0
null
null
null
null
UTF-8
Python
false
false
10,386
py
#!/usr/bin/python ''' ********************************************************************** * Filename : PCA9685.py * Description : A driver module for PCA9685 * Author : Cavon * Brand : SunFounder * E-mail : service@sunfounder.com * Website : www.sunfounder.com * Version : v1.2.0 **********...
[ "noreply@github.com" ]
geneostrat.noreply@github.com
c102131c6d4a516bfdb9a46b2857ea494a2a4e61
2dfedaf52ea247e7545bcf1b62e78e306dbb369f
/tele_theta_gang_bot.py
a352295798f52ff7912945a3006f56b417923c49
[ "MIT" ]
permissive
nasgoncalves/trading-utils
5602d6e52d6b62f138d38fe80877af0d0bec58e3
aa9d3cdb6e9052ff1022a23d5074ec1c540f9161
refs/heads/main
2023-04-19T19:47:16.050050
2021-05-17T18:53:13
2021-05-17T18:53:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,794
py
import logging import os from datetime import datetime from telegram import Update from telegram.ext import ( Updater, CommandHandler, MessageHandler, Filters, CallbackContext, ) from common.bot_wrapper import start, help_command from common.environment import TELEGRAM_THETA_GANG_BOT from common.e...
[ "575441+namuan@users.noreply.github.com" ]
575441+namuan@users.noreply.github.com
3e859dd4d8c7da1dd8f6989bb05ffe7879d48075
505343f6ace00d22f8753c1a943a5794a619e698
/katas/Python/8 kyu/Transportation on vacation 568d0dd208ee69389d000016.py
b4a45d8a8d95e7a907075fea11eac61bcc059cae
[]
no_license
bullet1337/codewars
7652e50bf768bc47976a9124dd98b93602d4d458
ba7f13ddd766158b41e036dae5d6b15f7f08761a
refs/heads/master
2020-03-27T05:04:03.751302
2019-04-30T17:45:39
2019-04-30T17:45:39
145,991,995
1
0
null
null
null
null
UTF-8
Python
false
false
140
py
# https://www.codewars.com/kata/568d0dd208ee69389d000016 def rental_car_cost(d): return d * 40 - (50 if d >= 7 else 20 if d >= 3 else 0)
[ "alichek95@mail.ru" ]
alichek95@mail.ru
954eed4d4d87112e1f438caf96de30d69ea7ae4e
95124cd0baf2d2a777b410a37fd70e3cbb8bcdbf
/python/lib/ptxprint/scriptsnippets.py
990b64fdbf47122eee45c7f7b7ad601010a6a492
[ "MIT" ]
permissive
davidg-sil/ptx2pdf
7b2d052ff39c4df9dc257428943f88599adbe926
0f632b38fbbb0594c83f0b2a89e44dae7f8413e6
refs/heads/master
2022-01-19T15:46:45.322061
2022-01-17T10:26:21
2022-01-17T10:26:21
234,384,549
0
0
null
2020-01-16T18:26:31
2020-01-16T18:26:30
null
UTF-8
Python
false
false
1,961
py
import re from ptxprint.minidialog import MiniCheckButton from ptxprint.utils import _ class ScriptSnippet: dialogstruct = None @classmethod def regexes(cls, model): return [] @classmethod def tex(cls, model): return "" class mymr(ScriptSnippet): dialogstruct = [ Mini...
[ "martin_hosken@sil.org" ]
martin_hosken@sil.org
02f61e7c33c8002145324c6554134a49e6f4b2fb
613ab3684010fabe1f2eed5287e1f3e0e0c80786
/load_tnp_from_www.py
39f1841c240e26c94969fae9df4115cd608f764d
[]
no_license
FAV001/DC2Web
e58018feaf0fb23177645e618e5dbb421948e23a
ee6738b7d76c3a364b031e7dc4b2129942802176
refs/heads/master
2020-03-19T02:59:39.361530
2018-11-02T07:37:10
2018-11-02T07:37:10
135,683,655
0
0
null
null
null
null
UTF-8
Python
false
false
1,795
py
#загружаем типы населенных пунктов и их сокращения с сайта #http://www.oktmo.ru/list_localitytypes/ import requests import pandas as pd from configobj import ConfigObj from bs4 import BeautifulSoup import sqlite3 def get_html(url, proxy=None): try: response = requests.get(url, proxies=proxy) except req...
[ "DVAM-DataAdmin1@DV.RT.RU" ]
DVAM-DataAdmin1@DV.RT.RU
39daa4cafa72748800db0f5f17d9eda82df3a111
badb4e42d07253b51355f992389eba2a0db72a83
/transpositionEncrypt.py
714c8bdf9e43a499ee2aa48d69a8f0f46aa6adea
[]
no_license
jikychen/python-Ciphers
fbc756f09f6f1f6add98e8757bc2af53b0f91ed1
8e6d6c97ac861e3b943adefa744607d25bace119
refs/heads/master
2020-04-06T21:09:04.733661
2018-11-20T00:30:33
2018-11-20T00:30:33
157,794,161
0
0
null
null
null
null
UTF-8
Python
false
false
813
py
# -*- coding: utf-8 -*- """ Created on Tue Oct 30 15:22:17 2018 @author: jikychen """ import pyperclip def main(): myMessage = 'Common sense is not so common.' myKey = 8 ciphertext = encryptMessage(myKey, myMessage) print(ciphertext + '|') pyperclip.copy(ciphertext) ...
[ "noreply@github.com" ]
jikychen.noreply@github.com
49f19b22eda4597712dfc07250ceaf09ab147a11
bd73ba5c38324a269a84d142b620882baf60d692
/venv/bin/email_validator
50cf21439068b73c762a348f1a2b03acdc4d04fb
[]
no_license
ristiriantoadi/hello-world-flask
f9ab81ef78198e4f02c6cba635501a88ead58e5d
f955ed42eafb86e1db9f4e2142cdbf25a655d333
refs/heads/master
2023-02-02T03:46:11.493271
2020-09-13T00:12:26
2020-09-13T00:12:26
323,193,853
0
0
null
null
null
null
UTF-8
Python
false
false
243
#!/home/ristirianto/flask/test/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from email_validator import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "ristiriantoadi@gmail.com" ]
ristiriantoadi@gmail.com
b621e6465612af50b4acd8e2c532efe05458533a
80d1d657a27241c1544ed2ece856153e25f0276c
/manage.py
874ddec85c06ae26284267bff871f0718347a3e2
[]
no_license
Mithamo-Gichuki/personal_portfolio_website
b9b312f12c1240a13614c641d4611486adea3e39
31f1bac56e572c4b89985f2e25d7879d3d7fbf39
refs/heads/master
2023-04-04T09:07:10.693982
2021-04-14T13:55:37
2021-04-14T13:55:37
353,815,061
0
0
null
null
null
null
UTF-8
Python
false
false
682
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'personal_portfolio_website.settings') try: from django.core.management import execute_from_command_l...
[ "emmanuelmithamo@gmail.com" ]
emmanuelmithamo@gmail.com
d4657862ef20deab225e80c2bb3cf21957ea5fb1
cfbb92788ccce741228c771c27dc3ad4e77d067d
/pw_test.py
6a25e39e37ad8c214eea30f182c06c1d4d7f1f76
[]
no_license
CharlieWang0207/pw_test
7d86d751180726ad044d4fe377200d8cc7ea477d
79ae9efba1cf5fdb956771fc0b89e05831f6912e
refs/heads/main
2022-12-28T21:01:21.361672
2020-10-09T10:49:54
2020-10-09T10:49:54
302,599,883
0
0
null
null
null
null
UTF-8
Python
false
false
509
py
# 密碼重試程式 # 現在程式碼中 設定好密碼 password = 'a123456' # 讓使用者[最多輸入3次密碼] # 不對的話,就進出"密碼錯誤! 還有_次機會" # 對的話,就印出"登入成功!" y = 2 while True: pw = input('請出入密碼: ') if pw == 'a123456': print('"登入成功!"') break elif pw != 'a123456' and y > 0: print('"密碼錯誤! 還有', y ,'次機會') else: print('"密碼錯誤! 請重新啟動"') ...
[ "a78020702402@gmail.com" ]
a78020702402@gmail.com
b4cfccfcdf58f7d7d02e45427cdb2030856a238d
75b124f434437e9c16c334bbe1729881b6e15098
/03_find_link_text.py
cd413f84a902cccceef26fb0241c2a15fec96ffe
[]
no_license
Vsempro/stepik_auto_tests_course
d425256d9be4b6fc8a24a063c3253bcb0c0df512
a25d09ae376a2b7e677acf1bd934e89db948597e
refs/heads/master
2020-12-12T04:37:08.721598
2020-01-15T11:27:36
2020-01-15T11:27:36
234,043,246
0
0
null
null
null
null
UTF-8
Python
false
false
808
py
from selenium import webdriver import math import time link = "http://suninjuly.github.io/find_link_text" text = str(math.ceil(math.pow(math.pi, math.e)*10000)) try: browser = webdriver.Chrome() browser.get(link) link = browser.find_element_by_link_text(text) link.click() input1 = br...
[ "noreply@github.com" ]
Vsempro.noreply@github.com
4e5585f6693e4a41b66fa0e9cfebb949f5c8b075
64e862cee2049e10c1956ccf40b01d902eaa8c47
/math/stochastic-simulations/flipcoins.py
bd7f2ad17c66f8a9bc8109ce16c8e76e3717f754
[]
no_license
GiliardGodoi/algorithms
c6db941da6220110b37f48c587edf053bc879fb7
1c71be16032111bf972132bbcbca513f8261504a
refs/heads/master
2023-03-14T20:22:10.423248
2021-03-21T15:26:19
2021-03-21T15:26:19
57,597,665
0
0
null
2020-06-15T17:30:18
2016-05-01T12:33:01
Python
UTF-8
Python
false
false
684
py
''' Simulation model for flipping a coin. ''' import random def flip(numFlips): ''' Simulates flipping a coin numFlips times, and returns the fraction of flips that came up heads. ''' heads = 0.0 for i in range(numFlips): if random.random() < 0.5: heads += 1 ret...
[ "giliardgodoi@alunos.utfpr.edu.br" ]
giliardgodoi@alunos.utfpr.edu.br