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
55aa7baf5a1939931d0771a762ff8f4e5f872773
eb0249d6912d430f2c4535de08670e92679f6d7b
/src/PReLIM.py
435955e339345f30c1fd62a18024d8767bff9ba8
[]
no_license
xflicsu/PReLIM
80ce7ec64e79d8f13a25f902d2d6176c4f66f5c6
686e95a5250b9f44034043afb08c01774796e5c2
refs/heads/master
2022-09-10T02:34:16.146128
2020-05-27T21:04:15
2020-05-27T21:04:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,154
py
from __future__ import print_function """ Author: Jack Duryea Waterland Lab Computational Epigenetics Section Baylor College of Medicine PReLIM: Preceise Read Level Imputation of Methylation PReLIM imputes missing CpG methylation states in CpG matrices. """ # standard imports from scipy import stats import numpy ...
[ "jd50@rice.edu" ]
jd50@rice.edu
b41399f6dc58e4f54b33c3b69f61ba1f94ba8a91
92ca35ebc9e2c97132a7ce4411b7cb867d9a0663
/main.py
115eb4ab278d816331856e093eef0998a98b5e18
[]
no_license
YarovoyDaniil/pandasplotly2
bbe556da966c48be87dea540e8c1a76e9033f66c
7c6c16adf4ff29c031d1c8bbe69157789c57bce6
refs/heads/master
2020-11-25T18:52:01.788227
2019-12-18T10:49:57
2019-12-18T10:49:57
228,801,031
0
0
null
2019-12-18T09:09:24
2019-12-18T09:09:23
null
UTF-8
Python
false
false
1,319
py
import os os.environ["GOOGLE_APPLICATION_CREDENTIALS"]="keys.json" import pandas as pd from bq_helper import BigQueryHelper import plotly.graph_objs as go from plotly.offline import plot bq_assistant = BigQueryHelper('bigquery-public-data','epa_historical_air_quality') QUERY = """ SELECT `state_code`, `...
[ "noreply@github.com" ]
noreply@github.com
887cf3466a28d10d8d3c08c83d3ecff0f5782c68
a5feead69352f75ed49793f0489d16ce7445a48c
/day010/prob026.py
2aae3350185eef691427b9093043f97c2636cfc6
[]
no_license
junkeon/programmers
98cefa485fc23bb7bbdb369cacf6ed726b6a4f87
0615cbe1cbffdb12434970f96a7325e6eaf745b3
refs/heads/master
2021-05-18T22:00:46.431799
2020-05-22T14:57:08
2020-05-22T14:57:08
251,443,077
0
0
null
null
null
null
UTF-8
Python
false
false
79
py
def solution(arr): arr.remove(min(arr)) return arr if arr else [-1]
[ "palex3012@gmail.com" ]
palex3012@gmail.com
15f95d4a87c76a4b3ff34c7d8d6b5dee3be3e112
301fcb8bea1c054d39214691f80fbdea734d5a5d
/LiveGrip/app/api/utils.py
e5b8eaf346c71f83c9cdf4e2ec6c4e98ec572b05
[]
no_license
SykoTheKiD/LiveGrip-Backend
e245edb87591d3b1cfdbcd3acb533d294fe3a7bf
44689198c12ff4f698c937deb766855beb71538a
refs/heads/master
2021-03-27T15:02:30.027428
2016-08-16T22:22:41
2016-08-16T22:22:41
67,225,787
0
0
null
null
null
null
UTF-8
Python
false
false
228
py
from django.utils import timezone import datetime TOKEN_VALID_DATE = 30 # days def new_token_expiry_date(): """ Generates a new expiry date for a token """ return timezone.now() + datetime.timedelta(days=TOKEN_VALID_DATE)
[ "jay@jaysyko.com" ]
jay@jaysyko.com
b39d36331b8f1e4f851d206c61a3e1cc0ae2df1e
9125dd7cefe406db4c4f30e147cf2a709c4e11ac
/flask/bin/easy_install-2.7
42e4774853bca430e0e773f89a08a94783f39a59
[]
no_license
ahg223/CloudCamAPI
37199afe38ae039330038a5c6b2c345cd5fa2144
04ed1925b094a1ad62b8c85bf5e5ebe797af6a9a
refs/heads/master
2020-04-27T18:11:55.118509
2019-04-13T07:43:43
2019-04-13T07:43:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
276
7
#!/Users/hyunggeunahn/Desktop/MyGit/Flask/flask/bin/python2.7 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "ahg223@naver.com" ]
ahg223@naver.com
a794cd368971ddd7da52ea42ef11f525d6acfa03
4ebfb207661bafcebb9b75936318c7dc84db3d80
/myvenv/Scripts/rst2s5.py
8f3e1f9599c87a7c8383bf0cf545291231482abe
[]
no_license
YooInKeun/ToDo-App
2c72a91488cb376ff6c380ccbe5106dfdae09ecb
c231e5b13936a33bf60e42268c1ad856495aa432
refs/heads/master
2022-12-11T18:41:06.856657
2019-09-12T07:39:25
2019-09-12T07:39:25
200,203,474
0
0
null
2022-11-22T04:13:58
2019-08-02T09:07:51
Python
UTF-8
Python
false
false
718
py
#!c:\users\keun0\onedrive\바탕 화면\창업 경진대회\todo\todo-app\myvenv\scripts\python.exe # $Id: rst2s5.py 4564 2006-05-21 20:44:42Z wiemann $ # Author: Chris Liechti <cliechti@gmx.net> # Copyright: This module has been placed in the public domain. """ A minimal front end to the Docutils Publisher, producing HTML slides using ...
[ "keun0390@naver.com" ]
keun0390@naver.com
11d7586b7b9a1d62b6b3ea9257ab5501beab53b7
fb66c010704bafb9a4bfa8ba98099fc48f4dc0dd
/main.py
173b99801df64bac7b4dd8ea8ed37c2c7d37fd3f
[]
no_license
mkhmirza/cryptopy
6ab2742a40a4c3a0ada3ef3bb425bf60e70fa32f
d321e4beb982e3e2ed731f7f3f0ca1d49e4fe42b
refs/heads/master
2023-05-31T14:26:45.218684
2021-06-14T14:20:10
2021-06-14T14:20:10
285,309,696
0
0
null
null
null
null
UTF-8
Python
false
false
1,796
py
#!/usr/bin/python env import getopt import sys from crypto import Cryptography import argparse parser = argparse.ArgumentParser(description="Encrypt & Decrypt Files using different techniques") parser.add_argument('-e', '--encrypt', help='encryption to be performed', action='store_true') parser.add_argument('-d', '-...
[ "kumailhabib12@gmail.com" ]
kumailhabib12@gmail.com
61e68303488b6e117e1a6b2188ab4413659acbb6
3068bdf533bbd1dfddbbc22176bf5837844ac48a
/final/poi_id.py
42065913ea2b79446b99bd76203f53961826848d
[]
no_license
jparimaa/nn
c2c67869a08779ce2f1e173489aaf6eb5e6d0b66
197425b7adceba0a8ea22d6008ac0c4fde21f438
refs/heads/master
2021-06-10T23:55:03.933529
2016-10-22T09:46:05
2016-10-22T09:46:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,353
py
import sys import pickle sys.path.append("../tools/") from feature_format import feature_format, target_feature_split from tester import dump_classifier_and_data, test_classifier def add_ratio_feature(data_dict, key, new_feature, dividend, divisor): try: data_dict[key][new_feature] = data_dict[key][divide...
[ "juhapekka.arimaa@gmail.com" ]
juhapekka.arimaa@gmail.com
df119986e7fe6e7dc635c2fc9dc41f4eb6cb67eb
b2c44f71e04786fd1b8708d5881b7844975659c0
/ranger/colorschemes/solarized.py
027871c5b08595cdec5ab0bbc5aa5bf7237955af
[]
no_license
okubax/dotfiles-old
2ae15f2bae13bdabda2293e08b3bc27ad899503c
cc98fe71caa2e6a1ac6215fff61c9f0b3c3b4bdf
refs/heads/master
2021-01-14T12:44:53.625051
2017-07-08T20:36:10
2017-07-08T20:36:10
35,935,966
3
1
null
null
null
null
UTF-8
Python
false
false
4,144
py
# This file is part of ranger, the console file manager. # License: GNU GPL version 3, see the file "AUTHORS" for details. # Author: Joseph Tannhuber <sepp.tannhuber@yahoo.de>, 2013 # Solarized like colorscheme, similar to solarized-dircolors # from https://github.com/seebi/dircolors-solarized. # This is a modification...
[ "okubax@gmail.com" ]
okubax@gmail.com
351258959249189c8f6ffc9c3aea21baf176bc4c
0277e19a9d82e35c731aec2772d3c4f4ec977644
/www/app.py
89b7c5a9c5e548486ce75f85f8775ee05bec92c1
[]
no_license
xingzhihe/python3-webapp
8402d9e7d1491c19aa46ed2ff03455e21857222f
5ef9627835a7f27059c057c32dd94093b2fa3af7
refs/heads/master
2021-06-25T00:05:29.443748
2019-07-24T02:01:59
2019-07-24T02:01:59
150,948,948
0
0
null
null
null
null
UTF-8
Python
false
false
5,639
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = 'zhihe xing' ''' async web application. ''' import logging; logging.basicConfig(level=logging.INFO) import asyncio, os, json, time from datetime import datetime from aiohttp import web from jinja2 import Environment, FileSystemLoader import com.phoenix.o...
[ "xingzhihe@foresee.com.cn" ]
xingzhihe@foresee.com.cn
305c9b3f41cbbbb26fb9defc09ab47c5ab0ce0d3
0e908f1a62d1143762c6928bf6b7a549a6e1e254
/amstrong.py
2c7c7465e38d2fbebf68e20bd8e7bb3b5b7fdc74
[]
no_license
CastleOfCodes/Pythoncodes
c18e79a3378339366554f1bec77477119a97e2d1
0ff8cd482fd046477e2c2bc841e5d9b58b0c1348
refs/heads/master
2023-06-29T17:05:19.796200
2021-08-04T04:39:57
2021-08-04T04:39:57
392,550,012
0
0
null
null
null
null
UTF-8
Python
false
false
147
py
n=int(input()) temp=n sum=0 while(n>0): d=n%10 sum+=(d**3) n=n//10 if(temp==sum): print("Amstrong") else: print("Not amstrong")
[ "joyalt6@gmail.com" ]
joyalt6@gmail.com
5edc2b831a243780efc54733a7aa4d7d4f44e259
50b9a05e54c3ea4247673e7d126109eda1a13243
/SNA4Slack_API/SlackCrawler/tests/Test_DataPrep.py
b22692539f415d427228cd4bad4900db6934e9e4
[]
no_license
aman-srivastava/SNA4Slack
6f7a00708f693fac7f8bd51791f164c5c91a2ed2
c0f735d83e0a1ffb769b1c00e168ddaa22b46374
refs/heads/master
2021-09-13T09:05:28.073800
2018-04-27T13:35:34
2018-04-27T13:35:34
104,130,254
9
1
null
2018-04-27T02:44:00
2017-09-19T21:23:52
HTML
UTF-8
Python
false
false
2,134
py
#!/bin/python # -*- coding: utf-8 -*- import json import csv import uuid import sys from time import sleep from random import randint from selenium import webdriver from pyvirtualdisplay import Display from objects.slack_archive import * import datetime from cassandra.auth import PlainTextAuthProvider from cassandra.c...
[ "sinamda2@asu.edu" ]
sinamda2@asu.edu
afc1960b9e604fdb66a3939bdb40fa1fd79f9cc7
090a4e026addc9e78ed6118f09fd0d7d4d517857
/graph_objs/scattermapbox/_marker.py
5bece0565289746dd7c67705ab0f857215310d98
[ "MIT" ]
permissive
wwwidonja/new_plotly
0777365e53ea7d4b661880f1aa7859de19ed9b9a
1bda35a438539a97c84a3ab3952e95e8848467bd
refs/heads/master
2023-06-04T19:09:18.993538
2021-06-10T18:33:28
2021-06-10T18:33:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
48,618
py
from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType import copy as _copy class Marker(_BaseTraceHierarchyType): # class properties # -------------------- _parent_path_str = "scattermapbox" _path_str = "scattermapbox.marker" _valid_props = { "allowoverlap", ...
[ "wwwidonja@gmail.com" ]
wwwidonja@gmail.com
fe382577a093500adc301a74f49535d7edc1e416
d472c845d34583f34b16918706e3ee9f19a0c818
/config.production.py
ede0b218f528a882d3619de9bf02e18f762123b5
[]
no_license
alien9/bigrs
3e4217a8fe50b96b0f9d3c516af47344de69ee5e
0f6c70f21c94cc2590a21686ea7b949051ece453
refs/heads/master
2022-12-10T02:20:14.022406
2019-10-31T14:32:51
2019-10-31T14:32:51
218,782,597
0
0
null
2022-12-08T00:02:51
2019-10-31T14:16:46
TSQL
UTF-8
Python
false
false
138
py
cstring="dbname='bigrs' user='bigrs' host='localhost' port='5432' password='bigrs'" geoserver="http://bigrs.alien9.net:8080" DISPLAY=":99"
[ "barufi@gmail.com" ]
barufi@gmail.com
ae96763c2dfcfe2d0b4604a12b62c68f102cd078
3d32dad4f5476d369d4f5510291ec55fbe8700b1
/lastprog/venv/bin/futurize
15081e228226475d87f0bc586fd2591277ccc237
[]
no_license
Mancancode/Python
59e0af3b33e4d0453f56686e4814638d0f123020
10b3a79f8db403dcc535517b2bd8bc4bbf12263c
refs/heads/master
2020-03-20T15:23:08.119951
2018-06-16T02:31:24
2018-06-16T02:31:24
137,511,590
0
0
null
null
null
null
UTF-8
Python
false
false
424
#!/home/manmiliki/PycharmProjects/lastprog/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'future==0.16.0','console_scripts','futurize' __requires__ = 'future==0.16.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.a...
[ "achonwaechris@outlook.com" ]
achonwaechris@outlook.com
62de0d4b13ffe8a54f556b37db6ba423e609c33e
9df2fb0bc59ab44f026b0a2f5ef50c72b2fb2ceb
/sdk/netapp/azure-mgmt-netapp/generated_samples/snapshots_get.py
09de9918ef91a8f9e53d95e483bca18b08f524f3
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
openapi-env-test/azure-sdk-for-python
b334a2b65eeabcf9b7673879a621abb9be43b0f6
f61090e96094cfd4f43650be1a53425736bd8985
refs/heads/main
2023-08-30T14:22:14.300080
2023-06-08T02:53:04
2023-06-08T02:53:04
222,384,897
1
0
MIT
2023-09-08T08:38:48
2019-11-18T07:09:24
Python
UTF-8
Python
false
false
1,614
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
noreply@github.com
32b0e7a217eb7c08f989d9cf4ed742c04c128e45
3f93949f24e27476916696d50c75d4f93d49644b
/bin/cadastre-housenumber/bin/check_osm_id_ref_insee_csv.py
6eb0c114c376c7e954dcba4748f3123fa7516172
[]
no_license
bagage/export-cadastre
c038a83104051029c04ee2ee1ebd04249041203f
dd919c6474062aca5594972d6954c44a67625f49
refs/heads/master
2020-12-02T22:25:55.952425
2019-12-27T21:15:45
2019-12-27T21:15:45
96,131,733
0
0
null
2017-07-03T16:43:32
2017-07-03T16:43:32
null
UTF-8
Python
false
false
1,403
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # This script is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # It is distributed in t...
[ "tyndare@wanadoo.fr" ]
tyndare@wanadoo.fr
77873623690a54262fa767c5faf2a14eb148e99c
d710731763e0445a2551b11983f6e05ef7c92ba1
/wxpython/chp9/9.10.py
03117d361322ae85bcfb6dc1e25dfd0bfe47350a
[]
no_license
642237240/python
666b4cdd476fc9d8620f1b2414aa9f2e1bdf88f7
097e91a7a855822df696fac8d558b9a247490fbc
refs/heads/master
2022-10-11T06:31:30.674093
2020-05-28T13:26:48
2020-05-28T13:26:48
262,321,438
0
0
null
null
null
null
UTF-8
Python
false
false
275
py
import wx import wx.lib.imagebrowser as imagebrowser if __name__ == '__main__': app = wx.App() dialog = imagebrowser.ImageDialog(None) ret = dialog.ShowModal() if ret == wx.ID_OK: print('You Selected File:' + dialog.GetFile()) dialog.Destroy()
[ "642237240@qq.com" ]
642237240@qq.com
999b382c9ad57d0ddfec93969cb49d317a2255d2
a1a86ccffff5f1a8fdab92f58fe46cd66f9cc0e2
/docrec/ocr__/recognition.py
63a91f818d84a4929e0fb5014006eafe4fed7c67
[]
no_license
ZhengHui-Z/deeprec-sib18
8ec2c3b5b2fb6bfc6879f28a28c56776a7aa4faa
036171c33bc2f90645d8b9794aa0850c34a3ad05
refs/heads/master
2020-06-19T20:09:57.953934
2019-06-24T14:03:00
2019-06-24T14:03:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
815
py
import numpy as np from pytesseract import image_to_string from PIL import Image from ..text.textprocessing import text2words # http://www.nltk.org/howto/portuguese_en.html # http://stanford.edu/~rjweiss/public_html/IRiSS2013/text2/notebooks/cleaningtext.html # Run OCR def image2text(image, language='en_US'): l...
[ "paixao@gmail.com" ]
paixao@gmail.com
657fe89cd2b81c2f222c3e4b5ec744eb2230ebac
0f40272f221acd09932e5e4b7f6287300526c902
/Programmers/Python/Code/줄 서는 방법.py
c1ff2fd5f910d0a0f0592e1a715b923f87a01fb8
[]
no_license
wansang93/Algorithm
60cfa0d5a3cda7e41096cb22537a35c4789fc9e8
65425d1bf8e49cc3a732680c0c1030a2dc0333ca
refs/heads/master
2023-08-05T04:35:44.128549
2023-07-29T17:57:00
2023-07-29T17:57:00
225,189,092
7
0
null
null
null
null
UTF-8
Python
false
false
308
py
import math def solution(n, k): answer = [] nums = [i for i in range(1, n+1)] k -= 1 while nums: index = k // math.factorial(n-1) answer.append(nums.pop(index)) k %= math.factorial(n-1) n -= 1 return answer data1 = 3, 5 print(solution(*data1))
[ "wansang93@naver.com" ]
wansang93@naver.com
e9d41c59809ceb3af1a341138be9851fd0de4169
7e8a3efee959cdf7306aba0e4613091da7131a2d
/src/marof/sensor/Sensor.py
60ec3450429e4136c2e7b7f84b98f00cc494585d
[]
no_license
tderensis/marof
94cfc7f939688e89fe4a7c54ebf20e8840886cc7
15b481a2c6caa8186a04e3286c535148d7c4b24b
refs/heads/master
2020-05-18T05:41:51.464514
2000-01-01T05:58:05
2000-01-01T05:58:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
973
py
import abc from marof import MarofModule class Sensor(MarofModule): """ A sensor module. Has an optional filter. """ __metaclass__ = abc.ABCMeta def __init__(self, name, updateInterval, filt): """ Initialize sensor. """ super(Sensor, self).__init__(name, updateInterval) self._f...
[ "tderensis@gmail.com" ]
tderensis@gmail.com
9bb4fcaa0d9de4ed146ebbd8468fa1931beaa63a
b039da79b60a0ba0ff54db5a0c1773f38da709f9
/sql.py
bd6a7a41d51ff75d3855550c3ee191e75ca1c93e
[]
no_license
test998998/Sqlmapapi-scan-getsqli-in-txt
7aabbd8cc52c79b3052c5e8dd14f03e552227ab8
7662d0fefa131d815c967bfbcb99e290470bc989
refs/heads/master
2021-07-16T13:16:09.511873
2017-10-23T10:30:19
2017-10-23T10:30:19
107,966,982
0
0
null
null
null
null
UTF-8
Python
false
false
1,307
py
# coding:utf-8 import os import requests import json import threading from time import sleep file = open("url.txt") def sql(url) : try: r = requests.get("http://127.0.0.1:8775/task/new") taskid= r.json()['taskid'] r = requests.post('http://127.0.0.1:8775/scan/'+taskid+'/start', data=json.dumps({'url': url}), he...
[ "test998998@icloud.com" ]
test998998@icloud.com
dbc10d0194e60cd16d96aa341c4b3291121a9723
ae2e0845f8bc7581c163f94796435bebb36ffa03
/Proyecto World/saludos.py
c0b4fcc59dcaa044921dd467fdd1d321a93fab74
[]
no_license
vicssan/CSD
1325bee8ecf24197713554ba214ba89679bfb0da
cbba2ea5a64a95de7dec7bfd3fba4a181edbb407
refs/heads/master
2023-02-07T22:34:54.945515
2023-01-26T14:53:06
2023-01-26T14:53:06
282,976,112
0
0
null
null
null
null
UTF-8
Python
false
false
258
py
print "Saludo en aleman" import aleman print "Saludo en castellano" import castellano print "Saludo en frances" import frances print "Saludo en ingles" import ingles print "Saludo en italiano" import italiano print "Saludo en finlandes" import finlandes
[ "victor.sanchez.sanchez@gmail.com" ]
victor.sanchez.sanchez@gmail.com
f7f7c4ae920feb66bc7be4c30f81b07b1cf34892
c0f7cfdd437f929ac57388888feb5407be9ec79f
/dit_flow/dit_widget/chk_statistics.py
88eac4d0bccf891c867d197e6e35120bf3d812f1
[ "MIT" ]
permissive
KyleManley/DIT
7f2691c0995ab0d6df0e68120a757fc6a4e090d0
e85338f84854ca8424d1ad7c69098c6f288bf441
refs/heads/master
2021-01-25T10:28:33.693176
2017-12-11T20:10:41
2017-12-11T20:10:41
123,354,368
0
0
null
2018-02-28T23:19:29
2018-02-28T23:19:29
null
UTF-8
Python
false
false
2,792
py
#!/usr/bin/python """Calculates statistics for each input column.""" import argparse as ap import csv import statistics from dit_flow.dit_widget.common.logger_message import logger_message, DEFAULT_LOG_LEVEL def chk_statistics(missing_value, input_data_file=None, output_data_file=None, log_file=None, log_level=DEFAU...
[ "hwilcox@vmslickmonoski.apps.int.nsidc.org" ]
hwilcox@vmslickmonoski.apps.int.nsidc.org
6b209ae9bd25f4d7717fb6ec8adb50225f77ee8e
c81e339be809bd903cb9f64bc0bbe762e2d03664
/BOJ/Gold IV/BOJ9935.py
bec629f11d8173997c09d79dabbf58011b660214
[]
no_license
ccc96360/Algorithm
1012ef74b17c1204460f640e415cd11868586601
b1346d9a285dac31723bb903ca504dd373e77797
refs/heads/master
2023-09-02T15:49:42.769437
2021-11-07T06:59:22
2021-11-07T06:59:22
325,761,400
1
1
null
null
null
null
UTF-8
Python
false
false
796
py
#BOJ9935 문자열 폭발 20210514 import sys from collections import deque input = sys.stdin.readline def main(): q = deque(input().rstrip()) bomb = input().rstrip() bombSize = len(bomb) res = [] last = deque() while q: v = q.popleft() res.append(v) last.append(v) if len(...
[ "ccc96360@naver.com" ]
ccc96360@naver.com
42e1fd898441182a034fd968ee5d9e69efa7a13e
101e31d207c2a406522fb9f1c08524bd4b9f09e2
/test.py
fd1add63796a6ba736f1ef9acaf805f16b3ddc9c
[]
no_license
amrs12145/ir
84095a2582dedddd61d9af5ec876a563c0dcdc91
407e73db75b9e73792eb65545310424f8af5f2dd
refs/heads/master
2023-05-08T22:58:33.550160
2021-06-04T22:38:29
2021-06-04T22:38:29
370,883,064
0
0
null
null
null
null
UTF-8
Python
false
false
576
py
from flask import Flask,redirect,url_for,request app = Flask( __name__ ) @app.route('/home') def fun1(): return 'home/test' @app.route('/test') def fun2(): return 'test' @app.route('/home/h/test/<name>') def fun3(name): return 'home/h/test =>' + name @app.route('/',methods=['POST','GET']) def lo...
[ "amrs12145@gmail.com" ]
amrs12145@gmail.com
a99693ef3da2e1e820f3243aa54fb397ec17d653
bd51543af3f5a3a615728900e54c5c0e679f6f37
/src/mr.roboto/src/mr/roboto/tests/__init__.py
a8e1407a62afb2bc0704facda0b97daa1b5aac6b
[]
no_license
plone/mr.roboto
0dbe51b9b4eff5c18d9db76dc32c5cb4272a8cf6
083525c369a2a821101a4fa2c402db39d436565a
refs/heads/master
2023-08-14T15:15:35.832184
2023-06-04T07:04:32
2023-06-04T07:04:32
8,120,484
0
3
null
2023-09-06T18:25:25
2013-02-10T08:19:11
Python
UTF-8
Python
false
false
1,640
py
def default_settings(github=None, parsed=True, override_settings=None): plone = ["5.2", "6.0"] python = { "5.2": ["2.7", "3.6"], "6.0": ["3.8", "3.9"], } github_users = ["mister-roboto", "jenkins-plone-org"] if not parsed: plone = str(plone) python = str(python) ...
[ "gil.gnome@gmail.com" ]
gil.gnome@gmail.com
7c07abfe45a78368fccc1684dd15011fba059c07
56ca0c81e6f8f984737f57c43ad8d44a84f0e6cf
/src/bpp/migrations/0293_pbn_api_kasowanie_przed_nie_eksp_zero.py
e14f1181b74a62c95a3a32e731aa17b60a5f7220
[ "MIT", "CC0-1.0" ]
permissive
iplweb/bpp
c40f64c78c0da9f21c1bd5cf35d56274a491f840
a3d36a8d76733a479e6b580ba6ea57034574e14a
refs/heads/dev
2023-08-09T22:10:49.509079
2023-07-25T04:55:54
2023-07-25T04:55:54
87,017,024
2
0
NOASSERTION
2023-03-04T04:02:36
2017-04-02T21:22:20
Python
UTF-8
Python
false
false
784
py
# Generated by Django 3.0.14 on 2021-09-15 19:08 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("bpp", "0292_przypinanie_dyscyplin"), ] operations = [ migrations.AddField( model_name="uczelnia", name="pbn_api_kas...
[ "michal.dtz@gmail.com" ]
michal.dtz@gmail.com
985639d4736b7727eb55662717ebdd7f942603b3
841a24b5db1fa2f0bb8ec23fc7914ca68b155d40
/primo3.py
037377a354f41abe8ca477cc89d5586b8ae84ef6
[]
no_license
GabrielJar/Python
6dbabf389abb063fa9929ccb9f5a0c3aaaa5e499
1e3e444ed6c02eeae078c8c9f09db98bec13b3d8
refs/heads/master
2021-07-11T01:57:06.063162
2017-10-11T21:50:49
2017-10-11T21:50:49
104,657,044
0
0
null
null
null
null
UTF-8
Python
false
false
540
py
def is_prime(x): if x < 2: return False else: if x == 2: return True else: n = 2 primo = True while n < (x - 1) and primo == True: if x % n != 0: n = n + 1 else: n = n ...
[ "gracco@gmail.com" ]
gracco@gmail.com
5224eadbda0dcfdd3c5803de8a172e94230526fd
06a64628eb3486ed9587db2299cde4d6239be81f
/fitters.py
754adc4f7f5f25340240f36fc09f07db7a38ba06
[]
no_license
yandaikang/ROACH
5ac996ad61c89d9419e0a2ca0c2ea379bcad4645
71ff47cf3e4f0f5be65966c720798c6d6fa38de4
refs/heads/master
2020-05-23T08:02:34.819303
2016-10-05T03:09:06
2016-10-05T03:09:06
70,026,699
0
0
null
null
null
null
UTF-8
Python
false
false
70,970
py
import os import scipy import scipy.linalg import mpfit import struct from numpy import * import time,fractions, math,inspect,random import threading import numpy import h5py print "Loading fitters.py" ######################################################################## # # # # ####################...
[ "yandaikang@gmail.com" ]
yandaikang@gmail.com
0994278a4630f12ad2158c006cad40adf14f8817
788f24712349f071653f4ca55cf1e626ee9d2913
/main.py
bdfdec07b0fab698ed20e3a1c69986d7e099ef6e
[]
no_license
The-Coding-Hub/PyNotePad
94388b58bed8e84795287238d12aafa7bd6d2d57
e678ebe72ae119076b5e212ac8a3d32755b42771
refs/heads/master
2023-06-13T02:23:29.123008
2021-07-10T07:50:46
2021-07-10T07:50:46
384,642,204
0
0
null
null
null
null
UTF-8
Python
false
false
3,363
py
from tkinter import * from tkinter.messagebox import showinfo from tkinter.filedialog import askopenfilename, asksaveasfilename import os def newFile(): global file root.title("Untitled - Notepad") file = None TextArea.delete(1.0, END) def openFile(): global file file = askopenfilename(defau...
[ "yourcodinghub.py@gmail.com" ]
yourcodinghub.py@gmail.com
b65850d93e8982cdcf8dc8c853dcf41ed1856bb7
1c6c77814f8daddc9e6adc25345d843a22449db2
/server/etl/poi_convert_label.py
385a71030d96f12d9f198a27554d04a629b660b6
[]
no_license
D2KLab/CityMUS
c8ee6badf5bbe5c3f9084538aa27bda27eaa592d
d05ebc31884ae93bb27cd49002e97b169e56d9b3
refs/heads/master
2021-03-27T14:51:41.846994
2017-10-20T14:28:44
2017-10-20T14:28:44
86,473,203
1
1
null
null
null
null
UTF-8
Python
false
false
209
py
with open('../data/dbpedia_match_nogeo_distinct.csv','r') as input_fp: reader=csv.reader(input_fp,) # skip header reader.next() rows = [ [unicode(col,'utf-8') for col in row] for row in reader]
[ "ellena.fabio@gmail.com" ]
ellena.fabio@gmail.com
93a02d466eccb5a9c95be3e2c4321267f16fdf80
a301b8d9875c58df665d373b856fdeec4c12ea97
/webhook_w.py
30a8720b02772ed8d29646da15f99e758765d5af
[]
no_license
Bhawna5/Weather_chatbot_using_dialogflow
1bc6c9170a838b795f783b10df1a9f0a1f3c247c
38dbbd3fae6b23dcb74fca6938601a2b311a992d
refs/heads/master
2022-04-17T21:50:08.379340
2020-04-17T09:12:52
2020-04-17T09:12:52
256,455,399
0
0
null
2020-04-17T09:12:40
2020-04-17T09:09:38
Python
UTF-8
Python
false
false
1,837
py
import json #to convert list and dictionary to json import os import requests from flask import Flask #it is microframework to develop a web app from flask import request from flask import make_response #Falsk app for our web app app=Flask(__name__) # app route decorator. when webhook is called, the decorator ...
[ "noreply@github.com" ]
noreply@github.com
dea600a78ef3e1a87be92720c1bd383d6be60f6a
8aff692ba932a52d550aa9302e5b8062778e8faf
/frontpage/migrations/0002_auto__add_contact.py
ba5aabb01fa83ca16a9e90fbf1082e6d760cf70f
[]
no_license
rdthree/addition_interiors_project
3d1c4164816e26a284648ee26e585c7d31398d0a
2485b71ac9a8894fa59ac2b8b71db3c1d7d3d167
refs/heads/master
2022-02-09T19:35:51.499562
2014-03-30T03:31:33
2014-03-30T03:31:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,645
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Contact' db.create_table('frontpage_contact', ( ...
[ "delgado.raymond@gmail.com" ]
delgado.raymond@gmail.com
9ca724797bafc303ea2dc8dea965d71c1463a0e6
2f7e84a0ff1b6b3d7e0081d56afe635494a1582f
/Deno/人脸识别/test222.py
e41671956b645d6473fdf934345eeba629b2ceec
[]
no_license
wangbiao0912/TensorFlowLearn
eb978cd9e71d9985e33cff4c7df40438d462932f
917fa6ecf761955c162c9016b9212be12bfbb77f
refs/heads/master
2022-12-02T00:07:07.216572
2020-06-15T03:49:16
2020-06-15T03:49:16
232,243,666
0
0
null
2022-11-22T04:42:15
2020-01-07T04:40:19
Python
UTF-8
Python
false
false
1,119
py
#coding:utf-8 import cv2 import sys from PIL import Image def CatchUsbVideo(window_name, camera_idx): cv2.namedWindow(window_name)#该方法是写入打开时视频框的名称 # 捕捉摄像头 cap = cv2.VideoCapture(camera_idx)#camera_idx 的参数是0代表是打开笔记本的内置摄像头,也可以写上自己录制的视频路径 while cap.isOpened():#判断摄像头是否打开,打开的话就是返回的是True ok, frame = ...
[ "wangbiao1012@gmail.com" ]
wangbiao1012@gmail.com
2059a70b6d77faa17807325f41adf8b91a280812
e50d1af38ee1ba8aeadc516bf9b44a145d92c724
/adminrestrict/__init__.py
8560e39eed2186d7a9b39c7f2b688b83a814f669
[ "MIT" ]
permissive
robromano/django-adminrestrict
540435388634eab30f6ac9668efa20d47e6e1919
d7a01bcaf2a6cf9eaeb4f0e5ee09caf58c1ff291
refs/heads/master
2023-03-10T21:38:32.244402
2023-02-27T01:00:30
2023-02-27T01:00:30
24,990,752
36
26
MIT
2022-04-09T02:10:15
2014-10-09T13:39:39
Python
UTF-8
Python
false
false
190
py
try: __version__ = __import__('pkg_resources').get_distribution( 'django-adminrestrict' ).version except: __version__ = '3.0' def get_version(): return __version__
[ "rromano@gmail.com" ]
rromano@gmail.com
73d3d2feb587623fc39b8bc79371c17cf3d71e0d
ee230bfae781bdd2a75a6cd196f2651f82739d27
/debang/download_excel/migrations/0003_auto_20180623_0935.py
dca4aa34e7861dce4bbd7e44d915e78df3009f11
[]
no_license
Catchoo/mianshi
5974783d769216516753f72859a6fd5238723c23
0218bda64291a6e5a78bb3b582138ab81d05e2f7
refs/heads/master
2020-03-21T10:36:34.723853
2018-06-25T10:07:55
2018-06-25T10:07:55
138,461,070
0
0
null
null
null
null
UTF-8
Python
false
false
873
py
# Generated by Django 2.0 on 2018-06-23 09:35 from django.db import migrations, models import uuid class Migration(migrations.Migration): dependencies = [ ('download_excel', '0002_auto_20180623_0934'), ] operations = [ migrations.RemoveIndex( model_name='orgnz', ...
[ "cqa6688@126.com" ]
cqa6688@126.com
eafff8475c96f2aa68ef7488e958c8a6291ef035
ca04f1e28524aab7d779e08609b635b7d171790b
/apps/my_app/models.py
4a607c94acc07a1b115a08f6fc52001123b55896
[]
no_license
herimiguel/userName
19cd337024e25619cdb7238ca195784967b83108
7a70d72ce88b2b0d66503b0eeacb0ed392f232fd
refs/heads/master
2020-03-19T14:34:13.846543
2018-06-06T14:54:06
2018-06-06T14:54:06
136,344,151
0
0
null
null
null
null
UTF-8
Python
false
false
270
py
from __future__ import unicode_literals from django.db import models # Create your models here. class User(models.Model): user_name = models.CharField(max_length=101) created_at = models.DateField(auto_now_add=True) updated_at = models.DateField(auto_now=True)
[ "herimiguel84@hotmail.com" ]
herimiguel84@hotmail.com
9e6704d523c243109abeb3ad83e91af8302e9388
c82fa8b3a408dd8007cc185be78a9a5e6ac496bc
/app/lab03/src/mean_shift.py
216e1ec381d2600db4b5a3f37afc55cbf622b22c
[]
no_license
ssjf409/CV
fbaa78f02f5e09b89858ee69a36db4f5a54bb893
4986749585d0cc5612cfe6b45da0af1ae4a97e7d
refs/heads/master
2022-10-05T08:00:00.808495
2020-06-07T07:00:18
2020-06-07T07:00:18
256,041,482
0
0
null
null
null
null
UTF-8
Python
false
false
924
py
import cv2 import numpy as np image = cv2.imread('../data/fruits.png') shifted = cv2.pyrMeanShiftFiltering(image, 30, 30) shifted_list=shifted.tolist() height, width, channels = image.shape centers=[] for m in range(0, height): #print(m, height) for n in range(0, width): if len(centers)==0: ...
[ "ssjf409@naver.com" ]
ssjf409@naver.com
040780f0a66c35d9feada04c693a6b39fc7f7acc
70f564990215f47b139a777826f211477e9b44f6
/plan2vec_experiments/analysis_icml_2020/local_metric_img_visualization.py
832991f25694a02b928ea7dc8ae3ba5d41a0fb3b
[]
no_license
geyang/plan2vec
de87f2d77732c4aacdefd00067ebebacb7cd763f
aeeb50aed3d7da4c266b4ca163e96d4c0747e3c1
refs/heads/master
2022-11-16T03:40:42.638239
2022-10-28T04:01:29
2022-10-28T04:01:29
261,273,420
65
3
null
null
null
null
UTF-8
Python
false
false
2,107
py
from plan2vec.plotting.maze_world.connect_the_dots_image_maze import Args, main if __name__ == "__main__": import jaynes from plan2vec_experiments import instr, RUN, config_charts, dir_prefix from os.path import join as pJoin, dirname, normpath from ml_logger import logger logger.configure(log_dir...
[ "yangge1987@gmail.com" ]
yangge1987@gmail.com
d1a57342b0da108df57c528d3f223c683ec0d1e0
a2537157a9c3b8abc15a03028b29ee83c1fe25a1
/handlers/conversation.py
61b4d432ddf8f61525606cfb49ec389007f25f4d
[]
no_license
DahaWong/useless-ideas-bot
bd0fbca1699e4c90c190e56b278b06d4572968a0
684c380dfb95220409307ab2161faec605532ab7
refs/heads/master
2023-02-26T14:31:54.238539
2021-01-31T02:25:53
2021-01-31T02:25:53
291,990,131
3
0
null
null
null
null
UTF-8
Python
false
false
341
py
from telegram.ext import ConversationHandler, CallbackQueryHandler from handlers.command import start_handler, generate_handler GENERATE, = range(1) conversation_handler = ConversationHandler( entry_points=[start_handler], states={ GENERATE: [generate_handler] }, fallbacks=[start_handler], ...
[ "dahawong@gmail.com" ]
dahawong@gmail.com
9b05492d6031696c5b869d6d6436dfe722f80431
24dce477772aecb28062d032bc77feb9f0d927da
/python/csv-numpy.py
3db6b101e90a1eedcda1471b69fe5bf5f3b0bf4d
[]
no_license
silviud/toolbox
cf38b698db18b6a5c8c19d7420ddb221ce6aa5a8
58ac66ed49e9f3d7e6b1621118bd7be320e82f16
refs/heads/master
2021-01-18T10:22:16.499211
2013-07-22T08:53:19
2013-07-22T08:53:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,549
py
#!/usr/bin/env python """ Convert CSV Data into Numpy and sort n report """ import getopt import math import random import datetime import numpy as np import re import sys import csv import matplotlib import matplotlib.pyplot as plt import matplotlib.dates as mdates import matplotlib.mlab as mlab import matplotlib.cb...
[ "unixunion@gmail.com" ]
unixunion@gmail.com
a41438e4acb444093674b2f0a12897ce09c822f2
550c29e5eb1b767e1ba1d67970003ae60fe55038
/docs/conf.py
aeb57f99fcc63784e75db695d17393fef961659d
[ "MIT" ]
permissive
Neraste/black
c5945e37a3dd90b6ab739e780b5f94fd57c586ce
9d735d240bb5dee1ef5285883acfa69cddbcaa47
refs/heads/master
2020-03-20T00:51:26.343434
2018-06-12T12:43:22
2018-06-12T12:43:22
137,058,114
0
0
MIT
2018-06-12T10:48:43
2018-06-12T10:48:43
null
UTF-8
Python
false
false
8,378
py
# -*- coding: utf-8 -*- # # Configuration file for the Sphinx documentation builder. # # This file does only contain a selection of the most common options. For a # full list see the documentation: # http://www.sphinx-doc.org/en/stable/config # -- Path setup ------------------------------------------------------------...
[ "lukasz@langa.pl" ]
lukasz@langa.pl
e35dfc2de400e639f2ab648d7437d3a339f804b0
09557f76830b73d95ac1c7175833bc74280db53b
/dmb/visualization/stereo/sparsification_plot.py
92fbf793bd714d1485fba0f80dc0a93520068bc8
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
DeepMotionAIResearch/DenseMatchingBenchmark
e32c6c0846dcb4103289d539be28ef7382b70c8e
010aeb66e3ceaf3d866036b0ca751861df39432d
refs/heads/master
2021-11-11T18:56:05.160934
2021-11-08T10:28:47
2021-11-08T10:28:47
222,069,511
183
39
null
null
null
null
UTF-8
Python
false
false
5,591
py
import warnings import numpy as np import torch def mask_to_neg(x, mask): # if mask=1, keep x, if mask=0, convert x to -1 x = x * mask + (mask - 1) return x def norm(x): x = x / (x.max() - x.min()) # scale x to [0.05, 0.9] for counting convenient, it doesn't influence the final result x = ...
[ "chenyimin@workspace.chenyimin.ws2.wh-a.brainpp.cn" ]
chenyimin@workspace.chenyimin.ws2.wh-a.brainpp.cn
b4c2459220e2b79500aed69990e4f1148cd6a89d
1c7622f563fac18d9644e883742b6f539665aa26
/pytradfri/device/signal_repeater.py
02c70212591a795e6a7a67c5773590a5480e3ee6
[ "MIT" ]
permissive
home-assistant-libs/pytradfri
3708d65edb236c3b8f430cdf59f45b1d4849352f
0d7bfbfc63670c050570c96bf3f4a1b20c8091a3
refs/heads/master
2023-08-29T08:44:07.477619
2023-08-28T06:10:00
2023-08-28T06:10:00
87,844,301
233
44
MIT
2023-09-13T02:00:41
2017-04-10T18:30:17
Python
UTF-8
Python
false
false
910
py
"""Represent a signal repeater.""" from __future__ import annotations from typing import TYPE_CHECKING from ..resource import BaseResponse if TYPE_CHECKING: from . import Device class SignalRepeaterResponse(BaseResponse): """Represent API response for a signal repeater.""" class SignalRepeater: """Re...
[ "noreply@github.com" ]
noreply@github.com
e943f0e0c4be7056384cd373264a7855ac591e68
0b7dccbf82937fbcf63ac581c2f3f423a2741d81
/ordering/tasks.py
d40cd5c6923e22d3440ccdd42fb675c871460e1e
[]
no_license
SepehrHasanabadi/coffeeshop
457a45dc09db589bd6075eba8520fc10ccbad3e7
2150d2aa6cb21ba65c081c9d4ce0cce63815b6fa
refs/heads/master
2023-07-26T14:30:20.104631
2021-09-08T11:51:25
2021-09-08T11:51:25
403,892,309
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
from django.core.mail import send_mail from coffeeshop.celery import app @app.task def send_modified_status_mail(recipient_list): send_mail('سفارش کافی شاپ', 'وضعیت سفارش شما تغییر کرد', 'info@coffeeshop.ir', recipient_list) @app.task def send_cancel_order_mail(recipient_list): send_mail('سفارش کافی شاپ', ...
[ "mse.hasanabadi@gmail.com" ]
mse.hasanabadi@gmail.com
06c80d20e3c96cfbb7552b5b1b2dad8302bbabc8
1e83c4f6c8cb701e43d5a3b9c9b09c84d37b314f
/predictor_app.py
c3bff58d1b66b136d17b04b5039469f0250225d3
[]
no_license
VinitSR7/Toxic_Comment_Classifier-concetto-19-
916effdbc8c2af2a10996782e752499eaea0b6b1
e9917c1801b79722c0a7fbbf0d0af4182b728db6
refs/heads/master
2020-08-22T03:18:52.663640
2019-10-20T04:50:58
2019-10-20T04:50:58
216,306,589
3
0
null
null
null
null
UTF-8
Python
false
false
1,269
py
import flask from flask import request from predictor_api import make_prediction from flask import jsonify, Flask, render_template app = flask.Flask(__name__) @app.route("/", methods=["POST"]) def print_piped(): if request.form['mes']: msg = request.form['mes'] print(msg) x_input, predict...
[ "noreply@github.com" ]
noreply@github.com
08d5d7ad3f9177e18cc9fa1c9e216a49931c65f5
a3a71273d5968079976a944b19000052c9db94c1
/data_normalization/new_venv/Scripts/easy_install-3.7-script.py
abeeaf2247b0d3bd85a8ad6015c993aabcbd4f79
[]
no_license
MichaelX9/1p-19q-Mutation-Classifier
3f82d70aad4cf7603a71388c84bbee2d21f82e00
88e72b979c8fc0bccb264ca905b9db62d3d89b20
refs/heads/main
2023-03-17T22:32:35.267536
2021-03-18T21:14:32
2021-03-18T21:14:32
319,150,876
0
0
null
null
null
null
UTF-8
Python
false
false
491
py
#!C:\Users\Michael\Desktop\PyRadiomics\data_normalization\new_venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.7' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.arg...
[ "michaelk.xie@mail.utoronto.ca" ]
michaelk.xie@mail.utoronto.ca
29fabdd37b5eee248069bcbcc7c7fc5826ff0d69
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/bob/1ed1c792986545bca6955b9771a56a39.py
d6cd9ce8061599c2e2f464b8921262b171bc563d
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
327
py
class Bob: def __init__(self): pass def hey(self, msg): if msg == None or msg.strip() == '': return 'Fine. Be that way!' if str.isupper(msg): return 'Woah, chill out!' if msg[-1] == '?': return 'Sure.' else: return 'What...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
e638a374509203346c08189d5d65df4d77766da4
6d600117e56e654e720fdccea57d111056aed97f
/projeto-do-ifal/venv2/Lib/site-packages/stdimage/validators.py
b609c558950e02b2085763a9d6e53223d0f4c5b5
[ "BSD-3-Clause" ]
permissive
LaryssaGomes/Hist-ria-
671b0508294e8b897da95c61f23d39e39393ad99
1e58a882157d217d4466f615bf78aeb6a3ec487c
refs/heads/master
2023-04-27T19:30:59.192874
2022-11-22T06:29:53
2023-02-10T12:44:28
250,071,988
5
1
null
2023-04-21T20:56:30
2020-03-25T19:27:43
Python
UTF-8
Python
false
false
1,909
py
from io import BytesIO from django.core.exceptions import ValidationError from django.core.validators import BaseValidator from django.utils.translation import gettext_lazy as _ from PIL import Image class BaseSizeValidator(BaseValidator): """Base validator that validates the size of an image.""" def compar...
[ "martinholsousa@gmail.com" ]
martinholsousa@gmail.com
a5d4d1f27fbf614e337c5372ceecb4b302f9e0e9
36968f53367ff0be9e9244033899096d47b3e6b2
/pegasus/params/ood_params.py
969d48a2811c6a589871da9aea0c9d10668ce90a
[ "Apache-2.0" ]
permissive
google-research/pegasus
9cd4dc8b30b135b37569a5314aa0137b923b217c
1b4929016aba883d2f06fa1a51e343ccdbd631ed
refs/heads/main
2023-09-01T22:03:20.369615
2023-07-13T22:47:11
2023-07-20T17:45:20
249,885,496
1,543
335
Apache-2.0
2023-03-24T23:50:47
2020-03-25T04:18:20
Python
UTF-8
Python
false
false
3,762
py
# Copyright 2023 The PEGASUS Authors. # # 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 agreed to in ...
[ "peterjliu@google.com" ]
peterjliu@google.com
7dfc34a72a923d55c2c32040084ba7e3d11191d6
deab3b490986e8321efe376e27062eee26d3326e
/bin/mako-render
a968808398c91ce2e8a1dc689c6f4ceded2fdb17
[]
no_license
germanponce/virtuan_env_python_2_7
ebc9d35d051c1ff47dd8d14f60cca1e706f4451e
b2244a9938c75d4aed5631f60742f1425a6239e0
refs/heads/main
2023-04-15T05:05:00.182025
2021-04-24T05:15:05
2021-04-24T05:15:05
361,075,996
0
0
null
null
null
null
UTF-8
Python
false
false
233
#!/opt/odoo10/python/bin/python2.7 # -*- coding: utf-8 -*- import re import sys from mako.cmd import cmdline if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(cmdline())
[ "german.ponce@argil.mx" ]
german.ponce@argil.mx
9710607654ccb1a4e3c8441040fe283486f2ab6d
5ba69e8ae7ed0f72cb628090b044e9c4b373a48d
/src/generation/testing.py
e0f7e293788fefe7c8f99ba34cb46fa4eea5e384
[]
no_license
rmit-s3607050-rei-ito/Algorithms_A1
8519da75d0fc1c7272bba69e24d36e4b3aa0dd25
58c6f8159b4bd4638213b5f564d35fc3421679b5
refs/heads/master
2021-01-01T16:43:44.313206
2017-08-30T08:48:55
2017-08-30T08:48:55
97,812,992
0
0
null
null
null
null
UTF-8
Python
false
false
9,019
py
# # Script to perform automated testing for assignment 1 of AA, 2017. # # The provided Python script will be the same one used to test your implementation. # We will be testing your code on the core teaching servers (titan, jupiter etc), so please try your code there. # The script first compiles your Java code, ru...
[ "s3429648@student.rmit.edu.au" ]
s3429648@student.rmit.edu.au
c7def00acc752309b83cbd2243944b4503ad1289
5e08a351e2a4f373917e6f0aecac9341a9a614b5
/gmail_helper.py
8f5e63a34273419f269f995042dfa2544ee47fad
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
sheldonrampton/gmail_helper
52e61297b71bd4b55f31311a2f8debd690c149df
7af4855eb3467664c125d9f813b225e8cb01a143
refs/heads/master
2020-03-28T19:51:10.761499
2019-01-19T17:42:20
2019-01-19T17:42:20
149,015,329
0
0
null
null
null
null
UTF-8
Python
false
false
17,363
py
from __future__ import print_function from googleapiclient.discovery import build from httplib2 import Http from oauth2client import file, client, tools import pprint import dateutil.parser as parser from parse import * from collections import defaultdict from apiclient import errors import re from email.utils import p...
[ "sheldon@sheldonrampton.com" ]
sheldon@sheldonrampton.com
2a707b03595d95c0e72578750e050585696592c0
95764ffd67cba039e9de37f84ed4269fef3ce0e6
/contrib/spendfrom/spendfrom.py
1e054236623e174cd22a6d53a0d3163cbd3a332f
[ "MIT" ]
permissive
KognitysPlayhouse/klpcoin
ed6a2e76bc579522da930a98c044d7127c0de740
c39cbf10f3b4ab73383744c8805e0ae31e73fa51
refs/heads/master
2022-07-30T21:52:54.920801
2020-05-16T09:48:33
2020-05-16T09:48:33
262,539,399
3
0
null
null
null
null
UTF-8
Python
false
false
10,053
py
#!/usr/bin/env python # # Use the raw transactions API to spend bitcoins received on particular addresses, # and send any change back to that same address. # # Example usage: # spendfrom.py # Lists available funds # spendfrom.py --from=ADDRESS --to=ADDRESS --amount=11.00 # # Assumes it will talk to a bitcoind or Bit...
[ "kognitysplayhouse@gmail.com" ]
kognitysplayhouse@gmail.com
99872aff1b1ab4b6fba6c80fd17c68a0be496834
70c9856a08b8e525b3185a258193307163f8426b
/NTAP-master/test/test_svm.py
853ee9ea13e8a7e6ad0b7ce15b91246934ecc8da
[]
no_license
avral1810/CSSL
664a8bc5dbc022a5c4de7f35e020a83b01d1b5ce
ec0c44185bbc877ab8aeab0a37d38c710539756c
refs/heads/master
2022-12-08T06:43:39.052846
2020-08-26T07:44:46
2020-08-26T07:44:46
290,429,891
0
0
null
null
null
null
UTF-8
Python
false
false
3,859
py
# NOTE IMPORTANT: Must clone and run on leigh_dev branch import sys sys.path.append('.') from ntap.data import Dataset from ntap.models import SVM import pandas as pd import argparse import os parser = argparse.ArgumentParser() parser.add_argument("--input", help="Path to input file") parser.add_argument("--predict"...
[ "aviralupadhyay@ymail.com" ]
aviralupadhyay@ymail.com
0ac7c62654ff678d766278aba08a3084f9ae905f
1df0dade13867d7ff66affefc4e695f9fd23e831
/boot.py
0472272098a46e008fca829c8aca100c2702a0a3
[]
no_license
Benoit-LdL/uPython_ESP32-GPS_OLED_SD
bcd54cd8079878e162e9ed3be9d8287d23c162d8
496e5ab2156b30a094f3b0439ac4588a4630f700
refs/heads/master
2023-05-31T05:51:53.464184
2021-06-19T15:09:17
2021-06-19T15:09:17
378,438,187
0
0
null
null
null
null
UTF-8
Python
false
false
1,015
py
import config import network import utime import ntptime def do_connect(): sta_if = network.WLAN(network.STA_IF) start = utime.time() timed_out = False if not sta_if.isconnected(): print('connecting to network...') sta_if.active(True) sta_if.connect(config.wifi_config["s...
[ "benoitlagasse@hotmail.com" ]
benoitlagasse@hotmail.com
04d11d4acd3a2a4c155b47375cb024987db8e049
4deabdd334cd476527d9b58214d1200c5733879b
/home/admin.py
be7fbd7a864413456bc442ced21f959ddc8f8cb8
[]
no_license
Chaman1996/django-ecommerce
f34c8cbae3341edca231baeb5a30b33f48c4094b
f28f5e773bd4790388b8544913e9841b06c0342f
refs/heads/master
2022-12-17T01:08:09.289872
2020-09-19T04:49:45
2020-09-19T04:49:45
296,787,419
0
0
null
null
null
null
UTF-8
Python
false
false
514
py
from django.contrib import admin # Register your models here. from .models import Setting, ContactMessage class SettingAdmin(admin.ModelAdmin): list_display = ['title', 'company','update_at', 'status'] list_filter = ['company'] class ContactAdmin(admin.ModelAdmin): list_display = ['name', 'email', 'st...
[ "knand4930@gamil.com" ]
knand4930@gamil.com
3639853b3a16aace0ecfc8d1374e206313601604
fe4a1aafc04c456ff351964bb6666298bc158239
/fabio_lista2a/f2a_q25_validar_senha.py
d173f1c19ff4969860b23031507bb4b60ecb4c89
[]
no_license
weverson23/ifpi-ads-algoritmos2020
60f82feb450f718e43fc0a0e9349675ca4444d3d
3d696f2dec7d813af8d3ce6b4ad6eacce8b0a9da
refs/heads/master
2021-03-05T13:08:40.484109
2021-02-03T23:57:15
2021-02-03T23:57:15
246,124,057
0
0
null
null
null
null
UTF-8
Python
false
false
488
py
# Lê uma senha de 4 números diz se é ou não válida def valida_senha(a): m = a // 1000 c = (a % 1000) // 100 d = ((a % 1000) % 100) // 10 u = ((a % 1000) % 100) % 10 if m == 1 and c == 2 and d == 3 and u == 4: return True else: return False def main(): senha = int(input('Dig...
[ "weversonoliveira12@gmail.com" ]
weversonoliveira12@gmail.com
a796302ae78dfbadfc61f4f8e0470dfaaeafbd45
14dd622ef84b3f48c2d66d8ab873084634cfb6d4
/PythonLearning/Learning OpenCV/Test5.py
01d3c443a10a39506fb290c29b88bdd8b7526454
[]
no_license
ByronGe/Python-base-Learning
648cbbf1c7a8431dece3638dfb4de754623bc84e
7ade3250c4abc4b5e47e39080bf1ad8d53b04d78
refs/heads/master
2020-04-15T20:18:24.134950
2019-01-10T04:00:51
2019-01-10T04:00:51
164,987,206
0
0
null
null
null
null
UTF-8
Python
false
false
1,055
py
import cv2.cv as cv im=cv.LoadImage('img/building.png', cv.CV_LOAD_IMAGE_COLOR) # Laplace on a gray scale picture gray = cv.CreateImage(cv.GetSize(im), 8, 1) cv.CvtColor(im, gray, cv.CV_BGR2GRAY) aperture=3 dst = cv.CreateImage(cv.GetSize(gray), cv.IPL_DEPTH_32F, 1) cv.Laplace(gray, dst,aperture) cv.Convert(dst,gr...
[ "2450894732@qq.com" ]
2450894732@qq.com
f7b82db9f43e48b83988af9e86231dbf6565fa49
d0a9031ac909255bbb42c7931f41a3545c097717
/math/0x00-linear_algebra/1-trim_me_down.py
9294d95ab3a2c94880fb441199b795a32e84b025
[]
no_license
bouchra-creator/mundiapolis-math
36098bff1c5ea095f9ec3f64e3b47ecc4c6a10bc
d7dbd782e9d88604ed73cc497c9836fac265bc2c
refs/heads/main
2023-03-19T13:48:13.145230
2021-03-19T15:03:46
2021-03-19T15:03:46
346,747,078
0
0
null
null
null
null
UTF-8
Python
false
false
271
py
#!/usr/bin/env python3 matrix = [[1, 3, 9, 4, 5, 8], [2, 4, 7, 3, 4, 0], [0, 3, 4, 6, 1, 5]] the_middle = [] for index in range(3): the_middle.append(matrix[index][2:4]) print("The middle columns of the matrix are: {}".format(the_middle))
[ "noreply@github.com" ]
noreply@github.com
0bc6382d2b2a451e0a39023e46fd0faca3f9663d
ddeaed97673473936f2551e01bba61aa9a83dd35
/Basic Programs/palidrome.py
a3c14223ea6e0b1bcef891a9348c3d24dde2650b
[]
no_license
darshanahire/Python-language
cf2415e8da57797612e10d7380f40b9047409e5f
e5ce268069f8506cc5a79a4641a85910e8b07c0f
refs/heads/main
2023-02-15T19:57:34.835872
2021-01-12T15:31:04
2021-01-12T15:31:04
328,401,812
0
0
null
null
null
null
UTF-8
Python
false
false
56
py
a=(input("==>")) if (a==a[ : : -1]): print("Palidrome")
[ "noreply@github.com" ]
noreply@github.com
2f478ed47a5fab20576a82e2a7f6a54c4778e19c
55c508394d55dd150722e580e50895ef0fb28516
/ioUtil.py
fcb0d28c8a7d922d9dc95b05a2a349268a4d5e37
[ "MIT" ]
permissive
PeterZs/P2P-NET
2fa405d94580627b400553f12d4716355fbe7afd
5c5890a308cc84eafd6845c46d4bf0fc138e5dd8
refs/heads/master
2020-03-27T09:55:14.569559
2018-08-13T22:49:14
2018-08-13T22:49:14
146,382,712
1
0
null
2018-08-28T02:46:47
2018-08-28T02:46:47
null
UTF-8
Python
false
false
1,711
py
import os import sys import numpy as np import h5py import collections BASE_DIR = os.path.dirname(os.path.abspath(__file__)) sys.path.append(BASE_DIR) Examples = collections.namedtuple("Examples", "names, pointsets_A, pointsets_B") def shuffle_examples( data ): idx = np.arange( data.names.shape[0] ) np.r...
[ "yinkangxue@qq.com" ]
yinkangxue@qq.com
a5d4f84b1eca8423de3d1739de44f69aa5c73ff7
d4300c1b72589f6e2d2519312f40565799360a3d
/dataloader/pascal_dataloader.py
b15c35db7f3523b7f02d1257e291575956ba52c2
[]
no_license
JanLin0817/pytorch_learning
eb0cce4c932de76cf10b66e7967a6ef77c45af5c
2f9352e3cc378a1dcab8bf59df535d7f60ca6cf6
refs/heads/master
2020-06-11T04:47:37.254417
2019-06-26T08:22:38
2019-06-26T08:22:38
193,852,563
0
0
null
null
null
null
UTF-8
Python
false
false
7,268
py
import os import numpy as np from PIL import Image import torchvision from torchvision import transforms from torch.utils.data import Dataset, DataLoader # self-define class import custom_transforms # debug import matplotlib.pyplot as plt category_names = ['background', 'aeroplane', 'bicycle', 'bird'...
[ "e8o1e8o1s7@gmail.com" ]
e8o1e8o1s7@gmail.com
738e65035ec92179af5430b2fd42c44305c33746
0f95d221a396587a505586c39d0c7cf729efd777
/producthunt/urls.py
ba05d4a3cffa229c09e0921913b965432f9c50a1
[]
no_license
feiyangmeiyu/producthunt-project
affd8df636f6fdcd537012daa447f860b165a7cf
b3605bba80606589d8e3220e40591d2d691a462e
refs/heads/master
2022-11-10T20:07:33.056961
2020-06-29T16:21:10
2020-06-29T16:21:10
275,866,012
0
0
null
null
null
null
UTF-8
Python
false
false
417
py
from django.contrib import admin from django.urls import path, include from product import views from django.conf.urls.static import static from django.conf import settings urlpatterns = [ path('', views.home, name='home'), path('account/', include('account.urls')), path('product/', include('product.urls')), pa...
[ "806567171@qq.com" ]
806567171@qq.com
c726189af81802126db1c68fc78686ded22bee37
bf34e4c85967f02af73e025f42828be9e4238a0d
/ChattingRoom-3.0/chat_window/base_window/add_friend_view.py
24e8c9258482aa5064ebab500700f321996bb7bc
[]
no_license
crizydevl/chatroom-3.0
c138e1536ca6387ceed56de173bdf07da4fe6f82
2f58ce8bf7a593693fd40bbb6755fa2939ac258c
refs/heads/master
2020-04-12T09:57:58.119720
2018-12-19T09:03:33
2018-12-19T09:03:33
162,414,330
0
0
null
null
null
null
UTF-8
Python
false
false
3,158
py
from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5.QtWidgets import QDialog, QApplication class Add_friend_Dialog(QDialog): def setup_ui(self): self.setObjectName("Dialog") self.resize(200, 100) icon = QtGui.QIcon() import os print('地址', os.getcwd()) icon.addPixm...
[ "1096345766@qq.com" ]
1096345766@qq.com
bc60456546797e88828e2cb026b3f92362c9d68c
d85f63f93dd5f48eef383d70d8d45d1d4489a602
/rti_opera.py
811d09abdf26d12ce4ce806f933e29753441340f
[]
no_license
songzhenhua/rti_opera
2cd580b7a8465bce6bba233882d65f38939c3b2b
b7a9a5edbbf9d1e9a429dc6100cc579b1ff775f0
refs/heads/master
2021-07-11T21:44:19.998168
2020-06-21T08:48:38
2020-06-21T08:48:38
166,568,547
2
1
null
null
null
null
UTF-8
Python
false
false
2,932
py
# coding=utf-8 from bs4 import BeautifulSoup import requests import os import sys reload(sys) sys.setdefaultencoding('utf-8') file_path = os.getcwd() + '\\' # 下载目录 domain = "https://cn.rti.tw" # 获取广播剧下载链接 def get_url_list(): novel_list_resp = requests.get('https://cn.rti.tw/radio/novelList') opera_soup = ...
[ "22459496@qq.com" ]
22459496@qq.com
55a3ea9dd99ff3bd699c788ab07cea3e89d23de7
3f73ce74b6fdfb7966abb71a98f4986edd727c5f
/lib/pandas_option.py
0db90923fd1ec5c8f68491c947fc9cd7b40b1acc
[ "MIT" ]
permissive
yuta-komura/amateras
9c2efd310b18f159b1354864d65f9894ab93737f
cf8cc8fe0b5d8c382090fd1784a3ce96e6953157
refs/heads/master
2023-01-21T19:57:18.763894
2020-11-25T04:02:28
2020-11-25T04:02:28
297,432,974
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
import pandas as pd def display_max_columns(): pd.options.display.max_columns = None def display_max_rows(): pd.options.display.max_rows = None def display_round_down(): pd.options.display.float_format = '{:.2f}'.format
[ "you@example.com" ]
you@example.com
c953a6363d118b9c0af28b2b82293a506c2a1d22
b689ba9dda8815907c33b9e83ed3a00d0a4f4950
/tweeter_sentiment.py
b11b0f1f3214fe0c58c8c95fc7c4f2e013a6a951
[]
no_license
rajvseetharaman/Twitter_Sentiment_Analysis
c3c271a683aa0760334a14c97426bb1848b37458
81a87908a859c744834378d2a10f10c17af4b390
refs/heads/master
2021-01-20T10:10:34.872301
2017-05-05T23:19:59
2017-05-05T23:19:59
90,331,473
0
0
null
null
null
null
UTF-8
Python
false
false
5,993
py
#importing the required data variables from data.uw_ischool_sample import SAMPLE_TWEETS from data.sentiments_nrc import EMOTIONS from data.sentiments_nrc import SENTIMENTS #importing needed modules import re from functools import reduce import json import requests def text_split(text_string): """This function take...
[ "rajsv@uw.edu" ]
rajsv@uw.edu
cd202e682ff3b9d377b8c4377ab4e60783099806
9158030a7e30bc8055040b01a5ee9078dd8c2355
/shops/shops/settings.py
1546fde70343cc02ab0919cb912e444c273040cf
[]
no_license
mojun01/-pc-
93ad5ac918c257f8fa2a0b02023cf296a4459bf6
88b8de3d6144e82b5ff713c7ca81448b271c2297
refs/heads/master
2020-04-23T14:12:32.124510
2019-02-18T10:20:31
2019-02-18T10:20:31
171,223,652
0
0
null
null
null
null
UTF-8
Python
false
false
4,511
py
""" Django settings for shops project. Generated by 'django-admin startproject' using Django 1.11.3. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import os ...
[ "1151804863@qq.com" ]
1151804863@qq.com
02935cbf796a180e2cd32e13cbae2a022054fd52
011edcff9b70f9bea31a8494b813d1fda248bf7c
/config.py
663c478c698adc849d49a14613e55a0dd6222489
[]
no_license
ryanxjhan/rotten-grapes-1.0
8991bbb312c95dfb78a346c152431da691826a26
c1ff183ef4389c9b71555abd06ff058f25dd8256
refs/heads/master
2022-11-23T17:19:09.610428
2020-08-02T23:30:29
2020-08-02T23:30:29
284,221,870
0
0
null
null
null
null
UTF-8
Python
false
false
79
py
DEBUG = True SQLALCHEMY_DATABASE_URI = 'mysql://root:hxjsgr33@127.0.0.1/wines'
[ "noreply@github.com" ]
noreply@github.com
f046ae87fb073cd2d95514cd604d366908002864
c52de2621221c83025553c5103378b351bfdd10b
/10/10_12.py
a6ca29a3521894b2a8d74fbeba8bcdcec23bdb27
[]
no_license
become-hero/mypython
2b945ab2af091ce516e2569866e036c3a3b71ba9
81d64fa282aebde041b41bbe31c78f8caa1c5eec
refs/heads/master
2020-10-01T13:50:45.887972
2019-12-18T05:03:15
2019-12-18T05:03:15
227,550,898
0
0
null
null
null
null
UTF-8
Python
false
false
99
py
import re str="\python" rs=re.match("\\\\\w+",str) print(str) rs=re.match(r"\\\w+",str) print(str)
[ "1772040722@qq.com" ]
1772040722@qq.com
474c5c6d151d1b4d7a8b912ad1a74352ab53ca44
988205a1bc674399272d2b77f06bb6ae2c0b96ab
/student/urls.py
0b3401187a6dbb34b251f3f7cd4c6d64ac2fea80
[]
no_license
safwanvk/as
7797f63f84d52ba2857e99ae99b4aa5b9fd67983
1de9e1a6855a0b3f16ffdb4d693cd90579a37e40
refs/heads/main
2023-04-01T14:44:18.047169
2021-03-31T07:03:15
2021-03-31T07:03:15
349,309,666
0
0
null
null
null
null
UTF-8
Python
false
false
249
py
from django.urls import path from .views import * urlpatterns = [ path('login', student_login), path('session-check', session_check), path('create', create_student), path('delete/<pk>', delete_student), path('', get_student) ]
[ "safwanvalakundil@gmail.com" ]
safwanvalakundil@gmail.com
8b3afd8f0e28c91b5b2a7f89ccc1160556649db8
815d85a3248580b05017c3be7d2b9c26ffcacc4d
/CODE/RI.py
9fdb069ddd69551c1f0eada252c0f72d248549fc
[]
no_license
jfitz02/DM-solver
1ec21a610500766dfa3bef0e815dac1ae2ef94ff
a0a8cf6614fa3ecea30fef8d99bff351df54352b
refs/heads/main
2023-06-03T03:02:43.583326
2021-06-21T15:15:01
2021-06-21T15:15:01
378,973,388
0
0
null
null
null
null
UTF-8
Python
false
false
2,211
py
import sys #Used to make the largest possible integer from Matrix import Matrix #Personally made class representing the Matrix datatype def all_pairs(lst): #returns a permutation of all possible pairings of nodes if len(lst) < 2: yield [] return if len(lst) % 2...
[ "noreply@github.com" ]
noreply@github.com
acbd735fcc185b617e53205179ff8c253af5c2de
c85cfd004c7d34c54c431c51d6e7b655574f3fe0
/Service/urls.py
68fe11e10f4378797538ddf7366d8c91df65c8f3
[]
no_license
wuxinxi/MallService
e583a1258291e451c34d24501af87cb151a6ec4c
1f06d62740702e0c754fc395774d9146839f0bbd
refs/heads/master
2020-12-01T20:21:48.340595
2020-03-21T06:41:42
2020-03-21T06:41:42
230,757,688
0
0
null
null
null
null
UTF-8
Python
false
false
941
py
"""Service URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.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') Class-based...
[ "996489865@qq.com" ]
996489865@qq.com
b4143060947db0249cb4b379bf6a879771385ca7
cf111b440f33ba9741ff45c60ac33dfade24e2ac
/Projects/Autocal/attic/autocal-20100708/libautocal/autocal.py
2c143bfd55996a5b498ff00611aacad771a6a1c2
[ "Unlicense" ]
permissive
fredmorcos/attic
cd08e951f56c3b256899ef5ca4ccd030d3185bc1
36d5891a959cfc83f9eeef003b4e0b574dd7d7e1
refs/heads/master
2023-07-05T10:03:58.115062
2023-06-21T22:55:38
2023-06-22T07:07:58
154,962,425
4
1
Unlicense
2023-06-22T07:08:00
2018-10-27T12:30:38
JavaScript
UTF-8
Python
false
false
795
py
#!/usr/bin/env python import sys import config, optimize, loader _help = '''AutoCal 0.1 - Fred Morcos <fred.morcos@gmail.com> Usage: ./autocal.py [COMMANDS] < <input-file> Commands: \t--qt\t\t\tShow the Qt user interface. \t--verbose,-v\t\tShow debug output. \t--quiet,-q\t\tDo not output errors. \t--help,-h\t\tShow t...
[ "fred.morcos@gmail.com" ]
fred.morcos@gmail.com
444a7786b5c7a8bd07929aceea4b8c0e8d44e648
a7853b95403b527a527f58cc4b94783161eaaa1d
/graph/graph_drawing_objective.py
40aa76c8871f0204c2b489d8310a9b482574fa7a
[]
no_license
jinnaiyuu/covering-options
6c3d2b2818d4074893d2eb1eed72fb77920bb3c3
00539a00842d40ba2b397496ec351a683f43d38f
refs/heads/master
2020-12-19T23:54:41.080277
2020-01-23T21:33:21
2020-01-23T21:33:21
235,890,627
0
2
null
null
null
null
UTF-8
Python
false
false
2,714
py
import numpy as np import itertools from scipy.optimize import minimize from options.util import GetRandomWalk def Attr(rho, P, fs): # rho: numpy array of size N. prob. # P : numpy array of size NxN. each row being a prob. # F : list of numpy arrays of size N (TODO: should this be a numpy array?) ret...
[ "ddyuudd@gmail.com" ]
ddyuudd@gmail.com
c50a6d74bb8cdeebb6c3eb697c009993a03cf34d
484b3833b278db5fcbad66c37dbca8365364931e
/pythonFile/COVID-19-map/day6-词云.py
2ea9b508af703cd0d73a1a9e0c19ee9c0590c35b
[]
no_license
tanHaLiLuYa/newRp
2ece1530165f0b4e0bf3cb62cb6b1b240e4004b5
3b5ed6b6b8aae15d8b4228cd019ded8fa36d941f
refs/heads/master
2022-03-12T08:58:59.122836
2022-02-07T07:29:11
2022-02-07T07:29:11
228,558,262
0
0
null
2021-09-22T06:10:29
2019-12-17T07:27:34
Python
UTF-8
Python
false
false
800
py
from jieba.analyse import * from pyecharts.charts import WordCloud import os os.chdir(r"E:\work\tpp\samsung\2021年\07月\W27") with open('新建文本文档.txt',encoding="utf-8") as f: data = f.read() dataAnlysed=[] for keyword, weight in textrank(data, withWeight=True,topK=11): if keyword =="程序": keyword="小程序" ...
[ "tanpeng.hyz@gmail.com" ]
tanpeng.hyz@gmail.com
6ec05d3bc0cd2747d542611cb02e8455d14a425b
4e0f2938b003f5d68a57f213e652fbffb2f72ba2
/venv/Lib/site-packages/cx_OracleObject/Utils.py
e9107e5e7501b1942bcd28955a5ca2210e161f27
[]
no_license
adcGG/Lianxi
e4b1ce0d3cfc76e625e1e1caca0a58f25ba5d692
3659c3ca11a13b4ad54dbd2e669949701bae10b5
refs/heads/master
2022-12-13T05:45:41.312292
2019-08-14T07:38:19
2019-08-14T07:38:19
201,189,540
0
1
null
2022-04-22T22:08:16
2019-08-08T06:07:53
Python
UTF-8
Python
false
false
6,568
py
"""Defines utility functions.""" import cx_Exceptions import sys __all__ = [ "OrderObjects" ] def ClausesForOutput(clauses, firstString, restString, joinString): """Return a list of clauses suitable for output in a SQL statement.""" if not clauses: return "" joinString = joinString + "\n" + restS...
[ "979818137@11.com" ]
979818137@11.com
ba3998b43bf31d1e74ec6b6dd9ae68c2e280d58c
b2c7e3e711eac3858175c053ac81244751828bee
/show_scraper/items.py
b1bbf0fa30189a6e17f9123f36492e3f6632c277
[ "MIT" ]
permissive
postliminary/show-scraper
93e74a6ed01a753199124b5c1aa011a61f3d66ee
fe5e4b8580b3e2f2f1c55b9bb023f826e2b64221
refs/heads/master
2016-09-03T06:39:20.806496
2014-08-21T05:20:38
2014-08-21T05:25:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
425
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # http://doc.scrapy.org/en/latest/topics/items.html import scrapy class Show(scrapy.Item): id = scrapy.Field() title = scrapy.Field() desc = scrapy.Field() airday = scrapy.Field() startdate = scrapy...
[ "thomas@postliminary.com" ]
thomas@postliminary.com
c583e85a4941db164985b6a0183b73927b75c83d
48d86947d5f3b5896c4a05cfcddcff01582a26ef
/amnesia/number/forms.py
fa9f1b18200101af1e9d576c327b0b05b5d1afa4
[]
no_license
pratulyab/amnesia
181874288c97fbf7e73d10c64e214c2a17574773
6b0b3428a27f98e0e2f6bb8aefdc8a4459e7b8cc
refs/heads/master
2021-01-20T12:49:16.592335
2017-05-07T20:38:06
2017-05-07T20:38:06
90,409,855
0
0
null
null
null
null
UTF-8
Python
false
false
1,969
py
from django import forms from django.contrib.auth import authenticate from django.contrib.auth import password_validation from django.core.exceptions import ValidationError from django.core import validators from django.db.utils import IntegrityError from django.utils.translation import ugettext_lazy as _ from number....
[ "pratulyabubna@outlook.com" ]
pratulyabubna@outlook.com
e081d80d4bc9b743d68ee75c12ff466ca80782b3
6f72a42c897eaa3ecb45312867b3e17a570bbd43
/multimodal/fusion.py
e1edd483881e0ea6291d204d51457e8ff8bae5b3
[]
no_license
ppeng/cheem-omg-empathy
189483a8eeca3a64468dcbc5ff12ebd0a3372f4c
92a6aa97e4e6ac86fdc690a54333e269a98bfb41
refs/heads/master
2020-04-13T03:54:44.126823
2018-12-13T03:01:39
2018-12-13T03:01:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,574
py
""""Decision-level fusion through support vector regression (SVR).""" from __future__ import division from __future__ import print_function from __future__ import absolute_import import os import joblib import pandas as pd import numpy as np from sklearn import svm from sklearn.model_selection import ParameterGrid ...
[ "tanqazx@gmail.com" ]
tanqazx@gmail.com
d0637ddbbb14a19bf3d057a9674c8546a808bd8b
7a5cfbbe73766facd4b71c366f7b7a5ca9dc9b62
/code_app/urls.py
dff4c87697b51d5f2585e05a1420b0049fe7b270
[]
no_license
ma76/gitir
cfb9e88b58742eb1246a5042f5c9fed931ba21c4
0109a119fa52ebff8ecb6c2f13d74f2c5bde0d36
refs/heads/master
2023-08-20T02:24:57.131801
2021-10-28T13:34:48
2021-10-28T13:34:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
341
py
from django.urls import path, include from code_app.views import * urlpatterns = [ path('codes', UserCodeList.as_view()), path('codes/search', Search.as_view()), path('codes/<int:pk>/<str:user_name>/<repository>/<str:project_name>', UserCodeShower), path('upload-file', UploadForm), path('mycode', ...
[ "comail205076@gmail.com" ]
comail205076@gmail.com
a9f8aceeef8fee4a5a9563226052770bf025849b
35e842f235768138cf161293881cef16c02c76af
/agents/tensorflow_abalone.py
c42adcb6a569e4a0d47067f86f232af3f0bcdf30
[ "MIT" ]
permissive
yamamototakas/fxtrading
b90bb75fd294e948c6da3a5e534c8af1076bc645
955d247b832de7180b8893edaad0b50df515809f
refs/heads/master
2020-06-17T05:48:12.934679
2017-08-05T12:46:36
2017-08-05T12:46:36
75,036,150
0
0
null
null
null
null
UTF-8
Python
false
false
6,875
py
# Copyright 2016 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...
[ "ya.ma.mo.to.ta.ka.s@gmail.com" ]
ya.ma.mo.to.ta.ka.s@gmail.com
3f563dd24da29a3808436df13732d8d92dc6540f
baaff7bac9cf0e18bddc27ed7866885637db9dac
/Studentportal/principle/migrations/0005_auto_20200427_1626.py
7f2dcf3448db240598d8725aa7c1bbb6ff382970
[]
no_license
pratikgosavii/School-College-management-portal
0d477718a315c73b483b3885fce38d94f8cf7227
79ca0be6891067379b1544f4a8cd8bd82b177b51
refs/heads/master
2022-06-03T23:07:11.080921
2020-04-30T22:40:58
2020-04-30T22:40:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
533
py
# Generated by Django 3.0.2 on 2020-04-27 10:56 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('principle', '0004_auto_20200426_0042'), ] operations = [ migrations.RemoveField( model_name='addteacher', name='Teac...
[ "pratikgosavi654@gmail.com" ]
pratikgosavi654@gmail.com
2902b8f40137e2f7a57b5112af3ab07097150c66
6587c26d1901b6c22442fd7cd0089fabfe1aa83a
/qw.py
4e18d8d6bdc2c72579b8dfda3d49dd33c7e6d719
[]
no_license
yunruowu/mail
d505d3d02de9fd7b55e52ed91e75f06fc6950a3a
1c5de370ddee82c1f509c21336f5ee7c24ad83aa
refs/heads/master
2020-05-04T09:15:42.116384
2019-06-02T09:15:55
2019-06-02T09:15:55
179,064,892
0
0
null
null
null
null
UTF-8
Python
false
false
6,833
py
# -*- coding: UTF-8 -*- import numpy as np import re import random """ 函数说明:将切分的实验样本词条整理成不重复的词条列表,也就是词汇表 Parameters: dataSet - 整理的样本数据集 Returns: vocabSet - 返回不重复的词条列表,也就是词汇表 """ def createVocabList(dataSet): vocabSet = set([]) # 创建一个空的不重复列表 for document in dataSet: vocabSet = vocabSet | set(...
[ "mcdxwan@outlook.com" ]
mcdxwan@outlook.com
dc6c069c4825fe4b29e29006bc14b14721dac2d0
881d5a0141f78f72822d9f0e6fe6096d00e53b60
/rectangle_test.py
f192f3c8ee472b610c1ec7d2934b6d5a7f4f5019
[]
no_license
KyungbinChoi/Python-Tutorial-examples
db11b760fa384fb408ab0e6e832ba030ce0f8b4e
312e6fc9a774c93043f545c891daaf6b9443f3bc
refs/heads/master
2021-01-18T17:03:23.441997
2017-06-14T05:48:57
2017-06-14T05:48:57
86,783,468
0
1
null
null
null
null
UTF-8
Python
false
false
139
py
import rectangle a = rectangle.Rectangle(4,5) b = rectangle.Rectangle() c = rectangle.Rectangle(3) print(a) print(b) print(c)
[ "noreply@github.com" ]
noreply@github.com
f0e039c411936f53639aa877703d46d8104df9d5
bbcba1d0629065e9b243cb8493801510523bd848
/levelfive/basicapp/forms.py
78182d3a595350a8303b53014eb0965e49c173b8
[]
no_license
akashkashyapit/Django-signup
21e10a976c72f1e20f4b40375d520698622692b5
5596dd79d342d176d8846b5f1c891499edb1d0d2
refs/heads/master
2020-11-26T13:44:34.235827
2019-12-19T16:17:33
2019-12-19T16:17:33
229,090,700
0
0
null
null
null
null
UTF-8
Python
false
false
446
py
from django import forms from django.contrib.auth.models import User from basicapp.models import UserProfileInfo class UserForm(forms.ModelForm): password = forms.CharField(widget = forms.PasswordInput()) class Meta(): model = User fields = ('username', 'email', 'password') class UserProfile...
[ "akashkashyapit@gmail.com" ]
akashkashyapit@gmail.com
e94e3658282b9f6b67a6773d2ae3efb0e98c3de0
97edf859a9e53a2727d6d1cb9fa6f3425e6a6b82
/第一章上机程序/chapter1_17_2.py
42ec1e5883475e216a4f7eb0da5734b69265fbb0
[]
no_license
sherlocklock666/shuzhifenxi_python
f06e04d7ce8b92f1d58d1ff673b0f821af1eea64
29181a0a9be84606a761ab86fb73892733984a99
refs/heads/master
2023-08-15T23:08:55.061885
2021-10-12T07:35:09
2021-10-12T07:35:09
415,510,974
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
j = 2 N = 10**2#从2到N S_N = 0 S_N_list = []#S_N的每次输出值列表 while j <= N: M = 1/(N**2-1) S_N = S_N + M S_N_list.append(S_N) N -= 1 else: print(S_N_list)
[ "1016945252fzh@gmail.com" ]
1016945252fzh@gmail.com
b9e4d38dbb7b3af32804a49cbdc4f28603534461
5a94233e02cbee640079740044f1ee377c96cc59
/heat-config-script/install.d/hook-script.py
0c9a92fe0cbfb0907514a31c9bf4e8f0095c3478
[ "Apache-2.0" ]
permissive
kairen/heat-agents
249a2faa50798f6c371f8c25eab8d291f9e53f93
a1f20d4eceed2dba5a2dcc34f9ce494ba1d0d289
refs/heads/master
2020-04-01T22:46:00.397671
2019-04-24T02:09:06
2019-04-24T02:09:06
153,725,564
0
0
Apache-2.0
2018-10-19T04:14:32
2018-10-19T04:14:32
null
UTF-8
Python
false
false
2,997
py
#!/usr/bin/env python # # 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 agreed to in ...
[ "therve@redhat.com" ]
therve@redhat.com
50239f4756a0b1004e5a33d918a7f6b2ec81869e
054c3f0cb8a5046ccbd70c2fb228a934161af440
/steve/crawler/fetcher_test.py
a6184cfdb3a6a49b4ec8f43c62932fef8760aede
[]
no_license
ningliang/bagger
16049d96dd65ac863073bf49992d0fcfe6cb602c
075f3463d6319996399a46971a4da8f054fbf900
refs/heads/master
2020-05-19T15:39:26.592662
2009-10-25T17:28:50
2009-10-25T17:28:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
88
py
from fetcher import * import unittest if __name__ == '__main__': unittest.main()
[ "fedele@google.com" ]
fedele@google.com
9f80f8e98ba81fbc03fffe07a29c8ce878090be2
7971a30e49246a1080490c9641c29cb8fd575c12
/Subset_DataStructures/remove_duplicates.py
6781a36207b4e74472372b44658b8e5dafccec4e
[]
no_license
ymwondimu/HackerRank
3870922a29a1e4271a1d3cfd238fd83fd80749c8
6481d7ddf61868108a071b44e3fdb098e8cbd61e
refs/heads/master
2020-03-21T19:05:00.406134
2018-07-26T01:11:05
2018-07-26T01:11:05
138,929,791
0
0
null
null
null
null
UTF-8
Python
false
false
1,068
py
#!/bin/python3 import math import os import random import re import sys class SinglyLinkedListNode: def __init__(self, node_data): self.data = node_data self.next = None class SinglyLinkedList: def __init__(self): self.head = None self.tail = None def insert_node(self, no...
[ "ywondimu6@gatech.edu" ]
ywondimu6@gatech.edu
1ab54b43639b7604b508f863b7e80145671dff29
10297e27a8820f2862cace0105af58d80edd6742
/pattern5.py
ac6d46c5b7288841d3adb388ab75045adb05372f
[]
no_license
codejay411/python_practical
8278865b320886851957e538d0b1de28b39445cc
83377b8ef377384332f1c0928990538791f31622
refs/heads/master
2022-11-28T00:07:02.841325
2020-07-26T07:01:33
2020-07-26T07:01:33
282,594,792
0
0
null
null
null
null
UTF-8
Python
false
false
323
py
def asd(): line=input("enter the number of line:") for i in range(1,line+1,1): for j in range(i,(line-1)+1,1): print " ", for k in range(1,2,3): print k, for l in range(i,(line-1)+1,1): print " ", print asd() asd() asd() asd() asd() asd() asd...
[ "jaypr202@gmail.com" ]
jaypr202@gmail.com
c23e8f9950b7112ca397ef9a81e694be5988638c
aa271e98d3ea105c25e770e4638f47d68f8e631f
/edu/OO Design/Design a Car Rental System/Enums.py
fe5d90794d0f023325166e48e46f77e401dc8848
[]
no_license
LeoChenL/Miscellaneous
50b894b4fce6965ae5aa4f600f90b22e08e18b41
9dcaa0890f638d78d7f2b5a7461eb4a6c2b80560
refs/heads/master
2021-07-12T07:12:12.084036
2020-09-21T02:58:32
2020-09-21T02:58:32
196,024,605
0
0
null
null
null
null
UTF-8
Python
false
false
1,227
py
class BillItemType(Enum): BASE_CHARGE, ADDITIONAL_SERVICE, FINE, OTHER = 1, 2, 3, 4 class VehicleLogType(Enum): ACCIDENT, FUELING, CLEANING_SERVICE, OIL_CHANGE, REPAIR, OTHER = 1, 2, 3, 4, 5, 6 class VanType(Enum): PASSENGER, CARGO = 1, 2 class CarType(Enum): ECONOMY, COMPACT, INTERMEDIATE, STANDARD, FULL...
[ "leochenlang7@gmail.com" ]
leochenlang7@gmail.com
b273e4938bf52ca34ef84d5ea8d59aae5f8d5fe4
d8c1db33096c082540bfa35a8a9be0a5e5bbc2e8
/.c9/metadata/environment/python_sample_package/fun.py
50ed7372473b384c8c340cd9b8d03edacf057632
[]
no_license
JAYAPRAKASH7541/jai7541
7b88570108066c763bc861de7af3c8780a384f99
2a997baacd63555bdbb5acda7a606608c76f35a3
refs/heads/master
2020-07-13T00:12:45.536062
2020-05-28T09:56:44
2020-05-28T09:56:44
204,943,482
0
0
null
null
null
null
UTF-8
Python
false
false
21,938
py
{"filter":false,"title":"fun.py","tooltip":"/python_sample_package/fun.py","ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":11,"column":8},"end":{"row":11,"column":8},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":0},"hash":"b3195100...
[ "jayaprakash7541@gmail.com" ]
jayaprakash7541@gmail.com
13445b0f6c37648b7a2401914798de6146aa3c71
702dd7c1d7e305bc6ce2ffce739b60746afdb558
/Tópicos Avançados em Python/map.py
806aca0470484fbc35ab83459de062ce261c55a5
[]
no_license
IgorEM/Estudos-Sobre-Python
d24963164125278595159961689d1b4f0e27355d
c82814d79831b3d225e5ccd3ac391c895a6f83de
refs/heads/master
2022-11-26T13:21:58.744771
2020-08-08T22:28:20
2020-08-08T22:28:20
286,119,410
2
0
null
null
null
null
UTF-8
Python
false
false
351
py
#map def dobro(x): return x*2 valor = [1,2,3,4,5,6] valor_dobrado = map(dobro, valor) valor_dobrado = list(valor_dobrado) #list converte em lista o valor dobrado em lista print(valor_dobrado) """ for i in valor_dobrado: print(i) """ #print(dobro(valor)) #imprime a lista duas vezes, nao da o dobr...
[ "noreply@github.com" ]
noreply@github.com
18bcd592602565d872d7f01d93edeb9e88cda89b
ab3dabbb0197c92618eb407e2f0aeb270ffe9a43
/douban/middlewares.py
3f8437ef183deac2993123968961ec535bd8158b
[ "MIT" ]
permissive
pighui/douban
6f349a31c57cf6455e67106f72c365a08cd3dbca
6c592988fe404bdec3f8d1333248c191ccd1652d
refs/heads/master
2022-12-21T22:23:25.021995
2019-11-06T11:47:27
2019-11-06T11:47:27
219,964,132
1
0
MIT
2022-12-08T06:50:12
2019-11-06T09:51:05
Python
UTF-8
Python
false
false
1,139
py
# -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # https://doc.scrapy.org/en/latest/topics/spider-middleware.html import logging import random from scrapy.downloadermiddlewares.useragent import UserAgentMiddleware class RandomProxyMiddleware(object): logger = ...
[ "pighui233@163.com" ]
pighui233@163.com
4182d35a44ea1ade31d9765203970039c60774ea
636d06456fa85100e2fc6b054ac9068bb1ae71c8
/polls/migrations/0002_auto_20200402_1442.py
8753a378b16bc0aca2ec5e2bfd89cb9332e963ce
[]
no_license
andreslearns/django-pollsapp
20f461a2a5545106e3b2e5249bb6c14a919bcf0b
a5071ad55c4702e858469c4473efab96441828b3
refs/heads/master
2022-04-14T10:07:21.217823
2020-04-03T08:13:55
2020-04-03T08:13:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
361
py
# Generated by Django 3.0.4 on 2020-04-02 06:42 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('polls', '0001_initial'), ] operations = [ migrations.RenameField( model_name='question', old_name='question', ne...
[ "soltesandrew@gmail.com" ]
soltesandrew@gmail.com
0cbd5e2dd23c9b19cd6082bfb61f2a869de91d23
0a75d88ee1dfe6376975cebacab368b6bfd8b8b0
/assignmentone.py
774fc8a8f6a1daded765ed95452fcc4420e74ec6
[]
no_license
SP-18-Data-Analysis/week-1-assignment-JoshuaDG
dce23d0495dc9d1c978494195a2bc434877d1832
e89ff56f97911de5cb40fa78b00d768b49bf40f4
refs/heads/master
2021-05-10T20:25:12.297176
2018-02-10T22:06:39
2018-02-10T22:06:39
118,187,211
0
0
null
null
null
null
UTF-8
Python
false
false
266
py
""" Joshua D. Gonzalez assignment one """ a = ['i','dont','know','anything','about','github'] print (a) listn = [1,2,3,4,5,6,7,8,9,10] for num in listn: print( "list stored", num) c = {0:'ele',1:'elem2',3:'elem3' } # emtpy map c[0] = 'test' print(c)
[ "noreply@github.com" ]
noreply@github.com
68fe5ad5f595676caae93551cace08269f415827
4409b3ff85f19d221905ab6538b6ac084ee5b92f
/Learn3.py
c2695374a1350663bf98ecaadbccbf645a414eb3
[]
no_license
forestdan/PythonLearn
47f7f5ac1b0e70a59c4cac22e0bb5eda9c6f0352
1b7ad1e19fbdacc4ab0e6eb9c2055f22cb37f40d
refs/heads/master
2020-08-16T00:13:55.723759
2020-02-02T11:54:49
2020-02-02T11:54:49
215,425,118
0
0
null
null
null
null
UTF-8
Python
false
false
632
py
# a = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] # # length of the list # print("the length of this list is " + str(len(a))) # # access the list # print(a[0]) # print(a[1]) # print(a[2]) # # access all elements of the list # print(a) # # add elements to the list # a.append(11) # print(a) # # add elements to the position # a.inser...
[ "danruixuan19910622@gmail.com" ]
danruixuan19910622@gmail.com