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
c404d83db7963f05d6ea5bbeea41481d45b822ea
79588b10fe6d4e056b7e3c67bf742bc70c5df280
/blitzem/console.py
f32883d230dc99df28095621a91bd5fe6b24a3bf
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause" ]
permissive
rnorth/blitzemp
37969be450835e220a45cddee6f899b759e0c251
6967a48c2374c13d4328657c44efc3e6cd721eb7
refs/heads/master
2023-08-30T03:53:22.660954
2012-01-01T11:59:31
2012-01-01T11:59:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
472
py
#!/usr/bin/env python """" console.py Provides the command line interface to blitzem. Copyright (c) 2011 Richard North. All rights reserved. """ import sys from blitzem.core import sync def main(): execfile("environment.py", locals(), globals()) command = sys.argv[1] if len(sys.argv) > 2: tag = sys.argv[2] ...
[ "rich.north@gmail.com" ]
rich.north@gmail.com
90dc6fff0c730315f1c1bd6b7a37aa07f415f8a6
1f777b6d0fddd209a01eb8b75949b7532e69e90c
/assignment-2/7question.py
746b4bc78d3c8e24fde5d3e440069c9154b41db6
[]
no_license
prachigeu/cyber
0f75365724f9e91a2f3010cb52feaaeb74d8f2bb
81b50ed246487d062351c8cc5cf515c45c6d63b5
refs/heads/main
2023-01-12T16:08:01.577177
2020-11-09T14:40:56
2020-11-09T14:40:56
311,296,692
0
0
null
null
null
null
UTF-8
Python
false
false
353
py
def summer_69(lst): record=True sum=0 for n in lst: if(n==6): record=False if record: sum+=n if n==9: record=True return sum lst=[] n=int(input("enter the no. of element:")) for i in range(0,n): ele=int(input()) lst.appen...
[ "noreply@github.com" ]
noreply@github.com
a79fbdd011e160d0b420e3b2489bb4c3dec7eac7
39fd21569d67287c516a3c42378f3f4c1708b3fe
/burbger-CS2340-master/space_trader/app/forms/__init__.py
a256ce9d1bbbaa5e58f57ab977f3a2d4256ebb51
[]
no_license
sam1993316/CS2340_project
1cfd03375aac48629f7186608539cb42684595ca
f683475b2dfb81683dc5001ab6464fdd9dbe1d66
refs/heads/master
2020-07-24T08:18:49.033003
2020-01-08T19:21:52
2020-01-08T19:21:52
207,862,529
0
0
null
null
null
null
UTF-8
Python
false
false
3,384
py
from flask import render_template, url_for from flask_wtf import FlaskForm from wtforms.validators import DataRequired from wtforms import (StringField, RadioField, IntegerField, SubmitField, ValidationError, HiddenField) from ordered_set import OrderedSet from app.objects import Game, Universe, Pl...
[ "sam1993316@hotmail.com" ]
sam1993316@hotmail.com
c1e5a8a2013d707dbc31b1a4de39a609690a48f4
f442f43ac1d7feb808d6ed8dce1db5e68dc5b719
/testFunctions/BICOP1.py
18d1af003e24d9ab7f5fe350050de77bbee77a2f
[ "MIT" ]
permissive
RoydeZomer/Multi-Point-SAMO-COBRA
36b0bae48c57d0118e9a1a45006fbd963d09d9d7
de139c6facbcc41afe287635e233271fea78c67b
refs/heads/main
2023-05-10T22:54:35.202718
2023-05-01T09:03:22
2023-05-01T09:03:22
479,006,481
2
0
null
null
null
null
UTF-8
Python
false
false
636
py
# -*- coding: utf-8 -*- """ Created on Wed Jul 22 15:13:45 2020 @author: r.dewinter """ import numpy as np def BICOP1(x): x = np.array(x) g1 = 1 + 9*np.sum(x[1:]/9) f1 = x[0]*g1 f2 = g1 - np.sqrt(f1/g1) c1 = g1 #-1* constr because of sacobra's constraint handling return [ np.array([f...
[ "r.dewinter@c-job.com" ]
r.dewinter@c-job.com
8ff433deb370820425f491c07e8a9facbe7a6d34
74c4a11f216537c5755a876b867a3b33b11d3ec2
/env/bin/easy_install
0ac1fbefae98b7dd53bb6f9fa61091ee746c895e
[]
no_license
macinnis82/tbay
59462416646bf367fbf74bdcbe0e9ffd67756a00
c67574a0a5f2febe731b318e19c6de1cbd15dc7a
refs/heads/master
2020-05-09T14:06:41.226151
2015-08-03T18:46:40
2015-08-03T18:46:40
40,141,803
0
0
null
null
null
null
UTF-8
Python
false
false
277
#!/home/ubuntu/workspace/thinkful/projects/tbay/env/bin/python # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "MacInnis82@gmail.com" ]
MacInnis82@gmail.com
1a6f968edf5fdb4c61c2389a23c364c8b3fffc69
c11c337d4f2a609326fe8545c70dafb918ad8110
/maintenance/mtrack/scripts.py
757f45ca27e71c689cf94262e0725a2cd3a0d47e
[ "MIT", "BSD-2-Clause" ]
permissive
summertriangle-dev/arposandra
7b7f62b63cebe07c6b3b24321a0d01623dfed2b3
d4fcbec32e86a96c7d810d3d146695eb0b384889
refs/heads/master
2023-07-25T02:55:37.534890
2023-07-07T01:05:12
2023-07-07T01:18:02
213,795,406
19
4
NOASSERTION
2023-03-04T05:48:36
2019-10-09T01:48:47
Python
UTF-8
Python
false
false
3,905
py
# TODO: I haven't looked very carefully at optimizing these queries. # May want to come back after a couple years and see how they're doing. # We sort based on latest release. def update_set_sort_table(): return f""" INSERT INTO card_p_set_index_v2__sort_dates (SELECT representative, server_id,...
[ "summertriangle.dev@gmail.com" ]
summertriangle.dev@gmail.com
e8d197368d8a83bbf36c5e39a424a7e7a44b5b7c
632dcb4e37cadd87cb7ff8715b0048df5cd0d11b
/CompuCell3D/core/Demos/SBMLSolverExamples/SBMLSolverAntimony/SBMLSolverAntimony2/Simulation/SBMLSolverAntimony2Steppables.py
007262772d5e9b8242557c617ed99a115ce20b47
[ "MIT" ]
permissive
CompuCell3D/CompuCell3D
df638e3bdc96f84b273978fb479842d071de4a83
65a65eaa693a6d2b3aab303f9b41e71819f4eed4
refs/heads/master
2023-08-26T05:22:52.183485
2023-08-19T17:13:19
2023-08-19T17:13:19
12,253,945
51
41
null
2023-08-27T16:36:14
2013-08-20T20:53:07
C++
UTF-8
Python
false
false
4,920
py
from cc3d.core.PySteppables import * class SBMLSolverSteppable(SteppableBasePy): def __init__(self, frequency=1): SteppableBasePy.__init__(self, frequency) def start(self): # Antimony model string: cell type 1 model_string_type1 = """model type1() # Model S1 => S2; k1...
[ "maciekswat@gmail.com" ]
maciekswat@gmail.com
9dc7d208b99d32efd620095f13cb728df26b4641
add160c54fd21154a108ea687aaa0030b07ad01f
/Browser.py
c78acbfc7b7dd455c5dda9d5ed6f667d481d50ec
[]
no_license
raphaelmiy/MOSH-CODE
bb56f3d3d6a981ea9ceb57a7cb1e05c93ac67ebd
6722e2b0f263b21300ce4b2c51bc0c8fe8b5a6f8
refs/heads/master
2020-09-04T17:10:35.082128
2019-12-19T06:39:32
2019-12-19T06:39:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
91
py
import webbrowser print("Deployment completed.") webbrowser.open("https://www.google.com")
[ "37901809+AquaticRaphael@users.noreply.github.com" ]
37901809+AquaticRaphael@users.noreply.github.com
ec8f47a1f2a8f9a329a2a94a4cc7b3132b0deb39
0ae225da5956147207cf52b00fe8242b551f58cc
/event_management/accounts/forms.py
3958bd575f1da1de38c8add756bde9b598efe9c8
[]
no_license
IIITL-DeV/College-Event-Management-System
984100d9fd97d9211e6c8d2df0d2123159d5f2ef
23f380994821b762d1e8169360b6998416d40f7f
refs/heads/main
2023-09-03T21:40:29.660611
2021-11-14T10:59:55
2021-11-14T10:59:55
402,279,402
1
0
null
null
null
null
UTF-8
Python
false
false
2,401
py
from django import forms from django.contrib.auth.forms import UserCreationForm from accounts.models import Accounts from django.contrib.auth import authenticate class RegistrationForm(UserCreationForm): """docstring for .""" image = forms.ImageField(label="Upload Your Image",widget = forms.FileInput(attrs={'c...
[ "lit2019073@iiitl.ac.in" ]
lit2019073@iiitl.ac.in
8cf47f34b56a9495fb0a2bde9cd7ebcfb3394d4f
8b540332a95f08de99aa639e884d3f5cceea2d40
/py/compress/ywpress/compress.py
3ba2ab74579ece226a5f39ca5fd95c7f10d020ba
[]
no_license
goforeverSmile/knowledgeAll
8cebe81ec5062c5929bc3b019a014319618ba390
416fe76790d489739b18faf1bdc0bed948bcfbed
refs/heads/master
2023-04-17T20:39:06.275966
2023-04-03T03:12:38
2023-04-03T03:12:38
135,508,332
0
0
null
2023-02-21T06:50:48
2018-05-30T23:42:12
JavaScript
UTF-8
Python
false
false
2,225
py
#!/usr/bin/python # encoding=utf-8 import os import sys import shutil import json #本python文件相对于项目工程根目录的相对路径 #本项目所有游戏短名 mjGames = ['bjmj'] pkGames = [] sys.path.append(os.path.normpath(os.path.join(os.path.dirname(__file__), '../../src/tools/hall/utils'))) sys.path.append(os.path.normpath(os.path.join(os.path.dirname...
[ "chengangbao@weile.com" ]
chengangbao@weile.com
f279c532104dc9ce42d1c72e69c61c76f97d0d98
e66780b65152d0c17bbafb4857941ac9056cee6a
/django/django_intro/first_Django_project/first_Django_project/settings.py
47fc4767da9509faeff284f8e2a4db040275a28f
[]
no_license
Bereketetefa/Python
0a271d7ab98503f71ce58c7b82216c472be93c71
01e347ad6a27f4fa32cf119dd9a04900e0f530f2
refs/heads/master
2022-12-03T10:59:06.327454
2020-08-06T21:24:44
2020-08-06T21:24:44
285,673,251
0
0
null
null
null
null
UTF-8
Python
false
false
3,156
py
""" Django settings for first_Django_project project. Generated by 'django-admin startproject' using Django 2.2.4. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ ...
[ "bereketetefa@gmail.com" ]
bereketetefa@gmail.com
f225e82576f7863526fcd3ee41b099b672fcee2c
7a47a66d35ffc9cd391fb52c054b04fda9f381ac
/alien_invasion/bullet.py
b287bac0b2b09c60a78ba0c13c6951b98e7f7f91
[]
no_license
mmiirroo/python
82f916d73082d44475bf378ca3101ebe6384efe1
ae13cd9f3430b6f916f3ea3227bf0aad2192dc31
refs/heads/master
2021-10-23T09:01:33.150708
2019-03-16T09:55:01
2019-03-16T09:55:01
102,234,285
0
0
null
null
null
null
UTF-8
Python
false
false
756
py
import pygame from pygame.sprite import Sprite class Bullet(Sprite): def __init__(self, ai_settings, screen, ship): super(Bullet, self).__init__() self.screen = screen self.rect = pygame.Rect(0, 0, ai_settings.bullet_width, ai_settings.bullet_height) self.rect....
[ "seiyamiro@163.com" ]
seiyamiro@163.com
7c66f962600a93eac899ce8e78b47514877212f8
0cc4eb3cb54f8394c127ace62d3108fdb5230c85
/.spack-env/view/lib/python3.7/site-packages/numpy/core/_add_newdocs.py
aa3210020cc4228d0e9d702b9be0b9074a6b7b7f
[]
no_license
jacobmerson/spack-develop-env
5b2d76f58c0b64ae97c64f77a3c4d33a770c71c8
5fca20ca343b1a76f05fc635c87f94ed25417d94
refs/heads/master
2022-07-04T02:22:50.264727
2020-05-06T05:13:50
2020-05-06T05:13:50
261,657,112
0
0
null
null
null
null
UTF-8
Python
false
false
167
py
/lore/mersoj/spack/spack/opt/spack/linux-rhel7-x86_64/gcc-7.3.0/py-numpy-1.18.3-c5tvrr2q5vwgtvc6f3ld57v6y4ahvr2h/lib/python3.7/site-packages/numpy/core/_add_newdocs.py
[ "mersoj@rpi.edu" ]
mersoj@rpi.edu
1dbe9c4baf6a1fde0051a818a55439143b3a22ba
aeb4f955cb15c2b7c97cfcff166dd5b8fa06fc4c
/sorting/utils.py
bd58272d983b84117bf51bce8b9fc73504f2073e
[]
no_license
chisler/basic_algorithms
0f9f2afdb81790f8a9108a9b31c1c28551694026
7ccd7bdc74882ef6286d6beb3fecd01c25a47bb0
refs/heads/master
2021-01-19T01:22:29.417126
2017-04-19T11:21:58
2017-04-19T11:21:58
87,241,077
0
0
null
null
null
null
UTF-8
Python
false
false
287
py
from random import randint def rand_array(): length = randint(1, 10) return list([randint(-10000, 10000) for _ in range(length)]) def test_sorting(sorting_function): for array in [rand_array() for _ in range(100)]: assert sorted(array) == sorting_function(array)
[ "alexander.chisler@gmail.com" ]
alexander.chisler@gmail.com
8e547b29dfdd757e9da010a8fcb2e0a74ff18ac0
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-web/azure/mgmt/web/models/hosting_environment_profile.py
de68d8bc558ed823419c5846beb0d775e9a116d2
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
1,438
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
d85e910cdb8df069910878d52d50620e4badb86f
5950e8bfe3f12398de3b7055a60f9028fe4b9790
/bin/oc_common.py
f0e4ddcbf2ab49e9105bd97b8783985fba5349be
[]
no_license
stevekuznetsov/jenkins-jjb
721b4a7bbff93827b7eea9353ea4feeecac07511
d69aae4284130299b3447b437e70ae87e4b9f801
refs/heads/master
2021-01-18T16:37:00.728351
2017-03-30T20:26:47
2017-03-30T20:26:47
86,748,052
0
0
null
2017-03-30T20:56:40
2017-03-30T20:56:40
null
UTF-8
Python
false
false
582
py
import os import kubernetes.client def connect_to_kube_core(): api_token = open('/var/run/secrets/kubernetes.io/serviceaccount/token', 'r').read() ca_crt = '/var/run/secrets/kubernetes.io/serviceaccount/ca.crt' kubernetes.client.configuration.api_key['authorization'] = api_token kubernetes.client.conf...
[ "cewong@redhat.com" ]
cewong@redhat.com
d09732d24ed5c663b058fda1ea1a9f991a6ba5c1
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/5823ce64bfec97cdfa0a781253795a6945d469f3-<diff>-bug.py
a06396edf7b6ec24911dd1c5288c295e62b8976d
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,470
py
@set_module('mxnet.symbol.numpy') def diff(a, n=1, axis=(- 1), prepend=None, append=None): '\n Calculate the n-th discrete difference along the given axis.\n\n Parameters\n ----------\n a : ndarray\n Input array\n n : int, optional\n The number of times values are differenced. If zero, ...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
a1c6972754b517a1e605b4fc348250331b6a865b
b14b211fe7e7aeec05b908bb6c348524a6c6f279
/client.py
25c25d1f435ce2531beb56947b5b9099c6edf819
[]
no_license
Tej4401/CHAT-APPLICATION
b7d6d8c47d360c1b8dfc214e04c7a260662a97b7
d5d6bbb7265dfeed3bd6b02398158a5e03876edd
refs/heads/master
2020-07-22T19:31:03.729111
2019-10-11T19:03:55
2019-10-11T19:03:55
207,304,622
1
0
null
null
null
null
UTF-8
Python
false
false
313
py
import socket connection = socket.socket(socket.AF_INET, socket.SOCK_STREAM) connection.connect(("192.168.43.26", 4442)) msg = connection.recv(1024).decode() print(msg) while(True): msg1 = input(">> ").encode() connection.send(msg1) msg = connection.recv(1024).decode() print("<< " + msg)
[ "noreply@github.com" ]
noreply@github.com
94f5393c43fe86e9fc55011ab648e5e523878e30
ce1fc088fac542e4aff5f6b4e974a62788b7f632
/evaluate.py
5b241271618faff31b7250252ad807e3fe987b9e
[]
no_license
nkaralis/X-RayClassification
b302e0dbaf31c02f88ebcc8028db1e762aa75377
940738d557ae4fae1ee3864c01b1baa5ccf2befa
refs/heads/master
2020-03-07T17:36:46.511309
2018-05-22T17:03:43
2018-05-22T17:03:43
127,616,162
3
0
null
null
null
null
UTF-8
Python
false
false
1,347
py
""" Author: Nikos Karalis Big Data Project, Chest XRay Classification using TensorFlow Dataset is available at: https://www.kaggle.com/nih-chest-xrays/data Source code is based on the tutorial provided by TensorFlow: https://www.tensorflow.org/tutorials/layers """ from __future__ import absolute_import from __futur...
[ "nkaralis@di.uoa.gr" ]
nkaralis@di.uoa.gr
efe7223ea2704bde99e63f484470f60f94b09317
61a9027b1bf8e160c00520b40abd1c61bb973a7c
/delete_from_s3.py
0665eb4e36eab517fad65b15e6e8e8e2ece0a2fe
[]
no_license
nithintkv/s3-with-python
d7a899756dad7b087f7df48783136c309c789294
fe95681731659ffc155e6d58e7347ea2823d2ba0
refs/heads/master
2020-05-04T04:20:28.690798
2019-04-01T23:56:12
2019-04-01T23:56:12
178,963,412
0
0
null
null
null
null
UTF-8
Python
false
false
337
py
from boto.s3.connection import S3Connection, Bucket, Key AWS_S3_ACCESS_KEY_ID = 'ACCESS_KEY' AWS_S3_SECRET_ACCESS_KEY = 'SECRET_KEY' AWS_STORAGE_BUCKET_NAME = 'BUCKET_NAME' conn = S3Connection(AWS_S3_ACCESS_KEY_ID, AWS_S3_SECRET_ACCESS_KEY) b = Bucket(conn, AWS_STORAGE_BUCKET_NAME) k = Key(b) k.key = 'file_to_delete'...
[ "nithinthank@gmail.com" ]
nithinthank@gmail.com
95d5c5cadc9fb00f3c1f71d28ec0233c15f404b7
5a1e1756025bacae88b619d388ebf61b330001ab
/1.Class/Language_Python-master/Language_Python-master/LC4_HW3.py
7acbc1e8e531e1ec64cb6af03598dee0507db0cb
[]
no_license
reshmaladi/Python
d1953497703aa15e163cd8ac27be23e3e5c3e947
8e9092af63476fef35d221e20acf418983957e53
refs/heads/master
2021-10-15T00:55:08.136039
2021-10-01T14:32:16
2021-10-01T14:32:16
165,836,823
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
x = input("Enter a 1st string \t") y = input("Enter a 2nd string \t") print("Swap : \n" + y[0:2] +x[2:] + "\n" + x[0:2] + y[2:])
[ "reshma.ladi@gmail.com" ]
reshma.ladi@gmail.com
587d3e84917673843903666b363e93bfde6ea5c6
a5bba5b2850b1ccb7c0595a6973bd6b97a9a6c55
/extlib/couchdbkit/schema/properties.py
d3852de189e7fbe6febacdbf2432012046b4b926
[]
no_license
bjornua/webtemplate
12fe7a0f10576560ace53f9fc8bd8f9620a65452
aee465b9f7555e74c007ae89b6e14ec566224fdf
refs/heads/master
2020-05-17T15:13:53.818074
2012-01-30T11:41:49
2012-01-30T11:41:49
3,298,595
0
0
null
null
null
null
UTF-8
Python
false
false
34,331
py
# -*- coding: utf-8 - # # This file is part of couchdbkit released under the MIT license. # See the NOTICE for more information. """ properties used by Document object """ import decimal import datetime import re import time try: from collections import MutableSet, Iterable def is_iterable(c): retu...
[ "rugkiks@gmail.com" ]
rugkiks@gmail.com
9ffccd5225785ef2b10916b4fb566d1b0662e776
d81e47cb813d2265d5d1cdfb9642560ce28ae9c9
/IterativeDeepeningAI.py
b44b789cfb89ab49f22b828b806aceb3625f4605
[]
no_license
p-takagi-atilano/ChessAI
26c22c26301c92ce632d1dfe25a55131b53e045b
7cf6669c9cf8250269de3c653863fe18283b96da
refs/heads/master
2020-11-25T18:47:28.432556
2019-12-18T09:01:59
2019-12-18T09:01:59
228,799,542
0
0
null
null
null
null
UTF-8
Python
false
false
792
py
import chess from MinimaxAI import MinimaxAI class IterativeDeepeningAI(): def __init__(self, heuristic_fn, depth): self.depth = depth self.heuristic_fn = heuristic_fn def choose_move(self, board): best_move = None # best_move temporarily set to None ...
[ "ptakagia@gmail.com" ]
ptakagia@gmail.com
50826902f861d5fc6fb8c492c5e315705fa1b725
f6de81b89c9e5dd034262dc7a89275b265f9f8c7
/ex15.py
675def34c27a3225d867f6217da1201542375e08
[]
no_license
marcin93/lpthw
98047d5facdc2a46d146f035d6b95ea47ce84348
6f56824ea5520de95816b83f2400678b06456fd0
refs/heads/master
2021-01-01T18:41:27.557507
2013-06-19T07:36:14
2013-06-19T07:36:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
618
py
# -*- coding: utf-8 -*- from sys import argv # from module 'sys' import 'argv' element script, filename = argv # by argv i will use txt = open(filename) # variable txt opens the file which was given print "Here's your file %r:" % filename # display name of file which was given print txt.read() # print what is in fil...
[ "marcin93@gmail.com" ]
marcin93@gmail.com
c74b7b5e17bda9f26d14cc36fa0e16ff52fffa6b
db4ced2bf1d06a886b18947edf434093f0698b88
/picturesque/settings.py
9883c8510fcbe7c771c6bf1ee6d9f47bcd8f719c
[]
no_license
Code-Institute-Submissions/picturesque-1
a9235df044b6eb3d8b7cf4deaefaddfd41631562
58dfdb58da863aa0d4e07e05fa0e6481e83d21ac
refs/heads/master
2023-02-08T05:21:47.975486
2020-12-30T23:02:17
2020-12-30T23:02:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,389
py
""" Django settings for picturesque project. Generated by 'django-admin startproject' using Django 3.1.4. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pat...
[ "a.guillermo8@yahoo.com" ]
a.guillermo8@yahoo.com
cfb356d0b792ad11e304f1c3e18e01215d7d858e
793a777e5c788286a8ebe67bdb6b5ea4ebdf046a
/env/bin/python-config
bc6de9b390f4163d18cc47f1e18ac19838fd8672
[]
no_license
9394974/learnDjango
94e08cce353a6623c3ddae8ff50ac22a8808e90a
62b5f0a5917be0ae4f663b1ab10b65469f16f235
refs/heads/master
2020-07-31T15:23:33.756475
2017-01-25T15:37:20
2017-01-25T15:37:20
73,597,379
0
0
null
null
null
null
UTF-8
Python
false
false
2,367
#!/Users/crazyLeaves/Desktop/Python/learnDjango/env/bin/python import sys import getopt import sysconfig valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', 'ldflags', 'help'] if sys.version_info >= (3, 2): valid_opts.insert(-1, 'extension-suffix') valid_opts.append('abiflags')...
[ "529342824@qq.com" ]
529342824@qq.com
765503c6c7b8f463814da29afd3332f8f03d5e40
a053d60e2c84750cf1c51142bfdf6dec5048bf25
/demo.py
4cfc291b204313593868375ac5df2099451fc16d
[]
no_license
Sharpiless/paddlex-driver-state-recognition
ed57e58bebcdccc19302dcb49e950dd66be9ed45
81f81f72e9b893c8adca8f9aaba3615dc7aff7c7
refs/heads/master
2023-03-18T23:02:15.255664
2020-06-02T15:42:38
2020-06-02T15:42:38
268,839,488
2
3
null
2021-03-07T13:43:21
2020-06-02T15:32:52
Java
UTF-8
Python
false
false
1,480
py
import matplotlib import paddlex as pdx import paddle.fluid as fluid import numpy as np import cv2 import os import matplotlib.pyplot as plt from PIL import ImageFont from PIL import Image from PIL import ImageDraw from facedet import FaceDet fontC = ImageFont.truetype('./platech.ttf', 20, 0) def drawText(img, a...
[ "1691608003@qq.com" ]
1691608003@qq.com
17602b5d69705a85bd265bfeff78a7e5aa65ed40
21ddbc57c13d4a9f76b0f5bac74119354f724a94
/stockupdate-project/stocks/migrations/0001_initial.py
b1e8a281db6f943c0daa0d4e2055ebee6ced397d
[]
no_license
iamsubhajit/stock-update
4e795bb551602ce4a6169161ba132bed90f64913
e170bd7a59c3e621b8c3db5518a3d21512f5d3cc
refs/heads/master
2020-12-11T04:54:32.393817
2020-01-15T12:38:08
2020-01-15T12:38:08
233,782,206
0
0
null
null
null
null
UTF-8
Python
false
false
555
py
# Generated by Django 2.2.7 on 2020-01-13 11:21 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Stock', fields=[ ('id', models.AutoField(au...
[ "smy5@3ds.com" ]
smy5@3ds.com
f791d11822e740af3f079e5f5adbd2832bc6c5de
a469f33b36ac9783740dbed9173ba76a6f18b3cd
/libs/scripts/users_who_finished_the_course.py
623c4cf08f95e8ef34b193bf601e3cfddf1a5643
[]
no_license
mandarinSh/OpenPolyEdu
0f783622a828ef10413725594c5c0bdbdac554f2
7f0a052e148f321f09f6eb5f806c15eaa26d364a
refs/heads/master
2020-07-27T14:04:57.441770
2020-05-12T11:13:44
2020-05-12T11:13:44
209,116,670
2
6
null
2020-06-08T20:40:07
2019-09-17T17:28:59
HTML
UTF-8
Python
false
false
2,662
py
import sys import datetime from tabulate import tabulate from database_services import * def calculate_users_who_finished_the_course(connection): print('Start query execution at ', datetime.datetime.now()) get_users_who_finished_the_course_query = '''select allUsers.user_id as user_id, allUsers.user_name as ...
[ "igor.nikiforovv@gmail.com" ]
igor.nikiforovv@gmail.com
4c98a9f88ca9eb6021d9773eed475018a705f4f1
33d2477dbbf43e81d15fc2256543b0f6160dcafb
/spleeter/spleeter/dataset.py
b6d8a527506b99474076d4b9532004d7f57b6930
[ "MIT", "CC-BY-3.0" ]
permissive
kimurakeigo888/spleeeer
edd94245365f9e855b3eced333021bb38234fc17
6e9c8d46ddac7b247618121e407360adc269c319
refs/heads/master
2022-11-14T22:49:48.835139
2020-07-07T07:00:20
2020-07-07T07:00:20
277,733,017
0
0
null
null
null
null
UTF-8
Python
false
false
17,982
py
#!/usr/bin/env python # coding: utf8 """ Module for building data preprocessing pipeline using the tensorflow data API. Data preprocessing such as audio loading, spectrogram computation, cropping, feature caching or data augmentation is done using a tensorflow dataset object that output a tuple ...
[ "noreply@github.com" ]
noreply@github.com
33941d22a22cc3b78a3a56dfb400379ab3bdf2b7
0f8eda752a66f5cbf12fd39ac2f8e7c659d1db55
/.local/bin/oslopolicy-checker
d83d95bccfb7f860149dead034258fc908a93c4b
[]
no_license
apiz19/konfiq
91ab949a06fedf64c028c5aa668b6893a2605c23
733be5f9a561de95737f3a6b8067853e029dac05
refs/heads/main
2023-06-03T16:07:25.130600
2021-06-17T16:10:57
2021-06-17T16:10:57
377,864,057
0
0
null
null
null
null
UTF-8
Python
false
false
215
#!/usr/bin/python # -*- coding: utf-8 -*- import re import sys from oslo_policy.shell import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "hafiz.chairy@yahoo.com" ]
hafiz.chairy@yahoo.com
25e4d40ce31b86ade2aecefffc41a865c35c129a
0a5540bc9abca153ee1f90e08d3765617369ad51
/Tres_en_raya.py
bde11d6daf0e44734b14173b667f73ffe78627fb
[]
no_license
Migarve55/Python
4dbcb13e73da0759dfc830479c955b43a5886681
52496594fb60c912e1a1e555a54412f8e102211f
refs/heads/master
2020-07-23T13:04:19.185494
2016-11-20T15:28:47
2016-11-20T15:28:47
73,808,548
2
1
null
2016-11-18T08:43:47
2016-11-15T11:48:11
Python
UTF-8
Python
false
false
4,690
py
from random import randint board = [] size = 3 filler = '-' player1_wins = 0 player2_wins = 0 for i in range(size): board.append([filler] * size) def reboot(): for item in board: for i in range(len(item)): item[i] = filler print("Your wins: %i - Computer's wins: %i" %...
[ "noreply@github.com" ]
noreply@github.com
efb3c8ea22e6329e1b8538f88338e4ce2b5f5d97
2d6d5424e881252898b898fbfbc47fe1487371cf
/examples_trame/basic/file_viewer.py
6348b5f4cd7f6b8e4acd8f0fea37f1a25034e094
[ "MIT" ]
permissive
pyvista/pyvista
333e55bfaa6b8bcdb47e2df04c823d35f05db364
1b450b23340f367315fc914075d551e0a4df8cc3
refs/heads/main
2023-08-20T08:04:27.146062
2023-08-20T01:14:03
2023-08-20T01:14:03
92,974,124
1,885
389
MIT
2023-09-14T21:09:28
2017-05-31T18:01:42
Python
UTF-8
Python
false
false
2,308
py
import tempfile from trame.app import get_server from trame.app.file_upload import ClientFile from trame.ui.vuetify import SinglePageLayout from trame.widgets import vuetify import pyvista as pv from pyvista.trame.ui import plotter_ui # ----------------------------------------------------------------------------- # ...
[ "noreply@github.com" ]
noreply@github.com
08291ce93cc41331a4e39141383462859213da84
d2befabf29be811f95a2aa7c5460f47248b3bb38
/code/YOLO101_1Resolusi_60x40_TrainCDV2_OK2.py
9566e84671c4812757106f4ea0875851a9b92c9f
[ "Apache-2.0" ]
permissive
mlcv-lab/mr3dcapsnet
ed466b86d682c2d36b50698402e384527cb6bce4
d0b37ca085073257b0c485210ec92a5c6e7d9bb6
refs/heads/master
2022-11-14T01:57:52.255660
2020-07-02T00:35:32
2020-07-02T00:35:32
276,502,074
0
1
null
null
null
null
UTF-8
Python
false
false
18,938
py
# -*- coding: utf-8 -*- """ Created on Fri Jul 14 13:24:34 2017 @author: user """ #from keras.preprocessing.image import ImageDataGenerator #from keras.models import Sequential #from keras.layers.core import Dense, Dropout, Activation, Flatten, SpatialDropout3D, Merge #from keras.layers.convolutional import...
[ "marketing@delligence.ai" ]
marketing@delligence.ai
8403858c03fc916e54f0d1a2a88ecc413393b9ef
eeeceb85a215522ef412fddc44cc471c894f28af
/src/python/Problem077.py
71302c21716d25cb49e1104a98582f5b9f3d89e3
[ "MIT" ]
permissive
mchrzanowski/ProjectEuler
3874ad141ca0bf633039899807a6afc1cca67134
06a24cadbd2c38fb42c3935779fc7ffb6de4e1b5
refs/heads/master
2021-01-25T05:34:32.548331
2015-02-08T20:31:10
2015-02-08T20:31:10
3,176,325
0
1
null
null
null
null
UTF-8
Python
false
false
1,055
py
''' Created on Feb 24, 2012 @author: mchrzanowski http://projecteuler.net/problem=77 ''' from ProjectEulerPrime import ProjectEulerPrime from time import time LIMIT = 10 ** 2 # this number can't be that huge; the sequence is very non-linear. SUM_LIMIT = 5 * 10 ** 3 # by 20, it's at 26. by 50, it's ...
[ "mike.chrzanowski0@gmail.com" ]
mike.chrzanowski0@gmail.com
7730f23c1fe157a139eaf71edadb4982a38877c1
0d39e91482abe7f40523e9e225ede5464295888f
/mitogen/unix.py
1af1c0ec6b66522ccdaa603778a48f45502f81cc
[ "BSD-3-Clause" ]
permissive
eamanu/python-mitogen
bdccdd7ceca4f1b114bf3e28556eb0d959b008e8
e93c7aae83b130abe1ef2dcf829d32e40f9fe8b1
refs/heads/master
2022-04-29T17:01:32.451975
2019-10-24T00:30:20
2019-10-24T00:45:18
217,181,829
1
0
BSD-3-Clause
2022-03-29T21:58:20
2019-10-24T01:02:03
Python
UTF-8
Python
false
false
7,133
py
# Copyright 2019, David Wilson # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # # 2....
[ "eamanu@eamanu.com" ]
eamanu@eamanu.com
7385b6bf70487969f3751ad0362a364bf63af7b5
af06f557d31fdfb6ef948dd5acebf74aa8144e2a
/chan/views.py
8d03e15eb8a9c996e105fea8da01381537ae771d
[]
no_license
junkwon-dev/NET_Comm_web
1d7c6921460830973b972c24536252dd9f591890
c1549efaa2cf2288ca5b9f0f1fa4a4af2131069e
refs/heads/master
2022-12-17T02:58:18.058715
2021-06-09T14:18:34
2021-06-09T14:18:34
225,137,248
0
0
null
2022-12-08T03:15:06
2019-12-01T09:39:11
JavaScript
UTF-8
Python
false
false
1,677
py
from django.shortcuts import render, get_object_or_404,redirect from django.utils import timezone from django.core.paginator import Paginator from .models import Blog_chan from django.http import HttpResponse def chan(request): blogs = Blog_chan.objects blog_list = Blog_chan.objects.order_by('pub_date').rever...
[ "jun@junui-MacBookPro.local" ]
jun@junui-MacBookPro.local
d29987a91f08fec4c9898f78a315160145f2d1ad
f0a45ed9cf352a2cfc8deef130b51a004ccbcac0
/EstruturaSequencial/Exer10.py
b3444980abda5ab780b0c86ce388cd84b907b4e5
[]
no_license
AlexBastosMorais/Exercicios-Python
e843f4399a6a5a4b7d29a33776e6c29feaff6140
2e3476ceed86c3d71e39dc852636540434357fa1
refs/heads/master
2023-07-01T01:16:50.879599
2020-02-07T18:01:13
2020-02-07T18:01:13
236,744,996
1
0
null
null
null
null
UTF-8
Python
false
false
607
py
print ("---2 inteiros e um Real----") fun = input () if fun == "a": n1 = int(input("Informe um valor inteiro: ")) n2 = int(input("Informe outro valor inteiro: ")) a = (n1 * 2) + (n2 / 2) print("O dobro do primeiro com a metade do segundo é igual: ", a) elif fun == "b": n1 = int(input("Informe um v...
[ "alexbastos0901@gmail.com" ]
alexbastos0901@gmail.com
ff539eb27fb795776cd04c93a55f929e87dec27c
78cc5105c579c44e93baebf6ddc64a59f05d394e
/codes/FTSEanalysis.py
c3fdc682784f5cf30eb9677a0dfaeb7b1a986bf0
[]
no_license
ankyriakide/FakeNewsIdentifier-ThesisRepository
4a13e7e0680b52a3675be62f3cd4870f56d0a45a
debf0dd70fbbb37a14b65adfd1105f53c041a477
refs/heads/master
2020-07-24T11:26:19.800325
2019-09-13T21:18:10
2019-09-13T21:18:10
207,908,244
0
0
null
null
null
null
UTF-8
Python
false
false
2,343
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Aug 27 23:14:55 2019 @author: ankyriakide """ #FTSE analysis import numpy as np import pandas as pd from pydoc import help from scipy.stats.stats import pearsonr import statsmodels.api as sm from statsmodels.tsa.stattools import grangercausalitytests...
[ "noreply@github.com" ]
noreply@github.com
67ded6b02fa0369ac11a141e0092a08af523d819
6849a4911767221b29fd4f455a1eb774c37e91a6
/NFSIM-master/Revised/controller.py
c471c8adfdf2ed27b89e54a671cd2200dbe33928
[]
no_license
bmwynne/university
bc81a7352a6650c45ccc031a22e2692db410b0de
6e7e156fdf739fce4bef6fcfe080bd2fa4d1d62b
refs/heads/master
2021-08-14T14:04:27.526910
2017-11-15T23:19:42
2017-11-15T23:19:42
110,896,360
1
0
null
null
null
null
UTF-8
Python
false
false
1,443
py
#controller for creating the nodes using os.system import os import sys import time #from myhdl import * #import pcap import socket import select import Queue import string import subprocess topoType = sys.argv[1] #don't read from sys.argv, use cmd line options numNodes = sys.argv[2] counter = 1 numNodes = int(numNod...
[ "bmwynne@Brandons-MacBook-Pro.local" ]
bmwynne@Brandons-MacBook-Pro.local
76f6231eb4c58cf12ede8318e3fc5e3477d7a2df
d783eb1f2368cb09a3a57e2f6a6a2ffa12b953d0
/backend/Database/Controllers/Fluxo.py
27fadd74a91cdf3d027a238b6b3195e3b254c536
[ "MIT" ]
permissive
AEDA-Solutions/matweb
8c1c843e55d86b6ab61adc830d5a2c150f11fe9e
577170f060fbf7d077efc4ae3ac73b98e46c49b8
refs/heads/master
2021-01-22T19:32:00.940622
2017-11-30T17:20:46
2017-11-30T17:20:46
85,203,392
1
3
null
2017-06-30T10:48:54
2017-03-16T14:12:05
HTML
UTF-8
Python
false
false
1,140
py
from Framework.BancoDeDados import BancoDeDados from Database.Models.Fluxo import Fluxo as ModelFluxo class Fluxo(object): def pegarFluxo(self, condicao, valores): fluxos = [] for fluxo in BancoDeDados().consultarMultiplos("SELECT * FROM fluxo %s" % (condicao), valores): fluxos.append(ModelFluxo(fluxo)) r...
[ "andrey@localhost.localdomain" ]
andrey@localhost.localdomain
f6dc05455cd47ae55195c50ba74336f3c0fbbd8c
9a5505ebc6a4a9f7d710e1ef8ce488b578b63c6e
/pycon/sponsorship/migrations/0008_remove_obsolete_benefit_records.py
e8122e5fb061226ee878cdeaa3743c783bc26e75
[ "BSD-3-Clause" ]
permissive
arpitjainn189/pycon
9dabbfd6119a1b2a957469d40e223d063bb91494
492c47820d6dc546e79c707180b3c7b3925e8e72
refs/heads/master
2022-12-23T15:53:53.365038
2020-10-01T09:57:08
2020-10-01T09:57:08
300,229,565
0
0
BSD-3-Clause
2020-10-01T09:54:30
2020-10-01T09:54:29
null
UTF-8
Python
false
false
1,390
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations OBSOLETE_BENEFITS = [ {'name': 'Company URL', 'type': 'simple', }, {'name': 'Company Description', 'type': 'text', }, {'name': 'Web logo', 'type': 'weblogo', } ] def forward(ap...
[ "dpoirier@caktusgroup.com" ]
dpoirier@caktusgroup.com
0c44e067fdd0166bb18f52e65b3576b3eda557cb
744963edc345c12696ab3048c008769c9955160c
/第十七章_GUI_Tkinter库/venv/Scripts/pip3-script.py
3350fdf92359d4a1144cca54cb39ac50adeefbbc
[]
no_license
qixujun/Learn-Python-with-a-zero-foundation-primer
958ab020131bfd44765b71917b6ad2efb2237609
fcfd9dc69fbcc5f0456188cab35b05793dd2f98e
refs/heads/master
2022-11-06T06:29:02.090266
2020-06-19T00:44:31
2020-06-19T00:46:05
null
0
0
null
null
null
null
GB18030
Python
false
false
449
py
#!F:\python代码文件\小甲鱼入门学习\第十七章_GUI_Tkinter库\venv\Scripts\python.exe -x # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.a...
[ "2685764101@qq.com" ]
2685764101@qq.com
0d568e564026f66f38a7a55aeaa4e39b6c3b6cff
80ea4c1ce04ee8e0ecd85ee71f8bffdbcbd368aa
/iupick/settings/testing.py
12021d836718a468cf6d733409edc755763667f5
[ "MIT" ]
permissive
Oswaldinho24k/geo-csv
659ad24f5e8bcecc869143a61e58b38260cc1901
0100435c5d5a5fd12133b376b305e8fa79ddb8f0
refs/heads/master
2020-03-15T21:20:34.095967
2018-05-06T15:45:34
2018-05-06T15:45:34
132,353,011
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
# -*- coding: utf-8 -*- from .base import * # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True AUTH_SECRET_PREFIX = 'sk_test_'
[ "oswalfut_96@hotmail.com" ]
oswalfut_96@hotmail.com
7425d166b12e42e337dca761b662a1053349afe7
7dde8293d4ce030e4817783e3bcc144669e411a8
/PS2/PS2.py
754b1aaa22209e1ae58f176f451aed3e9918a913
[]
no_license
mikeonator/MathModeling
861143ad6c95879d38b01b7dbb4782dea9a5e096
0e51886f5926dca1a11a68499b78ea8e94c7fded
refs/heads/master
2021-01-08T09:00:28.616275
2020-05-04T22:12:41
2020-05-04T22:12:41
241,979,065
1
0
null
null
null
null
UTF-8
Python
false
false
1,760
py
# Michael Audi - Collegiate School Class of 2020 ## Math Modeling Problem Set Two Answers import matplotlib.pyplot as plt def problemOne(): print("Problem One\n") print("a) 12 to 13 days and 13,000 people") print("b) Initial: 42,000 people and 16 days") print("c) About 33 days...
[ "maudinyc@gmail.com" ]
maudinyc@gmail.com
aa759baf95d44890c8a1a6198aaec3e27386890a
0202337b29f6467d56030dde647314b89bb33079
/Video Downloader/video_downloader.py
d73d4ef24c99305d539ad6c5947894fa31557477
[ "Apache-2.0" ]
permissive
Tess314/python-projects
03bae98866bbbb04ad1c3691c819026a20caef82
01d2e85d717c8b31b78bc21219baf5c0cfd48e91
refs/heads/main
2023-05-03T01:51:23.106336
2021-05-09T16:33:34
2021-05-09T16:33:34
365,798,866
0
0
Apache-2.0
2021-05-09T16:32:11
2021-05-09T16:32:10
null
UTF-8
Python
false
false
805
py
from tkinter import * from pytube import YouTube root = Tk() root.geometry('500x300') root.resizable(0,0) root.title("DataFlair-youtube video downloader") Label(root,text = 'Youtube Video Downloader', font ='arial 20 bold').pack() ##enter link link = StringVar() Label(root, text = 'Paste Link Here:', font = 'arial ...
[ "chandwadkar28@gmail.com" ]
chandwadkar28@gmail.com
f30face88618b2e53b4b5aed2c70c8cffcfda98a
e2b2d81d1ea5beeb79d498dd4962fb5ed40e4678
/settings.py
322bb0ae98666366fece731a9d367f8abb04e868
[]
no_license
palewire/dorling-cartogram-example
ddd70d3c310d323f3c896a473d032ccf67da182c
4892546b9a97aa6de0c1f3f0fe6e130319ce8378
refs/heads/master
2021-01-19T20:16:26.152106
2011-10-04T04:26:30
2011-10-04T04:26:30
2,502,718
1
0
null
null
null
null
UTF-8
Python
false
false
4,923
py
# Django settings for project project. import os ROOT_PATH = os.path.dirname(__file__) DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_email@example.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.contrib.gis.db.backends.postgis', # Add 'postgresql_psycop...
[ "ben.welsh@gmail.com" ]
ben.welsh@gmail.com
ccd17e1ca3cb5d28d045a860d29d9f14a1ad9b88
27827a35fab762a5823c6d779dd7bc23cd9a4d1a
/python/3danimate.py
7fbf5b91775ff3e919ad174db84c12225cd08193
[]
no_license
LucaPaganin/SolarSystem
ea45061e512c1723d9e094bac3c875203a50fc41
65c1e5617e931ac2a5562bdc818aebb79b0a2d20
refs/heads/master
2023-04-01T09:24:00.782010
2023-03-17T21:54:33
2023-03-17T21:54:33
230,935,437
2
0
null
2020-01-30T10:34:56
2019-12-30T15:08:32
Python
UTF-8
Python
false
false
2,897
py
from matplotlib import pyplot as plt import matplotlib import numpy as np import mpl_toolkits.mplot3d.axes3d as p3 from matplotlib import animation from pathlib import Path import re import json import functions as fnc import argparse #Parameters parsing parser = argparse.ArgumentParser(description="A python script to...
[ "luca.paganin@ge.infn.it" ]
luca.paganin@ge.infn.it
c8ae0bea34c2fbf2d7548c7bab833e44ef96f134
544e70c552e29dd0e4944ca97fd326c2e8d9e575
/python2-CLC2.py
dd7f154f38604574626e2de548e7e7f071e9d95a
[]
no_license
st8skillz/Python
01336d7df5baf292cc3369ec63ee98c3b24edff1
5448893aa6a02363ad0c2e3bbd48798bb0f8c166
refs/heads/master
2022-06-12T08:05:23.188051
2020-05-04T22:50:48
2020-05-04T22:50:48
261,310,926
1
0
null
null
null
null
UTF-8
Python
false
false
6,278
py
#!/usr/bin/python3 """ Name: Spencer Goldwin Date: 04/22/2020 Course: CIT 29900 Description: Python homework 2 -- covering types, operators, loops, collections, and classes Points: ?/44 Instructions: Complete each numbered task below. Use the space below each task to complete your work. ...
[ "noreply@github.com" ]
noreply@github.com
ed11b6da848a6c6df195ea9ce18fe93d0da14a14
a6913660d858eeec8e3ab80045efec7de77b0302
/testing/modelsTest/main/apps/dataApp/views.py
712526602b2305b8b90afc3be62ca9b6fb9ff243
[]
no_license
alexanderhunter80/recipe-project
6a8d5f80a7fa8bf78edca9f70392ac77608fbd87
9e35b1163dddf63c97bcc8ee934b2658909b4eac
refs/heads/master
2022-12-11T00:53:03.770940
2018-05-25T15:54:22
2018-05-25T15:54:22
134,305,991
0
0
null
2021-06-10T20:19:12
2018-05-21T18:01:41
HTML
UTF-8
Python
false
false
797
py
from django.shortcuts import render, HttpResponse from .models import * from django.contrib import messages from django.contrib.auth.models import User def index(request): response = "testing" print(Profile.objects.get(id=2).OAuth_info.first_name) temp = Profile.objects.get(id=2).OAuth_info temp.userna...
[ "jghtch@gmail.com" ]
jghtch@gmail.com
2bb29f3a8f5b1b7fbebbe190a039627e34f71d57
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_325/ch30_2019_08_26_19_33_38_456658.py
856f9fb13cced922caa07303d99b2963d8c3cf61
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
243
py
import math def jaca(v, o): d = (((v**2.0)*math.sin(2.0*o))/9.8) if d < 98.0: return ("Muito perto") elif d >= 98.0 and d <= 102.0: return ("Acertou!") else: return ("Muito longe") print(jaca(5.0, 45.0))
[ "you@example.com" ]
you@example.com
3f2965e0c1071535736a0f8cee0a336628ca67e0
1385cf00f550ad38378227f62c49bb0cd05e1b04
/leecode/easy/207/1365.py
18f68a18946e06d936942586dac1d72c48b110fa
[]
no_license
liucheng2912/py
4a09652fa52a1f92e8d8dd1239f9c128248fc10e
d40f73450fa65b8dd4d59d8d92088382fc573d2a
refs/heads/master
2023-03-15T21:07:03.456017
2021-03-11T09:15:30
2021-03-11T09:15:30
334,900,352
0
0
null
null
null
null
UTF-8
Python
false
false
275
py
''' 思路: 双重遍历 ''' def f(nums): a=[] for x in nums: temp=0 nums1=nums[:] nums1.remove(x) for y in nums1: if x>y: temp+=1 a.append(temp) return a nums = [6,5,4,8] print(f(nums))
[ "liucheng@fanruan.com" ]
liucheng@fanruan.com
f66d1d8056bf5b8d52a3656800069e30e540d206
56a66c1e758e73c31e26e26c87ebe53bec68f8f3
/graphBFS.py
f9be7330a0fc903e2358bd577b8c67683a29a13b
[]
no_license
rohanJa/LCM-LeetCodeMaychallenge-
181ed33b3b02f49948234231c73291007470a19c
fd99026760cc9e0a8b696c1cd866792d8ded2186
refs/heads/master
2022-12-14T20:04:59.406723
2020-09-05T16:25:13
2020-09-05T16:25:13
260,500,990
0
0
null
null
null
null
UTF-8
Python
false
false
349
py
graph = { 'A' : ['B','C'], 'B' : ['D', 'E'], 'C' : ['F'], 'D' : [], 'E' : ['F'], 'F' : [] } visited = [] queue = [] queue.append('A') visited.append('A') while queue: s=queue.pop(0) for vertex in graph[s]: if vertex not in visited: queue.append(vertex) visited....
[ "rohan.jain150300@gmail.com" ]
rohan.jain150300@gmail.com
6dc0ac7d042b1950915b2898b7c5223a44ba9af5
86d884eb096ed599c6069e2844985aa6ec30cb6b
/finite_difference/diffusion_coefficient/analyse_AHL.py
90363c09ea189ea4f7c21ba98bc5b006d7a2c5cf
[]
no_license
zcqsntr/synbiobrain
46e770471dcfbc5082f271c4e1e5d8b694155780
66758554774c087b8c19c6d50fca5ea733b607f4
refs/heads/master
2022-11-10T16:28:45.888929
2022-10-11T09:07:53
2022-10-11T09:07:53
183,600,800
0
0
null
null
null
null
UTF-8
Python
false
false
1,098
py
import sys import matplotlib.backends.backend_pdf import matplotlib as mpl import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D # noqa: F401 unused import sys.path.append('/home/neythen/Desktop/Projects/synbiobrain/') from diffusion_sim import * os.environ['PYOPENCL_CTX'] = '0' nx = 300 ny = 300 no...
[ "zcqsntr@ucl.ac.uk" ]
zcqsntr@ucl.ac.uk
ca98618d119bd1de5693c8e54b3d7ffabdd9ab79
d273eaa6846f6a99c7e18f101e9ca517ccab1bc3
/test/test_ansiblest/domain/service/test/test_discovery.py
a6bc5f99ee0728f4aada74eae48b4a1f2b37f00a
[ "Apache-2.0" ]
permissive
xabierlaiseca/ansiblest
2e55eba23e430907901d73902da80820c75ad526
399e571c4bf5617f41e7c741f7e90aa0fd678333
refs/heads/master
2021-01-09T20:45:27.316899
2016-07-17T17:25:47
2016-07-17T17:25:47
63,495,536
0
0
null
2016-07-17T17:25:47
2016-07-16T17:53:24
Python
UTF-8
Python
false
false
11,588
py
from ansiblest.domain.model.test import Test from ansiblest.domain.service.test.discovery import find_tests from mock import patch from unittest import TestCase class TestFindTestsFunction(TestCase): TESTS_DIR = "tests" @patch("ansiblest.domain.service.test.discovery.walk") def test__extra_files__not_y...
[ "xabier@laiseca.me" ]
xabier@laiseca.me
08a9c4bc87a98509952767645a5c9c4caf333fc4
0874031cb652dfe841e06a00b95d740601c6e828
/Jose Guadarrama ch3 practice test.py
026f434ed0227854fb4dd5a9fa6b88620fdca361
[]
no_license
SolidDarrama/Python
589cba95f9508479522147373d8a92b78cdc97ec
60e512eb9ad61de8baff59b506fdabe14d06bc46
refs/heads/master
2021-06-30T16:53:38.981561
2017-09-19T20:16:58
2017-09-19T20:16:58
104,123,812
0
0
null
null
null
null
UTF-8
Python
false
false
1,243
py
#Jose Guadarrama #9/15/2014 #salary_amount.py hourly_rate=0 ot_rate=0 reg_hours_worked=0 ot_hours_worked=0 weekly_pay=0 monthly_pay=0 yearly_pay=0 fname=0 lname=0 totalhrs=0 #variables added #2 overtimehrs=0 #user name input fname=str(input('Enter Your First Name:')) lname=str(input('Enter Your Las...
[ "noreply@github.com" ]
noreply@github.com
94927c22d3d83709f7071e9ff9c1bc737fbde555
7b59b1468725ef20017d447f7aeaeee81d9934c0
/venv/Scripts/pip3.7-script.py
d5be34d787e0347d5544a0ae03c25834408818e4
[]
no_license
isaaclee12/DataCleaningLesson
f1faf9c04a0d38d3c32b374bb0e2dafe0c159583
26f47d070610d78e9f8a5544623af6649593244b
refs/heads/master
2022-08-22T23:13:26.719677
2020-05-20T22:57:52
2020-05-20T22:57:52
265,703,522
0
0
null
null
null
null
UTF-8
Python
false
false
422
py
#!C:\Users\isaac\Documents\DataCleaningLesson\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3.7' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sy...
[ "isaac.lee@uvm.edu" ]
isaac.lee@uvm.edu
bd3c614d453ba44555d79e289a0d4d923e611a74
9dba277eeb0d5e9d2ac75e2e17ab5b5eda100612
/exercises/1901050013/d11/main.py
62fffbca9611008650d6ac289947ccf42f4a8d45
[]
no_license
shen-huang/selfteaching-python-camp
e8410bfc06eca24ee2866c5d890fd063e9d4be89
459f90c9f09bd3a3df9e776fc64dfd64ac65f976
refs/heads/master
2022-05-02T05:39:08.932008
2022-03-17T07:56:30
2022-03-17T07:56:30
201,287,222
9
6
null
2019-08-08T15:34:26
2019-08-08T15:34:25
null
UTF-8
Python
false
false
718
py
import yagmail import requests import getpass from pyquery import PyQuery from mymodule.stats_word import stats_text_cn response = requests.get('https://mp.weixin.qq.com/s/pLmuGoc4bZrMNl7MSoWgiA') # acquire the article link. document = PyQuery(response.text) content = document('#js_content').text() #acquire the articl...
[ "40155646+seven-tears@users.noreply.github.com" ]
40155646+seven-tears@users.noreply.github.com
2db42dee1688750e9f9b5361e4af2c9f36d228c3
5785d7ed431b024dd910b642f10a6781df50e4aa
/revise-daily/june_2021/walmart/10_triplet_sum_to_zero.py
e4e1d155945f4f6d79319f6ba48f01df9e967c5b
[]
no_license
kashyapa/interview-prep
45d77324446da34d99bf8efedb3544b367b5523e
7060c090c40602fb9c4778eace2078e1b51e235b
refs/heads/master
2023-07-28T13:12:49.515299
2021-09-06T14:33:25
2021-09-06T14:33:25
403,706,510
0
0
null
null
null
null
UTF-8
Python
false
false
798
py
def triplet_sum_to_zero(nums, target): def find_target_pair_sum(t, left): first = left - 1 right = len(nums)-1 while left < right: if nums[left] + nums[right] == t: res.append((nums[first], nums[left], nums[right])) left += 1 right...
[ "schandra2@godaddy.com" ]
schandra2@godaddy.com
537ff5660a06711e1738ebf1b6cfdb1f3c9ea47d
87bf8ea26f6c28bce82ccdd9515c68d6341bd8c5
/trading/celery.py
6b455e28d01b1dde8036483d661a75eddc8dd195
[]
no_license
aisamuel/real-time-forex-api
e9ac21f28f77aadae526df9a275487737d8d1155
08b1d0d129659a3b8735b21d7195cb756fdd6b47
refs/heads/master
2022-04-06T08:13:51.749351
2020-03-04T12:12:55
2020-03-04T12:12:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
222
py
import os from celery import Celery os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'trading.settings') app = Celery('trading') app.config_from_object('django.conf:settings', namespace='CELERY') app.autodiscover_tasks()
[ "charliescene512@gmail.com" ]
charliescene512@gmail.com
3020a1bd60c26eed6fd24abd50180f5b836aea2d
f78efc2e07269595f6f20ec1a312a4c1f2983190
/check.py
c4a170e6cad28ef9bf0227d31c95e4a1efe43761
[]
no_license
catthanh/StudyJam2021
8fafafd79919f13d3871c218b62e1753f756f1be
408ebe4d5122688afc0564e3d5142178307f8e7f
refs/heads/main
2023-07-17T15:57:55.165624
2021-09-01T14:58:17
2021-09-01T14:58:17
402,075,947
0
0
null
null
null
null
UTF-8
Python
false
false
2,458
py
import urllib.request import urllib.parse import urllib.error from bs4 import BeautifulSoup import ssl import csv # Ignore SSL certificate errors ctx = ssl.create_default_context() ctx.check_hostname = False ctx.verify_mode = ssl.CERT_NONE inputFile = "in.csv" outputFile = "out.csv" invalidFile = "invalid.csv" accep...
[ "catthanh26@gmail.com" ]
catthanh26@gmail.com
bcc06d990379d76f8eef19db4573367d4912761c
4331ccb3e584eb1d9312277333039adc7e850d10
/duqu/readexcel.py
6ba2b8be374c4313729de41547ca0d84ce88af12
[]
no_license
setupsizhe/autotest
9274c2826c022e28baecc0b31442dbdae04d420b
083c469ec8968e972d70de3ec3ea12c2ca83eb34
refs/heads/master
2023-02-05T03:17:19.168914
2020-12-22T07:57:00
2020-12-22T07:57:00
319,576,767
0
0
null
null
null
null
UTF-8
Python
false
false
1,093
py
# coding:utf-8 import os import xlrd import sys class ExcelUtil(): def __init__(self, excelPath='test.xlsx', sheetName="Sheet1"): self.data = xlrd.open_workbook(excelPath) self.table = self.data.sheet_by_name(sheetName) # 获取第一行作为key值 self.keys = self.table.row_values(0) # 获取总...
[ "sizhe.liu@mushiny.com" ]
sizhe.liu@mushiny.com
5e5c4e2de7fe0b92d59fe49e8ed41262a8b5854a
56f5b2ea36a2258b8ca21e2a3af9a5c7a9df3c6e
/CMGTools/H2TauTau/prod/22Jul/down/emb/DoubleMuParked/StoreResults-Run2012B_22Jan2013_v1_PFembedded_trans1_tau132_pthad1_30had2_30_v1-5ef1c0fd428eb740081f19333520fdc8/USER/V5_B/PAT_CMG_V5_16_0_1374500587/HTT_22Jul_manzoni_Down_Jobs/Job_104/run_cfg.py
af465597ac04797342d557667927aeff1a2019b3
[]
no_license
rmanzoni/HTT
18e6b583f04c0a6ca10142d9da3dd4c850cddabc
a03b227073b2d4d8a2abe95367c014694588bf98
refs/heads/master
2016-09-06T05:55:52.602604
2014-02-20T16:35:34
2014-02-20T16:35:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
69,041
py
import FWCore.ParameterSet.Config as cms import os,sys sys.path.append('/afs/cern.ch/user/m/manzoni/summer13/CMGTools/CMSSW_5_3_9/src/CMGTools/H2TauTau/prod/22Jul/down/emb/DoubleMuParked/StoreResults-Run2012B_22Jan2013_v1_PFembedded_trans1_tau132_pthad1_30had2_30_v1-5ef1c0fd428eb740081f19333520fdc8/USER/V5_B/PAT_CMG_V...
[ "riccardo.manzoni@cern.ch" ]
riccardo.manzoni@cern.ch
017bf3eb32db4c72181608ca25cb4c17651a56bd
569438e55096aef55bdc23e13192ff769e011467
/mysql-utilities-1.6.0/mysql/fabric/services/sharding.py
9cc3b05dcec26cc7ba00af378bf690b1b70bb7b5
[ "LicenseRef-scancode-python-cwi", "LGPL-2.0-or-later", "BSD-3-Clause", "bzip2-1.0.6", "LicenseRef-scancode-free-unknown", "GPL-2.0-only", "LicenseRef-scancode-other-copyleft", "Sleepycat", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-lat...
permissive
scavarda/mysql-dbcompare
b5ef50ae852d0f9b82e3b81e7a200fe12a7d251e
1e912fd87282be3b3bed48487e6beb0ecb1de339
refs/heads/master
2021-05-01T22:24:03.738213
2016-12-23T14:22:44
2016-12-23T14:22:44
77,213,895
2
1
Apache-2.0
2020-07-23T23:07:18
2016-12-23T09:17:46
Python
UTF-8
Python
false
false
34,942
py
# # Copyright (c) 2013,2014, Oracle and/or its affiliates. All rights reserved. # # 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; version 2 of the License. # # This program is distributed in the...
[ "marcos@planetsite.it" ]
marcos@planetsite.it
6143aeec23420e381500225a7b77c7106f4afe75
3d852809edef71da5ce6cc3df63ae7e77c1c01f7
/day24/file_io/kbo2021_r.py
ad38063a36414c1ec7cb18dac48c726e2ac64b40
[]
no_license
yeomye/pyworks
f85f30e3592215efdbdd830c40a54586f636c8cd
b741068264f4a09dd2dcbde1c66617dcc1aa7f37
refs/heads/master
2023-08-03T03:18:37.789783
2021-09-24T04:19:50
2021-09-24T04:19:50
402,286,631
0
0
null
null
null
null
UTF-8
Python
false
false
191
py
# 리스트 읽기 try: f = open("c:/pyfile/kbo2021.txt", "r") data = f.read() print(data) f.close() except FileNotFoundError: print('파일을 찾을 수 없습니다.')
[ "yyz2999@naver.com" ]
yyz2999@naver.com
71b257d53cfa0b1ff1ea40c6dbceb81a4faab0c1
d9d7f841e1a7c53344000634320db78c5743eba5
/lib/python/make-csv.py
8d60b40f8633289728adc8229a567ec4aa777534
[]
no_license
hellais/ooni-analyst
5bb7030734319ad0bafec267ec30a7c8d0696b03
7e81b812581e36e26951bbfa48fea770ec09c061
refs/heads/master
2020-03-22T10:05:37.383835
2018-07-09T11:07:10
2018-07-09T11:07:10
139,880,420
0
0
null
null
null
null
UTF-8
Python
false
false
2,995
py
import os import sys import argparse from datetime import datetime import pandas as pd import psycopg2 def query(q, params, pg_dsn): # XXX this is useful for debugging """ import yaml from sshtunnel import SSHTunnelForwarder with open('private/secrets.yml') as in_file: secrets = yaml.load(...
[ "arturo@filasto.net" ]
arturo@filasto.net
a88fe823b14d9c288341aa84511f4fe893b1a1d5
2b6e2bc133a64be1a26c83b8097c983b5b794989
/greatMmsWeb/greatMmsWeb/urls.py
cd4ab337d2923c7a7c783cc0fbce402a19967213
[]
no_license
mms-data/mms_data_hunt
377d500fd974e5a328bfdea5fad502fa97e02b6a
6ec465f65a40004868337dc07246d21c30f499eb
refs/heads/master
2022-12-04T08:10:10.454050
2020-08-27T21:57:44
2020-08-27T21:57:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
813
py
"""greatMmsWeb URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-b...
[ "bhaskarbishnoi@Bhaskars-MBP.fios-router.home" ]
bhaskarbishnoi@Bhaskars-MBP.fios-router.home
40c0d6fcf7bb9304c361fdaaca659ff158f4207e
c5dd4cdbcc5c3edccacf02d1550013e530e70d2e
/Screenshots/ImageRenamer.py
f2aead5c653f1a0372e2dcb86c15b70f75969fe7
[]
no_license
dsouzarc/bmfiOS
4506fcbff1b601182f272e827296684c95a1c8c6
0f675df00b5afe85f4d6cf035aae0245145025cd
refs/heads/master
2016-09-16T04:29:05.659131
2015-05-26T02:22:03
2015-05-26T02:22:03
31,240,435
0
0
null
null
null
null
UTF-8
Python
false
false
653
py
import os; #Written by Ryan Dsouza #Quickly renames all the photos in a directory with the format #'Screenshot_X.png', where X is that file's place in the directory #Also prints out the markdown code to display these many images #Run instructions: 'python ImageRenamer.py' files = os.listdir('.'); index = 0; pref...
[ "dsouzarc@gmail.com" ]
dsouzarc@gmail.com
af6b3f137d875061e788546266ab073b1b555f47
80d50ea48e10674b1b7d3f583a1c4b7d0b01200f
/examples/v1/synthetics/DeletePrivateLocation.py
e1445b48a8b1ceaab7b068d50ef37b6e45fd3c5f
[ "Apache-2.0", "BSD-3-Clause", "MIT", "MPL-2.0" ]
permissive
DataDog/datadog-api-client-python
3e01fa630278ad0b5c7005f08b7f61d07aa87345
392de360e7de659ee25e4a6753706820ca7c6a92
refs/heads/master
2023-09-01T20:32:37.718187
2023-09-01T14:42:04
2023-09-01T14:42:04
193,793,657
82
36
Apache-2.0
2023-09-14T18:22:39
2019-06-25T22:52:04
Python
UTF-8
Python
false
false
386
py
""" Delete a private location returns "OK" response """ from datadog_api_client import ApiClient, Configuration from datadog_api_client.v1.api.synthetics_api import SyntheticsApi configuration = Configuration() with ApiClient(configuration) as api_client: api_instance = SyntheticsApi(api_client) api_instance....
[ "noreply@github.com" ]
noreply@github.com
53411dfa34e5dcffe4e75154fc53a3b3114f157b
11f4dd74872c73781a8975698e7cf1e3df2a40af
/Chapter 9 - Organizing Files/findLargeFile.py
dab52b3722813fce1035f9413997e88737ddd764
[]
no_license
lonewolfcub/Automate-the-Boring-Stuff-with-Python
ca65e9fcbd61c94776ac1a0346b5372e975569db
da90ead498a0597ae5a4f88449a9774887c7d5e6
refs/heads/master
2021-01-18T17:03:17.600375
2017-03-31T05:58:56
2017-03-31T05:58:56
86,783,143
0
0
null
null
null
null
UTF-8
Python
false
false
552
py
#! /usr/bin/env python3 import os def findLargeFiles(folder): # iterate over search folder for dirpath, dirnames, filenames in os.walk(folder): # check each file to see if over 100mb for file in filenames: filepath = os.path.join(dirpath, file) filesize = os.path.getsiz...
[ "lonewolfcub020@gmail.com" ]
lonewolfcub020@gmail.com
7af77bd8017df4a03b730d463efae17dd0d9ffb0
447914f0f7a6e1b432f6811aacb0f274fbdbe3c5
/Jerry_Padilla_Py2Assignments-master/assignments/practice_models/apps/ninjaDojo/migrations/0001_initial.py
af5ff3d138e5e38072d2a746df99076ec1ab3a08
[]
no_license
jsterling23/Python_Prac
965ab83e6f34191a1ebbc2e3605f71ace07a0b6d
dc41030be125337099ddbc8af8e2598b844e11a4
refs/heads/master
2020-03-18T10:49:23.521218
2018-05-23T23:19:22
2018-05-23T23:19:22
134,635,256
0
0
null
null
null
null
UTF-8
Python
false
false
1,186
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2018-02-20 21:52 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Crea...
[ "jerrypadilla23@gmail.com" ]
jerrypadilla23@gmail.com
4aea674ba9ea55e99e9247ffb88c1838a645ac6e
7fdd73e4e8526d636c69fa976fdce07d8aba203b
/PyBank/main.py
c29993d65c04c22392c43ec371411656bfd68fc8
[]
no_license
hopandskip/python-challenge
bc1667cc3eca4ad83170715ab2fb47066392cf01
7eecd3acd950390369cde0c664228ed14b877eec
refs/heads/master
2020-04-22T07:56:40.818467
2019-02-13T03:16:44
2019-02-13T03:16:44
170,228,039
0
0
null
null
null
null
UTF-8
Python
false
false
2,439
py
#Establish dependencies import os import csv #Import the file pybank_path = os.path.join("Resources","budget_data.csv") #create the variables date = [] profit_loss = [] change_in_profit_loss = [] with open (pybank_path, newline ="") as pybank_data: pybank_reader =csv.reader(pybank_data, delimiter=",") next(p...
[ "18711721+hopandskip@users.noreply.github.com" ]
18711721+hopandskip@users.noreply.github.com
2b720f042ff4ef1edfcb81e6b3105b44a434b8cf
f172de95e4aa77eacebf21639450dc4ac153cfaf
/w/_a.py
a117f36aa81b745f9faac867975b519c1809f02b
[]
no_license
teamWSIZ/python-async-parallel-2019
3132403ba49e20eff28ec5eb2a1a9d82a1f629fd
977bcd5ff848881be68fa5e52b26c2a74b160cd2
refs/heads/master
2020-08-11T16:00:08.817047
2020-05-31T09:26:11
2020-05-31T09:26:11
214,592,009
0
1
null
null
null
null
UTF-8
Python
false
false
152
py
import sys class A: u = 77 def __init__(self): self.g = 12 a = A() a.x = 111 print(a.u) print(a.x) print(f'->{sys.getrefcount(a)}')
[ "pm@aimachina.io" ]
pm@aimachina.io
39ba4254009e2a19d141b2c3bde4677bcf87a301
5121a0c80c3f20a0ad296b384f8d814386132c9f
/main.py
788f8ce876e3e9705264b0ce7dbe0b02fcc336ad
[]
no_license
scxr/oghost_new
35112168b69db1e8f6f4e389027df8a6ff7a0f9d
815de8a6f3172bbe88b14ad90c75ff4dbae91eac
refs/heads/master
2023-01-01T10:39:01.652219
2020-10-14T15:17:21
2020-10-14T15:17:21
296,744,657
0
0
null
null
null
null
UTF-8
Python
false
false
146
py
from app import app from app.main.config.settings import Config app.config.from_object(Config) if __name__ == "__main__": app.run(debug=False)
[ "cswilson@zoho.com" ]
cswilson@zoho.com
0a4cafcca4c0dfb9516022fa338370e21580a3aa
3ed906cc2a51b26b6efbe4ed9a76ab61dae66bcd
/aperoll/widgets/star_plot.py
5fbfaaa9822e97a7c2995f50734ae7c3270f319a
[]
no_license
sot/aperoll
3c77d39f1cab87d3681228551e651eaebd52222f
433637e15720294c867f0c1cac847fc15b3d45b4
refs/heads/main
2023-06-22T03:19:12.592351
2021-07-22T18:57:28
2021-07-22T18:57:28
388,531,495
0
0
null
null
null
null
UTF-8
Python
false
false
12,430
py
import numpy as np from astropy.table import Table from PyQt5 import QtCore as QtC, QtWidgets as QtW, QtGui as QtG from Quaternion import Quat from cxotime import CxoTime from chandra_aca.transform import yagzag_to_pixels, pixels_to_yagzag, yagzag_to_radec def symsize(mag): # map mags to figsizes, defining ...
[ "javierggt@yahoo.com" ]
javierggt@yahoo.com
089d2fbd735e86518961b5f6f385cd22e1d8c136
7345f03494fa8b06ea8215770305718618af1d41
/nenv/bin/wheel
1519777ccc4cf6bd72d97e5bd0f7a51fe7d8902d
[]
no_license
mr-kaveh/simplerestapi
328fd839b74afcfa2a41ff71d4bb556457535519
a5c68c55018c938211c2f25e19bf4e43b5d99f36
refs/heads/master
2022-10-29T11:55:56.033385
2022-10-18T15:39:56
2022-10-18T15:39:56
169,194,555
1
0
null
null
null
null
UTF-8
Python
false
false
243
#!/home/hossein/myScripts/apiRepo/nenv/bin/python # -*- coding: utf-8 -*- import re import sys from wheel.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "mr.hdavoodi@gmail.com" ]
mr.hdavoodi@gmail.com
7e05768d55a4ec7a0a86e24d4b7c3bf8ed0954d0
b67f4c5e1be7d0b2926b71e0673a2b05e6143421
/myspider/myspider/spiders/detail.py
5de5ffc906f5b4e03440239ad5fa6bf54332fe2d
[]
no_license
Master-Wu/DJ
81234e27fdb6980db5630c4ec7970c194c7295c1
c859d0084f5065bdcd0f0902de95fa8126e739aa
refs/heads/master
2020-03-25T23:08:03.393589
2018-08-16T11:57:47
2018-08-16T11:57:47
144,260,084
0
0
null
null
null
null
UTF-8
Python
false
false
4,900
py
# -*- coding: utf-8 -*- # __author__ = "吴道子mr.worth@qq.com" import pymysql import scrapy import json from argparse import Namespace from myspider.items import MyspiderItem # cookie设定地址为en_gb, 而非中文, 避免中文时出现的全球各城市与机场名称的中英文混杂无法有效提取问题 cookies2={ "w_locale":"en_GB" } def json_to_object(data): ''' 用来转换具有json样式的str到python...
[ "mr_worth@163.com" ]
mr_worth@163.com
b7ed28d5198ac65f3ff3ae432d41130615dab2c3
c5695fdb2d97511d069a33b0c0468943b04ddf0a
/practice/exercise33.py
f83964f94fb9fa79e1b51ef221e8c5790bb2bcfb
[]
no_license
nehahooda/python_zed_shaw
dfab32d8b1470f4c5dd50d5e383c501d4418e5f4
d0f830f84f2f493c748f025ef710be45c3165f0b
refs/heads/master
2021-01-20T09:49:11.631056
2017-08-26T15:08:33
2017-08-26T15:08:33
90,289,616
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
i=0 numbers = [] while i<6: print "at the top i is %d" %i numbers.append(i) i=i+1 print "numbers now",numbers print "at the bottom i is %d" % i print "the numbers:" for num in numbers: print num
[ "nehahooda2012@gmail.com" ]
nehahooda2012@gmail.com
8644dd39ff5043271d890631919efb36f3019572
c3eec4400793de4c1ce3bc4b98acec2992e3c3b8
/PythonBasics/UdacityRefresher/Class_Practice.py
269bea3a2b7fee902cfbce6a9c756dcf69f117e7
[]
no_license
paragshah7/Python-CodingChallenges-LeetCode
f1bef486eb145da0a69ae57287106432317b1078
85e64f106715e0bdd5ae3ba13729a51406e1f5df
refs/heads/main
2023-07-12T11:04:26.748696
2021-09-06T22:29:28
2021-09-06T22:29:28
301,836,780
0
0
null
null
null
null
UTF-8
Python
false
false
4,752
py
# Udacity class Person: def __init__(self, name, age, month): self.name = name self.age = age self.birthday_month = month def birthday(self): self.age += 1 def create_person_objects(names, ages, months): my_data = zip(names, ages, months) person_objects = [] for ...
[ "paragshah367@gmail.com" ]
paragshah367@gmail.com
a55b550c5b6a6595f4a214f8d53c881dd8b42f67
4de5291314b071a85aeb2ec35a66403ebe32cb3d
/oops/class.py
7122612e6ff43adb4513e08651f87dfc3af1696e
[]
no_license
sudhatumuluru/PythonPractise
d5e71cdac6d354921bc43f65b983b994feba8214
484b55e8d22ef34c9ae63b46afa0afae0918d5a2
refs/heads/master
2021-01-17T19:52:06.015581
2016-06-16T21:20:20
2016-06-16T21:20:20
61,326,307
0
0
null
null
null
null
UTF-8
Python
false
false
141
py
class mycla(): 'This gives the declaration of the class' def dis(self): print "class name: myclass" obj=mycla() obj.dis()
[ "sreesudha.tumuluru@gmail.com" ]
sreesudha.tumuluru@gmail.com
f655d6f7453d9e2d72506d187a52cd29ee2b45e0
40844ef4ab8a8a0945d3c9db53002310d9fbeb72
/legacy/pythonCrashCourse/tips/hello.py
c81dd366849aab2a2ff7829a389d83a4b962ee0a
[]
no_license
dky/cb
e2f0937e262c24fe040530c462e84bbe83ab60e3
a69e0a12f0e91fdd36398a16f373d207a2d95b9c
refs/heads/master
2023-03-23T23:37:53.046644
2021-03-10T04:48:57
2021-03-10T04:48:57
224,289,162
0
0
null
null
null
null
UTF-8
Python
false
false
31
py
print("This will be printed.")
[ "don.d.ky@gmail.com" ]
don.d.ky@gmail.com
ec072e7f784d6f0a00b93ae94bd00133cbbc7aa1
caa43b83e6fdabbd63fecb6b3e9aa14b875596f1
/webservice-upload/app.py
51de2700b9c9b7ce12e0552f54a431b84532ad50
[]
no_license
thanakarn57/nerwork2
243acfa66b8565d7d8919edf6adfa6fd24fe9239
aa96054c26871d683717d396f90ff735ce5bb65b
refs/heads/master
2021-05-04T20:45:47.292885
2018-02-01T16:04:40
2018-02-01T16:04:40
119,861,384
0
0
null
null
null
null
UTF-8
Python
false
false
509
py
from flask import Flask , request from flask_restful import Resource , Api,reqparse import json ,time app = Flask (__name__) api = Api(app) parser = reqparse.RequestParser() class Upload(Resource): def post(self): if 'file' not in request.files: return {"code":404,"desc":"upload unsuccessful"} file = reque...
[ "thanakarno57@email.nu.ac.th" ]
thanakarno57@email.nu.ac.th
b068a33104b190dfe987923899df18b4fb43123f
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_ports.py
0fffb49ed97cda99bbb0989d662e80ae11e7425e
[ "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
214
py
#calss header class _PORTS(): def __init__(self,): self.name = "PORTS" self.definitions = port self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['port']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
7f9c10e48071518561b79cb0525890d87591fae1
98d6335b369165ee6d3058ae242c671273c703d0
/day1/day1_part2.py
4933c4600ca5a22b9941d60c96a9a59771fe5cd6
[]
no_license
elsenorbw/advent-of-code-2020
6830be42fa5251b7654b33db4643cd1b8473c25b
cd4cc4ddf884de0a7d8a7fa95633525fa87793a0
refs/heads/main
2023-08-22T07:22:02.967748
2021-10-08T11:18:29
2021-10-08T11:18:29
317,477,644
0
0
null
null
null
null
UTF-8
Python
false
false
3,903
py
# --- Day 1: Report Repair --- # After saving Christmas five years in a row, you've decided to take a # vacation at a nice resort on a tropical island. Surely, Christmas will go # on without you. # # The tropical island has its own currency and is entirely cash-only. The gold # coins used there have a little picture of...
[ "bry@home.com" ]
bry@home.com
ca26735ce0125a5ae0f72ab61952099184dd5f2f
b33890fa8ca3239fdf6d8c06a3032f8b30991a79
/cameron/p047/p47.py
e8d3196a7c3a5b7b4ea14d2026de2161203efbe1
[]
no_license
Big-Theta/EulerProblems
9443eb6a7f29bfb631ffd5e2439c182f37de70c4
adc3ed1c3a57ab50d41b30bddc9678db5dd456d4
refs/heads/master
2021-01-23T13:17:00.802583
2013-10-06T03:06:56
2013-10-06T03:06:56
13,356,594
1
0
null
null
null
null
UTF-8
Python
false
false
2,679
py
#!/usr/bin/python #anwer is 134043 from num_tools import * def test_gray_upto(x): for i in range(x): gray = bin2gray(i) if bit_count(gray) == 4: print bin(gray) #print gray2bin("1010101010101") def mult_total(arr): return_val = 1 for i in arr: return_val *= i ...
[ "c.d.evans87@gmail.com" ]
c.d.evans87@gmail.com
6afe8571e5efb5c4c6ebcec6460e3eff20f3c450
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2939/60688/289152.py
06318fcf6a295848bf438a55ad0e226977a27ba4
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
1,016
py
strings=input() numslist = (strings.split(" ")); if "5 4" in strings: print(numslist) numslist=list(int(x) for x in numslist); times=numslist[0]; delnums=numslist[1]; mynumlist=[1]; finalnums=[]; for i in range(times): num=mynumlist.pop(0); mynumlist.append(2*num+1) mynumlist.append(4*num+5) fin...
[ "1069583789@qq.com" ]
1069583789@qq.com
7d3d8008514d7911025c4b7264c1e28decb92aeb
63a0ef9a51aeea42904e5a861b16c57bd78c4c13
/linked_list.py
962a1dd424dc6235ff1b7ed7d511cb0eae66efa1
[]
no_license
Nicolas1st/DataStructures
dd2938f8a8632bcd63049c3d2fef928e2ef70e20
434f458863f64156225fa38fb601d11bfa605ecc
refs/heads/main
2023-06-08T06:24:00.396573
2021-07-01T11:04:25
2021-07-01T11:04:25
334,188,490
0
0
null
null
null
null
UTF-8
Python
false
false
3,590
py
class Node: def __init__(self, value, next_node=None): self.value = value self.next_node = next_node class SinglyLinkedList: def __init__(self, array): self.first_node = Node(array[0]) previous_node = self.first_node for value in array[1:]: ...
[ "nicolashereigo@gmail.com" ]
nicolashereigo@gmail.com
1aa210b0d4aa1209e309316273c6a81b2deaf6f3
dde43756d6dc56e38f81a097fa02082eaa787cfd
/OCR/lib/ocrdetect/valid.py
372f420a11c60f29f8a74a7a523ed55becb20473
[]
no_license
linshaoxin-maker/myproject
36bde684bfe57d1a52bf87b3919d29eb703e3f90
606623bf41fd1741541f2ef4a6aa75404663e353
refs/heads/master
2023-04-24T02:08:03.193303
2021-05-14T01:58:27
2021-05-14T01:58:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,449
py
from __future__ import division from ssd import build_ssd import os from init import init_args import time import logging import datetime from utils import helpers from config import * import cv2 import numpy as np import torch from torchvision import transforms from matplotlib import pyplot as plt import...
[ "hecong@talkweb.com.cn" ]
hecong@talkweb.com.cn
8b8810a06129d028538ccc83325f5af48057c89f
b7708fb5f8c9e1e41378b52d35b23b9003d242c8
/visual/topo.py
71750e764ff7fd1dad76ed1a3b895c1820a9913c
[]
no_license
drelatgithub/MembraneSimulation
410772aeb6cf6cb3c2a7bb3397a64b57de9fba85
62e1f8368366bfcded4c1673315a811dc3868084
refs/heads/master
2020-04-05T12:12:30.079421
2017-12-15T23:39:40
2017-12-15T23:39:40
81,012,571
0
1
null
2017-09-12T19:43:57
2017-02-05T18:28:56
C++
UTF-8
Python
false
false
2,476
py
import numpy as np class Vertex(object): def __init__(self): self.nIndices = None # Neighbor indices, in counter-clockwise direction class Facet(object): def __init__(self, vIndices): self.vIndices = vIndices # Indices of vertices in counter-clockwise direction (must have length 3) def __e...
[ "drel@sohu.com" ]
drel@sohu.com
7b0dc52e0ab9e95fc6de99bb478dd63c4efa4c46
0ecb596f31a29b45840081e01e92dee6aed80db3
/dist/encodedpolylineexporter/encoded_polyline_exporter_csv.py
f41378f770767a108f5281724cc88f5a43772506
[]
no_license
pvinton/QGIS-EncodedPolylineExporter-plugin
1a1d12a2f472a2fe9b97dadab692dea1f2fbe1d9
106f55faad11807ada820dd90246df5be093ba60
refs/heads/master
2021-07-12T09:39:17.038001
2020-07-26T00:35:46
2020-07-26T00:35:46
16,705,634
1
0
null
null
null
null
UTF-8
Python
false
false
14,369
py
# -*- coding: utf-8 -*- """ /*************************************************************************** EncodedPolylineExporterDialog A QGIS plugin Export a vector layer to a .csv file in Encoded Polyline format, with optional geometry simplification Generated by Plugin Builde...
[ "ttakahashi@analytics8.com" ]
ttakahashi@analytics8.com
74c2347b9150e15dbbe69fe6dce4493a8258841f
b424c3262c9eacf8dd4230019eba7e05a9b95461
/.history/ndn_hello_sender_20200530012537.py
a9866ad3bbc9dcd7f10b5fa74fed00e9084ad214
[]
no_license
leonerii/aer_tp
30e47f29bcda69512718a6279a7cad32e9a01b14
d8f46b188b5be9f315dd155ed147880ce7dce169
refs/heads/master
2022-09-30T03:27:24.375971
2020-06-04T14:23:16
2020-06-04T14:23:16
245,219,806
2
1
null
null
null
null
UTF-8
Python
false
false
1,802
py
from threading import Thread, RLock from time import sleep from json import dumps from uuid import uuid4 import socket class HelloSender(Thread): def __init__(self, lock, hello_interval, fib, cs, localhost, mcast_group, mcast_port): Thread.__init__(self) self.lock = lock self.hel...
[ "aseie@Adrianos-MBP.lan" ]
aseie@Adrianos-MBP.lan
d3de760c391304be61217622b6ce2f11f6e7752b
2060a33ce9386f3805179fee3823e604d3c621a8
/test.py
6629e5c1af114b347b4d9d09c0ac2b64f1d139cd
[ "MIT" ]
permissive
BasilaryGroup/docker-selenium-lambda
0efeb70352099a567d91442c81466eeccb5063fc
32ed94b4a2750f3b419b2c64b0b2d2c2d9270c89
refs/heads/main
2023-09-05T12:57:13.633022
2021-11-10T22:19:11
2021-11-10T22:19:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
837
py
from selenium import webdriver def handler(event=None, context=None): options = webdriver.ChromeOptions() options.binary_location = '/opt/chrome/chrome' options.add_argument('--headless') options.add_argument('--no-sandbox') options.add_argument("--disable-gpu") options.add_argument("--window-...
[ "umihico@users.noreply.github.com" ]
umihico@users.noreply.github.com
8b2f4a9a7d045651e33b7d78a5efc9722b082e18
0ab3b5dedb8ebef15682d5abb0cb7910c4d9a4b0
/reactive/streams/base_objects/priority_subscription_pool.py
e620d40992cf965171b028005e66ccd7a5b5f6ad
[ "Apache-2.0" ]
permissive
xyicheng/ReactiveThespian
cd8023df7a07518a376c0e813a73c1fdfcde3861
db93ea9acf58b0da12bcc78ab267e83f3c3c473b
refs/heads/master
2021-08-07T20:10:59.735700
2017-11-07T21:02:31
2017-11-07T21:02:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,648
py
''' Subscriptions in this pool are called on a priority basis, enabling some jobs to take priority. Created on Nov 5, 2017 @author: aevans ''' from reactive.streams.base_objects.subscription_pool import SubscriptionPool from reactive.error.handler import handle_actor_system_fail from reactive.message.stream_messages...
[ "asevans48@gmail.com" ]
asevans48@gmail.com
6027504c6f62aa980d9f96cc77dfda2d0ed618e0
75f65baea3857acef1f54a83da82db18eede7fd4
/maskrcnn_benchmark/data/datasets/kidney.py
6069248fa87c587d9ba92febaab66783083a8658
[]
no_license
yijaein/KidneyMRC
d04128f18c928e2be0f8c30fc5af801cd7211509
ed6a39a319468b0e018d70305712d8b47af56389
refs/heads/master
2020-04-22T09:01:19.786768
2019-04-11T05:55:27
2019-04-11T05:55:27
170,257,433
0
1
null
null
null
null
UTF-8
Python
false
false
10,202
py
import os import cv2 import numpy as np import torch import torch.utils.data from PIL import Image from imgaug import augmenters as iaa from imgaug import HooksImages from maskrcnn_benchmark.data.augmentation.data_augmentation import img_and_mask_augmentation from maskrcnn_benchmark.structures.bounding_box import Box...
[ "jiyi.nexys@gmail.com" ]
jiyi.nexys@gmail.com
978ff86fae607a0d5114a3d0192a240b45694f16
b1b06ae1dfbad7178445cb0dd93d294e98be767b
/eigen_printers.py
d2ff8c387c2b06ac4e8d141b174acc79735033f8
[]
no_license
nspo/drake_gdb
f7f0ae37bfdf7909708b350e4fa1feeadc14c474
f762e51371aa1b6921462b2075425bbac4bd720b
refs/heads/master
2020-05-05T03:23:22.713155
2019-04-05T11:41:54
2019-04-05T11:41:54
179,670,350
2
0
null
2019-04-05T11:36:17
2019-04-05T11:36:17
null
UTF-8
Python
false
false
15,936
py
# -*- coding: utf-8 -*- # This file is part of Eigen, a lightweight C++ template library # for linear algebra. # # Copyright (C) 2009 Benjamin Schindler <bschindler@inf.ethz.ch> # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this ...
[ "sean.curtis@tri.global" ]
sean.curtis@tri.global
cfd9d072ccc62a10c789c10715c8b0e675bb55b1
afafa418e1ba7d1c06249993ca0b33db7ab3ab2e
/movo_common/si_utils/scripts/gripper_action_test.py
fa70d0c88db58fe967834d35095193b50b658130
[ "BSD-3-Clause" ]
permissive
Kinovarobotics/kinova-movo
7c493c7d53ea902f19c24544718457269706bf61
9f515fa476f6c761829a4b5b19e769f869e1cfce
refs/heads/master
2023-07-20T20:11:34.621763
2023-07-14T19:54:37
2023-07-14T19:54:37
114,134,532
44
39
BSD-3-Clause
2023-02-22T19:09:06
2017-12-13T15:02:35
Python
UTF-8
Python
false
false
4,133
py
#!/usr/bin/env python """-------------------------------------------------------------------- Copyright (c) 2017, Kinova Robotics inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributi...
[ "sparadis@kinova.ca" ]
sparadis@kinova.ca
7666cc4322342c7631b027db798897a2881c9e5e
9f764af298f3ee07dcea1977e93fb2e15b5c88ea
/ml-unsupervised/functions.py
e69da6a1c33658f98af71070aa176387d80de3e6
[]
no_license
nvg/ml_sandbox
de691596398476cdd4a4fbb6b3e385791c2a6ed7
6b1cf398678e85fd66b3d9c5a8d3e48058ae0d73
refs/heads/master
2022-09-20T17:41:56.627003
2022-09-04T20:09:46
2022-09-04T20:09:46
204,779,735
0
0
null
null
null
null
UTF-8
Python
false
false
4,220
py
import matplotlib.pyplot as plt from matplotlib.collections import LineCollection import numpy as np import pandas as pd from scipy.cluster.hierarchy import dendrogram def display_circles(pcs, n_comp, pca, axis_ranks, labels=None, label_rotation=0, lims=None): for d1, d2 in axis_ranks: if d2 < n_comp: ...
[ "nick.goupinets@gmail.com" ]
nick.goupinets@gmail.com
59a6d91e7d4d02f0fe7af2523e694328ca0317f0
c4353343c9fd8a1b904e64d96dd85ec09ff153fe
/dongu.py
61eda8b6137b8cc54f154e708f73af850936dbb8
[]
no_license
kadertarlan/python_py
77aee3111c758aa9f73184bb1c81e37e6af6e94c
178b45bbdc877ed955da45046e6a67f03caf2207
refs/heads/master
2021-01-20T05:08:20.746598
2014-02-16T18:57:47
2014-02-16T18:57:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
783
py
#!/usr/bin/env python # -*- coding: utf-8 -*- a=0; while a<3: a=a+1 print a print "\n" for i in range(1,10): print i for i in "kelime": print i print "\n" for i in range(0,11,2): print i print "\n" print range(10,15) print range(0,20,3) a=" kader tarlan " print len(a) a=1234567 b=str(a) c=len(b) p...
[ "sinemusul42@gmail.com" ]
sinemusul42@gmail.com
d6101a03676385d1cab0549536ac13e065be7204
40043e5a5daf7817cbac766dfaede265a8b9a29c
/setup.py
d65b78460c756943bd495ead90e175877bb9f82c
[]
no_license
juniuszhou/substrate-python-api
166246266aa9f96954125cbb600caf854774a6da
98d538aa3e13f57f02758656ffa7977463977e5a
refs/heads/master
2022-12-16T07:13:11.767383
2020-09-17T14:07:37
2020-09-17T14:07:37
197,921,346
6
3
null
2020-05-25T01:26:51
2019-07-20T11:29:55
Python
UTF-8
Python
false
false
748
py
#!/usr/bin/env python #-*- coding:utf-8 -*- ############################################# # File Name: setup.py # Author: junius # Mail: junius.zhou@gmail.com # Created Time: 2019-07-20 19:17:34 ############################################# from setuptools import setup, find_packages setup( name="substrate-pyt...
[ "junius.zhou@gmail.com" ]
junius.zhou@gmail.com
66293c35631b9c820a51f20977c34a270203973b
85b6f7782108bede2838c95adc89067e0ead70c7
/PythonAssignment5/dividebyzero.py
bd096464b2bc3a4182a160f0f5d585bdb5faa151
[]
no_license
RaunakJalan/iNeuronDLCVNLP
2fa005df34a712e078a8736578ad2808cd28826c
58e440f906530c8834df0a030c155fa480a6400a
refs/heads/main
2023-02-09T19:32:22.901752
2021-01-09T20:13:58
2021-01-09T20:13:58
314,672,689
0
0
null
null
null
null
UTF-8
Python
false
false
113
py
a=5 b=0 test=0 try: test = a/b print(test) except Exception as e: print(e) finally: print("Done Execution.")
[ "ronakjalan98@gmail.com" ]
ronakjalan98@gmail.com