blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
125f5234c45061d2e7e622ac4eb833f3749d85da
debcd3fb48f30a854b0eeb18f4e80da246cad481
/SnowFlake/odd_or_even.py
bf921f18b56f48dd55b31f291546fb42609688d8
[]
no_license
AriesShilz/Oct21
2e2b5d398554ee57a56ea2355a195e61f78c3d5a
e49757c71c644e9c1eea7628ef08dadce61954a8
refs/heads/main
2023-08-02T17:12:13.535391
2021-10-04T04:50:41
2021-10-04T04:50:41
412,388,649
2
3
null
2021-10-04T04:50:42
2021-10-01T08:30:26
Jupyter Notebook
UTF-8
Python
false
false
119
py
x=1 while x<10: if x%2=0: print(str(x)+"is even") else: print(str(x)+"is odd") x+=1
[ "noreply@github.com" ]
noreply@github.com
7fe6a21c9248ba3e71b94ee29316591e3d30ad2e
213159e266f2be2e0acbbda62b6ded0b8388fe8d
/crypto.py
e6c51515788b6d3e44d88527c5ab837d0dc02781
[]
no_license
KPHarmon/LSBstega
1c285299ef3e3c449c02d1c34c91d0170bd73dbf
f03830bef5cb2ef84e693d203e3f846515096a81
refs/heads/master
2020-08-23T11:46:04.182533
2019-10-21T16:13:49
2019-10-21T16:13:49
216,608,753
0
0
null
null
null
null
UTF-8
Python
false
false
2,185
py
import sys def color_chooser(color_type): switch = { 0: "Greyscale", 2: "Truecolor", 3: "Indexed-Color", 4: "Greyscale with Alpha", 6: "Truecolor with Alpha" } return switch.get(color_type, "Error") def decrypt(): f = open(sys.argv[1], "r+b") print("--------...
[ "kade_harmon@yahoo.com" ]
kade_harmon@yahoo.com
ed7aeccf50b61c1ede46b34c971ecbf6fac49f40
90baf1f6abb0dcba147f46105347a7d81f0ed617
/472-concatenated-words/472-concatenated-words.py
1541cd05cdd590100ef56d987a207bccb9cf9176
[]
no_license
vinija/LeetCode
c2bfbd78711b2ebedcfd4f834d12fde56a15b460
de2727f1cc52ce08a06d63cff77b6ef6bb9d2528
refs/heads/master
2022-09-29T06:16:44.465457
2022-08-21T05:20:45
2022-08-21T05:20:45
97,401,204
116
32
null
null
null
null
UTF-8
Python
false
false
830
py
# ORIGINAL POST WITH EXPLANATION: https://leetcode.com/problems/concatenated-words/discuss/871866/Easyway-Explanation-every-step class Solution(object): def findAllConcatenatedWordsInADict(self, words): """ :type words: List[str] :rtype: List[str] """ d = set(words) ...
[ "vinija@gmail.com" ]
vinija@gmail.com
5451a3d2e1f3548f0e76f2dc4d1a6638008781c0
082add6c8ff428be8b016f2c08b37ea786db1551
/envs/lib/python3.7/functools.py
7892fc59981228b779754342294ab2ac47201716
[]
no_license
fbicknel/GTRI-exercise
6faadebf1ded38935c730f1399ca18ce0395a1c4
5b856a121bb2eab030456d07f5f121d343177952
refs/heads/master
2022-10-21T00:14:17.572728
2019-10-02T22:49:24
2019-10-02T22:49:24
212,347,130
0
1
null
2022-10-13T02:17:45
2019-10-02T13:20:32
Python
UTF-8
Python
false
false
63
py
/home/fbicknel/.pyenv/versions/3.7.4/lib/python3.7/functools.py
[ "fbicknel@gmail.com" ]
fbicknel@gmail.com
7acc38b3caa0e787ec3f2b673294c823df7c2109
3077eef3b8978e629be6b994699dc158eda545ec
/var.py
d73eefd481d3a7d89a15891f975d92902f4b41df
[]
no_license
Frederic-z/byte-of-python
a8309df825f254a9a8398f7cf74ee524a114db7a
4c183031b3b4097e163d774eec60ccba5f20924c
refs/heads/master
2021-01-18T15:40:57.339632
2017-08-15T13:58:52
2017-08-15T13:58:52
100,384,009
0
0
null
null
null
null
UTF-8
Python
false
false
108
py
i = 5 print(i) i = i + 1 print(i) s = '''This is a multi-line string. This is the second line''' print(s)
[ "frederic.z@foxmail.com" ]
frederic.z@foxmail.com
f170105dd4df1fcc7753415af3c4715d042cf732
9c38f3a354844f5080632005630d249d6487ebb3
/python_compiler/lexer/submitted/test.512.py
ba4d1189a78cf314b7ee04b45c551fcd673df06e
[]
no_license
keithroe/keithscode
ee7247ad6bdd844279f29a56718992cb886f9215
470c6b833b9b8bc2c78d1b43aac896b0ce9c9a7c
refs/heads/master
2021-01-10T08:48:12.729594
2018-10-16T17:48:31
2018-10-16T17:48:31
51,531,627
0
0
null
null
null
null
UTF-8
Python
false
false
12
py
r = 5 \ + 4
[ "keithroe@cba41313-dcc7-113d-0d3d-2a2d30939b49" ]
keithroe@cba41313-dcc7-113d-0d3d-2a2d30939b49
14ea55e8ef9c12f094fa7f7d26c4e07885255abd
5f458983f978c71aa34e622d3967e55daf848277
/day35.py
5c000697d9bff8c38f4e84b80676dde9fb6b1b65
[]
no_license
ahhhlexli/daily_challenge
3362e137e6d46a759e60ed1a4de5c822d24e9813
e5d1db8fe6b275dd45b50b64ef8a833a19683eb7
refs/heads/main
2023-03-25T12:03:55.241050
2021-03-19T01:27:38
2021-03-19T01:27:38
328,871,943
0
0
null
null
null
null
UTF-8
Python
false
false
1,509
py
"""The factorial of a positive number n is the product of all numbers from 1 to n. 5! = 5 x 4 x 3 x 2 x 1 = 120 The semifactorial (also known as the double factorial) of a positive number n is the product of all numbers from 1 to n that have the same parity (i.e. odd or even) as n. 12!! = 12 x 10 x 8 x 6 x 4 x 2 = 4...
[ "alexli0605@gmail.com" ]
alexli0605@gmail.com
e87f15a62f68b04bffa0a5bbd111cb7e202c4c05
79a72730070595cebd761033f870606d57416b7e
/bookingApp/bookingApp/urls.py
0a7e03fc83d90fd5dcc5f1bd8ec344507701fc75
[]
no_license
baitul-hossain/BookingApp_Django_RestFramework_Python_backend
46abe69f585de0f06ed7b7d2ac9ed0bae6774633
a99dc249c00e9e761357d72a8b040fe324179972
refs/heads/master
2023-07-10T23:35:18.069836
2021-08-18T02:22:58
2021-08-18T02:22:58
397,447,339
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
from django.contrib import admin from django.urls import path, include urlpatterns = [ path('admin/', admin.site.urls), path('flights/', include('flights.urls')), ]
[ "baitul.hossain@gmail.com" ]
baitul.hossain@gmail.com
e1d045a598337ddfd11adc7bdd696bec1c8d0126
266357a9359f75f1fe971f3bcea2127eb7c52821
/Python/Basic_Data_Types/List_Comp.py
6d9e42ede4c9f0113f6bb5b0d3ad8da7d641d5c7
[]
no_license
tp00012x/Hacker-Rank
8e82b0beeec18bb9e6b8f8e4ab3caaf41897f82c
81bd6e12f38a8a1316a0fc139a388bcf096b2c7b
refs/heads/master
2021-01-23T08:34:29.630590
2017-09-07T06:18:06
2017-09-07T06:18:06
102,536,867
0
0
null
null
null
null
UTF-8
Python
false
false
645
py
# Let's learn about list comprehensions! You are given three integers and representing the dimensions of a cuboid along with an integer . You have to print a list of all possible coordinates given by on a 3D grid where the sum of is not equal to . Here, # # Input Format # # Four integers and each on four separate...
[ "anthon_torres01@yahoo.com" ]
anthon_torres01@yahoo.com
d3d4d1d1e0ab7341611ae150bdd3b9c69b60e1c9
dfc905db7abc3f4c25830cf5e97ca57437026f99
/src/settings.py
90d1f1079d1c8d97f09b0dd650de504cc2e671e4
[]
no_license
ejconlon/Wecolage_Django
ec27c5a529dc5659d21d68a404390da2de77de8c
72881c80f69fb7620240b1f7b78762c7c4f1ecb0
refs/heads/master
2016-09-06T17:17:46.267312
2009-09-23T03:34:15
2009-09-23T03:34:15
314,526
1
0
null
null
null
null
UTF-8
Python
false
false
3,336
py
# Django settings for wecolage project. DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( ('Digitol', 'digitol@fuelsyourcyb.org'), ) MANAGERS = ADMINS DATABASE_ENGINE = 'mysql' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. DATABASE_NAME = 'wecolage' # Or path to datab...
[ "ejconlon@gmail.com" ]
ejconlon@gmail.com
2b9969f9cbad868bd8cd4bc7c711c09cef294113
dab552bc88bd46a56c7fb0de6851256aadb04d69
/petsapi/views/pet_view.py
342df003e2e08b28ec8030457430d4e63b4450e1
[]
no_license
jakefroeb/Pets
eab469195b96064683d9c87f25a547987894256c
f1c9d224fb7c70fd37f8064a7ce617f1caaedae9
refs/heads/main
2023-06-03T13:41:26.148143
2021-06-18T14:23:31
2021-06-18T14:23:31
375,076,145
0
0
null
2021-06-18T14:23:32
2021-06-08T16:29:21
Python
UTF-8
Python
false
false
3,644
py
from django.http import HttpResponseServerError from rest_framework.viewsets import ViewSet from rest_framework.response import Response from rest_framework import serializers from petsapi.models import Pet, Animal_Type, Action, Pet_Action from django.contrib.auth.models import User from rest_framework import status fr...
[ "jake.herman.froeb@gmail.com" ]
jake.herman.froeb@gmail.com
69806b8d8fe453fbeb384832b144f4ec15cdfa20
bda18692e050b57c04b1af8b0e6edb9b33965839
/search.py
27a02d3dc4c62412f810a28d0a4b77c7c332e38c
[]
no_license
Scalesrzn/zakupkipy
b8310eb5a59172212b2fb969375598e34111addb
10ea98765f85451fcda75b8f981abb750551b7ac
refs/heads/master
2022-07-24T11:11:35.715086
2019-12-17T22:35:52
2019-12-17T22:35:52
228,691,810
0
0
null
2022-07-06T20:25:32
2019-12-17T19:59:17
Python
UTF-8
Python
false
false
747
py
def search(word, dateFrom, pageNumber=1): url = create_url(word, dateFrom, pageNumber) logging.info('Отправка URL \n {}'.format(url)) response = get_page(url) logging.info("Ожидание {} секунд.....\n".format(DELAY)) return response #задаем параметры метаданных def get_page(search_url): headers =...
[ "Scalesrzn@gmail.com" ]
Scalesrzn@gmail.com
03601582b1db35040ea66cabe91d48392cc05d5c
c68de124ac2e8bba22989d34f661f1aa02e99000
/pages/tests.py
a950caefe26749550b408e83efa1601bbe8e74f2
[]
no_license
EKKOING/COM214-PA4
2f451e65eeca6f750b7899c7771430d1fb4f1ed2
7f87a1b3af322a9657d6aea1bb1bb8fd53fc72b3
refs/heads/main
2023-04-05T00:49:29.213561
2021-04-15T04:19:07
2021-04-15T04:19:07
358,109,360
0
0
null
null
null
null
UTF-8
Python
false
false
987
py
from django.test import SimpleTestCase # Create your tests here. class SimpleTests(SimpleTestCase): def test_home_page_status_code(self): response = self.client.get('/') self.assertEqual(response.status_code, 200) def test_about_page_status_code(self): response = self.client.get('/ab...
[ "nicholas.lorentzen@gmail.com" ]
nicholas.lorentzen@gmail.com
c25c43c7ea26e60b8d87bc63d830ae720fc624b1
5098d15b30d77d48df2618950bb4dc312be215c8
/imbibe.py
86af47a32ddf0a09b29b39c7621cd20790cff784
[]
no_license
etdub/imbibe
bca65f0af814e270b900daaa6994e670799ebd7b
c1ab251a12790e3663211ba6a3178b84a5f40cfc
refs/heads/master
2021-01-01T19:51:56.170732
2013-10-04T18:54:49
2013-10-04T18:54:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,218
py
import collections import logging import ujson import zmq logger = logging.getLogger(__name__) class Imbibe(object): def __init__(self, servers): if not isinstance(servers, list): self.servers = [servers] else: self.servers = servers self.context = zmq.Context() ...
[ "eric.wong.t@gmail.com" ]
eric.wong.t@gmail.com
09350b78ae65b299217cbd7c1567d5543b66ea37
37a119f116431ef91f1257370a5cd4a992b018db
/tests/sql/test_expressions.py
123319ebd94792d6d470655ae8be31eb2e22416f
[ "ISC" ]
permissive
uranusjr/sqlian
660e66d4c5c01b1112961f4097e95143c15cf72a
8f029e91af032e23ebb95cb599aa7267ebe75e05
refs/heads/master
2021-01-19T18:59:19.349318
2017-09-12T13:12:10
2017-09-12T13:12:10
101,176,270
0
0
null
null
null
null
UTF-8
Python
false
false
903
py
from sqlian import Sql from sqlian.standard import expressions as e def test_identifier(engine): sql = e.Identifier('foo') assert sql.__sql__(engine) == Sql('"foo"'), sql def test_identifier_qualified(engine): sql = e.Identifier('foo', 'bar') assert sql.__sql__(engine) == Sql('"foo"."bar"'), sql d...
[ "uranusjr@gmail.com" ]
uranusjr@gmail.com
2f7960616db1ab796dee9b3605d8f1f0adfad3e6
95dc688ccc8966112841a416fa98787c7804785f
/python/stock_market/scripts/programs/sandpile_tests.py
a385f74bd33b22cdfc39e6ea9490dd72c38977fd
[]
no_license
rursino/sandpile-financialmodel
b75125a245fd6d47605c633802ce308615cc11e0
c7aa9dc0e5674f5ea59b4cd89c7528c14f85169c
refs/heads/master
2023-03-05T23:39:17.573166
2020-06-26T06:43:18
2020-06-26T06:43:18
341,372,939
0
0
null
null
null
null
UTF-8
Python
false
false
2,826
py
""" Execution of stock market sandpile. """ """ IMPORTS """ import numpy as np import pandas as pd import pickle import matplotlib.pyplot as plt import sys sys.path.append("./core/") import sandpile import analysis from importlib import reload reload(sandpile) reload(analysis) """ INPUTS """ length = 10 width = ...
[ "rossursino@hotmail.com" ]
rossursino@hotmail.com
78c66fa3d602e882473ac0516c6d9ae32b854cde
fc1794d84b2dae0724d945b98870db3d29278d17
/first/application.py
53168a0348d36d5ba8d0e73817fec6000b9e5af4
[]
no_license
Arya365-code/lecture2
6856faccebc57f967bd716811f5cfdb3b408b11b
ba8d87372dcc854780493ef83197ea84e61013ec
refs/heads/master
2022-05-28T21:29:19.769844
2020-05-02T02:35:54
2020-05-02T02:35:54
259,858,430
0
0
null
null
null
null
UTF-8
Python
false
false
199
py
from flask import Flask app = Flask(__name__) @app.route("/") def index(): return "Hello, world!" #So if you go to the default route which just ends in a / #the page will show "Hello, world!".
[ "noreply@github.com" ]
noreply@github.com
98a9f68c969ed0299834aeafe3f5422274954ce7
8a3401fcc24fb398e7cac0f8a67e132ed5b3fa8f
/src/pycrunchbase/resource/news.py
67242ca520fe227c4dc5b1285fa4919f577e6495
[ "MIT" ]
permissive
ngzhian/pycrunchbase
58cf96ed20b5b3f4861bb884bcf0d9ffcf4df808
ead7c93a51907141d687da02864a3803d1876499
refs/heads/master
2023-07-08T06:18:59.314695
2023-07-03T13:27:06
2023-07-03T13:27:06
30,629,033
69
45
MIT
2020-12-02T02:26:40
2015-02-11T03:39:14
Python
UTF-8
Python
false
false
734
py
import six from .node import Node from .utils import parse_date @six.python_2_unicode_compatible class News(Node): """Represents a News on CrunchBase""" KNOWN_PROPERTIES = [ "title", "author", "posted_on", "url", "created_at", "updated_at", ] def _coe...
[ "ngzhian@gmail.com" ]
ngzhian@gmail.com
a41968ea4e718a0aaf54c461d566c04e95cd5ef3
7d36392c034211d40dec29bca71cf9edeb65a5cd
/akirachix/models.py
2d1d03e6c4697e5cbe7dda59c26deb5ad996bcfe
[]
no_license
susanawiti/api-classes
21170e171bce5cf94d6966aa7055471918f7d265
b323933ddabe02b2b1fa1d93652aeb3491e64d1a
refs/heads/master
2021-07-08T00:18:56.399810
2017-10-03T09:05:56
2017-10-03T09:05:56
105,632,416
0
0
null
null
null
null
UTF-8
Python
false
false
464
py
from __future__ import unicode_literals from django.db import models import datetime # Create your models here. class Post(models.Model): userId = models.IntegerField(default=1) title = models.CharField(default="Default Title", max_length = 190) body = models.TextField(default='Body of post goes here') ...
[ "susanawiti95@gmail.com" ]
susanawiti95@gmail.com
b1c6ea574c79b9969846989153c8237e1508baf1
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/tree-big-622.py
e0c3373dd20ce956070551e9031ef9fac32135c3
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
23,286
py
# Binary-search trees class TreeNode(object): value:int = 0 left:"TreeNode" = None right:"TreeNode" = None def insert(self:"TreeNode", x:int) -> bool: if x < self.value: if self.left is None: self.left = makeNode(x) return True else: ...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
b2d39ea40d85aa8dcf18f27da1dd36f9c3d41d73
8f0c385956efcf92fcc83d9f9125a2d2bc027c03
/env/Scripts/f2py.py
3e8454bd2d6d49681d4399f8aa8387b1fc45b689
[]
no_license
TrellixVulnTeam/OfficialCompleteWebApplication_5JVN
ca42e3e7a2ff1cd97ec68479aeb0bb8b258b2dd8
2a707af52241779278a41c04298956c9ba585bf5
refs/heads/master
2023-03-16T07:27:15.679905
2018-10-19T15:33:11
2018-10-19T15:33:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
823
py
#!d:\windowspython\pythonproject\env\scripts\python.exe # See http://cens.ioc.ee/projects/f2py2e/ from __future__ import division, print_function import os import sys for mode in ["g3-numpy", "2e-numeric", "2e-numarray", "2e-numpy"]: try: i = sys.argv.index("--" + mode) del sys.argv[i] ...
[ "GBTC440014UR@MC.MONTGOMERYCOLLEGE.EDU" ]
GBTC440014UR@MC.MONTGOMERYCOLLEGE.EDU
48d176180c8715f929f5098f7672d5cb76068d20
580f4ea380dda415c571ff6d122f8730d8de6682
/small_instagram/views.py
285e97060b66d4ab51e5e0092927843b07d9ae54
[]
no_license
chyinglin/small_instagram
85922b21da38f5f296cbee62ef55047c116fa134
c4b530a47639ca2480842328b18afcf650ff6a32
refs/heads/master
2021-07-06T14:55:34.427861
2020-03-27T13:16:20
2020-03-27T13:16:20
244,367,612
2
0
null
2021-06-08T21:10:23
2020-03-02T12:38:25
Python
UTF-8
Python
false
false
876
py
from django.shortcuts import render from django.urls import reverse_lazy from django.views.generic import DetailView, ListView, TemplateView from django.views.generic.edit import CreateView, UpdateView, DeleteView from small_instagram.models import Post # Create your views here. class Helloworld(TemplateView): t...
[ "phoebe.lin@oriente.com" ]
phoebe.lin@oriente.com
9102954aee63aa1de8128785de2d2f9e90d976f9
a79cccacfa422012caac481b5eff80f6e911d0af
/jax/experimental/gda_serialization/serialization_test.py
cef36c9f56c1553a70bcf8e80935396e0bf0d8b0
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
jblespiau/jax
f932fe6df23942756957db61655f6cc9c6d67d64
46a666c4489b9e04d2777cf2156453bc48a8e432
refs/heads/main
2022-04-17T01:50:55.041057
2022-04-15T08:49:52
2022-04-15T08:49:52
481,888,965
0
0
Apache-2.0
2022-04-15T08:20:44
2022-04-15T08:20:43
null
UTF-8
Python
false
false
6,163
py
# Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "no-reply@google.com" ]
no-reply@google.com
29d95c7d78081bb32e239f1ff033ca7a0b8468e6
0a0dacd9c5cfaad2e1305e469cc4aaa0fc6a36c6
/project/project/settings.py
5a82879ea81f5fbef4ba112b10b86634ff401a60
[]
no_license
mikhail-schedrakov/motivate-me
18411b92c200f4328b0a05844dd3f44eddffbf96
8867e9a18b95e44cbc7571696c82c84b8c814777
refs/heads/master
2016-09-03T06:31:45.178051
2014-05-13T07:20:39
2014-05-13T07:20:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,374
py
""" Django settings for project project. For more information on this file, see https://docs.djangoproject.com/en/1.6/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.6/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE_DIR, ...) im...
[ "mikhail.schedrakov@gmail.com" ]
mikhail.schedrakov@gmail.com
1958e4fd3cd5234c86f6dd7f259d43da2a520bd3
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03032/s283156387.py
473d0ed84ab4c0f25eab299ea36e78724919eff4
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
400
py
n,k = map(int,input().split()) lis = list(map(int,input().split())) ans = 0 for i in range(n): for j in range(n-i+1): num = lis[:i] if j > 0: num += lis[-j:] if len(num) <= k: cnt = min(len(num),k-len(num)) num.sort() for h in range(cnt): ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
fb659577e281930692b033c8a954e76c92e79e5a
13f61f3ec5afcf9bfaf1e49c35d147ca399b7b9b
/polls/admin.py
0a57cbc72b0f402aa1aeaa265e8c19c855162ab5
[]
no_license
nevinl/qsource
5bf4faebde15f3de141cc1e7f084d39e5b84f0fa
4cf8284446e00f11e236bc0e2d72d01880e49597
refs/heads/master
2021-01-10T07:04:50.165543
2015-10-22T18:22:31
2015-10-22T18:22:31
44,188,216
0
0
null
null
null
null
UTF-8
Python
false
false
480
py
from django.contrib import admin from .models import Question class QuestionAdmin(admin.ModelAdmin): fieldsets = [ (None, {'fields': ['question_text', 'ans1_text', 'ans2_text']}), ('Date information', {'fields': ['pub_date'], 'classes': ['collapse']}), ] list_display = ('questio...
[ "nevinl@rpi.edu" ]
nevinl@rpi.edu
dd773633d85d0d1d73c0a0a758c4bdebd3107be2
6f7ba68d9e2ba6cfc7f07367bcd34a643f863044
/cms/siteserver/siteserver_background_keywordsFilting_sqli.py
24feed6f2a0c31d35687f1091c3bcc6d3214f82b
[]
no_license
deepwebhacker/Dxscan
2e803ee01005a1d0a7802290bfb553f99e8fcf2e
eace0872e1deb66d53ec7cfc62f4c793f9421901
refs/heads/main
2023-03-06T10:26:23.371926
2021-02-22T14:03:51
2021-02-22T14:03:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,719
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' name: siteserver3.6.4 background_keywordsFilting.aspx注入 referer: http://www.wooyun.org/bugs/wooyun-2013-043641 author: Lucifer description: 文件/siteserver/bbs/background_keywordsFilting.aspx中,参数Keyword存在SQL注入。 ''' import sys import requests import warnings from termcolor...
[ "noreply@github.com" ]
noreply@github.com
6ff26b8d9ae38917b7431bfed76b9954ca7affc6
ddce4c65dec00d757d7397489585a16fdb40d8a6
/Dataloader.py
77cba210d8b1ac86072d3380f3870109aa126a4e
[]
no_license
BENULL/Transformer
de869ec72df5dc339cc8d956a25e0f3c696711e0
58e4639d5cb2da969c0e5b0e94db07f73b528de0
refs/heads/master
2023-05-03T17:33:21.200217
2021-05-28T14:42:54
2021-05-28T14:42:54
369,182,909
2
2
null
null
null
null
UTF-8
Python
false
false
1,786
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ @author: BENULL @time: 2021/5/25 19:42 """ from torchtext import data, datasets import spacy import de_core_news_sm import en_core_web_sm from torchtext.data import Field, Dataset, BucketIterator from torchtext.datasets import TranslationDataset spacy_de = spacy.loa...
[ "327137362@qq.com" ]
327137362@qq.com
22dc25f069282eaf0bc52b23aadee2434f9c0b15
f3cb7fb8c116b1a372b1d9a2194da4263d085cea
/180202_class.py
ea0203da307075e7401a0abc05b432a289166168
[]
no_license
www-wy-com/StudyPy01
5feac935cb3a733a2129f48df590e8554cf35b7b
eee68779b33c70f7f86f7f86eb95f93e39a2c879
refs/heads/master
2021-04-06T00:22:57.685808
2018-03-10T10:52:12
2018-03-10T10:52:12
124,646,835
0
0
null
null
null
null
UTF-8
Python
false
false
4,600
py
# -*- coding: utf-8 -*- import math class Person: def __init__(self, name): self.name = name def say_hello(self): print('hello ,my name is', self.name) person = Person('wy') person.say_hello() class Robot: """表示有一个带有名字的机器人。""" # 一个类变量,用来计数机器人的数量 population = 0 def __init_...
[ "wang077@qq.com" ]
wang077@qq.com
1beb1144c7b56097989fcdabaaa2c9198a738b49
fcf91774105f020482c3c07632c0ee462a6d1394
/uwiki/models/media/page.py
ed20e28e9db6181b83f241125db6c8363103dcb3
[]
no_license
mikeboers/uWiki
fcac466e82d16b2ed219d06b834b766e7a9de43e
3c9b0a7ab07a550f52f5d5d38105df901d5a3801
refs/heads/master
2023-06-08T05:53:50.066814
2018-03-05T18:03:45
2018-03-05T18:03:45
15,181,192
4
0
null
null
null
null
UTF-8
Python
false
false
725
py
import flask import wtforms as wtf from .core import Media class Page(Media): __mapper_args__ = dict( polymorphic_identity='page', ) _url_key = 'wiki' class form_class(Media.form_class): content = wtf.TextAreaField(validators=[wtf.validators.Required()]) def prep_form(self...
[ "mikeb@loftysky.com" ]
mikeb@loftysky.com
34b66bfddd0bd241244a688c02fb17306a45dc52
9561f31243f5ac59dd4c75e67b14b0aa0e320f32
/dummy2.py
1a9bf88505d8a09823b11df9cb4593070bb378e0
[]
no_license
Rikitardi/dobotPA
85a662395ba54902432ca2d44b7e34c2c8b108bb
7da8c1e4789a579563aee29ab2141284e9287ecc
refs/heads/master
2020-05-04T15:48:42.848083
2019-07-04T13:36:03
2019-07-04T13:36:03
179,257,277
0
1
null
2019-07-04T13:36:04
2019-04-03T09:32:28
Python
UTF-8
Python
false
false
533
py
from Lib.riset import setport,setsocket # import importlib from Lib.manual_move import manualmove # from time import sleep from pydobot import Dobot from pydobot.dobot import Dobot from pydobot.JOG import JOG from pydobot.PTP import PTP # sleep(2) print("ajig") setport = setport() mainset = setport.mainse...
[ "rt.ardiansyah@gmail.com" ]
rt.ardiansyah@gmail.com
789546f8c14709456c6b89b810fe22388223e159
504e8af08d369154b4524b2be690cd03916b8a3a
/pygments_redis/__init__.py
8b7f9767560b338e6b1d6f359bbfc99df28a38b4
[ "MIT" ]
permissive
isabella232/pygments-redis
b1c86b3f09053c7c93f4d68e576da0bde2505263
f580c0f0c3135473235e20187f1315e5e9d07544
refs/heads/master
2022-11-09T17:06:13.557336
2020-06-15T18:39:59
2020-06-15T18:39:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
52
py
from pygments_redis.redis import RedisLexer # noqa
[ "brad.solomon.1124@gmail.com" ]
brad.solomon.1124@gmail.com
0c01a905f9252bf6960a5780682e2f3280f6f3fe
227a5813deead4ebb33176711da39ec57c5c1f1c
/sort.py
772f838ec9241088cea859a8f932b7a328f0cbf9
[ "Apache-2.0" ]
permissive
champs/tricks
dba338ad887e20d1f3210ccba8b214c565aed549
503ee3e69ffb9553429833d79c3ffb17a6b31ea9
refs/heads/master
2020-04-05T14:03:15.394368
2018-03-07T22:07:26
2018-03-07T22:07:26
41,399,874
0
1
null
null
null
null
UTF-8
Python
false
false
420
py
""" quick sort """ def sort(arr): less = [] eq = [] more = [] if len(arr) <= 1: return arr pivot = arr[0] for i in arr: if i < pivot: less.append(i) elif i == pivot: eq.append(i) else: more.append(i) return sort(less) + ...
[ "champ@exablox.com" ]
champ@exablox.com
8c23e89c6fcb8188a5ff098bb80e78800f3d3cb2
d12277dd545cbdc9af98fb53f174a5986c42c94d
/week3/Procentnaya stavka.py
34d6d91f392f960c304b85f72723f71b825fccf0
[]
no_license
maoz666/maoz-rep
43f5d43c21900c8f3138664f6fb6d2082adb89e2
13963da04a3619b3bf77e40c91638d4a2c615a08
refs/heads/master
2022-05-17T12:59:17.088777
2022-03-03T12:09:30
2022-03-03T12:09:30
229,946,055
0
0
null
null
null
null
UTF-8
Python
false
false
645
py
'''Процентная ставка по вкладу составляет P процентов годовых, которые прибавляются к сумме вклада. Вклад составляет X рублей Y копеек. Определите размер вклада через год. При решении этой задачи нельзя пользоваться условными инструкциями и циклами.''' p = int(input()) rub = int(input()) kop = int(input()) totalkop...
[ "artem.peshkov@gmail.com" ]
artem.peshkov@gmail.com
41b7feef50460048b24f08e248afc28415f619b1
41848a06943b564f1e94e647f10e22f4758ee902
/Lab2/demo.py
e48b3ded42f4a64f07738103a775af67b8316614
[]
no_license
tabzhangjx/network_Lab
7fbefa9eaec7c3da83797e58e2e2c334235ae4d8
3a85f341b7b1efade2a081a0174bac1f8efdf346
refs/heads/master
2020-04-06T21:12:21.555390
2018-12-14T03:24:07
2018-12-14T03:24:07
157,570,287
0
0
null
null
null
null
UTF-8
Python
false
false
13,954
py
from tkinter import * import threading,time,copy,os lock = threading.Lock() #进程锁 tables = [] #网络上的路由表的集合 table_new = [] #更新后的路由表的集合 #通过这两个表的交换赋值来更新 luyou_wrong = '--' #故障的表的名字(默认一次只能故障一个路由) #每次更新控件显示的字符串 str_send = '' #发送了自己路由表的信息 str_update = '' #更新了自...
[ "tabzhangjx@outlook.com" ]
tabzhangjx@outlook.com
e0b801567a97d4e2e4316724893f75af79cc831f
5d355ab41cf66463bba668c57baf04e7e40ab3f2
/fall2018/morality/scripts/test_judge_service.py
5a8c086ca368bde82fb94dcdb5e64f3cb5b209b9
[]
no_license
rpiRobotics/Robotics1-Projects
5d83d5e7a12e21945399ee502bb27c41e2f58085
60e9bf8418248804390ed79ef7e7a9355eada611
refs/heads/master
2020-06-10T11:34:49.638473
2018-12-18T05:26:42
2018-12-18T05:26:42
75,967,634
6
49
null
2017-12-18T21:35:13
2016-12-08T19:15:37
Matlab
UTF-8
Python
false
false
683
py
#!/usr/bin/env python3 import morality.srv import duckietown_msgs import rospy import sys def judge(duck_list): rospy.wait_for_service('judgement/judge') judge_svc = rospy.ServiceProxy('judgement/judge', morality.srv.judge) ducks = duckietown_msgs.msg.ObstacleProjectedDetectionList() for d in duck_list: duck = d...
[ "noreply@github.com" ]
noreply@github.com
307fbf67242348fce66f35dde1b9189a854f6853
7ecf3b5e59aadc52ae3bb388b6ac80f826365983
/app/migrations/0005_auto_20191003_1228.py
1f3d281b9313ab605a85a26b84e43dd8e7e006db
[]
no_license
AlexKotl/tennis-friends
4fb0b817836b01f898b8ef9c03751a3557cc5f66
dd0c9c5e4efe78a4198f026b3a40a8a278d83368
refs/heads/master
2022-05-20T15:29:35.697321
2019-11-28T19:20:31
2019-11-28T19:20:31
210,430,027
0
0
null
2022-04-22T22:30:53
2019-09-23T18:56:32
JavaScript
UTF-8
Python
false
false
551
py
# Generated by Django 2.2.5 on 2019-10-03 12:28 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0004_auto_20191001_1419'), ] operations = [ migrations.AlterField( model_name='player', name='email', ...
[ "slicer256@gmail.com" ]
slicer256@gmail.com
7c3ae23e737da503c2ed2d9af074a6a2027c0b62
46b07ab6f3e80b626adbe4d2078df5ff873a3c8e
/blog/migrations/0001_initial.py
763b1758e1cb943ff0bc6fd853042793c4eb21b8
[]
no_license
tayeaina07/portfolio-project
18834adbe02cb34548a46f7c8637f6f9f9236fcb
e1c0b9ff099361fa3a8403092f60b52c990b4cf6
refs/heads/master
2022-11-16T10:15:26.861927
2020-07-04T20:48:58
2020-07-04T20:48:58
275,672,091
0
0
null
null
null
null
UTF-8
Python
false
false
653
py
# Generated by Django 2.2.13 on 2020-06-29 11:22 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Blog', fields=[ ('id', models.AutoField(au...
[ "taye1232002@yahoo.com" ]
taye1232002@yahoo.com
6509cd712e1dfd161af80f090805ac311ca7c652
790cf46242e0bbb0080b64fdaecfecdcb20717f2
/dTree/tree.py
dcb2843d8c50cb25b8ef2758406152d8fb77a5ff
[]
no_license
c0dehvb/Machine-learning
51f0c32b9fdfc59169e43f352b164ee91ca8dcef
8029a400051ef06b30994667b2991ee6ef1bd614
refs/heads/master
2021-08-30T02:03:34.167208
2017-12-15T16:18:12
2017-12-15T16:18:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,206
py
from math import log # 计算香农熵,用于评估一个结果集的复杂程度(结果越大,则resultSet中的元素越混乱) def calc_shannon_ent(resultSet): num_entries = len(resultSet) labelCounts = {} for each_result in resultSet: if each_result not in labelCounts.keys(): labelCounts[each_result] = 0 labelCounts[each_result] += 1 ...
[ "502291755@qq.com" ]
502291755@qq.com
1c126f772b296ae783e726c73c82945ff729998a
72f199782e8cbd5e59e2bc9135dcaa7c6fb3f833
/hooks/post_gen_project.py
200bbdaf3a66c3051dd481266a94b82c7f3bc6d1
[ "MIT", "JSON" ]
permissive
westonkjones/dash-collapsible-tree
80b9f49dcef5b530bbc5d806fbf88d75f3d2bc0c
9fbd43de228ea5ffa85e25b68db4576cb56284c1
refs/heads/master
2023-01-08T10:10:47.940656
2019-08-20T17:25:29
2019-08-22T20:28:41
201,374,885
1
0
null
2023-01-04T06:44:31
2019-08-09T02:38:15
Python
UTF-8
Python
false
false
2,479
py
from __future__ import print_function import shlex import sys import os import subprocess install_deps = '{{cookiecutter.install_dependencies}}' project_shortname = '{{cookiecutter.project_shortname}}' is_windows = sys.platform == 'win32' if is_windows: python_executable = os.path.join('venv', 'Scripts', 'pyth...
[ "wes.jones@muserk.com" ]
wes.jones@muserk.com
f043f43f24358beb9347e0cfaca0c735c6a4b749
99206e2d7bd338e7760be8161c03bf58badc600b
/kth num.py
cba44c7076ce4128aa34da8cee35f5c7e6248852
[]
no_license
Arun0033/Guvi
524987307f1b58229293c81f82ab8e9dc9949743
f49d4b2892bcf6b17ab4bc7acd761300ec9d9043
refs/heads/master
2020-05-25T23:00:35.506103
2019-07-21T04:27:32
2019-07-21T04:27:32
188,026,095
0
0
null
null
null
null
UTF-8
Python
false
false
126
py
num,n1=map(int,input().split()) m=list(map(int,input().split())) for i in range(1,num+1): if i==n1: print(m[i-1])
[ "noreply@github.com" ]
noreply@github.com
582302c3619958b67faf74202cdf4418340616c1
b2f8c41358f6c6f4ce78328695a7b4f96adf806b
/staff_crm/apps.py
c4f1bce309a4b15bd048c1a4cfc2964dc43f754b
[]
no_license
funsojoba/staff_management_api
6f472ea0a53095b6860969cf88f87b50fea69729
792bc652ec61e3f0d16bab1ff36cf72643161dbe
refs/heads/main
2023-05-24T04:45:20.895495
2021-06-13T19:45:07
2021-06-13T19:45:07
373,336,004
0
0
null
null
null
null
UTF-8
Python
false
false
149
py
from django.apps import AppConfig class StaffCrmConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'staff_crm'
[ "42432746+funsojoba@users.noreply.github.com" ]
42432746+funsojoba@users.noreply.github.com
1fafae8596361f603ebd25e787bd4be999a3be92
a1c8ef223efcf5561ab5aac0e7265010f6544fdc
/src/game_start.py
be8678785efc0fad965e9bde0bfd53d5cf5fe464
[ "MIT" ]
permissive
islamariya/python_console_lotto_game
a49b9750ef17adf0d08b9e4e681d61f6da8ec4cc
e700251b720c90747f769b5c3a5deb7017bbaf81
refs/heads/master
2020-12-08T12:27:54.701936
2020-02-20T07:40:11
2020-02-20T07:40:11
232,981,327
0
0
null
null
null
null
UTF-8
Python
false
false
621
py
from game_play_logic import Raffle def main(): """ This is a main function to launch the lotto game. There are 2 players in game: computer and user. Each player has 1 card with 15 unique numbers from 1 to 90. Each round Dealer selects a number. Player should confirm whether there is a selected numbe...
[ "noreply@github.com" ]
noreply@github.com
d71947fe3442370a76b55a7afedcc869bed084a9
589f1fc174380a7c748c5a5f6418608a97df75ca
/env/lib/python3.7/tokenize.py
370121746a3fa347d94c92c963ad1a9a02ebb3bc
[]
no_license
jagadishgit05/Hostel-Management-System
860d254bed8181f5f9afa2e8054f2252de1d063a
451925b76d9a02c0fc8b3f1688c9f2f85b575b9e
refs/heads/master
2020-08-05T21:16:35.275073
2019-06-07T06:08:09
2019-06-07T06:08:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
46
py
/home/veda/anaconda3/lib/python3.7/tokenize.py
[ "vedavikas06@gmail.com" ]
vedavikas06@gmail.com
9849f39bc69afbdf61a6097096d60a628a474288
af48130cc73ba4020944d7fe163ffc2c20e325ab
/Pictonary/client/bottom_bar.py
a9c2af0402ec13bbc6a83eb742411da30a7ebe2e
[]
no_license
anassfresco/chess-2d-online
a64fd2b93295cc0888cabc30adc665caa4560897
97700c5234815a6e295b71217ea056b9187fd364
refs/heads/main
2023-05-24T11:59:02.230044
2021-06-17T00:31:36
2021-06-17T00:31:36
377,661,106
0
0
null
null
null
null
UTF-8
Python
false
false
2,286
py
import pygame from button import Button, TextButton class BottomBar: COLORS = { 0: (255,255,255), 1: (0,0,0), 2: (255,0,0), 3: (0,255,0), 4: (0,0,255), 5: (255,255,0), 6: (255,140,0), 7: (165,42,42), 8: (128,0,128) } ...
[ "noreply@github.com" ]
noreply@github.com
a6a472390cfb8e6c8d8f782de143a01ba41e2d34
343d529939dddd12429ee77151313814fc154f6c
/Ch05_자료형/formatting1.py
74fa5da483ac43cf09de1ee015d04781a083409e
[]
no_license
dongupak/Basic-Python-Programming
6dcbc7585e350683d675892fa1d41ae5d589fc3e
113b7d1ff5b1a46572656384e234612382efb0df
refs/heads/master
2020-04-22T03:13:11.425046
2019-12-10T06:58:11
2019-12-10T06:58:11
170,078,198
1
1
null
null
null
null
UTF-8
Python
false
false
198
py
number = 20 greeting = '안녕하세요.' place = '퐁당식당' wait = '잠시만 기다려주세요.' print(greeting,place,'입니다. 손님의 대기 번호는',number,'번 입니다.',wait)
[ "noreply@github.com" ]
noreply@github.com
21f288523768e39055ccbc84b4756eceef1843ec
ef94dca44f7d591f4460962010df2eb306363cbc
/tournament/migrations/0012_tournament_prize_pool.py
b0cf7aff2ffc2fe3cae38fda841af47991d9b2b3
[]
no_license
KolbyMcGarrah/psc
6ac3653196c7665dd6dafbcabbae114821f3fa67
6b073d2cc6caefbc6b5c1599fc5d07106b84bee6
refs/heads/master
2022-02-24T04:35:59.907642
2019-10-29T17:21:07
2019-10-29T17:21:07
177,667,588
0
0
null
null
null
null
UTF-8
Python
false
false
454
py
# Generated by Django 2.1.5 on 2019-04-13 19:42 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tournament', '0011_playerresults_flight'), ] operations = [ migrations.AddField( model_name='tournament', name='priz...
[ "Kolbymcgarrah@gmail.com" ]
Kolbymcgarrah@gmail.com
2da5517f1320908d1fd4a90c8fa9cefb30d78ec4
542af8ac434e7f66f062dd85a0c6439b5abac56b
/Naive Bayes/Custom/nb.py
07efd93c8880b209e751ee41cfc6026af6997669
[]
no_license
fhm950/Machine-Learning
315d7fa3c5ffd0032a99ec0e91053ed66bb341b7
bf3532b97f878049ca626db4b6ef5d9c4050f9be
refs/heads/master
2022-12-07T23:19:16.427887
2020-08-15T11:11:22
2020-08-15T11:11:22
271,773,098
1
0
null
null
null
null
UTF-8
Python
false
false
1,448
py
import numpy as np class NaiveBayes: def fit(self, X, y): n_samples, n_features = X.shape self._classes = np.unique(y) n_classes = len(self._classes) # init mean, variant, priors self._mean = np.zeros((n_classes, n_features), dtype=np.float64) self._var = ...
[ "noreply@github.com" ]
noreply@github.com
731fbdc9e13ee5b9a1ea5a104bbad517d8bd7f0b
90ee0484f793b3a2d34cdd7ad664cc2c06a6e93a
/122_map_function.py
0a183411c5488c529de96a79e282169049be0770
[]
no_license
Nmewada/hello-python
1a4f624e9d2ac2b4cc0e9b6ad420d53b687fe302
7f1ee3950fd609c8a40fdef67402dfb99ff8c439
refs/heads/master
2023-05-03T07:36:54.884731
2021-06-01T05:12:41
2021-06-01T05:12:41
372,016,144
0
0
null
null
null
null
UTF-8
Python
false
false
328
py
#map function #Map function takes two arguments. It takes a function name and a list #map(function to apply,list of input) #Without map function: h1 = [1,2,4,5,7] sq =[] for item in h1: sq.append(item**2) print(sq) #With map function: def square(n): return n**2 h1 = [1,2,4,5,7] sq = list(map(square, h1)) p...
[ "nitin.mewada1992@gmail.com" ]
nitin.mewada1992@gmail.com
7ed0744fe9b3c565b47fa151cf6c44c75483236d
2e27e134c6659c30ff2ead37ff51442642069c88
/src/test.py
72d931c45d00fdff339d76c2191f137757e0d939
[]
no_license
7bvcxz/Workplace
95837b9e67238446ceadc455e239374b1e148087
32d32edceb0a7cd58be69b889a9b62db021995ed
refs/heads/master
2023-04-18T13:56:42.870047
2021-05-01T06:42:26
2021-05-01T06:42:26
361,614,966
0
0
null
null
null
null
UTF-8
Python
false
false
261
py
import tensorflow as tf # Load MNIST dataset and scale values to [0 1]. (_, _), (x_test, y_test) = tf.keras.datasets.mnist.load_data() x_test = x_test / 255.0 model = tf.keras.models.load_model("../weight.h5") #Test the model results = model.predict(x_test)
[ "7bvcxz@gmail.com" ]
7bvcxz@gmail.com
b5558899d59f193c7925b4722315bcff838130f3
803576464d138b73403dae7808168cd1cca6364b
/jupytext/DPA_analysis.py
05a8d8f828a899b5d58d1811d2e78a3a8b0d6839
[ "BSD-3-Clause" ]
permissive
alishakiba/DPA
ec0e953500215bc403a019a57a2d3ca297664be5
0d0f3b04a7289408d04b2a99da728282b3056ae6
refs/heads/master
2023-03-16T02:45:35.335158
2021-03-18T18:11:58
2021-03-18T18:12:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,013
py
# -*- coding: utf-8 -*- # --- # jupyter: # jupytext: # text_representation: # extension: .py # format_name: light # format_version: '1.5' # jupytext_version: 1.7.1 # kernelspec: # display_name: Python 3 # language: python # name: python3 # --- # # The Density Peak Advanced c...
[ "maria@ninthfloor.org" ]
maria@ninthfloor.org
59fedb17f8722439c3814f478d134f626b0a4c4a
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/48/usersdata/82/15966/submittedfiles/estatistica.py
31ad4a0026cf93a6236f0ea7646c0afd92d24f53
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
794
py
# -*- coding: utf-8 -*- from __future__ import division def media(lista): soma = 0 for i in range(0,len(lista),1): soma = soma + lista[i] media = soma/len(lista) return media a=[] b=[] n= input ('Digite a quantidade de elementos:') for i in range (0,n,1): a.append(input('Digite um elemento:...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
979b45a989b4b9daa5fbb76e34d94d4b21e26ff7
d43217707e0972e4b9dd5d881d36fe2d78e2d1d9
/movies/entertainment_center.py
1297c07529c6a185aa6344ba183e21a742b33730
[]
no_license
aakashsethi20/Python-Learning
e7109cb75d3b0a8a841bb47909d2a08267faa231
56b505f606024559c49dc6cc211f69304f76a73c
refs/heads/master
2021-01-10T14:45:03.161405
2016-02-08T03:51:58
2016-02-08T03:51:58
50,249,617
0
0
null
null
null
null
UTF-8
Python
false
false
1,344
py
import media import webbrowser import sys import fresh_tomatoes film_300 = media.Movie( # Title "300", # Story "King Leonidas goes to war with 300"+ " Spartans against 300,000, "+ "soldiers of Persian Lord Xerxes.", # Poster "https://upload.wikimedia.org/wikipedia/en/thumb"+ "/5/5c/300poster.jpg/220px-300post...
[ "aakashsethi20@gmail.com" ]
aakashsethi20@gmail.com
874dacdb0b9480f0968e0cc6a450d9708d1fb1ec
b741b8c9a004e9a82ae774410946d1057bcd33aa
/Raspi Code/cameraRanger.py
4f1222dffd26db38281bd6c1bea44e03dda9026b
[]
no_license
jeffreycoen/raspiRobot
1663909d1cf444425d5d2f0e55843833685fe21f
6d774987d6b26f97820ab51864d4d04f89c01738
refs/heads/master
2020-03-07T17:58:04.313293
2018-04-01T12:40:00
2018-04-01T12:40:00
127,625,638
0
1
null
null
null
null
UTF-8
Python
false
false
467
py
# Attach: SR-04 Range finder from rrb3 import * import time, random import picamera camera = picamera.PiCamera() BATTERY_VOLTS = 9 MOTOR_VOLTS = 6 rr = RRB3(BATTERY_VOLTS, MOTOR_VOLTS) try: while True: distance = rr.get_distance() print(distance) if (distance < 20): camera.c...
[ "jeff.coen@gmail.com" ]
jeff.coen@gmail.com
d1a9be1d4a234bfa455989f08e4764a1d9a0b77c
ccb22d4a5c08685e6f90a35277036c1fa8472e78
/sakanet/migrations/0006_alter_message_utilisateur.py
baf9efe66480f0392f4d3049e956dd442603ef27
[]
no_license
Nyhasina23/SakaNet
981cb18429bc4e23cbed2af706114211d4c1d78d
60790830653c41238137e35917b76a591e05baa9
refs/heads/master
2023-08-15T04:09:10.464339
2021-10-08T14:51:53
2021-10-08T14:51:53
387,493,554
1
0
null
null
null
null
UTF-8
Python
false
false
617
py
# Generated by Django 3.2.5 on 2021-08-14 21:53 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), ('sakanet', '0005_alter_me...
[ "nyhasina.finaritra@gmail.com" ]
nyhasina.finaritra@gmail.com
1f3d31df76c9cf814ba2d38e2996e63d157e5170
8705d4c96cd3e2f2f6585a27620a296622d6a28d
/captains_log.py
56b3bbeee3801c6cf0a5493aeed100dbda071a36
[]
no_license
lpdabest1/CS-303E
161f58772632e1d55786a52da800e3aafe2a08e6
7f552ccf927323403e02e967812492a5b3370605
refs/heads/master
2022-11-26T23:58:42.063057
2020-08-03T19:26:37
2020-08-03T19:26:37
284,785,804
0
0
null
null
null
null
UTF-8
Python
false
false
458
py
"Captain's log entry 253: Our ship is still on course to enter pluto's atmosphere in approximately 56 hours. We've finished preparations for the landing and subsequent sciencing that is to be done once we reach the planet, all that's left now is to wait for the ship to breach the atmosphere, so I've instructed the cr...
[ "noreply@github.com" ]
noreply@github.com
79c6cca42e94fd0c5676e0361b6555c5e3028b58
368135329a3c6febd0e58b05b657f88c4a07141f
/models/Batch/CalculateInterest.py
b7dd69d37e42e85884cceac0ee94d3e914b33ae6
[]
no_license
YuktiP/CS5721_Software_Design
f741cca2bca29cc500a9e82b0b80dd9cfc34368b
e1fc473e46b84713c0d93dcdaf7cb9fa7e3f7435
refs/heads/main
2023-01-31T07:29:42.994652
2020-12-16T15:59:12
2020-12-16T15:59:12
311,100,282
1
0
null
null
null
null
UTF-8
Python
false
false
468
py
from Interfaces.IBatch import IBatch from models.Result import Result from models.Batch import BatchCreateHelper as bh from app import db class CalculateInterest(IBatch): def __init__(self): self=self def Create(self,form): bhelper = bh.batchHelper batch = bhelper.createBatchObject(re...
[ "yuktipatil@gmail.com" ]
yuktipatil@gmail.com
abcbb682b64a1270844121d3fb01bfed0f2d6a9a
f7ede95657d3e7fdbfa611eda37250cbd9e30748
/run.py
1c5d884c94884ed5713f879c7b8dc1e030401720
[]
no_license
sftekin/siu_nlp
0a521f0a7da1339ad87527fbd52f86599ad7afcc
b7d79333eeb831d45ac650bf0b4d673894799801
refs/heads/master
2022-04-10T20:52:59.748756
2020-03-16T06:26:45
2020-03-16T06:26:45
230,878,780
1
1
null
null
null
null
UTF-8
Python
false
false
2,603
py
import numpy as np import matplotlib.pyplot as plt from run_helper import read_sup_dataset, preprocess_set, split_data, plot_roc_curve from batch_generator import BatchGenerator from train import train_deep from test import test from config import batch_params, train_params, model_config from models.sentiment_model im...
[ "sftekin25@gmail.com" ]
sftekin25@gmail.com
69774b1a130a3815006366330b014b4c70b04a63
b61d32c307a2bf81ad25b375c294abcf8c58e310
/data_loaders/load_eegs_one_c_improved.py
c38f7bea7175c8c952d73bade65e5d2c6fd02d58
[]
no_license
DanielLongo/eegML
1bad4b8a2aed882a3c2468b74cf0309c0dd8ef32
022d836d89cd61200c81fa81b044148326f9aa72
refs/heads/master
2021-07-17T06:14:59.773090
2020-05-19T23:34:37
2020-05-19T23:34:37
162,787,863
13
1
null
null
null
null
UTF-8
Python
false
false
11,387
py
import math import mne import sys sys.path.append("../GANs/") import time import datetime import numpy as np import os import torch from torch.utils import data import h5py import random import sklearn from sklearn import preprocessing import pandas as pd # from utils import save_EEG class EEGDataset(data.Dataset): d...
[ "dlongo@lotus.lee-messer.net" ]
dlongo@lotus.lee-messer.net
e71b4e008cb6ac7f9fcf02afb941863045dc9c37
d168c284cecaf1af209efdc3578e7a9f7b724d2a
/tasks/migrations/0003_auto_20191212_1757.py
e14624ff9dcfad9bc8d1af4b02f90d5e37d2259b
[]
no_license
shinkawk/djangovue
cfd561ffa2ef109f514fba6394fbeb21d1d1d948
5ebd32f61e2027ed9ae5fce2bb0913dad4085d80
refs/heads/master
2022-12-16T00:18:28.134340
2019-12-16T06:19:22
2019-12-16T06:19:22
224,652,837
0
0
null
2022-12-08T03:17:29
2019-11-28T12:51:28
Python
UTF-8
Python
false
false
983
py
# Generated by Django 3.0 on 2019-12-12 08:57 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('users', '0003_auto_20191212_1757'), ('tasks', '0002_usertask'), ] operations = [ migrations.AlterFiel...
[ "kohei.shinkawa@asterist.com" ]
kohei.shinkawa@asterist.com
2b1c888ed19da3073b1fcc9a4ad2599f84ed38f0
64bf39b96a014b5d3f69b3311430185c64a7ff0e
/intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/cisco/ios/plugins/module_utils/network/ios/providers/cli/config/bgp/address_family.py
0e0ce1ab78fecbd074f6c23d7f5f4d6866007720
[ "MIT", "GPL-3.0-only", "GPL-3.0-or-later", "LicenseRef-scancode-unknown-license-reference" ]
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
5,305
py
# # (c) 2019, Ansible by Red Hat, inc # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # from __future__ import absolute_import, division, print_function __metaclass__ = type import re from ansible.module_utils.six import iteritems from ansible_collections.ansible.netcommon...
[ "sifang@cisco.com" ]
sifang@cisco.com
ceb2d07b626378bf94096d72ebb364d3ad5fa417
291bdaa26130e3f79d82cefe204e8934e024f303
/django_15UniProject/django_15UniProject/settings.py
5b0b3292bc0093b92595169938aa537a76364c02
[]
no_license
Chetans-Django-TrainingOrg/django_practice_repo
8b6e1ecc455dafc00b9937fa584ec53a1a9d4c5b
046191ac32782189f72eb443221208d76fd5e3c8
refs/heads/master
2023-03-09T19:28:21.956592
2021-02-21T15:02:11
2021-02-21T15:02:11
334,744,803
0
0
null
null
null
null
UTF-8
Python
false
false
3,087
py
""" Django settings for django_15UniProject project. Generated by 'django-admin startproject' using Django 2.1.5. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ ...
[ "trainerchetanh@gmail.com" ]
trainerchetanh@gmail.com
be4034b96252307d6e130988d30401bb65314765
d7f4596491b47d74689d8731c9d0f10b51b5693f
/fastcampus/코딩테스트_면접/02. 알고리즘 이론/graph.py
6b593b8ff449f75e4ad3cf2229502620e69e8a70
[]
no_license
wonjongah/DataStructure_CodingTest
797b62d48321abf065f1507f14a3ed0902f48399
9d28c2aefbba2486f6158c066fd249fca3904346
refs/heads/main
2023-06-04T15:54:30.048106
2021-06-30T14:09:41
2021-06-30T14:09:41
327,008,361
2
0
null
null
null
null
UTF-8
Python
false
false
259
py
graph = dict() graph['A'] = ['B', 'C'] graph['B'] = ['A', 'D'] graph['C'] = ['A', 'G', 'H', 'I'] graph['D'] = ['B', 'E', 'F'] graph['E'] = ['D'] graph['F'] = ['D'] graph['G'] = ['C'] graph['H'] = ['C'] graph['I'] = ['C', 'J'] graph['J'] = ['I'] print(graph)
[ "wonjongah@gmail.com" ]
wonjongah@gmail.com
613be8343f28cd063eff6f14bb453675f5e30593
a952df0a409bf1e39fc76fca11c867935f0e09a8
/model/data_utils.py
f4bb26e4b548d21003aacf4ecdb3b4f250640061
[ "MIT" ]
permissive
swayam01/sequence_tagging-ner
42c2518085d30db1102d83f659d1006d0c2e9d36
9f00efc64a2c5fe43bf3b133908e36d895a6415f
refs/heads/master
2021-07-24T20:13:28.368995
2020-05-16T13:38:36
2020-05-16T13:38:36
170,644,625
3
2
null
null
null
null
UTF-8
Python
false
false
11,709
py
import numpy as np import os # shared global variables to be imported from model also UNK = "$UNK$" NUM = "$NUM$" NONE = "O" # special error message class MyIOError(Exception): def __init__(self, filename): # custom error message message = """ ERROR: Unable to locate file {}. FIX: Have you trie...
[ "noreply@github.com" ]
noreply@github.com
ffba54ad9ec2719623d2fe3ff231abb4b20af674
9a6713d3329d7d6a786cafac73f25cbc609b76ae
/BieleGastosApp/forms.py
8d96d8ecddea0cbb5195c9f585348b0e4660a219
[]
no_license
ionolur/2LGastos
b8dea92439cf69cf62ea77b18b656fa46115bdc7
e9f0eb0d61cabbbcdedc7289e9fe12186b7fe666
refs/heads/main
2023-03-07T15:25:53.418267
2021-02-28T14:17:56
2021-02-28T14:17:56
340,302,766
0
0
null
null
null
null
UTF-8
Python
false
false
2,740
py
from django import forms Sel_mes = [ (1,'Enero'), (2,'Febrero'), (3,'Marzo'), (4,'Abril'), (5,'Mayo'), (6,'Junio'), (7,'Julio'), (8,'Agosto'), (9,'Septiembre'), (10,'Octubre'), (11,'Noviembre'), (12,'Diciembre'), ] Sel_aino = [(2021),(2022)] class FormularioHoras (for...
[ "ion_olaizola@hotmail.com" ]
ion_olaizola@hotmail.com
6bb07b615f84fbb23f7067557b6cbabd3bd4c99a
0deba0f28b36ab39df4bdb2ed9fca9fedf638a91
/lovegov/modernpolitics/migrations/0064_auto__add_groupjoinedaction__add_createdaction__add_votedaction__add_d.py
d564975f7d1846082959bbf08976cb1eb4724a9d
[]
no_license
mhfowler/LoveGov
080e2c8fedcc3ad7b5d008787921558cfd86a2bf
a77c9d968059361fe09409d46568afe86239e3ba
HEAD
2016-09-06T06:03:34.289383
2014-09-04T15:32:39
2014-09-04T15:32:39
4,600,457
2
0
null
null
null
null
UTF-8
Python
false
false
86,467
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'GroupJoinedAction' db.create_table('modernpolitics_groupjoinedaction', ( ('actio...
[ "jsgreenf@gmail.com" ]
jsgreenf@gmail.com
0cf1cdbfb0ba2478ae353fdfb69f3f24ab885176
f8765e0fca3da12236ee0bb0c244910bdcc9361d
/GetToTheChoppa/GetToTheChoppa.py
e77ea9a00475416f159f592880b7c0226d6c8a35
[]
no_license
LukasHajda/CodeWars_graph_problems
696255db7904c94214ee759d2cf434ac65bd185e
61dc4655c5c7d6e6b07cb56669ab639db9ebbaaf
refs/heads/master
2022-12-12T06:07:36.125161
2020-09-09T20:53:23
2020-09-09T20:53:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,680
py
class Node: def __init__(self, nd, parent): self.nd = nd self.parent = parent self.visited = False def find_shortest_path(grid, start_node, end_node): import collections as col if start_node is None or end_node is None: return [] if len(grid) == 1 and len(grid[0]) == 1: ...
[ "hajda.lukas21@gmail.com" ]
hajda.lukas21@gmail.com
dab8185d9eaedeb2a2cc416a64fca705d22564a6
c3df9c4b9a8e0c4b339d5bc5e9915d282cd26b0e
/43. Multiply Strings(4 times, trick details, easy thought).py
39be6acdd6b76424708d44056fc58596f26a6e4d
[]
no_license
hsyv587/LeetCode
161c32760a76205a4860c5dc4ed1c28dac9c5253
9ffdc83ceae066f41e5963af485495e4b0744119
refs/heads/master
2021-07-08T13:45:09.075540
2017-10-04T18:03:27
2017-10-04T18:03:27
105,800,486
0
0
null
null
null
null
UTF-8
Python
false
false
1,794
py
class Solution(object): def multiply(self, num1, num2): """ :type num1: str :type num2: str :rtype: str """ ''' 12345 x1234 ----- ''' if not num1 or not num2: return '0' res = '' if len(num1)...
[ "sh4467@nyu.edu" ]
sh4467@nyu.edu
0c43934af2be6c727f1fe8ae0b69431cdfd40d14
b9f3588fd415fd90b153142e44e5d2ca7332463a
/src/table_extraction.py
06f2af5a3b163954eac02867063074b3e1880708
[]
no_license
Uvrenight/iccas-dataset
a088b9277e6b598a4a663cb6166741075fddd8a2
53de983ca5193c4326b1fc893a5737cbf16393d7
refs/heads/master
2023-01-07T05:41:11.155379
2020-10-31T10:17:59
2020-10-31T10:17:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,687
py
import abc import math import re from datetime import datetime from typing import Any, Callable, Tuple import numpy import pandas as pd from PyPDF3 import PdfFileReader from reagex import reagex from common import cartesian_join, get_italian_date_pattern, process_datetime_tokens def parse_int(s: str) -> int: if...
[ "gianluca.gippetto@gmail.com" ]
gianluca.gippetto@gmail.com
5c77b3546fcbc16991721ed3c047aebd00cf6cf3
24e8e5f8ab4dd077e072a59cfd48bfe0cadc88a0
/Jhenina/wordcloud/word_cloud-master/test/test_wordcloud.py
1ebc637b1eef364ae6afe627b50481f2c537a0ec
[ "MIT", "Apache-2.0" ]
permissive
ysalfafara/SCSRPOJ
9cd61742ed06d6e9f42976b51acb4d366bb85552
0986e6a6efd2997bfee1aea460ab8520af45a023
refs/heads/master
2022-11-14T12:45:46.927328
2017-11-21T21:29:39
2017-11-21T21:29:39
105,603,924
0
1
null
2022-10-26T10:55:19
2017-10-03T01:42:18
Python
UTF-8
Python
false
false
8,258
py
from wordcloud import WordCloud, get_single_color_func import numpy as np from random import Random from nose.tools import (assert_equal, assert_greater, assert_true, assert_false, assert_raises, assert_in, assert_not_in) from numpy.testing import assert_array_equal from PIL import Image from ...
[ "jheninasta.cruz@gmail.com" ]
jheninasta.cruz@gmail.com
89e2d5ab3554a35e9ac99e24e6d5a4c4608df57a
7de4d8baec33a759c2c108390f44af4c25e4e230
/HebbRule.py
0750b029cfa662fd116677e162a639b2732d416d
[]
no_license
SarmagSI2017/SBP
6f94188372cec24e8e60aa2adf60e4895b80f5f9
587cdccff8cd30f9f4375900316f36f9c94a79c1
refs/heads/master
2020-12-19T11:50:23.366716
2020-02-01T06:24:07
2020-02-01T06:24:07
235,724,819
0
0
null
null
null
null
UTF-8
Python
false
false
1,041
py
# Hebb Rule def HebbRule(x1, x2, b, t): w1 = 0 w2 = 0 bflag = 0 for i in range(len(t)): print("Data Ke -", i + 1) w1 = w1 + x1[i] * t[i] print(w1) w2 = w2 + x2[i] * t[i] print(w2) bflag = bflag + b[i] * t[i] print(bflag) return w1, w2, bflag ...
[ "57310720+iScherzo@users.noreply.github.com" ]
57310720+iScherzo@users.noreply.github.com
b06e451353f7e0253d28a6b9c150e6a87f98672c
e933fef00d0a042b2750dcef8e84c2afb1fee385
/gotquizsite/wsgi.py
0e256cbd69bc5d693022e4a63280bc4120f4f632
[]
no_license
Teresia/GoT-Quiz
c0cf19a46b37f58dc2d2aa94303511eac028e852
0d0781cf02277b6c63e3f77358edd18826f5298a
refs/heads/master
2021-07-05T23:15:14.224258
2017-09-28T22:57:02
2017-09-28T22:57:02
103,180,397
0
0
null
null
null
null
UTF-8
Python
false
false
235
py
import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTINGS_MODULE", "gotquizsite.settings") from whitenoise.django import DjangoWhiteNoise application = DjangoWhiteNoise(get_wsgi_application())
[ "teresia.schullstrom@gmail.com" ]
teresia.schullstrom@gmail.com
b041786d132261aff99bdd0e7b8dc733e8df61fd
41bb85b802023922a4b169aebad78911850cd99a
/week02/scrapy/maoyanmovies/maoyanmovies/settings.py
6a48d03f16ea077d7165b5f5e86b0f4bc0e2d66d
[]
no_license
xuliang520914/Python001-class01
d5a665739d5bd79029b539c6fcdec234f3803d94
deeebeaa21ae565b848b7b9b5ec7fdc5c5022b72
refs/heads/master
2022-12-13T22:29:10.761751
2020-09-07T03:51:05
2020-09-07T03:51:05
273,198,360
0
1
null
2020-06-18T09:35:49
2020-06-18T09:35:49
null
UTF-8
Python
false
false
3,977
py
# Scrapy settings for maoyanmovies project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://docs.scrapy.org/en/latest/topics/settings.html # https://docs.scrapy.org/en/latest/topics/downloader-middl...
[ "xuliangjj@sina.cn" ]
xuliangjj@sina.cn
a395fe723be7bcdbeca4f17f88a6d9e761d91afd
d85f37e3e2e0c6dbe07ccf5922bfe32114789320
/src/__init__.py
5c2e875c10659f6a2c33a81db2abc85ce3d09033
[]
no_license
EverythingMe/kickass-redis
505ff9625125290e99173d2b4b721159980ab97b
2459506d200fc84b028a93d1a10347de9a84b158
refs/heads/master
2023-08-29T15:13:42.332083
2014-11-02T16:14:42
2014-11-02T16:14:42
4,698,299
41
6
null
2018-09-12T14:56:24
2012-06-18T07:32:04
Python
UTF-8
Python
false
false
56
py
__author__ = 'dvirsky' __all__ = ['util', 'patterns']
[ "dvir@doit9.com" ]
dvir@doit9.com
95ab5afc2ac2a7aaade01c29fce37b36e0a504b8
345119b3294008df70e27f0a1186e76311c5d701
/课程源码/04-5-成员运算符.py
de6496454c08b42e23a402c6ea08e5c51734452a
[]
no_license
baomanedu/Python-Basic-Courses
19fec388937f05d0131bc9a05c625a8a176c026d
335e7264d67763b0f84b7bbaf8f1965da9df04b7
refs/heads/master
2022-03-20T22:32:08.866554
2019-08-17T06:57:31
2019-08-17T06:57:31
197,996,149
0
1
null
null
null
null
UTF-8
Python
false
false
278
py
# 成员运算符 student = ["zhangsan","lisi","wangwu"] print("xiaoming is my student ? -->{0}".format("xiaoming" in student)) print("xiaohua is not my student ? -->{0}".format("xiaohua" not in student)) print("zhangsan is my student? -->{0}".format("zhangsan" in student))
[ "zeyang@ZeyangdeMacBook-Pro.local" ]
zeyang@ZeyangdeMacBook-Pro.local
d935159894f787eb79230db0917c29d4cc3f5326
2d35ab9b803d02c165b870cdda4f77dfe55ce7e6
/exp3/exp3_3n 2/run.py
f5245ed6a4a41f4c62f67156c5ed3c2ebf7d9384
[]
no_license
folkpark/MPI_Benchmarking
7e2c5597272734140be223472c9060111c640e5c
00e4091be34dffbeeccd75cdbab00d263330c756
refs/heads/master
2020-04-22T07:26:44.336690
2019-03-02T19:42:03
2019-03-02T19:42:03
170,216,861
0
0
null
null
null
null
UTF-8
Python
false
false
260
py
#!/usr/bin/python3 import subprocess print('RUNNING EXPERIMENT 3 with 2 nodes') command = 'mpirun -hostfile hostfile -n 2 python3 mpi_ch_size.py' arg = command.split() for i in range(2): subprocess.run(arg) print('FINISHED EXPERIMENT 3 with 2 nodes')
[ "stryder03@users.noreply.github.com" ]
stryder03@users.noreply.github.com
966cd18aa12f78c223e44198b83e866bd246f688
11460fa2bee29b546b5985dead3800a7eed83afb
/ciphertext_gen
e6122ed2c2c4eac37f9b1eb119fb9b53e3c4dd5d
[]
no_license
nighostchris/COMP3632-Assignment-2-Py
a8b918dbd988d3eaf035e80ff150c79e126ebea3
2856fddda63f3b120b59674c412868b8afbed3a9
refs/heads/master
2021-03-27T14:09:41.818834
2017-11-05T12:31:00
2017-11-05T12:31:00
108,244,527
0
0
null
null
null
null
UTF-8
Python
false
false
1,071
#!/usr/bin/env python from Crypto.Cipher import AES import sys def b_to_num(message): #converts bytes to nums num = [] for i in range(0, len(message)): num.append(int(message[i].encode('hex'), 16)) return num def num_to_b(num): b = [] for i in range(0, len(num)): b.append(chr(n...
[ "chrisliupascal@gmail.com" ]
chrisliupascal@gmail.com
5941ae15de8d50faefafcad8fed4e9d17d948e27
c7a6f8ed434c86b4cdae9c6144b9dd557e594f78
/ECE364/.PyCharm40/system/python_stubs/348993582/gtk/_gtk/MountOperation.py
d327e51af64f413a5022e8715f458a73a8e61d5b
[]
no_license
ArbalestV/Purdue-Coursework
75d979bbe72106975812b1d46b7d854e16e8e15e
ee7f86145edb41c17aefcd442fa42353a9e1b5d1
refs/heads/master
2020-08-29T05:27:52.342264
2018-04-03T17:59:01
2018-04-03T17:59:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,919
py
# encoding: utf-8 # module gtk._gtk # from /usr/lib64/python2.6/site-packages/gtk-2.0/gtk/_gtk.so # by generator 1.136 # no doc # imports import atk as __atk import gio as __gio import gobject as __gobject import gobject._gobject as __gobject__gobject class MountOperation(__gio.MountOperation): """ Object Gt...
[ "pkalita@princeton.edu" ]
pkalita@princeton.edu
180e88d98af303716e48fe4980e86003a2e1937f
d3235aaa6194224d48b85a126218f7bf0c7c1a08
/apps/pagina/migrations/0046_auto_20190425_1754.py
bd7303e7161631bebc22ad3a34d1471494174c5d
[]
no_license
javierbuitrago/freenetsas
b95c158fa9bef8c5298ebc8896093469865ce24a
9d7c2859aa74153beb9fe35c743e0f176d10bfbd
refs/heads/master
2020-05-17T11:43:47.199164
2019-04-29T17:17:56
2019-04-29T17:17:56
183,691,202
0
0
null
null
null
null
UTF-8
Python
false
false
1,706
py
# Generated by Django 2.2 on 2019-04-25 17:54 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('pagina', '0045_auto_20190425_1704'), ] operations = [ migrations.AddField( model_name='footer', name='background_color...
[ "ganbetacool@gmail.com" ]
ganbetacool@gmail.com
872ca1c40abfe2f773c8a10618fbf21fe8b0cea3
2196d3798497fc7d3d80cd02b008dbb35dbd64d8
/d06/ex04/d06/exos/views.py
cd5b6ae4e8998c24e11ecf37cd517ab957961d72
[]
no_license
avallete/Python-Django-Pool
d59965e1c6315520da54205848d4f59bf05a9928
cee52fe4b30cbc53135caf89a8a8843842e2daeb
refs/heads/master
2021-03-30T06:36:37.546122
2016-10-13T15:08:40
2016-10-13T15:08:40
69,851,733
4
2
null
null
null
null
UTF-8
Python
false
false
2,985
py
from django.contrib import auth from django.contrib.auth.decorators import login_required from random import choice from exos.models import Tip from exos.forms import * from django.shortcuts import render, redirect from django.conf import settings # Create your views here. def main(request): # If user is not auth...
[ "avallete@student.42.fr" ]
avallete@student.42.fr
f6b2f330c789616d8dfe8b4a156b441c50143722
3992ed3ea9347715345a7ae78656c9418f019f28
/app.py
84de00c39ea39423161d80ad25d279bdd8954b6b
[]
no_license
Gary-Schulke/ETL-Project
1f088f021a479ea0ecffa818d6b3cd477d1e0935
dae26a01f3903f8d031af2050ce5de8b93001bf8
refs/heads/master
2020-09-16T04:18:46.692125
2020-04-15T23:29:53
2020-04-15T23:29:53
223,651,019
0
0
null
null
null
null
UTF-8
Python
false
false
3,248
py
import numpy as np import sqlalchemy from sqlalchemy.ext.automap import automap_base from sqlalchemy.orm import Session from sqlalchemy import create_engine, func from flask import Flask, jsonify from config import postgres_pw ################################################# # Database Setup #######################...
[ "ellenyhsu@ELLENs-MacBook-Air.local" ]
ellenyhsu@ELLENs-MacBook-Air.local
f82909b445da67b0722152edf6a090b84f4b65db
53b47aad5c86630cfa634127c8bd30e490959e17
/web_app/handwrite.py
76f5e043ce526ca9e52e838e35509bc311ccca2d
[]
no_license
krison44/text2HandWriting
512b45edfa201bc11fe4e66b7513a55116c4b425
986946fd08139c6a880356215c7aa12bea246330
refs/heads/main
2023-01-14T14:07:06.255677
2020-11-24T02:27:33
2020-11-24T02:27:33
313,120,333
0
0
null
null
null
null
UTF-8
Python
false
false
2,259
py
import argparse import os parser = argparse.ArgumentParser() parser.add_argument('--model', dest='model_path', type=str, default=os.path.join('pretrained', 'model-29'), help='(optional) DL model to use') parser.add_argument('--text', dest='text', type=str, help='Text to write') parser.add_argument(...
[ "S@njibP@edgewood.org" ]
S@njibP@edgewood.org
e260d0d50c7d74e84cf1062a5c25ccbe38c4e375
90360a1de1c19ab217ff0fceaaa3140cad4ddaa5
/plugin.video.salts/scrapers/icefilms_scraper.py
9fffbf94a63ac44d5c3ce8d39de54d0ed860f31e
[]
no_license
trickaz/tknorris-beta-repo
934cbbf089e12607fe991d13977f0d8a61354f01
c4b82ef1b402514ef661bcc669852c44578fcaa0
refs/heads/master
2021-01-22T14:25:19.271493
2014-10-17T06:19:39
2014-10-17T06:19:39
25,358,146
1
1
null
null
null
null
UTF-8
Python
false
false
6,462
py
""" SALTS XBMC Addon Copyright (C) 2014 tknorris 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 License, or (at your option) any later version. T...
[ "tknorris@gmail.com" ]
tknorris@gmail.com
9a956e9fe5e1df95ae3707e2ee6021b1e9055415
63f0b49eca9a78fc1050d7fdde03d54194ba0b73
/codekata/qqq.py
cdd42ecf09618510b72c012675484365507b3b92
[]
no_license
Mponsubha/.guvi
d8a6e26cafce22a26c7ef7ababaf028e79b6c4cc
5a1f0278c1570ed6b827c65baf5d838e1983e177
refs/heads/master
2020-06-03T00:22:10.182521
2019-07-02T04:02:26
2019-07-02T04:02:26
191,359,120
0
2
null
null
null
null
UTF-8
Python
false
false
34
py
q=int(input()) print("\nHello"*q)
[ "noreply@github.com" ]
noreply@github.com
6111a9ff9d516c059ce4ad32eb65e12cc5e4c4b2
a415e80a432912c66bf08de3cd230f6f7f2521f7
/core/migrations/0015_auto_20190724_1423.py
8ae3d79fa4fd04cee3c9fb2899be2c436c0c688a
[]
no_license
jamiejudd/obmo
14636ae72bd5df7cc757a68b60cd116bc2f4ca4c
bd167881b9ba6e399903a54477cf6900b962cac0
refs/heads/master
2022-05-02T08:08:25.597230
2019-11-04T12:54:09
2019-11-04T12:54:09
157,760,469
0
0
null
null
null
null
UTF-8
Python
false
false
551
py
# Generated by Django 2.2.1 on 2019-07-24 13:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0014_auto_20190719_1316'), ] operations = [ migrations.AddField( model_name='account', name='has_offer', ...
[ "jamiejud@gmail.com" ]
jamiejud@gmail.com
9b1321dc341d37ce36de9e991a64ef93ddefb827
c44530acbb6113adfed7eb08391c74847733d6a0
/session2/booksapp/booksdbcreate.py
3b22942591d40b43a647c019ecf87134bf89ab40
[]
no_license
codeartisanacademy/basic-python
b96f1447ffdfb5df6457f5f1ba8a483871596cca
56de8c8de72d80aadad12be701e5b7b1582a285d
refs/heads/master
2020-07-04T23:32:56.167071
2019-10-22T15:14:04
2019-10-22T15:14:04
202,457,374
0
0
null
null
null
null
UTF-8
Python
false
false
2,111
py
import sqlite3 def create_connection(db_file): try: connection = sqlite3.connect(db_file) print('database %s successfully created' % db_file) return connection except sqlite3.Error as error: print(error) return None def create_table_authors(c, sql): if c: ...
[ "wahyudi.coding@gmail.com" ]
wahyudi.coding@gmail.com
6686ef97bb4301c52bc2359e63bd9b0051aa7f06
3a27766a6fcfec26970300a324aec6e6893618a1
/shop/urls.py
35e30c6ea5ecb18d2d88d75c37e0d546087afd17
[]
no_license
sasori0607/iphone_w
b1011176473f2949c7b112c0d7caec9edd905d22
7215646a3f0b6d700e90cd9f9908d8eef3a22bbb
refs/heads/main
2023-08-16T10:05:39.493365
2021-09-26T21:54:32
2021-09-26T21:54:32
376,524,099
0
0
null
null
null
null
UTF-8
Python
false
false
686
py
from django.contrib import admin from django.urls import path, include from . import views urlpatterns = [ path('order', views.order, name='order'), path('price', views.price, name='price'), path('basket_minus', views.basket_minus, name='basket_minus'), path('basket_plus', views.basket_plus, name='ba...
[ "cacopu060798@gmail.com" ]
cacopu060798@gmail.com
fc6ec366cc16a9f609e3910d19770d58645a59b8
eb3683f9127befb9ef96d8eb801206cf7b84d6a7
/stypy/invokation/type_rules/modules/numpy/lib/ufunclike/ufunclike__type_modifiers.py
8a0fa8e78c44a7d76c174b17b2107251eb822674
[]
no_license
ComputationalReflection/stypy
61ec27333a12f76ac055d13f8969d3e0de172f88
be66ae846c82ac40ba7b48f9880d6e3990681a5b
refs/heads/master
2021-05-13T18:24:29.005894
2018-06-14T15:42:50
2018-06-14T15:42:50
116,855,812
2
0
null
null
null
null
UTF-8
Python
false
false
373
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import numpy from stypy.invokation.handlers import call_utilities class TypeModifiers: @staticmethod def fix(localization, proxy_obj, arguments): if call_utilities.is_numpy_array(arguments[0]): return arguments[0] else: re...
[ "redondojose@uniovi.es" ]
redondojose@uniovi.es
2b8047092d8d1f43676a783716574a9b7f4691e4
bf9748427210c37dd6309c4855293c1aec114217
/newsite/urls.py
619818f18752914254f4ef928fa094eed2a5da52
[]
no_license
Jason8558/pyth_djangoOldSiteKVK
26b67f9b5c68e8c8145f121836096fc5018737a4
3cee5844fb4069dc8be02c9304317bd5bb48d48e
refs/heads/master
2023-01-23T18:26:03.098071
2020-12-09T06:09:02
2020-12-09T06:09:02
302,175,085
0
0
null
null
null
null
UTF-8
Python
false
false
1,126
py
"""newsite URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based...
[ "71411694+Jason8558@users.noreply.github.com" ]
71411694+Jason8558@users.noreply.github.com
630bdd5c13f4ec241b016ee6636bfe70af9b1448
01822d2ae38a95edcd188a51c377bb07b0a0c57d
/Assignments/Sprint3/FindAllPaths.py
faf38a0af57c11891b1ec51c5c26b3865f784c23
[ "MIT" ]
permissive
mark-morelos/CS_Notes
bc298137971295023e5e3caf964fe7d3f8cf1af9
339c47ae5d7e678b7ac98d6d78857d016c611e38
refs/heads/main
2023-03-10T11:56:52.691282
2021-03-02T15:09:31
2021-03-02T15:09:31
338,211,631
1
1
null
null
null
null
UTF-8
Python
false
false
1,496
py
""" Understand Note: For some reason, it's failing one of the tests. I think it's because the test case didn't sort their output. In that case, the test is wrong :) Drawing graphs via text are a pain, so I'm just gonna use the example given Plan 1. Translate the problem into graph terminology - Each index in the lis...
[ "makoimorelos@gmail.com" ]
makoimorelos@gmail.com
dbf30296d71e7bf60831a0c340e730a93a7d7a5c
c78d25a2ea56f012da3381d7245c3e08556129e1
/coherence/backends/radiotime_storage.py
1f2c5d69ba48ac3beee20a08759cb96b1a85c6c1
[ "MIT" ]
permissive
Python3pkg/Cohen
556ad3952136fc2eafda99202a7280c2ece2477e
14e1e9f5b4a5460033692b30fa90352320bb7a4e
refs/heads/master
2021-01-21T17:13:58.602576
2017-05-21T08:33:16
2017-05-21T08:33:16
91,943,281
1
0
null
2017-05-21T08:32:55
2017-05-21T08:32:55
null
UTF-8
Python
false
false
7,113
py
# Licensed under the MIT license # http://opensource.org/licenses/mit-license.php # an internet radio media server for the Coherence UPnP Framework # based on the radiotime (http://radiotime.com) catalog service # Copyright 2007, Frank Scholz <coherence@beebits.net> # Copyright 2009-2010, Jean-Michel Sizun <jmDOTsizu...
[ "raliclo@gmail.com" ]
raliclo@gmail.com
d99058ae8efde20b0b9a94917310bf9294bf3d79
3d4094d6eca69329d4c6ba08e0c8ce79eedeb6b6
/starter/While.py
af86daef2ae3d6572815e944274601b1454dd277
[]
no_license
agkozik/Python_Course
c9f3c8b68e60b452e57f43da7554c13daf386a0c
4b095bbc86f33999efe95127528b3e1d8bfded9f
refs/heads/master
2022-04-27T06:04:15.276472
2020-04-22T11:49:06
2020-04-22T11:49:06
255,082,012
0
0
null
null
null
null
UTF-8
Python
false
false
1,286
py
# # ---------------------- while true ---------------------------- # # message = "" # while message != "exit": # message = input("Type exit to exit: ") # # # ---------------------- while int true ---------------------------- # n = 1 # while n <= 3: # print("n = ", n) # n += 1 # # # ---------------------- wh...
[ "agkozik@gmail.com" ]
agkozik@gmail.com
6c7d9885d0519d18a161ee398e1f83753b821006
65a32b8a8a97c126843d2cfe79c43193ac2abc23
/chapter9/local_var.py
1816492d4b38b735cc5262f0aabbb32c1c380b9e
[]
no_license
zhuyuedlut/advanced_programming
9af2d6144e247168e492ddfb9af5d4a5667227c4
a6e0456dd0b216b96829b5c3cef11df706525867
refs/heads/master
2023-03-19T09:21:31.234000
2020-10-09T13:09:38
2020-10-09T13:09:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
809
py
a = 20 exec('b = a + 1') print(f'b = {b}') # def test(): # a = 20 # exec('b = a + 1') # print(f'b = {b}') # # test() def test(): a = 20 loc = locals() exec('b = a + 1') b = loc['b'] print(f't: b = {b}') test() def test_1(): x = 0 exec('x += 1') print(f't1: x = {x}') t...
[ "root@lyzdeMacBook.local" ]
root@lyzdeMacBook.local
1c9798c3ad320b1268eb7c05f3413c11de8cc2c4
74d6b36ae48a2153fa35c56d2448c05b64c72bf8
/contests/550/A-two-substrings.py
1cd1bdb89a05efe3c401c3f0559cc701f7386b67
[]
no_license
hariharanragothaman/codeforces-solutions
205ec8b717e8eb3e4d700fc413159c49a582cff6
1566a9187cc16e1461ddb55dbcc393493604dfcd
refs/heads/master
2023-06-24T11:33:52.255437
2021-07-25T14:33:52
2021-07-25T14:33:52
282,783,158
2
0
null
null
null
null
UTF-8
Python
false
false
2,935
py
""" Given a string, we need to find , if it contains AB, and BA seperately and they are non-overlapping The strings can be in any order. """ from typing import List p = 31 m = 10 ** 9 + 9 def compute_hash(s): n = len(s) power_mod = [1] for i in range(n): power_mod.append((power_mod[-1] * p) % m)...
[ "hariharanragothaman@gmail.com" ]
hariharanragothaman@gmail.com
c1b559c0cf201d04074d7a8dc5042634eea23bb2
0ea7aaa14dadc2eea9207d6a0fb7ce199489ebae
/Logistic Regession.py
bc8fb1ada86a651c868f57818795041391946ca8
[]
no_license
ShyamSundhar1411/Logistic-Regression
de8c32f4853e583455ded3d73e375286d977ade6
246afdc7d4190da2d5b596bdbf8f89a528425023
refs/heads/master
2022-11-11T12:37:32.718857
2020-06-23T12:04:11
2020-06-23T12:04:11
274,395,470
1
0
null
null
null
null
UTF-8
Python
false
false
2,928
py
#Importing Libraries import numpy as np import pandas as pd import matplotlib.pyplot as plt from sklearn.model_selection import train_test_split from sklearn.preprocessing import StandardScaler from sklearn.linear_model import LogisticRegression from sklearn.metrics import confusion_matrix, accuracy_score from matplotl...
[ "clashwithchiefrpjyt@gmail.com" ]
clashwithchiefrpjyt@gmail.com
3d9a871d0393bccd4844d3a7c04c403731039856
0d25bedf24b11bcfc34ae5ed8d487ca586e4fa82
/chandra/psf/13903_50_iter_asol_panda/primary/plot_radial_profile_bkg.py
274c2ba00340ca162ffe8e44c72446fe59b2baeb
[]
no_license
maitrayeegupta/sherpa_code
e995514825ed7134adc629fc93379b0a1bb34dc9
9961b9cdcdca337a0481754f33210a841d342ee4
refs/heads/master
2023-05-13T09:07:47.568729
2021-05-27T19:31:50
2021-05-27T19:31:50
265,081,874
0
0
null
null
null
null
UTF-8
Python
false
false
1,207
py
from pycrates import read_file import matplotlib.pylab as plt tab_img = read_file("img_rprofile.fits") tab = read_file("psf_rprofile.fits") xx = tab.get_column("rmid").values yy = tab.get_column("sur_bri").values ye = tab.get_column("sur_bri_err").values xx_img = tab_img.get_column("rmid").values yy_img = tab...
[ "maitrayee.gupta@gmail.com" ]
maitrayee.gupta@gmail.com
0512aa9369f8d18ed59f628853a123ff95d586bc
74912c10f66e90195bf87fd71e9a78fa09f017ec
/execroot/syntaxnet/bazel-out/local-opt/bin/dragnn/python/graph_builder_test.runfiles/org_tensorflow/tensorflow/contrib/learn/python/learn/tests/dataframe/__init__.py
31d718df713532da6c36386b67220f0d1e6e878f
[]
no_license
koorukuroo/821bda42e7dedbfae9d936785dd2d125-
1f0b8f496da8380c6e811ed294dc39a357a5a8b8
237fcc152ff436f32b2b5a3752a4181d279b3a57
refs/heads/master
2020-03-17T03:39:31.972750
2018-05-13T14:35:24
2018-05-13T14:35:24
133,244,956
0
0
null
null
null
null
UTF-8
Python
false
false
153
py
/root/.cache/bazel/_bazel_root/821bda42e7dedbfae9d936785dd2d125/external/org_tensorflow/tensorflow/contrib/learn/python/learn/tests/dataframe/__init__.py
[ "k" ]
k
8c929fb80c63833f2b9b8f7f3d79ea501d32a8c2
845e3c428e18232777f17b701212dcbb1b72acc1
/psdbCrop/psdbCropVal1PsdbFourPartsFullDRoiAlignXRoc2.py
6c8fab7837b147654694a4a4715f353926dee333
[ "BSD-2-Clause", "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
chuanxinlan/ohem-1
dd10b2f5ff15e81ab9e42e936bb44d98e01c6795
b7552ceb8ed1e9768e0d522258caa64b79834b54
refs/heads/master
2021-09-16T18:31:25.651432
2018-06-23T10:09:24
2018-06-23T10:09:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,010
py
#!/usr/bin/python import os import numpy as np import matplotlib.pyplot as plt import tools._init_paths import cPickle from datasets.factory import get_imdb import cv2 class EvalConfig(object): iou_thresh = 0.5 min_width = 20 min_height = 20 # a list of type IDs eval_type = None # (x1, y1, x...
[ "cg@example.com" ]
cg@example.com
2677d759e4874010d3ebb1ce03c377387f32d04b
5b1a05d673c41958c994ae349cef44e36ddd9387
/app.py
bc6f63583beee6a853a05890e123bb3bbe4a9929
[]
no_license
JR-Hub/Mission-to-Mars--WebScraping
cca1a0ec4b6a132db9e45951ffdaccee768f3ea1
cc9a922bbd2575ebb13c31db72692423b4c7a166
refs/heads/master
2020-04-26T17:03:52.752549
2019-01-20T04:15:35
2019-01-20T04:15:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
748
py
# import necessary libraries from flask import Flask, render_template, jsonify, redirect # from flask_pymongo import PyMongo import pymongo import sys import scrape_mars # create instance of Flask app app = Flask(__name__) # setup mongo connection conn = "mongodb://localhost:27017" client = pymongo.MongoClient(conn)...
[ "Karthik@Karthiks-MacBook-Pro.local" ]
Karthik@Karthiks-MacBook-Pro.local
d56f2fbfff772998895d64c84ba3f478d04e979d
79a6d79225d73583b1f106e622874e62a0d639f5
/Chapter 6/work.py
f43a28ec78b49757ffdd3dbed4286de54fcbca7f
[ "MIT" ]
permissive
bb13135811/Introducing_Python
66e3d314b6de940232e02c4ae693e9d3ed0d0d3f
6240b8cd4366606291bb0a6e0d2edb6053936533
refs/heads/main
2023-04-13T04:20:42.678006
2021-04-20T07:59:29
2021-04-20T07:59:29
337,341,789
0
0
null
null
null
null
UTF-8
Python
false
false
2,584
py
6.1 class Thing(): pass print(Thing) example = Thing() print(example) 6.2 class Thing2(): letters = 'abc' print(Thing2.letters) 6.3 class Thing3(): def __init__(self): self.letters = 'xyz' a = Thing3() print(a.letters) 6.4 class Element(): def __init__(self, name, symbol, number): sel...
[ "noreply@github.com" ]
noreply@github.com