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
93a759dd1d4ce068810fd67a473fd7f242615fd5
f2fcf807b441aabca1ad220b66770bb6a018b4ae
/coderbyte/StringMerge.py
aee27511c52f7fc9c13b05cde0262bec9a847235
[]
no_license
gokou00/python_programming_challenges
22d1c53ccccf1f438754edad07b1d7ed77574c2c
0214d60074a3b57ff2c6c71a780ce5f9a480e78c
refs/heads/master
2020-05-17T15:41:07.759580
2019-04-27T16:36:56
2019-04-27T16:36:56
183,797,459
0
0
null
null
null
null
UTF-8
Python
false
false
290
py
def StringMerge(string): stringArr = string.split("*") arr1 = stringArr[0] arr2 = stringArr[1] strBuild = "" for i in range(len(arr1)): strBuild+= arr1[i] strBuild+= arr2[i] return strBuild print(StringMerge("123hg*aaabb"))
[ "gamblecua@gmail.com" ]
gamblecua@gmail.com
8d16a7b317c421b41cb6db551f09e5d6d244cff9
3d8d874ebba15fd065c0a9e74c05e8cd2a24dbe8
/Week 6 - Joining Data with pandas/19-Concatenate and merge to find common songs.py
9ad795f5e20ab5a06eff3519aec9c340843f3813
[]
no_license
RomuloMileris/UCD_Professional_Certificate_in_Data_Analytics
db3e583a6e607e74f3d26b65ba0de59cff64e5a3
a4a77df69a2440132cfa3e89c4a1674e3e02d086
refs/heads/master
2023-02-22T12:48:50.039440
2021-01-15T17:06:07
2021-01-15T17:06:07
319,717,851
0
0
null
null
null
null
UTF-8
Python
false
false
720
py
# Concatenate the classic tables vertically classic_18_19 = pd.concat([classic_18, classic_19], ignore_index=True) # Concatenate the pop tables vertically pop_18_19 = pd.concat([pop_18, pop_19], ignore_index=True) # Concatenate the classic tables vertically classic_18_19 = pd.concat([classic_18, classic_19], ignore_i...
[ "romulosmileris@gmail.com" ]
romulosmileris@gmail.com
b22afa174867cbcdb44387342cabbb4d1d5cce42
77a7f05272e82024cffa7ec3bf79b5cb5f90ee3e
/job_search_webapp_project/jobsearch/scraping/dice.py
e308bc35ab1f12a91bf963fe88d208574d75ae8f
[]
no_license
fergusonsa/JobSearch_Django
5c3ff42cf59cd9380e5b10c3a2a64582382bbb55
35d626555b5dad8309358e3fde3c093a7df12702
refs/heads/master
2021-09-26T04:42:42.989940
2020-09-27T15:07:00
2020-09-27T15:07:00
85,593,500
0
0
null
2021-09-22T17:41:15
2017-03-20T15:26:32
HTML
UTF-8
Python
false
false
20,929
py
# coding: utf-8 import logging import datetime import re import requests from bs4 import BeautifulSoup import geopy.geocoders import geopy.distance import geopy.exc import jobsearch.scraping import jobsearch.models as models NUMBER_POSTINGS_PER_REQUEST = 25 MAX_POSTINGS_RETRIEVED = 1000 logger = logging.getLogger(...
[ "fergusonsa@yahoo.com" ]
fergusonsa@yahoo.com
883ff69f8f33ab9939a29caa2769bdfcffbdd30c
d6ce7d815af09eea09d8bc2c6f3aaa1b341270cc
/ros_ws/devel/lib/python3/dist-packages/cozmo_rc/srv/__init__.py
56810697b51cdf3f2704bf4724155ca111994cdd
[]
no_license
danbrick92/cozmoRos
7e47569e6d9cdd56c84b6cffb5b1fe46453f4b48
f0345c70f58525d3cbd4227e109b468fa4a07e15
refs/heads/main
2023-09-03T21:30:52.839599
2021-11-18T01:33:15
2021-11-18T01:33:15
423,007,855
0
0
null
null
null
null
UTF-8
Python
false
false
54
py
from ._light_req import * from ._speaker_req import *
[ "danbrickner@hotmail.com" ]
danbrickner@hotmail.com
b3698f59655330a8fa5ab0c4d49985791d562870
f284021b02f6331888b6d41cfc34d555367b3797
/bin/easy_install
b9baf79171c742180e9e609b8b8fc87a1bd06354
[]
no_license
Hubert51/Web_Django
aa8aa771de3085d7bff2fd2b64e8de131b9af537
f48ad6260291311262a95f71ceda354990518dfc
refs/heads/master
2020-01-23T21:38:44.507734
2016-11-29T02:17:52
2016-11-29T02:17:52
74,692,472
1
0
null
null
null
null
UTF-8
Python
false
false
257
#!/Users/gengruijie/Django1.10/bin/python3 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "gengr@rpi.edu" ]
gengr@rpi.edu
3312b51d5e5f1f3726320f7259525ad1936b0f31
b7320c9d3b36973812314cb6cde6c056f3311972
/general_test.py
530964ae76bd5bac390bc7c9f6451797558492a2
[]
no_license
dhueholt/Misc-bits
27b75cf85026d0253e53f99197c11bbfc44baba6
dc7219ea79234e661c5d8f9b113a26edacd94ec5
refs/heads/master
2022-02-14T23:16:16.831681
2019-07-22T20:18:40
2019-07-22T20:18:40
198,296,235
0
0
null
null
null
null
UTF-8
Python
false
false
1,154
py
""" Test for VIIRS EDR product Author(s): Daniel Hueholt @dhueholt GitHub """ from glob import glob import matplotlib.pyplot as plt from satpy import Scene import cartopy.crs as ccrs import pdb FILENAMES = glob('/Users/dhueholt/Documents/Data/CloudMask/20190306/JRR*.nc') SCN = Scene(reader='viirs_edr_gran', filen...
[ "dmhuehol@ncsu.edu" ]
dmhuehol@ncsu.edu
fa423cdd35927ebb9664b82df50cab4322eebe1f
9f75a1f7e1aa7c9e3bff6aeb261808d596b75fa5
/agent.py
8f2c88d0157d6805b784d73414cf0700d6839e53
[]
no_license
butterkaffee/drlnd_project1
2609b97d4122683b25d2c22f452077d2ccde1f71
2843211006947f0598e5ba7c23f10e90e399d834
refs/heads/master
2020-05-31T06:42:36.942280
2019-07-08T17:25:56
2019-07-08T17:25:56
190,148,266
0
0
null
null
null
null
UTF-8
Python
false
false
12,605
py
import numpy as np import random from collections import namedtuple, deque from model import QNetwork, DuelingDQN import torch import torch.nn.functional as F import torch.optim as optim BUFFER_SIZE = int(1e5) # replay buffer size BATCH_SIZE = 256 # minibatch size GAMMA = 0.99 # discou...
[ "noreply@github.com" ]
butterkaffee.noreply@github.com
ba8d9485f114b77345b5bdc786cacf2516b8dba0
b29dcbf879166592b59e34f0e2bc4918c3ac94a0
/cart/views.py
4dfc522e62c9c9e4cc9b815d50b1184bbe3d6954
[]
no_license
samdasoxide/myshop
ce6d4553af04f1ddf5de1cbfa38ef2ff33ac6b11
21115de7748862c8a44ef4dc5a61511ad67746dd
refs/heads/master
2022-12-14T07:39:13.803686
2017-06-20T11:42:30
2017-06-20T11:42:30
92,954,076
0
0
null
2022-12-07T23:58:40
2017-05-31T14:23:18
JavaScript
UTF-8
Python
false
false
1,067
py
from django.shortcuts import render, redirect, get_object_or_404 from django.views.decorators.http import require_POST from shop.models import Product from .cart import Cart from .forms import CartAddProductFrom @require_POST def cart_add(request, product_id): cart = Cart(request) product = get_object_or_404(...
[ "samdasoxide@gmail.com" ]
samdasoxide@gmail.com
11e303d4c69ca7bcedd509112ad6562b91d12bdc
6a562077f79213f6b2bb89e92d6a16d931268089
/frappe/core/doctype/data_import/importer_new.py
6fccbc89ef1f32fc83abe5d05da1ba572513dd91
[ "MIT" ]
permissive
libracore/frappe
74fe917b75aa1cfad38c71519914180d5d5f1366
92d94a73a3445a252a2828de0053dcce86a18f17
refs/heads/v12
2023-07-17T04:58:08.622228
2023-06-28T17:27:33
2023-06-28T17:27:33
89,392,790
6
8
MIT
2023-08-29T16:29:03
2017-04-25T18:19:40
Python
UTF-8
Python
false
false
27,077
py
# -*- coding: utf-8 -*- # Copyright (c) 2019, Frappe Technologies Pvt. Ltd. and Contributors # MIT License. See license.txt import io import os import json import timeit import frappe from datetime import datetime from frappe import _ from frappe.utils import cint, flt, update_progress_bar from frappe.utils.csvutils i...
[ "netchamp.faris@gmail.com" ]
netchamp.faris@gmail.com
451da3310b48ed6fd08983ee33fda5f2b27b92fd
24171ea136e2ec211792d1d7644cd5c945a6df35
/test/41.py
a05e622c42a995a2e87dd72731ed1c176dae0dc4
[]
no_license
reidevries/codecoach
1329ab367dc8aa3f3dd76af0b7cbc975a7d67ccd
a6d8e3cf28a6d264b0aa6aa8a44cc315803954b2
refs/heads/master
2021-05-23T10:02:53.403344
2020-04-05T12:57:24
2020-04-05T12:57:24
253,233,587
0
0
null
null
null
null
UTF-8
Python
false
false
1,001
py
#! /usr/bin/env python2.6 import re import sys import os argv = len(sys.argv) if argv != 2: print "usage: ipfun.py <filename>" sys.exit(1) argo = sys.argv[1] if (os.access(argo, os.R_OK) == 0): print argo, "is not readable" sys.exit(2) InFile = open(argo, "r") ipcheck = r"((([0-1]?[0-9]?[0-9])|(2[0-4][0-9])|(...
[ "raeaw@localhost.localdomain" ]
raeaw@localhost.localdomain
fc56269afc1a9b27972e6ba65f1634e38ca3c907
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/volatil.py
da3fffbd742a2e39d77bda58f2168f2a493c7200
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
586
py
ii = [('EmerRN.py', 1), ('RogePAV2.py', 2), ('GodwWSL2.py', 1), ('FerrSDO3.py', 1), ('WilbRLW.py', 1), ('ProuWCM.py', 5), ('PettTHE.py', 3), ('PeckJNG.py', 1), ('WilbRLW2.py', 7), ('CarlTFR.py', 2), ('CrokTPS.py', 1), ('ClarGE.py', 1), ('BuckWGM.py', 1), ('GilmCRS.py', 1), ('WestJIT2.py', 1), ('SoutRD2.py', 1), ('MedwT...
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
214f9f36330053db1146926c0969362d5663836f
0eb42eb02dcd217b7c41993a99b3b6628a13a04e
/exponential.py
e2d1af3bcfbc5307cacb4cde47cbd5ed33dd56b4
[]
no_license
luckysona/shanthiya
d1f29449c9511e33ce382666b53dd35b70534081
c6d9acfe8e069be5e3c4428e27d4722afd9faa27
refs/heads/master
2020-05-25T22:59:50.235797
2019-07-23T17:40:53
2019-07-23T17:40:53
188,025,917
0
0
null
null
null
null
UTF-8
Python
false
false
79
py
x,y=input().split() x=int(x) y=int(y) if(y==0): print(x) else: print(x**y)
[ "noreply@github.com" ]
luckysona.noreply@github.com
014373df5e1938c8b39fd5fcaacbbd0655dfd64d
4a53ae5afb11850196ac08763afc637a81ce1dbd
/turbo-entabulator/turbo_entabulator/utilities.py
2e1a8a52db3511f74cc1a59121cdb99fb9f55ff6
[]
no_license
xinyli-cumulus/TE_update
5983309ef66f5316f56298fc3d7b1ef4fb0719d7
4e5b9299d3159bbcdd715c33cc08820ad2c8e3fb
refs/heads/master
2021-05-26T10:49:14.229467
2020-04-08T14:10:19
2020-04-08T14:10:19
254,102,008
0
0
null
null
null
null
UTF-8
Python
false
false
18,936
py
#!/usr/bin/env python3 """ Turbo-Entabulator utilities. This file contains utilities used by the Turbo-Entabulator suite that don't fall under the 'detections' or 'discovery' categories. """ # Copyright(c) 2018, 2019, 2020 Cumulus Networks, Inc # John Fraizer <jfraizer@cumulusnetworks.com> import json import os impo...
[ "noreply@github.com" ]
xinyli-cumulus.noreply@github.com
f525a1f530ac0b939164e1ae587b3a12727bf3d3
e1f78a71c0ce255ab064e0fa9fb3bdb7251bb016
/src/QuickPaint.py
7d9e480cf817e89458f9543abf8c54f0d1bd2c03
[]
no_license
dylansloann/SketchMath
7675f7e40ef5ae31675c1fa062e2718f41390c07
874e624dd3a86a0f879fa54f609115fd393bb1dc
refs/heads/master
2023-05-30T00:55:00.461682
2021-06-13T05:00:44
2021-06-13T05:00:44
294,305,328
4
1
null
null
null
null
UTF-8
Python
false
false
5,745
py
from PyQt5 import QtCore, QtGui, QtWidgets import sys, os class Paint(QtWidgets.QMainWindow): def __init__(self): super(Paint, self).__init__() self.windowSetup() self.menuOptionsSetup() self.saveCommmandSetup() self.eraseCommmandSetup() self.colorsSetu...
[ "dylansloann2@gmail.com" ]
dylansloann2@gmail.com
b3743862fc7b8de3b6dca5344e37f61f50a634eb
b97a608517f024b81db0bdc4094d143ba87c8af4
/src/oceandata/export_production/mouw.py
5922a9fe193338af1b8d507473dce963eb6aaa90
[ "MIT" ]
permissive
brorfred/oceandata
ff008042cc993a07d9db1de3fa72e70f70d44219
831e0691223da1aa6a6e97175e8c2d7874bf60cd
refs/heads/master
2022-02-14T11:48:13.401206
2022-01-27T17:01:56
2022-01-27T17:01:56
175,451,337
1
1
null
null
null
null
UTF-8
Python
false
false
4,519
py
""" Global ocean particulate organic carbon flux. Ref: https://doi.org/10.1594/PANGAEA.855594, """ import os, pathlib import warnings import pandas as pd import numpy as np import requests DATADIR = pathlib.PurePath(pathlib.Path.home(), ".oceandata") pathlib.Path(DATADIR).mkdir(parents=True, exist_ok=True) DATAURL ...
[ "brorfred@gmail.com" ]
brorfred@gmail.com
7b330a04a2dde22bdff089a6ed4a3ec386cbc41c
a78fa01825c57797d45d57f7e7143ef91024aa1e
/db_tools/import_category_data.py
970b412ad79f732fb880182e770e6ca7a2c8a308
[]
no_license
giwatest/MxShop
8e68fb917d7ccc3f6cca24bc654cb1868f0c1409
4500eb6d4c85110ed3c97209c007be35ceb1cd6b
refs/heads/master
2020-07-19T01:53:49.427411
2020-02-23T14:58:34
2020-02-23T14:58:34
206,355,008
1
4
null
null
null
null
UTF-8
Python
false
false
1,196
py
# encoding: utf-8 __author__ = 'GIWA' #批量导入商品类目 # # import sys import os pwd = os.path.dirname(os.path.realpath(__file__)) sys.path.append(pwd+'../') os.environ.setdefault("DJANGO_SETTINGS_MODULE", "MxShop.settings") import django django.setup() from goods.models import GoodsCategory from db_tools.data.category_da...
[ "bingna.liu@xinchan.com" ]
bingna.liu@xinchan.com
c257da7a0180dbf630338ad35acd1a55e212f6fa
703aa4509109552e91e1f3db39146f723b6256d0
/motores.py
5f695b4f176b91edc5fdb5ca8ec9aa0d10a29a45
[]
no_license
alfredobs97/PythonMysqlScript
2334fb0392b8039862e77c382d7a23b4763bc8ed
91bcaab69ee4f518697cc3dd15e7bf43bab4465c
refs/heads/master
2021-01-13T15:47:43.093460
2017-02-09T16:59:01
2017-02-09T16:59:01
79,963,972
0
0
null
null
null
null
UTF-8
Python
false
false
277
py
#!/usr/bin/python import MySQLdb db = MySQLdb.connect(host="192.168.8.16", user="root", passwd="1234", db="mysql") cur = db.cursor() cur.execute("SHOW ENGINES") ver = cur.fetchall() print "Version de Mysql : %s" %ver
[ "alfredobautista1@gmail.com" ]
alfredobautista1@gmail.com
569977b9ce4461b125524e9caad267bb700d509d
1a3b527145549c7d69f42831ea12c468e1ebb209
/math.py
ad4498fd08e2a47d2f83cef8a60021d5b965e988
[]
no_license
muhammadagus030201/finalproject
7654094d0549122fb14a04441cb606bc3208f972
3b3fe4a6e13d94ff217f61e6e8bd5aebec678ddd
refs/heads/main
2023-03-21T12:23:22.102040
2021-03-06T16:11:18
2021-03-06T16:11:18
345,130,219
0
0
null
null
null
null
UTF-8
Python
false
false
302
py
x = 10 y = 3 #tambah z1 = x+y print("Hasil Pertambahan {} + {} = {}".format(x,y,z1)) #bagi z2 = x/y print("Hasil Pembagian {} / {} = {}".format(x,y,z2)) #moduloatausisabagi z3 = x%y print("Hasil Modulo {} % {} = {}".format(x,y,z3)) #pangkat z4 = x**y print("Hasil Pangkat {} ** {} = {}".format(x,y,z4))
[ "belajarpython030201@gmail.com" ]
belajarpython030201@gmail.com
670e94a3bedc2fa474c3d44db8f5ae1bab732516
f3515dd05089b6491ccb4c28ac6654b7f86e77b0
/hw_4/final_submittal/cross_validation_script.py
11b87a12e232f801086c9ba118854eadc8e211eb
[]
no_license
jb08/AI
f17409832c0af8710957f4b4d6c80d90aa06f198
8f05d6989174b3c6b76547c5370042038a54e78d
refs/heads/master
2021-01-01T04:12:10.496120
2016-06-09T16:40:58
2016-06-09T16:40:58
56,189,015
0
0
null
2016-06-08T17:06:55
2016-04-13T22:01:04
Python
UTF-8
Python
false
false
5,263
py
# Name: Megan Sinclair, David Williams, Jason Brown # Date: 5/23/16 # All group members were present and contributing during all work on this project # # Note that there is a retrain function in this script. This function mirrors the training # that is present in our bayes.py and bayesbest.py files. Mirroring it here ...
[ "jasonkingsley.brown@gmail.com" ]
jasonkingsley.brown@gmail.com
b9ac3eaf94bdd09fd0832248e58d306bcfe3a66b
d8f44692c9f9f0a9a391a49db0f4f659a2ef6fe8
/jsBuilds/jsBuilder.py
c6d54a0f8bcd6b1b48141c786117bd378dc21f5d
[ "MIT" ]
permissive
skylarkgit/sql2phpclass
045e71963574b719313fc98882f5c710435f101f
a79e7f3cfda8cb41ba00e8cbba0de33e9be759d6
refs/heads/master
2020-03-19T02:34:34.229287
2018-07-04T18:58:28
2018-07-04T18:58:28
135,640,687
0
0
null
null
null
null
UTF-8
Python
false
false
4,062
py
import sys sys.path.append('..') from jsBuilds.jsTemplates import * from jsBuilds.jsSupport import * from lib.fileOps import * from dtfSupport import * import jsbeautifier tables=None DEPENDENCIES="$scope,archonAPI,ToolBag,$http,$window,$filter,$mdDialog" def getSelectServices(tableSurface): tableName=tableSurface.a...
[ "abhay199658@gmail.com" ]
abhay199658@gmail.com
bda1259acf1f9e58440de1958bf26bb65f5b568f
144590772aaa89e5ead8936512b0bd035c215c7b
/resilient-circuits/tests/selftest_tests/mocked_success_script.py
3ea0cb2eea6c0d23aebd1c0b1c2c4e1b72008c59
[ "MIT" ]
permissive
ibmresilient/resilient-python-api
f65dad3f3c832581127026fa3e626eaf3d4749a7
84e8c6d9140ceac0bf47ce0b98e11c7953d95e61
refs/heads/main
2023-07-23T12:36:49.551506
2023-07-11T15:15:43
2023-07-11T15:15:43
101,414,862
37
31
MIT
2023-09-07T14:00:34
2017-08-25T14:59:45
Python
UTF-8
Python
false
false
276
py
def selftest(opts): """ Placeholder for selftest function. An example use would be to test package api connectivity. Suggested return values are be unimplemented, success, or failure. """ return { "state": "success", "reason": None }
[ "Ryan.Gordon1@ibm.com" ]
Ryan.Gordon1@ibm.com
4b23d796e4e6e0eaf5c71897207ec14d8b6168c5
5dc20d163ac874bef45f8aeadbdc8bef1697ea64
/python-asyncio/src/asyncio/basic.py
bdbc3208817df584096fd5999af8abb797074038
[]
no_license
bartfrenk/sandbox
67241860ea35437a0f032a1b656a63908289fe19
563fc0051e742cc735c5da4b58a66ccf926e2b16
refs/heads/master
2022-12-10T04:51:56.396228
2020-02-23T11:18:28
2020-02-23T11:18:28
60,007,554
0
0
null
2016-05-30T12:12:09
2016-05-30T12:12:09
null
UTF-8
Python
false
false
427
py
import asyncio import sys class Test: def __init__(self, number): self.number = number async def run(self): print("The magic number is...", end=" ") sys.stdout.flush() await asyncio.sleep(1) print(self.number) async def main(): print("Hello") await asyncio.sl...
[ "bart.frenk@gmail.com" ]
bart.frenk@gmail.com
07e30b5ca44e0780d580e0e6e6bb3d6b3d5b027e
031b1c5b0c404f23ccd61a08845695bd4c3827f2
/python/pyfiles/算术运算符.py
39efec4aa582072f142c44bd1bc23d687686d1e0
[]
no_license
AndyFlower/zixin
c8d957fd8b1e6ca0e1ae63389bc8151ab93dbb55
647705e5f14fae96f82d334ba1eb8a534735bfd9
refs/heads/master
2022-12-23T21:10:44.872371
2021-02-10T07:15:21
2021-02-10T07:15:21
232,578,547
1
0
null
2022-12-16T15:41:14
2020-01-08T14:13:25
Java
UTF-8
Python
false
false
795
py
# -*- coding: utf-8 -*- """ Created on Tue Dec 1 22:57:02 2020 @author: sanglp """ # +运算符 print(3+5) print(3.4+4.5) print((3+4j)+(4+5j)) print('abc'+'def') print([1,2]+[3,4]) print((1,2)+(3,)) # -运算符 print(7.9 -4.5) # 浮点数有误差 print(5-3) num = 3 print(-num) print(--num) print({1,2,3}-{3,4,5}) #计算差集 # *运算符 print(3333*...
[ "1308445442@qq.com" ]
1308445442@qq.com
132c053eb5afe2d84aa47b7ec1f8974eb06f8dce
f34ed25e140a1e9f09d1fb4253674b317b989125
/NURB/manage.py
52c8c2eebf023aad825462247ee388c57a0c342b
[]
no_license
westonpace/NUR
925ae3e01a5315292d3cb96d98603dd77182acec
01b8e657583c549afda0e11abb9b9fb8712147eb
refs/heads/master
2021-01-22T11:51:14.011919
2013-05-22T03:09:01
2013-05-22T03:09:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
247
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "NURB.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "weston.pace@gmail.com" ]
weston.pace@gmail.com
0cd9df6b49c7bef9b37f49d71c4534f94c55be94
ccf06f8f91a1068fc12edffb379d35dbe4f6388e
/getReplyIds.py
8c510d9a54bfce6441aacd116135fea88e804c7c
[ "Apache-2.0" ]
permissive
online-behaviour/machine-learning
46c37c5e37de4323c778bc2ffc80024f4e34a004
2ff0e83905985ec644699ece44c75dd7422a7426
refs/heads/master
2021-07-09T04:36:48.441324
2021-04-28T13:58:00
2021-04-28T13:58:00
87,834,727
2
3
null
null
null
null
UTF-8
Python
false
false
866
py
#!/usr/bin/python3 -W all # getReplyIds.py: extract ids and reply-ids from tweets in json # usage: getReplyIds.py < file # 20170918 erikt(at)xs4all.nl import csv import json import re import sys COMMAND = sys.argv.pop(0) ID = "id" REPLYTO = "in_reply_to_status_id" SCREENNAME = "screen_name" TEXT = "text" USER = "user...
[ "erikt@xs4all.nl" ]
erikt@xs4all.nl
f91e0e107d8ae9b3d2e01fcae49d69d459b91219
4ac3571fed09a6f475448ce7555abfe0daf00151
/lettercount.py
562fd93c1e54f46ef9fca3b9d017397542448363
[]
no_license
ThorHlavaty/pythondicts
fb21ffd490ae2c0faa6ea43abcda0cead3f7ba97
d7bc47a28ce1d04b212da277e05a5c624dc1feec
refs/heads/master
2022-12-12T08:24:39.300182
2020-09-04T18:15:46
2020-09-04T18:15:46
290,031,425
0
0
null
null
null
null
UTF-8
Python
false
false
887
py
def letter_counter(a_string): letter_count = {} for letter in a_string: letter_count[letter] = a_string.count(letter) return letter_count def word_histogram(a_string): word_count = {} this_thing = a_string.lower().split() for word in this_thing: word_count[word] = this_thing.c...
[ "thorthebore@gmail.com" ]
thorthebore@gmail.com
88ed4535cc1d89f37f97af16d48dceabab6add6f
1e39bbec23e4200d84237cb2446e4285736cbf98
/options.py
b17459e6a9edea456a043196dec7c461421c41c3
[]
no_license
JRiyaz/password-manager
00617c4f16f7438c392baf972d66d77eca11e519
215947d5ce5934bd04d11f3cf1d035cf457a5fa9
refs/heads/main
2023-05-31T12:05:06.772659
2021-07-05T09:54:44
2021-07-05T09:54:44
379,824,940
0
0
null
null
null
null
UTF-8
Python
false
false
4,787
py
import sys from colors import Colors from security import PasswordManager class Options: # username of the user __username = '' # Show welcome message for first time __welcome = True @staticmethod def __ask_username() -> None: """ This method prompt the user to enter username through...
[ "j.riyazu@gmail.com" ]
j.riyazu@gmail.com
c69507f367aefa1127fc150a6f8ecc701ddc571a
6aed964b224292fb1d76f9b5dacb0883abe929fc
/ablog/theblog/migrations/0006_auto_20200927_2319.py
2a457ec8fc67c8216b10e0e78141980f6a740de7
[]
no_license
satish-313/OurBlog
e575585c4e0960a552628164f1cd8dee7d99a0c5
ce497682ba1f6be725be7cdb1d1e02241059843f
refs/heads/master
2023-02-09T22:33:47.816592
2020-12-22T16:22:18
2020-12-22T16:22:18
319,668,863
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
# Generated by Django 3.1.1 on 2020-09-27 17:49 import ckeditor.fields from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('theblog', '0005_auto_20200926_2239'), ] operations = [ migrations.AlterField( model_name='post', name...
[ "pradhansatish53@gmail.com" ]
pradhansatish53@gmail.com
272977aa9883b7e270a1e4aa51d6f4540f0c7ef8
ada39040fa1e56fb7de6147ff62e6c8dee1f69bb
/Backend.py
9d49833595073ea3e4fab7d29b580bc74cec35ea
[]
no_license
hendpraz/chatbot-pattern-matching
c18880fde6df9663768ee482c233e5804823b756
478c873f1e53398c6f37919cda9e0f77a0194a88
refs/heads/master
2020-05-09T21:09:52.091634
2019-04-25T01:13:50
2019-04-25T01:13:50
181,433,838
0
0
null
null
null
null
UTF-8
Python
false
false
12,956
py
#!/usr/bin/python import sys import re from utils import stopwords, listSynonym, FAQs #from Sastrawi.StopWordRemover.StopWordRemoverFactory import StopWordRemoverFactory #from ntlk.corpus import stopwords #from ntlk.tokenize import word_tokenize numOfQuestion = 0 questionDB = [] answerDB = [] #factory = StopWordRemo...
[ "45161697+hendpraz@users.noreply.github.com" ]
45161697+hendpraz@users.noreply.github.com
bfd774f91b26d227ba70c15082fed0194b86585b
c02e5e0730a04b0a16c68d8aad928daedd770948
/App/forms.py
6803dbdd618672636a38b52907a07a83f6c8f902
[ "MIT" ]
permissive
ashtonfei/flask-mini-app
11c005f05496d655078a259cc70347c9664e0738
5a825665caef257d1f0fe3a670fcd1cea650688e
refs/heads/main
2023-03-30T18:12:44.430341
2021-04-09T15:46:06
2021-04-09T15:46:06
355,441,390
0
0
null
null
null
null
UTF-8
Python
false
false
1,392
py
from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, SelectField, SubmitField from wtforms.validators import DataRequired, Length, EqualTo, Email class LoginForm(FlaskForm): email = StringField(label='Email', validators=[DataRequired(), Email()]) password = PasswordField(label='Pass...
[ "yunjia.fei@gmail.com" ]
yunjia.fei@gmail.com
c27426914cd5012c8f9639773cee57f0c16aeee3
57972581decd1707834a58eefa3b77e9ed24bf28
/service_2/__init__.py
4e910ebf3bd4d91cd523d337209cb03068cfa80c
[]
no_license
abhyasgiri/milestone-serverless-project
8e671288adf3abbf71217e42c3984152da967571
3e1a67859fd0289ae56772b4b5079fa43452a1a4
refs/heads/main
2023-02-23T01:30:23.132175
2021-02-02T16:44:01
2021-02-02T16:44:01
335,349,686
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
import logging import random from string import ascii_lowercase import azure.functions as func def main(req: func.HttpRequest) -> func.HttpResponse: logging.info('Python HTTP trigger function processed a request.') letters = "" for _ in range(5): letters += random.choice(ascii_lowercase) ...
[ "abhyasgiri@outlook.com" ]
abhyasgiri@outlook.com
0ef417ef2ea2ab51e1240c4fc86e2f26be2e0302
509d717f18caad77e00c3261dcf1934f7e5bd95d
/venv/css_selectors/sports_bet_page_locators.py
65e85e02577a73a8730a604977beb681bc7cbdcc
[]
no_license
Swingyboy/pronet_design_testing
8aee2f42e2452ca178fbe34e7a51ce7377156e08
ad3dc5a58983ed6d6c9cef91a40ea8160f699dd0
refs/heads/master
2023-05-06T05:34:47.438023
2020-09-15T09:17:36
2020-09-15T09:17:36
281,055,876
1
1
null
2021-06-02T02:56:51
2020-07-20T08:12:21
Python
UTF-8
Python
false
false
403
py
from selenium.webdriver.common.by import By class SportsBetPageLocators(): UPCOMING_EVENTS_BAR =(By.CSS_SELECTOR, 'upcoming-events > div > div.modul-header') LIVE_BET_BAR = (By.CSS_SELECTOR, 'live-at-now > div > div.modul-header') ESPORTS_BAR = (By.CSS_SELECTOR, 'app-esports > div > div.modul-header') ...
[ "kedonosec@gmail.com" ]
kedonosec@gmail.com
b0af71064e926490ac415e9930d72e7cccec1d8c
7464f15c33c74454f2a98dceb7f603919abba4d1
/happy.py
01383a2a50c7506bb341600a3deaf9076a692953
[]
no_license
willingc/my-bit
374bece797c59956e500504cd62940a2c1718013
535768dcb09297f1028e0e111fd062b91e8032c6
refs/heads/master
2016-08-08T21:26:22.119643
2015-11-30T03:23:59
2015-11-30T03:23:59
47,053,915
0
0
null
null
null
null
UTF-8
Python
false
false
935
py
""" happy.py by Carol Willing November 28, 2015 Public Domain Use this to display a 'Happy Face' image on micro:bit's 5x5 pixel grid of LEDs. Remember... Writing a program is similar to planning a birthday party. Program Birthday party ------- -------------- 'Prepare' Prepare the room with balloons;...
[ "carolcode@willingconsulting.com" ]
carolcode@willingconsulting.com
79722b7ad6e4e2c4ed519da6d093a3f52c9824bf
f56d915f46d779b9ed07a8b6bb048b688865cd7b
/passette.py
97f4c671482303943a387b2184856c6fc5a118fc
[]
no_license
deskofcraig/spotifyplayer
42a252a92ab5d9cc3a1ed7bb68b886579bd1178a
759deb180e345712c09a07e1d5e0fa55dd747e3a
refs/heads/master
2020-04-11T05:42:33.882169
2019-01-19T02:47:32
2019-01-19T02:47:32
161,557,770
0
0
null
null
null
null
UTF-8
Python
false
false
2,788
py
#import the GPIO and time package import RPi.GPIO as GPIO import time import os #from mopidy import core GPIO.setmode(GPIO.BOARD) #yellow/back button GPIO.setup(37, GPIO.IN, pull_up_down=GPIO.PUD_DOWN) #red/pause button GPIO.setup(36, GPIO.IN, pull_up_down=GPIO.PUD_DOWN) #green/play button GPIO.setup(33, GPIO.IN, pul...
[ "noreply@github.com" ]
deskofcraig.noreply@github.com
e9ad5aee994bfbdd74e6f30e6aa132036122e60b
437b5b668d6d2c6f089bbeabb2676db46d8cdd07
/temp_ach_multiprocess.py
0037b9c2e1f8db810f86f2e2c4c54c41b7643c81
[ "MIT" ]
permissive
marcelosalles/idf-creator
4e53d185ab42b7f14dbd2d83e9ffe7e015ef07c3
399a68dbee9d275e79df75c55acdec5f246ff07f
refs/heads/master
2020-03-18T13:03:40.804518
2018-12-21T19:33:49
2018-12-21T19:33:49
134,758,816
0
1
null
null
null
null
UTF-8
Python
false
false
3,378
py
# Return EHF from multiple simulation results of Operative Temperature import argparse import csv import datetime import glob from multiprocessing import Pool import os import pandas as pd FOLDER_STDRD = 'cluster' LEN_FOLDER_NAME = len(FOLDER_STDRD) + 2 BASE_DIR = '/media/marcelo/OS/LabEEE_1-2/idf-creat...
[ "marcelosalles@github.com" ]
marcelosalles@github.com
5527d366f62eeca1618526aeba69c022f62e9b48
fb887b712b05c5e2a3ab1a02d9349c246fc06922
/app/migrations/0003_auto_20210316_2151.py
5cba198802eba0fe273af13aee79f4ead5b43c65
[]
no_license
kousik-prabu-git/SafeNest
3347b139488053d42abd4997cf6f9e3a11542e1d
b9368a497e37b2076683eb00e7d8f8644647b903
refs/heads/master
2023-04-14T12:15:47.598980
2021-05-02T08:28:27
2021-05-02T08:28:27
347,817,753
1
0
null
null
null
null
UTF-8
Python
false
false
903
py
# Generated by Django 3.1.3 on 2021-03-16 16:21 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), ('app', '0002_auto_2021031...
[ "uniqfocuz@gmail.com" ]
uniqfocuz@gmail.com
fdece734fd20e95f571e250da5d3d0bb56e27b8a
5b029c81490df1cd2988108ed23e71aca40a9816
/MusicPredictiveAnalysis_EE660_USCFall2015-master/Code/Machine_Learning_Algos/10k_Tests/ml_classification_simple_pca.py
a9f5f7a9d11effe0c958f66898e4d78676120bad
[ "MIT" ]
permissive
lianghaol/Machine-Learning
e9b9ea009629ee1a0e24a0e55d90a3ed3c92ec05
e3353252ca54b62ff8f5ada87566bab4f373c260
refs/heads/master
2021-12-10T19:19:34.914637
2016-09-16T02:48:30
2016-09-16T02:48:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,835
py
__author__ = 'NishantNath' # !/usr/bin/env python ''' Using : Python 2.7+ (backward compatibility exists for Python 3.x if separate environment created) Required files : hdf5_getters.py Required packages : numpy, pandas, matplotlib, sklearn Steps: 1. # Uses Simple PCA to find the most important features # Uses Simpl...
[ "ozbekahmetcan@gmail.com" ]
ozbekahmetcan@gmail.com
f8f8a93e2b53a4b74d0c41930fd04e417f2189c8
2f418a0f2fcca40f84ec0863b31ff974b574350c
/scripts/addons_extern/cut_mesh-master/op_slice/slice_datastructure.py
6c86f20d47db1178d36c9ecde0f011a0e1296f6c
[]
no_license
JT-a/blenderpython279
57a81b55564218f3b1417c2ffa97f5161897ec79
04846c82f794c22f87d677d9eb8cec1d05c48cda
refs/heads/master
2021-06-25T06:58:07.670613
2017-09-11T11:14:36
2017-09-11T11:14:36
103,723,697
4
2
null
2017-09-16T04:09:31
2017-09-16T04:09:31
null
UTF-8
Python
false
false
7,750
py
''' Created on Oct 8, 2015 @author: Patrick ''' import time import bpy import bmesh from mathutils import Vector, Matrix, kdtree from mathutils.bvhtree import BVHTree from mathutils.geometry import intersect_point_line, intersect_line_plane from bpy_extras import view3d_utils from ..bmesh_fns import grow_selection_t...
[ "meta.androcto1@gmail.com" ]
meta.androcto1@gmail.com
be23dca58eab757909e1b01ac74a7f2f65028785
ee9ddec6307ab76a567b4001cee47278d503b3da
/01. Naive Bayes/01. Spam filtering/classifiers/NaiveBayesClassifier.py
ba39bc3088615798e97486a6ab994a7f35f41607
[]
no_license
Phil9l/probabilistic-graphical-models
ebf6f6366169f6e4cec72a0199a330a1e350818d
9471b79ad7d8f0a511ae94a3719132592c5f79a7
refs/heads/master
2021-01-18T17:23:56.035485
2017-03-31T08:26:30
2017-03-31T08:26:30
86,793,853
0
0
null
null
null
null
UTF-8
Python
false
false
303
py
from collections import defaultdict __all__ = ['NaiveBayesClassifier'] class NaiveBayesClassifier: def __init__(self): self._class_data = defaultdict(dict) def train(self, data, cls): raise NotImplementedError def predict(self, data): raise NotImplementedError
[ "phil9lne@gmail.com" ]
phil9lne@gmail.com
c70b445d6d1bb1da816fcacacadb68decd13d563
b424a13f032d5a607e6df4dd78bc47ad1d06a147
/astroquery/simbad/tests/test_simbad.py
fe66d82dc76fea148ff9163e36a89ec61940870a
[]
no_license
EnjoyLifeFund/macSierra-py36-pkgs
1e7eeb9b55415da6eb12465d67730d76e9cc619a
0ac677fbbfa7b6d8c527fe2c759ba05117b07fd2
refs/heads/master
2021-01-20T10:23:50.044019
2017-09-05T02:53:26
2017-09-05T02:53:26
90,333,987
0
1
null
null
null
null
UTF-8
Python
false
false
17,899
py
# Licensed under a 3-clause BSD style license - see LICENSE.rst import os import re from astropy.extern import six import pytest import astropy.units as u from astropy.table import Table import numpy as np from ... import simbad from ...utils.testing_tools import MockResponse from ...utils import commons from ...exce...
[ "raliclo@gmail.com" ]
raliclo@gmail.com
2bfaceaec7ad594a098bc8fdcd309b8ee2a0c70d
6e42b85d0deb68eeddf18bb1849daf0ee6fc0df1
/main/tests/test_views.py
978e99dee0b28789949a209162916459f411d351
[]
no_license
NotSecretEmmet/TipsCalculator
8980be28412cf4c7353d5a3a4260c19c436a9a85
5251d1ddeaf56e9f968e8d45f265c97ddd328698
refs/heads/main
2023-03-13T06:51:31.422859
2021-03-03T16:32:19
2021-03-03T16:32:19
316,184,975
0
0
null
null
null
null
UTF-8
Python
false
false
726
py
from django.test import TestCase, Client from django.urls import reverse from django.contrib.auth.models import User class TestViews(TestCase): def setUp(self): self.client = Client() self.user = User.objects.create_user('johnlennon', 'lennon@thebeatles.com', 'johnpassword') def test_home_view_GET(self): se...
[ "emmet@emkit.nl" ]
emmet@emkit.nl
dc2a482aa68540bad4c20f140f3fc7b3df59ceef
0712a5355fb7b2110df802f0630db3f421ffa08e
/MyoGrapher/__init__.py
5637e8c629fbc81d87154322b678fdf91bbc7f9a
[ "MIT" ]
permissive
nullp0tr/MyoGrapher
6f404bc29034ce585742b0eac7798981d82867ee
153dc26a77585181e8a25f427c7c5493767e20ab
refs/heads/master
2021-01-01T18:13:54.648687
2017-12-14T17:32:28
2017-12-14T17:32:28
98,281,130
1
1
MIT
2017-12-14T17:32:29
2017-07-25T08:06:36
Python
UTF-8
Python
false
false
3,156
py
import pygame class MyoGrapher(object): def __init__(self, width=1200, height=400): self.width, self.height = width, height self.screen = pygame.display.set_mode((self.width, self.height)) self.last_values = [] self.dlast_values = [] def dplot(self, vals, shifts, colors): ...
[ "ahmeds2000x@gmail.com" ]
ahmeds2000x@gmail.com
d3542bde55fffcec1c5d1a1f2685e6561647f06c
616133580e0f01adaa6ac4117329e93e6f7ad931
/Main.py
edb84ae88794d8a239d611b73066c6e7c6e636bc
[]
no_license
ckarnell/kings_cup_app
df09d0c94e9f288eee3df9da72f2b0f32dd52a98
9f1eb5ecf7ea6f1f8403887218f37c3d135150ec
refs/heads/master
2021-01-19T11:26:25.571172
2017-02-17T01:33:35
2017-02-17T01:33:35
82,243,919
0
0
null
null
null
null
UTF-8
Python
false
false
1,492
py
from Tkinter import * from time import sleep from controller.deck import Deck from static.static import Static class App: def __init__(self): self.deck = Deck() self.player = 0 self.root = Tk() self.root.title('King\'s Cup') # Pack the initial card image. logo = Ph...
[ "cohen.karnell@gmail.com" ]
cohen.karnell@gmail.com
33a16862ec2f40db072c68c1e4c243096bce805a
abb614790bdf41c7db9d09dfdea4385f78c2be52
/rtk-RQA/rtk/hardware/component/connection/Socket.py
c1454c5a9c43e324ac69b5e3c374fd2decff5864
[ "BSD-3-Clause" ]
permissive
codacy-badger/rtk
f981bb75aadef6aaeb5a6fa427d0a3a158626a2a
bdb9392164b0b32b0da53f8632cbe6e3be808b12
refs/heads/master
2020-03-19T02:46:10.320241
2017-10-26T20:08:12
2017-10-26T20:08:12
135,659,105
0
0
null
2018-06-01T02:43:23
2018-06-01T02:43:23
null
UTF-8
Python
false
false
5,321
py
#!/usr/bin/env python """ ###################################################### Hardware.Component.Connection Package IC Socket Module ###################################################### """ # -*- coding: utf-8 -*- # # rtk.hardware.component.connection.Socket.py is part of the RTK # Project ...
[ "arowland@localhost.localdomain" ]
arowland@localhost.localdomain
e5a9e28f6005491c144002425c212dd0d5803423
a2e11ec88ef3c83b9f07129e76a3681a676d164f
/sessionproject3/sessionproject3/wsgi.py
a7a02fa35437ef303c13922290ff105dce0051b2
[]
no_license
qwertypool/lofo
dadd7cd5b149a3a200b7111d803b1d0195d76642
3bc7bd125e7ea5a67f51dd6dd654e38a5f218055
refs/heads/master
2022-05-18T09:31:11.456634
2020-04-18T14:47:44
2020-04-18T14:47:44
256,773,858
3
0
null
null
null
null
UTF-8
Python
false
false
407
py
""" WSGI config for sessionproject3 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.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJAN...
[ "deepapandey364@gmail.com" ]
deepapandey364@gmail.com
96d06f52d129d45476dbb90da29283a0859e2776
f6ff601089f678fecbfa22a4d95c1de225bc34b5
/code12.py
eea027367cb9c55e95dee5542ce2b7d981997d76
[]
no_license
Kumar1998/github-upload
94c1fb50dc1bce2c4b76d83c41be2e0ce57b7fa6
ab264537200791c87ef6d505d90be0c0a952ceff
refs/heads/master
2021-07-05T10:14:13.591139
2020-07-26T15:47:30
2020-07-26T15:47:30
143,553,935
0
0
null
null
null
null
UTF-8
Python
false
false
194
py
x=int(input("Enter 1st number:")) y=int(input("Enter 2nd number:")) sum=x+y average=sum/2 print("Sum of the given two numbers is:",sum) print("Average of the given two numbers is:",average)
[ "noreply@github.com" ]
Kumar1998.noreply@github.com
105ba1f6775de7f1b066de7bcf5b3977007dfca9
851763767750eea0565b46a339cee37c1273b457
/Interview Questions/LinkedList/IntersectionPointTwoLinkedList.py
ccd068dd9751c34704630b385017c8ae544406f6
[]
no_license
sunamya/Data-Structures-in-Python
f076e4b2febe24fee31b05b83574e4e1f344014e
6c3eec7a4184b93bb18f54071bc0232cb0a76a08
refs/heads/main
2023-06-21T02:54:23.652347
2021-07-18T16:35:12
2021-07-18T16:35:12
379,672,436
0
0
null
null
null
null
UTF-8
Python
false
false
3,503
py
#User function Template for python3 ''' Function to return the value at point of intersection in two linked list, connected in y shaped form. Function Arguments: head_a, head_b (heads of both the lists) Return Type: value in NODE present at the point of intersection or -1 if no common point. Con...
[ "sunamyagupta@gmail.com" ]
sunamyagupta@gmail.com
ce51ad1ecc38aea688ceb967a158f3a5b6e99f01
ed12b8d91b207d4bb5cd5bf114184e08c4a9237c
/pe033.py
bab1aa10b62766d72e4407e8447b1d4db87c8972
[]
no_license
Rynant/project-euler
544b4b48dda63913abf7d61201fe3ea0961b118f
c19090a6e0e8db3422c47dcce0fb886840493428
refs/heads/master
2021-01-10T20:43:16.782124
2014-06-11T18:11:28
2014-06-11T18:11:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
668
py
from primes import gcd def answer(): numerator = denominator = 1 for i in range(10, 100): if not i % 10: continue for j in range(i+1, 100): if not j % 10: continue k, l = str(i), str(j) if(k.find(l[0]) >= 0): k, l = float(k[(k.find(l[0])+...
[ "rgrant@garnethill.com" ]
rgrant@garnethill.com
90e46fcc82a3f160f8cd2bcfbc49f9442619ab7d
10b43efca8647c86ac0ea9df1dd8368db5dff931
/gen_data.py
0d5b03686f6b71f86f251a59605ce223d2bdd756
[ "MIT" ]
permissive
ruiyangio/latency-graph
ed0244c87d9b6d3d3bff7fa4aaaca1a07f9e40e2
ba0414b11c31f565a5ca41b29e1d0aad9e545aa2
refs/heads/master
2020-03-25T03:36:41.982072
2018-08-03T04:20:27
2018-08-03T04:20:27
143,350,913
0
0
null
null
null
null
UTF-8
Python
false
false
461
py
import csv import random import numpy as np import string nodes = [] for i in range(120): nodes.append(''.join((random.choice(string.ascii_uppercase), random.choice(string.ascii_uppercase), random.choice(string.digits)))) edges = [] for i in range(15000): edges.append( random.choice(nodes) + "\t" + random.cho...
[ "ruiyangwind@gmail.com" ]
ruiyangwind@gmail.com
a0e34d34734d4acd75e8ed1f3ea57119148e7c08
2b5cb00bda71b5e76843baa84a9ce1ca6be9e13b
/clustering/acquire_zillow.py
930e20b94a5ce08c8b410da6e0c4e28d9207feef
[]
no_license
CodyBrettWatson/ds-methodologies-exercises
07e851b2d08c6c889db4bd849d2d12cc4cc97ecc
902e880b31d2b76eedca8d80ff0de9e0aa0dcd0f
refs/heads/master
2020-05-02T15:29:39.784446
2019-05-20T12:58:06
2019-05-20T12:58:06
178,042,617
1
0
null
null
null
null
UTF-8
Python
false
false
5,613
py
########################################## ## WILL NEED TO PIPE ALL THESE FUNCTIONS## ########################################## # Getting data from SQL databases from env import host, user, password import pandas as pd from sqlalchemy import create_engine def get_db_url( host: str, user: str, password: str, db_n...
[ "codywatson@codys-MacBook-Pro.local" ]
codywatson@codys-MacBook-Pro.local
82a251d9f29c640dcd3ba0e0881292074c885c57
caeedf133282db88bb11d5a4ae6fb20fee609103
/AdvpythonDay3/demomutliprocessing/pshttpclient.py
d97fe5bdfba00f99929584fd95bea398c6a04b01
[]
no_license
Shital-andhalkar/Advance_python_course
81190bfdaaf6b4da1f43b592ebe496f65461a05c
d49e25efe52ae13713108572493f15cb4d96ea9d
refs/heads/master
2020-04-03T20:36:25.822808
2018-11-01T07:07:33
2018-11-01T07:07:33
155,551,067
0
0
null
null
null
null
UTF-8
Python
false
false
792
py
import requests import multiprocessing from requests.exceptions import ConnectionError def web_crawler(q): """""" try: p_name=multiprocessing.current_process().name url = q.get() payload=requests.get(url).content print("{}:{}:{}".format(p_name,url,payload[:128])) ...
[ "noreply@github.com" ]
Shital-andhalkar.noreply@github.com
f407b06b2595c41745867f79d0c2bf69dedc166e
638fa52ac8fc9439f3ad06682c98c21646baf317
/LatinGlyphs.py
30d438949c7076016bea617653261187307fa34f
[ "Apache-2.0" ]
permissive
DunwichType/mixer
68c1965de0a30b34ce9e852fe9e7323e9cb2f6eb
7b82ba851fdb5b3aa26092d5d54d5e5e47f9b8a1
refs/heads/master
2021-01-10T17:10:20.760847
2015-10-19T22:30:52
2015-10-19T22:30:52
44,567,912
1
0
null
null
null
null
UTF-8
Python
false
false
5,631
py
#!/usr/bin/env python # -*- coding: utf-8 -*- #Lists of Latin Glyphs for use with Mixer # Basic Latin Alphabet majbasic = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'] minbasic = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k...
[ "junker@dunwichtype.com" ]
junker@dunwichtype.com
0baadeafe82ed3f2330579af9aeb7806db738dc3
7f8c24fe161fee3f32e206e013ea89fc8eb9a50a
/example_api/urls.py
4c07dd5d1421c42a6038b536a60b6f7e7826f9cc
[]
no_license
vnitikesh/rest-registration
a04f4cf643766d3844e7a63e0616157d1c1f1e9a
0578589f6cb9b9138fa5915395bf616de57eaf0b
refs/heads/main
2023-02-18T12:32:40.392439
2021-01-21T23:55:23
2021-01-21T23:55:23
331,453,447
0
0
null
null
null
null
UTF-8
Python
false
false
575
py
from django.urls import path from . import views from rest_framework.routers import DefaultRouter urlpatterns = [ path('category/', views.CategoryListView.as_view(), name = 'category-list'), path('category/<int:pk>/', views.CategoryDetailView.as_view(), name = 'category-detail'), path('product/', views.P...
[ "vnitikesh@gmail.com" ]
vnitikesh@gmail.com
42cb4acff470deea4ca9e3b4cc937a546a964c39
dc75ed733ecd023aebc2989c1f956ca575bd9e14
/load_testing/mixed_tomcat.py
2828e6f44380488c2e1649f73646d64b6a838316
[]
no_license
deven810/Web-Projects
fd5e9f1e5fd9c348f4731219052e6f680638e311
4e8cc3f889d95bf3a37513291da50bae7a704918
refs/heads/master
2020-04-17T04:55:20.054883
2018-12-05T22:38:29
2018-12-05T22:38:29
166,253,027
0
0
null
null
null
null
UTF-8
Python
false
false
870
py
# mixed_tomcat.py import sys, random from locust import HttpLocust, TaskSet def readRequest(locust): postid = random.randint(1, 500) locust.client.get('/editor/post?action=open&username=cs144&postid='+str(postid), name='/editor/post?action=open') def writeRequest(locust): postid = random.randint(1, 500) ...
[ "devenagrawal.810@gmail.com" ]
devenagrawal.810@gmail.com
6eb0d30982c51c95fe8b185a70ce7a5e912cdd20
2da72c9f9bbb0b5db33710cddbdee28503e5a606
/UCI/pyQT-matplot-example 2.py
0228e2bce7c9d982c2ca7970f732c4860c0e6cc5
[]
no_license
gddickinson/python_code
2e71fb22b929cb26c2a1456b11dc515af048c441
dbb20e171fb556e122350fb40e12cc76adbb9a66
refs/heads/master
2022-10-26T15:20:40.709820
2022-10-11T16:06:27
2022-10-11T16:06:27
44,060,963
0
0
null
null
null
null
UTF-8
Python
false
false
1,689
py
# -*- coding: utf-8 -*- """ Created on Thu Jul 23 16:50:19 2015 @author: George """ import sys from PyQt4 import QtGui from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas from matplotlib import NavigationToolbar2QTAgg as NavigationToolbar import matplotlib.pyplot as plt import random c...
[ "george.dickinson@gmail.com" ]
george.dickinson@gmail.com
4212426d83cef5a31b6993b1859aa096f5a86957
c7bb490ef96fda51a946478a4f584814e1665a6a
/backend/urls.py
06c33f1ea3c2e43ed3c886400d353b67ec87d687
[]
no_license
pawanpaudel93/motion-planning-dashboard
e70acc9737cdedf0fd0beac0a0700cc88f9c2559
642f5955d518747dfc14f1f22a93ef20784329d8
refs/heads/master
2023-03-11T14:33:31.643898
2021-02-28T11:26:16
2021-02-28T11:26:16
340,398,506
0
0
null
null
null
null
UTF-8
Python
false
false
528
py
"""MPD URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ """ from django.contrib import admin from django.urls import path, include, re_path from rest_framework import routers from .api import urls as api_urls fro...
[ "pawanpaudel93@gmail.com" ]
pawanpaudel93@gmail.com
4f2d80280f1710eb34ef81a47bbccef522f62c15
af5f6d99a23711725ccf0431a62ca37b96acccf3
/manage.py
0b1d71a459fa7ee0fc39cd93cffd8801fdc5a6cf
[ "MIT" ]
permissive
nimowairimu/Django-IP1
daa58f53c1d94e7d1d8dcbbead081be506c75343
0def901a0a2f34f644ed42bd4d1c8f883743cffe
refs/heads/main
2023-03-23T17:21:50.203551
2021-03-23T17:23:30
2021-03-23T17:23:30
348,981,975
0
0
null
null
null
null
UTF-8
Python
false
false
540
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "vetdaily.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Are...
[ "nimowairimu25@gmail.com" ]
nimowairimu25@gmail.com
a90e5a8ba7a2476925946904b9c73c06d09cfda9
e7c8bcd6156956123c0ffcd1e3603e8b0ba0fcf8
/tickTacToe.py
0da1e458ef3a0aadf53bbbd2573513c697c80919
[]
no_license
flow0787/python
421efa9c3541d618778e2f7cd3f3aceed946ee6e
38a995568c10ff31c516d85877cb9b0ad9596a3a
refs/heads/master
2020-04-06T06:55:46.278080
2020-02-12T08:32:32
2020-02-12T08:32:32
63,419,040
1
0
null
null
null
null
UTF-8
Python
false
false
598
py
theBoard = {"topL": " ", "topM": " ", "topR": " ", "midL": " ", "midM": " ", "midR": " ", "lowL": " ", "lowM": " ", "lowR": " "} def printBoard(board): print(board['topL'] + '|' + board['topM'] + '|' + board['topR']) print('-+-+-') print(board['midL'] + '|' + board['midM'] + '|' + board['midR']) print('-+-+-...
[ "badeaflorien@gmail.com" ]
badeaflorien@gmail.com
e8c4c60a57463e9f15f1b88dd4eda1629eea2dfc
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/2JHYavYqynX8ZCmMG_5.py
f3bd9ad800ee0f88625397c941672c01b7288b50
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
126
py
def ascii_sort(lst): if sum([ord(x) for x in lst[0]]) <= sum([ord(x) for x in lst[1]]): return lst[0] return lst[1]
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
258e2deac675e627b1e12054d8f0b720e887f41f
aa0fc44d694f2b971bbda827c755296faa44d86f
/test/py2neo/index_test.py
f253623c2f494e062c1e5909427d941f1080a0bb
[ "Apache-2.0" ]
permissive
fugu13/py2neo
8f6a5065883c7eb96bb0d32c45bce2a9533d19a5
d3fa87199b51b554d1d04c7334d1bc7b887f7273
refs/heads/master
2021-01-17T04:52:58.719996
2012-08-01T20:44:43
2012-08-01T20:44:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,211
py
#/usr/bin/env python # -*- coding: utf-8 -*- import sys PY3K = sys.version_info[0] >= 3 __author__ = "Nigel Small <py2neo@nigelsmall.org>" __copyright__ = "Copyright 2011 Nigel Small" __license__ = "Apache License, Version 2.0" from py2neo import neo4j import unittest def default_graph_db(): return neo4j...
[ "nigel@nigelsmall.name" ]
nigel@nigelsmall.name
cd4f12206ec91523ba27cb33a771f3673c839cd1
cc129db64fc64d1cb9a99526583771c10e245deb
/tests/test_det_next_michigan_development_corporation.py
da9a98ab1e31ab67be68a83440ae713aa016e955
[ "MIT" ]
permissive
avelosa/city-scrapers-det
a42df36b7d2e98f7be68ae17e22c03af7a20280c
964b941b67fb5113cda5e2bebd2ba288ac1422d7
refs/heads/main
2023-02-02T01:19:07.396737
2020-09-29T16:52:11
2020-09-29T16:52:11
300,441,174
1
0
MIT
2020-10-01T22:30:23
2020-10-01T22:30:22
null
UTF-8
Python
false
false
4,826
py
from datetime import datetime from os.path import dirname, join import pytest import scrapy from city_scrapers_core.constants import BOARD, PASSED, TENTATIVE from city_scrapers_core.utils import file_response from freezegun import freeze_time from scrapy.settings import Settings from city_scrapers.spiders.det_next_mi...
[ "pjsier@gmail.com" ]
pjsier@gmail.com
4c54b23822c77598fc8746f24f4c1bf18cdad087
d9fb6c246965cbf290186268298859ddb913ee6e
/190813/03_mod.py
3a21a5da1950eb762f029d3aa591e49c9be98f49
[]
no_license
91hongppie/algorithm
1ca6d54de6eab252c708bf83835ace8a109d73fc
4c2fa8178e0ef7afbf0b736387f05cbada72f95d
refs/heads/master
2020-07-20T22:17:40.700366
2020-06-29T00:06:11
2020-06-29T00:06:11
206,717,677
1
0
null
null
null
null
UTF-8
Python
false
false
375
py
import sys sys.stdin = open('sample_input_03.txt', 'r') N = int(input()) for i in range(1, N+1): play = list(map(int, input().split())) test_words = [[] for i in range(play[0])] for j in range(play[0]): test_words[j] = list(map(str, input())) for m in range(play[0]): for n in range(pl...
[ "91hongppie@gmail.com" ]
91hongppie@gmail.com
929d4cbe14e60aaf7683f78e7b8e87aa8cf4d89d
a2490d50c85bc8385cdda1e2eaf88f02951dc808
/client/verta/verta/_protos/public/modeldb/metadata/MetadataService_pb2.py
f7435b6df5e8379dcdef0246f8e30430db6a2fe6
[ "Apache-2.0" ]
permissive
Atharex/modeldb
2e379bc87df054dc5c1a9058620aef8a3ada9108
3a286d5861c1dd14342084793dd7d7584ff8a29b
refs/heads/master
2022-11-08T09:23:37.799241
2020-07-01T12:16:31
2020-07-01T12:16:31
275,455,778
0
0
Apache-2.0
2020-06-27T21:26:05
2020-06-27T21:26:05
null
UTF-8
Python
false
true
16,824
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: modeldb/metadata/MetadataService.proto from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import sym...
[ "noreply@github.com" ]
Atharex.noreply@github.com
91503fa1a7ffe5118597d43b74f8c1563b6bdca6
b4c164c9c6f91badb305bae23246ab0c5ba5fcbe
/Problem Set 3/Motion.py
3d2b43cec29e675115eb800b8faf2a7e42d0d3c2
[]
no_license
KhrulSergey/AI_Robotics_Udacity
e2b25a5b9d752b2daaa5195b7b487738aae83231
ff41e877f2af87348de8a0d44bc8f51ea29523f8
refs/heads/master
2021-04-26T22:31:06.456066
2019-03-30T20:33:49
2019-03-30T20:34:20
124,104,643
0
0
null
null
null
null
UTF-8
Python
false
false
7,159
py
# ----------------- # USER INSTRUCTIONS # # Write a function in the class robot called move() # # that takes self and a motion vector (this # motion vector contains a steering* angle and a # distance) as input and returns an instance of the class # robot with the appropriate x, y, and orientation # for the given motion...
[ "siberianodis@gmail.com" ]
siberianodis@gmail.com
966163ac218a00e186e1835d56634756e84143fb
cf72eced416ae5fee75e194b4da7728a00520c54
/Chapter12SpreadSheetCellInverter.py
1c1fd68ab2760d6d47d1bc1f4deba4c7b1928ea9
[]
no_license
spencercorwin/automate-the-boring-stuff-answers
ed08080ec3c38a5cc84510e13995cb3cb95d5809
e564658ae702672670e17c2989a58d75b9110d32
refs/heads/master
2021-09-19T02:50:39.541981
2018-07-22T22:09:13
2018-07-22T22:09:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
702
py
#! usr/bin/env python3 #Chapter 12 Challenge - Spreadsheet Cell Inverter #This program inverts the row and column of cells in a spreadsheet import os, openpyxl, pprint os.chdir('/Users/spencercorwin/Desktop') wb = openpyxl.load_workbook('testFile.xlsx') sheet = wb.active resultSheet = wb.create_sheet(index=2, title...
[ "noreply@github.com" ]
spencercorwin.noreply@github.com
4ac613dc87fb37cf7e557918be4a06f39615bb70
c3b5e412fd9479c046c09c251dd0688a4fec6130
/solver.py
f360ff7d89db5f41f308259d807e7c2f16ec6ff5
[]
no_license
Pazaak/NaoPickUp
edb45f8d4dbf392d0a4737c3d9e91b2dfd00b2a6
417a20e344fa57272a1481810571287a18c864a4
refs/heads/master
2020-05-20T00:48:28.326318
2015-07-08T08:21:03
2015-07-08T08:21:03
36,508,390
0
0
null
null
null
null
UTF-8
Python
false
false
7,804
py
__author__ = 'Luis Fabregues de los Santos' import heapq as heap import copy import math infty = float('inf') def distance_2d(x1, y1, x2, y2): x = x1 - x2 y = y1 - y2 return math.sqrt(x*x+y*y) def value(list, robots, target): result = 0 for path in xrange(len(list)): for i in xrange(le...
[ "aggalem@gmail.com" ]
aggalem@gmail.com
bd1236dee44cc218e34f71aa057ce6aeaae640d8
4f365fbdfd4701c3a294dfba17c1377d4eb369d8
/jinja2htmlcompress.py
507c7509a9a3a8418fcb4ce187fb21809e76fc26
[ "BSD-3-Clause" ]
permissive
Orvillar/jinja2-htmlcompress
4e725f9b6ceb6f327d4247d7dab6f55d344039ea
b34dc409762aaf205ccd59e37ad4b3dc5331904d
refs/heads/master
2020-04-07T16:06:54.607802
2018-11-21T08:31:21
2018-11-21T08:31:21
158,515,466
0
0
NOASSERTION
2018-11-21T08:29:20
2018-11-21T08:29:19
null
UTF-8
Python
false
false
6,354
py
# -*- coding: utf-8 -*- """ jinja2htmlcompress ~~~~~~~~~~~~~~~~~~ A Jinja2 extension that eliminates useless whitespace at template compilation time without extra overhead. :copyright: (c) 2011 by Armin Ronacher. :license: BSD, see LICENSE for more details. """ import re from jinja2.ext import...
[ "armin.ronacher@active-4.com" ]
armin.ronacher@active-4.com
99b49fca33ce2929cfd1a125527e1ee432ccfad4
42d58ba3005263744a04e6eb6e5a7e550b4eef29
/Day2_Tip_Calculator.py
b63dca6d2e892a1ae8ef34186a247a15cec8473e
[]
no_license
ShaneNelsonCodes/100Days_Python
8828ccfba0873084316f46bc98a53c603de452ae
4cea2ba5fe0459a4676c7d164b5402dd244ff11b
refs/heads/main
2023-02-12T14:01:10.726683
2021-01-12T13:59:04
2021-01-12T13:59:04
317,283,355
0
0
null
null
null
null
UTF-8
Python
false
false
571
py
#If the bill was $150.00, split between 5 people, with 12% tip. #Each person should pay (150.00 / 5) * 1.12 = 33.6 #Format the result to 2 decimal places = 33.60 #Tip: You might need to do some research in Google to figure out how to do this. print("Welcome to the tip calculator\n") bill = float(input("What was the t...
[ "Shane.Nelson@kp.org" ]
Shane.Nelson@kp.org
c13f2224b2a218046e61fc2c3ce17a06270f3028
d6a030dfacb63fcb7ede3b1ed97dd723e5aab478
/plotfio.py
fad2a7454bd7ff152db230d88500db0c26b49071
[]
no_license
ahlfors/FIO-scripts
0adabf2ffc164de67b7757aeb7ed6a4eb999b711
b8fcb4998d3516606da965f421a6f6f3c8957dc2
refs/heads/master
2023-03-16T14:53:40.037181
2019-03-18T19:32:32
2019-03-18T19:32:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,417
py
#!/usr/bin/env python3 import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import numpy as np import csv, argparse matplotlib.use('Agg') parser = argparse.ArgumentParser() parser.add_argument('-f', dest="files", type=str, nargs='+', required=True, help='The out.txt files') parser.add_argument('-...
[ "batsarasnikos@gmail.com" ]
batsarasnikos@gmail.com
4f9561b6707673dd54e154e177dcfd3d25aebf98
3d276b170ed2255e8cee3b05fca4c6f75ef5eaae
/Consective-evens/solutionB.py
3028f13b47118968e7dfa7109a1f3575ac7ff28e
[]
no_license
xdatageek/math_and_physics
0db5a9e86c54bc7355cb6b0c47189f5de5b097ba
5f1fafce9995c3be6ee02a5f0f4d8c45358e234e
refs/heads/main
2023-02-09T19:00:01.665490
2021-01-02T04:37:35
2021-01-02T04:37:35
324,129,536
0
0
null
null
null
null
UTF-8
Python
false
false
316
py
f = open('input.txt', 'r') next(f) A = [int(i) for i in f.readline().split()] for k in range(int(f.readline())): c = f.readline().split() c1 = int(c[1]) c2 = int(c[2]) if c[0] == '1': S = 0 for j in range(c1, c2+1): S += A[j] print(S) else: A[c1] = c2
[ "noreply@github.com" ]
xdatageek.noreply@github.com
97cb339e8b6bfc2cd89e1ed0be47bb4f41d910d8
1feffdfcdc376ce007d64c911ebbe31826bf217e
/Core/CoreEngine.py
9100c47f796a722de061abd7fb2c2871a97ad97e
[]
no_license
Zaladar/rpgmotor
1c3bfae5c332351b0d69559575ebe5a8cd2fdc55
dccc84f73008132be18a2a9c389d02d68b14b28d
refs/heads/master
2020-12-30T11:38:56.071865
2017-10-20T12:32:47
2017-10-20T12:32:47
91,575,795
0
0
null
null
null
null
UTF-8
Python
false
false
4,185
py
#1 standard livraries from random import * #2 Third party #3 Local dices = {} class Dice: def __init__(self, name, sides, mod): self.name = name self.sides = int(sides) self.mod = int (mod) # här borde finnas decorator som kan applicera mod def rolling(self, t): #printout ...
[ "oscarjwhaglund@gmail.com" ]
oscarjwhaglund@gmail.com
f832144531d3e829e3b9637112237b07b3bc34c5
290e0f86fd9cd2881e82b44a308beb1b7f657fb7
/assistant_utils.py
577de88ddc415bc0298dcd7c491b48e2555c4adb
[]
no_license
essalj/ai_assistant
0d2696a90a3a29e28461f95abec6fb8685298f1c
5a592b86015a8e0fc6ea961eeddf1b885dbe900d
refs/heads/main
2023-04-22T21:57:22.568114
2021-04-25T12:45:20
2021-04-25T12:45:20
325,210,808
0
0
null
null
null
null
UTF-8
Python
false
false
261
py
import pyautogui #screen_shot(file_name) def screen_shot(file_name): screenshot = pyautogui.screenshot() file_name = file_name + ".png" screenshot.save(file_name) print("file saved here: " + file_name) #screen_shot("test_fil")
[ "noreply@github.com" ]
essalj.noreply@github.com
e195f2cada6fd440c8ec551ec4c3ca40c8efe9b4
f0af90e1a5e9cd73682a42f0295574d70450c62e
/test.py
a4640244851e505dad79503dd608447c9eebf3f1
[]
no_license
k3ch-jo/mocha
9c4899e1157ad547b60c5e86c6587b9f4e917899
4142da6dd12a866d3d82f0e311c023f00fed83a7
refs/heads/main
2022-12-23T08:37:37.497990
2020-10-05T07:38:03
2020-10-05T07:38:03
301,324,930
0
0
null
2020-10-05T07:38:04
2020-10-05T07:21:42
Python
UTF-8
Python
false
false
44
py
#says goodmorning print("Good Morning")
[ "noreply@github.com" ]
k3ch-jo.noreply@github.com
e2072af249848ec0134b8e52255016c3d1ed8c07
6270ed787bfa3080975ce4f0a27a733b391f4f84
/22Septembre.py
1adf9ba336df6550b653abf92fdcb14a6d3712dd
[]
no_license
lucasdavid47/IPT_Sup
b6a8aec625e32903af1704f95f356205e6d43ba4
72ee4fa79c8b5f305cbe82d72d5161d6da32e86d
refs/heads/master
2023-01-07T19:04:15.092690
2020-11-04T07:10:05
2020-11-04T07:10:05
294,027,099
0
0
null
null
null
null
UTF-8
Python
false
false
563
py
#Somme A=[] B=[] n =len(A) #nombre de lignes de A C=[] for i in range(0, n): L=[] for j in range(0, n): L.append(A[i][j]+B[i][j]) C.append(L) for x in C: print(x) #affichage ligne par ligne de C #Produit n = len(A) D=[] for i in range(0, n): L=[] for j in range(0, n): S=0 ...
[ "lucas.david44000@gmail.com" ]
lucas.david44000@gmail.com
803d74d1d4c3dd4a3fb7412c178cd596d5ac7f41
2f3278709d2409a4a20b7f79d31dfed43aac6557
/LiTS_Decide_Preprocessing/TumorNetAvgpoolRelu.py
893eb9d11c26f76fac1a4be2dec161ac10e44d82
[]
no_license
HaoW14/Preprocess-of-CT-data
8678ff749c644a0881d8305d6c6b51d8bf87912a
811d95f28c11abc2b4b0305806397602ab4d51ba
refs/heads/master
2022-12-28T01:02:39.929089
2020-10-18T10:31:27
2020-10-18T10:31:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,773
py
# TumorNet without source; Downsample by pooling; activation is relu # Which can use transfer lerning directly import torch from torch import nn import numpy as np import SimpleITK as sitk from medpy import metric def saved_preprocessed(savedImg,origin,direction,xyz_thickness,saved_name): origin = tuple(k.item() for ...
[ "lihuiyu23@gmail.com" ]
lihuiyu23@gmail.com
637aebc9dc0ee30985a63efc692a3f892fbed308
c6f9a46393048add6fad888d382978b9be12dd4c
/python/ql/test/experimental/dataflow/strange-pointsto-interaction-investigation/src/urandom_problem.py
d4a06529cf60991084b7d954d234703134c192b9
[ "MIT", "LicenseRef-scancode-python-cwi", "LicenseRef-scancode-other-copyleft", "GPL-1.0-or-later", "LicenseRef-scancode-free-unknown", "Python-2.0" ]
permissive
luchua-bc/ql
6e9480e8c92cbb12570fcc7f65366bfdd54dad06
a1d9228a66cb80329041fa8d95b08ce5697dec54
refs/heads/master
2023-01-23T17:11:54.776916
2022-07-20T14:36:37
2022-07-20T14:36:37
248,313,302
4
0
MIT
2023-01-16T09:13:30
2020-03-18T18:35:48
CodeQL
UTF-8
Python
false
false
920
py
# These are defined so that we can evaluate the test code. NONSOURCE = "not a source" SOURCE = "source" def is_source(x): return x == "source" or x == b"source" or x == 42 or x == 42.0 or x == 42j def SINK(x): if is_source(x): print("OK") else: print("Unexpected flow", x) def SINK_F(x)...
[ "rasmuswl@github.com" ]
rasmuswl@github.com
cc878c320008f8db66aa030c2f2f6bc3e205a9cc
6d1728bf105a7d6481d0bbca2b88f4478e0632d9
/study/ch1/area.py
1a498690da37f4f891110371603717db2e529035
[]
no_license
Phantomn/Python
00c63aceb2d4aa0db71fe5e33fe8b5159b41aadd
12808adf4b52c60cfe94befb6daa1e8187224beb
refs/heads/Python
2022-11-09T16:49:49.165884
2019-08-05T07:30:07
2019-08-05T07:30:07
44,149,995
0
0
null
null
null
null
UTF-8
Python
false
false
191
py
horizon=0 vertical=0 print("Input horizon length : ", end="") horizon=int(input()) print("Input vertical length : ",end="") vertical=int(input()) print("rectangle is %d."%(horizon*vertical))
[ "tmdvyr123@naver.com" ]
tmdvyr123@naver.com
bd8527aee37e224f869349bec2f6fb2bdadc1d5b
a140fe192fd643ce556fa34bf2f84ddbdb97f091
/.history/예외처리_20200709144804.py
9b8a16ecb397905296a8e33b88abcd084eadb309
[]
no_license
sangha0719/py-practice
826f13cb422ef43992a69f822b9f04c2cb6d4815
6d71ce64bf91cc3bccee81378577d84ba9d9c121
refs/heads/master
2023-03-13T04:40:55.883279
2021-02-25T12:02:04
2021-02-25T12:02:04
342,230,484
0
0
null
null
null
null
UTF-8
Python
false
false
223
py
try: print("나누기 전용 계산기입니다.") num1 = int(input("첫 번째 숫자를 입력하세요 : ")) num2 = int(input("두 번째 숫자를 입력하세요 : ")) print("{0} / {1} = {2}".format(n))
[ "sangha0719@gmail.com" ]
sangha0719@gmail.com
803d49b2b49af27d2ac57b3a4e8ff335cdd579a8
c96eab97976aa7fa60320d8b7de74f5148c7bf25
/edf/g1997.py
02cd9c1f7ee960c1bd6fc5b13dd077532754084c
[]
no_license
alexis-roche/scripts
869eb9063e8b31a0e13284aeb777cc152f822f02
aaae389a3fa5a0c6ff619034bdc5825a5f77a995
refs/heads/master
2021-01-02T23:07:33.730063
2012-05-08T06:59:06
2012-05-08T06:59:06
1,047,301
0
0
null
null
null
null
UTF-8
Python
false
false
2,019
py
from game import Game g1997 = [] # g = Game('22 Jan 1997','portugal','f','away',2,0) g.players = ['barthez','thuram','blanc','desailly','laigle','karembeu', 'deschamps','zidane','ba','dugarry','pires'] g.subs = ['ngotty','djorkaeff','loko','blondeau'] g1997.append(g) # g = Game('26 Feb 1997','netherl...
[ "alexis.roche@gmail.com" ]
alexis.roche@gmail.com
0f983bfba296e9069d60f2ce24011761d28fcdc7
fcfc18039d05878f6156536a6757832a3576147b
/Final_Project_Code_IS590PR_Functions.py
47773ad62be23389aa8a872651a9c749d91fc25a
[]
no_license
rahulrohri/IS590PR-Spring-2020-Final-Project
76fa6d8a0a56e39c155a0cc718ce0f06bd14d225
f101cb2ceacf83c3e24fb07f63e5456497e8d116
refs/heads/master
2022-07-07T12:51:07.558538
2020-05-13T11:45:13
2020-05-13T11:45:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
22,195
py
""" IS590 PR - University of Illinois - Urbana Champaign This file is a list of functions that have been used for our project and are Intended to support the jupyter notebook titled Final_Project_Code_IS590PR.ipynb Name: NYC_Public_Safety_Functions.py Team Members : Megha Manglani (GitHub id – meghamm2) Rahul Ohri (G...
[ "noreply@github.com" ]
rahulrohri.noreply@github.com
6b9e64cf6ae66302800054f71df69a98d2400cb1
44754d4b76b59c91ec700e4b07fc7c20930eedd2
/app.py
3a5cc4daa936e681a3271a060c3939094f3e2ce7
[ "MIT" ]
permissive
ghostcat404/simple_ml_model
f18b8e18a06b30ffc46e7b709473a6793f2ff335
0a65fb4a376d1781d356dbcedd5335f3d6803ab1
refs/heads/master
2023-06-10T18:30:07.288304
2021-06-17T23:39:57
2021-06-17T23:39:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,539
py
import logging import argparse from textwrap import dedent import mlflow from sklearn.pipeline import Pipeline from dotenv import load_dotenv from utils import ModelMapper, DatasetMapper, save_model, get_model_params # TODO: дописать применение модели def run_train(args): if args.params_path is not None: ...
[ "aechesnov@yandex.ru" ]
aechesnov@yandex.ru
c03e0187f206d06f07e5771f3ff8b322dcdba6cf
ce387fc31007f0616b6f2805bf998ae5f6288224
/qubole_assembly/configure_airflow.py
aa05c8e46596fa8911dbf9ea0464dd358c76d091
[ "Apache-2.0", "BSD-3-Clause", "MIT", "Python-2.0" ]
permissive
harishjami1382/test2
d3466604209377e899a239c4f29446ffef06684e
f778cc7290904a84bed06f65fa5dbb49a63639f0
refs/heads/master
2023-02-25T18:44:21.114158
2021-02-04T10:19:50
2021-02-04T10:19:50
335,915,900
0
0
null
null
null
null
UTF-8
Python
false
false
8,826
py
try: import ConfigParser except: import configparser as ConfigParser import traceback import sys import os from optparse import OptionParser import base64 import subprocess def handle_specific_config(overrides_map, options): # Handle sqlalchemy settings use_cluster_datastore = False core_settings...
[ "jami.harish@accolite.com" ]
jami.harish@accolite.com
66c605b31758d9dc44858b8868ef503970bdaba6
4ea7855ef54e1a62df5d25aa30acfc564c676ab9
/catalog/tests/test_models.py
dae7890e4f8af49e7b195ea6714413e628481aa5
[ "CC0-1.0" ]
permissive
Novel-Public-Health/Novel-Public-Health
00282b9d3801494f7fc25f5f44c33070fa119bef
fbb7dd0da64ae4fc9641097ca8056152129bd83b
refs/heads/main
2023-04-29T19:27:51.440301
2021-05-07T03:42:10
2021-05-07T03:42:10
337,804,511
0
0
null
null
null
null
UTF-8
Python
false
false
3,617
py
from django.test import TestCase # Create your tests here. from catalog.models import Director, Genre, Language, Movie, Profile class DirectorModelTest(TestCase): @classmethod def setUpTestData(cls): # Set up non-modified objects used by all test methods. Director.objects.create(name='Big B...
[ "haleau@live.unc.edu" ]
haleau@live.unc.edu
8f1d3b33b6976f1a8d134f8df6ee8b3eb067f5b5
2ecc0f925df105282b5c725d5441f73ff7bf8317
/py31파일처리/py31_17_encrypt.py
5bf5c6f4f34a9da7baec6fa9c9b436b956584c32
[]
no_license
anhduong2020/anhduong3202
8ed8e7cd7782fb7eec507d4abbbac7f64576a65b
e06e27d8dd56130fc66271f1013de61ceea89335
refs/heads/master
2021-01-13T20:09:02.994695
2020-03-15T09:08:22
2020-03-15T09:08:22
242,481,004
0
0
null
null
null
null
UTF-8
Python
false
false
168
py
key = "abcdefghijklmnopqrstuvwxyz" # 평문을 받아서 암호화하고 암호문을 반환한다. # 암호문을 받아서 복호화하고 평문을 반환한다.
[ "hdfj@naver.com" ]
hdfj@naver.com
0bc44e39ed3c0411a6484900df8dc4ccda28fa3a
67b0379a12a60e9f26232b81047de3470c4a9ff9
/profile/migrations/0042_auto_20170225_1639.py
6f002bfd9f51f8ca97ff8153953db520d0afe6e9
[]
no_license
vintkor/whitemandarin
8ea9022b889fac718e0858873a07c586cf8da729
5afcfc5eef1bb1cc2febf519b04a4819a7b9648f
refs/heads/master
2021-05-06T03:35:09.367375
2017-12-20T15:43:08
2017-12-20T15:43:08
114,904,110
0
0
null
null
null
null
UTF-8
Python
false
false
565
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2017-02-25 14:39 from __future__ import unicode_literals import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('profile', '0041_auto_20170217_1405'), ...
[ "alkv84@yandex.ru" ]
alkv84@yandex.ru
c1f3f5ba64a7e7a7306a3bb2c2820a4dbb6a892e
5a7b38ee398e4f63a26b2ec2f6fa1efbce025264
/api/src/dao/commentDao.py
64c4f0711be9c2461c689cf2af8510d641966f97
[]
no_license
AJarombek/saints-xctf-api
f1e361bfc762dcc197cbc78b2b41f7cff18919b5
c2812089ec0351fd72ef7b1581a48bc55d65fd0e
refs/heads/main
2023-02-09T11:50:04.698394
2023-01-29T18:52:33
2023-01-29T18:52:33
190,956,043
5
2
null
2023-01-22T23:04:10
2019-06-09T02:35:46
Python
UTF-8
Python
false
false
6,225
py
""" Comment data access from the SaintsXCTF MySQL database. Contains comments posted on exercise logs. Author: Andrew Jarombek Date: 7/3/2019 """ from datetime import datetime from sqlalchemy import desc from database import db from dao.basicDao import BasicDao from model.Comment import Comment class CommentDao: ...
[ "ajarombek95@gmail.com" ]
ajarombek95@gmail.com
68bda07db08e3d6b58a8cbb0bf86ce63b584f900
5a1f77b71892745656ec9a47e58a078a49eb787f
/4_Backwoods_Forest/140-A_Fine_Mint/fine_mint.py
f17553bc8c35e99e05fe9b3bbd9916adfeaa85f8
[ "MIT" ]
permissive
ripssr/Code-Combat
78776e7e67c033d131e699dfeffb72ca09fd798e
fbda1ac0ae4a2e2cbfce21492a2caec8098f1bef
refs/heads/master
2020-06-11T20:17:59.817187
2019-07-21T09:46:04
2019-07-21T09:46:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
338
py
def pickUpCoin(): coin = hero.findNearestItem() if coin: hero.moveXY(coin.pos.x, coin.pos.y) def attackEnemy(): enemy = hero.findNearestEnemy() if enemy: if hero.isReady("cleave"): hero.cleave(enemy) else: hero.attack(enemy) while True: attackEnemy()...
[ "katik.hello@gmail.com" ]
katik.hello@gmail.com
ab90b58745ab3cc097586354bf150248a81ee6f9
6938ecea830f45abbef0218fa33be5ab21986eca
/ucpe/bcm_controller/bcm_controller.py
af406abae3955b4333e7333c1c19c771b0721204
[]
no_license
AnEscapist/sdn-orchestrator
16ea20d8cdcd817990bd34da071b03451a2cf3dd
f242bb2ab42864cde9f0bafb1a92acbb33173b24
refs/heads/master
2020-07-01T09:22:29.835594
2019-08-11T19:46:44
2019-08-11T19:46:44
201,121,197
0
0
null
null
null
null
UTF-8
Python
false
false
4,367
py
from inspect import signature, Parameter from ucpe.bcm_controller.utils import get_caller_function_name import ucpe.bcm_controller.grpc.autobcm_pb2 as autobcm_pb2 import ucpe.bcm_controller.grpc.autobcm_pb2_grpc as autobcm_pb2_grpc import grpc hostname = "10.10.81.250:50051" class BCMController: @staticmethod...
[ "azhang307@gatech.edu" ]
azhang307@gatech.edu
203c4c5c65469b178d194de6b85feec2a5037e9a
129941a1fb7c0bbd9969f0dd8843b057ce9f3666
/VAJets/PKUTreeMaker/test/Wcrab/crab3_analysismu.py
09dc3efeef0cc17499456da57454ef8dcc335da1
[]
no_license
PKUHEPEWK/VBS_WGamma
7cf43f136dd92777ab7a8a742c163e222b1f4dbf
0f94abb2d4303b1c08d62971a74f25b100cbe042
refs/heads/master
2020-03-25T04:36:21.119377
2019-07-15T02:56:32
2019-07-15T02:56:32
143,404,007
0
4
null
null
null
null
UTF-8
Python
false
false
1,416
py
from WMCore.Configuration import Configuration config = Configuration() config.section_("General") config.General.requestName = 'SMu16B-v1' config.General.transferLogs = True config.section_("JobType") config.JobType.pluginName = 'Analysis' config.JobType.inputFiles =['Summer16_23Sep2016BCDV4_DATA_L1FastJet_AK4PFch...
[ "jiexiao@pku.edu.cn" ]
jiexiao@pku.edu.cn
57154970bf889cb5ae8637e4d25670f1909939ea
1213a0cc401365556d488913693cde54281ef350
/backup_fully_working_with_sensor/ai.py
5f272f3508088f2185990cc42d95d0cc93923477
[]
no_license
mkhetan/session10_endgame_exp
188adf0a8dae15f7603cc40fdc3b2dc9de1d0424
e6cd6066697c95825708f264f77a123622e10d5b
refs/heads/master
2022-07-15T22:04:31.604956
2020-05-12T05:19:33
2020-05-12T05:19:33
261,933,766
0
0
null
null
null
null
UTF-8
Python
false
false
8,067
py
# AI for Self Driving Car # Importing the libraries import numpy as np import random import os import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim import torch.autograd as autograd from torch.autograd import Variable # Creating the architecture of the Neural Network class ...
[ "mkhetan@extremenetworks.com" ]
mkhetan@extremenetworks.com
62a61d7f251b2dd796c2a0864e338c6272236b1a
87828431072e3c60a92dc274b078d7cf1e5705be
/back_python/account/migrations/0001_initial.py
34d3acacd2cf509d472797922ba4727ed9535d39
[]
no_license
cash2one/habit
90adfd80427a0c0d04104ea5cf8123cf025b2d8b
3782e498e1e40d6b638aaf2c7c1ac087c0739a36
refs/heads/master
2021-01-19T12:32:51.627847
2017-04-11T15:41:28
2017-04-11T15:41:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,302
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-01-25 08:49 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('activity', '0013_auto_20170125_1649'), ...
[ "jiangyong@qq.com" ]
jiangyong@qq.com
72e87ff5fac87b45a4fbe10d20bbd6dc95907e38
242ebcb7220c2e16c141a6bea4a09c7cb5e4287d
/accounts/forms.py
83f3c4a31f7b0a3a43e78a73a2980318f2d55c71
[]
no_license
olivx/estudos_crud
06ed8c269a4c36db3579daf6d6aef5e7d49dc5f9
24af031ed44a7c6cf567368556d368fe58ab1090
refs/heads/master
2021-01-11T09:28:49.355388
2017-03-03T15:17:25
2017-03-03T15:17:25
81,199,807
0
0
null
null
null
null
UTF-8
Python
false
false
3,126
py
from django import forms from django.contrib.auth import authenticate from accounts.models import User from django.utils.translation import ugettext_lazy as _ class RegisterForm(forms.ModelForm): password1 = forms.CharField(max_length=30, widget=forms.PasswordInput, required=True) password2 = forms.CharField...
[ "oliveiravicente.net@gmail.com" ]
oliveiravicente.net@gmail.com
ddeca087ba585f1d6f5c7bf63b5f45edb6aef713
0fee9fa700f769b8fbdbe0549d4b518a4a84b66e
/node/image_predict/image_predict2.py
b3bd45bb143b4f919421a68b3a6a414f33851551
[]
no_license
KoGaYoung/2019_Capstone-design
c885b7fd31abf92cad303e26746eb310d5093a65
00e9815600157bb2f452a09f5e0c300a73deaf0b
refs/heads/master
2020-09-15T17:45:41.785488
2020-04-27T14:46:46
2020-04-27T14:46:46
223,519,294
2
3
null
2019-11-23T02:31:13
2019-11-23T02:31:12
null
UTF-8
Python
false
false
2,128
py
import matplotlib import numpy as np import os from PIL import Image from keras.preprocessing.image import ImageDataGenerator import operator from keras.models import load_model from keras.preprocessing import image import base64 import ast import sys def recommand(predictions, class_dict): # Recommend top 3 p...
[ "4723515@naver.com" ]
4723515@naver.com
fd8b43d4911e377665daaa891b42fdc5fbbe6787
bff728cca48292af65e6c14ca942ba92f0161f0f
/wiki_search.py
9354460dac59f44ecdc1dba005eb13e21b9eff58
[]
no_license
enriched-uranium235/chatbot
1520a68d2084c4b4b61136ce9da167786a5878d8
e95f6dde49dc684b93b4f95ad8da085b95840dd3
refs/heads/master
2023-02-20T05:18:25.807488
2021-01-06T07:43:52
2021-01-06T07:43:52
327,227,824
0
0
null
null
null
null
UTF-8
Python
false
false
840
py
import wikipedia def wikipediaSearch(search_text): response_string = "" wikipedia.set_lang("ja") search_response = wikipedia.search(search_text) if not search_response: response_string = "その単語は登録されていません。" return response_string try: wiki_page = wikipedia.page(search_response[0]) except Exception as e: re...
[ "hexanitrobenzene@gmail.com" ]
hexanitrobenzene@gmail.com
a7b174b85eba3c6f121e88eb9985de14f93428b9
14ac991bba2eb7d59a1d76db792b7689316f8060
/leetcode/00179.py
2097fd3046480dd7c91a1af857c955626b82b82d
[]
no_license
munagekar/cp
bde88fa565a7e2158ebe0f2611c4718a3d2970f1
c25d29f68943e3721233e177abe13068e5f40e4b
refs/heads/master
2021-07-04T05:00:02.511874
2021-05-30T14:30:05
2021-05-30T14:30:05
240,286,072
0
0
null
null
null
null
UTF-8
Python
false
false
382
py
from itertools import zip_longest from functools import cmp_to_key def cmp(a, b): if a + b > b + a: return 1 else: return -1 class Solution: def largestNumber(self, nums: List[int]) -> str: nums = map(str, nums) nums = sorted(nums, key=cmp_to_key(cmp), reverse=True) ...
[ "avm.abhishek@gmail.com" ]
avm.abhishek@gmail.com
674c893b5c3d74c716ca8d94e1128a7f82ceea42
fbf22c2f482f47d45f1ddd024cc2a12236c25dbe
/transfer/lib/gitCom.py
146f8682c71806418ebca2a3ee96da78ba44e153
[]
no_license
LofOWL/Jupyter-code-tracker
3068e7e71ad9ecc43e8118257434b00fdb0cb9d9
2cdf55dc3d7f7f697ae57fe7661b23150b1a5edf
refs/heads/master
2022-02-18T05:25:51.427151
2022-02-13T22:03:38
2022-02-13T22:03:38
234,213,419
0
0
null
null
null
null
UTF-8
Python
false
false
729
py
import os import subprocess class git: def __init__(self,path): print(path) os.chdir(path) self.path = path self.ipynb_commit = "git log --pretty=%H --follow *.ipynb" self.commit_name_status = "" self.commit_parent = "" def set_commit_name_status(self,commit): ...
[ "jeffersonjjin@gmail.com" ]
jeffersonjjin@gmail.com
bf5bf6f46c12b9cda5cfa83050001a0e72113069
79e45fa0e495be5aa967b21467771a27970df99b
/178.py
c1be11f9ea4f1241ffac13ed1324ae98de88788d
[]
no_license
kisa77/Crawl
7d3b6d7077e60a47f5336b2976b226646cfe2cdb
ec25b563007481b169165f06ca04560d64a1ea74
refs/heads/master
2016-09-02T11:19:14.152200
2013-07-16T10:12:09
2013-07-16T10:12:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,896
py
#/usr/bin/python #coding=utf8 import urllib2,urlparse import os,sys,bs4,chardet,MySQLdb import re from datetime import datetime from HTMLParser import HTMLParser class Crawl: """ Class Crawl crawl data from db.178.com """ __data = '' __connect = '' __retryMax = 3 def __init__(self): self...
[ "lixiao@comsenz.com" ]
lixiao@comsenz.com
dcd252960a1b08665c15f551c29bd9f9aacd0218
1abd12b1de8c92b5d6fa251544892d7f55c45ab1
/MA-ConceptMining/inout/inputoutput.py
f0b680c5d5d92aadea071a5aaf8dc7cc3a01eedc
[ "MIT" ]
permissive
johannabi/MA-ConceptMining
fddd0511b71f664605e10ce33dad29055ba1239e
5c257c234ee86ef10f3b358f623f342aa829df54
refs/heads/master
2023-07-15T15:22:02.003888
2021-08-30T09:58:33
2021-08-30T09:58:33
246,010,367
1
0
null
null
null
null
UTF-8
Python
false
false
3,476
py
import sqlite3 as sql import re import csv def read_file_by_line(file): """ reads a text file line by line :param file: path to file :return: list of all lines """ word_list = list() with open(file, mode='r', encoding='utf-8') as f: for line in f: line = line.strip() ...
[ "jbinnewitt@gmail.com" ]
jbinnewitt@gmail.com
1cd644fe4370089fe5cf86ae2fc2d3fa316e8e2e
e629d61db2f08f66cf46d934ab0f87fa1666de05
/backend/lively_heart_25130/urls.py
5c32c3d6b9e17dce8e7eb899ed0a90b4b5455ae7
[]
no_license
crowdbotics-apps/lively-heart-25130
ec80559da8d6b168df1ce75415c5d6b916c97ee1
ed33785297cbb8f794034de1bc3c7fb81bdbe048
refs/heads/master
2023-03-24T16:57:41.146127
2021-03-19T21:41:18
2021-03-19T21:41:18
349,561,856
0
0
null
null
null
null
UTF-8
Python
false
false
2,235
py
"""lively_heart_25130 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/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') ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
ef679fa89caf7d38e7aa2766c74680ff885e8be4
ae9bb7babce2a0349ae932985cf418a03057c670
/ProgramAndDataStructure/list/__init__.py
50e5397d5291650f1e1f4a4e99a244b430ba0f89
[]
no_license
Veraun/HogwartsSDET17-1
d2592fcb4c9c63724c19bcf9edde349ebcd2c8af
6648dbfb640b065ff2c76cb6889a8f9e4f124b91
refs/heads/main
2023-07-02T05:20:32.161248
2021-08-06T03:55:13
2021-08-06T03:55:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
157
py
''' #!/usr/bin/python3 # -*- coding: utf-8 -*- @author: wangwei @project: HogwartsSDET17 @file: __init__.py.py @time: 2021/5/20 19:54 @Email: Warron.Wang '''
[ "wei1.wang@ximalaya.com" ]
wei1.wang@ximalaya.com