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
aecb50d16e4b98d83419ea535baee6629c26a325
8060b19318440ff2fbd728afd9435d4b5a3f1da6
/code/metadata/build_nodelist.py
ae79eb7f27e1ed301c80a478032048397612d20c
[]
no_license
Irallia/IZW-HU-Parasites
dae82db2600a96bdce7cffb228c07cdc6dde5226
b0d70f671fa489ba132e2cffb81ff6d6fc431fe5
refs/heads/master
2021-01-25T08:13:18.646633
2018-05-20T20:25:51
2018-05-20T20:25:51
93,733,091
4
3
null
2018-03-21T13:36:06
2017-06-08T09:43:17
TeX
UTF-8
Python
false
false
4,547
py
import csv import datetime import sys from code.utilities.Helpers import print_time from code.utilities.nodelist_util import read_tags, tag_node from time import gmtime, strftime from Bio import Phylo from termcolor import colored # path_freelivings = "./data/interaction_data/reduced_freelivings.csv" # path_parasites...
[ "irallia@chrigelyra.de" ]
irallia@chrigelyra.de
b7b979b04b0a3ebb22cfc3527178b9ed7832184d
e104a337a1e3ced474511d258645109641aca01d
/movie/views.py
71f002084a1d9a6d4d76757bebb7e17068740b8b
[]
no_license
mjkya/MovieVersity
3be879faa68ce6855cc8e935723a50f7b5ed790f
7eede648bb9d8bb8108c780feb513bfc8884bc89
refs/heads/master
2020-05-19T10:51:18.997948
2019-09-01T06:32:26
2019-09-01T06:32:26
184,977,534
0
0
null
null
null
null
UTF-8
Python
false
false
1,015
py
from django.shortcuts import render,redirect from django.views.generic import ListView, DetailView from django.views.generic.edit import CreateView, UpdateView, DeleteView # Create your views here. from .models import Movie from django.urls import reverse_lazy from .parser import parse_movie def movie(request): re...
[ "noreply@github.com" ]
mjkya.noreply@github.com
0ee27c2b6c2029409b39052286ba40d81a836616
d3efc82dfa61fb82e47c82d52c838b38b076084c
/Autocase_Result/SjShHBJJMM/YW_HBJJMM_SHSJ_067.py
4cb90cd9223c79893514c907a5e29a58cc20a03f
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
3,142
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys sys.path.append("/home/yhl2/workspace/xtp_test/xtp/api") from xtp_test_case import * sys.path.append("/home/yhl2/workspace/xtp_test/service") from ServiceConfig import * from log import * sys.path.append("/home/yhl2/workspace/xtp_test/MoneyFund/moneyfundservice") ...
[ "418033945@qq.com" ]
418033945@qq.com
6a08c2f08d79f432c3bf319defed10312a65bde4
3501c13c0465b6a4a333840243b583710dbeb959
/kodēšana.py
48b2a7a204b83790edb1610465ad2a5f88ac9fcf
[]
no_license
DaigaSarkane/RTR105
e5032330fe42e08c925013ccc815118bfd23b7cc
13a619bc8e61938758643be95b163fb58c6758ad
refs/heads/master
2020-03-28T03:24:01.695389
2019-05-03T08:46:25
2019-05-03T08:46:25
147,642,367
0
1
null
null
null
null
UTF-8
Python
false
false
2,205
py
Python 2.7.12 (default, Dec 4 2017, 14:50:18) [GCC 5.4.0 20160609] on linux2 Type "copyright", "credits" or "license()" for more information. >>> original = "To be or not to be" >>> type(original) <type 'str'> >>> len(original) 18 >>> original[0] 'T' >>> original[1] 'o' >>> original[2] ' ' >>> original[18] Traceback...
[ "daiga.sarkane1@gmail.com" ]
daiga.sarkane1@gmail.com
1c5c459904e78434ad22ecd6cb261de1f2c29f83
4c378e60497ce892f5c25cbe7d6fc439124141ea
/solutions/226. Invert Binary Tree.py
96d9017e0473c9f2cd4b047c540206dea030ce6d
[]
no_license
udhavsethi/play
8008369d4c582f6db33a5737a3d9d68e5afc38c3
885d5b6e0a05051554fb61eb501a44a785098f3a
refs/heads/master
2021-11-27T11:40:52.847607
2021-11-23T18:49:40
2021-11-23T18:49:40
147,461,456
1
0
null
null
null
null
UTF-8
Python
false
false
441
py
# Definition for a binary tree node. # class TreeNode: #     def __init__(self, val=0, left=None, right=None): #         self.val = val #         self.left = left #         self.right = right class Solution:    def invertTree(self, root: Optional[TreeNode]) -> Optional[TreeNode]:        if root:            root.left...
[ "udhavsethi@users.noreply.github.com" ]
udhavsethi@users.noreply.github.com
ca9384417c7381029549dc4cefe6c3c2371e83ab
9547ba5d65029c7eb3975d888bc1c5579bd455c2
/Spark-DF-Sql/10-AggregationsDemo/AggDemo.py
e8ad9a72a4caf8bdd34de50850b03aef84c65224
[]
no_license
vinayavs/spark2-python
53ebd2769525eca2e3727cb171fd43de87fd9d84
bba1eedd232bd0ea3d1ac72293475d561326c1a4
refs/heads/main
2023-04-08T15:29:25.391387
2021-04-06T07:32:34
2021-04-06T07:32:34
352,007,568
0
0
null
null
null
null
UTF-8
Python
false
false
1,708
py
from pyspark.sql import SparkSession from pyspark.sql import functions as f from lib.logger import Log4J if __name__ == '__main__': spark = SparkSession.builder.master("local[2]").appName("Aggregations Demo") \ .config("spark.sql.shuffle.partitions", 2) \ .getOrCreate() logger = Log4J(spark) ...
[ "vinayavs@gmail.com" ]
vinayavs@gmail.com
8664746b874b28b034fc07228953772e842c71df
392b644e8be2bdd5cb0e2656483786a7ce6c1ef9
/setup.py
ffbe34a51be9405e0e1d23e19a09f3910435ace8
[ "Apache-2.0", "LicenseRef-scancode-generic-cla", "Python-2.0" ]
permissive
pandrey76/python_client
67287b41a826ed6c2c1c5b87f30582261e35777c
3b8a8ca471dbb2178687e7febbf216f81b49fcca
refs/heads/master
2022-04-12T15:29:49.863787
2020-02-13T03:31:08
2020-02-13T03:31:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,811
py
#!/usr/bin/env python """ setup.py file for GridDB python client """ from distutils.command.build import build try: from setuptools import setup, Extension except ImportError: from distutils.core import setup, Extension try: with open('README.rst') as f: readme = f.read() except IOError: rea...
[ "katsuhiko.nonomura@griddb.org" ]
katsuhiko.nonomura@griddb.org
1df207e3ac0e742b82e1992b634d3bbf48dbfbe2
70331cc864c44a3f30883d40073f048d1a5a8e3f
/main.py
69d7007bdd8659110ec9a209219a24a98be176d3
[]
no_license
rmar6544/Day-7-Hangman-3-Start
5c0f310925b8ba4b3f87db019c7f25e94865cfd8
ea538f6cff8433bc9ee90c32794593c938d8a4e5
refs/heads/master
2023-04-04T23:43:08.966646
2021-04-07T23:06:28
2021-04-07T23:06:28
355,696,406
0
0
null
null
null
null
UTF-8
Python
false
false
971
py
#Step 3 import random word_list = ["aardvark", "baboon", "camel"] chosen_word = random.choice(word_list) word_length = len(chosen_word) #Testing code print(f'Pssst, the solution is {chosen_word}.') #Create blanks display = [] for _ in range(word_length): display += "_" #TODO-1: - Use a while loop to let the use...
[ "" ]
0e65d65def490ae82f7776d64b2d70c86abf7d55
b838b2ecce195d1293b0ff485b3d76bc0adb5d70
/st36/Film.py
1b7fe8b7ddd61874118e09afd00ffd4cf7fdb2cb
[]
no_license
BelyaevaSveta/ASM.17.Lab1
e4d37c8b7600cf3f7bf787dd396678315b19d57d
ee20998877a4e511a778a7afd52cb977b55aa2f5
refs/heads/master
2021-05-07T04:52:05.904334
2017-11-28T10:30:42
2017-11-28T10:30:42
111,489,081
0
0
null
2017-11-21T02:36:19
2017-11-21T02:36:19
null
UTF-8
Python
false
false
1,363
py
from .Actor import Actor import pickle class Film: def __init__(self): self.enter_film_name() self.actors = {} def enter_film_name(self): self.film_name = input('Enter new film name: ') def print_film_name(self): print('Film name is %s' % self.film_name) def print_al...
[ "noreply@github.com" ]
BelyaevaSveta.noreply@github.com
dffede7cbbfa98929853b8241f6a1e945007f560
e5fb2d912415c302221604126afa7cbbb0a039c0
/keras_gym/policies/test_special.py
d19afe8e363fc4399127c8f76a179ab42414bef4
[ "MIT" ]
permissive
KristianHolsheimer/keras-gym
fc034025a1180b1124fe1a25886b54088d2f3552
0296ddcc8685e1ce732c3173caaa0fd25af9ef58
refs/heads/master
2021-06-28T21:57:50.122753
2020-09-30T04:29:15
2020-09-30T04:29:15
174,637,157
17
5
MIT
2019-08-02T22:48:41
2019-03-09T02:09:03
Python
UTF-8
Python
false
false
1,012
py
from gym.envs.toy_text.frozen_lake import FrozenLakeEnv, RIGHT, DOWN from .special import UserInputPolicy class MockInputFunction: def __init__(self, return_value=None): self.return_value = return_value self._orig_input_fn = __builtins__['input'] def _mock_input_fn(self, prompt): pri...
[ "kristian.holsheimer@gmail.com" ]
kristian.holsheimer@gmail.com
ad0df481b83aad3cb9398d08e94d900100182e33
1db17195776328739b465902f6bf2d53bff0f9ac
/logs/2021-09-08-11-39-20/ricequant.py
24df136b934372a0a551256e7528110b92791d25
[]
no_license
eulancer/convertible_bond
01f56d3d318dd7343e2547b3c6a1ad184c25880d
2778fb5ee2c0145758565e5cfe83392a879d429b
refs/heads/main
2023-07-28T22:43:45.553292
2021-09-18T09:16:40
2021-09-18T09:16:40
407,878,522
1
0
null
2021-09-18T14:12:34
2021-09-18T14:12:33
null
UTF-8
Python
false
false
5,808
py
# -*- coding: utf-8 -*- from datetime import date import rqdatac import pandas as pd def read_data(today): txn_day = rqdatac.get_previous_trading_date(today) df_all_instruments = rqdatac.convertible.all_instruments( txn_day).reset_index() df_latest_bond_price = rqdatac.get_price( df_all_in...
[ "paulhybryant@gmail.com" ]
paulhybryant@gmail.com
3084a00a20347e2a00d4110f699cde1dff559340
d1a5d8bdaf7c27daf3a5aebde84be7cefa371723
/dlc2_model_training (copy).py
115e631869346886b255211c96b48c7808389be2
[]
no_license
sambeettiady/dlc2_he
1c7b811f3294022edaeb59494a19731badfbf56d
c54d5365b742951524458b92d0b31b028f9e195d
refs/heads/master
2020-03-30T06:07:49.117344
2018-09-29T08:05:31
2018-09-29T08:05:31
150,840,718
0
0
null
null
null
null
UTF-8
Python
false
false
6,333
py
#Import image transformation packages import skimage from skimage import filters, io, exposure, color, segmentation, feature, morphology from skimage.feature import canny from scipy import ndimage as ndi from scipy import misc import skimage.transform as skt #Import required packages import numpy as np import pandas a...
[ "noreply@github.com" ]
sambeettiady.noreply@github.com
097439d4e5e15a04cbe777f77fd0434256fd16d1
a61ca7b89ef5817b2027239ece9dd175f776c8f3
/rcsb/app/chem/LogFilterUtils.py
86c6b9113eaef1e38f51a767d80d66d89057586c
[ "Apache-2.0" ]
permissive
rcsb/py-rcsb_app_chem
7da2941f6e0d0f8ff0f5a802a3edb689d283659b
64ca10e6ccf8b604fa3d16ab72406408b22c0aca
refs/heads/master
2023-08-17T21:33:51.660687
2023-01-09T17:30:07
2023-01-09T17:30:07
245,858,180
0
0
Apache-2.0
2023-01-09T17:30:08
2020-03-08T17:31:37
Python
UTF-8
Python
false
false
866
py
## # File: LogFilterUtils.py # Date: 29-Jun-2020 jdw # # Pre-filter for Gunicorn/Uvicorn health check requests - ## # pylint: disable=E1101 import logging logger = logging.getLogger(__name__) class HealthCheckFilter(logging.Filter): def filter(self, record): return record.getMessage().find("/healthcheck"...
[ "john.westbrook@rcsb.org" ]
john.westbrook@rcsb.org
b739d2efc981f15f251d102759aa0a3696382421
975a3b8189fffde47256b52901bcce9b5d8b1001
/app.py
6e0e28db9d423cdf8e340b69678b4ee67aaaa5b4
[]
no_license
FrancisGKing/RedditToMessengerBot
f7db66e7b6b3150dd42473002ddd7eb11efc47df
25c4f09da5c5b456f88738b00cd6674bedb984ef
refs/heads/master
2020-04-17T03:39:27.733581
2019-01-17T09:09:19
2019-01-17T09:09:19
166,194,326
0
0
null
null
null
null
UTF-8
Python
false
false
6,438
py
from flask import Flask, request from flask_sqlalchemy import SQLAlchemy import json import requests import os import praw app = Flask(__name__) app.config['SQLALCHEMY_DATABASE_URI'] = os.environ['DATABASE_URL'] db = SQLAlchemy(app) reddit = praw.Reddit(client_id='QhZh0AZf4HlrXg', client_secret='g7vBRIAfYRFEBJtXr...
[ "francis.kingjr@gmail.com" ]
francis.kingjr@gmail.com
1fabea699593b6f7717d53f0a54019114c626198
470c55bca410969d772593c5b0cc7f63fc97354f
/compiler/tools/conf.py
3fb06ce1918cb2e16b6a819e5802c9294f1a0a41
[ "BSD-2-Clause" ]
permissive
knz/restcrumbs
b19fd250a021f1b77c25a48c7163204d4021381d
494ea1fc5788b0ec8823e0000607da4187c39986
refs/heads/master
2016-08-08T15:22:52.301680
2011-02-28T18:38:56
2011-02-28T18:38:56
1,422,383
0
0
null
null
null
null
UTF-8
Python
false
false
6,928
py
# -*- coding: utf-8 -*- # # Blah documentation build configuration file, created by # sphinx-quickstart on Tue Nov 9 10:40:39 2010. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All co...
[ "r.c.poss@uva.nl" ]
r.c.poss@uva.nl
26288ab26b891bd354d684ad66484d83d8fb746a
bf0b7643d9d9f83ea2820df9847a11cf52c8a5bc
/app/models.py
a9b6171b3936f4c683ccee0846d8cfc24309bd39
[]
no_license
ducknessman/dust
269851e4f420e01da14247565d65deff7c7c2a17
5dad23fd39aa5302f2e17dd286beca7b82446fcc
refs/heads/master
2023-05-11T07:44:23.914855
2020-08-17T12:30:45
2020-08-17T12:30:45
259,030,166
2
1
null
2023-05-01T21:40:59
2020-04-26T12:54:17
CSS
UTF-8
Python
false
false
7,069
py
#!/usr/bin/env python #! -*-coding:utf-8 -*- #!@Author : zhuxx #!@time : 2020/05/06 19:04 from datetime import datetime from exts import db from werkzeug.security import generate_password_hash,check_password_hash # 用户表 class User(db.Model): ''' _password:对内密码 password:对外密码 ''' __tablename__ = 'us...
[ "1160154212@qq.com" ]
1160154212@qq.com
92cd077f58237f62504c76208cda5a489cb6ee9f
525252226b3c6b76fd0916084e9de7de9db2ae60
/backend/tests/test_gasfeed.py
d13ec3c809b000f2b5ee40bcdbc9ac1753047945
[]
no_license
james4388/gas-price
8215f429249d2985ea964eea6ea7e63b74faf7b8
3e380146a8698c84443bba2b11f3829710ad0e69
refs/heads/master
2022-12-02T14:17:15.893681
2020-08-06T05:29:25
2020-08-06T05:29:25
278,273,476
3
0
null
2020-07-15T18:17:16
2020-07-09T05:41:30
JavaScript
UTF-8
Python
false
false
1,221
py
from flask import url_for from tests import BaseTestCase from gasprice import config, create_app class GasFeedTestCase(BaseTestCase): def test_brands(self): with self.app.app_context(): resp = self.client.get( url_for( 'GasFeed.station_brands' ...
[ "nhutrinh@leafgroup.com" ]
nhutrinh@leafgroup.com
83da69b3ca2edaf7ca26891e03e9d0eafd7f5cb2
3cbf8706ea6655aad48d6bb0c34a4d7f5d6b2fdf
/depth/self_supervised_sfm/train.py
73671c45601f5f768f1fe3bf22a2e3a02d20caad
[ "MIT" ]
permissive
seo-dev/cvml_project
cf166f7aa513bdbc5b23941d8cb19b53bbdc400b
7c95ce22db6f31dc4624af9417edffde021b5351
refs/heads/master
2022-12-06T07:43:11.906512
2020-08-27T03:08:38
2020-08-27T03:08:38
290,434,881
1
0
MIT
2020-08-26T08:04:37
2020-08-26T08:04:36
null
UTF-8
Python
false
false
14,224
py
import argparse import datetime import os import tensorflow as tf from dataset import KittiSFMDataset from disparitynet import DisparityNet from posenet import PoseNet from utils import pixel_coord, ssim_loss, smooth_loss, bilinear_sampler, forwardproject, backproject, disp_to_depth parser = argparse.ArgumentParser(...
[ "daryl.tan@easymile.com" ]
daryl.tan@easymile.com
b696c2d48b27c31a6a2b374d40a31649b1a5774c
28d5b9d208a861703840837ad6302cd7e3f84d42
/process.py
87a80d181d435e34caf88251aacfe4543cab462d
[]
no_license
jagmeet787/Malicious-App-Detection
d4f5ee9b747d05799886483b157c62a15a94420b
c5925a36aafcbc60ccd30c69685220644652c34c
refs/heads/master
2020-05-14T17:58:33.647278
2019-04-18T18:26:04
2019-04-18T18:26:04
181,902,329
0
0
null
null
null
null
UTF-8
Python
false
false
1,421
py
import time from permissions import PermissionsResource from database import database from androwarn.warn.report.report import generate_report from androwarn.warn.analysis.analysis import perform_analysis from androwarn.warn.search.search import grab_application_package_name from androguard.misc import AnalyzeAPK ...
[ "jagmeet787@gmail.com" ]
jagmeet787@gmail.com
5da9adf25b89d369656bd244e97b7be62c895405
ce918cd9b23a4cd44861a8ba7448abac218c9761
/0x03-python-data_structures/11-delete_at.py
22abba5f9291ba9766a7213758d301401397b5fc
[]
no_license
adrielt07/holbertonschool-higher_level_programming
80318056730a5c1bea0e95f7308b1499fab93a22
adb04252e63ba714d2c65f25597778c89f6878a9
refs/heads/master
2020-03-09T14:48:29.225685
2018-10-07T00:48:45
2018-10-07T00:48:45
128,843,771
0
0
null
null
null
null
UTF-8
Python
false
false
157
py
#!/usr/bin/python3 def delete_at(my_list=[], idx=0): if idx < 0 or idx > len(my_list)-1: return my_list del my_list[idx] return my_list
[ "adrieltolentino@outlook.com" ]
adrieltolentino@outlook.com
3e0492db360ce01a76f540ff3bf14d2133ae8153
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_bogies.py
e575bb083362fdfd4e25d0bf21f424dc5070f88d
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
226
py
from xai.brain.wordbase.nouns._bogy import _BOGY #calss header class _BOGIES(_BOGY, ): def __init__(self,): _BOGY.__init__(self) self.name = "BOGIES" self.specie = 'nouns' self.basic = "bogy" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
a20070b324979ddb978268aa926e7c238120fb98
94354828fc025e091165d2a68d692d6645290140
/apps/user_operation/adminx.py
8e02327027feb7c3efba6a92eb832823ded15720
[]
no_license
simon-wxm/MxShop
02350944a9756887dcd4a95aebf8801fea6df54f
309b9e52b9e018b9ab5a7631492d59b280b085d6
refs/heads/master
2022-12-13T13:41:43.660462
2019-07-04T10:40:16
2019-07-04T10:40:16
191,779,173
0
0
null
2022-12-08T01:04:15
2019-06-13T14:31:42
JavaScript
UTF-8
Python
false
false
543
py
# coding = utf-8 import xadmin from .models import UserFav ,UserAddress,UserLeavingMessage class UserFavAdmin(object): list_display = ['user','goods','add_time'] class UserLeavingMessageAdmin(object): list_display = ['user','message_type','message','add_time'] class UserAddressAdmin(object): list_disp...
[ "wangxm5721@163.com" ]
wangxm5721@163.com
f496a31b97699a52d2a516cdc3c0651dbc0f2db5
ce68b4e79620f8209b22bb72f8896c9a7cc01698
/dis_train_week.py
3f6b93b0465af25304fb167aef7fb7d8d25cdf62
[]
no_license
ajithpad/Indian_railways
2eb82f093361ce891026e6d88a7adbcff75f76bc
f6d9d2908127e3f945180c95b47191d74949add9
refs/heads/master
2021-01-20T17:07:12.057935
2016-11-11T07:57:01
2016-11-11T07:57:01
62,805,963
0
0
null
null
null
null
UTF-8
Python
false
false
1,440
py
#Code to use bokeh to plot the distribution of trains for a given station across the week import pickle import numpy as np from bokeh.charts import Bar, output_file, show import pylab as pl import seaborn as sbn from bokeh import mpl as mpl from bokeh.io import output_notebook, show dis_trains = pickle.load(open("da...
[ "ajith.physics@gmail.com" ]
ajith.physics@gmail.com
ad050bdca9957e37be1ca71048282a0569e623be
736d1945173d89c0ba50d47e70a1e7ff7be9b432
/run.py
354a11aa27a4774879b9bd841f52cf9772f7169d
[]
no_license
cuglilong/Stacking_Algorithm
1ce0643eae94b4fe908ea9d035d8f2e5d42cbca5
dc0da245eb9db10576cc2ff56063ce99d4232001
refs/heads/master
2022-02-27T09:05:21.741039
2019-08-23T09:40:39
2019-08-23T09:40:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,189
py
import Stacker import Hawaii_Stacker import Stacker_Test import sys from obspy import read import pickle from numpy import random import numpy as np import clustering_scripts as cs import plotting_scripts as ps sys.path.append('./CCP_stacks/Plotting_Scripts') #import plot_CCP # Reading in file =sys.argv[1] print("R...
[ "mh826@syrma.esc.cam.ac.uk" ]
mh826@syrma.esc.cam.ac.uk
d5c3dd5a7e5b2f8332dda72ef2737f66f62832b9
4f35782ac42f1cc65581b6f21b7a80be8f0164cc
/resources/todo_item.py
86400c55f8c6821098187dc26050847564cb707d
[]
no_license
Rhemm/berry
2da3cb202040b130ff566a78f6fb98efac1cace4
0c908bc4cbbdf770ac8c5b66d0cbf2b115ac456b
refs/heads/master
2020-04-23T21:04:40.382398
2019-02-21T04:47:18
2019-02-21T04:47:18
171,459,013
0
0
null
null
null
null
UTF-8
Python
false
false
3,589
py
# -*- coding: utf-8 -*- # pylint: disable=R0201 """ Module providing todo item resource. """ from flask_restful import Resource from flask_restful.reqparse import RequestParser from flask_restful.inputs import date, boolean from bson import ObjectId from application import mongo from common.utils import validate_id ...
[ "yslfhe@gmail.com" ]
yslfhe@gmail.com
5264b881370b18425a4a90f409799984552d35c9
21cb4f3f52168e31484c6389a9a08772b78a992d
/basic/list1.py
7e6bb873cf62559d476044ed498561cfae6d2385
[ "MIT" ]
permissive
Riverfount/estudos
806f4592bf0f00fdc62c30ed04a7f61720d943fe
03e5339de23b9fc49a2e26174d0241e923adb580
refs/heads/master
2022-12-11T08:13:19.994566
2019-11-02T13:26:19
2019-11-02T13:26:19
87,834,875
0
0
MIT
2021-02-26T02:35:23
2017-04-10T16:46:49
HTML
UTF-8
Python
false
false
3,304
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 # Google's Python Class # http://code.google.com/edu/languages/google-python-class/ # Basic list exercises # Fill in the code for the functions below. main() is already set ...
[ "vicente.marcal@gmail.com" ]
vicente.marcal@gmail.com
8d6daaa7554f3704a12d3df4f8a956e1c910f1cc
027086eff4acaf865f0cf3786a2093f8f8088e46
/OpenCollegePro/module/Cluster.py
6a1b48260e9d250df6e117a7447bb8840767f33b
[]
no_license
pxz000git/OpenCollege
c44236b9987e762116f418b7fc209d2eb22d4b31
da7b0fffa1662a1affad0b5fca4b02246969e969
refs/heads/master
2021-05-03T11:18:55.362285
2018-03-06T04:06:04
2018-03-06T04:06:04
120,548,270
0
0
null
null
null
null
UTF-8
Python
false
false
970
py
#!/usr/bin/env python # _*_ coding:utf-8 _*_ # autho:pxz from pyspark.sql import SparkSession def spark_context(): spark = SparkSession \ .builder \ .appName("myApp") \ .config("spark.mongodb.input.uri", "mongodb://175.102.18.112:27018/OpenCollege_kw.art2vec_syn") \ .config("spark...
[ "pxz015@163.com" ]
pxz015@163.com
a4f8110f6f05523eaa4cf4d211ae35fa5e01ed6e
5f61a5738f7c253c3696eb78cb8fe8f448824733
/tests/unit/test_fixtures.py
b4da5a15c51ae33e2f68992a2b1f9f7864fca60a
[]
no_license
JuanBer/PyTestBook
8986779471a3598a068466a4bad60c7343e57b9a
6ef5843da58f3f7dd872527d8e5d23eb9a67cb23
refs/heads/master
2020-04-26T19:13:52.735648
2019-03-17T23:50:17
2019-03-17T23:50:17
173,767,366
0
0
null
null
null
null
UTF-8
Python
false
false
635
py
import pytest @pytest.fixture() def some_data(): """Return answer to last question""" return 42 @pytest.fixture() def some_other_data(): """Raise an exception from fixture.""" x = 43 assert x == 42 return x @pytest.fixture() def a_tuple(): """Returning something more interesting""" ...
[ "jm_bertoni@yahoo.com.ar" ]
jm_bertoni@yahoo.com.ar
fdb64336cf73e67d472705398ef382a50c520887
9b9a02657812ea0cb47db0ae411196f0e81c5152
/repoData/kushaldas-retask/allPythonContent.py
d19c699f3ba9cd5827f25619f2fb80dfe0dc8340
[]
no_license
aCoffeeYin/pyreco
cb42db94a3a5fc134356c9a2a738a063d0898572
0ac6653219c2701c13c508c5c4fc9bc3437eea06
refs/heads/master
2020-12-14T14:10:05.763693
2016-06-27T05:15:15
2016-06-27T05:15:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
29,401
py
__FILENAME__ = conf # -*- coding: utf-8 -*- # # retask documentation build configuration file, created by # sphinx-quickstart on Tue Jul 3 14:56:38 2012. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this #...
[ "dyangUCI@github.com" ]
dyangUCI@github.com
8ada09c41d2c212d35513c2278b4de86e8462604
1619eff6f62daf2109134cf49f1a1f8c4a45d639
/product/urls.py
eea12a79437bfc40a6f0fb188604935c3db8daec
[]
no_license
Loay159/esntls.co
aa92a4647cdecaa159f69b175aefa813c5af358d
5cafef4267e1bdf115c5a49a0fdf66580721a478
refs/heads/master
2023-08-03T10:12:27.188706
2021-09-23T09:15:01
2021-09-23T09:15:01
403,773,260
0
0
null
null
null
null
UTF-8
Python
false
false
811
py
from django.urls import path from .views import * from dynamic_rest.routers import DynamicRouter urlpatterns = [ # path('', ProductsAPI.as_view(), name='All_products'), # path('<int:id>', ProductItem.as_view(), name='specefic_products'), # path('category/<slug:category>', CategoryAPI.as_view(), name='Men_p...
[ "88399225+LoayAshraf@users.noreply.github.com" ]
88399225+LoayAshraf@users.noreply.github.com
1f5a4de9ed4c15d42484b3ef33e2021054fbd9b5
200896b4c28291d2019d14e1fa7bbdd68abdf47f
/modelv3.py
25c0ad0ed6bdb1832383cf5d355db28e119699cc
[]
no_license
danielhoadley/caselaw-classifier
0d382e7d8d65e00a9bce1428b983075aaf7bd997
f5714e5745a9c20e4a70dc6c7a6dc9af6dc6cc00
refs/heads/master
2021-05-04T14:38:30.397200
2018-02-04T17:24:37
2018-02-04T17:24:37
120,206,129
0
1
null
null
null
null
UTF-8
Python
false
false
3,568
py
import sklearn #from pprint import pprint import numpy as np from glob import glob from sklearn import datasets from sklearn.model_selection import train_test_split from sklearn.feature_extraction.text import CountVectorizer #from sklearn.naive_bayes import MultinomialNB from sklearn.feature_extraction.text import Tfid...
[ "noreply@github.com" ]
danielhoadley.noreply@github.com
937ca15e0fcc69c211f17b69de785760dbc1afb7
9e87897c988af634c3fddc42113992a65ec006f4
/sims/repfam_fs/test/metrics_v2.py
e6aeb826dec6e7fd91e6f424c75731b25e4345ea
[ "MIT" ]
permissive
luiarthur/cytof5
152eb06030785fdff90220f0d0a244a02204c2e9
6b4df5e9fd94bfd586e96579b8c618fdf6f913ed
refs/heads/master
2021-07-20T13:39:45.821597
2021-03-02T23:27:35
2021-03-02T23:27:35
145,253,611
1
0
null
null
null
null
UTF-8
Python
false
false
8,927
py
import collections import os import sys import re import matplotlib.pyplot as plt import numpy as np import pandas as pd import rcparams KTRUE = [4, 5] def parse_Rs(path_to_Rs_csv): Rs = pd.read_csv(path_to_Rs_csv).rename(columns=dict(mean='Mean')) return Rs def get_ks(results_dir): # Get dir names for e...
[ "luiarthur@gmail.com" ]
luiarthur@gmail.com
dd8c8a83f383e751d627d7bf77583460548b6891
edc73196fd98b01c380ae83696169d427778fe43
/ex15.py
ef807db295410f013fdebd23c5987af002716b0b
[]
no_license
floatingman/pythonthehardway
145773c130350cb26a88be8baca87489ad580047
ab89b119b186e06b090db1a138b858287b8ca3df
refs/heads/master
2020-03-27T16:53:17.359580
2018-09-18T21:55:50
2018-09-18T21:55:50
146,812,881
0
0
null
null
null
null
UTF-8
Python
false
false
242
py
from sys import argv script, filename = argv txt = open(filename) print("Here's your file %r:" % filename) print(txt.read()) print("Type the filename again:") file_again = input(">") txt_again = open(file_again) print(txt_again.read())
[ "dwnewman78@gmail.com" ]
dwnewman78@gmail.com
c304cc7227d2255c4dde942808b00c572699cabc
bbc35e3c7e35b5219e06027c1798ac36775305ff
/LeeCode/topic575/python/topic575.py
5dbedfc04f4cc9fa5df6110fa5aab30da4507267
[]
no_license
zabcdefghijklmnopqrstuvwxy/leecode
7f261dfde880f4755cf3b35b0ca08b36025cd5e9
35018a3e0506a77d425d0aff6a1c50bfa67afeaa
refs/heads/master
2023-03-07T06:27:51.292041
2023-02-26T03:50:34
2023-02-26T03:50:34
211,665,551
1
0
null
null
null
null
UTF-8
Python
false
false
168
py
class Solution: def distributeCandies(self, candies: List[int]) -> int: return len(set(candies)) if len(set(candies)) < len(candies)//2 else len(candies)//2
[ "sai14790085178@163.com" ]
sai14790085178@163.com
83275e5deed513d8e87891c2e7afdb10a3f39919
95588c0bb9861fd45a620512cfb798dd5cd4efab
/flask_qaq/forms.py
42d937b06fe2fa045ba96ad2b9979eca2e8d6806
[]
no_license
Nauman1971/flask_final_project
ddb5fb07023b7082933a747959098cec794a81ef
084f92242ee7ad1bb14e5fc56e9ed1d8eae2bb3a
refs/heads/master
2021-07-08T19:00:42.472388
2019-12-18T16:29:59
2019-12-18T16:29:59
228,384,907
0
0
null
2021-03-20T02:24:11
2019-12-16T12:41:32
HTML
UTF-8
Python
false
false
917
py
from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, SelectField from wtforms.validators import InputRequired, Length, Email from flask_wtf.file import FileField, FileRequired class SignupForm(FlaskForm): username = StringField('Name', validators=[InputRequired(), Length(min=4, max=15)]...
[ "nauman81007@gmail.com" ]
nauman81007@gmail.com
094154e1bdcc4fe286692401721c016cf778e4f5
2228333066709d365d4e59f7ea4e43fe0a2e8b37
/loja/migrations/0014_pedidos_quantidades.py
31ea459288fde4164c474e87e7ad365ec457e90a
[]
no_license
MathiasDias/paes_tania
759f159eb3411d4ed204413b3cddd3d9f2416a9b
13f24302689f8d9ede9e2675c52696f6db08a440
refs/heads/master
2023-01-24T05:00:01.889325
2020-12-09T16:14:16
2020-12-09T16:14:16
274,463,211
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
# Generated by Django 3.0.5 on 2020-07-02 17:58 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('loja', '0013_userprofile'), ] operations = [ migrations.AddField( model_name='pedidos', name='Quantidades', ...
[ "mathias.gadias@gmail.com" ]
mathias.gadias@gmail.com
9f944b69899522352c0060c3f4a975d4d14cda6d
cde99055d9b180e63e01e7230d142b0c83d74243
/index_calc_0.3.py
db8815b4b88f02e707ad3ef23bdab56629654f85
[]
no_license
ibobriakov/clickstream
bfbca5611fc9e5921fba6b765fbe01541ab262f4
7ac62c607dce1ff1cf8d5c05b68810f6bb0cb942
refs/heads/master
2021-01-25T12:14:18.330846
2014-06-25T06:52:20
2014-06-25T06:52:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,562
py
# coding: utf-8 # In[335]: import pandas as pd import fnmatch import os import numpy as np # In[336]: android = pd.DataFrame() itunes = pd.DataFrame() # In[337]: for file in os.listdir('.\data'): if fnmatch.fnmatch(file, '*android*.csv'): fname = "data\\" + file print "appending: " + fname ...
[ "bobriakov.igor@gmail.com" ]
bobriakov.igor@gmail.com
2e3fcba553d7bb1fd1bf38c8ca6fd92ca74e91d4
be862c96024320595afd7736605f94928be5f90d
/Crawler/私活/person_info.py
a8ea63dff59472dc088f8a2670225911586b8e2d
[]
no_license
SmasterZheng/leetcode
1b35b72efc6ea6add605d08b13d7abcffbdf05e8
11b33fcbab47969ebd0bfc2f41cb50a976881910
refs/heads/master
2023-04-24T14:45:53.285565
2021-05-15T06:52:29
2021-05-15T06:52:29
264,981,844
0
0
null
null
null
null
UTF-8
Python
false
false
13,091
py
# -*- coding: utf-8 -*- # @Time : 20201228 # @Author : zhengxz import requests import json from bs4 import BeautifulSoup import pandas as pd def get_html(): '''获取html''' headers = { 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-e...
[ "xiaozhangzxz@163.com" ]
xiaozhangzxz@163.com
1aab06356a5b872431d143f6f90ed5c62541a83c
fad681997737905b8f5f7be126cc74302069f503
/Sudoku/Solver.py
e666976f27ecb047863c371154c90555d271a4ca
[]
no_license
jerdytjandra/JerdyTjandra_ComputationalMathematics2018_FinalProject
f5766a6f988701c55d05a916b9972b6041a39dcd
b64eeb978d0f20120b526ee72323de9b865a48ee
refs/heads/master
2020-03-19T04:11:39.190755
2018-06-05T11:50:02
2018-06-05T11:50:02
135,804,010
0
0
null
null
null
null
UTF-8
Python
false
false
1,779
py
def find_empty_location(grid, current): for row in range(9): for col in range(9): if(grid[row][col][2] == 0): current[0] = row current[1] = col return True return False def used_in_row(grid, row , num): for i in range(9): ...
[ "noreply@github.com" ]
jerdytjandra.noreply@github.com
bb75ababe070a106b7be22792dee5606e5db1fff
129b47345fc9d0036cf0a3fd6bf9ed0d579d864b
/DataScience/Analytics/sandbox/addressLinkingML.py
32010a1f5382f23f07eee2f42caae4d9e272f437
[ "LicenseRef-scancode-proprietary-license", "MIT" ]
permissive
ONSdigital/address-index-data
75055c1bbb9427308bfda7506e1e5986e52d55e0
f14f8a22ed93e23436f43d47a897b895d81f82b0
refs/heads/develop
2023-08-17T23:24:40.017213
2023-08-15T09:49:00
2023-08-15T09:49:00
71,133,628
15
8
MIT
2023-08-15T09:49:02
2016-10-17T12:00:25
Python
UTF-8
Python
false
false
8,537
py
#!/usr/bin/env python """ ONS Address Index - Address Linking =================================== This script can be used to test which string distance metrics are more important for solving identifying correct matches. Running ------- After all requirements are satisfied, the script can be invoked using CPython in...
[ "Sami.Niemi@valtech.co.uk" ]
Sami.Niemi@valtech.co.uk
609b88845909ba5d98028e29508d62209ad9e6bd
33db7d03970bf12a2e15d256cc4b9b3f7773ca4d
/numsp.py
ffb1932214520ffcc82e6dc73882394f2c622108
[]
no_license
preethika2308/code-kata
7f57baeda030eebc4713519d9b94d0c8aafb91ec
6b9ef096bfb4d46055575af201813ca928b00118
refs/heads/master
2020-06-03T03:01:38.693920
2019-07-06T02:22:37
2019-07-06T02:22:37
191,408,292
0
2
null
null
null
null
UTF-8
Python
false
false
111
py
input_string = input() coun = 0 for s in input_string: if s.isdigit() == True: coun = coun + 1 print(coun)
[ "noreply@github.com" ]
preethika2308.noreply@github.com
ed5de0c4b11242dea29bd7aa8862a1c803564de6
d72547d817698b73949bf2ea79a0a1f1de180a33
/horse_racing/views.py
824607e4db80e1ee12329708967fc129c16280f1
[]
no_license
iuvei/horse-racing
383c19525069c0fb362026e91e12e7709ffc2da5
2cdfbdfe4608728f1efd0ab2d931ba41c6723d05
refs/heads/main
2023-06-16T08:33:40.685724
2021-07-09T13:06:21
2021-07-09T13:06:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,317
py
import string import datetime import random from django.conf import settings from django.http import JsonResponse from django.contrib import auth, messages from django.contrib.auth.models import User from django.shortcuts import render, redirect from django.views.decorators.csrf import csrf_exempt from django.contrib.a...
[ "elahifaiz00@gmail.com" ]
elahifaiz00@gmail.com
9273c39ec8598daef4fda559c0c6b1c84d56a0bf
29bb6f76bff9a9c40d5ca8176d94a5f57e331f0b
/backend/translations/migrations/0015_auto_20210616_1104.py
0b5169906dc44bf6ea37656dac0e79370fd2dca3
[]
no_license
zetkin/translators-interface
697f320ed3e7bf737ebbe2a7ef58ffdba6c245b1
efa525e76f36d05d7ee2ec10d17b679c97355ada
refs/heads/master
2023-06-05T09:27:40.923506
2021-06-28T11:31:47
2021-06-28T11:31:47
363,886,140
1
0
null
2021-06-28T11:31:48
2021-05-03T09:58:34
Python
UTF-8
Python
false
false
691
py
# Generated by Django 3.2 on 2021-06-16 09:04 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('translations', '0014_auto_20210611_1148'), ] operations = [ migrations.AddField( model_name='translation', name='delet...
[ "eribloodlust@grrlz.net" ]
eribloodlust@grrlz.net
814f03eadcaab69f52eefd4a56dbfdb84e3b45c7
298d6d0d1ccf5e376fb001a3f00a30a5e2dd82cf
/run.py
3aba6a757d44e46e7d4d1dc06d063b2c2c1dbf8e
[ "Apache-2.0" ]
permissive
srivastavaanuj11/Feedback-using-Pose-Estimation
4650b0ba1e7387e7bef5870c65285f646f4d3171
b6e019b6d2e1bd6aea72de6fa4bea649d6d8aef3
refs/heads/master
2022-09-13T07:28:26.939174
2020-05-28T19:04:07
2020-05-28T19:04:07
267,564,463
0
0
null
null
null
null
UTF-8
Python
false
false
3,648
py
import argparse import logging import sys import time from tf_pose import common import cv2 import numpy as np from tf_pose.estimator import TfPoseEstimator from tf_pose.networks import get_graph_path, model_wh import tensorflow as tf config = tf.ConfigProto() config.gpu_options.allow_growth = True session = tf.Sessio...
[ "noreply@github.com" ]
srivastavaanuj11.noreply@github.com
a2b54ee2f3628be86e3954e5c93eea54b2a128c6
4f66c3ee8707e8c85c8bf8ba15bb7ceb3fe00608
/literature/PlanckSZ2015.py
4e8cf69a704e36beff7220224e431d8f89bf1db1
[]
no_license
edoaltamura/xl-zooms
bed433b5c272ffc90261be3d65ab109861c056de
fa4634cb999c5867d0349567412f0df2e3926dbb
refs/heads/master
2023-06-24T23:41:27.419153
2021-07-27T18:12:08
2021-07-27T18:12:08
281,772,466
0
1
null
null
null
null
UTF-8
Python
false
false
5,428
py
import re import os import unyt import numpy as np from typing import List from matplotlib import pyplot as plt import itertools from .cosmology import Article, repository_dir comment = ( "Planck 2015 results. XXVII. The second Planck catalogue of Sunyaev-Zeldovich sources" ) class PlanckSZ2015(Article): f...
[ "38359901+edoaltamura@users.noreply.github.com" ]
38359901+edoaltamura@users.noreply.github.com
e05a1a54e6e39d37cc0f1f6579fe22cb3f50df22
d0ce596ce34a3ec8b3c20e6594dd4ad6ad321d53
/followunfollow.py
a5d51f00adb368a4421a5c942eafb5e6dc956db7
[]
no_license
scottyallen/instafan
6174077f2ddcfc6634d257da789c2e5669e7f1ec
a921c8a0cc7c8a129c2cd44ba2874d4251ea88e4
refs/heads/master
2021-01-12T08:02:23.888803
2016-12-22T08:31:53
2016-12-22T08:31:53
77,108,490
0
0
null
null
null
null
UTF-8
Python
false
false
2,476
py
import datetime import json import random import sys import time from selenium import webdriver import instagram import utils import gflags gflags.DEFINE_string('credentials', None, 'Login credentials. Filename for file with USERNAME= and PASSWORD= on separate lines') FLAGS = gflags.FLAGS def...
[ "scotty@scottyallen.com" ]
scotty@scottyallen.com
8ef9af340d5e228e081e4752208ca6f0fc86e61c
45284836ae85685226b1f1e3b83e207e184aee0e
/05_ProbabilityAndStatistics/01_ProbAndStatsInPython_Beginner/01_IntroductionToStatistics/11_MeasuresOfCentralTendency.py
f822187cd0dd31bf9867f58f1fd34ff63b9187d8
[]
no_license
gaurab123/DataQuest
5060efc3d3449e6e098cb77d7fed913516aabdbd
a9da9a90fab639d239340edfc7d0b2010edf2b35
refs/heads/master
2021-09-14T15:10:13.047034
2018-05-02T19:11:23
2018-05-02T19:11:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,400
py
print("this mission cannot be run locally as the data used is loaded \"behind the scenes\" and I really don't have access to it") import matplotlib.pyplot as plt # Let's put a line over our plot that shows the mean. # This is the same histogram we plotted for skew a few screens ago. plt.hist(test_scores_nor...
[ "kenneth.kite@gmail.com" ]
kenneth.kite@gmail.com
f6d7fbc403d0e1a6e8c96270631e6613f7065501
7f17c66a7bfdd93877af8f4d1f2dc377cc5ef5ff
/ceph_pool_plugin.py
0c7d2afbcfe8a233c786b8e2e608deb425fd7fd2
[]
no_license
ksingh7/ceph-collectd-plugin
4910b381b3854e66821b87d3d9a2472f5c6863cd
ebaa708769e02d79c9c9bf484d54abde345825a8
refs/heads/master
2020-12-25T13:44:53.294780
2016-06-04T00:31:36
2016-06-04T00:31:36
60,381,525
2
4
null
2017-06-06T16:18:29
2016-06-03T22:32:52
Python
UTF-8
Python
false
false
4,601
py
#!/usr/bin/env python # # vim: tabstop=4 shiftwidth=4 # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the # Free Software Foundation; only version 2 of the License is applicable. # # This program is distributed in the hope th...
[ "karan.singh731987@gmail.com" ]
karan.singh731987@gmail.com
7fa22c168188a99368332d49c68e039d9a147a2b
4c72e1817245404aeb7caa6be70bdbbacb574053
/exerciciosCev/Mundo 3/Aula 17/081.py
af84c8df260ba757c0503072626639af8d50d390
[]
no_license
Viniciusadm/Python
9b88e1dc626346661ac6a43fc5e9ca9d12fa6610
9ee066c99a0f0cbf00865cd82ea61b2464afa425
refs/heads/master
2021-09-25T15:31:04.159070
2021-09-16T02:28:47
2021-09-16T02:28:47
251,954,068
0
0
null
null
null
null
UTF-8
Python
false
false
715
py
numerosLista = [] cont = 0 while True: numerosLista.append(int(input('Digite um número: '))) resposta = str(input('Você deseja continuar? [S/N] ')).upper() if resposta == 'N': break numerosListaContrario = sorted(numerosLista, reverse = True) print(f'Você digitou {len(numerosLista)} elementos') p...
[ "viniciusam.22@gmail.com" ]
viniciusam.22@gmail.com
28256be21b3e08c5125a0dc883ce7faab4d88b3e
0731fefd8d3fec0a3ba76dcb69ebecf8c378a3a6
/GenerateArchimedesSpiralPoints.py
4848c6b3ef417cb0bf8b426d5807c6d95ec5fcfc
[ "MIT" ]
permissive
MrHuman22/Fusion360-Scripts
38ad46ad49dfdd419e53a8e18ec7932f30c87c6a
42dd8bd96fee5e395eba95dc27ca66ea3b374e46
refs/heads/master
2022-11-07T18:14:59.917355
2020-07-01T05:49:07
2020-07-01T05:49:07
276,012,177
0
0
null
null
null
null
UTF-8
Python
false
false
1,238
py
#Author-Peter Newman #Description-Generates an archemedes spiral import adsk.core, adsk.fusion, adsk.cam, traceback from math import cos, sin, pi def run(context): ui = None try: app = adsk.core.Application.get() ui = app.userInterface des = adsk.fusion.Design.cast(app.activeProduct) ...
[ "pwn394@newcastle.edu.au" ]
pwn394@newcastle.edu.au
8d0af377fef87addec5a8ec9aa2e107cf6ad9be6
af1c44a718c589ce40efd488adff9466f8d840f8
/Todos.py
28f9b5d4348ae828116504fc6f6b218e84f56333
[]
no_license
ErickdeMauleon/Mineria-en-Python
f5bef0720fc9039febca2df24e65f3755f916aee
e242a545f9a08463bee0817ea5517ede97700a98
refs/heads/master
2020-03-30T21:55:03.837349
2018-10-04T23:13:29
2018-10-04T23:13:29
151,646,248
0
0
null
null
null
null
UTF-8
Python
false
false
1,672
py
# -*- coding: utf-8 -*- """ Created on Thu Oct 4 17:37:24 2018 @author: Santillan """ import pandas as pd import numpy as np from sklearn.datasets import load_iris from sklearn.model_selection import GridSearchCV, train_test_split from sklearn.tree import DecisionTreeClassifier from sklearn.ensemble imp...
[ "noreply@github.com" ]
ErickdeMauleon.noreply@github.com
6d9ae5d1e897d019452dba963fae79bc1ac70972
94d006caa0abbfd2b4602f8698580af38bf6534d
/todo/models.py
dfe434060f7acbcd4e271e2d15727697646ce6de
[]
no_license
anas4488/django_todolist_freecodecamp
fc0e3b6bbd5fd6286ed91b761e62f4771d67b23f
441a0f28752bbee253fe5855c26a40abea955ee2
refs/heads/main
2023-04-01T11:48:57.624790
2021-04-12T06:14:31
2021-04-12T06:14:31
356,867,271
0
0
null
null
null
null
UTF-8
Python
false
false
178
py
from django.db import models # Create your models here class Todo(models.Model): title = models.CharField(max_length=1000) def __str__(self): return self.title
[ "anassayed63@gmail.com" ]
anassayed63@gmail.com
5be3582b173c7125710ef92297f6d65604214c6d
cd26139f73a1810e1ea19614cce09835a299d0ca
/kmeans_clustering/lemonade_code.py
519a319c193b70451684c1c18e493ec16d5081ed
[]
no_license
eubr-bigsea/Lemonade_apps
de8df4e764ba3c796296158b1bb679cc923e579c
193f0c6248c4cc74b1c53f6d05697c26b5617051
refs/heads/master
2021-01-12T06:14:48.372820
2017-06-25T21:40:14
2017-06-25T21:40:14
77,331,294
0
0
null
null
null
null
UTF-8
Python
false
false
7,490
py
# -*- coding: utf-8 -*- #!/usr/bin/env python # # Auto-generated Spark code from Lemonade Workflow # (c) Speed Labs - Departamento de Ciência da Computação # Universidade Federal de Minas Gerais # More information about Lemonade to be provided # import os import json import string import sys import time import uni...
[ "noreply@github.com" ]
eubr-bigsea.noreply@github.com
6f91a39f20fe34c6fdf4363fd8d49ff102161a40
7b6da2978e072a6658687eb7a1ac89fb9b87a83b
/ProjetoFinal _Jogo_Gafanhoto_Vermelho/main.py
741164b60eb4d9f9caa688b705f558b846384399
[]
no_license
ribeirolivia/Projetos
52fc6cb44a2a0e1e794acb84caccecb52c346a34
08b8c260374036b22305a23586d14d88e7a0ffb3
refs/heads/main
2023-06-23T08:07:38.431082
2021-07-20T22:28:39
2021-07-20T22:28:39
386,445,730
0
0
null
null
null
null
UTF-8
Python
false
false
102
py
# coding: utf-8 import Introducao Introducao.introducao() Introducao.menu_intro()
[ "noreply@github.com" ]
ribeirolivia.noreply@github.com
e8a9cbc0dc675c291596b8da02d4e99220ff8c24
70745034a4e117b643ee65db59f827ad1174cf53
/TensorFlow/convolutional_NN.py
c47d4eab5fe27915c522846b4a32a3557edec441
[]
no_license
mhichen/HandsOnML
45a33b7bffc2460006f3e1ff0a22df3663402fe4
bbdd242a546f1409a98737fc1150858963a73052
refs/heads/master
2020-03-15T14:51:43.966731
2018-05-24T00:43:35
2018-05-24T00:43:35
132,198,745
0
0
null
null
null
null
UTF-8
Python
false
false
1,092
py
#!/usr/bin/python3 import time import numpy as np import matplotlib import matplotlib.pyplot as plt import tensorflow as tf from sklearn.datasets import load_sample_images, load_sample_image if __name__ == "__main__": china = load_sample_image("china.jpg") flower = load_sample_image("flower.jpg") datase...
[ "mhichen@umich.edu" ]
mhichen@umich.edu
7ba35e17eca92a7be3abb0ee3e77b2ce98eda3bd
c4165e3e4da2c9981a9483fd8bda0721fd4f2b84
/src/main/google/LRU.py
164df7594bf5c62bafd8dc5c459d523b77f1ebbd
[]
no_license
tczhaodachuan/LeetCode
6cd1704651d6d25306a50c583a93202f27e487d2
df178fa4f97f163aa5890ec28094e6d655bfbc9a
refs/heads/master
2021-05-24T03:29:48.555117
2020-07-22T03:40:50
2020-07-22T03:40:50
73,576,097
1
0
null
2020-07-22T03:40:51
2016-11-12T20:16:58
Python
UTF-8
Python
false
false
1,392
py
class LRU(object): def __init__(self, capacity): self.capacity = capacity self.cache = dict() self.head = None self.end = None def get(self, key): if self.cache.has_key(key): node = self.cache.get(key) self.remove(node) self.setHead(no...
[ "tczhaodachuan@gmail.com" ]
tczhaodachuan@gmail.com
88a9307b7a34109f21a0c235a7127e3fb3b294b4
ddd190a024211ffaa42094ffa6ead4cfec6637c8
/spiders/some/test.py
f3610ebac21b227015bad71c309c4d7b1285f04a
[ "MIT" ]
permissive
goodking-bq/scrapy_workstation
82d0bb2996ddf23d915b5f58283be52fc63c0c3f
76a0897cbde417a7d07bbac9f42958f56109d0d1
refs/heads/master
2021-01-23T22:30:04.400939
2017-09-09T07:33:36
2017-09-09T07:33:36
102,935,231
0
0
null
null
null
null
UTF-8
Python
false
false
584
py
import requests print 'start' res = requests.post('http://www2.j32048downhostup9s.info/freeone/down.php', data={'type': 'torrent', 'id': 'OK18BZy', 'name': 'OK18BZy' }, headers={ "Content-Disposition": 'attachment...
[ "120225883@qq.com" ]
120225883@qq.com
e3d855b27a0237708ac51b2eaa0fc2658ab2ed91
21616c71bae82cbda2727788e049d163d1586884
/vfb_rest/vfb_rest/wsgi.py
d7dd5ee2d00e1fb9eb37f26d38b1d1804a4d025d
[]
no_license
VirtualFlyBrain/vfb_rest
25d263099596dd7281e8edfacd8b1eb6075c6e41
06959ca042c357bfe0082e4701cf024a8ac4b9f3
refs/heads/master
2023-07-06T14:29:23.381265
2021-03-24T15:56:59
2021-03-24T15:56:59
146,908,474
0
0
null
2023-09-06T02:23:00
2018-08-31T15:16:07
HTML
UTF-8
Python
false
false
393
py
""" WSGI config for vfb_rest 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.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETT...
[ "nicolas.matentzoglu@gmail.com" ]
nicolas.matentzoglu@gmail.com
7331e23f58cbfdb1cc393fe29479040421c5b479
f87c2674bad47cf76d3c05c12ad2f9c307702668
/psupr_ca2_JT_7496.py
f6ec3afbdfaf4dae6988359d4bd40d5b5d5605d9
[]
no_license
gengliangyu2008/PRMLS-CA2-project
5d401a56f230011a03d6d1a4306978b675b77939
3706fa7c3b7d53e186e71f78e799938e5064c796
refs/heads/master
2022-02-21T18:24:13.220553
2019-09-29T15:59:59
2019-09-29T15:59:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,842
py
# -*- coding: utf-8 -*- """PSUPR_CA2.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1KOPmeiyA7s63G7nArAYTy7XikXryYSGj """ import numpy as np import sklearn.metrics as metrics import matplotlib.pyplot as plt import h5py from tensorflow.keras.cal...
[ "noreply@github.com" ]
gengliangyu2008.noreply@github.com
f6462e692332d8b61c7908f67535fbd65c5926db
1fb230e5382ccbf79898fad3a025f8ffeb957f70
/raster_development/ee-density-upload-iso3.py
2f44c821321c11ce0668be27e6661cb8e16c791b
[ "Apache-2.0" ]
permissive
GlobalFishingWatch/psychic-guide-squirrel
fcae6999248357280cc747455468b3fc54f8199c
7d503abeddce80df7d42cdea5e982131e466305c
refs/heads/master
2021-01-17T06:12:20.876972
2017-02-07T17:16:02
2017-02-07T17:16:02
55,070,984
1
1
null
2016-12-05T19:44:20
2016-03-30T14:42:18
Jupyter Notebook
UTF-8
Python
false
false
12,328
py
#!/usr/bin/env python from __future__ import division import copy import datetime import itertools as it import json import math import multiprocessing as mp import multiprocessing.dummy import posixpath as pp import random import threading import time try: from urlparse import urlsplit except ImportError: fr...
[ "davidkroodsma@gmail.com" ]
davidkroodsma@gmail.com
c4c6e0af2a87a16415a3f0575945f66d748ea0f4
2ed1cccb49ee1549f09747061a2513fb053c707d
/20181004/DProposed_gpu3.py
91281bf826beb09c8480f4a1812fba4e8869a002
[]
no_license
hhjung1202/Prob_network
1c766ef5191727a63a38654622e21f0d986b923e
dedd4e525c9393f15452709dda377ceee9849c15
refs/heads/master
2020-03-22T11:42:27.705442
2018-11-11T14:29:39
2018-11-11T14:29:39
139,990,155
0
0
null
null
null
null
UTF-8
Python
false
false
7,940
py
import torch from torch.autograd import Variable import torch.optim as optim from torchvision import datasets, transforms from DPmodel import * import os import torch.backends.cudnn as cudnn import time import utils os.environ["CUDA_VISIBLE_DEVICES"] = '3' def main(model_dir, model, dataset, batch_size=128): util...
[ "hhjung1202@naver.com" ]
hhjung1202@naver.com
e69f0f7583c1022af9442415e61c2769e37c4122
dbf770eef8233f7da1850309cc4b7145bd8d67f1
/PYTHON-ADVANCED-SEPT-2020/PYTHON ADVANCED/03_MULTYDIMENSINAL LISTS/EXERCISE/06_chess.py
654a9eb872ce75844a3566d42fa88934b8ec214a
[]
no_license
vasil-panoff/PYTHON-ADVANCED-SEPT-2020_repo
610a37d1681ce9d0aa86628523620e1571b438dd
c63434f91de42d2f1241b6d76a96c7c63711c1d0
refs/heads/master
2023-03-22T07:44:53.620221
2021-03-15T20:42:14
2021-03-15T20:42:14
309,829,800
0
0
null
null
null
null
UTF-8
Python
false
false
1,217
py
possible_moves = ( (-1, -2), (-1, 2), (1, -2), (1, 2), (2, -1), (2, 1), (-2, 1), (-2, -1), ) board_size = int(input()) matrix = [['0'] * board_size for i in range(board_size)] def is_valid(i, j): if i < 0 or j < 0 or i >= board_size or j >= board_size: return False r...
[ "vasil.panov@gmail.com" ]
vasil.panov@gmail.com
9804f8564de4716be8abab8b427521211de74d90
50f938fe67c3c65c5a95fc8454e1a1817f8ef3d0
/search insert position.py
f2531843935e0d7c7f0e89580b584ad07c903e25
[]
no_license
guoziqingbupt/Lintcode-Answer
44e4d5bab46fd1d3400c2de0b810269eb5606f20
4b92bf4ad6f170160550a052011e63c07a068106
refs/heads/master
2021-04-06T13:55:35.080919
2018-07-02T03:24:27
2018-07-02T03:24:27
125,335,286
1
0
null
null
null
null
UTF-8
Python
false
false
507
py
class Solution: """ @param A: an integer sorted array @param target: an integer to be inserted @return: An integer """ def searchInsert(self, A, target): left, right = 0, len(A) - 1 while left <= right: mid = (left + right) // 2 if A[mid] == target: ...
[ "guoziqing@bupt.edu.cn" ]
guoziqing@bupt.edu.cn
c0ab8764c55a83565f75e6d16b589701ec260dab
2aa4feaa6eb3adf74d5e570be27a6ccf0d37d43b
/hello-worldj91.py
f6c4b7b0ad5c0afbbd688dc52588085087a3b541
[]
no_license
applepie405/Marcel-s-Python-GUI-Window
483f06c7703144e57c85c2d7058becedd8021c99
5386d5a03ad21d2cbbbd26615362c3c8e3cbc225
refs/heads/main
2023-03-23T23:25:21.744354
2021-03-24T02:02:09
2021-03-24T02:02:09
337,589,272
0
0
null
null
null
null
UTF-8
Python
false
false
1,288
py
from tkinter import * root = Tk() root.title("Goal Tracker") # Create and set the message text variable message_text = StringVar() message_text.set("Welcome! You can deposit or withdraw money and see your progress towards your goals.") # Create and pack the message label message_label = Label(root, textvar...
[ "noreply@github.com" ]
applepie405.noreply@github.com
9c7efaaa782f42236b3ee163464ef9d613bc033c
0a5c103662e2ccea7698480bca28fb5c285aeafb
/info/dicom.py
033a6a5fb0ed810ef20d7d4d98a1b7d9b7f8d109
[]
no_license
joanshen0508/image_preprocessing
a8b9dc90e92552ca11af8b220a2ce235a558aef1
478e63593884d572a049590588df158c59447bab
refs/heads/master
2022-04-02T17:08:56.559871
2019-10-29T15:24:48
2019-10-29T15:24:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,477
py
from __future__ import division, print_function import os from os.path import join from pandas import DataFrame import re import dicom from inout.io_common import get_dicom_files_in_folder class DicomDataSummary(): """ This function allows the generation of information stored on nrrd files. """ def ...
[ "olmozavala@gmail.com" ]
olmozavala@gmail.com
00784a17b99b4077db9e72d37bf5cb26749d3043
64bf39b96a014b5d3f69b3311430185c64a7ff0e
/intro-ansible/venv3/lib/python3.8/site-packages/ansible_test/_data/sanity/code-smell/changelog.py
710b10f6c08ec6f6580b2837b46f9a06e6302fd6
[ "MIT" ]
permissive
SimonFangCisco/dne-dna-code
7072eba7da0389e37507b7a2aa5f7d0c0735a220
2ea7d4f00212f502bc684ac257371ada73da1ca9
refs/heads/master
2023-03-10T23:10:31.392558
2021-02-25T15:04:36
2021-02-25T15:04:36
342,274,373
0
0
MIT
2021-02-25T14:39:22
2021-02-25T14:39:22
null
UTF-8
Python
false
false
1,420
py
#!/usr/bin/env python from __future__ import (absolute_import, division, print_function) __metaclass__ = type import os import sys import subprocess def main(): paths = sys.argv[1:] or sys.stdin.read().splitlines() allowed_extensions = ('.yml', '.yaml') config_path = 'changelogs/config.yaml' # conf...
[ "sifang@cisco.com" ]
sifang@cisco.com
97593d01e20dce08a5a4070ab12a31941668ffee
2dc1e4e9ee004d55fb2ae77f912a826b5689fd39
/src/domarIRCbot/db.py
9ccb0b506fbed01a55329299e63866105a9391d8
[]
no_license
lenzls/eRepCrawler
e8003ee2df23ba9f48be7c2c838b0b2fb7024f4c
e5d44201412ffa65848ef3fe6a3b8a1f1de40107
refs/heads/master
2021-05-28T15:34:51.358263
2011-04-10T22:55:14
2011-04-10T22:55:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,063
py
# # Copyright (C) 2010 by Filip Brcic <brcha@gna.org> # # Persistent object database support, based on shelve # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the Licen...
[ "lenz.simon@googlemail.com" ]
lenz.simon@googlemail.com
1aec4e2930ae7e12ace2baddd555e7260ec9e136
1eae467d92ed934a8aad94feff2abf1ba693dae0
/1/codiceFiscale.py
40fcad03e411aebd93a45e66a6f3a5596e3305a5
[]
no_license
marcocolognese/Analysis-of-information-systems-LABHomeworks
78267dae86bc900ea495395ad2dd3c0c97ec79f8
effa8d432fda107eb0701d4818adb3198f783537
refs/heads/master
2022-06-30T07:40:30.461032
2022-06-16T06:52:11
2022-06-16T06:52:11
139,051,237
0
0
null
null
null
null
UTF-8
Python
false
false
3,265
py
#Moduli import sys import string #Strutture dati Globali vocali = ('a','e','i','o','u') mesi = ('a','b','c','d','e','h','l','m','p','r','s','t') comuni = {'udine':'l483', 'verona':'l781', 'legnago': 'e512'} #CODICI DI CONTROLLO regole_pari = {} alfabeto = string.ascii_lowercase for i in xrange (0,10): regole_pari...
[ "marco.colognese1995@gmail.com" ]
marco.colognese1995@gmail.com
d68fceb4204ad57c994d5118e3cce37187d0db18
15828ab5229fa53505abdb53e853ea40c6af3083
/main/urls.py
f467920aad2405a64cb23fe6f5f1503394d97438
[]
no_license
kudep/conventusdemo
33cce9d87b379bd46dd6caccb42880d0b8b1d889
f65563b355ae41a8f0a961ee5a2ae7f6dbd80486
refs/heads/master
2021-01-22T23:16:32.562699
2017-03-21T21:19:33
2017-03-21T21:19:33
85,621,622
0
0
null
null
null
null
UTF-8
Python
false
false
891
py
"""main URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-based...
[ "kuznetsov.den.p@gmail.com" ]
kuznetsov.den.p@gmail.com
9d1e8ffeefbf7cee1e32d4c38a282759cf4dd220
577ba42cbf0a3230966ac66ef60fd401486e4c06
/website/apps/core/migrations/0021_transfer_year.py
96778623b064dec78ae6724511bdcd803f81ac46
[ "Apache-2.0" ]
permissive
shh-dlce/pulotu
984ca86de3ffe03e83bbb15b0d497f1ebf190ecd
82acbb8a3b7f3ec3acc76baffd4047265a77f7d3
refs/heads/master
2021-01-10T03:51:13.337840
2015-12-09T09:46:55
2015-12-09T09:46:55
46,917,922
2
0
Apache-2.0
2021-11-16T11:51:48
2015-11-26T09:48:42
Python
UTF-8
Python
false
false
8,072
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import DataMigration from django.db import models class Migration(DataMigration): def forwards(self, orm): "Write your forwards methods here." # Note: Don't use "from appname.models imp...
[ "xrotwang@googlemail.com" ]
xrotwang@googlemail.com
1d272705faf2bbdc1fdbd6b49ad2bb71b1a70d85
810a8ed334a29b81ddd5a4364c06d0272c3aae39
/clash-of-code/shortest/hexagon.py
4fd47cf99b5eb0c26472bb476aeafcc46280b64a
[ "MIT" ]
permissive
charlesfranciscodev/codingame
d7bdfc244cb58fa356dec73fb2f2ec5470755dbc
37b8e269e40f1b4e9807c305874f3b97f7c03a03
refs/heads/master
2023-08-16T23:26:20.818882
2023-08-16T17:12:06
2023-08-16T17:12:06
179,561,845
53
26
MIT
2021-05-19T19:36:46
2019-04-04T19:16:12
Python
UTF-8
Python
false
false
24
py
print(6*int(input())**2)
[ "charlesfranciscodev@gmail.com" ]
charlesfranciscodev@gmail.com
de2a869e4886495403457448183507387e5318e5
f5713ebaee8445d5ce7d64f50a7fc2ece362a22c
/apps/principles/forms.py
bfb6988c7267b54a1b96e11e7c75707e84a984e3
[ "CC-BY-3.0" ]
permissive
gerlad/greenline
bfacaa15e7481ee9b9d7171072724930396facda
219082c2d10d815c9fb21ac339349a1cb8b9bd04
refs/heads/master
2020-05-19T17:55:22.510522
2011-03-21T15:06:44
2011-03-21T15:06:44
1,227,024
1
1
null
null
null
null
UTF-8
Python
false
false
394
py
from django import forms from principles.models import Entry from principles.models import Principle class PrincipleForm(forms.Form): choices = forms.MultipleChoiceField(choices=(('1', 'Choice One'), ('2', 'Choice Two'),), initial=['1'], required=False,) ''' class PrincipleForm(forms.ModelForm): ...
[ "gmccollam@gmail.com" ]
gmccollam@gmail.com
c94d59da1ef5d4f9417d826c016759856c5d32d8
1d26bc5d5c086fca8fa8bea30bd4b5779e23d25b
/h/services/mark.py
74743ff47a80c1de8e94381e05b721a3d5952454
[ "BSD-2-Clause", "BSD-3-Clause", "BSD-2-Clause-Views" ]
permissive
maticanzic/h
65b34e538261f6682efb8b5bc4539b8cc370c6b1
dc4890e8a29d187315d4f3de5964c9917f2c47c6
refs/heads/master
2020-07-10T18:37:44.845423
2020-03-01T21:41:24
2020-03-01T21:41:24
204,337,322
0
0
null
2019-08-25T18:59:30
2019-08-25T18:59:29
null
UTF-8
Python
false
false
2,441
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from h import models class MarkService(object): def __init__(self, session): self.session = session def marked(self, user, annotation): """ Check if a given user has marked a given annotation. :param user: The ...
[ "matic.anzic@gmail.com" ]
matic.anzic@gmail.com
69cd60edbe6f2e2089ecca8b242444c3acff3313
cb935e728ae61c7e8cf367886e99ab568211d580
/pong.py
7a19eec8c0554e72fbbce3ac4c8597ad00812fa1
[]
no_license
andrewhuyha/Pong
65856f415310c69ce9cf0443faffd71b6a7cce78
f7ef82c4666956d7b3de30bc657ee47c9a7854ca
refs/heads/master
2021-06-24T13:53:20.276847
2021-04-27T05:12:05
2021-04-27T05:12:05
223,002,290
0
0
null
null
null
null
UTF-8
Python
false
false
2,848
py
#First Python Game! #By: Andrew Ha #Date Started: 10/3/19 import turtle gameScreen = turtle.Screen() gameScreen.title("Pong") gameScreen.bgcolor("black") gameScreen.setup(width = 800, height = 600) #Score playerOneScore = 0 playerTwoScore = 0 #Stops window from updating gameScreen.tracer(0) #Paddle 1(Left Side) pa...
[ "noreply@github.com" ]
andrewhuyha.noreply@github.com
43c082f25a6e6e30257d8c14911f7426fd6de2e1
89144239f73e73cde5da4537b13df699d680382d
/themes/pidginicons/pidgin_control.py
aaaf6252399b0c9437256fe570216f22b2a814be
[]
no_license
pspeter3/elementary-pidgin
60c5b9e929defb72815b320a71c5f239a056c966
099eba81034726a916642d7d788aafc5e93846aa
refs/heads/master
2020-05-18T16:22:20.121439
2012-04-09T19:46:48
2012-04-09T19:46:48
3,856,756
0
4
null
null
null
null
UTF-8
Python
false
false
6,763
py
#!/usr/bin/env python # # Copyright (C) 2009-2010 Jason Smith, Rico Tzschichholz # 2010 Lukasz Piepiora, Robert Dyer # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, eithe...
[ "pspeter333@gmail.com" ]
pspeter333@gmail.com
a250c52c942542c5047617e59af057be46c29e3a
36cae759a3d67da9b2787327b2a99c2c69525c56
/B2BSWE/Patterns/Prog_Character_Desc.py
d141d88ca48ed7705e0a7c941df0f0847a6b11de
[]
no_license
solouniverse/Python
a64515695c359e3a6e30288742d0bc432adf20fd
c072c681ae29fce28676de1108d41ca9fc9cbb27
refs/heads/master
2022-11-30T20:17:43.715018
2022-11-25T13:54:49
2022-11-25T13:54:49
239,029,770
0
0
null
null
null
null
UTF-8
Python
false
false
525
py
try: import sys, os sys.path.append(os.getcwd()) from Utils import Prog_Utils as u except Exception as e: print("Exception: ", e) utils = u.Utils() n = utils.getNoOfRuns() while n > 0: rows, columns = utils.getMatrixSize() ucAlphaIdx = 65 # A lcAlphaIdx = 97 # a for row in range(rows ...
[ "solouniverse19@gmail.com" ]
solouniverse19@gmail.com
34d8d879fd1dc1d98ab6c49550b0c42bdac6e2f7
f90022212ee26a5d5ecb08999a015439f2e01e48
/ProTwo/AppTwo/forms.py
0213efeb7eb4ac29e8c2d8b9b380f7afdcd1e505
[]
no_license
miguelmatosduarte/django-deplyment-example
c389b0ffe348836395338bf5c0fa8152612c0f40
73aa51bd0d20ad1500028a0945f14086538c2842
refs/heads/master
2020-04-01T21:09:44.843492
2018-10-18T15:27:33
2018-10-18T15:27:33
153,640,131
0
0
null
null
null
null
UTF-8
Python
false
false
158
py
from django import forms from AppTwo.models import User class Sign_Up_Form(forms.ModelForm): class Meta: model = User fields = "__all__"
[ "miguelmatosduarte@gmail.com" ]
miguelmatosduarte@gmail.com
ffe86aff360fe66f589944e6f4e66d44eefc999a
ddfb17730fd7b9388bf6edc3b2414db6cdd2d6c9
/zzz_old_stuff/GetVariables.py
e209e191db80a068022d4268b26072cef1bd48eb
[ "MIT" ]
permissive
JaakkoAhola/LES-scripting
eb09258a9acb7ab14b76f00073c8b6c921bdc300
1ebe99ce4292e58581bf50615cb8e0aa3d0c0af2
refs/heads/master
2020-09-03T14:24:26.332554
2020-04-02T12:15:19
2020-04-02T12:15:19
219,483,540
1
0
null
null
null
null
UTF-8
Python
false
false
1,076
py
def get_ts_variable(fname,var_name,target_time): # Function for extracting scalar data from NetCDF file based on the given time value. # #import numpy import netCDF4 as netcdf # Open the target NetCDF file ncid = netcdf.Dataset(fname,'r+') # Variable var = ncid.variables[var_name] # Time times = nc...
[ "jaakko.ahola@fmi.fi" ]
jaakko.ahola@fmi.fi
049ab8dd8552a31c314ba77c550026c4ad2f3698
f7820f347356ec97d54b4dc81fd4b133371fe364
/tests/test_events.py
ce6c5fc097e73c13a43ad5d94887f207a1c9853e
[]
no_license
geospatial-jeff/cognition-pipeline
a029c8009dbceb5605bad5cf0dd418b7091c2235
7343e7d18e01a3ac2a1646012e4e67f9d1698bec
refs/heads/master
2022-12-14T15:46:38.086800
2019-01-06T22:36:31
2019-01-06T22:36:31
161,524,087
4
0
null
2022-12-08T01:31:18
2018-12-12T17:43:08
Python
UTF-8
Python
false
false
4,010
py
import unittest import boto3 import os import json from handler import PipelineUnittests lambda_client = boto3.client("lambda") class MyPipelineTestCases(unittest.TestCase): def setUp(self): self.pipeline = PipelineUnittests() def test_invoke(self): message = {"hello": "world"} resp...
[ "jeff.albrecht@slingshotaerospace.com" ]
jeff.albrecht@slingshotaerospace.com
b339fef273a720af6207908c8f0f7f502bff6272
920fb0402ccff659f76a6ad8bf5ea9c9fa6e3b48
/python-oq/openquake/settings.py
5f3767bb7c7f7b6c9d9e21615473d0eed1bc0832
[]
no_license
arbeit/openquake-packages
347eaab58fc5446640bd852ffae1a47eae2fea06
d253f09d7848e6cf32e8c7756551436da413176b
refs/heads/master
2020-12-25T17:37:55.058808
2012-10-23T08:21:20
2012-10-23T08:21:20
4,167,935
1
0
null
null
null
null
UTF-8
Python
false
false
2,874
py
# -*- coding: utf-8 -*- # vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright (c) 2010-2012, GEM Foundation. # # OpenQuake is free software: you can redistribute it and/or modify it # under the terms of the GNU Affero General Public License as published # by the Free Software Foundation, either version 3 of the Lice...
[ "mh@foldr3.com" ]
mh@foldr3.com
b93260df15ec3b7ec598572a2cee1d41b1db0c22
41a672c9505b5b53c58a01d5455acc410949aa24
/tests/aoutgoing/negative/group/C_39.py
2f601a227919b3259ac2e7c4da1ce6d2ad77009c
[]
no_license
Alexsorgo/mobile_iOS
b045a0ea058726841c88158be8407b7ae45e893e
7e298f890b408cedad9db9d0aefeccd9c10d6002
refs/heads/master
2022-12-12T17:26:14.039876
2020-03-18T06:34:56
2020-03-18T06:34:56
248,154,882
0
0
null
2021-06-02T01:13:05
2020-03-18T06:25:17
Python
UTF-8
Python
false
false
956
py
from configs import config from enums import error_enums from screens.group.group_screen import GroupScreen from controls.menu import Menu from tests.aoutgoing.base_test import BaseTest from utils.logs import log from utils.verify import Verify class TestC39(BaseTest): """ User has the ability to create group...
[ "oleksii_mishchenko@epam.com" ]
oleksii_mishchenko@epam.com
9544265ec76e9e6bce081dee8ea03c2ea278a212
c7e0c86a24521a13c3b06c73244e9f5854f47284
/smarts/env/tests/test_metrics.py
a9d43943678df687bf3dc894e97b9aeab7c2cbb1
[ "LGPL-3.0-only", "LicenseRef-scancode-warranty-disclaimer", "CC-BY-NC-4.0", "GPL-1.0-or-later", "LicenseRef-scancode-generic-exception", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-unknown-license-reference", "LGPL-2.0-or-later", "GPL-3.0-or-later", "BSD-3-Clause", "MIT", "LGPL-...
permissive
huawei-noah/SMARTS
243d1f1fa4d3afe52a1dd8f7c6c500054d4a1a97
2ae8bd76a0b6e4da5699629cec0fefa5aa47ce67
refs/heads/master
2023-08-31T05:06:29.064270
2023-08-28T23:11:31
2023-08-28T23:11:31
301,903,883
824
212
MIT
2023-08-08T14:52:00
2020-10-07T02:11:23
Python
UTF-8
Python
false
false
10,884
py
# MIT License # # Copyright (C) 2022. Huawei Technologies Co., Ltd. All rights reserved. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation th...
[ "noreply@github.com" ]
huawei-noah.noreply@github.com
11e59e419b0c3729fbdc1c49c14476a7cdcae54a
2feb2bdda21fb6a077fc19459484599390884ea3
/t_laplace.py
4e07761f9117cbe556c32e85dfc0c81f5a373fe9
[]
no_license
mateussiil/analise-sistemas-lineares
f40082214d8ab3ba689b874beb332a293a17ad96
1c39945d07ff58bdbaa14aa40d9e9afb8f9fe0c4
refs/heads/main
2023-01-12T03:55:52.397907
2020-11-23T12:05:56
2020-11-23T12:05:56
314,095,094
0
0
null
null
null
null
UTF-8
Python
false
false
1,078
py
import sympy as sym from sympy.abc import s,t,x,y,z import numpy as np from sympy.integrals import inverse_laplace_transform import matplotlib.pyplot as plt from sympy import symbols, fraction, UnevaluatedExpr import conta as ct s, w = symbols('s w') def mod(num , den): return np.sqrt(num)/np.sqrt(den) def fase(...
[ "mateus_silva97@hotmail.com" ]
mateus_silva97@hotmail.com
0cb269eb77b00fc282b0b7a98450a744901f9bee
af4abf0a22db1cebae466c56b45da2f36f02f323
/parser/fase2/team08/Tytus_SQLPARSER_G8/optimizacion/Instrucciones/C3D/LlamadaC3D.py
dc3d1a8494a7f8ac134381a1aa4f9d6d7c4e705b
[ "MIT", "BSD-3-Clause" ]
permissive
joorgej/tytus
0c29408c09a021781bd3087f419420a62194d726
004efe1d73b58b4b8168f32e01b17d7d8a333a69
refs/heads/main
2023-02-17T14:00:00.571200
2021-01-09T00:48:47
2021-01-09T00:48:47
322,429,634
3
0
MIT
2021-01-09T00:40:50
2020-12-17T22:40:05
Python
UTF-8
Python
false
false
594
py
from optimizacion.Instrucciones.TablaSimbolos.InstruccionC3D import InstruccionC3D class LlamadaC3D(InstruccionC3D): def __init__(self, id,linea, columna): InstruccionC3D.__init__(self,linea,columna) self.id = id print("ENTRO A expresiones") def ejecutar(self, tabla, arbol): ...
[ "michikatrins@gmail.com" ]
michikatrins@gmail.com
255564aec5fbd2217b5838adab632433649e48fb
4a5f3b26fca176a80ca8eca796bc646bb225b017
/LSTM/lstm.py
fd4fa6f6352b46b189efd111d6f07ccf1a6d69d2
[]
no_license
musyoku/NLP
9a63dc882b07b017f7cfc72d863c4d9e5cbeff5e
9b040bb960b65fb2a1c330adafa6c52e3284a0c1
refs/heads/master
2021-01-21T04:53:57.029200
2016-07-10T17:08:03
2016-07-10T17:08:03
55,848,677
1
1
null
null
null
null
UTF-8
Python
false
false
8,963
py
# -*- coding: utf-8 -*- import os, time import numpy as np import chainer from chainer import cuda, Variable, optimizers, serializers, function, link from chainer.utils import type_check from chainer import functions as F from chainer import links as L from bnlstm import BNLSTM from embed_id import EmbedID activations...
[ "musyoku@users.noreply.github.com" ]
musyoku@users.noreply.github.com
a6cc55e7e446cdc95f81488f5cd85d5dbad8bb7b
55290a5cb22a87b3affe480c1eaa4653af5394d1
/apps/storage/migrations/0001_initial.py
53cd60f40824f7dea0b6724c6500103362b45a1e
[]
no_license
NatanaelMorales/ActividadFinal
97fd235de51166dde33f89891f1de32d3bf47aac
3727236b382e5677023f48e4d592c7046cef3840
refs/heads/master
2023-08-03T16:07:58.934166
2021-09-17T07:50:46
2021-09-17T07:50:46
407,407,432
0
0
null
null
null
null
UTF-8
Python
false
false
2,123
py
# Generated by Django 2.0.6 on 2021-09-17 03:04 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Cita', fields=[ ...
[ "rodnymorales739@gmail.com" ]
rodnymorales739@gmail.com
f9ce80fc7c86f46273b2cd1af74496ed58daa089
2fb77cffd832f9d80824913acaba89be286c21de
/polls/urls.py
9b8b1297de4fcd612de92ff4b9fb16aa5ecfb900
[]
no_license
eolhc/first_tango_w_django
d353612606511f739ba09f635f407f65bf013508
cafa1a2228f5ddacc506395edf61cfd073d6aa27
refs/heads/master
2021-01-13T12:36:03.286231
2017-01-09T12:40:10
2017-01-09T12:40:10
78,404,570
0
0
null
null
null
null
UTF-8
Python
false
false
770
py
from django.conf.urls import url from . import views # urlpatterns = [ # # ex: /polls/ # url(r'^$', views.index, name='index'), # # ex: /polls/5/ # url(r'^(?P<question_id>[0-9]+)/$', views.detail, name='detail'), # # # ex: /polls/5/results/ # url(r'^(?P<question_id>[0-9]+)/results/$', views.re...
[ "cqphua@gmail.com" ]
cqphua@gmail.com
13ffabca7f530817e54a8039cdf0711514574bef
2f05e458d1516a4fa13a1f177a2eeacff4780248
/django/AIST_survey/migrations/0008_auto_20190218_2100.py
615cd12ffc7e8e7ad1a9d7c1e4259cb1fc8bd56b
[ "MIT" ]
permissive
aistairc/voteclustering_aist
ecaee45dd126acf7b66c333145bd51098ec119d4
f1ee7409698a05a99ce40cdccbe4c2b1f8f81b4c
refs/heads/master
2023-02-19T00:32:50.433211
2021-01-25T05:42:09
2021-01-25T05:42:09
281,014,975
0
0
null
null
null
null
UTF-8
Python
false
false
576
py
# Generated by Django 2.1.3 on 2019-02-18 21:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('AIST_survey', '0007_auto_20190214_1152'), ] operations = [ migrations.AddField( model_name='enquete', name='has_pass...
[ "watashun@gmail.com" ]
watashun@gmail.com
3a648159b1c2aea371c11614bfded14f7873bb3a
136512dbc6a4352fbdf60b9324ea1a21aed87569
/ex31.py
a4dbaaca4c02de91d83da15ae8d07ab51838d61c
[]
no_license
wxlsally1980/For-PY104
f6c5c3e37db3ac2891cbf5b3e33a7677afffaadb
15992692733207e054f3947332964b9e5e49d13b
refs/heads/master
2021-01-02T08:31:06.219634
2017-08-02T07:40:36
2017-08-02T07:40:36
99,016,637
0
0
null
null
null
null
UTF-8
Python
false
false
1,042
py
print "You enter a dark room with two doors. Do you go through door #1 or door #2?" door = raw_input(">") if door == "1": print "There's a giant hear here eating a cheese cake. What do you do?" print "1. Take the cake." print "2. Scream at the bear." bear = raw_input(" > ") if bear == "1": ...
[ "noreply@github.com" ]
wxlsally1980.noreply@github.com
5cff6f6902a20d16ffe5d07ddf2fbc4b5f81a60c
96c1852886840edfa4aa61a2d9c4f80d4d868015
/mainCode.py
10afbd0c42deb2889ebec03721014c1a927f4870
[]
no_license
rishitaggarwal/Teacher-Helper
305c9b687320dfe1a95310eed02080c5ef9df47e
bc8213760f27bcfeea7f2f1b24cc8961a605e895
refs/heads/main
2022-12-30T06:05:43.768814
2020-10-22T11:07:38
2020-10-22T11:07:38
306,310,100
0
0
null
null
null
null
UTF-8
Python
false
false
364
py
import pandas as pd import csv import plotly.graph_objects as px df = pd.read_csv("data.csv") studentdf = df.loc[df["student_id"]=="TRL_rst"] print(studentdf.groupby("level")["attempt"].mean()) fig = px.Figure(px.Bar(x = studentdf.groupby("level")["attempt"].mean(), y = ["Level 1","Level 2","Level 3", "Lev...
[ "noreply@github.com" ]
rishitaggarwal.noreply@github.com
0c8781f6951eaa7ebc1a3b119337df5890b6014c
2ff2f6634e3da26c4a69374d0ffb7fc4d9485baf
/player.py
c6ccfc153615e91fdc50f609a5a7cde96ed31ca6
[]
no_license
nsaenzz/Rock-Paper-Scissors
db59edac3c3e25c3c154eb223f471ae4052177f3
49b7b84bc70ac0bb722deba049a1196959b166e5
refs/heads/master
2022-12-07T20:36:13.884606
2020-09-07T15:55:46
2020-09-07T15:55:46
293,344,457
0
0
null
null
null
null
UTF-8
Python
false
false
766
py
import random """The Player class is the parent class for all of the Players in this game""" class Player: """constructor clase, initial values of my_move, opponent move, and all availables moves""" def __init__(self): self.my_move = "" self.their_move = "" self.moves = ['rock', '...
[ "neil_saenz@yahoo.com" ]
neil_saenz@yahoo.com
4b6f4ab0d4309902059bfe4311720cbd57cae1ae
19b9bc401df28ede4b4a5f6fa00ee17042299719
/archive/To09-14/09-10/seongbin_09-10.py
6914e1c9bc761a600e9f8594b7b6879b289c387e
[]
no_license
kibitzing/FluentPython
fb0c21c164e0bf7a543e8c3c0d92c6f6c303ebb6
75c743ce4c5e65c2d891babd23f0e4b873924000
refs/heads/master
2021-07-10T23:42:58.224235
2019-02-12T14:24:06
2019-02-12T14:24:06
147,219,835
7
1
null
null
null
null
UTF-8
Python
false
false
571
py
Contributors = [(1, 'kbitzing', 'Inha University', 'Electronic', 'Male'), (3, 'kdhht2334', 'Inha University', 'Electronic', 'Male'), (2, 'khahn0213', 'Seoul University', 'Mathematics', 'Male'), (4, 'zelabean', 'Inha University', 'Electronic', 'Male'), (5, ...
[ "noreply@github.com" ]
kibitzing.noreply@github.com
0afb5da3c5bf377521020e90704fbd297b46c016
e5b778a273e3888ad0575a9dada39d458158127a
/students/migrations/0009_lesson_icon.py
a4f54c33999a2c365ea2cd47c5cf66dca551542c
[]
no_license
SevenLines/django-tealeaf
896784baead7b9514e83edad8c3c2defdcdd060b
959dbcbdd37a4e8f45de400e71710c5e746a97da
refs/heads/master
2021-01-23T00:01:43.793383
2015-05-15T15:58:52
2015-05-15T15:58:52
17,891,988
0
0
null
null
null
null
UTF-8
Python
false
false
550
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import filer.fields.image class Migration(migrations.Migration): dependencies = [ ('filer', '__first__'), ('students', '0008_auto_20141128_1807'), ] operations = [ migrations...
[ "mmailm@mail.ru" ]
mmailm@mail.ru
366b8ceb78b71f9ddc9827b05f1fed1a6846ef14
6e723d5620c6320d3fae1ca7f5d6bbd3413f8953
/chap13/demo6.py
c017aef0574fdbc001548aa9a8152d49545f486c
[]
no_license
ericprogram/python
73d55375e931fb0b421d70e85e5dc7ecdf4ab6cd
e992153838a8b7d37e11b225027f394b4fae127f
refs/heads/main
2023-04-02T21:37:20.350760
2021-04-07T13:10:55
2021-04-07T13:10:55
332,361,722
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
# --*--coding:utf-8--*-- # author : hmchen # email : hmchen@cenboomh.com # date : 2021/1/26 16:49 """ Object 类 """ class Student(): def __init__(self ,name ,age): self.name = name self.age = age def __str__(self): return "我的名字是:{0},我今年{1}岁了".format(self.name, self.age) stu = ...
[ "hmchen@cenboomh.com" ]
hmchen@cenboomh.com
c60b5a503cfaa9e6f2b04e43b863f1aa2380a421
ef73a39feb698bf2b8c5d84ca0f05e7d88b3a646
/Testcase/test_serviceManage.py
223348b1ddab9a20babadfb3bd92656bfcff5e9f
[]
no_license
hedanhe/ApiTest
ac9d569bce769af76c56ef1b656dc7a5a5266d71
0b9aa2e7eff90bfa5f7c98270325fa9dc71bbeaa
refs/heads/master
2022-11-29T18:35:50.205741
2020-08-07T03:58:58
2020-08-07T03:58:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,648
py
#!/usr/bin/env python # encoding: utf-8 ''' @author: yanghong @file: test_serviceManage.py @time: 2020/5/25 11:19 @desc:增值服务管理-服务项管理 ''' import json import warnings import allure import pytest from Common.Assert import Assertions from Common.DB import DB_config from Common.Login import loginAdmin from Common.logger i...
[ "hong.yang@qizhixinxi.com" ]
hong.yang@qizhixinxi.com
d7ba5806812a2679ca922d44651cc1c3964fc84e
7d6373ddb734eb8a8b14c694e2b68d391972d7e0
/talipp/indicators/OBV.py
5d25726edea04de42c85c5d6d0feb54b385fc650
[ "MIT" ]
permissive
b1nhm1nh/talipp
eaeda7c35afda62a81cc19b8ea856d6ab7b06422
9300aa8b632bcfe7b48ed63c06fb06793a4a5674
refs/heads/master
2023-07-20T19:34:25.272972
2021-08-31T15:03:58
2021-08-31T15:03:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
845
py
from typing import List, Any from talipp.indicators.Indicator import Indicator from talipp.ohlcv import OHLCV class OBV(Indicator): """ On Balance Volume Output: a list of floats """ def __init__(self, input_values: List[OHLCV] = None): super().__init__() self.initialize(input_...
[ "28791551+nardew@users.noreply.github.com" ]
28791551+nardew@users.noreply.github.com
b2a23f1789cef25f1bf20ca22704a1b29e2ca619
607a1413172b9101165efea7eb8e6cdd7231ef21
/BMI.py
727c6c1d4ea0deed3f3b41ff86bc4000a9fe4293
[]
no_license
zhangxiaofeng9971zxf/moocPython
822479a83290f49e583260a41bcb7b633012ed95
a35428842a17e051e8e6b2e8cf6cb8e945342276
refs/heads/master
2020-04-17T13:20:55.426988
2019-01-24T02:10:35
2019-01-24T02:10:35
166,611,841
0
0
null
null
null
null
UTF-8
Python
false
false
415
py
height = eval(input('请输入身高m:')) weight = eval(input('请输入体重kg:')) def BMI(weight,height): bmih = height*height bmi = weight/bmih if bmi <18.5: print('国际标准偏瘦') elif 18.5<bmi<25: print('国际标准正常') elif 25<bmi<30: print('国际标准偏胖') else: print('国际肥胖') print('{:.2f}'.f...
[ "zhangxiaofeng9971@126.com" ]
zhangxiaofeng9971@126.com
16badd2fbe280d1152ca490718023aef3087552f
78873050d2335f6d6df45813e2ac9d974d7dce47
/dictionary_data_structure1.py
275c7d2b216d2eb849cd246343c4fdca403b1bb7
[]
no_license
harshu1470/dictionary
07af495c7f4f2642ba86936de769d70c50cf43e9
a041d37370a53eec1414d9e270baf42885cb8aec
refs/heads/master
2022-11-16T19:27:29.076444
2020-07-17T08:57:27
2020-07-17T08:57:27
280,376,391
0
0
null
null
null
null
UTF-8
Python
false
false
1,182
py
#dictionary dict = {"name": "harshit", "education": "B.Tech" ,"steam": "IT"} #print dictionary print(dict) #print the keys of dictionary print(dict.keys()) #print the key,values of dictionary print(dict.items()) #print key for specified value for key,value in dict.items(): if value=="B.Tech": p...
[ "noreply@github.com" ]
harshu1470.noreply@github.com
20669507584ec8d470940c096ab228e4dc37fb86
1dbb1f10e2c63997478aa96cf0de252de3e7048a
/leetcode-medium-collection/python3/addTwoNumbers.py
27a32ea0f436cd2faf565052dbb7f815e956d9a2
[]
no_license
Zchappie/Garage
1f2e5e39d5143bb2a37c46696873e52f35d990b9
db739652737b98818a63a6f8e8b7326e1673ec96
refs/heads/master
2020-12-26T17:53:41.586483
2020-08-30T08:06:31
2020-08-30T08:06:31
237,585,800
0
0
null
null
null
null
UTF-8
Python
false
false
1,788
py
# Definition for singly-linked list. class ListNode: def __init__(self, x): self.val = x self.next = None class Solution: def addTwoNumbers(self, l1: ListNode, l2: ListNode) -> ListNode: # if not l1 or not l2: # return l1 or l2 # power1 = 0 # num1 = [l1.val] ...
[ "zeek.uni@outlook.com" ]
zeek.uni@outlook.com
b4b91b5d66a9d54dce6d0b77cee372aaf37467af
76effcf4ae0971e3ea0e69b743c21f98485d1d33
/Python/spidey.py
cb76d83968ddd0982159b4a7bf1401591d94cf23
[]
no_license
Vutov/SideProjects
289684b58fef14d63f83954bb68baeb54f37e3fc
ba0e48825e3f90f9da0e7506c89354622198c4a5
refs/heads/master
2021-01-23T07:33:53.818539
2018-01-19T10:13:06
2018-01-19T10:13:06
26,778,882
0
0
null
null
null
null
UTF-8
Python
false
false
883
py
import requests from urllib.parse import urljoin from bs4 import BeautifulSoup url = 'http://bg04b.eu/' urls = [url] visited = [url] # Gets page's HTML while len(urls) > 0: try: htmlText = requests.get(urls[0]).text except: print(urls[0]) # print(htmlText) soup = BeautifulSoup(htmlText...
[ "VutovSpas@gmail.com" ]
VutovSpas@gmail.com