blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
b72457a38fc4cf56c7d54fde970a0e16e2e406b4
dee353f112306418b571717a16f48666238ff374
/scraper01.py
fd51055b8e478656d3db0d005d36f50fef6754b0
[]
no_license
vTechnolust/webScrape
06336c1b7335a559f4ae3e7a65fec0d006dcdae3
58d2fe6cc7b29265467d3d3f3233f2c7d3253648
refs/heads/master
2021-01-24T10:49:37.261549
2016-10-17T14:49:17
2016-10-17T14:49:17
70,290,212
0
0
null
null
null
null
UTF-8
Python
false
false
839
py
import requests from bs4 import BeautifulSoup import encodings, os url = "http://wwisnorthsmithfield.maxgalaxy.net/LeagueScheduleTeamDetail.aspx?TeamRegistrationID=4542&WebReportID=7&GUID=91ee4112-15bc-41a2-a8bd-24b2d3599eee" r = requests.get(url) soup = BeautifulSoup(r.content, "lxml") #for link in soup.findAll("tr...
[ "chuck@CFS-MacbookPro.local" ]
chuck@CFS-MacbookPro.local
de7091480f2f208de4c42fa97e6a868185619552
8746f4e3da5e230ec0ca4b924bb06a9951dd03da
/setup.py
9082c72d9f540e3e1d1fc8b9b0e4754df699af35
[ "MIT" ]
permissive
Apeopl/django-dj-plugin
845a508dd9088ceb9d9e03de56f5c11d5d1d07a4
2711c1af0185eea0fe5d1aed2eca5cd0422b387d
refs/heads/master
2021-04-19T06:04:23.658893
2020-03-26T06:59:50
2020-03-26T06:59:50
249,585,770
0
0
MIT
2020-03-26T01:49:01
2020-03-24T01:42:04
Python
UTF-8
Python
false
false
2,239
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import re import sys try: from setuptools import setup except ImportError: from distutils.core import setup def get_version(*file_paths): """Retrieves the version from django_dj_plugin/__init__.py""" filename = os.path.join(os.path.dirname(__fil...
[ "daijian1@qq.com" ]
daijian1@qq.com
fa1c2687dd67d4db4fee7ad1a0efd4197c5703d7
585f550288a9bd41e9f44a08ee6ab5b182408f76
/LiveSessionMaterials/wk02Demo_IntroToHadoop/master/VocabSize/reducer.py
a025e118849333089d472de02e7a5f561162a78c
[]
no_license
jayeshparikh/w261assignments
2a7120da8a8ced447d00954955ac660e81a1da13
ff7d76c93d9dc4a20526941aab1eb7c3ab5424bf
refs/heads/master
2022-11-28T17:01:16.291590
2020-03-23T06:38:11
2020-03-23T06:38:11
284,869,350
0
1
null
null
null
null
UTF-8
Python
false
false
600
py
#!/usr/bin/env python """ Reducer script to count unique words. INPUT: word \t 1 (sorted alphabetically) OUTPUT: an integer count """ import re import sys cur_word = None word_count = 0 # read from standard input for line in sys.stdin: line = line.strip() ############ YOUR CODE HERE ######### if line...
[ "jayesh.parikh@gmail.com" ]
jayesh.parikh@gmail.com
4e88beb03ff92ac889515bdb3172e288f961c20b
c5d87c7f25e3fe9b17c1e88993b0ed6831e52acb
/Django_HelpWord/mysite3/upload/templates/__init__.py
7c35217eb0fb5679a9ba58649325514db58ce182
[]
no_license
GIS90/python_base_use
e55d55f9df505dac45ddd332fb65dcd08e8e531f
7166ca85975bb7c56a5fbb6b723fd8300c4dd5d1
refs/heads/master
2020-04-02T08:33:49.461307
2018-10-23T03:33:41
2018-10-23T03:33:41
154,249,857
1
1
null
null
null
null
UTF-8
Python
false
false
270
py
# -*- coding: utf-8 -*- """ ------------------------------------------------ describe: ------------------------------------------------ """ __version__ = "v.10" __author__ = "PyGo" __time__ = "2017/3/30" if __name__ == '__main__': pass
[ "mingliang.gao@qunar.com" ]
mingliang.gao@qunar.com
7922a9db3833450dbed7ac161e534daed566aca7
e96dc3b097637954441a74bc4262f68728d4aadc
/pgdrive/tests/test_env/test_ma_bottleneck_env.py
8c0c0851e801e17f97326767bec50d238982ec48
[ "Apache-2.0" ]
permissive
Edwardhk/pgdrive
f6eacb4a8572cd3b4da2846de539669b4ff19ce7
649d32309ab2cec2a2d00283ce400af28ca85199
refs/heads/main
2023-05-13T02:57:48.186219
2021-05-18T08:43:25
2021-05-18T08:43:25
345,568,383
0
0
Apache-2.0
2021-05-18T08:43:25
2021-03-08T07:32:54
Python
UTF-8
Python
false
false
26,733
py
import time import numpy as np from gym.spaces import Box, Dict from pgdrive.envs.marl_envs.marl_bottleneck import MultiAgentBottleneckEnv from pgdrive.utils import distance_greater, norm def _check_spaces_before_reset(env): a = set(env.config["target_vehicle_configs"].keys()) b = set(env.observation_space.s...
[ "noreply@github.com" ]
Edwardhk.noreply@github.com
139c608c154098cb3413446048369878c7f2a958
f35bf9ff7405c179289f049fad4396198b4a0ef8
/CF_653_D3/E1.py
cc47a08191dce008dced0a865842d4013c9b8ec3
[]
no_license
proRamLOGO/Competitive_Programming
d19fc542e9f10faba9a23f4ef3335f367ccc125a
06e59ba95c3804cae10120ac7eda6482c3d72088
refs/heads/master
2023-01-03T07:27:25.960619
2020-10-29T19:15:53
2020-10-29T19:15:53
151,049,005
0
7
null
2020-10-29T19:15:54
2018-10-01T07:05:55
C++
UTF-8
Python
false
false
912
py
import sys sys.stdin = open('CF_653_D3/input.txt', 'r') sys.stdout = open('CF_653_D3/output.txt', 'w') n,K = list(map(int,input().split())) l = [ list(map(int,input().split())) for _ in range(n) ] al,bo,bt = [],[],[] for i in l : if ( i[1]==1 and i[2]==1 ) : bt.append(i[0]) elif i[1]==1 and i[2]==0 :...
[ "kapilgupta547@outlook.com" ]
kapilgupta547@outlook.com
2ea4fa9ccaa09fbfb61404bc678d612d263e070a
b5d062c400c8e6eec0f6dee7da219d298d200adf
/registration/views.py
78b4ed65f4fa13989355728e53a2f767ad09a0b3
[]
no_license
ChiragKanzariya/registration-page-in-wagtail
92eeb1dd815b0c7f8ab2f575962be3ab26b7e05b
67f3d1916ba8c7f999e86675ed81e89d72da6d04
refs/heads/master
2020-06-03T22:05:43.304075
2019-06-14T13:31:12
2019-06-14T13:31:12
191,750,477
0
0
null
null
null
null
UTF-8
Python
false
false
126
py
from django.shortcuts import render, redirect def welcome(request): return render(request, 'registration/welcome.html')
[ "chirag.kanzariya@ChiragG.local" ]
chirag.kanzariya@ChiragG.local
efbcbe83bcda257165a6264ea9ac397fa442b3ab
a2c80710f4212e108f2007b0ec883b9498462a26
/SCA11H/commands/system/RunCommand.py
196bce33dfe7803187378242eab27fafb4d6230a
[ "MIT" ]
permissive
ihutano/SCA11H
53035fbfc6cbeb5f6e4fe7080ca8c8884dd455da
ee8a38ec9e47bc015851c20fa121651d2601cde0
refs/heads/main
2023-06-15T08:47:56.222291
2021-07-14T14:36:40
2021-07-14T14:36:40
301,773,503
0
0
null
null
null
null
UTF-8
Python
false
false
1,309
py
from enum import Enum import json from SCA11H.commands.base.PostCommand import PostCommand from SCA11H.commands.base import enum_from_value class Command(Enum): Reboot = 'reboot' # Reboots the system Restore = 'restore' # Restore system's factory settings and reboot the system class RunCommand(PostComman...
[ "yowidin@gmail.com" ]
yowidin@gmail.com
a29e4d55f77f1df55d3802dfeab88e6851d90e6b
126db5cf2ede91e837eb21a79f2df72b188cbee7
/1.糗事百科/11.19 qsbk(2).py
ad6800473b3b64c94226705b2399d0a6e968952e
[]
no_license
Patrickctyyx/Crawler
97135ea5ecbcdd620eff7a7a2e8ace0169e894d1
62c709c2949b1a21626d6a6fda9eccfe4b91cc6d
refs/heads/master
2020-07-06T22:17:15.046152
2017-04-13T06:54:24
2017-04-13T06:54:24
74,042,441
0
0
null
null
null
null
UTF-8
Python
false
false
755
py
import requests from bs4 import BeautifulSoup page = 1 url = 'http://www.qiushibaike.com/8hr/page/' + str(page) + '/' session = requests.session() user_agent = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.100 Safari/537.36' headers = {'User-Agent': user_agent} html = sessi...
[ "873948000@qq.com" ]
873948000@qq.com
db5befbad1ea851c5c7cdb55c6b424ab2fa8bfb9
bc3173b62e14505cf97eb2d72c79ecf1e8666235
/venv/bin/bin/pygmentize
c979560549db1769fe2465a299616a2c5724c856
[]
no_license
TobiaC/KivyTutorialForm
3e278a51556c6faa35bd087f02ef2029eeb7684d
1fcd27c327eab778c3e9f53e83fd0474e11e8ade
refs/heads/master
2022-10-04T20:33:01.836468
2022-05-16T11:37:05
2022-05-16T11:37:05
249,677,962
1
2
null
2022-10-01T04:27:55
2020-03-24T10:27:40
Python
UTF-8
Python
false
false
265
#!/home/tobia/PycharmProject/kivytutorialform/venv/bin/bin/python # -*- coding: utf-8 -*- import re import sys from pygments.cmdline import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "tobia.cargnello@gmail.com" ]
tobia.cargnello@gmail.com
723ccd1e955c5fc42ca1aa3fbcb27318fff3ae4c
60158d1edd195c6882f14eb2803e282006a86a72
/UserManagementSystem/Useradmin/views.py
e028748d9161322721a591327e3c0f1113047498
[]
no_license
Fosity/Mysite
48ccd522c3a781acad791cab8fc1bd38676dce5f
fdf65566e0c1011627751086d24a60dedcc8624b
refs/heads/master
2021-09-06T10:00:28.358183
2018-02-05T08:42:30
2018-02-05T08:42:30
115,935,167
0
0
null
null
null
null
UTF-8
Python
false
false
7,034
py
import os import json from django.views import View from django.shortcuts import render,redirect,HttpResponse from django.db import transaction from django.utils.decorators import method_decorator from django.views.decorators.csrf import csrf_exempt from Useradmin.forms import UserForm,RegisterUserForm,UserinfoForm,Gro...
[ "446860117@qq.com" ]
446860117@qq.com
79f4334ae35457cde3d766dcd48480750b5bd81a
656daad231d001348e8e570277e9bd0597e4f4a3
/backspace_string_compare.py
10cabd1ab9d72bb08431c087c7ea57f6bae63794
[ "MIT" ]
permissive
vyshuks/Leetcode-30-day-challenge-april
dede001cfa0c7427d30c6da2f8e763d635ae1558
aee6050c14670468426b437353f1df99c408a5a9
refs/heads/master
2022-05-26T09:36:57.284983
2020-05-01T07:27:53
2020-05-01T07:27:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
949
py
def back_space_compare(S: str, T: str) -> bool: pointerS = len(S)-1 pointerT = len(T)-1 skipS = skipT = 0 while ((pointerS >= 0) or (pointerT >= 0)): while pointerS >= 0: if S[pointerS] == '#': pointerS -= 1 skipS += 1 elif skipS > 0: ...
[ "vyshuks@gmail.com" ]
vyshuks@gmail.com
b7e386ee24fd4d67cb6a40c7fc1011d3bc75619b
80d0bc57a0ae9a05d901a6bb1f203c73f8509a29
/unbox/settings/prod.py
1c57eb51c03d5245b48b8096ebd498aef880aa50
[]
no_license
manzars/Unbox-Assignment
478ce495f118eb2d5d1492fe4e2cbab1e868f9d7
74f7f620ab8f72465549dc28bdef667e46e2fe02
refs/heads/master
2023-01-01T06:37:25.776725
2020-10-24T10:25:15
2020-10-24T10:25:15
306,857,586
0
0
null
null
null
null
UTF-8
Python
false
false
143
py
from unbox.settings.base import * #Override base.py settings here DEBUG = False try: from unbox.settings.local import * except: pass
[ "manzarshaikh69@gmail.com.com" ]
manzarshaikh69@gmail.com.com
1e7622f5d4b18dca8554d37be0261567ef748e12
64ee329c17d46974261e6991caa97f3d10882533
/PythonCode/HackerRank/Apple and Orange.py
19573cfca461c0b549800b043db922526ebe1879
[]
no_license
muhammada1/Portfolio
5da39562fe767e888d8ecc365c7a45e31b941463
226c4ddfa722ad8eacd03fe0924d29a1d48d99ec
refs/heads/master
2021-01-06T08:47:42.422993
2020-04-04T20:24:38
2020-04-04T20:24:38
241,266,619
1
0
null
null
null
null
UTF-8
Python
false
false
1,053
py
#!/bin/python3 import math import os import random import re import sys # Complete the countApplesAndOranges function below. def countApplesAndOranges(s, t, a, b, apples, oranges): #between s and t #print(s,t,a,b,apples,oranges) count=0 count2=0 for splited in apples: x=a+sp...
[ "noreply@github.com" ]
muhammada1.noreply@github.com
46b2653e99a195df5cfc5323472f87bf0084ec2d
0c45507bcf88fe70a905572e0458dedf68a3e28f
/common/setup_notebook.py
2983f78110efce4c853d2662b63b49d8878fd2f1
[ "MIT" ]
permissive
gnebbia/tales-science-data
b82d975f77ed326c6357306e1c32c3d0c803e4e2
4f271d78869870acf2b35ce54d40766af7dfa348
refs/heads/master
2020-03-28T20:35:58.136923
2018-02-04T10:16:46
2018-02-04T10:16:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,630
py
# Methods to set the notebook up # Note that these have to be called in order from IPython.core.display import HTML from IPython.core.interactiveshell import InteractiveShell from IPython.display import set_matplotlib_formats import json import sys import matplotlib from matplotlib import pyplot as plt # Name of ...
[ "m.letitbe@gmail.com" ]
m.letitbe@gmail.com
f68c84a68633225f5e770dd8f0c75f1770df1349
bc07e2822dbd213e194f69962e2f76c5350f2dc6
/Python/Introduction/divmod.py
d2195bf6886309c6b622b8a30facfef7e71eabb1
[]
no_license
nocotan/HackerRank
ddd3168910590c9dcfe59f39551a6de0e63f5946
346592c96c5a00c5da9eab73e046b13cefc630d6
refs/heads/master
2021-01-15T15:37:52.630649
2016-10-30T16:05:17
2016-10-30T16:05:17
55,508,533
1
1
null
2018-01-19T05:56:20
2016-04-05T13:06:29
Python
UTF-8
Python
false
false
93
py
a = int(input()) b = int(input()) ans = divmod(a, b) print(ans[0]) print(ans[1]) print(ans)
[ "noconoco.lib@gmail.com" ]
noconoco.lib@gmail.com
e33a23acc800436260bf99137b47bfae9217c54e
4ca7e8c7363508274a9dc38dcb231a8330e3240d
/ardianto/05_django_blog_data/jeblog/urls.py
c03721684fb99cbdbd01ccb7044714bee50deeb8
[]
no_license
tate11/pythoncw
2d7ed8d9a4fa7ab12c81f9c711d5ea7253c275fc
bec83538da3a3f905cb9ae58a17ea3119742fd35
refs/heads/master
2020-06-26T03:07:54.890052
2019-07-24T10:22:10
2019-07-24T10:22:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
938
py
"""jeblog 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 ...
[ "ardianto.email@gmail.com" ]
ardianto.email@gmail.com
315073b750d7d6abc2a3577f57046d7db01a3254
e7e341c63e9fb5be39a302a99b0b3f2ada19cec8
/venv/bin/isort
8051fafc06810caf7e2f242d451da97529a9d7c3
[]
no_license
massamuel/TutorialsFollowed
f6ca8b2e426b861f4c884e581059fe765504afdd
81a5448ce8b23ab5f08eaa7365447130b2e67d92
refs/heads/master
2021-07-12T18:24:08.982854
2021-03-24T03:58:30
2021-03-24T03:58:30
240,986,497
0
0
null
null
null
null
UTF-8
Python
false
false
256
#!/Users/sampoplack/Desktop/income-prediction/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from isort.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "sampoplack@Sams-Macbook-Pro-3.local" ]
sampoplack@Sams-Macbook-Pro-3.local
a38360b15b6f29c1721762411c3fc8aaf848d257
46dfc72e51155685a9415b719683be6ef10a141c
/ProjectR/shutdown/main.py
c229aa0ff15c167f74c17fac8251214a0a6b052d
[]
no_license
richierh/LearningPy
dc27181c69154f7526d06cd5e9082d00ba88684a
da9d19a382a026b1f023e73c00a23a5cc3ec939e
refs/heads/master
2021-01-09T06:28:02.191159
2017-08-09T16:32:03
2017-08-09T16:32:03
80,982,088
0
0
null
null
null
null
UTF-8
Python
false
false
230
py
from inputsys import * import subprocess global answer j = "no%d"%int(answer) print eval(j) print j if eval(j) == no2: subprocess.call(["ssh ","%s"%eval(j)]) print "oke" else : print "nggak oke" #subprocess.Popen("ssh "
[ "“[richie_130283@yahoo.com]”" ]
“[richie_130283@yahoo.com]”
ebae3228e5ed9651f1ccf3198bd11ddbb965ea6c
95f8b47272b96833f8e4388e1f2efcd0ff561302
/ats_helpers.py
3c369010179e25de0004e2f4a920520effd29be6
[ "MIT" ]
permissive
Mondrik/atseo
e9b4d0740ccd28653fb902a6535a01743fd41dbc
05883e68f2f33c5a1a85135dad63fe83b8374770
refs/heads/master
2022-06-18T21:44:31.598074
2020-04-21T19:30:22
2020-04-21T19:30:22
256,240,369
0
0
null
null
null
null
UTF-8
Python
false
false
1,385
py
import astropy.io.fits as pft import numpy as np from astropy.time import Time import itertools from astropy.stats import sigma_clipped_stats from scipy.signal import convolve def group_image_pairs(file_list, by_next=False, by_exptime=False): if by_next: image_pair_lists = [[file_list[2*i], file_list[2*i+...
[ "nmondrik@lsst-dev01.ncsa.illinois.edu" ]
nmondrik@lsst-dev01.ncsa.illinois.edu
52bb3e8adfadd828279b34a8f1cc2056a517a862
2480774b79e5f8968975e0b9f19fae67b09bc266
/py/finc/builtin.py
73b1e387b263458647d6945af2e4e2e33428d1af
[]
no_license
danzhu/fin
2b4ebacce8632018f2073cc46bfac9c966197bd8
7fd92590c76a769793433f547197f1183fb35d47
refs/heads/master
2021-01-19T08:54:38.794634
2017-09-24T08:20:15
2017-09-24T08:20:15
87,695,548
1
0
null
null
null
null
UTF-8
Python
false
false
2,895
py
from . import types from . import symbols def load_builtins() -> symbols.Module: mod = symbols.Module('', None, None) NUM_TYPES = [INT, FLOAT] # classes for struct in {BOOL_SYM, INT_SYM, FLOAT_SYM}: mod.add_struct(struct) # constants for const in {TRUE, FALSE}: mod.add_const...
[ "danzhu24@hotmail.com" ]
danzhu24@hotmail.com
be85893dfa6895326d2afa7685f39f168fc17af4
d596796c1488ea6dc67fb2030e2fd1fbf45e54cb
/free/index.py
7bccfb1fd092f52382826ca46e34b1e4c277d164
[]
no_license
zerc/draft
83aad5b08fc1d7569295aa595821f117cb29decd
a972f1c341c711530c0894b5340a6639b206ec41
refs/heads/master
2021-01-15T23:02:10.509905
2010-06-22T16:15:56
2010-06-22T16:15:56
730,443
0
0
null
null
null
null
UTF-8
Python
false
false
1,120
py
#!/usr/bin/python #-*- coding:utf-8 -*- # zerc.ru from os import popen def get_free(): s = tuple(popen('free -m').readlines()[1].split()[1:4]) return s def index(): html = """ <html> <head><title>web free</title></head> <body> <style type="text/css"> body {margin:0;padding:0;background:#aeaeae;color:#ffffff;} ....
[ "zero13cool@yandex.ru" ]
zero13cool@yandex.ru
b7e6f4877a55e3f031ae1d937d7a482b6abe3555
c2748491984e33bf8bb7edeb2f55ff141967afd4
/readExcel.py
e0b5ca3328eb1dd6a2ec1f3ccfe51f30043a8043
[]
no_license
xts0922/python
b88739bbf25a8126f23b5f2482d6aff39b5d16f1
24f9cefe0c6b204df8dd8566b6dbdd0133565601
refs/heads/master
2023-02-25T14:15:21.615271
2023-02-18T19:26:09
2023-02-18T19:26:09
199,355,133
1
0
null
2019-09-16T10:18:10
2019-07-29T01:13:50
Python
UTF-8
Python
false
false
2,329
py
import xlrd import pymysql # import importlib # importlib.reload(sys) #出现呢reload错误使用 # def open_excel(): try: book = xlrd.open_workbook(r"C:\Users\Administrator\Documents\Tencent Files\624912911\FileRecv\2021年(3+1+2模式)8省数据统计(0910第一版).xlsx") # 文件名,把文件与py文件放在同一目录下 except: print("op...
[ "noreply@github.com" ]
xts0922.noreply@github.com
c09223bd767476f35e8649eb96da6fba78c25e3f
56c1aa96d2b5d8195d2ae2f5b92061603d2efbf8
/CodeUp/Basic100/1063.py
dacfce756503c83e3d1f770c88e6a23dfdfe36bc
[]
no_license
SeunghyoKu/Algorithms
b1c41fdb4a0b01bc7e90a25b698db8d2da2ac7a6
800b49a3ce1cb63479165c0e95852c70c037792f
refs/heads/master
2022-04-28T05:14:51.014395
2022-04-21T15:44:19
2022-04-21T15:44:19
189,375,638
3
0
null
null
null
null
UTF-8
Python
false
false
432
py
#입력된 두 정수 a, b 중 큰 값을 출력하는 프로그램을 작성해보자. #(단, 조건문을 사용하지 않고 3항 연산자 ? 를 사용한다.) #삼항 연산자: 항이 3개인 형태일 때 a, b = input().split(" ") a = int(a) b = int(b) c = a if a>b else b print(c) #파이썬의 3항 연산자 #(조건을 충족할 때) if (맞는 조건) else (조건을 충족하지 않을 때) #ex: a if a>b else b
[ "noreply@github.com" ]
SeunghyoKu.noreply@github.com
287e89cd4c348d4ddc8853c3630fe6bc44339f34
719e7b35f2b1c3196ff8084b5c5c46cbd2a22f5f
/setup.py
c11bcae02e8fed764919d18313cdb3ad23794389
[ "MIT" ]
permissive
noobermin/pynoob3a
72817b87dd7f96652487d139f42373adac820dca
fa8b6650ac286b52803b98b6b596f3cdc9db87cb
refs/heads/master
2021-02-09T14:07:35.912782
2020-03-02T05:48:52
2020-03-02T05:48:52
244,291,108
0
0
null
null
null
null
UTF-8
Python
false
false
259
py
from setuptools import setup setup(name='pynoob3a', version='0.0.1', description='dumb binary format', author='noobermin', author_email='ngirmang@protonmail.com', license='MIT', packages=['noob3a'], zip_safe=False);
[ "ngirmang.1@osu.edu" ]
ngirmang.1@osu.edu
8bfe1aee224c3652f4817fbd9a52fa3a62833675
32619e19a69b1720998fe323d267edf1609c6729
/venv/bin/django-admin
e846113fa04b716ba9467edb9a8761be02636dce
[]
no_license
KastroKevin/blog
63fff57518204f5ad32cfc909def0e945271cd76
e5cfc8a08da780d550306c14001d2ee1a1a63b34
refs/heads/master
2020-04-29T03:48:16.777397
2019-03-15T07:23:05
2019-03-15T07:23:05
175,824,353
0
0
null
null
null
null
UTF-8
Python
false
false
301
#!/home/kastro/Documents/Python/blog/venv/bin/python # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line())
[ "kastrokevin1997@gmail.com" ]
kastrokevin1997@gmail.com
01528c5c75bff9ce45c6c8f1207f97a57ea0498e
2aaf4d15261ef45caa040786b8e72c3e1dfcc01d
/minghua/views.py
4132641826d4da265897fddfba600bc73cbe0e06
[]
no_license
changych/Moocer
e284c073e9334d013a45ab78e8ea4d1ff0c69d30
954f143f8e621308373365f36d90b54a7b504f1a
refs/heads/master
2021-01-19T20:45:58.693254
2018-08-16T09:46:46
2018-08-16T09:46:46
80,033,455
0
0
null
null
null
null
UTF-8
Python
false
false
9,831
py
#-*- coding: utf-8 -*- import json import time import datetime from pyquery import PyQuery as pq from lxml import etree import traceback import pytz from django.shortcuts import render from django.http import HttpResponse from django.utils import timezone from minghua.models import SchoolInfo, QuizInfo, ExamInfo fro...
[ "chenchangyuan@baidu.com" ]
chenchangyuan@baidu.com
11bb73f8828c60bcdee60474e70b4d41694d0452
79bd2f61cd08374f68316b418f66225260439030
/welltokapi/topics/migrations/0002_auto_20190924_0214.py
5c7333db6f5437767dbc69f742f6553cb0a4b621
[]
no_license
blake0706/welltok
e5223ad02cb60e522845cf22c6c06125afe7925e
c39521a1afe8d493698d212830910f60be05a73c
refs/heads/master
2020-07-31T01:40:19.484169
2019-09-24T15:05:15
2019-09-24T15:05:15
210,437,301
0
0
null
2019-09-24T15:06:53
2019-09-23T19:38:05
Python
UTF-8
Python
false
false
622
py
# Generated by Django 2.2 on 2019-09-24 02:14 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('topics', '0001_initial'), ] operations = [ migrations.AlterModelOptions( name='topic', options={'ordering': ['-created_at']}, ...
[ "shiping@alum.wpi.edu" ]
shiping@alum.wpi.edu
7cfffe1abe2826ae82e2836f84a2bd17f75169a4
c307de5f1acae5cfec010e13937baf5d19a5888b
/prototypes/grid_mcmc_main_parallel.py
dc86f9fc189d967c444e743b99d01b8d7bd53904
[]
no_license
AriChow/error_propagation
ec5372768a0355d99bb2bf0be882d29ccbae1b81
97f882d17a978bf8b385cc99fcc719064e79593b
refs/heads/master
2021-07-19T09:00:12.108349
2018-07-02T14:37:15
2018-07-02T14:37:15
108,861,601
0
0
null
null
null
null
UTF-8
Python
false
false
1,338
py
import numpy as np import os from prototypes.grid_based_mcmc_parallel import grid_MCMC import sys if __name__ == '__main__': home = os.path.expanduser('~') dataset = sys.argv[1] place = sys.argv[2] # Documents/research for beeblebrox; barn for CCNI data_home = home + '/' + place + '/EP_project/data/' results_hom...
[ "achowd@rpi.edu" ]
achowd@rpi.edu
1c92ba6a348d9e89cd78c7c471efa349314ff4c3
73049982bbdcf20a7b52c31229f4bd0601524ba3
/test/functional/p2p_pos_fakestake.py
ee12eb3926c801366be8fa303b3c95e08064a25f
[ "MIT" ]
permissive
Andipandip/flits-core
4878a75cf4ab48dc5fdf011cd6fe4e0038d21131
22bffcf20b1ab78892b7d2a6f6bc2e9b09d050da
refs/heads/master
2022-11-18T18:57:33.143854
2020-06-30T09:58:34
2020-06-30T09:58:34
275,826,155
2
0
MIT
2020-06-29T13:41:15
2020-06-29T13:40:11
null
UTF-8
Python
false
false
2,285
py
#!/usr/bin/env python3 # Copyright (c) 2019 The PIVX Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. ''' Covers the scenario of a PoS block where the coinstake input prevout is already spent. ''' from time import ...
[ "ronanmcgrory@gmail.com" ]
ronanmcgrory@gmail.com
32e99b6d1e481856877756ea2cb6756722d16906
61ef327bd1d5ff6db7595221db6823c947dab42b
/FlatData/EquipmentStatExcelTable.py
e079ec5a2805f744c293cc9dd2edff8c4f954a6f
[]
no_license
Aikenfell/Blue-Archive---Asset-Downloader
88e419686a80b20b57a10a3033c23c80f86d6bf9
92f93ffbdb81a47cef58c61ec82092234eae8eec
refs/heads/main
2023-09-06T03:56:50.998141
2021-11-19T12:41:58
2021-11-19T12:41:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,555
py
# automatically generated by the FlatBuffers compiler, do not modify # namespace: FlatData import flatbuffers from flatbuffers.compat import import_numpy np = import_numpy() class EquipmentStatExcelTable(object): __slots__ = ['_tab'] @classmethod def GetRootAs(cls, buf, offset=0): n = flatbuffer...
[ "rkolbe96@gmail.com" ]
rkolbe96@gmail.com
68811fb3a6cb696a39be46b3dbf5f848f91a937e
5771bfe9e9296a3a0a1b3ac407dd0d79b4a485ef
/python3_exercicios_feitos/Desafio026.py
dc1a746da79398ce5f7cd5512c9c1c00e86c8a08
[ "MIT" ]
permissive
LouiseCerqueira/python3-exercicios-cursoemvideo
d76b19d5ad2144fc14f26eb766d3cde1ba83e0d1
782f983829a594496262ec30b87d545e928f7322
refs/heads/main
2023-01-24T18:45:51.536119
2020-12-09T11:34:58
2020-12-09T11:34:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
289
py
'''FUPQ leia uma frase pelo teclado e mostre: 'Quantas vezes aparece a letra 'A' Em q posição ela aparece a primeira vez Em que posição ela aparece a última vez ''' frase=str(input('Frase: ')).strip().upper() print(frase.count('A')) print(frase.find('A')+1) print(frase.rfind('A')+1)
[ "br07louise.ll@gmail.com" ]
br07louise.ll@gmail.com
cade8d6acd2d53c2ab00934deb72f9baef388b31
7f760365660de815db319d20bb05e1fbd5fc8df4
/server/app/outputs/dmx.py
150ff08a6742385ae301ebc0a725eae9f721682f
[ "MIT" ]
permissive
BasementCat/audio-reactive-led-strip
db5ac94eb3c43dfdb6a79501d6d8711579d41c51
a98bac8e04c0fae3022de9f5086914dc1f1192d8
refs/heads/master
2022-07-21T12:39:06.257207
2022-07-14T01:12:08
2022-07-14T01:12:08
216,214,804
2
0
MIT
2019-10-19T13:58:07
2019-10-19T13:58:07
null
UTF-8
Python
false
false
4,487
py
import os import glob import logging import threading import time import subprocess import re from dmxpy.DmxPy import DmxPy from app import Task from app.lib.misc import FPSCounter logger = logging.getLogger(__name__) hexint = lambda v: int(v, 16) def find_device_file__linux(vendor, product): if not os.path.e...
[ "alec.elton@gmail.com" ]
alec.elton@gmail.com
2ad60e76c5af8a74db3dc0fda5ea42d84fe43210
92206e8ea721d13507dee5f254e731dc19f1a2f9
/artists/urls.py
6b2d80fc160fcd0f562f139ea983a422a66f4127
[ "MIT" ]
permissive
cnanders/test-cxro-tickets
8c34c0c605e2fa5943f56f352bf7c286a004abbf
d47bcad14769e08b45e0e72aa17441c4987adc63
refs/heads/master
2020-05-20T16:38:48.750862
2013-10-15T06:57:45
2013-10-15T06:57:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,715
py
from django.conf.urls import patterns, url from artists import views # 7 endpoints for each model (5 for REST + 2 forms) # list, detail, create, update, delete # new form, edit form. # # I could adopt a pattern that all HTTP verbs != GET put the HTTP verb in the URL # which would at least reflect the RESTful concept ...
[ "cnanders@gmail.com" ]
cnanders@gmail.com
2be97047e2001fdc961703b5402a777176f20e26
9e4e7b9d3ad410ea84310d1a93122f6817f59b5e
/bin/edsig
d7d9c4fe903836407868143f4c31d604a3624a26
[ "MIT", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-public-domain" ]
permissive
Sigterm-no/python-ed25519
42105735c53eba865c5b0430eee2487f40b73fea
15237f3536b12022c30553a857524768a2d904c7
refs/heads/master
2021-01-11T05:08:06.617637
2014-03-19T23:21:30
2014-03-19T23:21:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,709
#! /usr/bin/python import os, sys import ed25519 from hashlib import sha256 def help(): print """\ Usage: (ed25519 version %s) edsig generate [STEM] creates keypair, writes to 'STEM.signing.key' and 'STEM.verifying.key' default is to 'signing.key' and 'verifying.key' edsig sign (signing.key|keyfile) mes...
[ "warner@lothar.com" ]
warner@lothar.com
b7cacb2fcba0487f6ea2436f1da4aab1ce03bbd9
91de708a7bd2392f940df46a942d7136500ca8d7
/cloudms/cloudms/urls.py
bfccc71d8fcb4937c5cb8571f81b46e00badc8c1
[]
no_license
zzm99/Simple-code-demo
224f5dbd84b217a6d353fe6606c2732e6c20522d
80554f1d275edb306cee4b45bb0045aefdc4942a
refs/heads/master
2023-07-13T00:40:39.184784
2021-08-26T01:28:52
2021-08-26T01:28:52
271,299,263
1
0
null
null
null
null
UTF-8
Python
false
false
801
py
"""cloudms 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...
[ "43439842+zzm99@users.noreply.github.com" ]
43439842+zzm99@users.noreply.github.com
39061226eb64c2b7fd22c1062cd0e8f1342bcdef
a3a54c95cfe98464be094ee28aba370d6613286f
/models/attention_unet/grid_attention_layer.py
f6adff5f7f76295febccd74ebe1d4cb55aeeb486
[ "Apache-2.0" ]
permissive
LeHuyHung/BraTS-DMFNet
e3930daea51e46b75b98ebed4f4498f6621efd1a
93cf319b36549f3ab92d391938c77f66c004edcb
refs/heads/master
2022-06-04T08:13:41.655693
2020-05-06T06:21:39
2020-05-06T06:21:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,696
py
import torch from torch import nn from torch.nn import functional as F from torch.nn import init def weights_init_normal(m): classname = m.__class__.__name__ #print(classname) if classname.find('Conv') != -1: init.normal(m.weight.data, 0.0, 0.02) elif classname.find('Linear') != -1: in...
[ "thanhhau097@gmail.com" ]
thanhhau097@gmail.com
30d2d8bf4d1bd7d1f4a8095bfd4336d191319e46
bbe5b336150c38f480a4c3a3a15e1d65a7dfc7d1
/tests/app/api/business/validators/application_validator/test_validate_documents.py
319034a3aff6b2c513ba2c418c2b4794d506282a
[ "MIT", "LicenseRef-scancode-proprietary-license" ]
permissive
AusDTO/dto-digitalmarketplace-api
9135785c205fe04bbb07782c561c5c5f8cf8417d
af1f0c8979406f80223ab7a68266563abd80b2f4
refs/heads/master
2022-07-31T04:12:36.364555
2022-07-07T04:31:41
2022-07-07T04:31:41
62,025,672
6
7
MIT
2022-05-23T23:32:37
2016-06-27T04:34:37
Python
UTF-8
Python
false
false
1,755
py
from app.api.business.validators import ApplicationValidator from app.models import Application def test_can_get_error_when_no_documents(): application = Application( data={} ) errors = ApplicationValidator(application).validate_documents() assert len(errors) == 1 def test_can_get_error_for...
[ "noreply@github.com" ]
AusDTO.noreply@github.com
ee02a7edc197ecfac462353641a0beac5d5f4218
2ad3e60b902df660ff332c399fb794b62edc0211
/lock/views.py
23e02118b9c47851ca9983b4f7dab515a9071d99
[]
no_license
mchong71/YouLock
4e73f4797244d5e066f33ff000cc9f22109a739e
2b06eec413deda84fc6f3e6c50433f64ebf0893b
refs/heads/master
2021-01-22T11:58:21.654437
2014-03-16T00:02:48
2014-03-16T00:02:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,578
py
from django.shortcuts import render, render_to_response from django.http import HttpResponse, HttpResponseNotFound, HttpResponseRedirect from django.template import Context, loader, RequestContext import json as simplejson from django.core import serializers import time import datetime from lock import models as l f...
[ "matt.chong45@gmail.com" ]
matt.chong45@gmail.com
f964c14c970903defdb558eaf23e20da66205857
51cf149a79b08df31fb9c38cfe55838f7448e275
/main.py
207c8f507030d85544901241474182016c973fa6
[ "MIT" ]
permissive
davincif/SpaceCrazyers
624e21f3f80f1f0c169e4540d392cba73a9fda24
aec4d309fed2349b5507989701afad59dc334885
refs/heads/master
2023-05-06T23:03:27.429051
2021-05-31T23:07:00
2021-05-31T23:07:00
372,338,839
0
0
null
null
null
null
UTF-8
Python
false
false
1,741
py
# third party import pygame from pygame.locals import * # internals import config from src.planet import Planet from src.player import Player from src.aircraft import Aircraft from src.events import CustomEvent from src.universe import Universe from src.gui.container import Container config.init() clock = pygame.time...
[ "LDaVinciF@gmail.com" ]
LDaVinciF@gmail.com
0fdb3d27ef4f515d6d5aa39190ea5f6ddeef4487
d5eec8cad07949442b1e0e08fc3e4bfa3ad4ddff
/part02/Variable.py
75edb7228c12b14c9b6b91310dde8347a36bf554
[]
no_license
kudarum/python3-basic-grammar
cd5c3584dfe91840699266ac009a5a639cda932d
54c055f7347677a2bdaebb592d3c42f346195f21
refs/heads/master
2023-06-12T02:56:49.086948
2021-07-05T12:47:43
2021-07-05T12:47:43
346,211,985
0
0
null
null
null
null
UTF-8
Python
false
false
1,306
py
# 변수 # 기본선언 n = 700 # 동시 선언 x = y = z = 700 # 재선언 n = "Change Value" # Python 값 할당 방식 # Object Referecnes # 1, 2 등의 숫자부터 시작해 모든 것이 객체이며 하나의 개체는 단 하나의 인스턴스로 존재한다(싱글톤). # 예를들면 a = 2 라고 변수를 할당하면 2라는 값이 a가 가르키는 메모리 공간에 할당되는 것이 아니라 # 2라는 인스턴스의 주소 값을 a가 가르키고 있는 것 # (즉. 동일한 값은 주소가 동일하게 된다.) # 정리하면 Python에서 모든 것은 객체이고 각 객체...
[ "kimkudam0503@gmail.com" ]
kimkudam0503@gmail.com
f8605e94a711806940d0d281731c50cfdb7b16ae
bfd9386af8979597921064ff84d852d7c4b52250
/fasttext/src/4_funciones_API.py
6d8fb124bcb171bc3641f5cc03f1d974ca0ccd18
[ "MIT" ]
permissive
marcelodri/AdultosMayoresNLP
26715e64e6ec8216cfb918b3a9c37111a29f38bf
4d5a558846807980f2f533d984a1575d8696698b
refs/heads/main
2023-05-27T15:30:09.749418
2020-12-30T14:01:30
2020-12-30T14:01:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,328
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri Dec 18 11:50:03 2020 @author: grosati """ ## Funciones auxiliares def clean_text_df(df, input_text_file='texto', stopwords=False): """ Función para el procesamiento de texto 1. pasa todo a minúscula 2. elimina sitios web 3. elimina...
[ "luciano.brum@vicentelopez.gov.ar" ]
luciano.brum@vicentelopez.gov.ar
7d0ac5540cd33b68e73c38be260d8192538f2a02
2f2e9cd97d65751757ae0a92e8bb882f3cbc5b5b
/1550.存在连续三个奇数的数组.py
4b37608348efa8136e2a1c0fa66108f9a3ea9483
[]
no_license
mqinbin/python_leetcode
77f0a75eb29f8d2f9a789958e0120a7df4d0d0d3
73e0c81867f38fdf4051d8f58d0d3dc245be081e
refs/heads/main
2023-03-10T18:27:36.421262
2021-02-25T07:24:10
2021-02-25T07:24:10
314,410,703
0
0
null
null
null
null
UTF-8
Python
false
false
452
py
# # @lc app=leetcode.cn id=1550 lang=python3 # # [1550] 存在连续三个奇数的数组 # # @lc code=start class Solution: def threeConsecutiveOdds(self, arr: List[int]) -> bool: odd_count = 0 for e in arr: if e%2: odd_count +=1 if odd_count ==3: return T...
[ "mqinbin@gmail.com" ]
mqinbin@gmail.com
569feaf414174204984d91b384d519363cae93bf
a8606c828e5cd4405331bdd2ac3df1c6b07b34fb
/preprocessing_data/gow_toy_venture.py
3ee7262e878706cb7c519527118ea64fe0e7e48c
[ "MIT" ]
permissive
miachenberkeley/Bi2VC
3f5c21b4ae7c1ccdc05204a79d955f5026cfae03
0568bcc68eff1e09c40bfc3ee457219f1f45ae1c
refs/heads/master
2021-01-23T00:34:20.072161
2017-04-25T20:42:14
2017-04-25T20:42:14
85,732,189
0
0
null
null
null
null
UTF-8
Python
false
false
2,262
py
import os import random import string import re import itertools import copy import igraph import nltk import operator from nltk.corpus import stopwords import xlsxwriter # requires nltk 3.2.1 from nltk import pos_tag from sklearn.feature_extraction.text import TfidfVectorizer # might also be required: nltk.download(...
[ "miacoursera@gmail.com" ]
miacoursera@gmail.com
e24f4a4008a9f2edade00871369f275ca42462dd
5b9bce9fdfc13848b6bacc73741f6e8fc5a4ae99
/client/client.py
eb5be712516765751211389e5083d166429114f2
[]
no_license
ContinuumBridge/bridge_admin
4a5a036f4e0cb4e96366a85524aef0c33e82a7ff
efd4148a55221f74cb8a11139a8416d1af453408
refs/heads/master
2022-03-20T15:00:01.422221
2020-01-04T11:08:17
2020-01-04T11:08:17
17,435,712
0
0
null
null
null
null
UTF-8
Python
false
false
3,006
py
import httplib import json import requests import websocket import time import signal from twisted.internet import threads from twisted.internet import defer from twisted.internet import reactor #CID 64 on Production. Key: 6b8b20b7r2oPxGmlwjoFuJD/iLKCPTkBOW/ZR9F2vnyxGd1pHLVVime+srwxoOTP #CB_ADDRESS = "porta...
[ "peter.claydon@continuumbridge.com" ]
peter.claydon@continuumbridge.com
f7f4c33120ba28c000afdb1dec2076502f2e6f69
01ee3708f1f08d2656f25050f4f56ea2eb3be085
/tonnikala/tests/test_js_templates.py
ab17f9a2919aacddc5a4a541c683c78dba704a50
[ "Apache-2.0" ]
permissive
ztane/Tonnikala
70fd237f178b7d6abc59dc27918fa0159f30f307
183049f1956331ca37356f93bde2937e25283672
refs/heads/master
2016-09-03T06:26:47.308777
2015-07-22T07:52:11
2015-07-22T07:52:11
2,994,473
2
1
null
null
null
null
UTF-8
Python
false
false
9,274
py
from __future__ import absolute_import, division, print_function, unicode_literals from ..compat import text_type import unittest import os.path import codecs from tonnikala.loader import JSLoader import subprocess import json import os.path from distutils.spawn import find_executable js_dir = os.path.join(os.path.ab...
[ "antti.haapala@anttipatterns.com" ]
antti.haapala@anttipatterns.com
de79be8fc6c2932632cc288c791cfc8df69a8dde
dca5fe58b5283376d149f352ce31f1b98778a8df
/src/Hyperactive/hyperactive/optimizers/sequence_model/__init__.py
091b38de91fc145110c4d79f45aea85f1d36b6bf
[ "MIT" ]
permissive
rjb1212/LDWPSO-CNN
8a422d25242c73bf40fe91599aef4a5da4fae349
717616c9c3d43efd0041e65e7a16f8201779b340
refs/heads/master
2023-03-04T20:02:00.438163
2021-02-07T09:47:00
2021-02-07T09:47:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
# Author: Simon Blanke # Email: simon.blanke@yahoo.com # License: MIT License from .bayesian_optimization import BayesianOptimizer # from .tree_of_parzen_estimators import TPEOptimizer __all__ = ["BayesianOptimizer"]
[ "iputatsuki@gmail.com" ]
iputatsuki@gmail.com
e141d9af3d20d58824b564afeea99174fe3d7c26
a618935b791f796722ac298dea62172517000a98
/calc/urls.py
509674a62f2b7c6b6c8be38f5cfa533ebbbd7e3e
[]
no_license
devmittalciv16/pandey
861eac389f8cf16f1e0556d1fb15ac259724a8d8
25c84b890de100421726a4ced0d484d623cc396d
refs/heads/master
2023-01-31T03:56:52.304938
2020-12-19T14:32:47
2020-12-19T14:32:47
322,866,385
0
0
null
null
null
null
UTF-8
Python
false
false
151
py
from django.urls import path; from . import views; urlpatterns=[ path('',views.home,name='home'), path('add',views.add,name='add'), ]
[ "devmittal@paypal.com" ]
devmittal@paypal.com
62675e7f610b3590c17384395fab4a82e17e1aaa
e00b0f620525558897bae1b830660739b3db12d6
/p01/src/auth_crud/manage.py
a87630298de95a17cd0d10d13f346fd21784289a
[]
no_license
Kihui/proyecto-redes
7eec5c9b8a4f0da59efc28fe426f13cd9abcb1a3
3243d9183f3bc370e3ac6403de7b6cd5f62de4b3
refs/heads/master
2021-09-03T01:00:39.607192
2018-01-04T11:39:26
2018-01-04T11:39:26
108,672,588
0
0
null
null
null
null
UTF-8
Python
false
false
807
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "auth_crud.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that th...
[ "cgah.95@gmail.com" ]
cgah.95@gmail.com
f12032ded48c0d948fb9ba96e88a02b64cb297dd
1a542e68aa2cf10709bb3df5fd4420be37226870
/routes/topic.py
7f8d637e206397788399903576d52adbddd29712
[]
no_license
wtraceback/BBS
d0d8bd0de64e1fa6a36b30661433526662745e20
d034600641762d3637509117cbddf01fd67b64c2
refs/heads/main
2023-05-05T12:21:39.437664
2021-05-24T15:03:25
2021-05-24T15:03:25
362,860,832
0
0
null
null
null
null
UTF-8
Python
false
false
1,182
py
from flask import ( Blueprint, render_template, request, redirect, url_for, ) from routes import current_user from models.topic import Topic from models.board import Board from models.about import About topic = Blueprint('topic', __name__) @topic.route('/') def index(): board_id = int(reques...
[ "whxcer@outlook.com" ]
whxcer@outlook.com
9c09772c752a68c1c1ff41f9aedaaad8a2c07953
a7f5bf76b1039d7405c93fa30dd6c8b70b4d091a
/test/bing_redis_class.py
1c4a157c91317b38e181a9999e1fa52db4d67837
[]
no_license
changyig/spider
440ae2e35d34fbe07dceff4383443c7ef90e62a3
f419791bdb09532382bb13600fcd3b30408c2f08
refs/heads/master
2023-07-12T03:17:52.805916
2021-08-19T07:48:53
2021-08-19T07:48:53
297,105,909
0
0
null
null
null
null
UTF-8
Python
false
false
7,296
py
import selenium import time import hashlib from selenium import webdriver import os import threading import pymysql from selenium.webdriver.chrome.options import Options # chrome_options = Options() from redis_scrapy import RedisQueue import math # 采集线程列表 crawl_thread_list = [] for i in range(10): crawl_thread_list...
[ "15716365368@163.com" ]
15716365368@163.com
0ce8b1a842a96171ee6372b6953095d4327ed6b1
9981a157cb74b237ead6458297d541e12f66fbe4
/course4_final/module_7.py
ff1e4dbc0e446aae5f5365ebbc58b720cb615c0e
[]
no_license
MatthiasPilz/selfDrivingCar-specialisation
56006cdd6b63875fc6b959577d2c95c163a44dbd
34aa8043762fa44670d0b92257e00bca3a63605f
refs/heads/master
2022-11-15T02:57:25.967391
2020-06-23T18:32:51
2020-06-23T18:32:51
271,987,803
1
0
null
null
null
null
UTF-8
Python
false
false
44,482
py
#!/usr/bin/env python3 # This work is licensed under the terms of the MIT license. # For a copy, see <https://opensource.org/licenses/MIT>. """ CARLA waypoint follower assessment client script. A controller assessment to follow a given trajectory, where the trajectory can be defined using way-points. STARTING in a ...
[ "Matthias.Pilz@kingston.ac.uk" ]
Matthias.Pilz@kingston.ac.uk
41faa5af6577c42cbb30f57da6441bb4991e463c
e6f62843d8e7f580a8f2993988cde930a2f5daf2
/final_project/work_classifiers.py
b665de4b121586dd97b0848c3555e197199060cd
[]
no_license
diegoami/ud120-projects
614002d317425139948a254293c46a335c1b1e22
2a573ea095ac456843c203592d7175800d49c938
refs/heads/master
2021-01-20T00:27:48.939087
2017-06-15T19:07:59
2017-06-15T19:07:59
89,133,359
0
0
null
2017-04-23T10:17:18
2017-04-23T10:17:18
null
UTF-8
Python
false
false
854
py
import numpy as np def gaussian_classificator(features_train, labels_train): from sklearn.naive_bayes import GaussianNB clf = GaussianNB() clf.fit(features_train, np.ravel(labels_train)) return clf def tree_classificator(features_train, labels_train, **kwargs): from sklearn import tree clf =...
[ "diego.amicabile@gmail.com" ]
diego.amicabile@gmail.com
4540a61974c6a9f144c734d123356a400170aa8e
a0c8c6a5206efa55e84d83026863dabc2f20e19a
/main.py
050fa30d1a12fabfe3dff32efb6f85d68a535e28
[]
no_license
takeofriedrich/processamento_extratos
427307686ef800d598a6f367b5bbb1bb9a25f69a
264e114065854a3711796d118c72c0229a81ba55
refs/heads/main
2023-07-24T08:51:25.176200
2021-09-07T19:33:19
2021-09-07T19:33:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,089
py
from modelos.conta_bancaria import ContaBancaria from uteis.processador_textual import ProcessadorTextual from uteis.messages import argvIncorretos from uteis.messages import encerrandoValueError from uteis.messages import encerrandoArquivoNaoEncontrado import sys import os if len(sys.argv) < 2: print(argvIncorret...
[ "vtkwki@gmail.com" ]
vtkwki@gmail.com
8c208878ff29e2333826cf8bd74f0aa5d3bb8157
70f5f279e051360310f95be895320d8fa6cd8d93
/extraPackages/matplotlib-3.0.2/tutorials/introductory/sample_plots.py
f1a1542ebec6b0b538466dedce1c4d478568158b
[ "BSD-3-Clause" ]
permissive
spacetime314/python3_ios
4b16ab3e81c31213b3db1e1eb00230621b0a7dc8
e149f1bc2e50046c8810f83dae7739a8dea939ee
refs/heads/master
2020-05-09T20:39:14.980041
2019-04-08T15:07:53
2019-04-08T15:07:53
181,415,024
2
0
BSD-3-Clause
2019-04-15T05:00:14
2019-04-15T05:00:12
null
UTF-8
Python
false
false
12,052
py
""" ========================== Sample plots in Matplotlib ========================== Here you'll find a host of example plots with the code that generated them. .. _matplotlibscreenshots: Line Plot ========= Here's how to create a line plot with text labels using :func:`~matplotlib.pyplot.plot`. .. figure:: ../../...
[ "nicolas.holzschuch@inria.fr" ]
nicolas.holzschuch@inria.fr
bf9868b8d82a6fce3825f8fa3e33c525905ab785
c9b60af98026cbd5def343b238f60c12c9e24cd4
/cp_3/panchuk_fb-74_opanasyuk_fb-74_cp_3/funcs.py
1b2d461760dd870b488d59558bfc05f0122afc00
[]
no_license
1337bugs/fb-labs-2019
ed81a80e561f9402b19460d688b6c766763a50ba
56df4c3518f91eb6e00fc19fb260aa2c43ee9bd5
refs/heads/master
2020-12-08T06:14:18.908540
2020-01-09T19:02:40
2020-01-09T19:02:40
208,611,286
0
0
null
2020-01-09T19:45:37
2019-09-15T15:05:00
Java
UTF-8
Python
false
false
5,181
py
import os def read_file(name): f = open(name, 'r') data = f.read() f.close return data alphabet_str = read_file('alphabet.txt') alphabet = list(alphabet_str.replace('\n', '')) def create_list(mas): list = {} for i in mas: list[i] = mas.index(i) return list def create_list2(mas)...
[ "55197126+ipt-cryptolabs@users.noreply.github.com" ]
55197126+ipt-cryptolabs@users.noreply.github.com
36d11d66186ad3d111fa4214265b22b08515a0a2
91bde127ca6c07d00bb54286baa8a762d92ee4b0
/prof_numpy_test.py
95032fd4310d16ccfe2b3ea22217be6e7208ab9c
[]
no_license
pgervais/nilearn-profiling
0213c82e2d0158c201c20e619aaa87aef151e8e1
d9dab7223aeebfd83fb8552925756397420cd7a4
refs/heads/master
2020-05-17T11:37:13.482226
2013-09-09T15:14:48
2013-09-09T15:14:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,835
py
import numpy as np from scipy import ndimage def random_matrix(shape, order="C"): series = np.ndarray(shape, order=order) series[...] = np.random.randn(*shape) return series def random_mask(shape, order="C"): # Make random boolean array, with 2/3 of True and 1/3 of False. mask = np.ndarray(shape...
[ "philippe.gervais@inria.fr" ]
philippe.gervais@inria.fr
15d84fd92ae6047db555a7aabf4fe7ff1c05d808
e8d7e13eb4d26c0a0147f2d0208d70e61f865c2c
/untitled7/bin/2to3-3.6
a7320f5bb9145f972ebb4114fd485764853a360d
[]
no_license
fazi4888/APCSP-FreshmanYear
55c5b5717aadeb2d871582754174f88213a488fe
b4f0f797b2c469e148b0330ad9d309610f1f0668
refs/heads/master
2022-11-30T11:51:30.210342
2020-08-17T15:00:37
2020-08-17T15:00:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
121
6
#!/Users/rayaan_siddiqi23/untitled7/bin/python import sys from lib2to3.main import main sys.exit(main("lib2to3.fixes"))
[ "rayaan.siddiqi@gmail.com" ]
rayaan.siddiqi@gmail.com
c5c7a34d8e0475bcb1d17495007706ad51720228
c8e96e7379b9758b53ba0fae1cc57f5206feff26
/calDate/modules/dirtest.py
7243e0ce7f033ff73dadc7d2f4848277759ba0a6
[]
no_license
jaleel64417/PythonBasics
482e15ea8e64ae612f5f9a1c6353e5d3068871af
3b45f949786985e1ea71c9ae093557d3d872ea58
refs/heads/master
2021-05-10T15:57:40.151421
2017-03-29T05:09:18
2017-03-29T05:09:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
71
py
import calDate.modules content = dir(calDate.modules) print (content)
[ "srinivas.kolaparthi@capgemini.com" ]
srinivas.kolaparthi@capgemini.com
ce4871f80c7de30c3e99d78da5fcd55ddb75a175
1e3506e5529e90918f4bb0ca7f98bd53350605db
/venv/bin/easy_install-3.6
9c80dfb136aef5217c4811322505f94f7ad9d193
[]
no_license
herysantos/cursos-em-video-python
865f072e2700c09c3118a1b95b4ac8a99ded476b
bc7f95a6bd8b60d2b8f41c56aff60c19f61c43e3
refs/heads/master
2020-07-26T14:56:22.744109
2020-03-30T11:53:18
2020-03-30T11:53:18
208,682,928
2
0
null
null
null
null
UTF-8
Python
false
false
461
6
#!/home/hery/pythonscritps/cursos_em_videos_mundo_1/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.6' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\....
[ "hery.silva.santos@gmail" ]
hery.silva.santos@gmail
4756daf4bf38cccaf1dadd48bc566bd181d2850d
ee7b2836b1284896ea1a4dc9a19e2e95c7f256da
/8-2.py
8ede9ebe1ea29e66568343d3042cb8fa15ab0a3e
[]
no_license
jeongyeon02/python
703c4404d5b5dcc2799d6c237b315357974e4d4b
83d445eb607f8de1e9282d7425b977d793b7f181
refs/heads/main
2023-05-29T13:05:17.426424
2021-06-12T06:34:02
2021-06-12T06:34:02
364,236,262
0
0
null
null
null
null
UTF-8
Python
false
false
621
py
x = [4,5,6,7,8,9,10] # 변수 x의 리스트 설정 num_elements = len(x) # 변수 num_elementsx을 x 리스트의 길이로 선언 print(num_elements) # 변수 num_elementsx 출력 x = [5,100,85,79,31] # 변수 x의 리스트 설정 y = sorted(x) # 변수 y를 x 리스트의 짧은순으로 선언 print(y) # 변수 y 출력 x = [10,100,1000,10000]...
[ "noreply@github.com" ]
jeongyeon02.noreply@github.com
17f2e8cac00aa2a39475ce801876b2f43209b522
fe57ca92ee88fc05a3591295a84423e963efcec1
/test/parse_aurinfo.py
5b7e17e719dea1b412d9af784de8098b1cb4cae1
[]
no_license
klusark/pkgbuild-introspection
04a540227226e8eae418c790816f6d7c5aa7ad14
89335c403f54550c070d45adf04b303b1e0a503c
refs/heads/master
2021-01-21T01:20:46.950068
2014-05-28T18:55:34
2014-05-28T18:57:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,634
py
#!/usr/bin/env python from copy import copy, deepcopy import pprint import sys MULTIVALUED_ATTRS = set([ 'arch', 'groups', 'makedepends', 'checkdepends', 'optdepends', 'depends', 'provides', 'conflicts', 'replaces', 'options', 'license', 'source', 'noextract', '...
[ "dreisner@archlinux.org" ]
dreisner@archlinux.org
0d03f4997dff14b4117c84cbf186adcb19848f23
75ed4fe365819c9cb64522bd2bcb1590295dd4a8
/login/jwt_practice.py
5a325c3daf7ee8c0583f4b3065523263105acef1
[]
no_license
thals7/web
2aaa36fecf44851d65031dd0c9f9062748bfb3f5
f2c9aca7b3cf0116985fe17190a1274264bdd2c1
refs/heads/master
2023-02-26T08:30:49.663381
2021-01-29T00:48:50
2021-01-29T00:48:50
298,844,661
0
0
null
null
null
null
UTF-8
Python
false
false
294
py
# https://pyjwt.readthedocs.io/en/latest/usage.html#encoding-decoding-tokens-with-rs256-rsa import jwt key = "thisissecret" encoded = jwt.encode({"some": "payload","like":"user_id"}, key, algorithm="HS256") print(encoded) decoded = jwt.decode(encoded, key, algorithms="HS256") print(decoded)
[ "thals_7@naver.com" ]
thals_7@naver.com
0e64619b3d20e8eefe6a41c78012651d30d59289
a6242c584b459b80e75692c264d5dfa109550388
/distri_jd/jingdong/ProxyMidware.py
beab56353d2ccafaaa8ed4d064985ec7e43cb240
[]
no_license
Payiz-2022/scrapy_crawler
5faf73a2ac05b4b56920f338c34712d7a9f41d9c
4925e3c579744aaf3cf9f37ba393272d9cece0d7
refs/heads/master
2023-03-16T12:32:20.408734
2018-11-14T10:38:08
2018-11-14T10:38:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
463
py
# -*- coding: utf-8 -*- import requests class MyproxiesMidware(object): # @classmethod # def from_crawler(cls, crawler): # return cls(crawler.settings) # def __init__(self, crawler): # self.IPpool = crawler.settings.get('IPPOOL') def process_request(self, request, spider): ...
[ "1341281680@qq.com" ]
1341281680@qq.com
7fa377c3312574b8f7ab17bc7d6aeca178538f62
4fe41bd695a9525d5f631d7ecb6ae91f30628f25
/Inventario/apps/Productos/models.py
3335561bf9b57d37220db063ea19ee16fac6e775
[]
no_license
AugustoBatz/Django
bc8a1802bffcd9ef0ef612253ac70fec75b3b734
c6f321d5e49cce3678b4aa5c161e3164ce631771
refs/heads/master
2021-10-23T17:59:24.914003
2019-03-19T04:07:48
2019-03-19T04:07:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,491
py
from django.db import models from apps.Almacen.models import Presentacion1,Catalogo,Unidadmedida1 # Create your models here. class Producto(models.Model): nombre = models.CharField(db_column='Nombre', max_length=45, blank=True, null=True) # Field name made lowercase. existencia = models.IntegerField(db_column=...
[ "miguelbatz2@gmail.com" ]
miguelbatz2@gmail.com
fab761507f7c5fe0d143fca8285d3473fdf1b51d
a036d2c0e157c68fb8946357b348d41186763488
/Questionario3/06.py
177509833c6adc09b910540ad0db3090198c8436
[]
no_license
BomDia12/EstruturasDeDados
6f3bec4be7f2df0816f91cb707258b9adf1ab115
edee509cc49358f8b60a731fc316d340b62e8c12
refs/heads/master
2023-04-23T20:14:49.906054
2021-05-16T17:07:43
2021-05-16T17:07:43
340,910,505
0
0
null
null
null
null
UTF-8
Python
false
false
500
py
n = int(input()) names = sorted([input() for i in range(n)], key=lambda x: len(x), reverse=True) trashed = [] vai = True for i in range(len(names)): try: if len(names[i]) != len(names[i + 1]) and len(names[i]) not in trashed: print(names[i]) vai = False break else...
[ "chamatico2@gmail.com" ]
chamatico2@gmail.com
31fc5e39dd38052a96b9ac73eb29022c8c5b401d
6203d50b44d7f5182eb43303a2ea65f4f3cd3b3f
/simple_ai.py
4d4c5b87b13ccb0b44692832a8e11207296215e3
[]
no_license
jz-joannazielinska/RL_Project
b1c2cd51de45d8e96ab5536b04347212bcce63dc
9e04f03f235dbe84d9337fe61f135b2ef97b03f2
refs/heads/master
2020-04-08T23:37:25.489691
2019-01-14T12:14:05
2019-01-14T12:14:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
860
py
from pong import Pong class PongAi(object): def __init__(self, env, player_id=1): if type(env) is not Pong: raise TypeError("I'm not a very smart AI. All I can play is Pong.") self.env = env self.player_id = player_id self.name = "SimpleAI" def get_name(self): ...
[ "joanna.ewa.zielinska95@gmail.com" ]
joanna.ewa.zielinska95@gmail.com
3b8d78447ded3a0562d5e7db02a6fb99e393d267
550401316db65fec70a075aa6dcd13476febffe4
/node_modules/webpack-dev-server/node_modules/fsevents/build/config.gypi
b0d4b95da051b8d60f846ebd7fdf871f58c07aa0
[ "MIT" ]
permissive
hassan-munir1996/fruits-farm
a91e3a87fd57b1318398e4711443e429ba57e799
20318c2b22d9ed1f28fc811dd3e666fe879f1ba4
refs/heads/master
2023-08-06T22:50:45.713006
2021-10-07T20:35:24
2021-10-07T20:35:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,766
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "build_v8_with_gn": "false", "coverage": "false", "dcheck_al...
[ "hassanmunir.ahmed@systemsltd.com" ]
hassanmunir.ahmed@systemsltd.com
a316b3bcba058280a3a0fd90569b82f968860999
439a23228ee43857701598850dbe213e007278f1
/RateMyProfessors/Account/migrations/0005_auto_20210418_2148.py
ccbe79ccd3c4611fb09986859477215174c917db
[]
no_license
berekashvili22/DjangoRMP
2b13952d2e6bb7ff4fd19c32cd46deccb5aaffb9
be505f5b15bdf7368fbb6ef3dfbb56525cde1a22
refs/heads/main
2023-04-16T20:41:09.887064
2021-05-10T12:18:16
2021-05-10T12:18:16
352,743,442
1
0
null
null
null
null
UTF-8
Python
false
false
440
py
# Generated by Django 3.1.7 on 2021-04-18 17:48 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('Account', '0004_auto_20210417_1754'), ] operations = [ migrations.RemoveField( model_name='profile', name='first_name', ...
[ "tokoberekashvili22@gmail.com" ]
tokoberekashvili22@gmail.com
cabda38c0a0fe289c78c7072a6bd20d7cfacf53c
968aedcc9e58d718bb3895f89de5292d8caabe52
/leetcode/Hash-Table/valid-sudoku.py
0a49bd177048dcb0d60662a3ac173ff7e1202e64
[]
no_license
iCodeIN/competitive-programming-5
0729c9f09f12543455121fc633b051eb68529152
30bfafb6a7727c9305b22933b63d9d645182c633
refs/heads/master
2022-04-14T08:50:19.568207
2019-09-26T14:49:56
2019-09-26T14:49:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,208
py
class Solution: def isValidSudoku(self, board): """ https://leetcode.com/problems/valid-sudoku/description/ :type board: List[List[str]] :rtype: bool """ num = {"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,".":0} for i in board: num = {"1"...
[ "10962267+arora-aditya@users.noreply.github.com" ]
10962267+arora-aditya@users.noreply.github.com
834d34984c7840b49a8a6f3ac0dc2a8ed715916e
63f73c31886a973c52bb253f837d42883f2d959f
/data/prepare_data_food_number.py
1c81a2ab01ce0ecfbcbc65fb077a7f4cb6b22139
[]
no_license
minhairtran/food_ordering_system
0b05caeb96d1e6ce426b39758adeb4441eda5a5b
eed3fcf6d756b3c2295f1acf2063995f789de449
refs/heads/main
2023-06-15T07:00:45.355158
2021-07-01T12:07:51
2021-07-01T12:07:51
355,115,867
0
0
null
2021-06-26T12:29:10
2021-04-06T08:33:57
Python
UTF-8
Python
false
false
3,397
py
#Preprocess food dataset import sys sys.path.append("../") import json import numpy as np import os import librosa import torch import torch.nn as nn import torchaudio import augment from scipy.io import wavfile DATASET_PATH = ["../../food_dataset/ca_kho", "../../food_dataset/ca_xot", ...
[ "minhairtran@gmail.com" ]
minhairtran@gmail.com
db7c4a0b79b27d1685be085bd88b35cdddf098b6
35f163f0db45094ea44e6e698750e5780b8f1a79
/aiortc/rtcsctptransport.py
40a7178eca033abaac30e6921e02a2854cdbc32d
[ "BSD-3-Clause" ]
permissive
royfu/aiortc
886ac442a56af93e8771d9be0aa15702b0635fb4
4a781e15e061176470f8b2c7d30ab2e64d71da9e
refs/heads/master
2020-04-15T01:43:00.905480
2019-01-04T16:06:29
2019-01-04T16:06:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
55,614
py
import asyncio import enum import hmac import logging import math import os import time import warnings from struct import pack, unpack, unpack_from import attr import crcmod.predefined from pyee import EventEmitter from .exceptions import InvalidStateError from .rtcdatachannel import RTCDataChannel, RTCDataChannelPa...
[ "jeremy.laine@m4x.org" ]
jeremy.laine@m4x.org
22cfb913b0dd432bd474db4e97fc8634b0952ae5
3dc476f1b05dc8c2fa29f5f497f98ba328763627
/curd_app/admin.py
11fb589a91f5de974f72b86b840c66c0e41faea6
[]
no_license
RiteshVerma14/Curd-Project
94c718bbf6055a80a15c2b3d265743833c59c0bd
67cc5a24121d930144f70c1d37ced19cf373534d
refs/heads/main
2023-08-16T04:46:21.007254
2021-10-07T06:25:35
2021-10-07T06:25:35
414,481,384
0
0
null
null
null
null
UTF-8
Python
false
false
234
py
from django.contrib import admin from . models import * # Register your models here. class addNewStudent(admin.ModelAdmin): list_display =('id','name','email','password') admin.site.register(add_new_student,addNewStudent)
[ "noreply@github.com" ]
RiteshVerma14.noreply@github.com
d9b27ca343e10170046a3a51a3e7e755e6f6f5d7
8ce29f7ca669c23ed8a43d33eee3e98be99afbf7
/__init__.py
6f3ef0bd5d0451e2ac49f36d2ce942887efd701a
[]
no_license
agatapouglof/odoo_School-test
b90a1ae1cd897c90dfb57dee0a928a9f55dd73ab
cc38d66fa184d8587e7aabaf59fc038ef7e646c3
refs/heads/master
2021-09-03T05:17:49.064803
2018-01-05T22:45:44
2018-01-05T22:45:44
109,565,473
0
0
null
null
null
null
UTF-8
Python
false
false
143
py
from models.etudiant import Etudiant from models.filiere import Filiere from models.prof import Prof import models # from . import controllers
[ "nougbeledaniel@gmail.com" ]
nougbeledaniel@gmail.com
1d5ddbfb0208bbfbe3476836bc36ffcbcaf23476
6d59b155bcf3a61ff677d8ca103215af20ba40cd
/web_testing/04/04_scrollbar.py
a050cdfc423e1452816891f315f3d7baab430110
[]
no_license
lilgaage/lilgaage_scripts
1c82ba869e637a5971215b2eb084f3b2e9a4b954
9108f821c634ffae05423083b9330281f3ae5a57
refs/heads/main
2023-08-20T13:01:48.670270
2021-10-21T09:16:15
2021-10-21T09:16:15
419,627,782
0
0
null
null
null
null
UTF-8
Python
false
false
524
py
from selenium import webdriver from time import sleep driver = webdriver.Chrome() driver.maximize_window() driver.get("https://www.offcn.com") # 滚动条处于中间位置 js3 = "window.scrollTo(0,3000)" driver.execute_script(js3) sleep(2) # 滚动条处于顶部 js2 = "window.scrollTo(0,0)" driver.execute_script(js2) sleep(2) # 滚动条处于...
[ "noreply@github.com" ]
lilgaage.noreply@github.com
8b4d6cc9e6417a7445d18c9f96d953bdcd1a47bf
47ea5b76010972ed3181a2ccad68cf8c9b40b9e2
/main.py
f3b26e22b261134d6957fb4a4c0a43b09b307c01
[]
no_license
ChinmoyJyotiKathar/Virtual_Interview
b9a3634e9fa131260448d88e5ff0e1207726370c
8d533b2fa006e157b1dc90c5a89a8c6de580c0d2
refs/heads/master
2021-07-11T16:12:01.887247
2017-10-06T15:59:09
2017-10-06T15:59:09
106,022,555
0
0
null
null
null
null
UTF-8
Python
false
false
5,057
py
#!/usr/bin/env python3 import speech_recognition as sr from os import system from textblob import TextBlob from textblob.classifiers imp...
[ "c.kathar@iitg.ernet.in" ]
c.kathar@iitg.ernet.in
4170b7cfe9ae4a5a1d28597c35636cff1d655ce1
957238b2a08f7cce83a46961eaaae8626d9db380
/cleardb.py
dcf367b68f22176c22a660bfb6a8eaf2c669b898
[]
no_license
garnetgrimm/GABraunMessanger
e3922ac6fe35ec395a62d8fef0c5eb2581f32948
0f9299c35e85dff16a0965ea948d33ab3f585bab
refs/heads/master
2022-04-14T00:22:35.553828
2020-04-14T22:23:23
2020-04-14T22:23:23
255,740,905
0
0
null
null
null
null
UTF-8
Python
false
false
111
py
import server import os server.db.drop_all() server.db.create_all() print("db cleared") os.system("pause")
[ "epicishness@live.com" ]
epicishness@live.com
a223bea87e727fe2a3930553e4a11331f0f6186c
696ae6173e8544d92e72647fbc492ab6a9b28e51
/manage.py
083e1e26a29fbfd997f0cba5a35dd8e5c0e78958
[]
no_license
edgar-sebastian-94/Fase2CastilloBarrera007D
c813243cbf7307268c2b700b3c67e31611a4aa3d
59ec1fe33fd496d626f561d1b4836b488ef127ec
refs/heads/main
2023-01-19T04:44:36.430554
2020-12-01T02:22:46
2020-12-01T02:22:46
309,462,339
0
0
null
null
null
null
UTF-8
Python
false
false
668
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'MusicosChile.settings') try: from django.core.management import execute_from_command_line except...
[ "edgar94_sebastian@hotmail.com" ]
edgar94_sebastian@hotmail.com
a306e6da674cceb60a3eb68737a7393f69411aaf
7d7a9baf6d3bf4a471fa41ddd86db5210f6fc5bf
/thinkplot.py
68360da72414739f61152cd0e8059a35e48bac78
[]
no_license
mittonface/datascience
172663b7abbef16ccf853ac01c6d59b81eda81c6
f18e083b356bc31501176495437a5488b5e3b2f7
refs/heads/master
2016-09-05T09:09:15.837874
2014-09-24T18:50:38
2014-09-24T18:50:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,941
py
"""This file contains code for use with "Think Stats", by Allen B. Downey, available from greenteapress.com Copyright 2014 Allen B. Downey License: GNU GPLv3 http://www.gnu.org/licenses/gpl.html """ from __future__ import print_function import logging import math import matplotlib import matplotlib.pyplot as pyplot ...
[ "brent.mitton@gmail.com" ]
brent.mitton@gmail.com
a7d2a235ea6e49e5cb3cfec57704cd6952825467
84c9a6fb5e18741f14a55d0d737e2a556383770d
/venv/Lib/site-packages/w3af/core/data/misc/response_cache_key.py
14d57dbdfc5945b3463fb0df2398082606620c5c
[]
no_license
AravindChan96/Vulcan
638a1db2f84df08bc50dd76c7f142014d529fbec
5548a6f36f04108ac1a6ed8e707930f9821f0bd9
refs/heads/master
2022-11-05T15:05:54.224578
2020-06-19T20:44:14
2020-06-19T20:44:14
273,396,348
1
1
null
null
null
null
UTF-8
Python
false
false
4,841
py
""" response_cache_key.py Copyright 2019 Andres Riancho This file is part of w3af, http://w3af.org/ . w3af is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation version 2 of the License. w3af is distributed in the ho...
[ "aravindchan.96@gmail.com" ]
aravindchan.96@gmail.com
45557265dd394c810a14f3635467179f9dbd3b59
e63b3dcc294ee227759473b2f47335548abf469a
/basic1/unit_testing.py
6dc7e2438e208a77534e6380ac9de20e81867617
[]
no_license
bhuvinisar/pythonProject1
e54fe607e0974da70c6e2645483ce609e19cfba0
adaaad21af8979c0ddbbf27348afacb9de2ae21c
refs/heads/master
2023-06-24T13:35:50.293014
2021-07-24T09:36:46
2021-07-24T09:36:46
389,055,313
0
0
null
null
null
null
UTF-8
Python
false
false
1,548
py
import unittest class TestStringMethods(unittest.TestCase): def setUp(self): """ Method called to prepare the test fixture. This is called immediately before calling the test method :return: """ print("Setup Method Called") def tearDown(self): """ ...
[ "bhuvikoki1912@gmail.com" ]
bhuvikoki1912@gmail.com
408a542f5e6b3ab351f472104ea2d90a8dcde2af
60b67cdd1c85ccd6a39a2f0b1406dbf9f118efea
/startup.py
dbe8369735c8fcb354f5ed8653cc0448aad59db0
[ "BSD-3-Clause" ]
permissive
JohnCoogan/adxl345-python
b4777f8915b8b4fd2a9a87ccd30d22e9c87219c7
e5bd7235c4a4026ecdfe9e6c0208e6928ed8afd5
refs/heads/master
2021-01-14T08:26:41.715169
2014-09-24T07:45:02
2014-09-24T07:45:02
24,397,508
0
1
null
null
null
null
UTF-8
Python
false
false
789
py
import os import sys from datetime import datetime from pytz import timezone import pytz import pymongo def post_status(): date_format='%Y-%m-%d %H:%M:%S' utc_date = datetime.now(tz=pytz.utc) local_date = utc_date.astimezone(timezone('US/Pacific')) local_str = local_date.strftime(date_format) pas...
[ "coogan.johna@gmail.com" ]
coogan.johna@gmail.com
21ed8fb655c96dd4b06b65865b071a07bf9d5dc1
efad772c1da5220a8dc26583b808abdc7b23617c
/TicTacToePlayingComputer/computer_player.py
31d8feb4d31d5f8197c31ea402bf14383422ad66
[ "MIT" ]
permissive
tdhris/Algorithms
016f605753821c415a0a0f5a4a497797052d5dc1
4aeaa2d8610613957f61060ef1d812c6580a9fa5
refs/heads/master
2021-01-01T05:51:38.325779
2015-02-13T18:32:00
2015-02-13T18:32:00
20,029,279
0
0
null
null
null
null
UTF-8
Python
false
false
2,715
py
from game import Game from move import BestMove from copy import deepcopy WIN = 1 LOSE = -1 TIE = 0 NINFINITY = - 10000 INFINITY = 10000 INITIAL_DEPTH = 100 def computer_move(game, computer_player): return alpha_beta_minimax(game, computer_player).move """Minimax Algorithm assumes that at each step: * Maxima...
[ "tdhristova@yahoo.com" ]
tdhristova@yahoo.com
4a30a31efe5e3354243d6ad81590c7facc85974d
28b32dc98255ef4e066f021d4da0405cdfdbaf20
/L9/loadMovieList.py
df762d966bd130197b4ff3573958bb190a6ef13d
[]
no_license
NikitaKudin/ml
4fc72804288eaf7fff682eb04bd01d152ab12636
b56b20eaa327d764bae24c35459b1c5405cce97d
refs/heads/master
2020-09-20T10:37:01.339721
2019-11-27T15:06:27
2019-11-27T15:06:27
224,452,564
1
0
null
null
null
null
UTF-8
Python
false
false
635
py
def loadMovieList(): #GETMOVIELIST reads the fixed movie list in movie.txt and returns a #cell array of the words # movieList = GETMOVIELIST() reads the fixed movie list in movie.txt # and returns a cell array of the words in movieList. ## Read the fixed movieulary list with open("movie_i...
[ "noreply@github.com" ]
NikitaKudin.noreply@github.com
dac7e505f582598df1f8fc97cb9013ed86ce288b
098e16aa14b362d44d3b2c3f2726ec544052956d
/catalog/tests/test_views.py
9617bd01aab2ad5b69f0455e541f7b0f9bfa5a33
[]
no_license
pavlenk0/my-catalog
e026997fbebe1a134de41e2d0630473d3c9b15b8
32cac600b47bb27ea7df5e2c99a4603a942aeee5
refs/heads/master
2020-05-22T02:25:44.220445
2017-03-18T11:07:16
2017-03-18T11:07:16
84,659,921
0
0
null
null
null
null
UTF-8
Python
false
false
15,367
py
import datetime from catalog.models import Author, Book, BookInstance, Genre, Language from django.contrib.auth.models import \ Permission # Required to grant the permission needed to set a book as returned. from django.contrib.auth.models import \ User # Required to assign User as a borrower from django.core...
[ "noreply@github.com" ]
pavlenk0.noreply@github.com
07ea445d9d660a88c24287a6baf5cdcc3c48e651
cc22bc2cb1ce901eebbbae599a35738e78505341
/dummy-web-server.py
615474aa9b2b3174f702f817ebeb84607e2d1468
[]
no_license
aairon/python-webservice
e38c487ea18076cf117c8d5997b41421bc197aa6
81b288ba733c35ada0b46d393d73612d7ce073d3
refs/heads/master
2020-05-15T13:54:17.892577
2019-04-20T22:53:57
2019-04-20T22:53:57
182,316,842
0
0
null
null
null
null
UTF-8
Python
false
false
3,015
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Very simple HTTP server in python. Usage:: ./dummy-web-server.py [<port>] Send a GET request:: curl http://localhost Send a HEAD request:: curl -I http://localhost Send a POST request:: curl -d "foo=bar&bin=baz" http://localhost """ from BaseHTTPSe...
[ "adschaum@sherwin.com" ]
adschaum@sherwin.com
e8e3d8de20abef556139aa2fe44ad71d69297b8a
ba3231b25c60b73ca504cd788efa40d92cf9c037
/nitro-python-13.0.36/nssrc/com/citrix/netscaler/nitro/resource/config/lb/lbvserver_dospolicy_binding.py
c16c8f0e9fb625627902597e36abce766c98e1f5
[ "Apache-2.0", "Python-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
zhuweigh/vpx13
f6d559ae85341e56472e3592cbc67062dac34b93
b36caa3729d3ca5515fa725f2d91aeaabdb2daa9
refs/heads/master
2020-07-04T22:15:16.595728
2019-09-20T00:19:56
2019-09-20T00:19:56
202,435,307
0
0
null
null
null
null
UTF-8
Python
false
false
6,292
py
# # Copyright (c) 2008-2019 Citrix Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License") # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
[ "zhuwei@xsky.com" ]
zhuwei@xsky.com
bda72a45c56ce6b1c4ea927d9a8567f2951fdb18
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_sobers.py
86f6f5f194a353070e1f9fe678676c2bc8cd808f
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
218
py
#calss header class _SOBERS(): def __init__(self,): self.name = "SOBERS" self.definitions = sober self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['sober']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
2daa6a81d0cd0f64c95008466e9adec9e4b1254b
a7b72ecc1f4b72bcb0949c767cde6380847e0510
/kejia_simulator/we_python_sm/src/opt_action_putdown.py
0a00e15e33ced1209bf17a24823961de6f4f66b1
[]
no_license
cuigw1/simulation
00c68eb5e813aa9e902ceb39d6986824dfcfbd97
f591c830c52bdc697ffececf99bc39f561672d9e
refs/heads/main
2023-01-23T14:08:11.668923
2020-11-26T16:06:50
2020-11-26T16:06:50
313,495,316
1
2
null
null
null
null
UTF-8
Python
false
false
2,496
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from option import Option import world import rospy import util from robot import robot as device import conf class Opt_action_putdown(Option): def __init__(self): labels = ['init', 'findpos', 'prepose', 'adjustpose', 'slamgo', 'putdown', 'finish'] O...
[ "gw@guoweicuis-MacBook-Pro.local" ]
gw@guoweicuis-MacBook-Pro.local
e4eb072d8f1eeaaa4cdf7f001effd5d4efd96d64
3f84f51751c4191bb81c9df7094578461fb12a2d
/AtcoderProblems/ABC/ABC063/C.py
a0d1edc24569a3ff1337dee5f6488331c804eeb4
[]
no_license
rikukawamura/atcoder
7ff49f1bd8534b99d87fe81ef950e1ba77eee8b8
09c0cfe3ce25be56d338614a29e996f4106117cd
refs/heads/master
2023-08-13T21:21:19.058219
2021-09-28T10:02:42
2021-09-28T10:02:42
329,206,601
0
0
null
null
null
null
UTF-8
Python
false
false
661
py
import pdb import itertools N = int(input()) S = sorted([int(input()) for _ in range(N)], reverse=False) non_ten = [] ten = [] for s in S: if s % 10 == 0: ten.append(s) else: non_ten.append(s) ten = sorted(ten) non_ten = sorted(non_ten) total = sum(ten)+sum(non_ten) ''' 1. 総合点が10の倍数且つ,10の倍...
[ "49993650+rikukawamura@users.noreply.github.com" ]
49993650+rikukawamura@users.noreply.github.com
1e1ef944556644234b01de801bc01eac0e0e4c2e
48637665afeacae58d99e5203524ed8f2313d649
/drawBot/context/gifContext.py
2beff8238f2b3c31daaab1128958396ab581b1af
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
bitforks/drawbot
35853a63d2d685cda7789d2dc3ca812bad0cc6d0
e66f12cf1a4fdd412d27d3b9f36092112b6cbd4f
refs/heads/master
2021-01-20T16:44:45.084558
2015-09-17T14:40:19
2015-09-17T14:40:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,383
py
import AppKit import Quartz import os import tempfile import subprocess from imageContext import ImageContext gifsiclePath = os.path.join(os.path.dirname(__file__), "tools", "gifsicle") if not os.path.exists(gifsiclePath): gifsiclePath = os.path.join(os.getcwd(), "tools", "gifsicle") class GifContext(ImageCont...
[ "frederik@typemytype.com" ]
frederik@typemytype.com
81184cdde6754b655bd026af3681dda6241021c4
f751c9fe5d0d485f46e28d71f6f5c0418ae3b5a3
/rfIfReaderTest.py
12dbc27586c17814657849e60b6a2ee42aa59cec
[ "CC0-1.0" ]
permissive
neueda/voting-machine
ef808d488b124af874641eabe2ba14f8590dd2bf
e06b92f654e8926b5bfda08cfbdca56bf5d15f65
refs/heads/master
2020-03-28T19:05:01.693755
2015-06-05T14:43:40
2015-06-05T14:43:40
35,207,640
0
0
null
null
null
null
UTF-8
Python
false
false
298
py
import unittest import rfIdReader class RfIdReaderTest(unittest.TestCase): def test_format(self): to_format = ' 19272FA912,.!\r' formatted = rfIdReader.format_input(to_format) self.assertEqual(formatted, '19272FA912') if __name__ == '__main__': unittest.main()
[ "sergey.ishchenko@neueda.com" ]
sergey.ishchenko@neueda.com
64d1d2b1b37b4026b3e815a6043a6385271dd400
ba497e08eceb3241856a96afb77db2768c99802a
/gansht_server/gansht_server/scripts.py
c76620ceb5ac85be287a7ca472754d12a25a75c5
[]
no_license
leonardocarvalho/gansht
3bbff05f99edd7d5c9f1b86cf7c67c891d2bb486
8632c7b222b0bcafdf26073c38298b4c3bb95e76
refs/heads/master
2021-01-22T10:07:37.334664
2012-12-30T01:01:49
2013-10-18T09:35:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
179
py
from gansht_server.models import user from gansht_server.models import repository def add_user(username, password): repository.user.save_user(user.User(username, password))
[ "leonardo@geekie.com.br" ]
leonardo@geekie.com.br
4c9be75decb4839498b7b34404609eb5443e30a9
94a6434269f2148006c86ff99fc0211d08fd1223
/plugins/cloudify-fortinet-plugin/fortigate/config.py
5e8870bfb40def791b0bcd68f3ed1014c3a56e15
[ "Apache-2.0" ]
permissive
thomnico/multicloud-fortigate-nfv-blueprint
17f8714403c67e2785909b22ea3c50fb8b0045a8
3d6a51225839d0b97122b7866e9cfe6d4dfbb414
refs/heads/master
2021-05-03T10:44:20.015181
2017-05-10T16:14:38
2017-05-10T16:14:38
69,953,032
0
0
null
2016-10-04T10:00:14
2016-10-04T10:00:14
null
UTF-8
Python
false
false
6,842
py
# ####### # Copyright (c) 2016 GigaSpaces Technologies Ltd. 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 # # Unles...
[ "earthmant@icloud.com" ]
earthmant@icloud.com
8ee25d457d74e3e63a2e9f758f67dca435c52ee9
7cad76f158dafa87976b5170aa9bda3336495963
/fencingEngine.py
8b7d086849a7734c97028c2995f6030032d761be
[]
no_license
wadelu/fencing
9250bb82f3991303e8dccdc91254480046987419
a528ae7d48b21d10d2e4db51a9dbd78a7763354b
refs/heads/main
2023-04-24T09:04:02.053720
2021-05-12T00:17:30
2021-05-12T00:17:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,621
py
from math import sqrt import subprocess import shlex import shutil import os import numpy as np import cv2 import json import glob BODY_PARTS = [ "Nose","Neck","RShoulder","RElbow","RWrist", "LShoulder","LElbow", "LWrist", "MidHip", "RHip","RKnee","RAnkle","LHip", "LKnee","LAnkle","REye","LEye", "REar", "L...
[ "noreply@github.com" ]
wadelu.noreply@github.com
50899501d48aefbf8069736a20d4adf832d5c014
195f19578f3eea3f8c3e3a780655ce2f8dd009d0
/caixa_racional/views.py
11f834c7fb9fdce95b8fa501e59832eee8e6a44b
[]
no_license
osmarsalesjr/TheBeeFreshTeam
5b68c26d413940badc0814fb5c4cfc953b4fb695
9ca839083d903236054a813b265b0d09f34cb288
refs/heads/master
2022-12-17T11:22:30.482340
2019-07-14T00:11:50
2019-07-14T00:11:50
194,682,998
0
0
null
2022-12-08T01:47:50
2019-07-01T13:57:06
Python
UTF-8
Python
false
false
1,240
py
from rest_framework.response import Response from rest_framework.reverse import reverse from rest_framework import generics from caixa_racional.models import Temperatura, BaseDeDados from caixa_racional.serializers import TemperaturaSerializer, BaseDeDadosSerializer class TemperaturaList(generics.ListCreateAPIView):...
[ "osmarsalesjr@gmail.com" ]
osmarsalesjr@gmail.com
5ca637eb2ebfb7ed1a6f2ba5d043a4f944c62dc9
8ff12c53e31f134b9f39f59b9a6f7d4f9142cea7
/src/if.py
e048368b8880f8521d2dce9ee91380e173b38b8e
[]
no_license
quhuohuo/python
5b0a80dbec7d22a0b274e4a32d269e85d254718c
5732c5974519da8e8919dab42b36ab0ab2c99b37
refs/heads/master
2021-06-13T11:41:12.356329
2017-04-07T08:58:05
2017-04-07T08:58:05
75,054,981
0
0
null
null
null
null
UTF-8
Python
false
false
94
py
#!/usr/bin/python #coding=utf-8 #简单的if语句 a = input() if a > 0: print "a > 0"
[ "813559081@qq.com" ]
813559081@qq.com
f301ba900ddb00e3ac26827d12d71ad827d3a5fe
99827f6b1c32bd0399c7caafe23c6725edd74d82
/linear_forward.py
d55a27071f5d0c755fef09557ee2e47ed711b1c1
[]
no_license
nguyenlinhvn512/Deep-Neural-Network-for-Image-Classification
fe88666be0be2b8cb074a9fec9dc526485f490fe
5d6ea7f2cf1f43af9eac5766e640b10a831204b1
refs/heads/main
2023-01-28T19:51:03.800054
2020-12-08T22:13:05
2020-12-08T22:13:05
319,773,657
0
0
null
null
null
null
UTF-8
Python
false
false
876
py
# GRADED FUNCTION: linear_forward def linear_forward(A, W, b): # """ # Implement the linear part of a layer's forward propagation. # Arguments: # A -- activations from previous layer (or input data): (size of previous layer, number of examples) # W -- weights matrix: numpy array of shape (...
[ "noreply@github.com" ]
nguyenlinhvn512.noreply@github.com
d7b25aec513b656f9d7cd0602a4c83da8289ac1a
91b07d2c7662d862a12f4cf1b390ab3db6f246e7
/mail/util.py
de25ba712ca88b4bdcc9a18fc35342bacdef8c51
[]
no_license
kartikeychoudhary/modules
6b26228a31f4108e5a84b8f801e315a75b58db4c
bca9325b753f74c0c0e946e73b3feb334e1a590a
refs/heads/master
2020-09-21T05:44:36.057909
2019-11-29T11:58:04
2019-11-29T11:58:04
224,699,175
0
0
null
null
null
null
UTF-8
Python
false
false
878
py
import configparser import getpass import os CURRENT_PATH = os.getcwd() def createFile(config): username = input("Enter the username\n") password = getpass.getpass(prompt='Password: ', stream=None) config['CREDENTIALS'] = {'username':username, 'password':password} with open('config.ini', 'w') as file:...
[ "31shavy@gmail.com" ]
31shavy@gmail.com
e0069151847d0d09f9ad60a5a5d0b65200219968
7364f67ec30af26e02cf894124a60478fdb56df7
/make_plot.py
1a6f1bf02180fc24f9f1df327b547b1d9b144f93
[]
no_license
RaymondSimons/clear_local
b5430bbaf198654b190f7e41f261337389b6a209
dd5dfbabd0149ef8323750a887640407dc6d1477
refs/heads/master
2021-06-15T08:14:42.452049
2021-02-24T15:47:00
2021-02-24T15:47:00
147,576,608
0
0
null
null
null
null
UTF-8
Python
false
false
13,208
py
import numpy as np from matplotlib.backends.backend_pdf import PdfPages from astropy.io import fits, ascii from astropy.coordinates import SkyCoord import astropy.units as u import matplotlib as mpl from astropy.cosmology import Planck15 as cosmo import matplotlib.pyplot as plt from numpy import * import glob from glo...
[ "rsimons@jhu.edu" ]
rsimons@jhu.edu