blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
5
283
content_id
stringlengths
40
40
detected_licenses
listlengths
0
41
license_type
stringclasses
2 values
repo_name
stringlengths
7
96
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
58 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
12.7k
662M
star_events_count
int64
0
35.5k
fork_events_count
int64
0
20.6k
gha_license_id
stringclasses
11 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
43 values
src_encoding
stringclasses
9 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
7
5.88M
extension
stringclasses
30 values
content
stringlengths
7
5.88M
authors
listlengths
1
1
author
stringlengths
0
73
ad1d37cb7490059bf5b6d6b9b92d5794041e6f26
da246a1aab0465ee2cc4875263f5d4930cb614e1
/news/serializers.py
f9c2ae1189341de5891250b979e935594d2f82c8
[]
no_license
MUDASSARHASHMI/newsproject
88f1d6727a655c25e6207b805931cfd3528259a1
0c7c388db5e7e78f8ce40bbde505ec229229cd1e
refs/heads/master
2020-03-28T04:13:22.379849
2016-05-24T02:50:25
2016-05-24T02:50:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
466
py
from rest_framework import serializers from .models import Article class ArticleSerializer(serializers.Serializer): pk = serializers.IntegerField(read_only=True) feed = serializers.PrimaryKeyRelatedField(read_only=True) title = serializers.CharField(max_length=200) url = serializers.URLField() desc...
[ "mrdesigner@jamesblackjr.com" ]
mrdesigner@jamesblackjr.com
41414ca0e0785f02a351c9d7939a16dade750fa7
f10e9729b83ed5779d6177e95168602eb3d0bacd
/society/views.py
ef91729d36462ab0d7020a07219459c0ccbf68c2
[ "BSD-3-Clause" ]
permissive
nrjshka/doSociety
f0aee5d12875eb24ac9a567bd919fa776474a5ea
b0e61f93a5837195c14b23975820734fa9144996
refs/heads/master
2021-04-26T23:18:58.890549
2018-03-05T20:09:59
2018-03-05T20:09:59
123,970,174
2
0
null
2018-03-05T20:10:00
2018-03-05T19:46:50
JavaScript
UTF-8
Python
false
false
232
py
#!/usr/bin/python # -*- coding: utf-8 -*- from django.views.generic import TemplateView # class Index(TemplateView): #при любых "вопросах" выводить index.html template_name = 'society/index/index.html'
[ "nrjshka@gmail.com" ]
nrjshka@gmail.com
955e29cada5373ee3ebea1ad22cc0e8d418a9792
8d1192ad8c9092aafde7ef07d8fe6992faa2c811
/6. tile-cost.py
176718009a8012b529341fa01022500865b7d8fe
[]
no_license
nickczj/karan-project
0e731aa8272d461d7864791db55d0c14d4280c94
9c6e38d460ab2677dc23851576fb841630fa3ccb
refs/heads/master
2021-05-31T20:13:48.030896
2016-04-29T09:10:14
2016-04-29T09:10:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
494
py
''' Created on 29/03/2016 @author: Nick ''' """ Calculate the total cost of tile it would take to cover a floor plan of width and height, using a cost entered by the user. """ currency = raw_input("Enter the currency") cost = float(input("Enter cost per tile: ")) width = float(input("Enter width of room...
[ "nick.chow.zj@gmail.com" ]
nick.chow.zj@gmail.com
5edd2a12c852a50eee55d4df5f7ef1e7d82606c1
7a8a3ef62919c3e08d439bd04cc0abead2e2cded
/0x00-python-hello_world/5-print_string.py
f72dad6baa4592b768ec80559835bd0e6696d493
[]
no_license
hfsantiago/holbertonschool-higher_level_programming
bbedeada3684cf53041f4df5c9e35281d3b93808
3c99686ae6fd5eede9aea23fa6a08f353f67550f
refs/heads/master
2022-12-22T02:40:33.446624
2020-09-23T03:19:00
2020-09-23T03:19:00
259,438,909
0
0
null
null
null
null
UTF-8
Python
false
false
87
py
#!/usr/bin/python3 str = "Holberton School" print("{:s}".format(str)*3) print(str[:9])
[ "santiquiu@gmail.com" ]
santiquiu@gmail.com
c2102244a867fcaeb1d908c6d7cb853f69110892
e02dc5c3227105005c6c6e11c38e9782397004e1
/yolov4/util/file.py
bfcf65f912038824a4ed7801debd923dc5eee2da
[ "MIT" ]
permissive
archyrei/tf-yolov4
0669020ff961f5bff75db660ecd841c30da06b3f
355ac532228031d9a0928e962271244f49a898d5
refs/heads/master
2023-05-29T00:36:59.280312
2020-09-22T13:50:27
2020-09-22T13:50:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,348
py
""" MIT License Copyright (c) 2020 Licht Takeuchi Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish...
[ "licht-t@outlook.jp" ]
licht-t@outlook.jp
2c91585d921c59ae9ec1a32593eeec1086d145cd
fba5689ca72e3fafb5f4205b7fd94ca126ec020d
/atendimento/views.py
c462dde180e8cfcef7a8a4b62830498045d8f6eb
[ "MIT" ]
permissive
misaelbarreto/mini_curso_django
ce10b911e6d8e7414ad86f6ad0c61b43a062f1b4
08917621d0055289988b2aede6c11512082fc06a
refs/heads/master
2023-04-27T14:37:17.175793
2019-07-16T22:10:44
2019-07-16T22:10:44
192,121,253
8
3
MIT
2023-04-21T20:32:57
2019-06-15T20:29:09
Python
UTF-8
Python
false
false
2,536
py
import datetime from django.http import HttpResponse from django.template import Template, Context, loader from django.shortcuts import render from django.views import generic from .models import Cliente # Create your views here. # Exemplo de controle que retorna como resposta um texto simples. def index(request): ...
[ "misael.queiroz@ifrn.edu.br" ]
misael.queiroz@ifrn.edu.br
8eae4f39f1cf89b3b2d94851ceba971cd0771a83
3aec1c00d6a71ac548dc1b779500cbbc0c07542c
/inputs_alexei_gk/upol_hermes_torino_alexei15.py
9d14081a5be8d1c0c8f625d12adac5ae5904e85b
[]
no_license
prokudin/psu_project_2018
1396201c2aa6cf5604b1542106fe6654023b4c7a
5b38b71f0a6dbce93045b0efb3c46a4051a9aa17
refs/heads/master
2020-03-20T02:51:23.612305
2018-12-17T21:44:16
2018-12-17T21:44:16
137,126,564
2
1
null
null
null
null
UTF-8
Python
false
false
3,910
py
conf={} ############################################################################ #mcsamp conf['nruns']=10 conf['factor']=3 conf['tol']=1e-4 conf['itmax']=int(1e7) conf['block size']=5000 conf['kappa']=1.3 conf['nll shift']=0 ############################################################################ # params con...
[ "prokudin@jlab.org" ]
prokudin@jlab.org
26cdefb0ecec064ed1f917ef3afd55f863db75a4
8425dd7fe9ab2cc794f08714931b4449c59eb51b
/TopPop.py
f3fafe544e17a633ed368c3f87d612a57dbb745e
[]
no_license
GioValca/Recommender-Systems-2019
f498d84ef5a421da5632de6173ce763e27b8a794
d8b54578f7d1e6453785c216f253404aabfbaba7
refs/heads/master
2023-02-22T12:49:32.801064
2021-01-26T19:38:12
2021-01-26T19:38:12
333,192,671
1
0
null
null
null
null
UTF-8
Python
false
false
6,443
py
import zipfile import scipy.sparse as sps import numpy as np from matplotlib import pyplot from Algorithms import TopPopRecommender dataFile = zipfile.ZipFile("/Users/giovanni/Desktop/RecSys/RecSysTest/Data/recommender-system-2019-challenge-polimi.zip") URM_path = dataFile.extract("data_train.csv", path="/Users/giova...
[ "valcarenghi.valcarenghi@gmail.com" ]
valcarenghi.valcarenghi@gmail.com
b5116fe784459d1e4eb67712b4155dee71af23f0
db53bbcf8e61208034d8bdd8556d207b5cc513a2
/friartuck/iextrading/iextrading.py
ee22ba9f3117c8335013d6b19ceabdad1f3eae23
[ "MIT" ]
permissive
prateek470/friartuck
4f38d45c1ddad1e291831615657c2e721fc95057
a4f4a3a3e9e9fbe45c4354431a9fe832d4089c81
refs/heads/master
2020-03-30T15:41:21.378467
2018-09-12T16:46:18
2018-09-12T16:46:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,675
py
import json from datetime import timedelta, datetime import calendar import pandas as pd import urllib.request from tinydb import TinyDB, Query class IEXTrading(object): def __init__(self): pass def get_quote_daily(self, symbol, bars=22): if bars <= 20: query_length = '1m' ...
[ "clivens.laguerre@gmail.com" ]
clivens.laguerre@gmail.com
e6d9b1efa325f76c10eb17089443990d9cb3ee85
b3c0618649531f3759c2f3b5b9820025d5b5d8b2
/swagger_client/models/elimination_alliance_status.py
0ad6d640d5e025a5830cac8b091b798353993550
[ "MIT" ]
permissive
simra/FRCModeling
ef2287a88134671b9c20e2544f3c22f5758a7100
e98b57cbfb5db5ed66c4fcf72c5ed96fcfb41ace
refs/heads/master
2023-04-09T05:45:26.845734
2023-03-30T04:07:50
2023-03-30T04:07:50
182,472,667
2
1
null
null
null
null
UTF-8
Python
false
false
6,674
py
# coding: utf-8 """ The Blue Alliance API v3 # Overview Information and statistics about FIRST Robotics Competition teams and events. # Authentication All endpoints require an Auth Key to be passed in the header `X-TBA-Auth-Key`. If you do not have an auth key yet, you can obtain one from your [Account...
[ "rsim@microsoft.com" ]
rsim@microsoft.com
422de7724d120ddf4cb787369374d3de41313db8
48cddade0476a14974acc087f8bf1d4a40d914ee
/partsrc/RodLatch.py
40ea936dc7933aeeec25c3f8da37928186d809be
[]
no_license
Zerick/MendelMax
ac6360675f53e6bafdbd167b7136951190d70a23
fa62862863fd72140b11fed88febc645b4d2c9d7
refs/heads/master
2020-12-25T02:29:55.587169
2012-05-24T23:03:42
2012-05-24T23:03:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,745
py
from __future__ import division # allows floating point division from integers import FreeCAD, Part, math from FreeCAD import Base def RodLatch( rod_diameter = 8, #how far apart should the bolt holes be? hole_spacing = 30, #how thick should the non-flange parts be? thick_typical = 4.25, #how thick should the plasti...
[ "sparr0@gmail.com" ]
sparr0@gmail.com
5ffd9da9b29264937d092e0e599d5ef03390c703
3ec374cf0ddaed895243bac370c98292c0e62d1c
/blog/urls.py
9b50717f17946eb0364ef561519f575eb5c5c9df
[]
no_license
wmahad/DjangoApps
aaf5f5c96d91c4f5eb233e5e59b20916d5f19cf3
debac500f94f680ae1fa1d9b5bbee56280c77ca6
refs/heads/master
2021-06-08T05:40:18.238293
2016-11-09T08:25:22
2016-11-09T08:25:22
73,264,160
0
1
null
null
null
null
UTF-8
Python
false
false
393
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^create/$', views.posts_create, name='create'), url(r'^(?P<slug>[\w-]+)/$', views.posts_detail, name='detail'), url(r'^$', views.posts_list, name='list'), url(r'^(?P<slug>[\w-]+)/edit/$', views.posts_update, name='update'), ...
[ "engmk123@gmail.com" ]
engmk123@gmail.com
b9e0b30c03c0acc655581261d4497f32ed24eeea
ef5397e65e0ed37b18bd57922cd4d786fc805195
/passowrd_generator/urls.py
9f9b36fdaddac0a426afccc07afb2f77280fc527
[]
no_license
obiorbitalstar/password-generator-django
e42d86c6301bd42a74283a517fca8d8d510c20ff
1f1e3a712acedb7f5925771e315ddbfc6162552f
refs/heads/main
2023-07-17T16:52:37.803443
2021-08-29T07:18:20
2021-08-29T07:18:20
356,600,964
0
0
null
null
null
null
UTF-8
Python
false
false
869
py
"""passowrd_generator URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') ...
[ "obiorbitalstar@gmail.com" ]
obiorbitalstar@gmail.com
aadf7e232eb2e18f4f3b975abb3ac92433eac982
70c8fedb44f9c351d756ced956cfe12aa51bee1b
/problem9.py
57fa8c3cf03d5b548f90b9698a2d4e3cee30cd0e
[]
no_license
nitin42/Project-Euler
0f4ef4744855d5899d22446caf08dbbf42b34dd9
6a49a0cdd904dc8477f8c57457e0294519586adb
refs/heads/master
2020-04-06T07:03:47.652367
2016-08-29T19:05:14
2016-08-29T19:05:14
64,479,079
1
0
null
null
null
null
UTF-8
Python
false
false
535
py
def pythagorean(): # a+b+c = 1000 ---- (1) # a^2 + b^2 = c^2 ---- (2) # a = 1000*(500-b) / (1000 - b) ----> After mathematically solving the equation by squaring the eq. 1 ''' >>> pythagorean() 200 375 375 200 289001 ''' for b in range(1,500): if 1000*(500-b...
[ "noreply@github.com" ]
noreply@github.com
fb6d9e5ffceae3600e94f3b4c38180affb6a07c0
bc233c24523f05708dd1e091dca817f9095e6bb5
/bitmovin_api_sdk/models/analytics_avg_concurrent_viewers_response.py
49b659be8d320fa4c635950d412173f20deeb451
[ "MIT" ]
permissive
bitmovin/bitmovin-api-sdk-python
e3d6cf8eb8bdad62cb83ec77c0fc4950b06b9cdd
b0860c0b1be7747cf22ad060985504da625255eb
refs/heads/main
2023-09-01T15:41:03.628720
2023-08-30T10:52:13
2023-08-30T10:52:13
175,209,828
13
14
MIT
2021-04-29T12:30:31
2019-03-12T12:47:18
Python
UTF-8
Python
false
false
5,314
py
# coding: utf-8 from enum import Enum from six import string_types, iteritems from bitmovin_api_sdk.common.poscheck import poscheck_model import pprint import six class AnalyticsAvgConcurrentViewersResponse(object): @poscheck_model def __init__(self, rows=None, row_count=Non...
[ "openapi@bitmovin.com" ]
openapi@bitmovin.com
56e52bdba43b4682cabb1caca99075c7f00d64a7
77b5fdaa83c3cd27bb6ea122acfd871af492a23e
/src/todobackend/settings/test.py
0668d6678ff09f8a48edbd35f01382c978cfc73a
[]
no_license
ChristopherGerlier/todobackend
fe2b376f0c9d4c0da755ca6a7bad7d089b0ddb29
e5a5e5c69a1d83119e938d7b7c249fea06de6608
refs/heads/master
2022-07-18T18:56:26.452742
2020-05-26T12:13:58
2020-05-26T12:13:58
267,033,394
0
0
null
null
null
null
UTF-8
Python
false
false
1,266
py
from base import * import os INSTALLED_APPS += ('django_nose', ) TEST_RUNNER = 'django_nose.NoseTestSuiteRunner' TEST_OUTPUT_DIR = os.environ.get('TEST_OUTPUT_DIR', '.') NOSE_ARGS = [ '--verbosity=2', # verbose output '--nologcapture', # don't output log capture '-...
[ "gerlier@cgerlierG3.ad.crfhealth.com" ]
gerlier@cgerlierG3.ad.crfhealth.com
a385414e39a8f59f0ae922b97e76365a818bfdb7
05722ad65c0b486bf78c20a6655f3331697ea995
/galaxy/polls/models.py
62b2f7fed06f43880ee4c51863efbcb026b014dd
[]
no_license
contrerasjlu/gldesa
371fc77b146e0b4895f2038b0bfbcdd9694a0d27
1d3c063d5d8c3d954b42f679149be9af67d779cb
refs/heads/master
2021-01-22T09:05:20.249099
2015-09-04T04:14:58
2015-09-04T04:14:58
41,629,076
0
0
null
null
null
null
UTF-8
Python
false
false
543
py
from django.db import models from django.utils import timezone # Create your models here. class Question(models.Model): question_text = models.CharField(max_length=200) pub_date = models.DateTimeField('date published') def __str__(self): return self.question_text def was_published_recently(self): retur...
[ "ingjorgecontreras@gmail.com" ]
ingjorgecontreras@gmail.com
77752d8ff8e46b198c31a4bf2e73e72df3eec500
7972f2a08d201325f13847086d9c6e3161fa0e95
/OpenCV.xcodeproj/lib/python2.7/site-packages/numpy/testing/tests/test_utils.py
7fab79d3047eb88e766dea2900a7dd5b77693153
[]
no_license
valiok98/testing
d430e1a2bfa6c4ec758f6629cb0e11f3d19e1480
b022b04e92f14d5c7fa69d589bfa8983160890a4
refs/heads/master
2022-01-14T22:11:00.365164
2019-05-14T11:53:08
2019-05-14T11:53:08
184,013,779
0
0
null
null
null
null
UTF-8
Python
false
false
101
py
../../../../../../Cellar/numpy/1.16.3_1/lib/python2.7/site-packages/numpy/testing/tests/test_utils.py
[ "valentinkostadinov@w208-51-v4.eduroam.dynamic.rbg.tum.de" ]
valentinkostadinov@w208-51-v4.eduroam.dynamic.rbg.tum.de
5cd4b7729e9d9cbd16fa750af29aa6659268a1c2
167173e56f9085f2d28b647878b7a538a4599637
/KAI/KAI/settings.py
1af54d3a7a8a3508ce6c0200f2d132201f889600
[]
no_license
DrKornballer/KAI
738ded00bd9141d020f6a3637e0b058fda70675d
8c0c5fdac63e2620201e2dbdd9b48849650b7d96
refs/heads/main
2023-06-10T04:40:45.012094
2021-06-19T18:31:35
2021-06-19T18:31:35
378,478,003
0
0
null
null
null
null
UTF-8
Python
false
false
3,402
py
""" Django settings for KAI project. Generated by 'django-admin startproject' using Django 3.2.4. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from...
[ "noreply@github.com" ]
noreply@github.com
b1f301ed9a61bc2c2e6415a2b18e839582f587d7
1fc81227ff573f133521003f83681897d7e3ef3a
/ExtractAnnualPCCInMangMask/CreateCmdsList.py
fd8354d0b7658b86d3d02d755dcf8a6ca39c450b
[]
no_license
petebunting/australia_odc_mangrove_extent
56f42901e18f67f5f5c3e0f868bca3b6bc60ec55
e22ff1832a9567a5e0d8a46570dbe917c243391b
refs/heads/master
2022-08-01T01:53:30.362116
2018-02-18T22:39:39
2018-02-18T22:39:39
266,527,531
1
0
null
null
null
null
UTF-8
Python
false
false
1,815
py
import pandas import os.path gmwTiles = pandas.read_csv('./AustraliaSqGrid_MangroveRegionsV1.csv', delimiter = ',') cmdBase = 'python /home/552/pjb552/agdc_mangrovemonitoring/ExtractAnnualPCCInMangMask/ExtractPCCInMangAreas.py ' outFileImgBase = '/g/data/r78/pjb552/MangChangePVFC_V3/pccimgstif' cmds = [] for tile in r...
[ "petebunting@mac.com" ]
petebunting@mac.com
6001ae74b5f0fed18ec6e469b34b33ca9d1eadf6
8ac749d12d6836455b6240204697501e79b37c2d
/Data_Gathering_Implementations/Authcode_Linux/logic_code/logger.py
3b8911928c22b1724146d178d968f199fedded4d
[]
no_license
CyberDataLab/AuthCode
075ee81158d2322b5b7d8a51f825c96e9e2c28ea
214c08f06bdfe048efe4d0807f8497d0dedf20bc
refs/heads/master
2021-05-26T23:03:25.487378
2020-04-28T12:29:54
2020-04-28T12:29:54
254,184,562
1
0
null
null
null
null
UTF-8
Python
false
false
12,406
py
# coding=utf-8 import time import psutil import os from pynput import mouse import threading import subprocess as sp from logic_code import extract_features from pathlib import Path from logic_code.keyboard import * import notify2 import sys # Lamba to obtain milisecond timestamp current_time = lambda: int(time.time(...
[ "noreply@github.com" ]
noreply@github.com
ad5e5337a7d729ca9ec143cbc26655e1a5877b6c
55591c65dd46c12891e10cc360680f4f36fa1525
/ruedalaSessions/migrations/0001_initial.py
3e2fa03bda115aaa0f7f8167cf5dc486c554c1d8
[]
no_license
maridelvalle15/ruedala-app
bfdc8f52b5c1d60e9ea8e6e66a13925de0d8531e
e5aa22084383b0b3f897b224c2664abee0101e5a
refs/heads/master
2021-06-08T22:30:41.087802
2016-12-17T16:25:17
2016-12-17T16:25:17
66,802,144
0
0
null
null
null
null
UTF-8
Python
false
false
5,706
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models import datetime from django.conf import settings import django.core.validators class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ]...
[ "marisela.delvalle93@gmail.com" ]
marisela.delvalle93@gmail.com
9a0068199f4b5e1953a28e30c2903fd6378f5894
349253d0463efacd27303a786ad57d311f10221b
/HW6/hw6-theirs.py
4291d09310146de323972ccad630bc94cb1c4fc2
[]
no_license
ngutro25/csf
5f247cfb224f213c2ed3e71f1c021feef619e96f
1195029253b9812d6b56a1b01f2467660fd928c1
refs/heads/master
2021-01-16T19:00:01.366949
2013-12-13T07:56:34
2013-12-13T07:56:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,878
py
""" Five Key Concepts for being able to complete problem 1 from homework 5 1. Understanding dictionaries and being able to use the keys and the benefits of using them 2. Understanding For loops. 3. Understanding calling and defining functions. 4. Understanding the sc...
[ "ngutro25@evergreen.edu" ]
ngutro25@evergreen.edu
54abce4f573f34dd3b64d565bc50f59b993c1d20
6529f7bf8fa107d58a9ff3f478c41392115b27f5
/src/modules/optimizers.py
e8f4e29e1731bfe6d8235e0b96e98657e3431594
[]
no_license
Limworld98/ARGON
d52451fbbb766ebc1258a2a3066570a91ab6aa4b
4df80e3fef42a1640e16a434e178d6da600b062f
refs/heads/main
2023-08-05T22:01:37.119598
2021-09-23T15:13:18
2021-09-23T15:13:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
921
py
import torch def build_optimizer(args, model, visual_extractor): ve_params = list(map(id, visual_extractor.parameters())) ed_params = filter(lambda x: id(x) not in ve_params, model.parameters()) optimizer = getattr(torch.optim, args.optim)( [{'params': visual_extractor.parameters(), 'lr': args.lr_...
[ "nooralahzadeh@gmail.com" ]
nooralahzadeh@gmail.com
30bb3b70e6cb3d92e7de46dbddb7fb30ea2fee2e
469f37d26708778d8d697183954987e313ffe39f
/Blog Project/blog/blog/settings.py
7927be564776c8c33527ddf1bb7194b11d7f047a
[]
no_license
deni1231/Blog-Application
a08c164e65e697e19988a69533c39467a3cf68cf
9dce0f04cfc79d5d7e0fcd5bccba6766e173bebd
refs/heads/master
2020-08-30T01:01:43.540911
2019-10-29T07:05:53
2019-10-29T07:05:53
218,221,578
0
0
null
null
null
null
UTF-8
Python
false
false
3,681
py
""" Django settings for blog project. Generated by 'django-admin startproject' using Django 2.2.1. 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/ """ imp...
[ "noreply@github.com" ]
noreply@github.com
6c7cdc13cae3d4af6037778d8fd6daa11d8a3293
4be4363be240c1ad05c51cb7d9c3a3e9111569d4
/venv/Scripts/easy_install-script.py
b3e55093dc64b6faca84f5e5b89a3752d58afea2
[]
no_license
Vec7/django_weather_site
bbef0386d8b2e2269c1c0a87f1489e36a9a72265
c7f9e7a5c1c6dbe5b21654a80f9b07321dfd8bfc
refs/heads/master
2021-05-20T02:53:42.943864
2020-04-04T21:09:11
2020-04-04T21:09:11
252,154,751
0
0
null
null
null
null
UTF-8
Python
false
false
448
py
#!C:\Users\Lana\PycharmProjects\wether\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.0.1','console_scripts','easy_install' __requires__ = 'setuptools==39.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.ex...
[ "lanalonn53@gmail.com" ]
lanalonn53@gmail.com
3f6cd3be8f129f44a4bc40883819ad366950174d
2cde67131eb1cdc9d84f7d3a106b758bfe78e279
/train.py
32f0fbf38d4580a4151d745ef96143bb88076b0f
[]
no_license
ChingChingYa/HCAN
d89adda93d1fb9de3f972120321f21c986dcdd82
c1e9f35c4d524d125d65c4611a4e80d40d8fe19a
refs/heads/master
2022-05-16T22:19:22.418745
2020-04-16T16:00:30
2020-04-16T16:00:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,714
py
import matplotlib.pyplot as plt import numpy as np from load_data import load_data, read_dataset, cut_data_len from sklearn.model_selection import train_test_split from pmf import PMF from sklearn.utils import shuffle # from test import Config import pickle train_list = [] test_list = [] test_rmse = [] # config = Conf...
[ "33059957+ChingChingYa@users.noreply.github.com" ]
33059957+ChingChingYa@users.noreply.github.com
11abaf21150751218fb4ddb947d41d7745d6339e
6583b4a83138dc8c17a79af160cf3fd97443248b
/blog/migrations/0001_initial.py
42be7e249c5d3766705fc48829265c39088c3cc6
[]
no_license
leejh4851/mywebsite
b4397e3e9d6d8c5b5373b384867b3259565d1cc8
e416e342a8c8905a5baab0c1adb09d0d5be5bf83
refs/heads/master
2020-09-09T08:38:27.708500
2019-11-13T07:56:07
2019-11-13T07:56:07
221,402,265
0
0
null
null
null
null
UTF-8
Python
false
false
1,229
py
# Generated by Django 2.2.5 on 2019-11-12 07:22 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Category', fields=[ ('id', models.AutoField...
[ "leejh4851@gmail.com" ]
leejh4851@gmail.com
eb536eb1df7f40bc65b15277fbe448b5a6114b65
876cfcdd0eb947b90ca990694efd5a4d3a92a970
/Python_stack/django/django_intro/dojo_ninjas_shell/dojo_ninjas_shell/settings.py
c8f1a8ab0d452d40f05c9301ab9d86682be43e6b
[]
no_license
lindseyvaughn/Dojo-Assignments
1786b13a6258469a2fd923df72c0641ce60ccbb2
3b37284cdd813b6702f5843c113f7bc7137a56c0
refs/heads/master
2023-01-13T20:19:50.152115
2019-12-13T23:16:48
2019-12-13T23:16:48
209,396,128
0
0
null
2023-01-07T11:56:19
2019-09-18T20:15:24
Python
UTF-8
Python
false
false
3,154
py
""" Django settings for dojo_ninjas_shell project. Generated by 'django-admin startproject' using Django 1.10. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ i...
[ "lindsey.l.vaughn@gmail.com" ]
lindsey.l.vaughn@gmail.com
7fdc3a2de6bd16536aa00d4e3af7062310107e9f
b8ed71f3d1a36c119d846e97f1aa7d8ba6774f52
/82_Remove_Duplicates_from_Sorted_list_2.py
4eb085d68f83160805f63ac693bcf226f61bafc2
[]
no_license
imjaya/Leetcode_solved
0831c4114dd919864452430c4e46d3f69b4bd0cd
374eb0f23ae14d9638d20bbfe622209f71397ae0
refs/heads/master
2023-05-24T17:57:56.633611
2023-05-16T06:31:42
2023-05-16T06:31:42
284,203,426
0
0
null
null
null
null
UTF-8
Python
false
false
928
py
# Definition for singly-linked list. # class ListNode: # def __init__(self, val=0, next=None): # self.val = val # self.next = next class Solution: def deleteDuplicates(self, head: ListNode) -> ListNode: ans = ListNode() res = ans while head: if head.next and h...
[ "smjayasurya1997@gmail.com" ]
smjayasurya1997@gmail.com
752b5d96bc0bf04c2ce5f9aca348c59dfd611ece
6f3f78b7960a10f750caf359ced19c1f7f49273c
/tes.py
b5f5fd6376fb0085bbd69f029da71ded405094dc
[]
no_license
titoalvi/Gemastik-VIII
515e64b8f856c78e8e1943646672be671c57df19
88cd3b033ceac4fa9da7ae5f83b0b48ca87216be
refs/heads/master
2021-01-10T02:35:36.550863
2016-03-08T16:49:25
2016-03-08T16:49:25
53,428,829
1
0
null
null
null
null
UTF-8
Python
false
false
2,049
py
import pycurl, json from StringIO import StringIO import RPi.GPIO as GPIO import time time_now = time.strftime("%H:%M:%S") #setup GPIO using Broadcom SOC channel numbering GPIO.setmode(GPIO.BCM) GPIO.setwarnings(False) #GPIO.setup(22,GPIO.OUT) # set to pull-up (normally closed position) GPIO.setup(23, GPIO.IN, pull...
[ "Tito Alvi Nugroho" ]
Tito Alvi Nugroho
0305545b721124ac3c2c39173024523d9042e064
3571c2d2892a52e0cff72c2db7d91828cf95a6b3
/smartcab/random_agent.py
0aa1061c98d007b455878985a807f8e2aa2565ca
[]
no_license
al825/smart_cab
dfacb0dba3fc2b754f41ff3ffc19099096ed2bc0
fe1ed9fb688d97c291b9a127011502c37212d37e
refs/heads/master
2021-01-11T10:36:52.889666
2016-12-14T07:28:09
2016-12-14T07:28:09
76,328,445
0
0
null
null
null
null
UTF-8
Python
false
false
2,265
py
import random from environment import Agent, Environment from planner import RoutePlanner from simulator import Simulator class RandomLearningAgent(Agent): """An agent that learns to drive in the smartcab world.""" def __init__(self, env): super(RandomLearningAgent, self).__init__(env) # sets self.en...
[ "anqi.liang@yale.edu" ]
anqi.liang@yale.edu
636dd8d302c9765233548a4bab273d19dfb6290c
4436cbbe464e432290ee7bb7c53e9b99800cbe33
/bin/des-make-image
4b1b87294f889930de3b56d85e29f45984939556
[]
no_license
NiallMac/desimage
f5ec5e04f01891c610be3407be935426ba38f55f
ff5d02ff5b143e5b5252df950ded3771b66f1381
refs/heads/master
2020-06-04T23:48:08.550864
2019-04-19T16:08:43
2019-04-19T16:08:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
800
#!/usr/bin/env python import argparse import desimage parser=argparse.ArgumentParser() parser.add_argument('tilename', help='e.g. DES0428-4748') parser.add_argument('--campaign', help='e.g. y5a1_coadd') parser.add_argument('--types', default='jpg', help="ty...
[ "erin.sheldon@gmail.com" ]
erin.sheldon@gmail.com
4bf33edc1729442467db7b83b7869951182f6352
5910ae723a4e378309479272ffb03c9e8e409c16
/flip.py
fa147d3a6ee50af733b8393fa7b10d563414390a
[]
no_license
arturcuringa/compvi
9425d24a067781799d5f8139fe91e0b70db883c6
fbbb4b2bb16b46967ed0adb7b353ebe8ac5e180e
refs/heads/master
2020-04-24T00:52:40.089002
2019-03-27T13:33:11
2019-03-27T13:33:11
171,579,054
0
0
null
null
null
null
UTF-8
Python
false
false
171
py
import sys import cv2 if __name__ == '__main__': img_path = sys.argv[1] img = cv2.imread(img_path, 1) cv2.imshow('flip', cv2.flip(img, 0)) cv2.waitKey(0)
[ "arturmcuringa@gmail.com" ]
arturmcuringa@gmail.com
ae21cab553ec681e85a41c12031a5930bb5e0eff
eff5f0a2470c7023f16f6962cfea35518ec0b89c
/Elementary_full/Index Power.py
5fda4f90a638e1c5d3a63e232c95a4a619ceae99
[]
no_license
olegJF/Checkio
94ea70b9ee8547e3b3991d17c4f75aed2c2bab2f
fc51a7244e16d8d0a97d3bb01218778db1d946aa
refs/heads/master
2021-01-11T00:46:42.564688
2020-03-02T13:36:02
2020-03-02T13:36:02
70,490,008
0
1
null
null
null
null
UTF-8
Python
false
false
191
py
# -*- coding: utf-8 -*- def checkio(a,b): import math try: return int(math.pow(a[b],b)) except: return -1 print(checkio([1, 2], 3))
[ "jf2@ua.fm" ]
jf2@ua.fm
cb2e56d36a985db04c6cb556a6aba7d38cd2068e
b5f233737d73be695c8a377f083f4476399adfeb
/scripts/cheating_detection/display_cheaters.py
a04a8e3cd82b9d6199b55ce458e950900a3fcdaa
[]
no_license
djamrozik/CS411-VegeCheck
cda4510c99504257c041ef33b0f0f556eedf49aa
8083ed381da3c7bcf31b5b196fafba06ce76f25c
refs/heads/master
2021-05-31T06:44:37.310470
2016-04-23T04:53:39
2016-04-23T04:53:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
371
py
import sys from suspected_cheaters import get_suspects def display(suspects): for suspect in suspects.keys(): sys.stdout.write('EMPLOYEE' + str(suspect) + ': ') for partners in suspects[suspect]: sys.stdout.write('EMPLOYEE' + str(partners) + ' ') sys.stdout.write("<br>") ...
[ "birdbrain2@comcast.net" ]
birdbrain2@comcast.net
0b6ebd6ce4dd3e6f9efa92f71a31f227c8692ca8
7d7e9f10ec12c0fba97716986ae4076b89df9e63
/starter.py
ff10f4e9e1bce411e9a63170dd19dbf18d767e00
[]
no_license
showmikgupta/League-of-Legends-Stats
4e19e8586a08dc7b3e4a4bc86429ddcb83e1b0cd
a9b71cef7fb36a75557686904ffcc5f7b70bc92d
refs/heads/master
2022-12-03T19:38:42.690276
2020-08-27T00:40:01
2020-08-27T00:40:01
290,302,467
0
0
null
null
null
null
UTF-8
Python
false
false
4,153
py
import requests import sys import json import RiotConsts as Consts import Key def main(): championCodes = generateChampionCodes(Consts.CHAMPION_LIST_URL) # Get Summoner Name name = input("Enter Summoner Name: ") # Request for summoner info r = requests.get(f'{Consts.URL["base"]}/summoner/v{Consts.API_VERSIONS["...
[ "showmikgupta@gmail.com" ]
showmikgupta@gmail.com
954df544fde77274249fc7496b0ff01c0f5e03b3
70e4c9b6b87e3632a947f7e0fd5cdc294c3ed887
/pyelong/util/__init__.py
347f73f5ef541c7ae53118a75d18800c1997d0e7
[ "MIT" ]
permissive
DeanThompson/pyelong
314b95b153a52cc26cd69280c2849c3611bfb6a4
654a7f6dfe2b813db62aeda995859866b36c2042
refs/heads/master
2021-01-13T01:36:50.498786
2016-02-24T08:13:59
2016-02-24T08:13:59
37,655,113
1
0
MIT
2019-10-02T21:36:28
2015-06-18T11:17:20
Python
UTF-8
Python
false
false
1,047
py
# -*- coding: utf-8 -*- __author__ = 'leon' from Crypto.Cipher import DES try: from Crypto.Util.Padding import pad, unpad except ImportError: from .padding import pad, unpad def utf8(value): """Converts a string argument to a byte string. If the argument is already a byte string or None, it is ret...
[ "yanglianglee@gmail.com" ]
yanglianglee@gmail.com
6bd6fad061c49013fb3591bf4140d4620eeaea35
719831dddbafba08f8351da6d6d2bb6c1a41fbd6
/back-end/app/__main__.py
44c8d7862fa6bbdda94345e91bf5bba219fd7dbd
[]
no_license
nautilis/zhku.scm
757266a7231efaf7d0ad8bbc0a0a26d6530c48fc
3a84a522264e376a1a51756f82fa3dd2d458aa93
refs/heads/master
2021-09-14T00:02:40.469833
2018-05-06T09:55:19
2018-05-06T09:55:19
118,904,120
0
0
null
null
null
null
UTF-8
Python
false
false
32
py
from app.main import main main()
[ "bevanzpf@gmail.com" ]
bevanzpf@gmail.com
e7a298e50aeb5196887f2bee9769dc01e2752184
781196348bca7e0061bf5408fd766306c45e67c0
/pre.py
a945ad85745b22a559d66b2e6586e515b2126972
[]
no_license
szhhan/Chinese-poetry-generation-
814828734ef73375158cbbf2e34023cccc6d2384
f603b89ee88dbc50698c7e2abf88f93423ee1028
refs/heads/master
2020-12-27T21:26:18.413695
2020-02-03T21:14:20
2020-02-03T21:14:20
238,063,125
0
0
null
null
null
null
UTF-8
Python
false
false
2,496
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sat Feb 1 16:53:33 2020 @author: sizhenhan """ def preprocess(poets,number_to_train): p_list = [] with open(poets, 'r',encoding='UTF-8') as f: for line in f: p_list.append(line) p_list = p_list[:number_to_train] po...
[ "szhhan@hotmail.com" ]
szhhan@hotmail.com
c7e589bf961b28ca4c2f7458c7012b1037eaf31e
5923a870f661255f63faa3b3b5b243f7a7c69059
/interact_dbdc.py
f7e9c306bf48afbcdbe0d341b22d0e823ff9edb1
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
SeolhwaLee/DialoGPT
74237648728776a59409343823da195f60c6549f
45220d493e8d267d703a7abca0497753cc4cda6c
refs/heads/master
2022-12-14T15:40:23.460077
2020-09-22T15:34:49
2020-09-22T15:34:49
269,487,480
1
1
null
null
null
null
UTF-8
Python
false
false
12,107
py
import json from os.path import abspath, dirname, exists, join import argparse import logging from tqdm import trange import tqdm import torch import torch.nn.functional as F import numpy as np import socket import os, sys import re import logging from functools import partial from demo_utils import download_model_fold...
[ "whiteldark@gmail.com" ]
whiteldark@gmail.com
adc3d8c1979d8475dc672be640ed7cb55d85ed49
a34447b5ae3709653fb99d0d2f3e604e3ce83b18
/libros/migrations/0002_score.py
d33c0353d22a674b58f85bb9113d3165bf9f72b3
[]
no_license
juandr89/SRIW_trabajo2
2e2d46116e935a0f3752a863065d9795ac8a4477
53ce5e374e613afaa72642cd3309ecc5da269198
refs/heads/master
2021-03-06T07:39:41.880331
2020-05-08T19:24:36
2020-05-08T19:24:36
246,189,276
0
0
null
null
null
null
UTF-8
Python
false
false
877
py
# Generated by Django 3.0.4 on 2020-03-31 00:19 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('libros', '0001_initial')...
[ "pipeflx85@gmail.com" ]
pipeflx85@gmail.com
4fc47125db5b2ede8cab94898f1f3a42b6b57a4f
046cd4b68c8bdfb99fbba085fdf5f922be1191b4
/src/dao/model_information_dao.py
4303aac4bcb5f60fdd27a590c66f7619add6faf5
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
LiuYuWei/service-ml-model-training-evaluation
f51fc9a5f5b2f821c1e2f69c5b346512c58954aa
5eb297922935047738769c3a7fde4f3e18783fd7
refs/heads/master
2022-12-02T14:14:09.149893
2020-08-22T08:49:34
2020-08-22T08:49:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,214
py
"""Record confusion matrix dao""" # coding=utf-8 # import relation package. import datetime import pandas as pd import sqlite3 from sqlalchemy import create_engine # import project package. from config.config_setting import ConfigSetting class ModelInformationDao: """Record confusion matrix dao""" def __...
[ "yuweiliu@fareastone.com.tw" ]
yuweiliu@fareastone.com.tw
598f8cc6475b5a9f493ac90153d53f1413bc1295
03117d77dfd87cfbdc77b3449dd8ad67d069b15e
/Programing Basics March2020/Conditional Statements - Lab/Number 1...9 to Text.py
3f5093e8051b536ae022796afeb3b11e3b165f76
[]
no_license
zdravkob98/Programming-Basics-with-Python-March-2020
ba8bed19aa7f1df2d14c18b3ec18d0046811faed
a4e54d313f16ea5a59be6f0b08f3ef1572ce6cd6
refs/heads/main
2022-12-24T13:36:53.142471
2020-10-06T17:00:12
2020-10-06T17:00:12
301,796,023
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
number = int(input()) if number == 1 : print('one') elif number == 2 : print('two') elif number == 3 : print('three') elif number == 4 : print('four') elif number == 5 : print('five') elif number == 6 : print('six') elif number == 7 : print('seven') elif number == 8 : print('eight') eli...
[ "zdravkobonev@abv.bg" ]
zdravkobonev@abv.bg
705fe577e926d2ea35468bf612f0a3057927b39d
40f4aa5b646a6c61065dc5c59554ff1588214f0f
/page96c.py
3ed8c00251b945518d68c7cbd6a90cbf734d0c32
[]
no_license
barath99/TN-CS-ErrorCorrections
18e54e4b36240536c4842682ab0898c68dfa1514
3d89eccd0a9a6760ad5de91a10a5e058f5840823
refs/heads/master
2020-11-27T12:49:05.105602
2020-04-12T03:51:37
2020-04-12T03:51:37
229,447,276
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
def printnos (*nos): for n in nos: print(n) return # now invoking the printnos() function print ('Printing two values') printnos (1,2) print ('Printing three values') printnos (10,20,30)
[ "exploretechsbk@gmail.com" ]
exploretechsbk@gmail.com
7c8b548a761ba51df29c4acfa73865b7172c7dd6
2f76cb07039049c2f592d57093993d3f56373dfd
/esp/boot.py
624f5b5c420a3629aa8428ec919781741709528c
[]
no_license
Ignisor/ESP-01-DHT-11
22b2a517f30a8b6cb6570fc71827b6206a176863
79087b55736584b7dfecc5b87ff0f3a7e1c7f7c9
refs/heads/master
2020-04-03T11:17:27.234216
2018-10-29T13:54:41
2018-10-29T13:54:41
155,217,181
2
2
null
null
null
null
UTF-8
Python
false
false
242
py
import esp; esp.osdebug(None) import gc from utils import wifi from utils.pins import LED wifi.toggle_wifi(True) is_connected = wifi.connect(indicate=True) LED.value(not is_connected) # 'not' because 0 - is enable for led gc.collect()
[ "ignis2497@gmail.com" ]
ignis2497@gmail.com
430ff13a3c0ccba5650202397d6d90e358121f45
0031467185e50077934785d2b52818e968e2bce8
/setup.py
70ec28b92c1fec1f5d55cc61b584ee567a2ade24
[]
no_license
Crosse/ZenPacks.crosse.OpenBSD
f9a7b9f36f45c7e1a713761161dcf6749dc545b8
39673c5618034a380cbf9c39d383c4047cf45d88
refs/heads/master
2020-12-24T18:41:46.530703
2016-06-07T20:59:01
2016-06-07T20:59:01
59,491,335
0
0
null
null
null
null
UTF-8
Python
false
false
2,404
py
################################ # These variables are overwritten by Zenoss when the ZenPack is exported # or saved. Do not modify them directly here. # NB: PACKAGES is deprecated NAME = "ZenPacks.crosse.OpenBSD" VERSION = "1.0.0dev" AUTHOR = "Your Name Here" LICENSE = "" NAMESPACE_PACKAGES = ['ZenPacks', 'ZenPacks.c...
[ "seth@crosse.org" ]
seth@crosse.org
651cd1268e961e0cd9720d09e6bf2f654de81f96
07f0cb11f5fc85e4d441fe5a3c53ddf1b4d8001e
/PLBART/bleu.py
d23dce0c852e5f6427f633f12d9714a7f99a3cbc
[ "MIT" ]
permissive
saikat107/MODIT
1e9362d53d3295ec9f133d3b518bdcc75629402c
91c4b7aecb0ed8e69fc9ccfe47c955db0db32109
refs/heads/main
2023-04-14T03:56:34.995332
2021-04-24T02:58:08
2021-04-24T02:58:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,115
py
# Copyright 2017 Google Inc. 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 applicable law or a...
[ "modit@modit.org" ]
modit@modit.org
b8da12905fc2b25296b56d88f50eae18c8b6ab40
eef81f38a81aa5934ac386f6b8de71eb7eee1a05
/cuenta_listas.py
2bc06b98a120c6d364d65238db9ad36b84298547
[]
no_license
valentinomaretto/valentin
3297f155c90265bfd4f7daab44af3c87556c29cb
ad1cffccb491da6402d5755ffd2ec2b0f8e09b09
refs/heads/master
2020-09-04T01:35:52.801198
2019-11-09T18:15:05
2019-11-09T18:15:05
219,630,561
0
0
null
null
null
null
UTF-8
Python
false
false
425
py
print("CUENTA LISTAS") list=[] lista_usuario="0" while lista_usuario.isdigit()==True : lista_usuario = input("Llena tu lista: [end para terminar]") if lista_usuario.isdigit()==True: list.append(lista_usuario) print("Numero añadido {}".format(lista_usuario)) print(list) objetos_en_lista=0 ...
[ "noreply@github.com" ]
noreply@github.com
d31549d5bb51a355ccf603ccb38e7dd30adc2d68
708bc013e833de18a935b5daacd44c21a94b1cdb
/IX.프로젝트/open_메모장.py
f754a9760bebb4a4ca4739936c6c95db5cf59be5
[]
no_license
kkyoung28/Programming-Python-
c1f0d6e9d9c1aaa0e1b99b9bd0ca0c45fc6070fc
536bb936bea79879b4be4b0dd11b54e966239db9
refs/heads/master
2020-07-10T20:41:28.084078
2019-12-09T00:54:52
2019-12-09T00:54:52
204,366,205
0
0
null
null
null
null
UTF-8
Python
false
false
732
py
import pyautogui as pag import time if __name__ == '__main__': pag.moveTo(73, 1057, 2) pag.click() pag.moveTo(439,543, 2) pag.click() pag.moveTo(24, 69, 2) pag.click() pag.typewrite("Hello world") pag.press("enter") pag.press("enter") pag.press("hangul") pag.typewrite("qksrk...
[ "s2018w23@e-mirim.hs.kr" ]
s2018w23@e-mirim.hs.kr
b421e770c7dc315f37572472ec17277b6ee88e2d
c9d705bb6837cfd13ce66bd7d050a033d03f4e7b
/backend/core/urls.py
074936639489e2c60551fb9a7b0381ba6f79dcb6
[]
no_license
cesarMtorres/rets_blog_vue
6574484dce7126881b2f8132d12bfd0453600855
927cfe657eb3e3657a1f1ab11e4f8f48da667d6b
refs/heads/master
2023-09-05T03:59:47.623970
2021-11-10T19:45:24
2021-11-10T19:45:24
428,383,171
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
from django.contrib import admin from django.urls import path, include from django.conf import settings from django.conf.urls.static import static urlpatterns = [ path('admin/', admin.site.urls), ] if settings.DEBUG: urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) urlpatterns ...
[ "cesar.molina.torres.05@gmail.com" ]
cesar.molina.torres.05@gmail.com
ec0113c1b2831cfa47b0fd3958bf7d1c62107098
27a480568c3dc3d61f9f850ea394fcaf4cbe3037
/stackbasic.py
7845abd683fdacfc5c5f98ea971b232fe0e833d5
[]
no_license
sirisatwika/263698
77eeffb8d94f06c9989dd009476367c4843136de
a06192ab7c1d113ec373bb8c1da20027d55e4ea9
refs/heads/main
2023-04-15T18:32:57.644792
2021-04-28T04:30:34
2021-04-28T04:30:34
359,067,755
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
stack = [] def push(val): stack.append(val) def pop(): val = stack[-1] del stack[-1] return val push(3) push(2) push(1) print(pop()) print(pop()) print(pop())
[ "sirisatwikakotha29.com" ]
sirisatwikakotha29.com
b676944f48f0ef7ddef893a5f59e1a39082303b4
0857913ae5cde7481c5bca63ed5081e11f217581
/feiji/14_爆炸效果.py
c8b53095b3e0aca6e847f85db0bfe07b24d7884a
[]
no_license
nmww/p1804_ceshi
48c2d93849018d8601f0732c5005395c81490ef1
72bf25cc7767371594b41f8919454e46fe178023
refs/heads/master
2020-03-15T23:25:43.345763
2018-06-27T03:19:55
2018-06-27T03:19:55
132,393,611
53
7
null
null
null
null
UTF-8
Python
false
false
6,110
py
#-*- coding=utf-8 -*- import pygame import time, random class Base(object): """docstring for ClassName""" def __init__(self, screen, x, y, image_name): self.screen = screen self.x = x self.y = y #3.英雄 self.image = pygame.image.load(image_name) class BasePlane(Base): ...
[ "2423550286@qq.com" ]
2423550286@qq.com
b1e2b0be35c1a98f39800fefa049b1950031588e
a67852f501752583eec252de9a5e29da4a5d2aa2
/more_sel_topics/windows_tabs.py
cb9624fa6fbdbc308acf7b1e4dc9946a1c7126a1
[]
no_license
zGeorgi/Selenium_py
c7c0e77123ff4768be3a549b667cf92e24516e32
5712e903e0e00abe92a6f3630de4abf506e96873
refs/heads/master
2022-12-02T18:30:17.298162
2020-08-16T10:14:14
2020-08-16T10:14:14
271,631,706
0
0
null
null
null
null
UTF-8
Python
false
false
562
py
from selenium import webdriver driver = webdriver.Chrome(executable_path="/home/georgi/chromedriver/chromedriver") driver.get("https://the-internet.herokuapp.com/windows") driver.find_element_by_link_text("Click Here").click() #------ return list with windows------------- child_windows = driver.window_handles driver...
[ "gzayakov1@gmail.com" ]
gzayakov1@gmail.com
42272ffcb536d23cb7a011ae634d6f4df37f7308
b59e7e26f9413f989c399d2816ac7a6f919427da
/steps/resources/geometry.py
fdcc96125ea55a10c0743748fbe7de5bb32aa3a0
[]
no_license
NinfaS/simulation_scripts
9b48448085632303dde48770882e3f118c9c849a
806f75c0d8c340be9d6fd655525afc8eacef8a9d
refs/heads/master
2020-04-01T01:48:28.245826
2018-11-08T11:31:22
2018-11-08T11:31:22
152,753,208
0
0
null
2018-10-12T13:16:52
2018-10-12T13:16:52
null
UTF-8
Python
false
false
13,609
py
#!/usr/bin/env python # -*- coding: utf-8 -*- '''Helper functions for geometry calculations. ''' import numpy as np def ray_triangle_intersection(ray_near, ray_dir, triangle): """ Möller–Trumbore intersection algorithm in pure python Based on http://en.wikipedia.org/wiki/ M%C3%B6ller%E2%80%93Trumbore_i...
[ "mhuen@users.noreply.github.com" ]
mhuen@users.noreply.github.com
9d2c718371fc5aa296befd6bb943d2cfdfbdf3e2
4ee9556155d5004c7fa4fd23e4294df459606bdb
/homework-20/Artist_Album_Song_home_v.py
f405deefd5332029e5253262551f222986f29541
[]
no_license
sppess/Homeworks
7844159589fbacf7657f5d8a4c39f178c4fdab1d
34a95a613c013fd9e965afc9cf5b6b23720f642e
refs/heads/master
2020-08-23T13:18:19.795130
2019-11-12T16:56:05
2019-11-12T16:56:05
213,270,533
0
0
null
null
null
null
UTF-8
Python
false
false
2,580
py
class WrongArtistError(Exception): pass class Artist: def __init__(self, name: str, country: str): self.name = name self.country = country self.songs = [] self.albums = [] def __repr__(self): return f"{self.name}" @property def songs_number(self): ...
[ "noreply@github.com" ]
noreply@github.com
01a6dc6845e9d96f56b1449a3dd629955ae6dd8c
38d2841ec3ef1a69a0a698f4796cbe886cd8b226
/main_func.py
db88c1e3c3aa560aac77b4301b96eb045cacacfb
[]
no_license
takuyakt/data_maker
0de653b5361ec26bd00052031e609b4697b7367b
230ad64cc87c768bb0111037a183e8c8c42d6f46
refs/heads/master
2021-04-11T01:49:44.283760
2020-03-21T14:30:01
2020-03-21T14:30:01
248,983,726
0
0
null
2020-03-21T14:30:02
2020-03-21T13:40:07
null
UTF-8
Python
false
false
282
py
import csv import pprint import os test = "hello world" print(test) fpath = os.path.dirname(__file__) with open(fpath + '/out_testdata/testdata1.csv','w', newline="") as f : w = csv.writer(f) w.writerow([1,'test user', 'aaa']) w.writerow([2,'山田太郎' , 'bbb'])
[ "10061798+takuyakt@users.noreply.github.com" ]
10061798+takuyakt@users.noreply.github.com
59b6f1c8efff9176012b9b7fc9c5464a5dfcd74f
2abc92fe24adb0098136b4961caa681a7675cc0d
/exercicioscv/ex 081.py
6c4db40f02c20e165a929b4790983eed4e97cdca
[]
no_license
sarahemmendorfer/python-basics
969c35d0a5f6fa3d6cd9961ae490523a7939adfa
d9073643cfcdb5aa6404e09e8dc9eed61faf3238
refs/heads/main
2023-04-17T01:05:53.265440
2021-04-22T16:27:14
2021-04-22T16:27:14
360,582,678
0
0
null
null
null
null
UTF-8
Python
false
false
638
py
lista = list() # lista vazia, tbm pode ser lista = [] for c in range(0, 5): n = int(input('Digite um valor: ')) if c == 0 or n > lista[len(lista)-1]: #ou lista[-1], pega o ultimo elemento (se n for maior que o último elemento) lista.append(n) print('Adicionado no final da lista!') else: ...
[ "sarah_giorgia@hotmail.com" ]
sarah_giorgia@hotmail.com
e5addaa7e9e7f5e96e50c097199d033ba1508071
f74a1366b6897204978136da3f5324c50ea1fe7f
/perapp/apps.py
07490c2ea563a769c4805972b56de26594240311
[ "BSD-2-Clause" ]
permissive
fukexue/persite
96ae80266c4ba3939e760da0ff7188fdd01f3f1c
79c806d6354f4d5cf27769568fb152b8af89dc74
refs/heads/master
2021-07-18T13:50:24.380238
2017-10-26T05:02:18
2017-10-26T05:02:18
108,362,367
0
0
null
null
null
null
UTF-8
Python
false
false
87
py
from django.apps import AppConfig class PerappConfig(AppConfig): name = 'perapp'
[ "948726761@qq.com" ]
948726761@qq.com
a4d356d11a28339d7d7d62ec80b076f3d0daef9b
4a6403da9bb730abae3cc443f3641399e77c7058
/config/settings.py
a9293c1c01b9d5665b8c7a0ae2fd5e77d4e8020b
[]
no_license
zkeshtkar/Food_Delivery_Backend
d55ba17509711e2eb511771aaf7ea45e1c8a0781
209c62fb62384934b15ecdec6d343f5ad83ba405
refs/heads/main
2023-06-05T02:59:11.693379
2021-06-26T08:23:53
2021-06-26T08:23:53
375,336,511
9
1
null
null
null
null
UTF-8
Python
false
false
3,075
py
import os # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = 'd8+lpdyupy-+snp_@iwh3bz)a0@2xf&==4x$v&bqw*axn@2c$d' # SECURITY WARNING: don't run w...
[ "zkeshtkarz@gmail.com" ]
zkeshtkarz@gmail.com
700c350838cf0a297be8d230bbdf29716773117e
89cf3437d037b4592ffdc8f92b0919b59c021e88
/file_serverA.py
7c2ab8eb2ab293a26d5fcc16c34ff50aeca91979
[]
no_license
zeus7678/Distributed-File-System-Project-NFS-Protocal-
6f5461a0319e6a4b0ff7c73a4f996d194b70edc6
f8311fa28729ca792fad20775cd8620c41da3af0
refs/heads/master
2022-12-04T09:24:09.244892
2020-08-22T09:18:24
2020-08-22T09:18:24
289,354,014
0
1
null
null
null
null
UTF-8
Python
false
false
3,687
py
# file server from socket import * server_addr = "localhost" server_port = 12001 server_socket = socket(AF_INET,SOCK_STREAM) server_socket.bind((server_addr, server_port)) server_socket.listen(10) print ('FILE SERVER is ready to receive...') file_version_map = {} def replicate(filename): f = open(filename, 'r') ...
[ "noreply@github.com" ]
noreply@github.com
52ec80830c3a884b41526bdcc2a033914c9186fd
7d697d6417261ab0547fb9dc930ccdc8cef284a8
/shop/shop/settings.py
93e38e875aa330220e66fd946b3028460cc1ddde
[]
no_license
JulyYSun/Shopping_web
9f723d4206f6ce43c18ad940f1baccabad3568d0
2e3207dd7a7c7ab32695d891567a622424aec060
refs/heads/master
2022-12-24T09:44:03.549637
2018-06-30T13:03:59
2018-06-30T13:03:59
139,249,852
0
1
null
2022-12-15T10:54:31
2018-06-30T13:01:07
Python
UTF-8
Python
false
false
3,173
py
""" Django settings for shop project. Generated by 'django-admin startproject' using Django 2.0.4. 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 os # Bu...
[ "1194477595@qq.com" ]
1194477595@qq.com
da745ca909e3ec7d10cc7fe8020724b7d99795fa
6b85cf0643f746430878e3c6722a2786a366ecb2
/MODUL-2/4.py
3e1680fcb7c635b98f11004349e167063246d793
[]
no_license
L200183147/algostruk_x
a7fff0187bfaf1e8eb1c88f57071800d50ce727e
5ba6de6a190bab2310a6bef311fc6fc6eaa84e50
refs/heads/master
2021-02-09T22:53:41.848312
2020-04-27T13:02:15
2020-04-27T13:02:15
244,331,893
0
0
null
null
null
null
UTF-8
Python
false
false
1,371
py
class Mahasiswa(object): """Class Mahasiswa yang dibangun dari class Manusia""" def __init__(self, nama, NIM, kota, us): """Metode inisiasi ini menutupi inisiasi di class manusia.""" self.nama = nama self.NIM = NIM self.kotaTinggal = kota self.uangSaku = us ...
[ "noreply@github.com" ]
noreply@github.com
fe546eece8e5657586198652daac8bcc846a5b7a
c55da74730b22e529b2704494736ca8c256a3bcc
/user/decorator.py
cf65b68bccc58948665cc93c084d8bdb961a235b
[]
no_license
anurag2050doit/Flask-liveyoursport
d268293d0bb09c02d0915360a0468ad98952c23b
a11051a2362ebdee769b9a97870a09240f15060e
refs/heads/master
2021-01-18T20:38:28.024543
2017-04-02T11:27:13
2017-04-02T11:27:13
86,979,984
0
0
null
null
null
null
UTF-8
Python
false
false
343
py
from functools import wraps from flask import session, request, redirect, url_for, abort def login_required(f): @wraps(f) def decorated_function(*args,**kwargs): if session.get('username') is None: return redirect(url_for('login', next=request.url)) return f(*args, **kwargs) ret...
[ "anurag2050@gmail.com" ]
anurag2050@gmail.com
527b7463f9eb3882f940fa76797915142466b8bb
d6a61039d69eb9f7f352b98500d8e0e021b98203
/Connectors/osxAddressBook/addressBook.py
3825d5457e42f07434eb5d101e3ef5b1dc91f5f3
[]
no_license
arfrank/Locker
0796294ef1d8968828df3ddb4e31c19043ec860b
e3e7b90214d9e7ec0114477bd5eb9403865ae0ad
refs/heads/master
2021-01-18T08:47:28.806759
2011-03-24T14:26:40
2011-03-24T14:26:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,634
py
from AddressBook import * import json import os def dataOrRaise(x): if not x: raise Exception("None") return x def defaultOp(container, containerKey): return dataOrRaise(container.valueForProperty_(containerKey)) def addDataIfValid(targetObject, targetKey, container, containerKey, op=None): o...
[ "jeremie@jabber.org" ]
jeremie@jabber.org
2315c61056762406d746e77b9628fd75f28bbf16
3514e1935723cfa228d4dda1c7ea7429c54f8660
/petmail/test/test_invitation.py
de04c7835cc24176388774d2c64d9b05c4be6bde
[ "MIT" ]
permissive
ggozad/petmail
5e5ab8796cb52091a42f9ba509b9ddca1e4b32a0
d097816d48049b8142bd6e2f8261ab2b55a7c81b
refs/heads/master
2020-12-24T22:20:41.856401
2013-09-04T06:54:13
2013-09-04T06:54:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,846
py
import os, collections, json from twisted.trial import unittest from .common import BasedirMixin, NodeRunnerMixin, TwoNodeMixin, fake_transport from ..eventual import flushEventualQueue from ..errors import CommandError from ..invitation import splitMessages MROW = collections.namedtuple("Row", ["my", "theirs", "next"...
[ "warner@lothar.com" ]
warner@lothar.com
7e857079fd34b808ba6a450e41c12f817da22560
bd04d6c138665d01349f62d912514c5a7343a6d0
/algorithm/SW_expert_academy/1970.py
ad95e2d0315e75c142820bd871f67112240dd930
[]
no_license
gvg4991/TIL
fe6209c21a228d3500ca64615df2f1066a5d0f11
ada8fbdc88555d327beae2ae8eee16b4739240aa
refs/heads/master
2021-06-08T06:44:37.554473
2021-06-06T09:06:47
2021-06-06T09:06:47
162,512,003
0
0
null
null
null
null
UTF-8
Python
false
false
1,571
py
# 우리나라 화폐 ‘원’은 금액이 높은 돈을 우선적으로 계산할 때 돈의 개수가 가장 최소가 된다. # S마켓에서 사용하는 돈의 종류는 다음과 같다. # 50,000 원 # 10,000 원 # 5,000 원 # 1,000 원 # 500 원 # 100 원 # 50 원 # 10 원 # S마켓에서 손님에게 거슬러 주어야 할 금액 N이 입력되면 돈의 최소 개수로 거슬러 주기 위하여 각 종류의 돈이 몇 개씩 필요한지 출력하라. # 예제] # N이 32850일 경우, # 50,000 원 : 0개 # 10,000 원 : 3개 # 5,000 원 : 0개 # 1,000 원 : 2개 #...
[ "14.73oo6o19@gmail.com" ]
14.73oo6o19@gmail.com
3bd0d7c243a87f3364c34c0aeb30eab85d2046ab
022c3ca134fb125e70ed84c215f14da5eee3020d
/first_app/models.py
249d6f01f06ffad24a21b12eb2287a4f0b345d96
[]
no_license
akibul-sharif/django_practice_1
da755444ad8d7368df9c2330ff61879bbdbf0fe6
7041dbf3b724760c66a70246f4cacc366a3e9c49
refs/heads/master
2023-04-16T01:01:01.433070
2021-04-22T13:41:13
2021-04-22T13:41:13
360,533,202
0
0
null
null
null
null
UTF-8
Python
false
false
220
py
from django.db import models # Create your models here. class Profile(models.Model): name=models.CharField(max_length=20) age=models.IntegerField() address=models.TextField() images=models.ImageField()
[ "mohammadakibulsharif26@gmail.com" ]
mohammadakibulsharif26@gmail.com
56aac45f3cf4f0fb95b0b0e4578bb423478fa7ab
68049b03dbbd9a3d778571794472e07c05fb00ad
/python/courses/corey_shafer/regular_expressions/recompile.py
61f6cf043a694f33b1271c322e5e7d1a181336df
[]
no_license
tjkhara/notes
c9e96ecea6efed860c521eb7df562c5715091aea
5602a25ba23104e4154700108f1b8a3a0144f712
refs/heads/master
2023-01-20T07:42:47.129359
2020-11-24T06:43:24
2020-11-24T06:43:24
285,811,022
0
0
null
null
null
null
UTF-8
Python
false
false
542
py
import re # This is the text we are searching text_to_search = ''' abcdefghijklmnopqurtuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ 1234567890 Ha HaHa MetaCharacters (Need to be escaped): . ^ $ * + ? { } [ ] \ | ( ) coreyms.com 321-555-4321 123.555.1234 123*555*1234 800-555-1234 900-555-1234 900-555-1234 Mr. Schafer Mr Smit...
[ "tkhara@gmail.com" ]
tkhara@gmail.com
c55d5264bdbe43e511bdbb95e17d1012118c0221
bbb5edc5d431bc9db6b31659b03b98dbef11411a
/python_code/picturing.py
31929ef2b57d31d80bf82073e2b9b004be80e143
[ "MIT" ]
permissive
tabhitmy/CMLTF
ade3b5727e982514002b7a4e3f3cb4183699e0e3
63f297f5f5d980da5599815ccec837578f977317
refs/heads/master
2021-01-02T17:16:55.573193
2017-08-04T07:10:22
2017-08-04T07:10:22
99,308,176
0
0
null
null
null
null
UTF-8
Python
false
false
2,292
py
# picturing import sys import os import numpy as np import glob import math import matplotlib as mpl from matplotlib.font_manager import FontProperties zhfont = FontProperties(fname="/usr/share/fonts/cjkuni-ukai/ukai.ttc") # 图片显示中文字体 mpl.use('Agg') import matplotlib.pyplot as plt import pickle from toolk...
[ "noreply@github.com" ]
noreply@github.com
3d7e6b19381428cbae047c99eb8fdb144a5a4680
c94cb71443f71dcb17609e1f85b595f34dc6be66
/carla_scripts/Utils/hud.py
9359b754ea743a6420a718794ffb316b6f45c011
[]
no_license
guygo12345/simulator
b453270026876d4f38d592cb3bd0d103ea99f825
4700cb7470be9fe739b6de4927a06f7d40e61468
refs/heads/master
2021-05-20T03:53:31.139891
2020-08-05T15:50:10
2020-08-05T15:50:10
252,173,367
0
0
null
null
null
null
UTF-8
Python
false
false
10,128
py
""" Welcome to CARLA manual control. Use ARROWS or WASD keys for control. W : throttle S : brake AD : steer Q : toggle reverse Space : hand-brake P : toggle autopilot M : toggle manual transmission ,/. : g...
[ "you@example.com" ]
you@example.com
31a122ec6c026fc494c752caf471d5d872b31f2f
d1bd97ee39d68c0947b1b20ecfb7acb2542c4863
/CatServer/main.py
8374b2aae2ec15a7a906d7874692ed91d1a2ecef
[]
no_license
LeonidMurashov/Python_Projects
84a6e515c12ed1a5217283049dc6bbc507709202
d1df4d1baf483f9025859f6a6e332b44cbb9fdf2
refs/heads/master
2021-08-20T05:07:49.990224
2020-07-27T10:41:20
2020-07-27T10:41:20
73,642,642
12
12
null
null
null
null
UTF-8
Python
false
false
1,256
py
import tornado.httpserver import tornado.ioloop import tornado.options import tornado.web import random from tornado.options import define, options import urllib.request as urllib2 define("port", default=8888, help="run on the given port", type=int) from pymongo import MongoClient client = MongoClient("...
[ "=" ]
=
6fdc01621b1df1b18c3bb641942f1e82a75be909
09abafe939ae356b7a9c17d2fe6498e710f1cbc5
/Parte II/ladder/ladder2/pub/controllerDoor.py
dcbc61f11b3c3967b283bb1dc05b0f166e714350
[]
no_license
brunacordeiro/SCAPS
ab2b83f1fede6f53220193c2fcc5c490c739bee2
3c2db3ef9e8796fc977509b753f204a9043c17fb
refs/heads/master
2022-12-20T08:51:48.057197
2020-10-20T22:43:17
2020-10-20T22:43:17
277,899,565
2
0
null
null
null
null
UTF-8
Python
false
false
1,083
py
import time import random lotacaoShopping = 5000 taxaPermitidaShopping = 0.3 capMaxShopping = lotacaoShopping * taxaPermitidaShopping amountPeople = 50 amountEntry = 0 amountExit = 0 result = list() porta = 2 def contagemPessoasDoor(vetor): # [1,0] ... [0,1] global amountPeople global amountEntry glob...
[ "thaliassantana15@gmail.com" ]
thaliassantana15@gmail.com
875e0d0c989a74f1b08d8b931176422888425e8d
03f30b0cf13beb6c80c26af3c40b9334ce5b063c
/프로그래머스/level1/콜라츠 추측.py
423ccdc1c8c3d0a013fc0308541ce7cc824689c1
[]
no_license
yunakim2/Algorithm_Python
41887147dd412596cd5813283e96f68113a4c43d
e8fde2bd7206903b6b4f3c321c3ed5651b484cc7
refs/heads/master
2023-08-25T23:13:58.544439
2021-11-13T09:08:17
2021-11-13T09:08:17
295,153,209
0
1
null
null
null
null
UTF-8
Python
false
false
280
py
def solution(num): answer = 0 while (num!=1) : if num%2 == 0 : num = num/2 else : num = num*3+1 answer= answer+1 if(answer>500) : answer = -1 break return answer print(solution(626331))
[ "98_02@naver.com" ]
98_02@naver.com
1160903dc116ef10682357928602c084c50c18f8
4860af57dcde0e65e9ed359e416c75d9f984910c
/DataProcess/data2_preprocessing.py
2f985bd959de18749462efe3c4868f35c4887013
[ "Apache-2.0" ]
permissive
zouning68/ner-demo
61cc26c676cb2cd99010a7f6f2b5597f6a680f14
ffdbf95fd0354766bd2f882ecb02d55a9b14b74d
refs/heads/master
2020-11-30T08:34:21.325248
2019-12-27T02:30:00
2019-12-27T02:30:00
230,357,325
2
0
null
null
null
null
UTF-8
Python
false
false
1,679
py
""" data2 数据预处理 数据从all 文件夹中分割出两粉数据 """ from Public.path import path_data2_dir import os # data2 数据预处理 def data2_preprocessing(split_rate: float = 0.8, ignore_exist: bool = False) -> None: """ data2数据预处理 :param split_rate: 训练集和测试集切分比例 :param ignore_exist: 是否忽略已经存在的文件(如果忽略,处理完一...
[ "noreply@github.com" ]
noreply@github.com
885130676b7af1c3d220da12ca057033b6a743ad
24bd62bd716a25e203bf05bf1f74e964e250f020
/bsmv_experiments.py
2e68eabbe3eaac11254d7fb6c87b527c0d173b09
[]
no_license
sreejithkvenugopal/GRRT_Experiments
32cf2186dea62b2c11be8e43d2ce86e0d46d1334
e7588353facef59372553a2411a8f5a96e778c2d
refs/heads/main
2023-01-23T06:11:10.883988
2020-12-08T02:10:18
2020-12-08T02:10:18
318,921,067
0
0
null
null
null
null
UTF-8
Python
false
false
22,782
py
import numpy as np #import matplotlib.pyplot as plt import os,sys,json import scipy as sci from rrt_codes.block_single_measurement_vector import block_single_measurement_vector from scipy.linalg import hadamard from scipy.stats import norm from sklearn import linear_model from sklearn.linear_model import LassoCV import...
[ "sreejith.k.venugopal@gmail.com" ]
sreejith.k.venugopal@gmail.com
0cb178233d4cfcf9f34a0954b8cef8c6702b83b0
78caf1980448dabc4b0ea7a6177281bec085431d
/color.py
7c4dda25bfeeafd31c3c74c437be6a04e780beed
[]
no_license
kohanyirobert/led-display-simulator
69b08106c77dd2cb6379b65de2b53cbccd6fe8de
7b7f1dd08773b74bdd0e1c8e0ba300e52c381c1c
refs/heads/master
2021-05-16T00:51:08.216921
2017-10-15T07:52:02
2017-10-15T12:48:22
107,011,312
1
0
null
null
null
null
UTF-8
Python
false
false
339
py
class Color(): def __init__(self, red, green, blue): self.red = red self.green = green self.blue = blue def __eq__(self, other): return self.red == other.red \ and self.green == other.green \ and self.blue == other.blue BLACK = Color(0, 0, 0) WHITE = Co...
[ "kohanyi.robert@gmail.com" ]
kohanyi.robert@gmail.com
6736b424599b92948dc2ae5aac6558d1bfdef98d
d5d01ca52800526ac467186aba7241b5fa728001
/teste_coloring.py
690896fb5ca1be5eb3de0106c636078d1a68c201
[ "MIT" ]
permissive
kewitz/master
1d4703064c26a4bb9e1e72e03271aa3c9c0af50c
fd07c7ec40bc72e8870b2bdff770390487977a2f
refs/heads/master
2021-01-22T17:58:47.863942
2015-09-18T17:22:19
2015-09-18T17:22:19
32,545,570
3
0
null
null
null
null
UTF-8
Python
false
false
892
py
# -*- coding: utf-8 -*- from numpy import * from ctypes import * import NScheme as solver path = """./res/""" m = solver.Mesh(file=path + "teste1_1.msh", verbose=True) bound = {1: 0.0, 2: 0.0, 3: 0.0, 4: 0.0, 5: 0.0, 6: 0.0} for n in m.nodesOnLine(bound.keys()): n.calc = False nodes = solver.split([n for n in m...
[ "holland9@gmail.com" ]
holland9@gmail.com
d05e491c484faf8626ee6e542c29ccb98cd0a7bd
7c4edb6e475bc0b3aaf43736a111019640a5863c
/python/ISpyElectron_cfi.py
c9cb10e4f76feebf6b3421ab0154d7abe3aaa771
[]
no_license
cms-outreach/ispy-analyzers
da52c44c18fa7640b7bb6d9091286a2f69f35c26
086143c71cbbc930ad58daf405b93f48320d3867
refs/heads/master
2023-05-25T13:53:22.963617
2022-03-07T18:15:23
2022-03-07T18:15:23
10,282,224
6
11
null
2023-05-18T14:22:36
2013-05-25T09:39:40
C++
UTF-8
Python
false
false
212
py
import FWCore.ParameterSet.Config as cms ISpyElectron = cms.EDAnalyzer('ISpyElectron', iSpyElectronTag = cms.InputTag('hltPixelMatchElectronsL1Iso') )
[ "sha1-f41adf2a6635e62e0a1d2aceba5816a9d25ba935@cern.ch" ]
sha1-f41adf2a6635e62e0a1d2aceba5816a9d25ba935@cern.ch
11a0af5cc3c789157b5ab87ff783c6d0b93ee717
d4f198892448cf0197614a1586892f82e52c02f8
/pages/base_page.py
62a564dd905f0270b5d7da5f792f61d89afdd5c7
[]
no_license
Serg-Klimenko/Stepik_Selenium_final_task
8c6a0945a6236af21665ba38cfa93c5bea735de8
9a9ee9f6eac1fbfd10d723c6fcc7d305b0e7ae2a
refs/heads/main
2023-02-28T00:32:33.232340
2021-01-31T19:25:57
2021-01-31T19:25:57
334,411,828
0
0
null
null
null
null
UTF-8
Python
false
false
2,624
py
from .locators import BasePageLocators from selenium.common.exceptions import NoSuchElementException from selenium.common.exceptions import NoAlertPresentException from selenium.common.exceptions import TimeoutException from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expec...
[ "klimenko.sm.job@gmail.com" ]
klimenko.sm.job@gmail.com
6867439e9c0b0b68b52993a561f5a92529a58c1f
8ec2f4d20a88a209b6fdd3b7c2519dfb0f909206
/KM_KBQA/BertEntityRelationClassification/optimization.py
dfc1a07decc67db696c5c351ec2f2bffe434c8ea
[]
no_license
actnlp/aerospace_kbqa
25e05bbd94df76595cbc47471c4d1278cce6326d
fc8ac1e159e25333a303739247be510991fb2c0d
refs/heads/master
2023-01-08T23:54:16.492238
2020-11-13T02:28:38
2020-11-13T02:28:38
286,701,724
1
6
null
null
null
null
UTF-8
Python
false
false
12,272
py
# coding=utf-8 # Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team. # # 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/LICEN...
[ "leext@buaa.edu.cn" ]
leext@buaa.edu.cn
f916b3145cdf32893f9de457fb27cf474867551c
71f0e3697c7bc70b14708acb293945ed661255c4
/Code_LR/Data_frame.py
4b9e3ec413ccad54142b454b6188f060ffeae4c7
[]
no_license
mrtrunghieu1/Graduate_Admission_LR
ccb254a1228bf9ee3b7ba766e1e5d6d20251f9c5
ae9d561488fa1209fe365de7c0325f784ba8c327
refs/heads/main
2023-01-22T14:44:06.836524
2020-11-13T15:54:11
2020-11-13T15:54:11
309,565,542
0
0
null
2020-11-13T15:54:12
2020-11-03T03:47:21
null
UTF-8
Python
false
false
3,229
py
from __future__ import division, print_function, unicode_literals from sklearn import preprocessing import numpy as np import pandas as pd import matplotlib import matplotlib.pyplot as plt from sklearn.preprocessing import StandardScaler from sklearn import datasets,linear_model # Đọc file data(csv) data_frame = p...
[ "you@example.com" ]
you@example.com
383267361bf252c0830c3a10c4898ee8eb75fcba
8e71f1b8ee620170c44f10637d5746b69a48667b
/examples/add_command.py
82273e1dad30850b830b05f1635bf2e4f4306d70
[ "MIT" ]
permissive
arkocal/pycmdmenu
f95ba0feec7efeabdcc898a81517dff64bb3c7a9
0cb3f55e90f9f64f50ab6ca784a5329439cca2c2
refs/heads/master
2020-03-30T06:21:09.798765
2018-10-05T12:56:38
2018-10-05T12:56:38
150,854,399
1
0
null
null
null
null
UTF-8
Python
false
false
1,043
py
import argparse import cmdmenu @cmdmenu.cmdmenu_function("Echo to terminal", "Longer description of echo") def echo(message: "Message to echo"): print(message) @cmdmenu.cmdmenu_function("Echo reversed", "Longer description of mirror-echo") def mirror_echo(message: "Message to echo reversed"): print(message[::...
[ "arkocal@gmail.com" ]
arkocal@gmail.com
36ab13a75baf8d404625533f5380751a6cb1f201
e0259f0145cb0b4c6596f896157a02ab6c51df86
/Algorithm/Python/175/0189_Rotate_Array.py
a014e45c0331be60d5d25f46a79c53f031c876ec
[]
no_license
fantasylsc/LeetCode
accaa9e13c0893db150efed4307ad5f777662e0d
f4a53f0ee4b2a53c1bf22f11d9d9eb9f53ff061a
refs/heads/master
2022-10-10T12:04:48.537826
2022-08-24T02:23:46
2022-08-24T02:23:46
214,951,540
1
1
null
null
null
null
UTF-8
Python
false
false
1,233
py
# Given an array, rotate the array to the right by k steps, where k is non-negative. # Example 1: # Input: [1,2,3,4,5,6,7] and k = 3 # Output: [5,6,7,1,2,3,4] # Explanation: # rotate 1 steps to the right: [7,1,2,3,4,5,6] # rotate 2 steps to the right: [6,7,1,2,3,4,5] # rotate 3 steps to the right: [5,6,7,1,2...
[ "noreply@github.com" ]
noreply@github.com
51899d337f116527f3cb9a7cbe1797cc2cf9131d
c4bcb851c00d2830267b1997fa91d41e243b64c2
/utils/paths/dirs.py
44e7aa6a061355a5976a779c5c64e4004a06388d
[]
no_license
tjacek/cluster_images
5d6a41114a4039b3bdedc34d872be4e6db3ba066
8c660c69658c64c6b9de66d6faa41c92486c24c5
refs/heads/master
2021-01-23T21:01:17.078036
2018-06-07T14:33:50
2018-06-07T14:33:50
44,881,052
0
0
null
null
null
null
UTF-8
Python
false
false
3,959
py
import sys,os sys.path.append(os.path.abspath('../cluster_images')) import numpy as np import os import os.path as io import utils.paths from natsort import natsorted from shutil import copyfile from sets import Set import utils.paths class ApplyToFiles(object): def __init__(self,dir_arg=False): self.dir...
[ "tjacek@student.agh.edu.pl" ]
tjacek@student.agh.edu.pl
0e1c4e9c5b3ec55e52f896f330853ae4b11b161b
d3076892caaebfd9bab6540aaf045742765a6399
/facts/current_hour.py
2f3666537398158524a8d42e8dbf3bef4035cfe5
[]
no_license
poundbangbash/munki-facts-conditions
ff3340fcd5b95f9d70e74b0365dd92ce00f5de80
1f73db0eba706f1c833107973ea0dacf1022dd45
refs/heads/master
2022-05-28T23:04:07.854006
2022-05-16T20:08:56
2022-05-16T20:08:56
117,352,958
3
3
null
2018-01-16T18:53:06
2018-01-13T15:06:57
Python
UTF-8
Python
false
false
300
py
import datetime def fact(): '''Get the current day name''' try: now = datetime.datetime.now() current_hour = now.strftime("%H") except (IOError, OSError): current_hour = "" return {'current_hour': current_hour} if __name__ == '__main__': print(fact())
[ "(none)" ]
(none)
0335735939c2dc7ee5586f49a615b1b8d5bca9d9
974d04d2ea27b1bba1c01015a98112d2afb78fe5
/test/legacy_test/test_tensor_data_ptr.py
eeaa91df0dcc17dc0127c30c132a1bde8bca8703
[ "Apache-2.0" ]
permissive
PaddlePaddle/Paddle
b3d2583119082c8e4b74331dacc4d39ed4d7cff0
22a11a60e0e3d10a3cf610077a3d9942a6f964cb
refs/heads/develop
2023-08-17T21:27:30.568889
2023-08-17T12:38:22
2023-08-17T12:38:22
65,711,522
20,414
5,891
Apache-2.0
2023-09-14T19:20:51
2016-08-15T06:59:08
C++
UTF-8
Python
false
false
1,069
py
# Copyright (c) 2022 PaddlePaddle 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 app...
[ "noreply@github.com" ]
noreply@github.com
6b0faaf8c2c9bc9d8d6d1973f7859558e1d8afd2
dee62bd47b1d2ce7363bc8f4dc84ba24a25ff6c6
/2. Условия/Ход ферзя.py
1f2cb2b056f554b377e63ac97c268f81bc2092b1
[]
no_license
hellion86/pythontutor-lessons
c0f5c8a1ee84bfd861f224ca10f9154e35ac82c6
2d6b721db2f8ddabb530f5898317118d77db5d47
refs/heads/master
2020-03-12T10:45:02.444438
2018-12-21T18:24:59
2018-12-21T18:24:59
130,580,143
0
0
null
null
null
null
UTF-8
Python
false
false
526
py
''' Условие Шахматный ферзь ходит по диагонали, горизонтали или вертикали. Даны две различные клетки шахматной доски, определите, может ли ферзь попасть с первой клетки на вторую одним ходом. ''' x1 = int(input()) y1 = int(input()) x2 = int(input()) y2 = int(input()) if (abs(x2 - x1) == abs(y2 - y1)) or (x1 == x2 or ...
[ "vmezhurevsky@gmail.com" ]
vmezhurevsky@gmail.com
32ea4732b4a4406667275c7fab12cb6a8edb2740
5e52eec531f45e05d1e9433c46b77ae4afb8a0e5
/leetcode/practice/strings/plus_one.py
e2b66b0a35fc79ab1e9fe73d1845ad0d8abe4bb7
[]
no_license
markosolopenko/python
b63c671d4b52dd571f4ca0fab224c2d0eca848e8
49008edea3db5102cc9fb621ffff05e26aa82bed
refs/heads/master
2023-01-22T04:34:55.501311
2020-12-04T09:42:39
2020-12-04T09:42:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
816
py
from typing import List class Solution: def plusOne(self, digits: List[int]) -> List[int]: a = -1 k = 0 if digits[-1] + 1 >= 10: if len(digits) > 1: while k != len(digits): if digits[a] + 1 < 10: digits[a] += 1 ...
[ "kauchuk1616@gmail.com" ]
kauchuk1616@gmail.com
2d19f71fd8206b7ef0efaeaa83accb0403a78789
9908401be2088363d56b314dca406365b666047e
/bot.py
04aef0641d641a671a6148604ca27320ae9ffa19
[]
no_license
itailitai/Reddit-songs-to-youtube-bot
ff4ffec7caf53eadd86ce4074cc31632790298d9
87dfd15e00e17412a9529744150e272d2aa9be26
refs/heads/master
2021-01-10T10:22:46.266145
2016-03-21T22:32:58
2016-03-21T22:32:58
53,138,263
0
0
null
null
null
null
UTF-8
Python
false
false
16,431
py
#!/usr/bin/env python # -*- coding: utf-8 -*- #a bot that replies with youtube songs that were mentioned in the comments import re import socket import sqlite3 import sys import time import traceback import urllib import urllib2 import praw from bs4 import BeautifulSoup '''USER CONFIGURATION''' APP_ID = "" APP_SECR...
[ "itailaitner12345@gmail.com" ]
itailaitner12345@gmail.com
89724807ba5a9c2f49cd0001c7b1988977246290
ffb4d47a69b04026af0a2b8201bd7e52328eb9ec
/server/map_file.py
d6867521b3e11ea34e7f855a27d241231609ab95
[]
no_license
a-jain/rappor-js
eb4303ad10a77753a05fb1a4e06f5f0f0bc07233
d7f6bcab78af5db693569050ef74da19f95cb3af
refs/heads/master
2021-01-18T21:22:22.015781
2016-05-21T02:37:55
2016-05-21T02:37:55
48,339,179
1
0
null
null
null
null
UTF-8
Python
false
false
2,150
py
import hashlib import csv import sys import os import struct import json testing = False if not testing: subDir = os.path.join(os.getcwd(), "outputs/" + sys.argv[1]) paramsFile = subDir + "/params.csv" mapFile = subDir + "/map.csv" def getParams(): params = {} f = open(paramsFile, "r") reader = csv....
[ "mr.akashj@gmail.com" ]
mr.akashj@gmail.com
568ce6d78e1527fd2a9466d9d7781b09f5da72f8
67864887cd8b63263797717078752cbdef304f9b
/r21SwiftNew/r21StatisticalAnalysis/install/InstallArea/x86_64-slc6-gcc62-opt/src/source/Run_gjjSearchPhase.py
5c3c7319f2e8d514e48d6b2a475e702354df4e19
[]
no_license
Yvonne-Ng/swiftLimitSetting
5da59cf5f755b80a9485477241ef0c5d1dbbc76d
5d92728c5aaab4bbd8acd1d015d6b2ad96bf88e3
refs/heads/master
2020-03-11T08:14:36.494021
2018-06-09T21:24:25
2018-06-09T21:24:25
129,878,682
0
0
null
null
null
null
UTF-8
Python
false
false
12,376
py
#!/usr/bin/env python import subprocess # So can use shell scripting in python import os import ROOT from ROOT import * import re # ***************** # Lydia Beresford # April 2015 # Script to run Step 1: # - SearchPhase.cxx # - plotSearchPhase_gjj.py to plot results of SearchPhase.cxx # Note:To change fit parameter...
[ "yvonne.ng@cern.ch" ]
yvonne.ng@cern.ch
67c3b6015b3b12fd261856b9673f67abc4797a7f
a51a1ba62ea5acbc38a0266ea2a775a4d98dd193
/navya/views.py
7570fb8f0084d69bf373cdd6cad96e86d980c350
[]
no_license
sathish-ku-mar/navya_python
3c900c19d0b7987108f430c1d34f5676a99cd6db
35a39547d7a6d8ddc9b949fe7dd4c44e294e4304
refs/heads/master
2022-12-09T14:12:23.825532
2019-11-20T19:21:09
2019-11-20T19:21:09
223,008,307
0
0
null
2022-12-08T06:54:59
2019-11-20T19:09:05
Python
UTF-8
Python
false
false
3,264
py
# Create your views here. from rest_framework import status, viewsets from rest_framework.response import Response from django.http.request import QueryDict from .settings import global_file_path import json def read_file(path, mode='r'): with open(path, mode) as json_file: data = json.load(json_file) ...
[ "sathishkumar@appinessworld.com" ]
sathishkumar@appinessworld.com
9757dc544e5546368dabdf8bf1927b9d01db5cfe
c8bc580a5b930d9e06533afbe36e5703b6bf4536
/3/project_accessment/api/serializers.py
51a89249b4a73328d009643a8c1dbad30badb5cd
[]
no_license
Austyns/pyclass
b5093e05cc268017d02f230d9da06c63711fb9aa
e8690bf52a04a2b674b5e09c29c349df0439df05
refs/heads/master
2020-03-27T19:37:41.349459
2018-09-08T10:21:54
2018-09-08T10:21:54
147,001,852
1
0
null
null
null
null
UTF-8
Python
false
false
692
py
from rest_framework import serializers from api.models import System_users, Subject, Accessment # System Users class System_usersSerializer(serializers.ModelSerializer): class Meta: model = System_users fields = ('id', 'ad_name', 'ad_email', 'ad_role', 'ad_password', 'ad_phone', 'ad_status', 'ad_reg_at') ...
[ "austyns.iyke@gmail.com" ]
austyns.iyke@gmail.com
cd98ac8c0c8181f075c9c2d079bd0db1e9c5eee6
10794c9a6b410094cef87afd2af08b10ddb96120
/products/tests.py
7b76230fc72a400174668068bdd0d312e95dce74
[]
no_license
selinaerhabor/keep-learning-first-aid
03a4316168a0bfc883198d806791f3f928d4faf6
8cbef179bbe3b57380b74e961c11359ffa96255b
refs/heads/master
2023-07-21T14:40:17.584293
2023-07-08T11:53:43
2023-07-08T11:53:43
179,534,573
0
0
null
2022-12-26T20:15:35
2019-04-04T16:21:37
HTML
UTF-8
Python
false
false
301
py
from django.test import TestCase from .models import Product # Create your tests here. class ProductTests(TestCase): # Tests run against Product model created def test_str(self): test_name = Product(name='CPR Manikin') self.assertEqual(str(test_name), 'CPR Manikin')
[ "selinaerhabor@gmail.com" ]
selinaerhabor@gmail.com
d57161b04a99d8d7a915746775fc7c9eab09f30b
36ebb72ddc930e2b73bb02e01384335c706bd037
/problem_11.py
c61eab1ac4efaf42495cc90fd1505a7dc606bc50
[]
no_license
sunshinee24/leetcode
8870374e860cb9931eadfc0b74fde3b92700afe1
cd50f0d6702feadb6d5c83f64243c7b2f4736d5a
refs/heads/master
2020-04-29T23:46:15.343212
2019-03-19T12:22:13
2019-03-19T12:22:13
176,486,878
0
0
null
null
null
null
UTF-8
Python
false
false
804
py
class Solution: def maxArea(self, height): """ :type height: List[int] :rtype: int """ # area=min(height[right], height[left])*(right-left) if (height == [] or len(height) < 2): return 0 left = 0 right = len(height) - 1 ...
[ "noreply@github.com" ]
noreply@github.com
84b6b4f3ab5b6ee8f3cf6dac2754cb1b3820c24f
bf45c05e88f80002d07474ede90a38fe562eba85
/PythonExercicios/Mundo_1/ex017.py
fe51c35d6803b3e28f2238878870466cbbb052f8
[]
no_license
Patryck1999/Curso_em_Video
262018d6ce7fb21932712110090c3b17d816a46b
99946be44adca5ff94c4c82c432d6ab6a72cdfa9
refs/heads/master
2023-02-08T01:36:17.020755
2020-12-28T23:52:56
2020-12-28T23:52:56
325,139,880
0
0
null
null
null
null
UTF-8
Python
false
false
665
py
""" Faça um programa que leia o comprimento do cateto oposto e do cateto adjacente de um triângulo retângulo, calcule e mostre o comprimento da hipotesusa. """ """ co = float(input("Comprimento do cateto oposto: ")) ca = float(input("Comprimento do cateto adjacente: ")) hi = ((co ** 2) + (ca ** 2)) ** (1/2) print('A hi...
[ "patryck.fragoso@aluno.faculdadeimpacta.com.br" ]
patryck.fragoso@aluno.faculdadeimpacta.com.br
0ec61f3e8aa8071d599f9313f322b2894444add6
32648c442744ea9c49672d8383c1ea6644634e1c
/SI/hw/SI-5.py
ab88e79e53b111a83703203f4db3f60f282b3d3a
[]
no_license
NRL-Plasma-Physics-Division/turbopy-training-public
2a411671d68491e4b34e74becda62fae458e1a5b
411a9e07898277af84cd7cc1fdae89545d5b893a
refs/heads/main
2023-04-22T20:12:43.310354
2020-11-09T21:52:52
2020-11-09T21:52:52
311,473,164
3
0
null
null
null
null
UTF-8
Python
false
false
3,237
py
import matplotlib.pyplot as plt import numpy as np import sys # command line: python tang.py {alpha} {dt (step size)} if not sys.argv[1:]: print('please input an alpha and dt value') exit() ALPHA = float(sys.argv[1]) DT = float(sys.argv[2]) def firstorder(y0, n, dt): """ Calculates a list of first-ord...
[ "paul.adamson@nrl.navy.mil" ]
paul.adamson@nrl.navy.mil
6f813e0c622f6c3d96bca69e68f773713d3d2170
4a072ea49069c6aa2748b86dce4d59b94c5ffd61
/bin/pip-3.7
2c5e6a1833edec68ea2100996b15935112363805
[]
no_license
dahymond/tweetyou
443f56e0227d13e4a2082e29e1c821e6c0678aea
013b04a73ad9d6f4b831c4f7095256a12296fd2c
refs/heads/master
2022-12-04T16:05:17.665843
2020-08-21T08:09:17
2020-08-21T08:09:17
285,932,478
0
0
null
null
null
null
UTF-8
Python
false
false
259
7
#!/Users/technicalsuccessmanager/dev/tweetyou/bin/python # -*- coding: utf-8 -*- import re import sys from pip._internal.cli.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "ssdahymond@gmail.com" ]
ssdahymond@gmail.com
3df1f8ee46dc0cf88bdeb39ac0d96a5490084917
13336e7a6c00f624d1bde319993a3842d50b21ca
/writeDCM.py
fa8d1f6043321e44d73a27f6deb07da10e859717
[]
no_license
zenglilililili/WriteDCM
b82c691157bfa05708aa42f26503ddca7d67668b
17521d27eb531e6bb20a292b26567dc8b5de212a
refs/heads/master
2022-10-29T15:16:05.509458
2020-06-15T09:07:29
2020-06-15T09:07:29
271,925,342
0
0
null
null
null
null
UTF-8
Python
false
false
334
py
import os from getData import getData from wDcm import writeDCM root_Path = 'Data' Doc_list = os.listdir(root_Path) for doc in Doc_list:#对医生循环 pat_list = os.listdir(root_Path+'/'+doc) for pat in pat_list:#对病人循环 data = getData(root_Path,doc,pat) writeDCM(root_Path, doc, pat,data)
[ "noreply@github.com" ]
noreply@github.com