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
ec0809d7d4f26628ab9e2b11572f22c7eb2e0b88
b652c9863d0f89b71c43164bb56f742253525241
/manage.py
3f9046916aa11d07cb2d3aa015ffa7d90ffe772a
[]
no_license
juney3/belt_second
71bb0a4e6c8bc04cefc3db541ba1f2e2f4072486
a637fe9d6ef8b340269a9b064ebe4351a49ebad0
refs/heads/master
2020-06-18T03:42:42.477003
2016-11-28T08:08:34
2016-11-28T08:08:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
808
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "beltsequel.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that t...
[ "juney37@gmail.com" ]
juney37@gmail.com
5a3439982d4b8a6ea165a851ae6837298986e0d3
6612e406240f2799689bbdc1e53ae93f635268d6
/superlists/urls.py
ab9126d067d6b5df78837c4e2c71f25a0ebe684d
[]
no_license
jpapadopoulos/ttd
046bb6380a860d02c20aa608c9fc83d98421fc52
29383f604a82591d04edef1407308e537b507ebb
refs/heads/master
2021-01-25T06:00:56.870274
2015-02-26T09:52:05
2015-02-26T09:52:05
29,437,166
0
0
null
null
null
null
UTF-8
Python
false
false
345
py
from django.conf.urls import patterns, include, url from django.contrib import admin urlpatterns = patterns('', url(r'^$', 'lists.views.home_page', name='home'), url(r'^lists/the-only-list-in-the-world/$', 'lists.views.view_list', name='view_list' ), url(r'^lists/new$', 'lists.views.new_li...
[ "pan.papadopoulos80@gmail.com" ]
pan.papadopoulos80@gmail.com
56292ac34351028af2060c65ffeaacfbb1f9b8b9
994d62f3ac064c74e739eac73c615c87f29b8fa1
/assignment-3/question22.py
b669ae9ebeee2de099078ea487a30a9a081f42ed
[]
no_license
chethanadukkipati/Documents-Similarity
1190e87c07b0ab4259a4bf4689deb741426a5943
e6669413f72d81eb89e41fa2e1e768c8695f8e30
refs/heads/master
2020-12-18T18:06:31.877566
2020-01-22T01:56:38
2020-01-22T01:56:38
235,479,058
0
0
null
null
null
null
UTF-8
Python
false
false
1,548
py
# -*- coding: utf-8 -*- from pyspark import SparkContext,SparkConf from pyspark.sql import SQLContext from pyspark import sql from pyspark.sql.types import Row from pyspark.streaming import StreamingContext from operator import add,truediv,mul from nltk.corpus import stopwords from nltk.tokenize import wordpunct_toke...
[ "noreply@github.com" ]
noreply@github.com
e57bd5b1c83a97d32364399c502c8686a7c0dce3
f5a9990f83a4d65cb4cb03d435417f13a66f4dd0
/229. Majority Element II/majority.py
4256dca29390fb5c032f1b0e6bf41e6da10f4050
[]
no_license
Macielyoung/LeetCode
8faafd8be8f2297625680b01a40ca6759cf661f7
0fc4c7af59246e3064db41989a45d9db413a624b
refs/heads/master
2021-07-06T10:23:39.742416
2020-07-16T15:27:39
2020-07-16T15:27:39
99,790,690
1
0
null
null
null
null
UTF-8
Python
false
false
1,537
py
#-*- coding: UTF-8 -*- from collections import Counter class Solution: # 统计次数 def majorityElement(self, nums): """ :type nums: List[int] :rtype: List[int] """ dict = Counter(nums) num = len(nums) // 3 res = [] for key in dict.keys(): i...
[ "291938109@qq.com" ]
291938109@qq.com
4c33e3aca15d5af803da190c1a4f63b0f3779bc9
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/resources/azure-mgmt-resource/azure/mgmt/resource/resources/v2016_09_01/operations/_operations.py
13f814257aab9d3cc4f66a805c212581c9ced361
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
251,605
py
# pylint: disable=too-many-lines # 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) AutoRe...
[ "noreply@github.com" ]
noreply@github.com
24cae832f6190135baaa6606b8ed53befc8c96ff
680c8334b09a7d85f351e50eea37b6658e9f58a8
/api/v1/externalApi/agentsApi.py
657577159929696411e9e6f3ec33e9bcdb4dde46
[]
no_license
matiascifuentes/incidenciasApi
4bd2b78ccb9ae1da2da860ab35dab61c13afa57e
41e17d14751c7641576c3f09f896873e0ea7fde3
refs/heads/main
2023-03-04T09:01:51.393679
2021-02-17T14:46:30
2021-02-17T14:46:30
338,838,133
0
0
null
null
null
null
UTF-8
Python
false
false
1,182
py
import requests import json class AgentsApi: def __init__(self): self.endpoint = 'https://60280ddadd4afd001754aea8.mockapi.io/agents' def create_agent(self,agent): success, exists = self.agent_exists(agent['nombre']) if success: if not exists: result = requests.post(self.endpoint, data = agent) if...
[ "matiascifuenteslara@gmail.com" ]
matiascifuenteslara@gmail.com
2a7ba652370ca242830a34b52559c18602520ce7
ed4447323b53ad551ba174681772fc5556aa5d58
/collegeTime/python/powfunc.py
c4146473a79f2d09b21171ed4fe2dc1059c0252a
[]
no_license
haikentcode/code
6a0704f214e2174bc14b283baa9f00fd8a3ec789
ea8cf5be99e408d6f751e3bd7e15aeddecc01305
refs/heads/master
2022-08-15T03:36:28.203987
2022-07-27T15:09:49
2022-07-27T15:09:49
39,865,837
2
0
null
null
null
null
UTF-8
Python
false
false
206
py
def power(x,y): if y==0: return 1 temp=power(x,y/2) if y%2==0: return temp*temp else: return x*temp*temp x=input() y=input() print power(x,y)
[ "haikenthk@gmail.com" ]
haikenthk@gmail.com
b8457379ab2d5f54fb43bbbc50a627ba24fc6ac7
83a52a38689f2f2202271f40b38aa3371efdf1e4
/data/handle_raw.py
cfc8f34be7e841369362375ad21748c270eae6b5
[]
no_license
zhysora/PSGan-Family
0131f8ddb17ef0e2d0cd21fd7ec9af394515a52d
8b7ba358365500d8079634bde3aa13ebd198f6c1
refs/heads/master
2022-05-23T15:07:32.778291
2022-03-31T07:07:00
2022-03-31T07:07:00
246,801,374
37
13
null
null
null
null
UTF-8
Python
false
false
4,411
py
############## import ############## from __future__ import division import gdal, ogr, os, osr import numpy as np import cv2 import sys sys.path.append('../') from utils import array2raster ############## arguments ############## dataDir = '/data/zh/PSData' # root of data directory satellite = 'WV-2' # name ...
[ "602171565@qq.com" ]
602171565@qq.com
8849959f26a02a64d2d77a028c48084c8fc9310d
955060597d643c695dff53b6cff0ea649db68a94
/dequorum/urls.py
44cfd19538837d6340d8c57944e6fc065b461a4c
[ "BSD-2-Clause" ]
permissive
pombredanne/django-dequorum
e99386fd01d640776d3ac6f2851c4ddc15316713
b790e9b8b0920581a48c67679648a6df811e505b
refs/heads/master
2021-01-18T10:10:33.571111
2013-12-13T23:04:16
2013-12-13T23:04:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
from django.conf.urls import patterns, include, url from nap import api urlpatterns = patterns('', (u'^$', 'django.shortcuts.render', {'template_name': 'dequorum/index.html'}), (u'^api/', include(api.APIS['dequorum'].patterns(flat=True))), )
[ "curtis@tinbrain.net" ]
curtis@tinbrain.net
c97ceedc42fc5ab575532a6b5a504c4ce998ed0f
6fb51c87493003399b019f36f8b99ca060455593
/Game/tmp3.py
9395817a842e323a8f32b332e5172932200ac9aa
[]
no_license
eran505/nnPyTorch
3ffb98321de3e8f1e71872eeb41d0580fe3aa694
60ebe4790e72a8a453d2325de6f2562274ecd873
refs/heads/master
2023-09-02T15:19:59.561552
2021-11-22T09:01:30
2021-11-22T09:01:30
288,995,526
0
0
null
null
null
null
UTF-8
Python
false
false
4,554
py
# Instantiate the env import argparse from simulator import Game_Sim from stable_baselines3.common.callbacks import EvalCallback, StopTrainingOnRewardThreshold from stable_baselines3.common.evaluation import evaluate_policy #from stable_baselines.common.policies import MlpPolicy, MlpLstmPolicy, MlpLnLstmPolicy # from ...
[ "eran505@gmail.com" ]
eran505@gmail.com
727954071496b5b9620e8e952c2e407adc55867c
59d65d101e5a6149a9252b0f01ac9cd86c3dd669
/shout.py
3c30128c1684cb34033b2b1e3c00ec60cff89fb4
[]
no_license
pjlorenz/myappsample
1753f4097429a18e01b4b2827036b512edfd3de1
dc2100f491257901de5a01ffc2b588666a891151
refs/heads/master
2023-03-06T03:04:05.265372
2021-02-10T18:56:43
2021-02-10T18:56:43
258,569,528
0
0
null
null
null
null
UTF-8
Python
false
false
165
py
def shout_text(): fhand = open('mbox-short.txt') count = 0 for line in fhand: line = line.upper() print(line) shout_text()
[ "patrickjlorenz@gmail.com" ]
patrickjlorenz@gmail.com
9b07e90479e6556a9f1310bbceee661ebf9051fc
0107160f73c6f46a0c693f0aa8b2b22bb04aaa07
/flex/redis.py
8a0c1594fac0646ca5ab8f762a94f41024245212
[ "MIT" ]
permissive
centergy/flex
8a9054171a121671e09646a88259c947d0d87cc4
4fc11d3ad48e4b5016f53256015e3eed2157daae
refs/heads/master
2022-12-13T06:01:09.561457
2018-08-22T20:32:34
2018-08-22T20:32:34
145,748,684
0
0
MIT
2022-12-08T00:45:07
2018-08-22T18:40:47
Python
UTF-8
Python
false
false
1,958
py
from flask import current_app from threading import Lock from flex.utils.module_loading import import_string __all__ = ('RedisManager', 'redis') class _Connector(object): __slots__ = ('app', 'lock', '_client', 'config') def __init__(self, app, config): self.app = app self.config = config self._client = No...
[ "davidmkyalo@gmail.com" ]
davidmkyalo@gmail.com
29700dc76b4ec32c57dff0cffda4ac1f36999be3
64ee5dc0176fe48ac4f020a984a27ebb498f1730
/ex21.Extra1.py
d0a794d75b169800a60db676a300c3cfad83263b
[]
no_license
Grey-EightyPercent/Python-Learning
942b8120641e4e8315a2524ecd21e50fbba125f7
f59d6b6b5d04ba281d0800fbaf822364ba07dc9e
refs/heads/master
2020-08-24T15:08:43.357776
2019-10-27T15:30:46
2019-10-27T15:30:46
216,851,832
0
0
null
2019-10-27T15:30:47
2019-10-22T15:48:57
null
UTF-8
Python
false
false
1,059
py
def a_power(a, power): print(f"The {power} times of {a} is {a} ** {power}") # This is only a statement without computation!!! return a ** power # This line is to do the real computation and return the value. def rate_of_increase(n, n_1): print(f"The YoY rate of increase is {n_1} / {n} * 100 %") r...
[ "noreply@github.com" ]
noreply@github.com
d50343783b27e292f1460cef1df6f3dd1d572ccd
22295cda10cf11472fee987093e0b245f6f96ef3
/lan/test060_billy_write_min_behav_performance_switching.py
982b3c0f8591dee5c7fdf3d3db7240bef557e3c5
[]
no_license
sjara/jaratest
aecb9e3bcc1ff91db35e7cd551c0f4f3da0b690a
09bf2c76bd5bf45191a2c37c14171ae1e8902c4b
refs/heads/master
2023-08-11T09:55:17.684814
2023-08-03T22:03:31
2023-08-03T22:03:31
63,100,718
2
5
null
2023-04-11T18:14:08
2016-07-11T20:43:04
Python
UTF-8
Python
false
false
5,161
py
''' finds all behavior sessions in allcells that have more than a minimum percentage correct in performance for all frequencies in the Switching Task. The only argument is the mouse name Billy Walker ''' from jaratoolbox import loadbehavior from jaratoolbox import settings import os import numpy as np import sys impor...
[ "lan.guo14@gmail.com" ]
lan.guo14@gmail.com
e40d567bc106d63bf2fb606e47fcee7c00ae7b38
1b8f6104616803e893dc54f7bad3b7f7a58e2fc1
/ALGO_V2/binary_search/addition.py
906b20ca4a1210d39c8d21e3a28bded3072fd643
[]
no_license
hanrick2000/DSAL
bbb1af525b9e56105c2f6c2b5e20af8211729608
ae8fba686ea94ceb05085ae8323b16a636afad57
refs/heads/master
2022-08-24T19:25:52.691731
2020-05-26T04:09:49
2020-05-26T04:09:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,224
py
# 三步翻转法及相关练习题 # 矩阵找数问题的Follow up # 快速幂算法 # 辗转相除法 # recover roated array # [4,5,1,2,3] # [4, 5] [1, 2, 3] # [5, 4], [3,2,1] # [1,2,3,4,5] # https://www.lintcode.com/problem/recover-rotated-sorted-array/description def recoverRotatedSortedArray(nums): # write your code here # find the place recover i = 1 ...
[ "herongrong2011@gmail.com" ]
herongrong2011@gmail.com
6daf55c53a0b148bb2e242b24a9fcebce1cf5235
3ac2be5bf0cd5aca45a75bc13ac2aadabe71d5e1
/rnn_regressor.py
b4086177c2d5e61a71b5316e5796486fda7b281a
[]
no_license
TzuChiehHung/DataAnalysis
4cc6009cd83cd80064253e2da2e2842d16880ca2
6c028978814f3f0e5dd6a23dce41d104e5bd9df5
refs/heads/master
2020-04-16T11:13:19.431454
2019-02-24T09:54:51
2019-02-24T10:03:45
165,528,100
0
0
null
null
null
null
UTF-8
Python
false
false
2,203
py
""" View more, visit my tutorial page: https://morvanzhou.github.io/tutorials/ My Youtube Channel: https://www.youtube.com/user/MorvanZhou Dependencies: torch: 0.4 matplotlib numpy """ # %% import torch from torch import nn import numpy as np import matplotlib.pyplot as plt from libs.models import SimpleRNN # torch...
[ "hungtc@solab.me.ntu.edu.tw" ]
hungtc@solab.me.ntu.edu.tw
a6bb7565046d1167d9e9197922d226f094cd2067
acbed396f16d61c9e0366b0a9f0b84dc42c7126a
/test.py
0f4d38160db3b281cce2c025a5f2b1feb286acb0
[]
no_license
MarckK/yahtzee-kata
1db30222960cb27010e521e886867ee23f73fd92
ea22723cc2f179eafa6d8e1f4402261bf33f8f31
refs/heads/master
2020-04-30T00:50:02.138494
2019-03-19T08:15:28
2019-03-19T08:15:28
176,512,576
0
0
null
null
null
null
UTF-8
Python
false
false
942
py
from yahtzee import * def test_six_dice_rolled(): rolls = roll(6) assert len(rolls) == 6 def test_pair_score(): rolls = [3, 3, 3, 4, 4] assert multiples_score(rolls, 2) == 8 def test_score_numbers(): rolls = [1, 1, 2, 4, 4] num = 4 assert score_numbers(rolls, num) == 8 def test_tripl...
[ "karadelamarck@gmail.com" ]
karadelamarck@gmail.com
26dd8909bb3153b364140142b7d61195eced387e
f299c9abe06bcecad2ace17923d92dc9cc9ba7d1
/tests/test_hello.py
993e266b1e7edaad6e5258bb18e04105188b957a
[]
no_license
jofas/travis_lab
fba04f869412231eb15ce3560a94be26d3badd05
7a028ec05d9ddbe13b6208eefb7d64acebcfc6f6
refs/heads/master
2020-08-26T13:07:11.377507
2020-01-13T11:10:22
2020-01-13T11:10:22
217,020,530
0
0
null
null
null
null
UTF-8
Python
false
false
87
py
from hello import hello def test_hello(): assert hello() == "How are you, world?"
[ "jonas@fc-web.de" ]
jonas@fc-web.de
b0ad8f4c4236fcd0b4bbf10115bc868e1de27859
790426ccb2e751be93ae9aec04b3ab053b07bd5c
/Panama/panama.py
1de9a6b27dcc6e2e48db829f9535916cf43bbb28
[]
no_license
falkirks/panama
b2a273a3bde29d715316b3e409bc12d2918edbf9
bd4b852c2d1c20ff2cb65cb532a8b2a6e176efd9
refs/heads/main
2023-01-24T18:46:16.735644
2020-12-12T00:16:15
2020-12-12T00:16:15
311,744,038
2
0
null
null
null
null
UTF-8
Python
false
false
8,262
py
import zmq import time import sys import json import threading import argparse import subprocess import pickle import zlib # Set to true for verbose execution debug = True # ZeroMQ context allows socket creation context = zmq.Context() # The clients are stored with each client ID as a key to a # boolean. The bool...
[ "joe.wonsil@gmail.com" ]
joe.wonsil@gmail.com
21af297d149f201fe26a46544168bf6259c049d2
036f944553de4af4ada1648357e2282eb6dd2fb7
/twilike/twilike/wsgi.py
b6870d17166a42d975fd2ae3755fc9f0e75012ac
[]
no_license
Techteam-Course/twilike
36d2b3996412b153e498f9f15eee1f10670a937a
24f753138598d05389ff8d4962506e577b01db8b
refs/heads/master
2023-04-27T09:36:44.690356
2019-10-04T03:39:20
2019-10-04T03:39:20
212,729,545
0
0
null
2023-04-21T20:38:21
2019-10-04T03:34:30
Python
UTF-8
Python
false
false
391
py
""" WSGI config for twilike project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTI...
[ "takuya.miraidenshi@gmail.com" ]
takuya.miraidenshi@gmail.com
67c6ca7aa747b61e4265c76b5ee7d154068c47f2
445169ee33a144cea51e0817df5446420b4f0634
/tests/python/relay/test_auto_scheduler_layout_rewrite_networks.py
95f1177da024d0ee57ce922a147336b570e952d7
[ "Zlib", "MIT", "Apache-2.0", "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference", "Unlicense" ]
permissive
schell/tvm
c70babb90daffb1ee1b01884934b47636d18b6e1
e8752c95ffe24f79a68d764c8815de3af8feeed9
refs/heads/main
2023-06-21T00:25:58.311555
2021-03-29T16:39:22
2021-03-29T16:39:22
352,715,575
0
0
Apache-2.0
2021-03-29T16:44:57
2021-03-29T16:44:57
null
UTF-8
Python
false
false
6,443
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "noreply@github.com" ]
noreply@github.com
1d6c691b4ae9be1cd732ff7fad48aa58b9108a82
1bf4b908de736df9a5ef3315a24532cf00acd39d
/crawler/service/models/zjld/base.py
b6c95b6010334ba445605480aff8165bcf18e706
[]
no_license
jshliu/crawler
43aa9c90b9e1cc36e5d1d381e5d5001a70dc22c8
6c6d707ec176e9fcfbc61577a57af27163fb0468
refs/heads/develop
2021-06-18T18:48:44.657153
2019-11-09T09:03:19
2019-11-09T09:03:19
219,108,030
0
1
null
2021-06-10T22:12:04
2019-11-02T05:25:43
Python
UTF-8
Python
false
false
4,707
py
# -*- coding: utf-8 -*- import logging import copy import time from uuid import uuid1 from datetime import datetime from context.context import Context unix_time = Context().get("datetimeutil.unix_time") ModelBase = Context().get("ModelBase") CassandraQueryApi = Context().get("CassandraQueryApi") impo...
[ "lioujiasheng@outlook.com" ]
lioujiasheng@outlook.com
2f6956dd6f187273f31b75d5d6429b5d5d23c030
7a13a9def50e3d87d74f7d3a2b990cd9bc1acda1
/accounts/admin.py
1ae86e995a6ecd33ad7fd7b61e36b1ee99444204
[]
no_license
anandrajB/speedy-scanner
a97bfe16feef483db9e2fe77a2b1639e1dea8707
fd5d4fd7b3ba600d975ae2aaf73ae81e1d0e3632
refs/heads/master
2023-08-31T09:07:46.802433
2021-09-20T12:21:22
2021-09-20T12:21:22
374,634,888
0
0
null
null
null
null
UTF-8
Python
false
false
3,063
py
from django.contrib import admin from django import forms from django.contrib import admin from django.contrib.auth.models import Group from django.contrib.auth.admin import UserAdmin as BaseUserAdmin from django.contrib.auth.forms import ReadOnlyPasswordHashField from .models import MyUser, Profile, File, Batch cla...
[ "anand98.ar@gmail.com" ]
anand98.ar@gmail.com
6f79aa7a0e57d1eca2ccf3df40682b9dca539f7d
6a97624f416a0a0faf18bf19c721977c58e6e0e3
/tests/rules/test_extreme_connections.py
d4913451746f240f5fe412bde136c11c504e7a97
[]
no_license
adimian/squid-report
392d781a973644e777011423aafbe136fa346d8c
8f1dfafca905383b576d48035f042eaf0e6c1056
refs/heads/master
2022-07-12T17:43:23.223632
2022-07-05T08:34:28
2022-07-05T08:34:28
254,040,297
0
0
null
2022-07-05T08:34:30
2020-04-08T09:16:41
Python
UTF-8
Python
false
false
352
py
from squidreport.rules.extreme_connections import ExtremeConnectionsRule def test_extreme_connections_rule_triggered(config_with_log_dir): rule = ExtremeConnectionsRule( config=config_with_log_dir("extreme_connections") ) rule.evaluate() assert len(rule.messages) == 1 assert "nb_positives...
[ "eric@adimian.com" ]
eric@adimian.com
3d838033d15386a3eba79d8ff6c914677e51f87f
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/59/usersdata/158/47953/submittedfiles/testes.py
79ed55e189435778a26b71a91b9e7d1d21f2ea6a
[]
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
109
py
# -*- coding: utf-8 -*- #COMECE AQUI ABAIXO r=int(input('raio do circulo:')) p=3,1415 area=p*r*r print(area)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
0766d5ff3638af0d66fdff05bdf2debf70f1ffef
7e5990e661f27d1b3a7f75e6462aaefc6843e8a8
/vpworkspace/tests/pathExistsTest.py
93df5b4ebbb595c8ec6612de1f58dc04c8f14f77
[]
no_license
garthur/vp_workspace
0117e082b25655bfb72f6fcb9c602d35d9a413ba
14c842db4ea876f098dcd86e465ac8494cb42104
refs/heads/master
2021-01-19T08:46:14.716876
2015-08-09T01:59:00
2015-08-09T01:59:00
30,545,687
1
0
null
null
null
null
UTF-8
Python
false
false
2,576
py
# VP Workspace Window # path checks to make sure the installation is safe import os import sys PROJDIR_PATH = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) sys.path.append(PROJDIR_PATH) PACKAGEDIR_PATH = os.path.dirname(PROJDIR_PATH) def checkAllFiles(): def checkProjectFolder(): # top level file ...
[ "garthur@andrew.cmu.edu" ]
garthur@andrew.cmu.edu
ea091533dcda73cd11b30f072f03f4b409685d30
2222b9d377f654edbcb61e38e54826d14af098dd
/simpledjangoapi/simpledjangoapi/settings.py
3161c41b176fd71115fd7c6a1d5464982c2e8f7f
[]
no_license
crromano/simple-django-api
45c64e5ae530f3290fcda99213e377d248a2eaa0
fcebd68c4f664f28cb61614836040f4f993e9adb
refs/heads/master
2020-04-11T21:29:12.852328
2018-12-17T10:02:35
2018-12-17T10:02:35
162,107,200
0
0
null
null
null
null
UTF-8
Python
false
false
3,113
py
""" Django settings for simpledjangoapi project. Generated by 'django-admin startproject' using Django 2.0. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import...
[ "christianroman.1996@gmail.com" ]
christianroman.1996@gmail.com
872f48c5e32eedd5720a4a1bb697e91306aea7b0
d7524c4bb97eae8a08931cb76f93a3634743cd6f
/tr_nonrecurse.py
9655c728be5c674a22334643595c0ea1c6b4c7d8
[]
no_license
digimutts/xyz
fad4b1ad26d3df7cd5b00b5a6a4ada62b9c5eb87
c4956ea2a3f3dfc3511a8cad624142f53fdcb993
refs/heads/master
2020-06-19T03:07:17.499707
2016-11-28T00:46:16
2016-11-28T00:46:16
74,923,578
0
0
null
null
null
null
UTF-8
Python
false
false
1,111
py
import stackll import queuell class TreeNonRecursive: """ Non-recursive tree methods """ def __init__(self): pass def pre_nonrecursive(self, node): # go to each leaf, put vals on a stack stack = stackll.StackLL() stack.push(node) pre = [] while not st...
[ "mpetermangis@gmail.com" ]
mpetermangis@gmail.com
56b7b34e0989e087d131074aaf141981cabc9f1a
49a4138a1a2619b260a6b620303a9a690a56fe64
/question/tests/test_question_view.py
8e749d2f2975e5e1fb11ed62953cdb8f79c47b06
[]
no_license
jithin0000/pscbackend
b080701333a4fc75034b919f50e6a9c53b45c49b
863c697e0dfd5e4574f5bf51b112457a5679b089
refs/heads/master
2023-07-17T04:31:47.050236
2021-08-30T12:01:17
2021-08-30T12:01:17
380,978,985
0
0
null
2021-08-30T12:01:18
2021-06-28T09:37:28
Python
UTF-8
Python
false
false
5,537
py
from django.urls import reverse from rest_framework.test import APITestCase from agent.models import Agent from customauth.models import MyUser from django.utils import timezone from rest_framework.authtoken.models import Token from question.models import Question, Option class TestQuestionCreate(APITestCase): ""...
[ "jithinb@psecure.net" ]
jithinb@psecure.net
ff836f4acdf91ab0b53f1a0a4795269cad1fb13a
819d41503963012deb79cafeebbf42976ff9dc1d
/learn_python_the_hard_way/projects/skeleton/setup.py
8b55a3bef540a0e251125c584bebea03a6175ac4
[]
no_license
cheeyeo/learn_python_the_hard_way
db79a7ebe657c4f4033dd9693ea3b4db4526d7a8
2333d97f10a687174dea31691d77e87d839428a1
refs/heads/master
2020-04-16T18:52:17.012251
2019-01-15T11:22:45
2019-01-15T11:22:45
165,838,035
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
try: from setuptools import setup except ImportError: from disutils.core import setup config = { 'description': 'My project', 'author': 'My name', 'url': 'URL to get it', 'download_url': 'where to download', 'author_email': 'My email', 'version': '0.1', 'install_requires': ['nose'], 'packages': ['N...
[ "chee@compose.io" ]
chee@compose.io
0a2a6e6a68e79bebbef374d63bfd4e57a41093db
eb87c8b1ce8591d207643d3924b7939228f1a4fe
/conformance_suite/test_assign_test_var.py
b3a5f3ec6ae764f29359d631f46cf82e492d26f7
[]
no_license
brownplt/insta-model
06543b43dde89913c219d476ced0f51a439add7b
85e2c794ec4b1befa19ecb85f2c8d2509ec8cf42
refs/heads/main
2023-08-30T19:06:58.083150
2023-05-03T18:53:58
2023-05-10T22:29:18
387,500,638
5
0
null
2022-04-23T23:06:52
2021-07-19T14:53:09
Racket
UTF-8
Python
false
false
414
py
# test_assign_test_var.py # This should pass. from typing import Optional def f(x: Optional[int]) -> int: if x is None: x = 1 return x # def test_assign_test_var(self): # codestr = """ # from typing import Optional # def f(x: Optional[int]) -> int: # if x is None: # ...
[ "lukuangchen1024@gmail.com" ]
lukuangchen1024@gmail.com
66ed49839670fcbbeb2cabbb65905fc1d3efe428
d9dcf8d1298bc8a84f173e7defac4eae28d45076
/weatherbot/nlu_model.py
e0368f55e094a6a8349b2d6374f4bb60ac38c10e
[]
no_license
mdiegog/python-tutorials
724423ff0ceb7d2ae7dca95294229083a0235561
f2b336443836062295719008f58ed4d6665e5abe
refs/heads/master
2022-12-09T18:08:10.072659
2020-02-08T10:42:05
2020-02-08T10:42:05
141,159,360
0
0
null
2022-12-08T01:14:30
2018-07-16T15:41:08
HTML
UTF-8
Python
false
false
758
py
from rasa_nlu.training_data import load_data from rasa_nlu import config from rasa_nlu.model import Trainer from rasa_nlu.model import Metadata, Interpreter def train_nlu(data, configs, model_dir): training_data = load_data(data) trainer = Trainer(config.load(configs)) trainer.train(training_data) mode...
[ "mdiegog@gmail.com" ]
mdiegog@gmail.com
818aa3abf6f0f26c357550965b482be18aa0a2b7
4ac57cc07c50d1cc4dbf4894b77783fa03a8c7b1
/4-case-study-sunlight-in-austin/9_daily_hours_of_clear_sky.py
127206faced7ca4e185d3d0c5346c054b778c6ed
[]
no_license
OCulzac/pandas-foundations
905fa778beee5e9d8210716abcc06eeeaf02b8b9
f13e7270dfcbb661da7a2fa3f26b4001df5eadc9
refs/heads/master
2020-05-19T10:44:58.816172
2019-05-05T04:09:45
2019-05-05T04:09:45
184,977,356
0
0
null
null
null
null
UTF-8
Python
false
false
2,090
py
""" Daily hours of clear sky In a previous exercise, you analyzed the 'sky_condition' column to explore the difference in temperature on sunny days compared to overcast days. Recall that a 'sky_condition' of 'CLR' represents a sunny day. In this exercise, you will explore sunny days in greater detail. Specifically, you...
[ "oronculzac@gmail.com" ]
oronculzac@gmail.com
6a61977905407424d34e33ee7362f78a4514ed82
e40773f61ac0adfab65637777bd86fd822c8f40d
/DP/204_Count_Primes.py
ec273af4ef15eff7bd665f0daa2d3c4dffe8e68b
[]
no_license
jerrycmh/leetcode
3afadb09237efc85c6d9d0591b811004837b4510
ffdf946c7f90ab7feb122b0bdb2b1fcfe07a39f2
refs/heads/master
2020-04-16T12:24:27.823566
2019-03-27T23:06:49
2019-03-27T23:06:49
165,577,809
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
class Solution: def countPrimes(self, n: int) -> int: if n < 3 : return 0 is_prime = [True for _ in range(n)] is_prime[0], is_prime[1] = False, False counter = 0 for i in range(2, n): if is_prime[i]: counter += 1 for p in r...
[ "jerrycuimh@gmail.com" ]
jerrycuimh@gmail.com
35fdadd7ebbbab7f4ca8f47f270b11ed2e27a01f
2c841737ed0597884a2bd5e6d3fb411fdfcae22f
/Optimal Control/indirect_single_shooting.py
7549e6790a6b6dae3018bbd2ac961d18dc4881f3
[]
no_license
bams/microhydrodynamics
b6d043ec7ac18da1cc1125bdb869f12373beea5a
e34b5216831f519bc73b7f654a70ad1fe25dfc57
refs/heads/master
2023-02-23T15:22:28.820274
2021-01-29T02:47:35
2021-01-29T02:47:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,280
py
#Solves the optimal control problem via indirect methods """ Created on 2020-06-26 @author: Michael Astwood """ from casadi import * import numpy as NP import matplotlib.pyplot as pl # Define variables and common expressions u1=MX.sym('u_1') u2=MX.sym('u_2') u=vertcat(u1,u2) # control params = angular speed of acti...
[ "mastwood101@gmail.com" ]
mastwood101@gmail.com
494729e6f2f30c78583ca65070a1387032401821
2b86301d5ad3fecaa5a300cabfe6b4dfc82b78ed
/venv/Lib/site-packages/cassiopeia/transformers/championmastery.py
c45ee0d705e5dc57e8ccf720ebd5f8d5dd952cb4
[ "MIT" ]
permissive
sserrot/champion_relationships
72823bbe73e15973007e032470d7efdf72af3be0
91315d6b7f6e7e678d9f8083b4b3e63574e97d2b
refs/heads/master
2022-12-21T05:15:36.780768
2021-12-05T15:19:09
2021-12-05T15:19:09
71,414,425
1
2
MIT
2022-12-18T07:42:59
2016-10-20T01:35:56
Python
UTF-8
Python
false
false
1,956
py
from typing import Type, TypeVar from copy import deepcopy from datapipelines import DataTransformer, PipelineContext from ..core.championmastery import ChampionMasteryData, ChampionMasteryListData, ChampionMastery, ChampionMasteries from ..dto.championmastery import ChampionMasteryDto, ChampionMasteryListDto T = Ty...
[ "sserrot@users.noreply.github.com" ]
sserrot@users.noreply.github.com
02360eed4d2bfd52ab5976db85a1d8bbf9bc3b3b
ef5b3cb4f8fdda2e15f17e4ad67d9f807ed5b1ce
/TuShu/data/main.py
b55b4489723657fe6a59e91f385181a0fca0e485
[]
no_license
ruguo7425/MinFlim
f959e815fe3214af79385a088729c5ceaef8e92a
499facf079335662eaf2944bf6dfc3790923ff32
refs/heads/master
2020-03-21T00:44:12.966717
2018-06-19T15:08:45
2018-06-19T15:08:45
137,907,507
0
0
null
null
null
null
UTF-8
Python
false
false
74
py
from scrapy import cmdline cmdline.execute('scrapy crawl tushu'.split())
[ "429450464@qq.com" ]
429450464@qq.com
1ffc2a1d2288588fce2b8a7abd07f6eba875ac06
5d7aa3904c68ec11638411625bc0bdd4f122e17d
/biShe/zuFang/manage.py
603ec80c0290ac8403c13969067b12dbd08150a2
[]
no_license
long0247li/biShe
83b679dafefcc7618bd176f089e9b0a556bd0a1d
a9f10c9931860b0d635da4e8d11772d58ead260a
refs/heads/master
2023-05-04T19:55:32.049924
2021-02-01T05:27:05
2021-02-01T05:27:05
373,456,951
0
0
null
null
null
null
UTF-8
Python
false
false
630
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'zuFang.settings.dev') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Imp...
[ "long0247li@126.com" ]
long0247li@126.com
84698399bba3ed777ae8b9ce528f12c82d80c1a7
fe38908bcd872d40e0ad48bf515c6c5a5d5d2fc0
/Rascunhos/Lição 10 - Listas/stooges2.py
53e2045a396214d54ae109e4154aadbe6930d74c
[]
no_license
marangoni/nanodegree
046f3b2b1b6ce15293a30ffca04e486a35eba757
cfd098b143fe94b57e8c0dc34b3284f95ab2da75
refs/heads/master
2021-09-13T12:06:36.093597
2018-04-29T19:51:26
2018-04-29T19:51:26
111,462,656
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
# We defined: stooges = ['Moe','Larry','Curly'] # but in some Stooges films, Curly was # replaced by Shemp. # Write one line of code that changes # the value of stooges to be: ['Moe','Larry','Shemp'] # but does not create a new List # object. stooges[2] = "Shemp" print stooges
[ "oliveiralcm@gmail.com" ]
oliveiralcm@gmail.com
0de784e99e83fe4ae38333468a61891d3692a180
cc0fb935a7e452e89de67c05995a4d8c5678a2dd
/jaheself.py
6eea4f1617b7902f8a4b6a6fa9e72f6a29c75748
[ "Apache-2.0" ]
permissive
croqconia/Keju
2af601527c0caf859a3befa4550c1e159b461ecc
98efc67ce2a9c0a7c1f1305e7b94184e989fc8cf
refs/heads/master
2021-09-01T02:55:31.049824
2017-12-24T12:09:41
2017-12-24T12:09:41
115,259,530
0
0
null
null
null
null
UTF-8
Python
false
false
178,537
py
# -*- coding: utf-8 -*- import PUY from PUY.lib.curve.ttypes import * from datetime import datetime import time, random, sys, ast, re, os, io, json, subprocess, threading, string, codecs, requests, client, ctypes, urllib, urllib2, urllib3, wikipedia from bs4 import BeautifulSoup from urllib import urlopen impo...
[ "noreply@github.com" ]
noreply@github.com
bdeef222539d05e8198b4ec62cdb482012b69652
cd08794c5ccdae4f0c9260ba537c2c2f11f5658b
/jq/jq_spider.py
4513d09576491b776bc6dc299148bed6696ad441
[]
no_license
Biking0/spider_project
d0b1d5443070240d8c28d8db470de78323f7134c
8c8c874cea90684f255011e4ecf03aa9cd10a0f0
refs/heads/master
2022-01-28T07:53:26.128321
2019-06-01T08:17:19
2019-06-01T08:17:19
189,704,345
0
0
null
null
null
null
UTF-8
Python
false
false
20,038
py
# coding=utf-8 import time, logging, requests, json, urllib, re, redis, random, sys, traceback, settings from datetime import datetime, timedelta from urllib.parse import urlparse, parse_qs, urlencode # from urlparse import urlparse, parse_qs from lxml import etree from fake_useragent import UserAgent from utils...
[ "1342831695@qq.com" ]
1342831695@qq.com
f6020f775a01768385d784eb92e9f1acf3eb17a4
c5172b80895b3f98dbb37cbe80cf6bdc19906856
/hotel/migrations/0021_auto_20210401_1730.py
f403837f9359125395950115301e3ffbfe67d8eb
[]
no_license
ayemyatmm/hotel-booking
be24b9444bcf4db8f86fc15dea3c8ff1ce0eddaf
be6f234a08cd97b59848d380e2a4c4c205468a28
refs/heads/master
2023-04-19T17:01:13.051335
2021-04-21T09:58:20
2021-04-21T09:58:20
352,900,988
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
# Generated by Django 3.1.7 on 2021-04-01 08:30 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('hotel', '0020_auto_20210401_1729'), ] operations = [ migrations.AlterField( model_name='booking', name='diff', ...
[ "ayemyatmyatphyo@mm.cybermissions.co.jp" ]
ayemyatmyatphyo@mm.cybermissions.co.jp
2077471a9bca26eefc530c73bc6a28cc5ea812b7
e739a794577d2bf312394b6ae921798607fffa08
/bookings/migrations/0001_initial.py
fc8ad8a3a866d189a4ac66fe41ddc6d01d15ff2e
[]
no_license
zaheerkzz/to-infinity
a05ffe2fd7c48b0b2309d934117ef90c1d4e2b09
a266482b8ea8a1a12ec83d8c65b9c4505f581e7f
refs/heads/master
2023-09-02T00:29:57.486269
2021-11-16T23:28:24
2021-11-16T23:28:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,754
py
# Generated by Django 3.1.4 on 2020-12-28 18:59 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('profiles', '0004_userprofile_default_passport_no'), ('products', '0001_initial'), ] ope...
[ "frances.deboo@gmail.com" ]
frances.deboo@gmail.com
604f5e80c36cb223093158ec656c6176b07e9792
fe83c75ac4de3041ffba6d33459aade1abd3d575
/CSCI 127/assignment 51.py
0c44704a4d9756eebd876c5b1e0b6ccc2d0310ef
[]
no_license
JessicaDeMota/CSCI-127
d09f42c60117ae3b0351cc9959eb5d0b2f62510d
a9a65b6d16934c0c8bd66ca949ddd8387cda87b7
refs/heads/master
2021-07-03T07:44:24.572626
2021-01-21T05:52:18
2021-01-21T05:52:18
216,917,987
0
0
null
null
null
null
UTF-8
Python
false
false
205
py
#Jessica De Mota Munoz #jessica.demotamunoz86@myhunter.cuny.edu #November 21 2019 ADDI $s0, $zero, 0 ADDI $s1, $zero, 2 ADDI $s2, $zero, 20 AGAIN: ADDI $s0, $s0, $s1 BEQ $s0, $s2, DONE J AGAIN DONE:
[ "noreply@github.com" ]
noreply@github.com
b2b17925f635b96dc6c465e89d83bdeb73198efb
7b822beff0f8d423ad0470995aaf323a5de02404
/django/mysite/polls/migrations/0001_initial.py
d5fc0e3cd24ec9a77e57454ae3c3f38beafac2d3
[]
no_license
qing-long/python
0e73fced964f0eda9476b6fd1f5fa7b49f367fb9
fb97aacb59caa5bdd791bae9c87f5214da4dd656
refs/heads/master
2020-05-19T21:08:47.688711
2019-08-07T01:25:03
2019-08-07T01:25:03
185,217,111
3
0
null
null
null
null
UTF-8
Python
false
false
1,165
py
# Generated by Django 2.1.2 on 2018-10-26 12:27 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Choice', fields=[ ...
[ "lansheng@forchange.tech" ]
lansheng@forchange.tech
852e59d11cbc9d71578cb3ea6e88aec4026a4b51
38fa179fcc17068c105aa9a687aae7bccc525f32
/train.py
4f6d4ee3f7a9075528d47b7c56438f6ce16ab31b
[]
no_license
miazn98/Math32
3dd025a01dad393ad021778276c2128c21c2e4d8
92f51edb2024d907ef93cfdd7d0094255ff03b64
refs/heads/master
2022-04-09T15:43:46.602482
2020-03-06T22:22:51
2020-03-06T22:22:51
243,124,567
0
1
null
null
null
null
UTF-8
Python
false
false
5,938
py
from torch import optim, save from torch.nn import CrossEntropyLoss from torch.utils.data import DataLoader import matplotlib.pyplot as plt from os import path, mkdir from torchvision import transforms def train(model, train_ds, val_ds, train_opts, transform_ds=None, exp_dir=None): """ Fits a categorization ...
[ "noreply@github.com" ]
noreply@github.com
999bdcdf184cccb92c7e255eb8f9f08ead6fe222
1d955e8d9be78d877d972a3aad822ab7f870d1d9
/clarifai/json_reader.py
7ea2134b7c7938061d9b1d0cc5ff7c22162214c8
[]
no_license
jason-wong-9/TellMeMore
d68c589f73410f84907d3ac57fde6faa620eb65e
5130c7669494444f13de328be5e97957c74dd018
refs/heads/master
2020-06-14T03:54:38.843262
2016-12-04T04:17:58
2016-12-04T04:17:58
75,496,710
0
0
null
null
null
null
UTF-8
Python
false
false
440
py
import json import operator from pprint import pprint with open('data.json') as data_file: data = json.load(data_file) array = data["outputs"][0]["data"]["concepts"] _dict = {} for i in array: name = i['name'] value = i['value'] kv = [(name, value)] _dict.update(kv) sorted_x = sorted(_dict.items(), key...
[ "alexonej@gmail.com" ]
alexonej@gmail.com
a850df4143ac34046c10d724431d1e9be5a09cd3
387485543b44cdd4586fab5b40c1450b962c7f73
/thinkstats/hazard_function.py
fa2d7a36807992c4032ba72df46b5d298779e6d3
[ "Apache-2.0" ]
permissive
eschmidt42/thinkstats
482dcfac65fb30b3f61e01b308920e9818285c18
ad15dfd102b504acf2781260e6c4da9ae844e181
refs/heads/master
2023-04-15T03:03:45.144166
2022-02-27T09:01:09
2022-02-27T09:01:09
247,499,425
0
0
Apache-2.0
2023-04-12T05:58:58
2020-03-15T15:56:48
Jupyter Notebook
UTF-8
Python
false
false
1,880
py
# AUTOGENERATED! DO NOT EDIT! File to edit: notebooks/04_hazard_function.ipynb (unless otherwise specified). __all__ = ['estimate_hazard_fun'] # Cell import matplotlib.pyplot as plt import matplotlib as mpl import numpy as np from scipy import stats from functools import partial import statsmodels.formula.api as smf ...
[ "11818904+eschmidt42@users.noreply.github.com" ]
11818904+eschmidt42@users.noreply.github.com
ccdb0c30a8b56af6595a2ea1e7306c14dd805c10
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp-with-texts/HUAWEI-TRNG-MIB.py
a33b84f6643f628a5a51e2194e7f39fc3a47f759
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
18,263
py
# # PySNMP MIB module HUAWEI-TRNG-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HUAWEI-TRNG-MIB # Produced by pysmi-0.3.4 at Wed May 1 13:49:07 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
f5783295b9da75775129f98dd946468103cef8d6
8ce88df2976d07fd287d1c96771694f4f9fd6c9a
/exe103.py
de36ffae44b067077fea47aa6bd13b69f2728a67
[]
no_license
gabialeixo/python-exercises
9974b9b2e15f92c7f58fb32c0cc0abdd5015a34c
f62f7ba49eb77fc16a37058f8974153491b565bb
refs/heads/master
2023-01-24T09:23:12.387968
2020-12-07T17:31:07
2020-12-07T17:31:07
305,712,203
0
0
null
null
null
null
UTF-8
Python
false
false
564
py
#Faça um programa que tenha uma função chamada ficha(), que receba dois parâmetros opcionais: o nome de um jogador e quantos #gols ele marcou. O programa deverá ser capaz de mostrar a ficha do jogador, mesmo que algum dado não tenha sido informado #corretamente. def ficha(nome='<desconhecido>', gols=0): print(f'O ...
[ "gabealeixo13@gmail.com" ]
gabealeixo13@gmail.com
a8256707da5d8d31589335c85ecba4682757d5d6
274c001d19e598e2b95fee07e480d780efc3486f
/cogs/info.py
2cb8baf8e1054c36c295f74a308c6e7f7fdd330d
[]
no_license
Ha3kerDevs/Ha3ker-s-Utilities
050d3e12e64d1bd5da6fba45876476202bf74422
dbdf06a60febbfd691545c31ebaaae6565b4b3be
refs/heads/main
2023-07-13T00:53:39.381996
2021-08-28T12:17:28
2021-08-28T12:17:28
339,258,810
0
0
null
null
null
null
UTF-8
Python
false
false
3,118
py
from datetime import datetime from typing import Optional from cogs.utils import config import platform import discord, time import datetime import psutil from discord import Embed, Member from discord.ext import commands start_time = time.time() class Information(commands.Cog): def __init__(self, client): ...
[ "master2pvpgaming@gmail.com" ]
master2pvpgaming@gmail.com
0c0963b7d6d4e135b8aa570366dc9bceeb5404b1
9bd0695c89f7ae58c06b9bc43b41d8de4ad21cb4
/aml-scripts/test-endpoint.py
6c0f2634868a0883d3811985333ba1779b5f63df
[]
no_license
colbyford/tf-food-demo
984ac14600c3b30f17d82edcf3ded6044b24ef1f
82b54259301cec3442b6595bd4e57453403e2da9
refs/heads/master
2020-11-25T23:44:37.205140
2019-12-09T16:13:22
2019-12-09T16:13:22
228,892,905
0
0
null
null
null
null
UTF-8
Python
false
false
1,263
py
# Copyright (c) 2019 Microsoft # # This software is released under the MIT License. # https://opensource.org/licenses/MIT import json import os import click import requests from azureml.core import Model, Workspace from azureml.core.authentication import AzureCliAuthentication @click.command() @click.option("-n", ...
[ "erikzwi@microsoft.com" ]
erikzwi@microsoft.com
663f5bdb39aa63f44cedcaac933aec08ffb6e5c4
967b70e4c5db22469382fc877441be5ef29c1f4c
/tf_venv/bin/wheel
8c5d449b49bbc4513e525a495f6d296dec2608f3
[]
no_license
Prakhar0409/Body-Pose-Estimation
04ea14e7d8ab865b25e702ffaf957623c82bd001
b1bf86a2f327cec1a175c42539e105543a13e67f
refs/heads/master
2021-08-22T04:33:50.218705
2017-11-29T08:32:50
2017-11-29T08:32:50
112,444,672
2
1
null
null
null
null
UTF-8
Python
false
false
251
#!/home/prakhar0409/random/body_pose/tf_venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from wheel.tool import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "prakhar0409@gmail.com" ]
prakhar0409@gmail.com
360997885329835ace27fb7874e496bda3e3fd3b
5aebe67a1f8fd6004a9be435a019f85a3036cb59
/convolution.py
573d0e9297623d004713c20d4da054db608d2c8a
[]
no_license
sudhigk/FIP
e3354927b79d5d1f6cb909a09690b17eae1f7727
fb79c24093e74842b0731156969f1b46cc83c34c
refs/heads/master
2020-07-29T02:40:24.117410
2019-11-29T04:51:08
2019-11-29T04:51:08
209,636,330
0
0
null
null
null
null
UTF-8
Python
false
false
1,482
py
# convolution using mask import cv2 import numpy as np img1 = cv2.imread('images/test.jpg',cv2.IMREAD_GRAYSCALE) (d1,d2) = img1.shape print(d1,d2) # img1 = np.zeros((2,3,3), np.uint8) # d1 = 2 # d2 = 3 # nm = 4 # for i in range(0,2): # for j in range(0,3): # img1[i,j,0] = nm # img1[i, j, 1] = nm # ...
[ "gksudhee6@gmail.com" ]
gksudhee6@gmail.com
4ce5e00e70fde8e3af4c219e04e984a1a7838166
309aa3c26b4d52cfc6e9aab16aabab6d92063497
/apiv1/urls.py
fb2d5ab74d02e7cb6753d323f17e8938341d1a7a
[]
no_license
suzupro2019/Deeparture
af1baba090a8ec6832dd5bbb5994a59b91d43c59
74b4de5bc2fc07adb0ade0207ac623997b5a0689
refs/heads/master
2020-09-19T14:01:53.121386
2020-03-11T10:24:37
2020-03-11T10:24:37
224,233,355
5
0
null
null
null
null
UTF-8
Python
false
false
326
py
from django.urls import path, include from rest_framework import routers from apiv1 import views router = routers.SimpleRouter() router.register('projects', views.ProjectViewSet) app_name = 'apiv1' urlpatterns = [ path('chordprog/', views.ChordProgressionGenerateAPIView.as_view()), path('', include(router.url...
[ "ne290008@senshu-u.jp" ]
ne290008@senshu-u.jp
cc6895b8b702d18633c777f02493a8fe29b851f5
05263538c3ad0f577cdbbdb9bac87dcf450230ce
/alexa/ask-sdk/ask_sdk_model/dialog/elicit_slot_directive.py
837a97063497b6119b45f42914b105a8118715ce
[]
no_license
blairharper/ISS-GoogleMap-project
cea027324fc675a9a309b5277de99fc0265dcb80
3df119036b454a0bb219af2d703195f4154a2471
refs/heads/master
2020-03-21T16:47:21.046174
2018-10-24T08:05:57
2018-10-24T08:05:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,761
py
# coding: utf-8 # # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file # except in compliance with the License. A copy of the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "lice...
[ "blair.harper@gmail.com" ]
blair.harper@gmail.com
8b14a6c891a3dd046ffa57d48e202a1663099457
7460c55aedff0cc032d39ce6ce3781a3ec68102b
/8.py
d88615d24e2a7e12d7bb02eb6ad393f3d4803920
[]
no_license
momoka0122y/sozojyoho_2022_test_submitted_code
1f8e55d483c340ff62262abd935aff5fb8139628
bd304647a39a9c7ff1f0b27268071bcb5ae08b65
refs/heads/master
2023-07-15T19:26:54.101003
2021-09-02T04:06:00
2021-09-02T04:06:00
402,284,164
3
0
null
null
null
null
UTF-8
Python
false
false
262
py
import re import math f = open('data/infections2.txt', 'r') listt = [s for s in f.readlines()] data = listt[0] # print(listt[0]) split_list = list(map(int, re.split('[:]', data))) math.log() n = len(split_list) max_a = float("-inf") for s in range(n-30):
[ "momoka.my6@gmail.com" ]
momoka.my6@gmail.com
5d8916a215340d65be153bdfb406612f73906979
ce0b49ae0daf38691e657c14a38a46a8e131b7a9
/set1/challenge3.py
32b4153e38d552dd465b63ec73f52f686fa15443
[]
no_license
Nbarnes1/cryptopals
d344156ee714705bf90942669e681c89d4ab2d2a
1f0b7fc47152da0636945201707a621e06bbaa13
refs/heads/master
2021-06-15T02:42:30.958219
2021-04-01T22:12:39
2021-04-01T22:12:39
171,950,028
0
0
null
null
null
null
UTF-8
Python
false
false
305
py
from binascii import * from challenge2 import fixedXOR ciphertext = "1b37373331363f78151b7f2b783431333d78397828372d363c78373e783a393b3736" result = fixedXOR(ciphertext, "c"*len(ciphertext)) print (result) print (result[2:]) print (bytes.fromhex(result[2:])) print (b2a_uu(bytes.fromhex(result[2:])))
[ "nbarnes@hotmail.com" ]
nbarnes@hotmail.com
6f0ba3d11ea0ff417f52bc4d1e609f0f442421c9
130215e73cd45824fc5b7b2bc85949ce03115f20
/py/netmod_kar2.py
4479417117ce2a4aa307bbe3d9f7777fdceeeb82
[]
no_license
felicitygong/MINLPinstances
062634bf709a782a860234ec2daa7e6bf374371e
1cd9c799c5758baa0818394c07adea84659c064c
refs/heads/master
2022-12-06T11:58:14.141832
2022-12-01T17:17:35
2022-12-01T17:17:35
119,295,560
2
1
null
null
null
null
UTF-8
Python
false
false
66,023
py
# MINLP written by GAMS Convert at 11/10/17 15:35:22 # # Equation counts # Total E G L N X C B # 667 43 0 624 0 0 0 0 # # Variable counts # x b i s1s s2s sc ...
[ "feligongcity17@gmail.com" ]
feligongcity17@gmail.com
4c60d476694d7b1b3c584e6ad662291bfd8aec0d
520a65eac9248e200acfc8bf34a9165f5bf81b4d
/Node5040.py
a04456947ad479809a4c9f71580879252cc9a0d0
[]
no_license
DeepakMehta000001/Gossip-Protocol
a425da7b62d9b7b01de8c975ee355d667b1231b6
dffc0f27b6d43969ccca79bfd8090aa152c01b80
refs/heads/master
2021-01-10T18:00:49.854722
2016-04-25T08:03:08
2016-04-25T08:03:08
55,046,030
0
1
null
null
null
null
UTF-8
Python
false
false
206
py
# import the GossipNode class from Gossip import GossipNode # port for this node port = 5040 # ports for the nodes connected to this node connected_nodes = [5010] node = GossipNode(port, connected_nodes)
[ "arundeepak92@gmail.com" ]
arundeepak92@gmail.com
b717d72194a54b62e91551fe2539bd1154cafe3f
0f9eba12953fd01890d21dc9a0ded59db762e61c
/Evenimente/Domain/Exceptions.py
e97029937b79c77dac4a181245fdf9115ca2661e
[]
no_license
alexvasiu/FP-Labs
e347195299ec38357aac2bce3efd7957ac0fb988
57c96f9c9c83a63c57f6c2d003ac0409dd8f068f
refs/heads/master
2021-01-19T15:32:47.589088
2017-01-24T22:05:10
2017-01-24T22:05:10
79,826,729
0
0
null
null
null
null
UTF-8
Python
false
false
944
py
""" Modul pentru exceptii """ class EventException(Exception): """ Exceptii pentru Events """ def __init__(self, errors): """ constructor """ self.errors = errors def getErrors(self): """ getter pentru errori """ retur...
[ "alexandru.vasiu@cnglsibiu.ro" ]
alexandru.vasiu@cnglsibiu.ro
eea176a62a5d8b1c0b1802bdc97c05245818753d
09621e26041cdb8c362d9de1dedf9a6476db7230
/theme.py
b88d84193931ccb4578a15936f26ed362e2a921c
[ "MIT" ]
permissive
havocesp/Serial-Sequence-Creator
b664019cd689e56afbf73dee32fe182172290446
cf468a3db777d6b4348fd53d1daa8432f6889f11
refs/heads/master
2020-04-03T13:07:36.577686
2016-12-29T10:04:58
2016-12-29T10:04:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,115
py
#--------------------------------------------------------------------- # This file was generated by wxImage Embedding Tool from wx.lib.embeddedimage import PyEmbeddedImage image_index = {} image_catalog = {} #--------------------------------------------------------------------- image_catalog["multimeter_png"] = PyE...
[ "swprojects@gmx.com" ]
swprojects@gmx.com
130484c602be97cd2b6a18b574890ebccd326ccf
1280b7f41ec000a89e54aa7c04f62356603699fd
/week1apple.py
84474b2f2b821285e1e0c39b726d06e1e0b786aa
[]
no_license
49paunilay/coursera-python-classes-and-instance
857685a4a3252705b3f16fedf64b109d63dec5f8
954974e323116f29de62b72e40db5e071c45e3f4
refs/heads/master
2022-11-25T20:14:53.984593
2020-07-29T18:58:05
2020-07-29T18:58:05
283,578,478
0
0
null
null
null
null
UTF-8
Python
false
false
439
py
class AppleBasket(): def __init__(self,apple_color,apple_quantity): self.apple_color=apple_color self.apple_quantity=apple_quantity def increase(self): self.apple_quantity=self.apple_quantity+1 def __str__(self): return 'A basket of {quantity} {color} apples.'.format(q...
[ "noreply@github.com" ]
noreply@github.com
a76078e2a0d76cfe7b993a4ca91e75cee09e58ed
dd724bfa22bffdffbb39d660a47a23031afe732a
/test_concat_string.py
36750fef5580e80ba445591d3632297897ba56e7
[]
no_license
onika2332/python_blockchain
6214744bc53808c2d2adf4393bfd67132bd5cd44
77cfbd6cc9207cc1d2f47c777f723e3c03369681
refs/heads/main
2023-04-12T03:53:01.879946
2021-05-15T10:25:46
2021-05-15T10:25:46
366,103,904
0
0
null
null
null
null
UTF-8
Python
false
false
642
py
# from neo4j import GraphDatabase as gr # adds = str(0xd80956d9c0b6fa21c9eaa4d4cfd4742d9294356fc1b4f715e6048ef9dc760f14) # print(adds, type(adds)) # add = "address:{}".format(adds) # query4 = "create (n:{}".format("player100") + "{" + "{},".format(add) + "team: juventus})" # print(query4) # session = gr.driver(uri="...
[ "namnam@coder.com" ]
namnam@coder.com
7d82bac171aa94528a9fcf2bed9c90d61a47539b
c1596db5f04fc3f1fc06620f513783bb467b2b11
/resources/markov_port.py
a29ef1fe388c09c67a21635086037cccddd376c0
[ "MIT" ]
permissive
amunger3/PySABr
c8079278e0b38bb6022c7709dbe2f2431ef2e269
cddce670be6d4b6e2aa8abb61ae6d79ad0fed645
refs/heads/master
2023-02-01T11:14:52.409060
2020-12-22T19:34:41
2020-12-22T19:34:41
318,056,564
1
0
null
null
null
null
UTF-8
Python
false
false
8,090
py
from collections import Counter, namedtuple from pprint import pprint _bline_def = Counter( { 'AB': 2074, 'H': 556, '2B': 130, '3B': 3, 'HR': 103, 'BB': 239, 'SO': 573 } ) # Format: {event: {state: {outs: [0, 1, 2]}} _xtrabase_def = { '1B': { ...
[ "munger.alex@gmail.com" ]
munger.alex@gmail.com
a245864e2d7964cfa9019d8f25c2383734f5d3b6
1e97c9db02a906b48c359b684d713ef93d78d5e0
/src/pas/plugins/azure_ad/__init__.py
9f5aeb36aed90aec59449058816bd6910142e5ed
[]
no_license
enfold/msgraph-pas
8a483f5cabcb22a4cf413c830f72791ddce5c196
1dde602f95f0ab90daad5b6b4b186de8aa705f3a
refs/heads/master
2020-06-04T00:32:16.425082
2016-01-14T19:48:23
2016-01-14T19:48:23
191,796,638
0
0
null
null
null
null
UTF-8
Python
false
false
846
py
# -*- coding: utf-8 -*- from AccessControl.Permissions import add_user_folders from Products.PluggableAuthService import registerMultiPlugin from pas.plugins.azure_ad.plugin import AzureADPlugin from pas.plugins.azure_ad.plugin import manage_addAzureADPlugin from pas.plugins.azure_ad.plugin import manage_addAzureADPlug...
[ "jpg@rosario.com" ]
jpg@rosario.com
fda25defe3f21558072dc520a6d9cc3681593a30
af19447f93a1657de8ca77aeb6c9597b23ddd5e7
/python/005_wholikesit.py
3eacd95833ff6d744a4eddcdae262c0457f9eb81
[]
no_license
juanedflores/Code-Katas
43ee4f8ed851c4a7ccd2edc737a2df4da166778b
a7c68ea37857f3489f6df86c158c315ccb68000e
refs/heads/master
2022-12-23T12:00:27.372980
2020-10-02T15:04:08
2020-10-02T15:04:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,829
py
# Code Kata #5 - 6 kyu # description: You probably know the "like" system from Facebook and other pages. People can "like" blog posts, pictures or other items. We want to create the text that should be displayed next to such an item. # Implement a function likes :: [String] -> String, which must take in input array, co...
[ "juanedflores@gmail.com" ]
juanedflores@gmail.com
3f922e75f5f171c2885caab43d2367500edd7630
83de24182a7af33c43ee340b57755e73275149ae
/aliyun-python-sdk-ice/aliyunsdkice/request/v20201109/UpdateCustomTemplateRequest.py
6bcadb5d64d94f2e897f29f23f3529c5c5868e10
[ "Apache-2.0" ]
permissive
aliyun/aliyun-openapi-python-sdk
4436ca6c57190ceadbc80f0b1c35b1ab13c00c7f
83fd547946fd6772cf26f338d9653f4316c81d3c
refs/heads/master
2023-08-04T12:32:57.028821
2023-08-04T06:00:29
2023-08-04T06:00:29
39,558,861
1,080
721
NOASSERTION
2023-09-14T08:51:06
2015-07-23T09:39:45
Python
UTF-8
Python
false
false
1,843
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
1e5fcdb51fb8f715285cf4c0db3154605b1038a2
d71a87fe9fb19d8ef032d7130c5f927707eab5e8
/restapi/serializer/migrations/0001_initial.py
3ef3a2a2511d90d9e5f362148a6812a36fb89a24
[]
no_license
awesomiaaa/Backup-Files
f047c8badd5298d0e869be7023704810bc23539e
f07164b20e78e51bd2795db63f50b071c3d703d1
refs/heads/master
2020-04-18T19:23:19.998047
2019-02-02T17:25:09
2019-02-02T17:25:09
167,710,621
0
0
null
null
null
null
UTF-8
Python
false
false
1,534
py
# Generated by Django 2.1.4 on 2018-12-31 04:36 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Plant_Info', fields=[ ...
[ "mjanette0513@gmail.com" ]
mjanette0513@gmail.com
e4a793af798746349b9f5ccd7d60cb495492f42c
194cdb69db2a06ba911c5c7f3b8d960e184cf85c
/src/common/trainerutils.py
a23fac5adfb4d7158288e2eaa95e76769b22a13e
[ "Apache-2.0" ]
permissive
liuweiping2020/pyml
a45477c3006130cd017f348302f5bef809ff32bb
0b9a7a307b93f9313d7e1bb92b33ae330d681c73
refs/heads/main
2023-03-22T05:50:31.239186
2021-03-13T16:01:37
2021-03-13T16:01:37
347,101,380
0
0
null
null
null
null
UTF-8
Python
false
false
2,302
py
# -*- coding: utf-8 -*- import numpy as np import tensorflow as tf # 1.compute label weight after each epoch using validation data. def compute_labels_weights(weights_label, logits, labels): """ compute weights for labels in current batch, and update weights_label(a dict) :param weights_label:a dict :...
[ "liuweiping2020@163.com" ]
liuweiping2020@163.com
ac889e857ffdec46dee63487ce3d200b38c4f3d8
326cf143962010cc0e14c6239824e4dd1807b18e
/homework01/generate_animals.py
0fb77db457b1eff880743debca54bb54830b785f
[]
no_license
jweaston/COE332
8af73d423d3dd0631d6e6a807f84f30a75b488cf
6f12ed10e9049cbfc0736ea33ea3697c4756e0d6
refs/heads/main
2023-04-19T23:59:24.327473
2021-05-08T00:58:56
2021-05-08T00:58:56
333,574,629
1
0
null
null
null
null
UTF-8
Python
false
false
499
py
import petname import json import random heads = ["snake", "bull", "raven", "bunny"] animal = {} animals = [] for i in range(20): animal["head"] = heads[random.randint(0,3)] animal["body"] = petname.name() + "-" + petname.name() animal["arms"] = random.randint(1,5)*2 animal["legs"] = random.randint...
[ "jweaston@isp02.tacc.utexas.edu" ]
jweaston@isp02.tacc.utexas.edu
6d4f999516d1bf9e5181244fe6b40e4b59277e3c
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/4/lkf.py
d19b23b9ac9f5e630d69a188c39ceef2922114b2
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
998fd4942208a0e62b3528f8d40105fda9168973
7c41edc0e9915c92fe9df7ed8e66c19083457bc6
/36.3.2.py
b6de32eee2391e057faef1c0412b281e492da493
[]
no_license
evalley20/module36_2
9f874f22802dfa4d9b5f68817b73847fe26266a2
d07ad7d83f2abf86fe10b5b40ba954608218df4e
refs/heads/master
2020-04-14T21:40:44.369520
2019-01-09T17:21:28
2019-01-09T17:21:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
156
py
import RoboPiLib as RPL import wall_evasion RPL.pinMode(16,RPL.INPUT) RPL.pinMode(17,RPL.INPUT) while True: approach_and_turn16() approach_and_turn17()
[ "noreply@github.com" ]
noreply@github.com
db72a78f672999d75cfb78a8226a98eec51b1be8
5838fee3b684e30dca940edd6f9fe05806fd47f9
/Quiz Application.py
a1a4754a2e441b442f8408eaab0529ce707f10f4
[]
no_license
aakashverma7869/Small-projects
11bae0bf1e1eed5c2039337cbda7857486148e53
a33c24b2b4b6e78441645d1031ce8c202a29d0fb
refs/heads/master
2020-06-17T21:51:49.626633
2019-07-09T19:15:08
2019-07-09T19:15:08
196,068,616
0
0
null
null
null
null
UTF-8
Python
false
false
4,605
py
from random import randrange questions = [] def choose_y_n(string): choice = input(string + " : ").lower() while True: if choice == 'n': return 'n' elif choice == 'y': return 'y' else: choice = input('invalid choice .... select either (y/...
[ "noreply@github.com" ]
noreply@github.com
fc8411ec07e75043aedf73e15f386af93d873cfc
130b3396af4da46974153dbea27d62c0ae51d6aa
/middle_project/middle_project/urls.py
64e273d6863390ae3b22000c371376d942f50913
[]
no_license
mrdu123456/python
f259b9f28d8219338e05cf5190557f9e0ecad2ef
2ee614d0ad453350d1db29ac465dea689d933292
refs/heads/master
2020-05-27T16:48:57.327011
2019-05-26T16:48:30
2019-05-26T16:48:30
188,709,102
0
0
null
null
null
null
UTF-8
Python
false
false
906
py
"""middle_project URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/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') Clas...
[ "18000343457m@sina.cn" ]
18000343457m@sina.cn
a2a273620bbc564927e4d6d8cfa087e30985ab68
54587e1561459031baed0f201ab62494db896e82
/setup.py
e124369d235b2a6789c1c7adcc0f65741ac1703d
[ "BSD-2-Clause" ]
permissive
achirko/vpc.sh
2ca86c9f7327cb15f15ebfb532aedd266b1fae05
a16ea45820942bbe9444f401efeea4727bc91e2a
refs/heads/master
2021-01-17T20:55:43.747262
2018-04-04T12:09:40
2018-04-04T12:09:40
61,823,227
2
2
null
2016-07-09T14:45:16
2016-06-23T17:16:15
Python
UTF-8
Python
false
false
1,099
py
from setuptools import setup try: import pypandoc readme = pypandoc.convert('README.md', 'rst') except(IOError, ImportError): readme = open('README.md').read() setup( name='vpc.sh', version='0.1', description="CLI tool to run shell commands on ec2 instances.", long_description=readme, ...
[ "oleksandrc@backbase.com" ]
oleksandrc@backbase.com
33a14933d7ae682cf71a2741911a156808cdadeb
9ee80444d82e91add510832ae91828acd84c809e
/TBennett_TTT.py
bc698e52217071ed32e900d97e83c1b41ae9adff
[]
no_license
IAlwaysBeCoding/UdemyPythonBC_TTT
dcfe2bd8f51962becf6bb2dcc46332519d8ee14c
3b3ce7c4a32ed7f4bdc130ae0809f0224ff83060
refs/heads/master
2020-04-06T04:18:04.139614
2016-01-13T01:48:23
2016-01-13T01:48:23
49,545,804
0
0
null
2016-01-13T03:08:52
2016-01-13T03:08:52
null
UTF-8
Python
false
false
4,746
py
import sys game = ['','','','','','','','',''] p1 = 'Player 1' p2 = 'Player 2' again = '' def board(): print ''' ___________ (' | | ') (' 0 | 1 | 2 ') ('___|___|___') (' | | ') (' 3 | 4 | 5 ') ('___|___|___') (' | | ') (' 6 | 7 | 8 ') ('___|___|___') ''' def gameOver(): if game[0] == '...
[ "soldierforus@yahoo.com" ]
soldierforus@yahoo.com
76588fb6be5fce9ae0dd579229278744751922cc
818f369e36539c57f3995e5acb1d1b78eb516cd9
/client-side-partV2/Client-V2/frontal-face-detection-client-video-record.py
0acaf29f6f2c00e96d85ade318fd68033e55dacd
[]
no_license
adhomse/FaceRecognitionForEmployees
2f0361c8a05cddb3a212ac50a1af3b0bbdfdbfe5
7093a54bfba2c9a66bfcbb08fb1269f08501c9e3
refs/heads/master
2020-09-10T02:04:09.125352
2019-11-14T07:33:38
2019-11-14T07:33:38
221,621,893
0
1
null
null
null
null
UTF-8
Python
false
false
3,232
py
#import cv2 import time import json import socket import base64 import numpy as np from threading import Thread import os import sys import numpy as np sys.path.append('.') import tensorflow as tf #import detect_face import time import pickle import cv2 import io import socket import struct import ti...
[ "noreply@github.com" ]
noreply@github.com
5e06499b451d23569125ce565ef17ecde79523be
83e6f6bcd3dd97bc053ed21fd44daf9f4c32814b
/Crawler_ADS.py
df1979a724348da28efaf608efc16199916e54c1
[]
no_license
fallingelf/Crawler_ADS
2adfe72af35815d25642493f968f1142f1d3b050
83c0e0ada3699c800f2f1b0a4ffe141fb0a4cf97
refs/heads/master
2020-03-18T01:08:55.758041
2018-05-20T07:42:27
2018-05-20T07:42:27
134,129,243
0
0
null
null
null
null
UTF-8
Python
false
false
12,992
py
# 在ADS上检索并爬取文件 import requests from urllib.request import urlopen, urlretrieve,Request from bs4 import BeautifulSoup import re, os from urllib.error import * import time, sys from PyPDF2 import PdfFileReader def check_pdf(pdf_file): try: PdfFileReader(pdf_file) return 1 except : ...
[ "noreply@github.com" ]
noreply@github.com
870303a97b55bc23103e103feeb55cc29ad9c0e5
172357b8d3646387ccddad39ee1098e1d0d1dad3
/CyclopeptideScoringProblem.py
a11f55aa681971df61ce6fa724fc90027e701d47
[]
no_license
Necheva/Bioinformatic
06754ad004daf8c2af80a1b2b93c6b86425ba015
3caa97fe0e7e56d274d96f84424eb96bd1814b02
refs/heads/master
2020-03-31T20:52:55.781290
2018-11-28T17:15:03
2018-11-28T17:15:03
152,559,142
0
0
null
null
null
null
UTF-8
Python
false
false
1,953
py
def DataOfMass(): table = {'G': 57,'A': 71,'S': 87,'P': 97,'V': 99,'T': 101,'C': 103,'I': 113,'L': 113,'N': 114,'D': 115,'K': 128,'Q': 128,'E': 129,'M': 131,'H': 137,'F': 147,'R': 156,'Y': 163,'W': 186 } return table if __name__ == "__main__": Peptide = input() Spectrum = input() TmpDataMass = Dat...
[ "noreply@github.com" ]
noreply@github.com
afc06ae4b405fbce9055d076027588304160a0e4
83b242997a1560214285fd38ab4d39a0b1210ddc
/SOL4Py/network/ZThreadedTCPServer.py
add7627d5756461363417a09cff04384cc3dbf66
[]
no_license
ivartz/vid2fft
0a25d853e178b43fd0a5f765934887963f5c37f9
1b6ec82de04f86819ab4c1056d4f9d9bde1ed9c8
refs/heads/master
2020-08-07T21:44:28.745553
2019-10-08T09:18:41
2019-10-08T09:18:41
213,594,969
0
0
null
null
null
null
UTF-8
Python
false
false
3,963
py
#/****************************************************************************** # # Copyright (c) 2018 Antillia.com TOSHIYUKI ARAI. 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...
[ "djloek@gmail.com" ]
djloek@gmail.com
21320723172971f71a7492ea2e040575734041b8
916353445ee27e6f8105f609a6292ab1d44e8c53
/core/utils.py
39151007e673ad8bee3596f874e0f49784dd9e28
[]
no_license
webclinic017/DjangoImageSystem
f7af4b32821b2a115cd28a31d4322310405d4a6c
4a63d6b05d12db33e9f3e8da6d9a15815d12f298
refs/heads/master
2023-06-19T14:16:11.609085
2021-07-26T16:41:11
2021-07-26T16:41:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
907
py
import os from django.db import models def get_small_image_path(instance, filename): return os.path.join('products', 'small', str(instance.product.vendor.name), filename) def get_medium_image_path(instance, filename): return os.path.join('products', 'medium', str(instance.product.vendor.name), filename) d...
[ "amirbahador.pv@gmail.com" ]
amirbahador.pv@gmail.com
f18b0dee7599c2f3e829481c7fa3afaffb0f6157
8516e5d43d954d311d22b92151c3a67b1ac9ef8c
/mnist.py
407a4268b7363a1b35590c799399ac1d682cf081
[]
no_license
chaitralitalekar/Handwritten-Digits-Recognition
7a96f964f97a5598b9ad0aff4654e10b66ffd290
493d11afcd1c59865736f1a954c8fa4eb2a6ca98
refs/heads/master
2020-07-03T03:30:29.953768
2019-08-11T15:57:35
2019-08-11T15:57:35
201,770,262
0
0
null
null
null
null
UTF-8
Python
false
false
621
py
import numpy as n import pandas as p import matplotlib.pyplot as plt from sklearn.tree import DecisionTreeClassifier dataSet = p.read_csv("dataset/train.csv").as_matrix() classfy = DecisionTreeClassifier() train = dataSet[0:21000 , 1:] train_label = dataSet[0:21000 , 0] classfy.fit(train,train_label) test = dataSet...
[ "talekarchaitrali@gmail.com" ]
talekarchaitrali@gmail.com
9b6ce6a37ed4bf2e73c6e15c5304e06143c79244
d1991c1b97cf0913ffab05d9821e3778f2616b36
/DMPHN-v2_1_2_4_8.py
af0b5bd00f3032deedd03811ee4cf80605fab249
[ "MIT" ]
permissive
zhaozunjin/DMPHN-v2-Deblur
d70fd443ef2b1bc5787e1d9fe09807a759365c0b
0e84aab9c07a880b16dec8ee182868db93cd1d12
refs/heads/master
2020-11-25T08:34:27.026364
2020-09-17T09:09:05
2020-09-17T09:09:05
228,576,078
16
1
MIT
2020-06-21T05:59:54
2019-12-17T09:04:57
Python
UTF-8
Python
false
false
19,327
py
import torch import torch.nn as nn import torch.nn.functional as F from torch.autograd import Variable from torch.optim.lr_scheduler import StepLR import numpy as np import os import math import argparse import random import modelstitus as models import torchvision from torch.utils.data import Dataset, DataLoader from ...
[ "1763020129@qq.com" ]
1763020129@qq.com
84c806a6c6711ceb7dc060bcec0926b8246fdadb
e0980f704a573894350e285f66f4cf390837238e
/.history/rocketman/settings/production_20210104181634.py
89446f098f49d16a5372b9f81e7bc516ac235f9c
[]
no_license
rucpata/WagtailWebsite
28008474ec779d12ef43bceb61827168274a8b61
5aa44f51592f49c9a708fc5515ad877c6a29dfd9
refs/heads/main
2023-02-09T15:30:02.133415
2021-01-05T14:55:45
2021-01-05T14:55:45
303,961,094
0
0
null
null
null
null
UTF-8
Python
false
false
301
py
import os from .base import * DEBUG = False SECRET_KEY = '$^8&x#8a5!7@r!#6ov9bfl(j8k^6+$v-1x+*#!uqf(=^n+*$w3' ALLOWED_HOSTS = ['localhost', 'rocketman.naukawagtail.com', '*'] cwd=os.getcwd() CASHES = { 'default': { 'BA' } } try: from .local import * except ImportError: pass
[ "rucinska.patrycja@gmail.com" ]
rucinska.patrycja@gmail.com
fc7d9c649edf3139b463fd3faa9d651e068aae3d
28e47009982e6475aaade74989be41ef08220344
/RSA/LSB/local2.py
01e86f7c8cbec3fdc527d707a63b5a6071171db6
[]
no_license
v3ct0r719/Crypto-Attacks
58984b92829597b6630ea5885a3247b74d1e5a6f
ec47615643df4376f50d592501b113a92056b03f
refs/heads/master
2020-12-21T04:23:28.806814
2020-01-26T17:30:48
2020-01-26T17:30:48
236,305,551
1
0
null
null
null
null
UTF-8
Python
false
false
1,458
py
from Crypto.Util.number import * from Crypto.PublicKey import RSA from gmpy2 import * from pwn import * def encrypt(m): return pow(m,e,n) def decrypt(c): io.sendline('2') io.sendline(long_to_bytes(c).encode('hex')) io.recvuntil('Here take your plaintext (in hex): ') x = io.recv().split('\n')[0] return x def...
[ "viveknj719@gmail.com" ]
viveknj719@gmail.com
04733626ed2d1c1e7f3d6268284da5c21b8a90a6
bb9944477cbbf4abdc2a2dbdc61ec450c79c6c90
/test/ml_algs/test_mix_gaussian.py
5c67799550b8b68546f643dd4fbe0540b653451b
[]
no_license
feigeZzzz/myalgorithms
8de07347daf3d35fc8ef444974f8a41699b163e7
1d7092a28f9c67c9dac49bb8873c5bda7f1d28a8
refs/heads/master
2023-01-20T18:10:19.081982
2020-11-16T08:25:43
2020-11-16T08:25:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
213
py
from sklearn.datasets import load_iris from algs.ml_algorithms.mixgaussian import Gmm x, y = load_iris(return_X_y=1) gmm = Gmm(max_iter=50, n_components=3) gmm.fit(x) y_pre = gmm.predict(x) print(y_pre) print(y)
[ "wooxy610@icloud.com" ]
wooxy610@icloud.com
3e29d4d7c333026e5344ef9516e21f5e220cfd24
f98de2db6b24d30d64f1145c7d8da4a40385a87f
/packages/grid_control_cms/lumi_tools.py
50eb266c862e2c20ae303976fae5474ea14c2247
[]
no_license
greyxray/grid-control
f9f453491fe7bc506d4cfc240afaa364ba9db84b
ed10fdb6ff604006a5d52dcd43c2e55c9e962c0a
refs/heads/master
2020-04-15T13:15:21.103357
2019-01-08T18:23:07
2019-01-08T18:23:07
164,709,043
1
0
null
null
null
null
UTF-8
Python
false
false
6,665
py
# | Copyright 2010-2016 Karlsruhe Institute of Technology # | # | 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 # | # | http://www.apache.org/licenses/LICENSE-2.0 # | # | Unless require...
[ "stober@cern.ch" ]
stober@cern.ch
562bd02172de569d1f59d18029b48daf417ddfa5
9d351d7fb64ddcca324c4f923e7ac3df263cbf0b
/blog/migrations/0008_post_published.py
14c2a72daf2c9d49d7d46a8699e50165848b0e81
[]
no_license
coderek/my_django
f83f70f5021f55b91cfb42fe05237d11f3eb28d0
a497b17f453e18949a507fe07c1d8f7683e16e69
refs/heads/master
2021-01-10T13:09:07.412941
2016-09-04T02:56:03
2016-09-04T02:56:03
50,731,339
1
0
null
null
null
null
UTF-8
Python
false
false
443
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.3 on 2016-08-28 01:46 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0007_post_preview'), ] operations = [ migrations.AddField( ...
[ "dzeng@rubiconproject.com" ]
dzeng@rubiconproject.com
0c1cfa94dc68106fc0503d151bf619120f9d7fda
f840fa133382ad79adc49ab12878df6132426b90
/TDF-Vision-GCP.py
272b115d3079186222ceada5ef5249a826494fac
[]
no_license
vivivek/TDF-Vision
fc194c34ed69147d1df02a20144d3d355269dfcb
5f4fc6968997be7b3e5e8610d01e365f97def9ed
refs/heads/main
2023-04-04T01:32:33.406568
2021-04-07T22:36:20
2021-04-07T22:36:20
355,411,703
0
0
null
null
null
null
UTF-8
Python
false
false
6,082
py
import picamera #camera library import pygame as pg #audio library import os #communicate with os/command line from google.cloud import vision #gcp vision library from time import sleep from adafruit_crickit import crickit import time import signal import sys import re #regular expression lib ...
[ "noreply@github.com" ]
noreply@github.com
7acb167d39a0b91b67c889f4cc7255bc999b54a5
3c5956cdd28d524a74578edf382007a5b2ea5bdd
/component/goldair_heater/__init__.py
a52c230c945e68654a0c1210f9e596ce97c0c0e2
[ "MIT" ]
permissive
SmbKiwi/homeassistant-goldair-heater
096757ff28d844b772ac5b7ee1a517f850305fe7
fb129aad5be92e10aa24ae2e80a5b86303a174b2
refs/heads/master
2021-08-06T11:28:30.652901
2020-05-21T03:00:37
2020-05-21T03:00:37
178,757,774
1
1
MIT
2020-05-21T03:00:39
2019-04-01T00:28:52
Python
UTF-8
Python
false
false
16,468
py
""" Platform for Goldair WiFi-connected heaters and panels. Based on sean6541/tuya-homeassistant for service call logic, and TarxBoy's investigation into Goldair's tuyapi statuses https://github.com/codetheweb/tuyapi/issues/31. Version 2.0 Author: SmbKiwi 20 September 2019 Updated for HA Climate 1.0 (HA 0.96+) Based...
[ "noreply@github.com" ]
noreply@github.com
409a0b3c9fedf9479c0648210469d39a2099d9e3
e3d33c30fa89a039532119bf6b87b54ae5bbf596
/ckx_tools/verbs/ckx_create/cli.py
d389595f2a7ab01be0aa8d617d8e113f714a0ffc
[ "Apache-2.0" ]
permissive
stonier/ckx_tools
1b238e9878c367fd4b5cd1b09f545b0ea2b3bb64
5ee04dc508c5b6256e68fb03f320bf29927f08a7
refs/heads/devel
2021-04-28T23:15:45.648638
2018-02-20T16:07:22
2018-02-20T16:07:22
77,739,402
3
0
null
2017-01-19T22:55:59
2016-12-31T12:29:21
Python
UTF-8
Python
false
false
6,417
py
# Copyright 2014 Open Source Robotics Foundation, Inc. # # 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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
[ "jbo@jhu.edu" ]
jbo@jhu.edu
b07ce06995424905dfdfd4cbd11ef8dfa7396fde
82bff6559535b9d7b6f068939406b114c7d50791
/src/example_service.py
031e6ec6414699a1dacecd8ceb97ad82a0ef654a
[]
no_license
ubtvisbot/get_parameters
fa8389e74eecc9f141f6bd6226cb43c73ec323ef
9d2202b807cae081c61f6216f008243981043a5e
refs/heads/master
2020-09-15T04:27:46.349540
2019-11-26T08:18:04
2019-11-26T08:18:04
223,348,244
0
0
null
null
null
null
UTF-8
Python
false
false
527
py
#!/usr/bin/env python from get_parameters.srv import * import rospy def handle_example_service(req): print "A client said: " + req.messageToPrint print "A client sent me this float32 value: " + str(req.someFloatValue) return ExampleServiceDefinitionResponse("I am the server and this is my response.") if...
[ "lifu.qin@ubtrobot.com" ]
lifu.qin@ubtrobot.com
3abf6bd14ccbdae18927dd13663caf2bd87bb9f2
57d58d435e0645d93254f22277f063254879fc04
/SplitTest.py
945dda070e88bc1a7217ec0d1c4532dd86826922
[]
no_license
chenhx1992/ECG_adv
8a6f10254dafcfc32bd8e727b8bde6eab8fd49c5
020e9cc749085b59caa8c8be9248145402b0ccb1
refs/heads/master
2021-06-18T12:38:55.529820
2019-09-16T07:51:51
2019-09-16T07:51:51
148,480,888
0
0
null
null
null
null
UTF-8
Python
false
false
5,074
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import scipy.io import glob import csv import numpy as np import matplotlib.pyplot as plt import keras.backend as K from keras.models import load_model from keras.utils.np_utils import to_categorical from keras import metrics import tensorflow as tf # Parameters dataDi...
[ "chenhx1992@gmail.com" ]
chenhx1992@gmail.com
da1cdafb15919fc04e543d77c8dd8b96ea986d1e
6c92b89d61e1cbfb26d2fb126392680209776124
/TTEv1.py
71df50340ba44fa2f7587c8d1bff6806b80ebd66
[ "Apache-2.0" ]
permissive
Tavnos/TTE
44f2a9181ce5eb64ec5b3e8994e8b4ad2efa1874
0f88d94f41f94baff7b24a1bc1a6790f477add1b
refs/heads/master
2020-03-07T00:02:41.794576
2018-03-29T01:59:30
2018-03-29T01:59:30
127,148,396
0
1
null
null
null
null
UTF-8
Python
false
false
50,357
py
from random import choices from tkinter import (Canvas, Frame, Text, Entry, Label, Button, Radiobutton, Checkbutton, StringVar, Tk) class Nucleotide_Data: dna_base = [] adenine = {'char':'a','dna':'a','match':'t','rna':'a'} guanine = {'char':'g','dna':'g','match':'c','rna':'g'} cytosine = {'char':'c',...
[ "noreply@github.com" ]
noreply@github.com
2c197d376b5580c493f3dddf7bdbd0b7cfbe9d98
7b12eb45c1ea76ad9c186b858b5dfebf2c5b862a
/.history/DEBER_20210905000450.py
c9d0c0d9993b0f24c7ecbb3cf98c786e2d4f0c05
[ "MIT" ]
permissive
Alopezm5/PROYECTO-PARTE-1
a1dce04009b24852c1c60e69bdf602ad3af0574b
bd7a8594edf08d41c6ca544cf6bac01ea4fcb684
refs/heads/main
2023-07-25T11:22:17.994770
2021-09-07T03:27:34
2021-09-07T03:27:34
403,670,226
0
0
null
null
null
null
UTF-8
Python
false
false
5,825
py
import os class Empresa(): def __init__(self,nom="",ruc=0,dire="",tele=0,ciud="",tipEmpr=""): self.nombre=nom self.ruc=ruc self.direccion=dire self.telefono=tele self.ciudad=ciud self.tipoEmpresa=tipEmpr def datosEmpresa(self):#3 self.nombre=input("Ingres...
[ "85761855+Alopezm5@users.noreply.github.com" ]
85761855+Alopezm5@users.noreply.github.com
24485d72dda7d32f2fe019682cf33b084b6bc0b9
f415ea7cfb982029787587d19184ea2faf7b0651
/Train.py
070df0c34e536429a6261414cbe1f46a6af649d9
[]
no_license
MhYao2014/MNIST
8fd4710158512f5763fa621c53ba52d6eaf3f2de
2397b35b77c499c590ded9665ab21d7106ca00f7
refs/heads/master
2020-03-25T21:13:29.913162
2018-08-09T14:46:19
2018-08-09T14:46:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,703
py
import datetime import numpy as np from data_process import load_train_labels from data_process import load_train_images from FNN import FNN class Train_hyperparam(): def __int__(self): pass train_hyperparam = { 'step_size': 0.3, 'stop_criterion': 7, 'max_iteration': 1000000...
[ "noreply@github.com" ]
noreply@github.com
da382c191e793b219c9f1a7272162a4628f8dd18
c718007c1b27e16ae5b43cf41423449357568fb9
/lib/networks/mobilenet/mobilenet_v2.py
d86ac21147253eb38f09b28fe9a7f22e93615e32
[]
no_license
iamrishab/DB-tf
2f528c59bb733120a67a8aa7c93a2d0ec069a76e
5f62e068ca23a4afb026359b25e914de5d0c852e
refs/heads/master
2020-12-01T13:51:37.469358
2019-12-27T10:12:18
2019-12-27T10:12:18
230,649,108
22
11
null
2019-12-28T18:39:11
2019-12-28T18:39:10
null
UTF-8
Python
false
false
9,215
py
# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # 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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "chizhanyuefeng@gmail,com" ]
chizhanyuefeng@gmail,com
d96282cc046370e374c1960e9e22f7b07555821f
b4ea639c569003e56994b3ca942bd2caf24524a5
/Data Acquisition/TestFiles/csv_test.py
700ff91a42c4cf321f33e012a191d5e1fc74b2a3
[]
no_license
ryhan12/CryptoIndex
cb99027972f390af72e8f452f78cdc9248287b42
718d75e4be6a4cba7ce7de6e3dffc7546bf174a5
refs/heads/master
2022-11-27T01:05:13.184714
2020-07-29T14:05:30
2020-07-29T14:05:30
283,514,516
0
0
null
2020-07-29T14:01:38
2020-07-29T14:01:38
null
UTF-8
Python
false
false
277
py
import csv def writeToFile(data, file_writer): file_writer.writerow([data]) def main(): with open('test_file.csv', 'w') as csvfile: writer = csv.writer(csvfile, delimiter=',') writeToFile('x', writer) writeToFile('z', writer) if __name__ == '__main__': main()
[ "ryhan.moghe@gmail.com" ]
ryhan.moghe@gmail.com
2725d677e8e3d4f72ca010b14799c12c80f21d88
033b43e55e85a9f78f2ad6578045b9ed42fcb83f
/android-runner-configuration/scripts/interaction/python3/io_github_hidroh_materialistic.py
ce485eadba52929dcc2ff3aca3f62bb57c7274c0
[]
no_license
VU-Thesis-2019-2020-Wesley-Shann/experiments
58a5a80b20c3c87f57d90414c7a9b86db16dea36
90f3777f86e836e41c82a345536c62faa103ba50
refs/heads/master
2022-12-06T21:09:28.343811
2020-08-27T15:32:34
2020-08-27T15:32:34
278,862,724
0
0
null
null
null
null
UTF-8
Python
false
false
3,953
py
import sys import time sys.path.insert(0, '/home/sshann/Documents/thesis/experiments/android-runner-configuration/') from scripts.interaction.python3.common import tap from scripts.interaction.python3.common import tap_phone_back from scripts.interaction.python3.common import write_text def visit_catching_up(device...
[ "sshann95@outlook.com" ]
sshann95@outlook.com