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
43903c64d8c9eea36e90c114416e63675002eb01
dbf334be427edc80991265bd8691047607ed830c
/venv/Scripts/pasteurize-script.py
d6625817cf8236bb54653cac3ec889fcf62a2828
[]
no_license
DaxTech/Chess
130455a83caafe2320bbc9f9b1afe9541b21c294
64ed18e4c22b97b9e73b6bf827f761a079017b31
refs/heads/main
2023-02-16T10:45:06.984360
2021-01-13T15:03:56
2021-01-13T15:03:56
323,070,274
0
0
null
null
null
null
UTF-8
Python
false
false
991
py
#!c:\users\manu\chess\venv\scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'future==0.18.2','console_scripts','pasteurize' import re import sys # for compatibility with easy_install; see #2198 __requires__ = 'future==0.18.2' try: from importlib.metadata import distribution except ImportError: try: fro...
[ "dax.learningcontent@gmail.com" ]
dax.learningcontent@gmail.com
ed6ba51a1f51da4a70789894dbbc3c28652b12bf
a08225934c425be313a12975c9563a72ded58be6
/round669/q1.py
851433744811d0efac4f1b094d4089b7adb1d6ae
[]
no_license
marcus-aurelianus/codeforce
27c966554dee9986f23fb2925bd53e6cceb8b9e9
4764df151ade7806e32b6c88283a2de946f99e16
refs/heads/master
2023-03-18T09:30:55.042594
2021-03-12T18:14:08
2021-03-12T18:14:08
231,387,022
2
0
null
null
null
null
UTF-8
Python
false
false
932
py
import sys reader = (s.rstrip() for s in sys.stdin) input = reader.__next__ def gift(): for _ in range(t): n = int(input()) arry = list(map(int,input().split())) count0 = 0 count1 = 0 for i in range(n): if arry[i] == 1: count1 += 1 els...
[ "37787424+marcus-aurelianus@users.noreply.github.com" ]
37787424+marcus-aurelianus@users.noreply.github.com
2f06fecc6645a0563f103b31ad52f3a5daf2c94c
194ec54f7398823c534516f34572d7ac4bdb95df
/eCommerse/views.py
2d5a5af4391fb788f3b4d68e273af6d60a11737a
[]
no_license
PradeepSinghIndia/All-App-In-One-Repository
f72981d359e175dde22dcae2448cd0560db55242
46c8f1e0fe36cd448ef382476b0d24bf8a136a5a
refs/heads/master
2023-04-27T02:32:07.842685
2021-05-18T13:35:25
2021-05-18T13:55:12
339,474,750
1
0
null
null
null
null
UTF-8
Python
false
false
171
py
from django.shortcuts import render from django.http import HttpResponse # Create your views here. def index(request): return render(request,'index.html')
[ "jnu.cdac@gmail.com" ]
jnu.cdac@gmail.com
23cfc36a50fb8dc908746eaa3728b64098291c15
514cbcf202f89917f5250fed2b6b6fceab7a5999
/cogs/error_handler.py
98bb42b4e205d7f93ec9926a72204ee0fb72fadc
[ "MIT" ]
permissive
FriendosClub/QuoteBot
95a17ebc761b1a054f350873916ba7cc40dae5bb
70be1bbc22cf68959035e62f6f868bb1cfc0dbb2
refs/heads/master
2023-01-31T08:22:04.804976
2020-12-12T01:08:38
2020-12-12T01:08:38
118,299,693
3
3
MIT
2020-12-12T02:25:17
2018-01-21T03:01:31
Python
UTF-8
Python
false
false
1,703
py
# Modified from # https://gist.github.com/MysterialPy/7822af90858ef65012ea500bcecf1612 import traceback import sys from discord.ext import commands import discord class CommandErrorHandler(commands.Cog): def __init__(self, bot): self.bot = bot async def on_command_error(self, ctx, error): ""...
[ "rama.o.ralph@gmail.com" ]
rama.o.ralph@gmail.com
95ed6335793c6ac4120bb2e97638ca1ea02ce558
7227a0c60b3b798fc27c86dd7197ca112031b675
/bcpandas/utils.py
a58b58f73e3db75c7888984515f42da4d24a784f
[ "MIT" ]
permissive
jaykae/bcpandas
a47b8e72efdee8e112f09f843fb7397089576807
908b0e04d8aee9f28b935032f0c9a44383525bc0
refs/heads/master
2022-04-17T21:30:47.211199
2020-04-19T03:00:20
2020-04-19T03:00:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,422
py
# -*- coding: utf-8 -*- """ Created on Sat Aug 3 23:07:15 2019 @author: ydima """ import logging import os import random import shlex import string from subprocess import PIPE, Popen import tempfile from typing import List import pandas as pd from .constants import ( DIRECTIONS, IN, IS_WIN32, NEWLI...
[ "24758845+yehoshuadimarsky@users.noreply.github.com" ]
24758845+yehoshuadimarsky@users.noreply.github.com
eff344fe4db23e7846abced170514cefc8dc4524
2031771d8c226806a0b35c3579af990dd0747e64
/pyobjc-framework-GameKit/PyObjCTest/test_gkleaderboardset.py
07d32c0476b2648b0ec250082721e960bbc9e8b1
[ "MIT" ]
permissive
GreatFruitOmsk/pyobjc-mirror
a146b5363a5e39181f09761087fd854127c07c86
4f4cf0e4416ea67240633077e5665f5ed9724140
refs/heads/master
2018-12-22T12:38:52.382389
2018-11-12T09:54:18
2018-11-12T09:54:18
109,211,701
2
0
null
null
null
null
UTF-8
Python
false
false
638
py
from PyObjCTools.TestSupport import * import GameKit class TestGKLeaderboardSet (TestCase): @min_os_level('10.10') def testMethods(self): class TestGKLeaderboardSetHelper (GameKit.GKLeaderboardSet): def loadImageWithCompletionHandler_(self, h): pass self.assertArgIsBlock(GameKit....
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
71f6ad5a698c326f96d84161d38f7a08056340a5
75e03232591b263a50523d7cfef4041db36caf01
/VMWsolutions/at2-vclient-032/cft/disable_node_otp.py
e3092e047d6ae3d778a3ded3eac14088fc42a51c
[]
no_license
adamkittel/src
aaf157062d069998a8d18841895e7362cf868ff9
11e3927bd990b885eba595346694de2d2601d5c9
refs/heads/master
2021-01-11T16:13:14.592894
2017-01-25T18:29:09
2017-01-25T18:29:09
80,040,934
0
0
null
null
null
null
UTF-8
Python
false
false
3,634
py
#!/usr/bin/python """ This action will disable OTP on a set of nodes When run as a script, the following options/env variables apply: --node_ips The list of node management IP addresses SFNODE_IPS --ssh_user The nodes SSH username SFSSH_USER env var --ssh_pass The node...
[ "adam.kittel@solidfire.com" ]
adam.kittel@solidfire.com
ca6d383f417e69474603dbe09a301622f412bd4b
40d996f9b3f34c8dff9dc9a0ed684fe89275a6fc
/WHOISpy/WHOIS.py
d435f34ba717e55b28e3485ad568a7e0604da00f
[ "WTFPL" ]
permissive
JX-Wang/WHOISpy
ee81f9d623929a1e84c503e090b05defdcb4611c
f48da1adeba0b1e029ad8a62ac1c984f83f621e7
refs/heads/master
2020-04-21T23:41:35.337463
2019-02-15T03:25:55
2019-02-15T03:25:55
169,954,550
1
0
WTFPL
2019-02-10T07:44:09
2019-02-10T07:44:09
null
UTF-8
Python
false
false
4,914
py
#!/usr/bin/env python # encoding:utf-8 """ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE Version 2, December 2004 Copyright (C) 2019 h-j-13 Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is chang...
[ "h.j.13.new@gmail.com" ]
h.j.13.new@gmail.com
8c8775904c3f82082720363687e10df70e913517
f1e3d0aacc969a0a5a63ea7ecf7529523988f822
/flask-by-example/app.py
d52acc2f9cbcf3000d68371af62479f0d9a6ea92
[]
no_license
vamosraghava/pearson-olt-containers-20191014
6583aac4d3c2b48a7e06456c5f106ecac1de60e2
60ee2eb9c840a4f3e84f46e735d93391a0440bea
refs/heads/master
2021-01-06T16:06:14.181036
2020-02-17T20:01:18
2020-02-17T20:01:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,669
py
import os import requests import operator import re import nltk import json import sys from rq import Queue from rq.job import Job from worker import conn from flask import Flask, render_template, request, jsonify from flask.ext.sqlalchemy import SQLAlchemy from stop_words import stops from collections import Counter f...
[ "grig@gheorghiu.net" ]
grig@gheorghiu.net
6733fcdc6742ae94901fc36ea6bf578b3b87b6fd
95829db8802c18a94e7e587f2e6daf22507e329a
/lpyrornot.py
68e86f5dbd08cd4544222165263f7f368230c5b5
[]
no_license
AjayDevaraj/Ajay-D
aecfac3e88c7052af22886691bae9193a997ec06
28ab21f9997aff6ae2422c51e7526b8cc852f34c
refs/heads/master
2021-04-28T09:57:56.180572
2018-02-26T12:20:57
2018-02-26T12:20:57
122,054,665
0
0
null
null
null
null
UTF-8
Python
false
false
271
py
def main(): pass year = int(input("Please Enter the Year Number you wish: ")) if (( year%400 == 0)or (( year%4 == 0 ) and ( year%100 != 0))): print("%d is a Leap Year" %year) else: print("%d is Not the Leap Year" %year) if __name__ == '__main__': main()
[ "noreply@github.com" ]
noreply@github.com
ef26605460b724a8997f2a2f00e3ae325643e6c3
9dba8607dce414f9905700d7a4ac44668de5e1f1
/ave_SR/OD_PF_103_17_arm_transv/results/verifications/verifRsl_crackingSLS_qperm.py
3295ef96ddc40442d8f31a8b22acc3cc7f20fe8c
[]
no_license
anaiortega/XCmodels
c0463ffe38531578aee281456e88528882255cd7
e9b8c2f996a21b8aa3314242f3cc12b0e391b5df
refs/heads/master
2023-08-16T22:44:01.168775
2023-08-14T18:15:10
2023-08-14T18:15:10
141,140,177
3
3
null
null
null
null
UTF-8
Python
false
false
6,021,638
py
preprocessor.getElementHandler.getElement(1).setProp("SLS_quasiPermanentLoadsLoadsCrackControlSect1",CrackControlVars(idSection= "M1losCimExtRCSects1", crackControlBaseVarsPos= CrackControlBaseVars(combName= "ELSQP001", CF=0.000271291616075,N= 0.985779759312,My= 1.72327385081,Mz= 0.0,steelStress= 0.0949520656263), crac...
[ "ana.Ortega.Ort@gmail.com" ]
ana.Ortega.Ort@gmail.com
e2a06d5ff9354a8180a3c2ac9ddf5a4f3d06a0c7
799877fad583f8f020fb04486687a3dd2ae8bb64
/mssh.py
f2ea895d149a337156f39fb43fdd5744289ad0b8
[]
no_license
yeguanqing/personal_scripts
a6a60442771439c0f3258ca1ad72907569be4a50
e8ffad0cfba377e2575db3a152f33fd439e3208c
refs/heads/master
2021-01-01T06:17:43.316123
2014-09-04T14:23:59
2014-09-04T14:23:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,153
py
#!/usr/bin/env python #-*- coding: utf-8 -*- import sys import os import re import time import datetime import logging import fnmatch import optparse import paramiko from multiprocessing import Pool def server_list(fn,tgt_type='glob',regex=''): all = [] f = open(fn,'r') if tgt_type == 'glob': for i in f:...
[ "wozouleyoulaile@163.com" ]
wozouleyoulaile@163.com
88a3f5bfb618d9a95264f3015f9eecbd4391af9a
a110f5a77710d6953d39a85ca3b33dccd803c768
/app_email/tasks.py
61c325a61abc5b1eeadace3e4d05d2551ae31a23
[]
no_license
prakash09/do-hack
6b7b8af80d0fc60ff2ce9fd939f494654a020d8e
96961c7b8db8c176da449969403b36061302d5e1
refs/heads/master
2020-06-20T20:52:45.237758
2016-11-27T06:19:13
2016-11-27T06:19:13
74,823,219
2
0
null
null
null
null
UTF-8
Python
false
false
1,183
py
import django import smtplib from celery import Celery from django.core.mail import send_mail as default_send_mail from django.core.mail import EmailMessage from django.core.cache import cache import requests import sendgrid import os from sendgrid.helpers.mail import * os.environ.setdefault('DJANGO_SETTINGS_MODULE', ...
[ "prakash.gbpec@gmail.com" ]
prakash.gbpec@gmail.com
a991a54ce0b60cbb1f25a94fa8822e45c2bd28c9
1d27d6c1a74a9f0302cdcf7dba1c021ebbf4e8f6
/Mini Project/ML/Answer/Python Basic/q7.py
e4bed8fb1a85c292b85709a0df2fd7cf68afb796
[]
no_license
BryanT05/Machine-Learning-Bootcamp
5be74eadd01e898e4b0d7e30b912828982262830
2e8acd88fb62b5bf94720bd9c1d739092d8a89ba
refs/heads/main
2023-07-16T10:30:45.514577
2021-08-16T20:06:09
2021-08-16T20:06:09
389,910,597
1
0
null
null
null
null
UTF-8
Python
false
false
157
py
def sumDigits(num): num = str(num) ans = 0 for x in num: ans += int(x) return ans for i in range(int(input())): print(sumDigits(int(input())))
[ "72879149+BryanT05@users.noreply.github.com" ]
72879149+BryanT05@users.noreply.github.com
539f8f2da156d8b3ce8a755659f688fe6ee1d71e
a1119965e2e3bdc40126fd92f4b4b8ee7016dfca
/branches/nacl_repy/seattlelib/serialize.repy
29a142d7996092ac9787ccb13497c54fdc3571d5
[ "MIT" ]
permissive
SeattleTestbed/attic
0e33211ddf39efdbcf5573d4fc7fa5201aa7310d
f618a962ce2fd3c4838564e8c62c10924f5df45f
refs/heads/master
2021-06-10T23:10:47.792847
2017-05-15T12:05:43
2017-05-15T12:05:43
20,154,061
0
1
null
2014-10-16T17:21:06
2014-05-25T12:34:00
Python
UTF-8
Python
false
false
6,493
repy
""" Author: Justin Cappos Start date: October 9th, 2009 Purpose: A simple library that serializes and deserializes built-in repy types. This includes strings, integers, floats, booleans, None, complex, tuples, lists, sets, frozensets, and dictionaries. There are no plans for including objects. Note: that all item...
[ "USER@DOMAIN" ]
USER@DOMAIN
16e83a5947e8a513efb33b7c17573171524b54b6
af8d32dc11c02f482b86e05a47449a53157197dc
/my_app/urls.py
c2950169ce01024f2f124a6717b64b9bfa6ca2d2
[]
no_license
EvenYan/python_web_2020_07_03_djagno_project
477003de9ef3296d33c60c5c3ad22901efebc8e3
357f39073a369274c80663a2a3f9c95656591ee2
refs/heads/master
2022-11-15T11:51:48.629217
2020-07-11T08:55:59
2020-07-11T08:55:59
277,223,954
0
0
null
null
null
null
UTF-8
Python
false
false
716
py
from django.conf.urls import url from my_app.views import * urlpatterns = [ url(r'^$', home, name='home'), url(r'^index/(\d*)$', index, name='index'), url(r'^post/$', save_post, name='post'), url(r'^post/(\d)', detail, name='detail'), url(r'^update/(\d+)$', update_post, name='update'), url(r'^d...
[ "evenyan@192.168.0.9" ]
evenyan@192.168.0.9
93e41419fe2f10e24798efa95f72e20c04970d0e
2d5886e44ad6ffc8b1ea68a977953aba9b108a04
/IITHackthon/app/templates/t.py
dbdbba0191f62d2f7b2bc76cf6321e66b2245508
[]
no_license
abhishekbhardwaj92/ScarletHack
7ad71b3219103144216aa1b07950dd8f5f53a089
e0f169731b4fd2409f7df2e3d6c0f940377e0544
refs/heads/master
2021-05-05T16:16:49.443664
2018-01-13T14:08:19
2018-01-13T14:08:19
117,348,508
0
0
null
null
null
null
UTF-8
Python
false
false
396
py
import requests,json r = requests.post("https://sms.telnyx.com/send", data=json.dumps({ "from": "+17733022716", "to": "+13126238253", "body": "Hi Sachin and Alan, Join Me @AICollab!!!! at Call : Surgery1 at 1 pm Sunday 24th September 2017 Cheer AI Collab, RoomName: demo" }), headers={ "x-profile-sec...
[ "abhishekbhardwaj13506@gmail.com" ]
abhishekbhardwaj13506@gmail.com
366fff143610fe845b7b6e6395ef18c03343fd2a
a468016412cc2b435501de4d3ee5c4d2be5fa19f
/coupons/models.py
305be09c0686ea6f5f965be1fc9468e3968e0bac
[]
no_license
sadakchap/first-full-ecom
ef022596c05c29cae0842bae34d201cd4af08b93
881b39ec60dff3aef04105e3d08e3be3e16f6420
refs/heads/master
2020-08-07T05:02:48.165873
2019-10-07T06:16:16
2019-10-07T06:16:16
213,308,847
0
0
null
null
null
null
UTF-8
Python
false
false
485
py
from django.db import models from django.core.validators import MinValueValidator,MaxValueValidator # Create your models here. class Coupon(models.Model): code = models.CharField(max_length=255,unique=True) valid_from = models.DateTimeField() valid_to = models.DateTimeField() discount = mo...
[ "aliceprerna@gmail.com" ]
aliceprerna@gmail.com
9df22cc254ad36e25e66fe29a46d952198b372a8
c419109be53274ca3fffaaa42a4812f1e41cb268
/run.py
932c50b80636ead7e1f048fc5bbf8dcf0e9ec9b5
[]
no_license
eubr-bigsea/compss-parser
103b14a3313d616aab334bf5009dae537613ca08
8fcf69e7675e6e060fe2b344d2490fdf498dc2c8
refs/heads/master
2021-09-03T11:52:54.863778
2018-01-08T21:22:47
2018-01-08T21:22:47
116,204,440
0
0
null
null
null
null
UTF-8
Python
false
false
693
py
import os, sys, json, getopt, time from parser import execute def main(argv): start_time = time.time() # Getting params try: opts, args = getopt.getopt(argv,"l:o:") except getopt.GetoptError: print 'python run.py -l <logdir> -o <output>' sys.exit(2) outputdir = os.path.dirname(os.path.realpath(__f...
[ "tuliobragam@gmail.com" ]
tuliobragam@gmail.com
f1c8882f43e9c03a30f55e4cef383139bf47797d
14f4217e4cafc4438a9c357d44754e615bb0d07f
/.env/lib/python3.8/ntpath.py
ced549cbe62c0c708c851006bc830e347818b6b1
[]
no_license
zeeviiosub/advanced-system-design
7d6e1292b52d2b106aa8086cf342c496af054e8e
67c4ebe147c4dabb6665ec0652f5047bee200c6b
refs/heads/master
2022-12-10T18:08:47.291223
2019-12-07T20:06:07
2019-12-07T20:06:07
219,206,818
0
0
null
2021-06-02T00:46:23
2019-11-02T19:59:07
Python
UTF-8
Python
false
false
56
py
/home/user/.pyenv/versions/3.8.0/lib/python3.8/ntpath.py
[ "zeevi.iosub@gmail.com" ]
zeevi.iosub@gmail.com
3ee47a3f3fcc17860c659aea5450baf56dda10e5
312ab41033c2cb043d617d3e633c166503fd280c
/Informatikk/Bachelor/H2017/ITGK/Eksamner/2012/Oppgave_4f.py
aa7ca178ffff91e045fd53d574fa57141adaeafe
[]
no_license
skanin/NTNU
cb9b833d9de0d504965979584370b8f353435cd1
e4023856f69060f8d3d09ff4990e29f7a75d98b1
refs/heads/master
2022-01-30T14:31:22.947512
2022-01-20T14:11:14
2022-01-20T14:11:14
113,476,017
4
1
null
null
null
null
UTF-8
Python
false
false
506
py
def strange_weather(temp, rain): x = None y = None for i in range(len(temp)-1): if temp[i] < 0: if temp[i] < temp[i+1] and rain[i] < rain[i+1]: x = i if temp[i] > temp[i+1] and rain[i] > rain[i+1]: y = i return x, y...
[ "sander.b.lindberg@gmail.com" ]
sander.b.lindberg@gmail.com
9e51800455dbca544339ebdaee494e8306a0c768
b4093b46cf3465d39cde8b7699c40f009edfc3a8
/src/MasterSlave/Requests.py
d16315b743e6056ec1bffd1f83e9644bb4c9013a
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
hansehe/Wind-Blade-Inspection
c90626fceee8202a2c3fe7aa31f37b0101c494f8
b600f29d6afc92cad1acc6beae7b5b7dac8aab92
refs/heads/master
2021-07-10T15:19:18.476926
2020-05-27T09:26:52
2020-05-27T09:26:52
93,496,485
22
9
null
null
null
null
UTF-8
Python
false
false
7,834
py
''' Author: Hans Erik Heggem Email: hans.erik.heggem@gmail.com Project: Master's Thesis - Autonomous Inspection Of Wind Blades Repository: Master's Thesis - CV (Computer Vision ''' import numpy as np from src.DroneVision.DroneVision_src.imgProcessing.frameTools.frameTools import GetShape from MsgParserRecv.keypoin...
[ "hans.erik.heggem@gmail.com" ]
hans.erik.heggem@gmail.com
a4b2c375c1c4f6df6f29cf47b22dbd900188c691
eca7dc131fd3cf9df3f7ed37ee59f4b32c812758
/OrderApp/admin.py
13403287c1842418cc6a7abfd3b8c8b02ad37e30
[]
no_license
hafiztareqcse/Ecommerce
d5a39030b71efefc5d01bc85b72af8e8ac2cd207
db658c74ce2fb8b806464feba35602aafdc63c72
refs/heads/master
2023-05-28T00:46:09.890212
2021-06-03T06:40:38
2021-06-03T06:40:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,092
py
from django.contrib import admin from OrderApp.models import Cart, Order, OrderProduct # Register your models here. class CartAdmin(admin.ModelAdmin): list_display = ['product', 'user', 'quantity', 'price', 'amount'] list_filter = ['user'] admin.site.register(Cart, CartAdmin) class OrderProductInLine(adm...
[ "hafiztareqcse@gmail.com" ]
hafiztareqcse@gmail.com
5f4574f19704732b35e9a1608f3760eaacfdcd64
bd93fa910151c278be8249055bc084e5a5c35a6a
/Python/itcast/01-Python进阶1/3面向对象/02魔法方法str.py
87b7cb966fb02fd2b8c31c726aea63b56963dabb
[]
no_license
ahojcn/practice-code
bd81595b80239cd2550183093566bd536a83ed3f
b65f4e76271479269463e92fd3fd41585c2ac792
refs/heads/master
2021-07-10T14:15:08.036592
2020-07-09T11:32:16
2020-07-09T11:32:16
153,059,349
2
2
null
null
null
null
UTF-8
Python
false
false
717
py
""" __str__ 相当于 Java 中的 toString() """ class Cat: def __init__(self, name, age, sex): self._name = name self._age = age self._sex = sex def __str__(self): return "姓名:" + self._name \ + "年龄:" + str(self._age) \ + "性别:" + self._sex def eat(self): ...
[ "hanoi_ahoj@icloud.com" ]
hanoi_ahoj@icloud.com
94c570407a45561fa09776e740179fd8b5fb370a
3e6e12c5161c718090034f423cb0fc94362c5911
/gpio.py
4fa4fead988f1a8cd37cfa9bcf1abade5e40b088
[]
no_license
emanueljonte/NASA_intern
57f1302980920a8e800fcd5654634ff46af95954
96181ed634e6bba5b280cf8efcf6a61defab00fa
refs/heads/master
2020-07-28T12:34:29.037334
2019-09-18T22:12:48
2019-09-18T22:12:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
607
py
from time import sleep def enable_gpio(x): with open("/sys/class/gpio/export", 'w') as fp: fp.write(str(x)) def set_direction(x, direction): with open("/sys/class/gpio/gpio{}/direction".format(x), 'w') as fp: if direction: fp.write("out") else: fp.write("in") ...
[ "noreply@github.com" ]
noreply@github.com
acbbbf9f539cc6432ee88408706ecf342bcff32f
d61e7d9c3dabe304205e8769499054c5ad7a71ec
/mwlib/options.py
c4b8752e5a1b923843a5b038595b6284e8ab6a23
[]
no_license
godiard/mwlib
5dcdaa8fcd05fdfd39c5d76e76cab40305242f60
77a4eac6142010963e8189fcb581c0fa6be7f73d
refs/heads/master
2016-09-11T01:18:19.970157
2015-07-14T15:15:08
2015-07-14T15:15:08
39,031,769
0
1
null
null
null
null
UTF-8
Python
false
false
5,930
py
import optparse import json from mwlib.utils import start_logging from mwlib import wiki, metabook, log log = log.Log('mwlib.options') class OptionParser(optparse.OptionParser): def __init__(self, usage=None, config_optional=False): self.config_optional = config_optional if usage is None: ...
[ "godiard@gmail.com" ]
godiard@gmail.com
dd8a48eec92f3da7c48e5ffac4ac8d6da75396ad
4d221a65fb7325b9005455b88878211c3aec5df4
/Homework2/server.py
5a6c9aca32fa27b27e638c4a72a1d130ca19bb44
[]
no_license
FarokhC/cmpe207-homework
429e6fb35d6c6e29a4992b2497052e56c72c07cd
78852bdb1b17995aee2a42e12584dc7f223f586a
refs/heads/master
2022-12-15T05:18:41.457691
2020-05-11T05:06:22
2020-05-11T05:06:22
242,045,326
0
1
null
2022-12-13T23:14:03
2020-02-21T03:25:54
HTML
UTF-8
Python
false
false
364
py
import socket s = socket.socket() print ("Socket successfully created") port = 12345 s.bind(('', port)) print ("socket binded to %s" %(port)) s.listen(5) print ("socket is listening") while True: c, addr = s.accept() print ('Got connection from', addr) # c.send('Thank you for connecting') c.send("...
[ "farokhc@ibm.com" ]
farokhc@ibm.com
5324d4f6ed942f835cfa8d5e91b939611ef6b03f
959a01dea8e37ba8bd9ce9b0e49a73a29c1cf5ff
/excel2list.py
3585967dacb55448ad385b044e2b88201172aae1
[]
no_license
Evander7/Evander7.github.io
3b7afbeea31462c8f641ebd807a6908ec794ba6d
2fba77538bc4128933d34c7c2b77b9b9cf700ce1
refs/heads/master
2020-05-29T08:53:22.606614
2018-10-18T20:02:39
2018-10-18T20:02:39
70,035,278
0
0
null
null
null
null
UTF-8
Python
false
false
1,772
py
#just allows me to copy/paste a column from excel and it outputs it #formatted as an array for Javascript #copy/paste column here data = """ Jaspreet Karl Stoll Hazim DyNamik Tom Allen Ray Zhong via correspondence from Hong Kong Martin McArthy, Back from retirement Based Peter Richards Tom Allen's Favorite Shear Flow...
[ "jjemace@gmail.com" ]
jjemace@gmail.com
aba798d1c7a359c51536c2922dca9ce05a4af115
403c56083bf3e7f6e15f5f99b10c1b4b9ab7821f
/SecretMassage.py
fdbf32b47593f8e8174a1c007ce274f689100e1b
[]
no_license
Volodymyr-SV/Python_367
bb8879543279cdfb0038db316c22befb125b5980
75b1c27f3c3d04a1a89c704879b1df101a508efa
refs/heads/master
2021-11-29T22:33:40.613926
2021-11-23T14:04:12
2021-11-23T14:04:12
168,346,989
0
0
null
null
null
null
UTF-8
Python
false
false
119
py
def greet(name): if name == "Johnny": name= "my love" return "Hello, {name}!".format(name=name)
[ "volmihsv2gmail.com" ]
volmihsv2gmail.com
4587a607619e18724e342b296110a3588d64644e
27651e2df8430931198aed4bc9e1254a6c1ff5ab
/Simple Stuff/Text Based Calculator.py
032c656eac655b65c46642c9468490825e88e63d
[]
no_license
ProbablyKnott/Simple-Projects
5c0eba4c0d3cd415c4be176664d4493383860cd6
a36e3a07225c42295811f2caa721db29740c71cd
refs/heads/master
2021-08-31T19:32:04.287165
2017-12-22T15:06:44
2017-12-22T15:06:44
114,936,184
1
0
null
null
null
null
UTF-8
Python
false
false
2,292
py
''' Written by: Michael Knott Date: 12/14/2017 Github: https://github.com/ProbablyKnott/Simple-Stuff Twitter: www.twitter.com/probablyknott ''' class calc(): def add(self, num1, num2): answer = num1 + num2 return answer def subtract(self, num1, num2): answer = num1 - num2 return answer ...
[ "noreply@github.com" ]
noreply@github.com
397c11d53ec315b723f5afcd83b4343169456998
6f433f40119fd639fc3c94235c855da322aafff4
/scipy2.py
dbf64f77fd3a223541356ca0554fa35c599a277a
[ "MIT" ]
permissive
tobiasaditya/datascience_beginner
bc360e106abe5c11fb7f103245de16e55c18bd1b
fa6868073951259e0a5f8a702de0bcc17c13d295
refs/heads/main
2023-03-28T22:06:35.466395
2021-04-04T18:30:35
2021-04-04T18:30:35
351,663,095
0
0
null
null
null
null
UTF-8
Python
false
false
248
py
import scipy as sp from scipy import special func1=special.kelvin(15) print(func1) #2 * ^elog(10) func2=special.xlogy(2,10) print(func2) #exo10(x) = 10**(x) func3 = special.exp10(0) print(func3) #sin(30) func4 = special.sindg (90) print(func4)
[ "tobias_aditya@yahoo.com" ]
tobias_aditya@yahoo.com
ba3aa10f05726fce7027ca891b486f8979c605e8
ad533c7dbd3205be7330f8bd9bc13aa43db2714d
/Core/forms.py
d453ee40b4db1e7806d62d14af82ee8efe4099fd
[]
no_license
Bakrialtaif/kashtaLabsCoLtd
c0a255728c6d46cb6a6a6889936fb1fe772afd03
6b14db8b9a7c5e94839630958738bef48152c292
refs/heads/master
2023-03-10T01:12:28.546716
2021-02-25T09:28:50
2021-02-25T09:28:50
341,005,181
2
0
null
null
null
null
UTF-8
Python
false
false
19,700
py
from django.contrib.gis import forms as gis_form from django import forms from django.utils.translation import gettext_lazy as _ from django.contrib import messages from django.forms.fields import CheckboxInput from colorful.fields import RGBColorField from leaflet.forms.widgets import LeafletWidget from django.contr...
[ "altaif.bakri@gmail.com" ]
altaif.bakri@gmail.com
e81a46145ac0da82da2536133a7c0a69c8ffc392
7c82896f5322ffd5d61697ed597f4d2c53e4e744
/backend/ecommernce_25667/wsgi.py
16d515f35532223e7e77c29bf39f2a5ff06566df
[]
no_license
crowdbotics-apps/ecommernce-25667
c4487f6c19a3d4dc608fd2a13291f74c84b53dc7
55dd1c6293fcfbec01aec7e8e0118ed8b1c48130
refs/heads/master
2023-04-02T00:48:51.026549
2021-04-13T19:40:25
2021-04-13T19:40:25
357,668,171
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
""" WSGI config for ecommernce_25667 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/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJA...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
e6820d50e3c4100e52ba7d816ebad1a8d3a6b2c6
977793104b071347a49e23be9a9f007807b6e560
/orders/urls.py
c13ae001755dfad8dcb38512cfcb4deb71940f22
[]
no_license
wecode-bootcamp-korea/13-getSuperCool-backend
24854097932f5f2763ae30d2a5b5a649c3355c70
ccd8f673ff9975b4c781534bcd4957809ad14885
refs/heads/main
2023-01-22T18:39:26.644596
2020-12-03T05:30:24
2020-12-03T05:30:24
305,302,695
1
1
null
2020-10-29T14:55:00
2020-10-19T07:43:48
Python
UTF-8
Python
false
false
119
py
from django.urls import path from .views import CartView urlpatterns = [ path('', CartView.as_view()) ]
[ "sojeong.heo@gmail.com" ]
sojeong.heo@gmail.com
32dca58082dad6c89c51a9390e793e7c25e02891
a8617e165d1298f9dfba666d2a8d9bb4035b49d5
/expsearch-try-20200525-103248/scripts/train_search2.py
0bac6aab244629c4d79acfeeec28e425d5287562
[]
no_license
Vegetable-Chao/graduation_project
9c93a3e5fb7ec26b4dec2002714426e39f130708
4a6e6278d3b26dddf2c2995b89e57c2ee6309ecb
refs/heads/master
2022-09-03T06:14:24.870493
2020-05-27T08:31:40
2020-05-27T08:31:40
263,038,442
0
0
null
null
null
null
UTF-8
Python
false
false
24,691
py
import os import sys import time import glob import numpy as np import torch import utils import logging import argparse import torch.nn as nn import torch.utils import torch.nn.functional as F import torchvision.datasets as dset import torch.backends.cudnn as cudnn import copy from model_search import Network from gen...
[ "66430@local" ]
66430@local
338ed758a63893d81324935848a36efd68c21b0a
7ea5a15b2b47f3571c308676c1956ae0c33a777e
/goal_based_dqn.py
c572809b0f0bb55be1280408be7b13891881b9b2
[]
no_license
AndreasTheo/DQN-HER
344ab3c7013251cc4d6e8851af076710949cff7b
5c30dede683f534061e10ff1a83a823abde11502
refs/heads/master
2021-02-19T08:35:58.840522
2020-03-06T00:41:27
2020-03-06T00:41:27
245,296,642
0
0
null
null
null
null
UTF-8
Python
false
false
3,578
py
import replaybuffer import copy import numpy as np import torch import torch.nn as nn from torch.autograd import Variable import torch.nn.functional as F def to_torch_var(x, vol=False): if vol: return Variable(torch.Tensor(x), volatile=True) else: return Variable(torch.Tensor(x)) ...
[ "noreply@github.com" ]
noreply@github.com
b7baeb8ca1941d838fb749979d638727338c0c57
28f1ca34db8114a5a7cac3ddd41d2086c5540565
/tag2network/Network/tSNELayout.py
e17f58689666a678531400c06da593d97ec03714
[ "MIT" ]
permissive
Aditya-Gaurav-DAM/Tag2Network
7c207af3da9cb983246409cff14e939689a3e614
c16af75bec31449fc6778dc74528fda58dea1bee
refs/heads/master
2022-09-09T01:29:25.119091
2020-06-02T16:30:32
2020-06-02T16:30:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,945
py
# -*- coding: utf-8 -*- import math import numpy as np import networkx as nx import scipy.sparse as sps from sklearn.manifold import TSNE # run tSNE to layout the nodes in 2D space # dist is a distance matrix. If None, distances are computed using shortest paths # paths longer then maxdist are assumed to be "long" a...
[ "foodwebster@gmail.com" ]
foodwebster@gmail.com
afa1b74ce031d3bc549a576b770b55e6aedcdb23
c36679186f669c6e3bd1c106c96d4a17be1f5ab1
/Practice_Telusko/146.py
c21c476c942079f99e1cf5e650cb300b11c67186
[]
no_license
touhiduzzaman-tuhin/python-code-university-life
60a3d671b200a6f5222c6d176c13c5f20f013509
6d2e3d90d430faa5c83fe79e7fb1ebe516994762
refs/heads/master
2023-03-22T15:18:10.636203
2021-03-06T18:52:04
2021-03-06T18:52:04
332,467,190
0
0
null
null
null
null
UTF-8
Python
false
false
53
py
x = "Tuhin" for i in range(len(x)): print(x[i])
[ "touhiduzzamantuhin95@gmail.com" ]
touhiduzzamantuhin95@gmail.com
ccff0ac714000f884eefa2dc3deb8cdf2f67abc3
2d2aaf3a133329d35a01650c19df42ff09bbdc5e
/download_files_from_web_and_save.py
4ae7ed8b1ff0c9d87d5b00b96f3b8ff13d82b694
[]
no_license
vladislavalerievich/learning-python
4d6c75e85924aa550c5c455d3cbeac292ed1a870
e10e0a0aa3cefa5513b9ca91c83c17afae709499
refs/heads/master
2022-03-28T10:37:50.478223
2020-01-20T15:54:53
2020-01-20T15:54:53
105,395,206
0
1
null
null
null
null
UTF-8
Python
false
false
896
py
#! python3 """ Downloads file from Internet. Feed up url in command line or copy url and run program. If there are no command line arguments, the program will assume the address is stored on the clipboard. """ import webbrowser import requests import pyperclip import sys def download(url='https://www.google.com'):...
[ "noreply@github.com" ]
noreply@github.com
8eccd2ae39de7275ede9b692010199caa1e99023
527416b0af6e16b2fac04c2ac96519dfa3add2c5
/Python/algor/strings/strcomb.py
a20383ba105b958a97d15400dc0284056f21f40c
[]
no_license
av82/Pros
a28ebf13ddf88e4ce09d4cbc7884712f36edaf14
61a9a61a7435c93cf16a03a5c5d2093472f21723
refs/heads/master
2021-01-20T10:42:56.912157
2014-03-28T04:00:31
2014-03-28T04:00:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
713
py
#!/usr/bin/python -tt # Copyright 2010 Google Inc. # Licensed under the Apache License, Version 2.0 # http://www.apache.org/licenses/LICENSE-2.0 import sys import math inpstring="" def printComb(bitmap,k,n): if(k==n): bitmap[k]=0 printstring(bitmap,n) bitmap[k]=1 printstring(bitmap,n) bitmap[k]...
[ "av82.msstate@gmail.com" ]
av82.msstate@gmail.com
f2049b804fe92d4b0e84ab4fce6fbfd03673ac97
c551c7719d877a9fe1d49986305aef8d7e7fc58f
/transformers/transformers/settings.py
fbd7fbb6cab88bc1f89d141bf9734ec2339bcf91
[]
no_license
Khan07fahad/django-project
495c23050dcbd9590c4acc15a44b8a676b0c62d2
79a3f64cf05ae5a1bc4b831229869c48e9aa4f36
refs/heads/master
2021-05-04T22:52:56.495045
2018-02-13T05:38:31
2018-02-13T05:38:31
120,068,242
0
0
null
null
null
null
UTF-8
Python
false
false
3,302
py
""" Django settings for transformers project. Generated by 'django-admin startproject' using Django 1.11.5. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ impo...
[ "mohammed.fahadulla.khan@sap.com" ]
mohammed.fahadulla.khan@sap.com
4d5d35225f7e1b895998e4456dbf91f222d3b1e6
40eab524bd2b54c4276079bdcb91c4bfc246b71e
/ACP_DL.py
cdc59fbe12ec38ebff31da70464c6771d9fa809e
[]
no_license
YouHongfeng101/ACP-DL
af781885d602e1ebafe2dc88673634dcdbfc563f
a05a86bf7b10e253e9c1d992f8c243c7ad3344a2
refs/heads/main
2023-02-20T14:19:11.022765
2021-01-23T09:55:04
2021-01-23T09:55:04
327,967,828
0
0
null
null
null
null
UTF-8
Python
false
false
19,973
py
from keras import Input,Model from keras.models import Sequential from keras.callbacks import ModelCheckpoint,TensorBoard from keras.optimizers import RMSprop import matplotlib.pyplot as plt from keras.utils import plot_model from lightgbm import LGBMClassifier from sklearn.metrics import roc_curve, auc from sklearn.m...
[ "noreply@github.com" ]
noreply@github.com
c881c777a242edd1713aae7614a788da3f28620e
2a182f9ecddd6ffcac0b66f0a28b90cc1fa443e9
/candidate/migrations/0001_initial.py
26abf6706c5e28571de750c7b12a283cfa8f2838
[]
no_license
endaaman/ms
00f78e467b65d36925eef045c6d84abd4a10caaa
bb12ed60747771e0db541f98c25ea6b2dbfbad64
refs/heads/master
2016-09-03T03:04:51.679659
2014-06-27T03:15:23
2014-06-27T03:15:23
17,948,555
0
0
null
null
null
null
UTF-8
Python
false
false
3,003
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Candidate' db.create_table(u'candidate_candidate', ( ...
[ "buhibuhidog@gmail.com" ]
buhibuhidog@gmail.com
7baa0f60d33a92aa0f644fcb0b2fec694ddc21f0
61928d96f0ca7e5f9487d2afcfd7dd95e0b41560
/programmers/H-Index.py
15fd32a03fc659ac772a93ac6cee5891a560abf9
[]
no_license
Mong-Gu/PS
11cfc2cce1accd9f92aa98807614014996aa0a19
94684ec0104bea93f34aebf092b7b1e2b626d4d9
refs/heads/master
2023-04-01T19:24:18.423762
2021-04-09T09:14:02
2021-04-09T09:14:02
241,547,200
0
0
null
null
null
null
UTF-8
Python
false
false
1,413
py
# 제출 코드 : 다른 사람들 힌트 보고 영감얻음 def solution(citations): cnt = 0 citations.sort(reverse = True) h = citations[0] while h != 0 : if citations.count(h): cnt += citations.count(h) if cnt >= h: return h else: h -= 1 return...
[ "yhw8258@naver.com" ]
yhw8258@naver.com
7ac6840d4b36fc6176f40b6c1e5cce92ad639228
999d606ee846653161c05b324f273af75ef43fb2
/Jobs/task_runner.py
c6c07cf1c6a4844e055bda16e0a8e99919bd6b0b
[]
no_license
sachin-aryal/beastcrawl
9dbf8564d8be37cd656098ae3d7c3da9e82d57d7
e6a9eb0e13015f3ad6ccd610ecaacc6b55c86ca6
refs/heads/master
2022-12-03T16:48:38.734765
2020-08-24T04:19:20
2020-08-24T04:19:20
289,821,233
0
0
null
null
null
null
UTF-8
Python
false
false
2,709
py
from gevent import monkey monkey.patch_all() import logging.handlers import os import sys import gevent import psycopg2 import configparser import signal from result_handler import ResultHandler from job_handler import JobHandler from util.helper import update_row PID = os.getpid() logger = logging.getLogger("Task ...
[ "saaryal51@gmail.com" ]
saaryal51@gmail.com
749eecbadbf16f52b3db6ff8a56f224e046e41a2
0c46a91e233c8e74ac5d69426c24ef2de39c428f
/backend/blockchain/block.py
374cf7bf7d882760808729c41d4f7d7d08ae7591
[]
no_license
Pradhan-7787/Blockchain
ecba2caf4255d5be7ecb733d142f4ca55ffa8df8
0bd97b78e3e6fab13ded745a71f415b7bbfb94e9
refs/heads/main
2023-07-05T21:46:03.230564
2021-08-15T12:24:36
2021-08-15T12:24:36
381,386,521
0
0
null
null
null
null
UTF-8
Python
false
false
4,355
py
import time from backend.util.crypto_hash import crypto_hash from backend.util.hex_to_binary import hex_to_binary from backend.config import MINE_RATE GENESIS_DATA = { 'timestamp':1, 'last_hash':'genesis_last_hash', 'hash':'genesis_hash', 'data':[], 'difficulty':4, 'nonce':'genesis_nonce' } cl...
[ "suryakant116@gmail.com" ]
suryakant116@gmail.com
22744c72552b9253f0b3864c73744738ee3306aa
09e2addf51cd68f3e17153701af79c0177f04975
/teaching_website/curriculum/migrations/0002_comment_reply.py
ce4948fb34fc4dffacb10a0f8bbe48dc317b3bf8
[]
no_license
Anub11/DjangoOnlineStudyWebsite
71dd5b2cee060255af67597a2e21f89460fb8a8f
60b3ffc73acfdca7ae12018c7772408c38f3d96e
refs/heads/main
2023-04-12T02:50:00.381789
2021-05-20T04:35:05
2021-05-20T04:35:05
369,073,288
0
0
null
null
null
null
UTF-8
Python
false
false
1,777
py
# Generated by Django 3.1.1 on 2021-05-14 06:03 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('curriculum', '0001_initi...
[ "bej.anubhav@gmail.com" ]
bej.anubhav@gmail.com
616a33da385e76161b2a6ae52152d4defa4eed02
e28318299464c1e7f67aa8e200d4f2d356346394
/0x0A-python-inheritance/5-base_geometry.py
793c4d1141e23c4c37cf9af8a966542c9ea23c00
[]
no_license
hafdhisofien/holbertonschool-higher_level_programming
99a0a95376831838db1d4a1332c943448fb9af4d
0bc9c6154cc5898b9d0c5c06c47e572e4269aa1e
refs/heads/master
2020-09-29T00:11:22.098194
2020-06-17T23:31:59
2020-06-17T23:31:59
226,892,441
0
0
null
null
null
null
UTF-8
Python
false
false
81
py
#!/usr/bin/python3 class BaseGeometry: """ simple class """ pass
[ "1114@holbertonschool.com" ]
1114@holbertonschool.com
5d50185003a719b6232bdccfaafdf805ff475328
78a4a1c89bc85c48385f505f27b4a37001185e50
/helper.py
70c9e996ba08a74d81ee77a4e6b75c5a7a732595
[ "MIT" ]
permissive
zaratropia/self-driving-car-sim-iws
4ad5ea310b08ea093e8e2fff8396ca60912f5970
7eeddf14e02e38f22798b029e4fdc41f46222bcd
refs/heads/master
2020-04-20T17:15:45.286042
2019-02-07T09:40:42
2019-02-07T09:40:42
168,983,902
0
0
null
null
null
null
UTF-8
Python
false
false
8,296
py
import errno import json import os import csv import cv2 import matplotlib.pyplot as plt import numpy as np import pandas as pd import scipy.misc from scipy.ndimage import rotate from scipy.stats import bernoulli # Some useful constants DRIVING_LOG_FILE = './data/IMG-NEW/driving_log.csv' IMG_PATH = './data/' STEERIN...
[ "mb@trinatives.com" ]
mb@trinatives.com
d5863549cab6ba19489d9d613cd5d946f72a4e47
3421431090393f1c3620576a29c6460c905e56c9
/ejercicios Python/semana cuatro/semana_clase_1.py
04b593d3d0e425fd5891664ce813d98a57ba977c
[]
no_license
nelo423/ejercicios-java-utp
1f3e7846af0a47d33f62bfa6ce49d84ece40f5fe
9c9090c4da71a3ddea9440eea431262d7cac1b57
refs/heads/main
2023-08-15T11:20:44.734370
2021-10-09T15:42:53
2021-10-09T15:42:53
415,350,282
0
0
null
null
null
null
UTF-8
Python
false
false
1,463
py
#------list comprenhension----- mi_lista = [] for x in range(4,31,2): mi_lista.append(x) print(mi_lista) print( [x for x in range(4, 31, 2)] ) print( [x**2 for x in range(4, 31, 2) if x%3 == 0] ) ''' # listas### nombres = [] edades = [] for x in range(5): nom = input("Ingrese el nombre de la persona: ") ...
[ "nelo23419@hotmail.com" ]
nelo23419@hotmail.com
80475aeee17df3cba099d4d162c7d768068d604d
6c219c027c7d0ef454bdeac196bd773e8b95d602
/cms/jumboecms/jumboecms_slide_id_sqli.py
2b692758481ff7bb88275db2b44434dd22f770e3
[]
no_license
aStrowxyu/pocscan
663f3a3458140e1bce7b4dc3702c6014a4c9ac92
08c7e7454c6b7c601bc54c21172c4788312603b1
refs/heads/master
2020-04-19T10:00:56.569105
2019-01-29T09:31:31
2019-01-29T09:31:31
168,127,418
4
0
null
null
null
null
UTF-8
Python
false
false
1,432
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' name: JumboECMS V1.6.1 注入漏洞 referer: http://www.wooyun.org/bugs/wooyun-2010-062717 author: Lucifer description: 文件/plus/slide.aspx参数id存在SQL注入。 ''' import sys import requests import warnings from termcolor import cprint class jumboecms_slide_id_sqli_BaseVerify: def ...
[ "wangxinyu@vackbot.com" ]
wangxinyu@vackbot.com
431c8435bd3df9e5ebd6d38809abf0ab300b26a3
4893e16837634e7abb7d3a32a11fe8b8d4a081c4
/MT/results/conic_avoided/Parameters[bsize=32][eps=0-05][delta=0-2]/Parameters[bsize=32][eps=0.05][delta=0.2].py
e5c4091bb1978ee19ef7e98872c5faa9532d4341
[]
no_license
raoulbq/TeX
6ed14fe48f0e035960a72f7c62c58e878c026306
27e7bbdbc5faaa1d14c5eee34e9dde7072ab8603
refs/heads/master
2021-01-24T07:27:41.914612
2017-05-30T00:50:34
2017-05-30T00:50:34
9,628,764
0
1
null
2017-03-03T16:14:15
2013-04-23T17:17:37
TeX
UTF-8
Python
false
false
1,248
py
######################################### # This file was automatically generated # ######################################### bsize = 32 Q = [[1.0, 0.0], [0.0, 1.0]] S = [[0.0]] delta = 0.2 matrix_exponential = "arnoldi" ncomponents = 2 q = [[1.0], [0.0]] potential = "conic_avoided" leading_component = 0 P = [[1j, 0.0...
[ "raoulb@bluewin.ch" ]
raoulb@bluewin.ch
cecbe6c6918b4b4f08ac21d573067eda58dbaa4b
e0e52a20b12be280a602e9b5606ee6b812323811
/shashank/wsgi.py
3f88aec4a89b741ba85f22bb3c01dc7bef9f0de8
[]
no_license
shashank500-dubey/todo
07a001a3c6f6f4736e75c0a87e4136969648958f
3ed87c1d8aa58866177117e3d7b183393b649cb2
refs/heads/master
2023-03-03T06:48:11.742361
2021-02-07T23:14:42
2021-02-07T23:14:42
336,868,323
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" WSGI config for shashank project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANG...
[ "shashankdwivedi500@gmail.com" ]
shashankdwivedi500@gmail.com
71724e17def474442e5c246dd126c278d482fb73
74482894c61156c13902044b4d39917df8ed9551
/test/test_get_contract_details_by_address_response_item.py
924e6c10948054f2f336b69dea39bc685b9e522f
[ "MIT" ]
permissive
xan187/Crypto_APIs_2.0_SDK_Python
bb8898556ba014cc7a4dd31b10e24bec23b74a19
a56c75df54ef037b39be1315ed6e54de35bed55b
refs/heads/main
2023-06-22T15:45:08.273635
2021-07-21T03:41:05
2021-07-21T03:41:05
387,982,780
1
0
NOASSERTION
2021-07-21T03:35:29
2021-07-21T03:35:29
null
UTF-8
Python
false
false
1,353
py
""" CryptoAPIs Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of thei...
[ "kristiyan.ivanov@menasoftware.com" ]
kristiyan.ivanov@menasoftware.com
acdb31826adfbcfd4c422d7cb1b6a7874db268dc
7da7020488925092c674f54658322b78d5b96bf3
/helpers.py
ac81534360fc4fc8713f78330b9d7d604da78910
[]
no_license
ano-qml/EmailClassification
608e1774daf32c2cb1e9f59c5ccccf1910b580ed
fd65ec448ebd7282073beaf586e5b89c8d1b3a1e
refs/heads/master
2021-01-02T08:32:34.253911
2012-05-03T03:44:55
2012-05-03T03:44:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,777
py
__author__ = 'QMHA' import sqlHelper import utils import MySQLdb ############################ # Helpers function # # for this Naive Bayesian # # program # ############################ # update or insert new term def saveTerms(term, v, score): entity = sqlHelper.sql_queryRows('terms',"WH...
[ "ano@qmlstudio.com" ]
ano@qmlstudio.com
c0bca8d865bf372c3ad7e16a347e11b50c5bd363
6a7058009587e78b5c758ff783410325ad7c2a4b
/leet/trees/serializeDeserialize.py
11901325add1a326d48e38679f57ee4d830890e5
[ "Apache-2.0" ]
permissive
stacykutyepov/python-cp-cheatsheet
8b96b76403c501f5579befd07b3c4a4c69fe914e
a00a57e1b36433648d1cace331e15ff276cef189
refs/heads/master
2023-07-16T13:26:35.130763
2021-08-30T11:23:39
2021-08-30T11:23:39
401,442,535
2
0
null
null
null
null
UTF-8
Python
false
false
1,345
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Codec: def serialize(self, root): """Encodes a tree to a single string. :type root: TreeNode :rtype: str ...
[ "peterrlamar@gmail.com" ]
peterrlamar@gmail.com
fff42786877735c43c12c0b6b7b613c376845e8c
6375b7e4dfe11ced7dcd3fad1a7a2de9a504910d
/exc7_more_print.py
9a734f30db2a725ccfb434e3859ea93eda66107f
[]
no_license
yaowenqiang/lpthw
b65e6b8ce576e7caa5cfba5570550e546d1e0549
4bbd7ebb4e8c570a39bf9c55df9bd97e4f86e1e5
refs/heads/master
2020-04-01T10:57:32.959389
2019-05-01T09:27:25
2019-05-01T09:27:25
153,140,026
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
print("Mary had a little lamb.") print("Its fleece was white as {}.".format("snow")) print("And everywhere that Mary went.") print("." * 10) end1 = "c" end2 = "h" end3 = "e" end4 = "e" end5 = "s" end6 = "e" end7 = "b" end8 = "u" end9 = "r" end10 = "g" end11 = "e" end12 = "r" print(end1 + end2 + end3 + end4 +...
[ "yaowenqiang111@163.com" ]
yaowenqiang111@163.com
ae757ec2ddcc04a193ce377d61a07be780d7a766
68281318ba2219a099ef5dbb8e3a2df6e1365859
/MyAPI/views.py
4243e8fdf7556e148af75e3932570a40764ee858
[]
no_license
1cmasson/BankApprovalML
526c1efa3caa15e3179360ca23fbee2e23c18e45
b113a9ddff6c88058045b40dd90ad05fb4e3f127
refs/heads/master
2022-10-25T19:02:28.058714
2020-05-01T18:22:41
2020-05-01T18:22:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,548
py
from django.shortcuts import render from . forms import ApprovalForm from rest_framework import viewsets from rest_framework import status from rest_framework.decorators import api_view from django.core import serializers from rest_framework.response import Response from django.http import JsonResponse from django.http...
[ "carlosmasson96@gmail.com" ]
carlosmasson96@gmail.com
ae112f60c472608d64fea6061820870ce341dd5c
048df2b4dc5ad153a36afad33831017800b9b9c7
/atcoder/arc030/arc030_2.py
fb80908cb169ecdb2886d69d72282652698d8452
[]
no_license
fluffyowl/past-submissions
a73e8f5157c647634668c200cd977f4428c6ac7d
24706da1f79e5595b2f9f2583c736135ea055eb7
refs/heads/master
2022-02-21T06:32:43.156817
2019-09-16T00:17:50
2019-09-16T00:17:50
71,639,325
0
0
null
null
null
null
UTF-8
Python
false
false
1,146
py
def reduce_graph(root, children, houseki): def rec_dfs(node): removals = [] for c in children[node]: if not rec_dfs(c): removals.append(c) for i in removals[::-1]: children[node].remove(i) if len(children[node]) == 0 and houseki[node] == 0: ...
[ "nebukuro09@gmail.com" ]
nebukuro09@gmail.com
dc31198ded096c2b290838f7a71a8afeceb98268
90983c1a7d72d7da9be819c14dd8d5f4520c1f5b
/python/MultPerceptron.py
977d7c1376c7ff28e90f8bf2500e6867d5055a78
[ "Apache-2.0" ]
permissive
ShangHong-CAI/AI-Tutorial-Multilayer-Perceptron
739715b59af980c6f669ec16af59a67f72c11956
3c3f2f6e46eaf23f2bf881b87344cc27c96a5219
refs/heads/master
2020-03-18T14:17:28.388752
2018-07-02T14:52:12
2018-07-02T14:52:12
134,840,230
1
0
Apache-2.0
2018-07-02T14:52:13
2018-05-25T10:14:57
Java
UTF-8
Python
false
false
2,241
py
# -*- coding: utf-8 -*- """ Created on Fri May 25 02:45:40 2018 @author: lovedoglion x1 w1 n1->h1 w2 w5 n3 Y w3 w6 x2 w4 n2->h2 """ import math,random import matplotlib.pyplot as plt from datetime import datetime #學習速率 eta=0.7 w1=0 w2=0...
[ "lovedoglion5@gmail.com" ]
lovedoglion5@gmail.com
d922357da9d9715313d35ba151e1a95e7b466ba1
2216469d0811e07df4c0b8b8cce0dfbd3c560081
/tests/lists/tests/delete_tests.py
600ab104cb0c9114582deb8526bbdeb18a2c0cd1
[ "MIT" ]
permissive
kimgea/django-ordered-field
fc06a9828d0fad37cf6cb66a85972ba62b148a72
c3a79cd93b013d90bbe0d6b9c9ede872d16af949
refs/heads/master
2023-01-08T19:22:37.368826
2018-08-11T06:36:18
2018-08-11T06:36:18
132,361,018
1
0
MIT
2022-12-26T20:37:21
2018-05-06T17:30:09
Python
UTF-8
Python
false
false
2,407
py
from django.test import TestCase from tests.lists.models import Item from tests.lists.tests.helper import set_up_helper class ListDeleteTest(TestCase): def setUp(self): set_up_helper() def test_delete_first(self): item = Item.objects.filter(list=1, order=0).first() item.delete() ...
[ "kim.georg.aase@gmail.com" ]
kim.georg.aase@gmail.com
de7958552a2f4870528a18348478403152405858
d489521d77f458a2ef5eee2e19320bb8f0d31d32
/except/bin/django-admin.py
e52e1d32a3124f66afce6f209118d37395a80510
[]
no_license
heidilaw4/gray-unicorn
f2cbc7829e73e370f6ff4cf11ca83af55539aca3
aa85e48ccfbe4f283350c07727cb0ed8f5e2e908
refs/heads/master
2020-03-27T01:05:57.423452
2018-11-10T15:03:39
2018-11-10T15:03:39
145,681,877
0
1
null
2019-04-10T12:10:26
2018-08-22T08:47:51
Python
UTF-8
Python
false
false
170
py
#!/Users/bert/Projects/Except/gray-unicorn/except/bin/python3.7 from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "bert@gizmostudios.net" ]
bert@gizmostudios.net
2853a92af63cc3e9f277e504d11c583c0751119a
52084ad3ce08eed62fb8286964624eec4f775fb3
/gig_finder/fans/serializers.py
5a927c477c0e421809f413d62b73957620a67fce
[]
no_license
armoredpigeon1111/gig_finder_backend
efd954cb384b3fad0099a5f2094b7785b3179e41
97aa8f6ce19e700b2e6a906e43fbd33d4cae364c
refs/heads/main
2023-09-01T14:24:29.862928
2021-10-12T23:19:39
2021-10-12T23:19:39
414,647,177
0
0
null
null
null
null
UTF-8
Python
false
false
279
py
from rest_framework import serializers from .models import Fan class FanSerializer(serializers.ModelSerializer): class Meta: model = Fan # fields = ['id', 'genre1', 'genre2', 'genre3', 'user_id'] fields = ['id', 'genre1', 'genre2', 'genre3', 'user']
[ "armoredpigeon1111@outlook.com" ]
armoredpigeon1111@outlook.com
e54b8492fbd24218e4c9bd113017dde26d8f5eb8
16df490b514a74031072173bdc4f4a2cfa37e8a8
/127. Word Ladder.py
b42f3f574a7d213ff37acaa081f84f2716f30dc4
[]
no_license
hzyhzzh/LeetCode
d7ad522be5eef6919c6c41ec9c2ecaa92b8fa156
a9c982207d3fc4bcb0513f88b6b5aeaaeb09f554
refs/heads/master
2021-01-20T16:35:28.625019
2017-09-25T09:08:37
2017-09-25T09:08:39
68,596,154
0
0
null
null
null
null
UTF-8
Python
false
false
222
py
class Solution(object): def ladderLength(self, beginWord, endWord, wordList): """ :type beginWord: str :type endWord: str :type wordList: List[str] :rtype: int """
[ "hzyhzzh@foxmail.com" ]
hzyhzzh@foxmail.com
d970c24d9a1fd88b9c7b2b36f67c266df8dc1020
a3a81a1f8220a00d8fc4062c97c919965f3a1918
/util/validar_datos.py
3c5e03831e8d7f6bd2e8b7347a10bbbf9ca1c9e8
[ "MIT" ]
permissive
kelvinguerrero/coordinadorloader
e347c5fb094ad805c91aed543f356f9966439977
4ec4ea8cc237e3b0d758294d6f27a42ab989ae23
refs/heads/master
2021-03-12T23:49:17.665877
2015-07-23T22:09:26
2015-07-23T22:09:26
38,727,675
0
0
null
null
null
null
UTF-8
Python
false
false
2,164
py
# coding=utf-8 __author__ = 'kelvin' import json from loadercoordinador import maestrias, pensum def validar_datos_seccion_profesor(p_v_profesor): respuesta = None if p_v_profesor.status_code == 200: json_profesor = json.loads(p_v_profesor.text) respuesta = json_profesor["id"] return respu...
[ "kelvin_guerrero@hotmail.com" ]
kelvin_guerrero@hotmail.com
0afebfc6d81687d29cdf074104dea42952267656
19a3592e04ce3d76696f3ec817e78af6ae0f7def
/demo/shopping.py
caf772e85dce3a61dfb1a4577f71025bb3b35aea
[]
no_license
gaofingal/python
a20100ab052c58d0c5e1deb779a18d9ba2116234
636bad2488745b7a3fdbf5df77996281800f1d5f
refs/heads/master
2021-09-03T09:46:10.396915
2018-01-08T04:58:34
2018-01-08T04:58:34
111,057,077
0
0
null
null
null
null
UTF-8
Python
false
false
1,064
py
product_list = [ ('mac',10000), ('iphone',5000), ('pen',100), ('pant',170), ('thinkPad',7000), ] shop_list = [] # 输入工资总数 salary = input(">>>输入你的工资:") if salary.isdigit(): salary = int(salary) else: print("不要闹你输入的不是钱") while True: # 讲商品循环出来 for k,v in enumerate(product_list): ...
[ "gaofeijian9@foxmail.com" ]
gaofeijian9@foxmail.com
e7222661f1d108b7b261e08dc175d59218cb0878
97faa0fbd9104e24607c417003bcb4974db586d2
/crawler/mgmt/queue.py
06bdc223e0ebfc70513f91ce39becdac282ddc16
[ "MIT" ]
permissive
pcaruana/sombrio
fbd6c72f11b1f9d7394a9ec2e1cc77dbcecf7c1e
3d824e31edc30d6cbeb896b00da4727f830d084e
refs/heads/master
2023-07-06T19:01:12.555806
2023-02-17T11:15:33
2023-02-17T11:15:33
232,555,975
0
0
MIT
2023-07-06T00:21:00
2020-01-08T12:14:41
Python
UTF-8
Python
false
false
2,612
py
""" Wrapper for the managment teams queue endpoints. Nov, 27, 2016 - Pablo Caruana pablo dot caruana at gmail dot com """ import requests import logging class QueueWrapper: def __init__(self, queue_host): self._address = queue_host.ip self._port = queue_host.port self.log = loggi...
[ "pcaruana@redhat.com" ]
pcaruana@redhat.com
d940779e9fe2e8b90d8ab502d20eb8ee3a3299f7
2b7e8bc72f9059215914fb8d82ca9ada7aae8e14
/rte/FeatureExtractor3.py
952f9c1309e2a40c31c5841d98807b4e6223c47c
[]
no_license
datagangchen/AI.Prog-dop---lsd
cb9bf6bfb617cb1cbcb7b5666b0caa99999aaff8
f8043e6f302ec9a9eacb5c733ff3633c7051ddea
refs/heads/master
2021-05-27T16:01:15.566641
2011-11-23T21:05:22
2011-11-23T21:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,346
py
#------------------------------------------------------------------------------- # Name: module1 # Purpose: # # Author: Lars # # Created: 20.11.2011 # Copyright: (c) Lars 2011 # Licence: <your licence> #------------------------------------------------------------------------------- #!/usr/bin/env ...
[ "larssot@stud.ntnu.no" ]
larssot@stud.ntnu.no
ef0aaacd8fedf13c8a18d46944b7df0927c88d38
e905abd9bb7bd7017657d0a0c4d724d16e37044c
/.history/article/spiders/ieee_20210206223025.py
4220b80e3f61daeddb62f3b9b60b2bc1a791ce13
[]
no_license
tabdelbari/articles
a8b921841f84fb473f5ed1cdcda743863e6bc246
f0e1dfdc9e818e43095933139b6379a232647898
refs/heads/main
2023-03-05T10:21:35.565767
2021-02-10T13:35:14
2021-02-10T13:35:14
325,654,973
0
0
null
null
null
null
UTF-8
Python
false
false
4,534
py
import scrapy import logging import re from scrapy_splash import SplashRequest, request from article.items import ArticleItem import json class IeeeSpider(scrapy.Spider): name = 'ieee' allowed_domains = ['ieee.org'] lua_script = """ function main(splash, args) assert(splash:go{ splash.ar...
[ "abdelbari1996@hotmail.com" ]
abdelbari1996@hotmail.com
9cc430a942311489f89af6223fead0320a52ca72
be9fd4c54cc8f0f23724e0e4b4bcab99b3a8d513
/Alisha/settings.py
2823af8647957c26f0b0fff738cecda95789a5f4
[]
no_license
AlishaKochhar/DjangoSignupAuthenticate
9d6d0b92b05f371972261f8fdeaa70ad15ee02bf
cc4d217cdef9eba34c0abc6c29ba134940f229bf
refs/heads/master
2020-09-12T07:12:18.030705
2016-09-08T18:09:53
2016-09-08T18:09:53
67,702,016
0
0
null
null
null
null
UTF-8
Python
false
false
3,274
py
""" Django settings for Alisha project. Generated by 'django-admin startproject' using Django 1.9.8. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ import os # ...
[ "alishakochhar@gmail.com" ]
alishakochhar@gmail.com
a1f4d88f434d8ccb0b50ec6dcd122e1514025be7
ee30f91f6515ae211ab42287455462502a58d771
/futuremaker/barlist.py
353aa51aaee3245eea2460167b6462be58478571
[ "MIT" ]
permissive
simhaonline/futuremaker
963a83a4e095c9be9dd33b7d3cb80c8bde41a170
6f0d70a5cae40c496d1bf253472d13bb8da1f70c
refs/heads/master
2020-12-26T15:53:48.205420
2020-01-30T14:08:33
2020-01-30T14:08:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,463
py
import pandas as pd from futuremaker.log import logger class BarList: def __init__(self, symbol, history, freq='T'): self.symbol = symbol self.freq = freq self.history = history self.df = None def init(self, index_list, data_list): logger.debug('>> index_list >> %s', ...
[ "songaal@gmail.com" ]
songaal@gmail.com
3a48961a4b6dd2e091a6c553297caabc8dfe0bf9
8501165bbbc6acf017b062c846a3ef7ef8624dc0
/dataframes.py
5e95c158a85cf9e26deb466f6ef7e8a54bd9025e
[]
no_license
olavosamp/spark_tutorial
df9edcc3cf82fc2103dd4f889e13eec22f97fbcc
c80d0e8259eda0dc443c3af259a3b11241ba63fa
refs/heads/master
2023-03-29T09:20:08.279790
2021-03-26T20:01:40
2021-03-26T20:01:40
351,897,858
0
0
null
null
null
null
UTF-8
Python
false
false
1,266
py
from pyspark.sql import SparkSession from pyspark.sql.types import StructType, StructField, StringType, IntegerType spark = SparkSession.builder.master("local[1]").appName("SparkbyExamples.com").getOrCreate() data = [ ("George", "M", 12), ("Adolf","M", 14), ("Emilia","F", 16), ] print("\nOriginal RDD") rd...
[ "olavosamp@poli.ufrj.br" ]
olavosamp@poli.ufrj.br
5d2813ca087eb6a5bb4590f8936619deaff8350d
f5119e44376bb8aab58cfab223b45a41abe0ab63
/login_ui.py
152c95898b4e9e17f9853b48cd5ee7216b4f85fb
[]
no_license
egeBAY/serverClient
e9692444a68882c775c4740b786e4a0334161ed7
169212d1eb284e0d7497d5ba5e55894e03dd9c73
refs/heads/main
2023-07-03T07:04:48.313108
2021-08-13T12:52:55
2021-08-13T12:52:55
385,518,766
0
0
null
null
null
null
UTF-8
Python
false
false
19,774
py
import sys import sqlite3 import socket import threading import json import gmplot import random from PyQt5 import QtCore, QtWidgets from PyQt5.QtWidgets import QAction, QLabel,QMainWindow, QVBoxLayout,QWidget from PyQt5.QtGui import QPixmap, QMovie from PyQt5.QtCore import Qt,QTimer,pyqtSignal from PyQt5....
[ "noreply@github.com" ]
noreply@github.com
e54a39dbfad7a724eeeaa1ef31bddec82f0bd60a
b5ca0a2ce47fdb4306bbdffcb995eb7e6eac1b23
/Problem Solving/Algorithms/Strings/Strong Password/Strong_Password.py
ffab59cbf509d72ada08350dae73075e23cc95ca
[]
no_license
rsoemardja/HackerRank
ac257a66c3649534197b223b8ab55011d84fb9e1
97d28d648a85a16fbe6a5d6ae72ff6503a063ffc
refs/heads/master
2022-04-14T22:46:03.412359
2020-04-03T07:44:04
2020-04-03T07:44:04
217,687,370
0
0
null
null
null
null
UTF-8
Python
false
false
758
py
#!/bin/python3 import math import os import random import re import sys # Complete the minimumNumber function below. def minimumNumber(n, password): # Return the minimum number of characters to make the password strong count = 0 if any(i.isdigit() for i in password)==False: count+=1 if any(i.i...
[ "rsoemardja@gmail.com" ]
rsoemardja@gmail.com
3cd9bfc221cf246f3a393362774ee3f9883a9923
288a00d2ab34cba6c389b8c2444455aee55a8a95
/tests/data23/recipe-496895.py
705c281fd7ebdc79fa6b70e2cc5c4d5bbf46119c
[ "BSD-2-Clause" ]
permissive
JohannesBuchner/pystrict3
ffd77b7bbc378bd4d8f21b5c6bd69a0d64a52ddb
18b0dd369082422f9bf0f89c72e7acb53a49849c
refs/heads/master
2023-08-14T06:37:37.954880
2023-07-13T11:16:38
2023-07-13T11:16:38
268,571,175
1
1
null
null
null
null
UTF-8
Python
false
false
3,143
py
import string def rebase(i, frombase=None, tobase=None, fromalphabet=None, toalphabet=None, resize=1, too_big=40000, debug=False): ''' if frombase is not specified, it is guessed from the type and/or char in i with highest ord. tobase defaults to [10, 2][frombase == 10]. the alphabets are map(chr, ...
[ "johannes.buchner.acad@gmx.com" ]
johannes.buchner.acad@gmx.com
0a53a0c060fd813ae8909c3974daa768e53ce4f2
7972afe7bea0840a3ca82f30d89f788c75689ce7
/sessionproject2/sessionproject2/urls.py
8cc838d3f6c9c528952bd528f05df69ca339e182
[]
no_license
vamshibuddha/Djangoprojects
1b9d0891837b57a5cae3a81cde6f8dd44c0a186b
823855bdaa0923a70d1819ea75cc8af53f1cf585
refs/heads/master
2023-01-02T18:09:58.485840
2020-10-23T17:18:41
2020-10-23T17:18:41
303,397,995
0
0
null
null
null
null
UTF-8
Python
false
false
927
py
"""sessionproject2 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Cla...
[ "vamshi.buddha6@gmail.com" ]
vamshi.buddha6@gmail.com
0250af5de2c470cdfe5b35e79ad11ff9fecf0505
b3aa3d77836fa8f05b54d68e7bd6bff19dced90d
/Atcoder/166/F.py
cebe95a2befd384d575177108224c95f438c7ef8
[]
no_license
anoubhav/Codeforces-Atcoder-Codechef-solutions
660c5b78723791bc33b1d51977bf11ebe6dfe4c1
aeebcae332af64aba49f52261d11aa6996f33b1c
refs/heads/master
2022-12-08T14:02:49.574928
2020-08-29T14:18:30
2020-08-29T14:18:30
255,004,401
0
0
null
null
null
null
UTF-8
Python
false
false
878
py
n, a, b, c = list(map(int, input().split())) slist = [] d = {'A': a, 'B':b, 'C':c} soln = [] prev = None for i in range(n): s = input() # corner case if prev: if prev[0] in s: d[prev[0]] += 1 d[prev[1]] -= 1 soln.append(prev[0]) else: ...
[ "anoubhav.agarwaal@gmail.com" ]
anoubhav.agarwaal@gmail.com
db766e679ad5d5b29b11e5227f416641d4615582
8a39a9092e468ae0b0f1cbaa120ec9cb073ea99a
/flaskapp/bin/wheel
6cf1bd3c2fac09220ced09d1f4faf7538fb92369
[]
no_license
UPstartDeveloper/Mad_Libs
717d840dfaebf837a0ec8b7d41360557bdd28ba7
b103051afdc38693e07deb6fb66b3b992b032a3b
refs/heads/master
2020-07-14T07:18:58.575014
2019-09-09T19:06:50
2019-09-09T19:06:50
205,271,045
0
0
null
null
null
null
UTF-8
Python
false
false
263
#!/Users/zainraza/Documents/dev/courses/MadLibs/flaskapp/bin/python3.7 # -*- coding: utf-8 -*- import re import sys from wheel.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "zainr7989@gmail.com" ]
zainr7989@gmail.com
aff385d3dbf179b50d4b6dfb6e28d6ad9474b463
b9fd9d839b86d4f4fbcfa93647017dcac1a8ae11
/perceptron/perceptron.py
eb1fc4e9919e5234b9294e3d8dbfa212bd2f7c52
[]
no_license
bobchen124/deep-leanring
e11891686968a92ae36e72b44d9cc4dd97740f71
3cda69d2eff925196a2bba28d30118d1e6a000c2
refs/heads/master
2020-03-31T20:24:11.185710
2018-12-17T04:43:41
2018-12-17T04:43:41
152,538,667
1
0
null
null
null
null
UTF-8
Python
false
false
1,460
py
# -*- encoding:utf8 -*- """ 感知机, 接收多个信号,输出一个信号 与门、与非门、或门 局限性:只能用一条直线分割空间 """ import numpy as np def and_fun(x1, x2): """ 简单实现 :param x1: 1 or 1 :param x2: 1 or 1 :return: 0 or 1 """ w1, w2, theta = 0.5, 0.5, 0.7 tmp = x1*w1 + x2*w2 if tmp > theta: return 1 return 0 ...
[ "" ]
84b7d5c6910db947cae4941793940cc7b29ead9e
fc71262034f729b4468a0558f8a651255ee6248f
/gerartabelas.py
d8ef255f76dbacf9bbb740cbc13ba9a3a91b67da
[]
no_license
Vitormartins12/B3
0426565ad712bc9c91ebd6452e7d46301a8b89e4
fd06c6dac9f421fae4d01a8973b442e3b868dd07
refs/heads/master
2020-08-22T14:39:15.528674
2019-10-20T15:10:17
2019-10-20T15:10:17
216,417,555
1
0
null
2019-10-20T19:43:12
2019-10-20T19:43:11
null
UTF-8
Python
false
false
762
py
"""Gerar tabelas no banco de dados.""" import sqlite3 import time inicio = time.time() conn = sqlite3.connect('b3.db') cursor = conn.cursor() command = 'CREATE TABLE ibovespa (id PRIMARYKEY, data TEXT, resultado INTEGER, var REAL, var_percentual REAL, ultima REAL, maxima REAL, minima REAL, abertura REAL, volume INTE...
[ "brunosantos@protonmail.com" ]
brunosantos@protonmail.com
9a88dbefe9d12ae56fd5f6ca342c38cbb702e783
e9edca3415fb6d39fdf769bfe048adf0d199f4ce
/20_04_April/0411_python_study4/pkgtest/crab/__init__.py
bb3ddefb528678482992f4efb6e5e9a1ed40b042
[]
no_license
lee-gyu/happy_algorithm
cfeef8745cbbf06c6e339740fa3c47c221fc53e4
79ef1db3e6069acc724b2d81f90eb8f47636f6e0
refs/heads/master
2023-02-13T04:07:37.359915
2021-01-09T05:51:36
2021-01-09T05:51:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
14
py
print('Spicy')
[ "rbcjf0219@gmail.com" ]
rbcjf0219@gmail.com
2531f37313b9268a3e4ead29c2647579c6202149
5af7b81f573bdde3e588f2a7bf2797b515b6bd8d
/promise.py
863aeeab8b74803024a26e761ad233280440e66e
[]
no_license
bulivyf/PEMDAS
ee01ac90c05757416b865395b4333949db43b46a
cdded79f16425874c2959a61c83c59475da0070e
refs/heads/master
2021-09-20T08:32:55.775470
2018-08-07T01:32:44
2018-08-07T01:32:44
105,935,520
0
0
null
null
null
null
UTF-8
Python
false
false
825
py
from flask import Flask from flask_cors import CORS, cross_origin import random import json from time import sleep # get this object from flask import Response app = Flask(__name__) cors = CORS(app, resources={r"/api/*": {"origins": "*"}}) app.debug = True @app.route('/randnums',methods=['GET']) def index(): r ...
[ "efraser65@yahoo.com" ]
efraser65@yahoo.com
7d81e0e0ff8208f3ac7143677298a42c4f2a1199
481b4b6955c6ddb5d962da5f2c8f9bf6d49d4f4c
/virtual/bin/pip
63518a7dfa1e3b162a75c4bfdd69ccb87c3d5ea8
[]
no_license
sanii-muthui/motoblog
b0b72c2013741a8a0dcb93ebc96cbce2edd220a6
d82ae26184b75a433aaeefcd77c0bbe174bfe27f
refs/heads/master
2022-10-03T08:55:29.879056
2019-08-13T07:02:07
2019-08-13T07:02:07
202,012,043
0
0
null
2022-09-16T18:08:10
2019-08-12T21:30:57
Python
UTF-8
Python
false
false
246
#!/home/sanii/Desktop/motoblog/virtual/bin/python # -*- coding: utf-8 -*- import re import sys from pip._internal import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "muthuisanii@gmail.com" ]
muthuisanii@gmail.com
56147c4176a83410b94fc3ef0202533914dbe558
7b45dc1d03196ac9143ee0a4d48fd4d79327fe0b
/adi/html_bonding.py
79fdebef9fb2c3e43f11fa9bb4fbe212af09c658
[]
no_license
adi2909/basic-py
ab88d42fca85fc27c1029f8f50133b26d019fbb6
0532539f86cbb584aa7bfd8cc357fc9df4c25c03
refs/heads/master
2016-08-04T18:06:05.498580
2013-03-06T04:38:31
2013-03-06T04:38:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,064
py
import urllib2 import json import string import socket import string import subprocess from multiprocessing import Pool import argparse from optparse import OptionParser import smtplib import MimeWriter from email.MIMEText import MIMEText from email.MIMEMultipart import MIMEMultipart # Specifying the Datacenter or the...
[ "adi2909@gmail.com" ]
adi2909@gmail.com
23043bb914eb6625791175cd8932dd4a496bfc77
9f4735f78090c1598731167a06c5ba66aceec503
/practical_1/uva_code/optimizers.py
6c683f3f5fd64699c0cb2c2307f967e2fe1c87c9
[]
no_license
kmario23/uvadlc_practicals_2016
4fb5438e64bdc1cef955522b34bb20ef85138698
fa7a89638efa5ac68c92746c2a4086d3100a29ca
refs/heads/master
2020-08-03T12:54:39.914824
2016-11-11T12:14:33
2016-11-11T12:14:33
73,547,022
2
0
null
2016-11-12T10:50:27
2016-11-12T10:50:27
null
UTF-8
Python
false
false
1,517
py
""" This module implements various optimization functions for the neural networks. You should fill in code into indicated sections. """ class SGD(object): """ Implements vanilla stochastic gradient descent. """ def __call__(self, w, dw, config = None): """ Implements vanilla stochastic gradient des...
[ "kgavrilyuk@uva.nl" ]
kgavrilyuk@uva.nl
317e160e89d97e9e0e1579ab96101f209a1633e7
0741240969b0569e11e3697b5d8fb6aa550d9df1
/morph/scripts/save_dataset_description.py
be48ae3ff3a0c2950198243aff3ae1258364d463
[]
no_license
berenslab/layer4
41b9b5a83a3f48e93a3a686ead6319e29b0917f4
1dea6b160149b0be95d09353352dc5e229d7f704
refs/heads/master
2020-04-28T11:21:56.726446
2020-03-04T16:36:55
2020-03-04T16:36:55
175,235,281
1
0
null
null
null
null
UTF-8
Python
false
false
1,270
py
import os import sys import pandas as pd import numpy as np if __name__ == "__main__": # parse in input and output if it is specified try: data_path = sys.argv[1] except IndexError: data_path = '/mnt/berens_data/data/anatomy/V1 L4 Scala/swc/' try: save_path = sys.argv[2] e...
[ "slaturnus@googlemail.com" ]
slaturnus@googlemail.com
09dc93bf160fae79ae292d82e8e5f44287276cfe
70bee1e4e770398ae7ad9323bd9ea06f279e2796
/openapi_client/models/waas_path.py
628e708d4edce2b96dbb415798f282ec876d858b
[]
no_license
hi-artem/twistlock-py
c84b420b1e582b3c4cf3631eb72dac6d659d4746
9888e905f5b9d3cc00f9b84244588c0992f8e4f4
refs/heads/main
2023-07-18T07:57:57.705014
2021-08-22T04:36:33
2021-08-22T04:36:33
398,637,698
0
0
null
null
null
null
UTF-8
Python
false
false
4,597
py
# coding: utf-8 """ Prisma Cloud Compute API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: 21.04.439 Generated by: https://openapi-generator.tech """ try: from inspect import getfulla...
[ "aakatev@virtru.com" ]
aakatev@virtru.com
3bc0fa150804ea42ba257f13005f8613c6d86e46
d3dc206446cffc919a7b3fb0838ca0ef14043e04
/redditbot/worker.py
3af98330efac68cb5f8d935bf1d5e72af2b2adfd
[]
no_license
gtmanfred/redditbot
70ff2e2d1a63a4d272db93301ebb4f21acf16dae
05d8f24620c9a3847c7e0c37ae8015e048af312e
refs/heads/master
2020-04-18T14:56:02.289674
2015-10-19T01:22:40
2015-10-19T01:22:40
42,025,013
2
0
null
null
null
null
UTF-8
Python
false
false
1,117
py
from kombu.connection import BrokerConnection from kombu.mixins import ConsumerMixin from blinker import signal import logging from redditbot.queues import task_queues logger = logging.getLogger(__name__) class Worker(ConsumerMixin): def __init__(self, connection, config): self.connection = BrokerConnec...
[ "danielwallace@gtmanfred.com" ]
danielwallace@gtmanfred.com
f0b8ddbe5ce1a6713d0228a8fb0fd8c01d022ef9
c53508862bb60ab6add29f9772478b0629c6475b
/flashboard/server/wscript
ff8a8f7fb0fc0c3238e4a7458c1ab35ef15671c1
[]
no_license
warrenseine/flashboard
13b9afeec2bc11ee13ebdb6044adce8069e9af83
33177be588d52f1e9afe38d07824b22ffe43131f
refs/heads/master
2020-06-08T13:46:39.905976
2011-02-17T10:45:52
2011-02-17T10:45:52
1,370,973
2
0
null
null
null
null
UTF-8
Python
false
false
586
#!/usr/bin/env python from common import * def build(bld): cxx = bld(features=["cxx", "cprogram"]) cxx.source = bld.path.ant_glob("src/**/*.cc").split() cxx.target = "flashboard" cxx.lib = ["pthread"] cxx.staticlib = [ "orbit", "boost_date_time", "boost_program_options", "boost_log", ...
[ "warren.seine@aerys.in" ]
warren.seine@aerys.in
b524874927a85350a7aef67eec10b8b273fc8e92
d9effdca7fcaf3ec7d5568d69476c181e7aa05cc
/00_scripts/04_09_coldPool_evolution.py
57de45c418994dea22d312cb0b4450d1b8af1954
[]
no_license
Potopoles/MScTh
cac1013dea0d9935efa1bd5b6a30a7f339f3c9ac
7fdd5b769fe9416c056f8b8003b8466547d9f71c
refs/heads/master
2021-07-10T14:16:47.636015
2020-06-25T10:43:48
2020-06-25T10:43:48
151,584,506
0
0
null
null
null
null
UTF-8
Python
false
false
4,847
py
# Calculate domain Average Precipitation # author: Christoph Heim # date: 21 10 2017 ################################# import os os.chdir('00_scripts/') i_resolutions = 5 # 1 = 4.4, 2 = 4.4 + 2.2, 3 = ... i_plot = 2 # 0 = no plot, 1 = show plot, 2 = save plot i_info = 2 # output some information [from 0 (off) to 5 (al...
[ "Christoph.Heim@meteoswiss.ch" ]
Christoph.Heim@meteoswiss.ch
a536bdcbf7d2e262cdcd57fb7576a6c706c7c063
fcbf910c46991955159a11a34573d3bbb2c8bb90
/test/serial/mf_mapping.py
fa9f5612f9e55757f82782376fecec5ea9607cbd
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
xunzhang/paracel
59114aa63e46b844e56e1089dae633e55150875a
553598a1f4c942c80157adfc23c2cd3fe0dab333
refs/heads/develop
2020-05-19T08:57:50.643425
2015-06-14T16:44:49
2015-06-14T16:44:49
14,230,290
13
3
null
2014-12-09T16:24:44
2013-11-08T10:37:14
C++
UTF-8
Python
false
false
3,221
py
#! /usr/bin/env python # # Matrix factorization with bias # import numpy as np class mf(): def __init__(self, k = 100, rounds = 10, alpha = 0.001, beta = 0.01, train_fn = '', pred_fn = '', output = ''): self.k = k self.rounds = rounds self.alpha = alpha self.beta = beta self.train_fn = train_fn self....
[ "xunzhangthu@gmail.com" ]
xunzhangthu@gmail.com
afccfd4437dcec4745a78a3eef2d6993ea057e94
3331d4670026ed7596ce358cb59788f3fb819c3b
/Day 1/data.py
2a730ac96eb87e66c795c074c643b9e9b1574b43
[]
no_license
dddjjjbbb/AOC-2015
c157d89dec48b7ca597728b7eb19b12a5dc88955
6f209fa2829840fda7ffdb91fc7ea2ac48efe21d
refs/heads/master
2022-08-29T20:54:50.561054
2016-08-22T11:31:07
2016-08-22T11:31:07
54,843,210
1
0
null
null
null
null
UTF-8
Python
false
false
7,013
py
brackets = "()(((()))(()()()((((()(((())(()(()((((((()(()(((())))((()(((()))((())(()((()()()()(((())(((((((())))()()(()(()(())(((((()()()((())(((((()()))))()(())(((())(())((((((())())))(()())))()))))()())()())((()()((()()()()(()((((((((()()())((()()(((((()(((())((())(()))()((((()((((((((())()((()())(())((()))())((((()(...
[ "danieljohnboyle@gmail.com" ]
danieljohnboyle@gmail.com
9e415607f39dec093aee3da1d61982c5547537b7
23909063d199e761eb3f281eddc9f56f73a7fea7
/codes/sift_bf.py
48a367ae72b6f08f18250832f05346d1ab8d7f29
[]
no_license
dak-7309/Panoramic-Image-Stitcher
9d5e899c21336429301ff7684836a45786a1c6a6
805654ade00e953ae27d6d72a2bc9ef9998405dc
refs/heads/main
2023-02-03T04:03:21.809493
2020-12-27T11:31:15
2020-12-27T11:31:15
324,746,673
0
0
null
null
null
null
UTF-8
Python
false
false
5,001
py
#!/usr/bin/python import sys import cv2 import numpy as np import matplotlib.pyplot as plt import imageio import imutils import time cv2.ocl.setUseOpenCL(False) imgA =str(sys.argv[1]) imgB =str(sys.argv[2]) img1=imageio.imread(imgA) img2=imageio.imread(imgB) # Read images and converting them to gray scale images for...
[ "daksh18137@iiitd.ac.in" ]
daksh18137@iiitd.ac.in
c7f17a13d32f9ecfc2653caae4e1d39e6bce8b61
394a14aabcf75de8469f8efa4e27b296e50c1fdf
/tools.py
6c504bcd823c7c9fe87ddb10cf35c321c4fdbd6b
[ "MIT" ]
permissive
dhavalocked/alchemy-backend
c41c836778a6acf6054e6b246b14d5b85b1cb3ce
c908e0c8066c3b8a327d92da0ff34f13522f470d
refs/heads/master
2020-05-02T20:33:28.031806
2019-04-03T09:29:42
2019-04-03T09:29:42
178,195,452
0
0
null
null
null
null
UTF-8
Python
false
false
1,050
py
import boto3 from app import app s3 = boto3.client( "s3", aws_access_key_id=app.config['S3_KEY'], aws_secret_access_key=app.config['S3_SECRET'] ) def upload_file_to_s3(file, bucket_name, acl="public-read"): try: s3.upload_fileobj( file, bucket_name, file.fil...
[ "prajapatidhavalv@gmail.com" ]
prajapatidhavalv@gmail.com
d560012743ab421ada77b4c2c917d0c5ffba6960
26445b1466a7565a97a0dcb4122f95f761de3d80
/0x0F-python-object_relational_mapping/1-filter_states.py
88c006cb7a85f616fb65ba6a81d4fa7f824eeb57
[]
no_license
LuAnVaRmO/holbertonschool-higher_level_programming
6bdd292de4dad9004c93ee6954977b8d3736be69
df7a4d4041697cd121308ded2fb1bcacd197335c
refs/heads/master
2022-12-22T03:43:10.810408
2020-09-24T21:06:24
2020-09-24T21:06:24
259,389,996
0
0
null
null
null
null
UTF-8
Python
false
false
528
py
#!/usr/bin/python3 """ list where start letter is 'N' """ from sys import argv import MySQLdb if __name__ == '__main__': my_user = argv[1] my_pass = argv[2] my_db = argv[3] db = MySQLdb.connect( host="localhost", port=3306, user=my_user, passwd=my_pass, db=my...
[ "luisangelvargas91@gmail.com" ]
luisangelvargas91@gmail.com
b547effea8ac47079eaea6607c221c4f2fc56616
b13dab3ceeb79c73b45068f32898d29ec70da7c8
/test/testReg.py
e2ec1855fa5085f4bfd5d1de7386bd4af9cf8d69
[]
no_license
Sumedh3113/Identity_Management
fb8249786afed27238f83943889866ea52d1c509
d15ab77fe77d47efc5894b9f08bff966f0e3e165
refs/heads/master
2021-07-12T22:29:19.420066
2019-06-13T02:19:56
2019-06-13T02:19:56
187,153,079
0
0
null
2020-08-20T15:43:01
2019-05-17T05:38:28
JavaScript
UTF-8
Python
false
false
878
py
from selenium import webdriver; from selenium.webdriver.common.keys import Keys from selenium.webdriver.support.ui import Select import time browser= webdriver.Chrome(); browser.maximize_window(); browser.get('http://localhost:3000/register'); # test all the registration fields and submit button selectFN =browser.f...
[ "sumedhdeshpande31@gmail.com" ]
sumedhdeshpande31@gmail.com
3be87f9c7665bc27d1ae41feb7bc49a33d2d103d
a5a60573498bec0947827a48d6dabee94d0bd35c
/workflows/views.py
27441d74ab1541951645fb3f5a8e4fd2026cad68
[ "MIT" ]
permissive
Milstein/notary-service
07c966c1380453035bf71e3a78d42f1d0cfa51a8
b9f74dc7ef1377ad054eb16a6d63f32a21d8d0b0
refs/heads/master
2022-04-17T15:20:53.802528
2020-04-22T21:37:23
2020-04-22T21:37:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,531
py
from django.shortcuts import render, get_object_or_404, redirect from django.utils import timezone from projects.models import MembershipProjectWorkflow, ComanagePersonnel, ProjectWorkflowUserCompletionByRole from projects.workflows import take_user_through_workflow, \ workflow_save_safe_token_and_complete, workfl...
[ "michael.j.stealey@gmail.com" ]
michael.j.stealey@gmail.com
0775f507f466ecde4faaf612f6965c0f84a79238
2ae0b8d95d439ccfd55ea7933ad4a2994ad0f6c5
/tools/mo/openvino/tools/mo/ops/dft.py
377776cc39ee3d4e828f517648c87f29dde4b6b8
[ "Apache-2.0" ]
permissive
openvinotoolkit/openvino
38ea745a247887a4e14580dbc9fc68005e2149f9
e4bed7a31c9f00d8afbfcabee3f64f55496ae56a
refs/heads/master
2023-08-18T03:47:44.572979
2023-08-17T21:24:59
2023-08-17T21:24:59
153,097,643
3,953
1,492
Apache-2.0
2023-09-14T21:42:24
2018-10-15T10:54:40
C++
UTF-8
Python
false
false
10,798
py
# Copyright (C) 2018-2023 Intel Corporation # SPDX-License-Identifier: Apache-2.0 import numpy as np from openvino.tools.mo.front.common.partial_infer.utils import int64_array from openvino.tools.mo.graph.graph import Node, Graph from openvino.tools.mo.ops.op import Op class FFTBase(Op): enabled = False op...
[ "noreply@github.com" ]
noreply@github.com
01a51cde3f16658f31571329e7c6afcabd3a7875
a57f5c7265e99f012dfdffb86aa3d89d736c53cf
/4.1.6.13 Tic tac toe.py
17b3e541f97d75096de43d643dc3b191b6c16eb6
[]
no_license
Ghostpupper/Pythoncourse
723e1a9d2af8fa1590b1adefe6c0130710b7227a
20c007fd7970dd22ef591616d01619d647bed116
refs/heads/master
2023-03-25T05:43:30.425435
2021-03-19T17:58:07
2021-03-19T17:58:07
349,509,725
0
0
null
null
null
null
UTF-8
Python
false
false
3,090
py
from random import randrange global board board = [[(j + 1) + i * 3 for j in range(3)] for i in range(3)] def DisplayBoard(board): ''' the function accepts one parameter containing the board's current status and prints it out to the console ''' for rows in board: print('+','-'*7,'+','-'*7...
[ "9207gusmat@gmail.com" ]
9207gusmat@gmail.com
d66a685b3eae06a0d468c4c05d0331aee0fe5464
193d45b86dd85d4f64e531ab781f0ad60524003c
/test_syntax_parser.py
1ebde4476e31ea4b94cc7c11cf4264a99077a679
[]
no_license
wsg36236/calc_compiler
1a3d701f9fbdfc044bd058aba12ef11475258f3f
5c9708acb9e4676112b7a6ad1bd05b0237bc74e5
refs/heads/master
2020-08-22T05:19:09.523486
2019-10-20T10:56:21
2019-10-20T10:56:21
216,325,485
0
0
null
null
null
null
UTF-8
Python
false
false
649
py
#!/usr/bin/python # -*- coding: UTF-8 -*- ############################################################### # This script is used to # Version : 1.0.0.1 # usage : # # ############################################################### import unittest from lexical_parser import parse_expression from syntax_parser import par...
[ "viki_wang@trendmicro.com.cn" ]
viki_wang@trendmicro.com.cn