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
64ef15aa9833461b1f25f505c168455a8f173109
551b75f52d28c0b5c8944d808a361470e2602654
/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/exception_handler.py
b46aae37213ad3737b9bf055908ce5cec95f6893
[ "Apache-2.0" ]
permissive
wuchen-huawei/huaweicloud-sdk-python-v3
9d6597ce8ab666a9a297b3d936aeb85c55cf5877
3683d703f4320edb2b8516f36f16d485cff08fc2
refs/heads/master
2023-05-08T21:32:31.920300
2021-05-26T08:54:18
2021-05-26T08:54:18
370,898,764
0
0
NOASSERTION
2021-05-26T03:50:07
2021-05-26T03:50:07
null
UTF-8
Python
false
false
735
py
# -*- coding: utf-8 -*- import json from huaweicloudsdkcore.exceptions import exceptions class OcrError: def __init__(self, request_id=None, error_code=None, error_msg=None): self.error_msg = error_msg self.error_code = error_code self.request_id = request_id def handle_exception(response...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
942c655e58d73dde9ae99716cf595cb6834b8b8d
377b67bce932cfcd5959c0cb57a10c01455b9cba
/basic/Deep_learning/1_Multi_Linear_Regression.py
15d3c6f9456e081ebf24f8b914506dcee6e59bd8
[]
no_license
llmooon/deep_learning
d9103ed132e6723b5c411d72fbf55ab6bb7248e7
62f7ff86713aa17d895a080647922b68f4498a84
refs/heads/master
2020-03-21T20:34:30.369936
2018-07-09T15:18:27
2018-07-09T15:18:27
139,015,678
2
0
null
null
null
null
UTF-8
Python
false
false
934
py
import tensorflow as tf data=[[2,0,81],[4,4,93],[6,2,91],[8,3,97]] x1=[x_row[0] for x_row in data] x2=[x_row[1] for x_row in data] y1=[y_row[2] for y_row in data] #임의의 기울기 2개와 y절편 a1=tf.Variable(tf.random_uniform([1],0,10,dtype=tf.float64,seed=0)) a2=tf.Variable(tf.random_uniform([1],0,10,dtype=tf.float64,seed=0)) b=...
[ "llmooon@naver.com" ]
llmooon@naver.com
59e1fe83c4d3f50f8cc31af03cd5b3fffbb70f64
7180d8bf660ba23c89756a74a7004bedafaf1ba6
/pelicanconf.py
b4038768d4ab3b06f163544f15a0831361d0c8c5
[]
no_license
hkilter/pelican
4821dd33d9726696d55ca1b52adbcb54d88f89df
62254615210dfc8336c6ebd9951ae8a1ab4bea4f
refs/heads/master
2020-04-06T11:30:47.638929
2014-09-24T16:54:12
2014-09-24T16:54:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
802
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # from __future__ import unicode_literals AUTHOR = u'hkilter' SITENAME = u'Oculus Minimal' SITEURL = '' TIMEZONE = 'Europe/Paris' DEFAULT_LANG = u'en' # Feed generation is usually not desired when developing FEED_ALL_ATOM = None CATEGORY_FEED_ATOM = None TRANSLATION_FEE...
[ "kilter@gmail.com" ]
kilter@gmail.com
16bf46feda3af2e97495730845b7c5be463ed608
305302cdbc079ea399fd3aa5600f0d72211154fe
/zadanie.py
f3b6ea638fa8401dfdc8474936b585f51b20e845
[]
no_license
Alkagdy/dzien7
499f991fd0802dab702cd1d78ae0079e2121eaa0
056efd7139dade8101f2bb5c4550515518afe40c
refs/heads/master
2021-01-20T02:13:25.490546
2017-04-25T18:30:13
2017-04-25T18:30:13
89,393,721
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
def kwadrat(a): return a**2 def main(): print(kwadrat(45)) print(kwadrat(10)) if __name__ == '__main__': main()
[ "Alka@MacBook-Pro-Alicja.local" ]
Alka@MacBook-Pro-Alicja.local
6bbb769b59ec6a5d09ace3b580e7a39e60f2cbc9
b06bceb8fdc24e0c890fb2201c535cb660a94f86
/onmt/data/lm_dataset.py
e3343bb25fb5adc705d16054b56fbc5b0f214cc0
[ "MIT" ]
permissive
quanpn90/NMTGMinor
7f294b40763b3f586d34ef4985799b851052f2ed
5e1e424d0d9c2135a456e372a2ea9ee49de5bd2c
refs/heads/master
2023-08-22T14:53:31.420276
2023-08-21T08:26:49
2023-08-21T08:26:49
116,663,163
92
39
NOASSERTION
2023-07-31T15:07:35
2018-01-08T10:33:56
HTML
UTF-8
Python
false
false
4,860
py
from __future__ import division import math import torch import torch.utils.data from collections import defaultdict import onmt from onmt.data.dataset import Dataset class LanguageModelBatch(object): def __init__(self, data, target, lang, **kwargs): self.data = data self.target = target ...
[ "quanpn90@gmail.com" ]
quanpn90@gmail.com
3845527f458f903a07ae00093c52603ef3adb0d0
fa3e41c5e9624528cf3cae20edfc5e520e16872b
/ResNet/convert_binaryproto_to_npy.py
ea504924cb4f0fdea6bcbf2495e2d1b4f6f497fc
[]
no_license
striversist/CaffeDemo
91381f918f4fca5f8e015d4fc1ebcc6614838520
79a390e1a2cc2570230b35a67552c049ca46aa5a
refs/heads/master
2020-05-21T20:23:20.658513
2017-01-13T08:20:31
2017-01-13T08:20:31
61,622,310
0
0
null
null
null
null
UTF-8
Python
false
false
364
py
import sys import caffe import numpy as np if len(sys.argv) != 3: print "Usage: python convert_protomean.py proto.mean out.npy" sys.exit() blob = caffe.proto.caffe_pb2.BlobProto() data = open(sys.argv[1], 'rb').read() blob.ParseFromString(data) arr = np.array(caffe.io.blobproto_to_array(blob)) o...
[ "aarontang@tencent.com" ]
aarontang@tencent.com
37eca410a0cb75cb3f171e0dc30329f710460e8a
d5e7b25b15c4da602496a6782bc2e0a9ab22c13e
/Linear-Regression-learnings/code.py
4347badfef85aa924009b81e5506c81393d1e5e0
[ "MIT" ]
permissive
virbak/ga-learner-dsmp-repo
b525f73b5aca5f59b281f3e25a0d2fcf09e4c3e2
b2e5795490e786e58e4868e138e14d5dc59d4506
refs/heads/master
2020-07-29T19:44:19.052961
2019-12-02T17:15:47
2019-12-02T17:15:47
209,937,036
0
0
null
null
null
null
UTF-8
Python
false
false
1,672
py
# -------------- import pandas as pd import numpy as np from sklearn.cross_validation import train_test_split # code starts here # read the dataset df = pd.read_csv(path) # print first five columns print(df.head()) # store independent variable X = df.drop('list_price',axis=1) # store dependent variable y = df['list...
[ "virbak@users.noreply.github.com" ]
virbak@users.noreply.github.com
b5df026cf1bb919ae0e7c8da3d9edbd5ea4b2029
2a72396c7be0327fde7931842af563e794111814
/code/server/LPMC_DC_L/LS-ABS_hybrid.py
225ac96ff3817d6272ef19a467df6166cd1149eb
[]
no_license
transp-or/HAMABS
fad50f4a71a0d181e7e2d52eddd39318a907e9e0
e5c3a83227a24b8b7bf0ab3cd4375f945dbc04a9
refs/heads/master
2022-11-14T13:33:43.188746
2020-06-26T09:36:06
2020-06-26T09:36:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
857
py
import sys sys.path.append("../..") import os import time import json from algos import OptAlg from models import LPMC_DC data_folder = '../../../data/' if __name__ == "__main__": if not os.path.exists('./results'): os.makedirs('./results') print("Train LPMC_DC_L with LS-ABS and hybrid") mod...
[ "gael.lederrey@epfl.ch" ]
gael.lederrey@epfl.ch
e14c49cc36b55766fb5df36ed5783caaf593a9d3
8c2c364d045c10c7aeb23a14acdf4cb817f78ea4
/cartpage/migrations/0001_initial.py
1ac40cb36f83d471a1abb9630e033f4c7b1fd158
[]
no_license
TokaMohamedNaguib/Merchandise
b8b4c793a14cf8dfbe34b3a46500c238dc90adf2
e4c92fba04fb2a9eb9ad3e6441d03f344ace6311
refs/heads/master
2020-05-20T09:23:51.374190
2019-05-08T17:37:32
2019-05-08T17:37:32
185,499,498
0
1
null
null
null
null
UTF-8
Python
false
false
635
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2018-02-01 15:19 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='cartpr...
[ "tokanaguib96@gmail.com" ]
tokanaguib96@gmail.com
69045b2f94373b3f62d35cf786d010a5b2b9e5cf
75816efa9d732ba18119125d7a3ad6739b60e9a5
/Projects_2019/CodyStClair/phono.py
a22f349eacd854aa34c23a9245c2b49a6a598191
[]
no_license
stonybrook-lin537-f19/main
4ac17bb273d95cb9016ed2859b7e7f5c581ca853
d4c7b34c38c04e51e888666ff9cda2a9c3e7d22c
refs/heads/master
2020-07-01T06:27:51.002616
2019-12-13T16:12:11
2019-12-13T16:12:11
201,075,015
5
11
null
null
null
null
UTF-8
Python
false
false
1,594
py
import nltk import re vowels = r'(A[AEHOW(XR?)Y]|E[HRY]|I[HXY]|O[WY]|U[HWX])' stress = r'1$' pronunciations = nltk.corpus.cmudict.entries() _is_vowel = lambda x: re.search(vowels, x) _count_vowels = lambda x: len(list(filter(_is_vowel, x))) syllable_counts = {item[0]: _count_vowels(item[1]) for item in pronunciatio...
[ "loisetoil@gmail.com" ]
loisetoil@gmail.com
a7b621632a521a984155e4cdce2f7616738dc050
17ac5164a947160463d25a4d9c20c18bdc6e6307
/pyUSID/io/hdf_utils/base.py
f8841f30d20b7110fafef3086079215dce1a0106
[ "MIT" ]
permissive
pycroscopy/pyUSID
ad398425ba4763cc11e5d8e4c4f3874d8d1bf85c
253181a7b63deeb8d80ef2c885b9d09a57ae592b
refs/heads/main
2023-09-03T16:36:52.442100
2023-08-24T16:04:38
2023-08-24T16:04:38
138,171,750
27
19
MIT
2023-08-18T21:21:14
2018-06-21T13:08:33
Python
UTF-8
Python
false
false
3,166
py
# -*- coding: utf-8 -*- """ Simple yet handy HDF5 utilities, independent of the USID model Created on Tue Nov 3 21:14:25 2015 @author: Suhas Somnath, Chris Smith """ from __future__ import division, print_function, absolute_import, unicode_literals import sys import h5py from sidpy.hdf import hdf_utils as hut from...
[ "14300780+ssomnath@users.noreply.github.com" ]
14300780+ssomnath@users.noreply.github.com
ec80ffe6c08e55853f0b4eafcb7891a4b609dc1e
f52c121da03c427a7b1a4f70d6c6d379869f338e
/scripts/runExpression.py
cbba308a445e21f5d0248347241a83c61811c79f
[]
no_license
orianna14/cgat
7975e5cb8d907f2c83236a6e926d7f4230eb6788
7494d17f0a9e3f2333483426aef2c163f3fee0b1
refs/heads/master
2021-01-22T11:11:24.509030
2015-01-09T11:16:25
2015-01-09T11:16:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,672
py
'''runExpression.py - wrap various differential expression tools ============================================================= :Author: Andreas Heger :Release: $Id$ :Date: |today| :Tags: Python Purpose ------- This script provides a convenience wrapper for differential expression analysis for a variety of methods. ...
[ "andreas.heger@gmail.com" ]
andreas.heger@gmail.com
27ee7694a64807b71ffa51190abca70a4d5290d7
c6674aada63ecb0c8bbb2762b48b0c8ab37f1997
/31/app.py
86b31253462ad3b9cfc826a0f0f7f2b3d0c12383
[]
no_license
alexdmejias/python-the-hard-way
bbd8c5c6ac355e30fcc4f2c2dbed65b66beb73f4
538ca9070503bbbbe776d028734b392d97c1b0b1
refs/heads/master
2021-01-21T03:44:40.640881
2016-04-06T03:34:46
2016-04-06T03:34:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
994
py
print "you enter a dark room with two doors. Do you go through door #1 or door #2?" door = raw_input("> ") if door == "1": print "There is a giant bear here eating a cheese cake. What do you do?" print "1. Take the cake" print "2. Scream at the bear" bear = raw_input("> ") if bear == "1": print "The b...
[ "alexdmejias@gmail.com" ]
alexdmejias@gmail.com
580f60e42a3fda3eec3e6fe970d5a6a224200bab
5ec0d77eeb27171fa718614a44382493a9c04967
/BccCloudFunction.py
1cdd5e02ca1ad716194b0f4f9afa362c840d981c
[]
no_license
NiklasAbrahamsson/BacteriaColonyCounter
ecc635343a70bcb80e5be92c35dba540a69118dd
3e48d3ee034fcf75787ec92be9749e8f9b88733c
refs/heads/main
2023-03-05T08:43:00.118364
2021-02-20T14:51:11
2021-02-20T14:51:11
340,669,860
0
0
null
null
null
null
UTF-8
Python
false
false
1,982
py
import os import tempfile from werkzeug.utils import secure_filename from cv2 import cv2 def get_file_path(filename): # Note: tempfile.gettempdir() points to an in-memory file system # on GCF. Thus, any files in it must fit in the instance's memory. print('filename', filename) file_name = secure_filenam...
[ "Niklas.abrahamsson@me.com" ]
Niklas.abrahamsson@me.com
6a868cb40da1999b1282798f5152a42ade897864
c39886f291e7dd4149e52e74b8b2186f331c43ab
/model.py
968c9f515c912e9f1c8a43de18292aba71df6ecc
[]
no_license
cckl/hb-ratings-lab
5788337fab150cd2de5dbf84de8ba1c8fe2dd9db
57883624714977fa04b6ae45562b89b6de5e04d7
refs/heads/master
2020-04-21T05:30:45.890975
2019-02-08T01:55:39
2019-02-08T01:55:39
169,343,071
0
0
null
null
null
null
UTF-8
Python
false
false
3,008
py
"""Models and database functions for Ratings project.""" from flask_sqlalchemy import SQLAlchemy import correlation # This is the connection to the PostgreSQL database; we're getting this through # the Flask-SQLAlchemy helper library. On this, we can find the `session` # object, where we do most of our interactions (...
[ "no-reply@hackbrightacademy.com" ]
no-reply@hackbrightacademy.com
3de41543de12f2bd32a9a726e8ecfa6c661caaf9
1c8da8bd2c23a8388950fc098f71c5498414d57b
/tweet_task/core/helper.py
294ed7c446d71c1dfaf3b07b6008fe9a53becfd8
[]
no_license
rohitchaudhary95/twitter_es
0785d5a73926fc78f66ec759d380c72780cd923a
47843692a709fc04e6f543534ff16b3be2e1b003
refs/heads/master
2022-12-04T08:47:57.118902
2020-08-14T20:42:55
2020-08-14T20:42:55
107,984,097
1
1
null
2020-08-14T20:51:27
2017-10-23T13:12:59
Python
UTF-8
Python
false
false
513
py
from core import es from constants import ELASTICSEARCH_INDEX_NAME, PAGE_SIZE def paginated_results(query, page_no): result = es.search(index=ELASTICSEARCH_INDEX_NAME, body=query) total = result['hits']['total'] start = (page_no - 1) * PAGE_SIZE end = start + PAGE_SIZE final_result = [] if (sta...
[ "rohit.chaudhary@kuliza.com" ]
rohit.chaudhary@kuliza.com
bb386ecc26291d0e4bbc145749b90e72d385c0dd
629b11b0539a85bec065cb09ca510cc4be986c21
/src/maincv/urls.py
90574c04cfa8ad622266740e72ddbe9488dd7c86
[]
no_license
toufikswar/toufikswarcv
5e18d4ce5ec550b391597e61c9f2685d9d55d6f4
205b3566a45561eeede19ffa13d77129de7cd2a2
refs/heads/master
2020-03-18T07:00:59.022264
2019-01-10T14:11:36
2019-01-10T14:11:36
134,427,364
0
0
null
null
null
null
UTF-8
Python
false
false
716
py
from django.urls import path, include from django.conf import settings from . import views # needed for include function to work in mycv/url.py for the namespace app_name = "cv" urlpatterns = [ #path('<int:id>/view/', views.home, name="home"), #path('<int:id>/view/', views.home, name="home"), #path('<int...
[ "toufik.swar@gmail.com" ]
toufik.swar@gmail.com
1f307567c2ceee93c239c6f4898111464afc3dc0
d1855b05cf7ed0df54a9b5f50ea3da6b3ae4ca48
/pyautoguidroid-opensourceversion.py
760b930d88f49493ccdc69ef9c49a51c1de8dd76
[]
no_license
material666/link-crawler-get-all-link-from-the-link-chinese-version
fecceee641a0b35f421e819f92036709fddabacb
b419320fc0bad39bb883e67ee4c63f326982979e
refs/heads/master
2020-03-17T20:23:03.335582
2018-06-26T19:28:31
2018-06-26T19:28:31
133,906,813
0
0
null
null
null
null
UTF-8
Python
false
false
38,319
py
#!/usr/bin/env python #-*- coding:utf-8 -*- #作者:material #qq412905523 #邮箱:412905523@qq.com #author:material #qq412905523 #mail: 412905523@qq.com #次自动化最大优势在于可以多设备操作 想做一个安静的python版安卓sikuli。。(至于为啥不说按键精灵) (python应该可以打败按键) 不过现在这个还是比按键垃圾的 #源码有人想改下木有关系 #重点是大图识小图(现在是包含关系)(不是包含的我还没开源。) #还有就是对接高级的图像算法 比如找怪物 ...
[ "noreply@github.com" ]
material666.noreply@github.com
95f5b30ff0467951e97558340f5875b1253a89bb
03e4ca94ea43b2bb922d7401347c4876c591993f
/diehard_gui.py
8cb089d9360957b1ba460c037f9372f4960a20d7
[]
no_license
gowtham-the-dev/diehard-test-suite-python-with-GUI
0a681362876c9ac37ad8457a1df8e077351c9b9d
039d50d52f288a01082653b528366b549774f02a
refs/heads/master
2022-10-18T23:05:17.243692
2019-01-04T08:43:35
2019-01-04T08:43:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,486
py
import time import sys import os if sys.version_info<(3,0,0): sys.stderr.write("You need python 3.0 or later to run this script\n") exit(1) #3.X import statements from tkinter import * from tkinter import filedialog as fd filename="" class gui: def d1(self): from tkinter.filedialog import asko...
[ "43443265+Gowtham135@users.noreply.github.com" ]
43443265+Gowtham135@users.noreply.github.com
a03086e8d185e90a780d9dc83d9be21280e5c7ac
656e616315c705c54436d2d474463ce67253b091
/tests/validation_v2/storage/replica.py
a8ac9de8ca630c08a621ee32a1d482b737946eb5
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
solarsam/validation-tests
774f2b4ab536a303ecfc8705bf1734f132a78e71
53d5b12d5646a1c70e3ae47b67900ad1a855de13
refs/heads/master
2020-05-29T12:32:33.401345
2016-01-20T18:37:19
2016-01-20T18:37:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,621
py
#!/usr/bin/python import binascii import socket import struct import sys from optparse import OptionParser, OptionGroup import block_pb2 # uint32_t size:21, # type:5, # _unused:6; def compose_buf(msg): hdr = 0 # type: msg=10 hdr += (10 << 21) # size hdr += (...
[ "elrarun@gmail.com" ]
elrarun@gmail.com
e622233a1cf1989e9dbd967513f1194cebeefe18
b3d43717ff28503379c28a9007cd47d220c89f5a
/hello.py
f2eb3e4f4cd207aada962ebd64c3c1f93bd033d3
[]
no_license
insomniapx5/p1_hello
0836315d63f8692bfeff5728cf112d10487e0856
f9bac0a3e40860139782f6cd11f7d102d0f68eee
refs/heads/master
2021-07-08T18:05:00.672515
2017-10-02T20:22:23
2017-10-02T20:22:23
105,575,126
0
0
null
2017-10-02T20:27:08
2017-10-02T19:21:14
Python
UTF-8
Python
false
false
29
py
print "hello master branch"
[ "noreply@github.com" ]
insomniapx5.noreply@github.com
c51ece793051e6c8cd7d36f598d4319b91ab279e
1c16a96991805e47d30d109857638fd9c726854e
/与时俱进2/ftpsrv.py
731e4865e71dcb47c734fa7036569b9261e602c5
[]
no_license
happyu319/dbapp_ctf_201801
fd39e39d69a905cb4abb6180a5add82d4c8b1999
481898ec6f69879e60baddc6d293ab32de85f7f3
refs/heads/master
2021-09-05T04:05:24.157320
2018-01-24T02:51:31
2018-01-24T02:51:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
669
py
#!/usr/bin/env python2 # coding: utf-8 from pyftpdlib.authorizers import DummyAuthorizer from pyftpdlib.handlers import FTPHandler from pyftpdlib.servers import FTPServer #实例化虚拟用户,这是FTP验证首要条件 authorizer = DummyAuthorizer() #添加用户权限和路径,括号内的参数是(用户名, 密码, 用户目录, 权限) authorizer.add_user('ftp', 'ftp', '/tmp/ftp', perm='elra...
[ "zeng.ambulong@gmail.com" ]
zeng.ambulong@gmail.com
ab781fd5a5f18796a05241eabff779321d9cc974
2050a4143c2153a284f141e67d9105e4b3f73c24
/Deep_Learning/jkrowling.py
e58f7db2ea74527f5c36d690da55815d758c6103
[]
no_license
Nathaniel-Slyte/IRM_Courses
477b1cf0bc6cd84a7acb696f455b12ad268daad7
03f45fdb2eef7774705dcaef1c6071b77dc47aa7
refs/heads/master
2023-03-06T18:52:15.566048
2021-02-05T08:57:38
2021-02-05T08:57:38
286,991,234
14
7
null
2020-11-28T15:55:05
2020-08-12T11:03:06
Python
UTF-8
Python
false
false
4,724
py
from __future__ import annotations from dataclasses import dataclass from num2words import num2words from torch.optim import AdamW from torch.utils.data import DataLoader, Dataset from torchtext.data import get_tokenizer from tqdm import tqdm from typing import Dict, List, Set, Tuple import torch import torch.nn as n...
[ "hatiyliess86@gmail.com" ]
hatiyliess86@gmail.com
02c7b229e768abe903d076ec6bc9560a597f8fe6
3baa7a5575fb37de214fe2afac61a01e45bb39cf
/Blog/blog_project/settings.py
9cbd87a9c16b22d7e35492099359530787e85b89
[]
no_license
TheMilubi/DWES
c85ac07b392a45f2c8159e829ac3886bd8821370
1e9740d16ccbc67a8c5af60793ecd2f80937b787
refs/heads/master
2021-09-25T15:32:47.421781
2020-03-08T17:49:00
2020-03-08T17:49:00
210,787,932
0
0
null
2021-09-22T18:50:37
2019-09-25T07:56:25
HTML
UTF-8
Python
false
false
3,304
py
""" Django settings for blog_project project. Generated by 'django-admin startproject' using Django 3.0.3. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import ...
[ "TheMilubi@gmail.com" ]
TheMilubi@gmail.com
0b60b7ea4b149f6d5ba8bc8e04884d9750be9ba0
165f1e3f40df3956283348ef21e18cb9e2c76866
/Week10/VehicleRepairManager/interface/settings.py
3d77a1b37ba3c6aa3aced0c518be791a5e651421
[]
no_license
hatanasov/Programming101_Python
856a025034df1625b2ba456e3a8d1b43343b2ee1
0cd3c2fc600857f72e15c806fd3394bbc19537d4
refs/heads/master
2020-03-09T00:55:00.763659
2018-05-18T12:52:59
2018-05-18T12:52:59
128,500,141
0
0
null
null
null
null
UTF-8
Python
false
false
1,369
py
welcome_msg = "======= Hello! ========\n" welcome_to_service = "=== Welcome to Vehicle Services! ===\n=== You can choose from the following commands:" menu_options = "1 for list_all_free_hours\n\ 2 for list_free_hours <date>\n\ 3 for save_repair_hour <hour_id>\n\ 4 for update_repair_hour <hour_id>\n\ 5 for delete_rep...
[ "h.atanasov87@gmail.com" ]
h.atanasov87@gmail.com
5ce5303a0121f7f35e02441a9fa32da209ac730d
9facc2de2ea52192cd828018baa46d688e78eee3
/model/attachment_model.py
a5f86f5d3ff46ce3c197f119b8cef05d4bee8769
[]
no_license
journeyends/FlaskTest
5a785bf14e739878d3d6878903227da13188f25d
e229f6c3523248df1c27bbff4821521d2bb55d41
refs/heads/master
2020-04-22T03:52:58.840676
2019-03-22T07:30:31
2019-03-22T07:30:31
170,104,034
0
0
null
null
null
null
UTF-8
Python
false
false
339
py
from . import Base from sqlalchemy import Column, Integer, String class SiteModel(Base): __tablename__ = "attachment" id = Column(Integer, primary_key=True) key_id = Column(Integer) key_name = Column(String(20)) attach_name = Column(String(50)) attach_path = Column(String(128)) attach_size...
[ "songliyang@goldmantis.com" ]
songliyang@goldmantis.com
635d61c1b9d00eb46de3010890fb36d8affd21d5
1825283527f5a479204708feeaf55f4ab6d1290b
/leetcode/python/929/sol.py
4ca03ad9e40000368db4efd1f7ca259c8f929e90
[]
no_license
frankieliu/problems
b82c61d3328ffcc1da2cbc95712563355f5d44b5
911c6622448a4be041834bcab25051dd0f9209b2
refs/heads/master
2023-01-06T14:41:58.044871
2019-11-24T03:47:22
2019-11-24T03:47:22
115,065,956
1
0
null
2023-01-04T07:25:52
2017-12-22T02:06:57
HTML
UTF-8
Python
false
false
802
py
Python ~10 lines ~ easy to understand https://leetcode.com/problems/unique-email-addresses/discuss/254862 * Lang: python3 * Author: nicolime * Votes: 1 ``` class Solution: def numUniqueEmails(self, emails): uniques = set() # A set can not contain duplicates for email in emails: ...
[ "frankie.y.liu@gmail.com" ]
frankie.y.liu@gmail.com
65f365961dd31a1f586d01b5491d30c8738d9a8f
fab14fae2b494068aa793901d76464afb965df7e
/benchmarks/ltl_maxplus/f3/maxplus_16_6.py
11eeca15b195545bd7256527f67cd20d80219419
[ "MIT" ]
permissive
teodorov/F3
673f6f9ccc25acdfdecbfc180f439253474ba250
c863215c318d7d5f258eb9be38c6962cf6863b52
refs/heads/master
2023-08-04T17:37:38.771863
2021-09-16T07:38:28
2021-09-16T07:38:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
29,948
py
from collections import Iterable from mathsat import msat_term, msat_env from mathsat import msat_make_true, msat_make_false from mathsat import msat_make_constant, msat_declare_function from mathsat import msat_get_rational_type from mathsat import msat_make_and as _msat_make_and from mathsat import msat_make_or as _...
[ "en.magnago@gmail.com" ]
en.magnago@gmail.com
f9976fe4effc3d57123157cfa50fb63064d50e1e
a2fdc8281889aee3379e57b4147450819ffca3ef
/ewok/defaults/model.py
64c0b214fe0da49b123113ae9978ab274fcff3c3
[ "Apache-2.0" ]
permissive
HappyKian/fv3-jedi
4cada6994e6ce388253f74666e4de7df7ba55704
6b0b1806c9ac3d9262301465cb4483972e83a33f
refs/heads/master
2023-01-03T00:39:00.537721
2020-10-28T21:09:55
2020-10-28T21:09:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,998
py
import os import datetime import ewok import solo __all__ = ["fc_file", "obs_file", "r2d2_obsfile", "r2d2_anfile", "r2d2_fixfile"] def fc_file(fcout, step): fc = {} fc['date'] = fcout['date'] keys = [fcout['exp'], fcout['type'], fcout['date'], ewok.jediformat(step)] fname = '.'.join(keys) fc['fi...
[ "noreply@github.com" ]
HappyKian.noreply@github.com
63c3f98e28c00d180508917297d259500726b083
61f7c9a9a6a0b86699a9431301e062e117bba4d4
/day 6/6G.py
833a4949e03860191b8321c0299c63c973893fb6
[]
no_license
Aman-Mittal/AmanSTPython
154afb255d70778dd55aa3f9223e7f4bd4309798
aca17971f5590edeb58ab748000b28e265eb794a
refs/heads/master
2020-06-01T07:01:26.122822
2019-07-08T07:47:48
2019-07-08T07:47:48
190,689,841
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
def add(a,b,c): return a+b+c x=[1,2,3,4,5,6] y=[10,20,30,40,50,60] z=[11,22,33,44,55,66] res=list(map(lambda a,b,c: a+b+c, x,y,z)) print (res) res=list(map(add,x,y,z)) print(res)
[ "noreply@github.com" ]
Aman-Mittal.noreply@github.com
28dff4ca54efb8cc73b2ea7ac20c6237bc783965
9ac2c85de287a64105f18636caf132dcfd727ffc
/Lesson-3/00_Solution/project.py
6a065c36144c4cc38939c464d4e998d30ce13cff
[]
no_license
davidtran641/Full-Stack-Foundations
2744761f0d0910f05ec912c0d9fd213993ee7908
ddcf7b85559697049324e6e282fadf5a10b522ea
refs/heads/master
2022-07-01T12:59:57.206366
2020-05-16T17:13:12
2020-05-16T17:13:12
261,761,782
0
0
null
2020-05-06T13:08:44
2020-05-06T13:08:43
null
UTF-8
Python
false
false
3,398
py
from flask import Flask, render_template, request, redirect, url_for, jsonify from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker from database_setup import Base, Restaurant, MenuItem app = Flask(__name__) engine = create_engine('sqlite:///restaurantmenu.db') Base.metadata.bind = engine DBSe...
[ "davidtran641@gmail.com" ]
davidtran641@gmail.com
10874d0c64af265673a712938c1facd93764ad24
770989d54a53a431a9fc7b5d292c109e534176ac
/InterviewQ/reverseArray.py
bf88e0eb8a8868dd3aa95450a52f8daf6f490b40
[]
no_license
pawansingh10/PracticeDemo
7d21c9cd2007213b25ae972f22cfa08cf8ccaa40
ea6a74c12ea5964a04ceffaa2976638b4cf82a70
refs/heads/master
2022-12-09T15:31:05.428684
2020-09-02T11:00:28
2020-09-02T11:00:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
222
py
def rev_Array(arr): rev=[] for i in range(len(arr)-1,-1,-1): rev.append(arr[i]) return rev arr=list(map(int,input("Enter an Array:").split())) print("Reverse Array:",end='') print(*rev_Array(arr))
[ "pawansinghkk109@gmail.com" ]
pawansinghkk109@gmail.com
41bcafcaef04b9da2aadb08ac8fb1be12cfb70c4
4617b848dc4cb61e59d7a595654bbe69a1b50893
/Tests/T3/T3_Q6.py
f8a7f4eb66b1a1970fe552106405260c8ece68a5
[]
no_license
elliottgreen/PythonAT2021
4965af7cf36643a0976cedd4737938375ddbafa0
2bcafa7a907531f6282539f5e657df20e8683fdf
refs/heads/main
2023-05-06T07:02:42.344149
2021-05-28T15:07:57
2021-05-28T15:07:57
369,278,793
0
11
null
2021-05-28T14:57:58
2021-05-20T16:54:24
Python
UTF-8
Python
false
false
69
py
m = [1, 2, 3] for v in range(len(m)): m.insert(1, m[v]) print(m)
[ "omar.elliottgreen1@ieee.org" ]
omar.elliottgreen1@ieee.org
befc3a1ebc84b0d5ec2415c8f92c5f2ba0dbc566
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_354/ch15_2020_09_19_15_43_50_033099.py
23a938ac0b71197f14316278183f5546039a2f99
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
150
py
x= input("qual seu nome ?") if x== "Chris": print("Todo mundo odeia o Chris") else: print("Olá,{0}.format(x))
[ "you@example.com" ]
you@example.com
692b63ba9e487a87a62c1ee755b3843e5ab9db4b
e62dd824081de0f6b7b35a2731184d8b2c872b7d
/work/attend_excel/attend_old.py
b592b5579b473428b0bda5cb26b6fc28256b51d4
[]
no_license
coblan/py2
d0231211452e8a27e41e6a85ab736538d0a66113
ecf743e027e9f15925e43f05c0b8a86bb88946db
refs/heads/master
2021-01-24T08:28:41.288136
2018-06-07T17:54:05
2018-06-07T17:54:05
69,465,492
0
0
null
null
null
null
UTF-8
Python
false
false
14,001
py
# -*- encoding:utf8 -*- """ 用途 ================================================= 读取考勤原始记录,配合TMS系统,计算个人考勤情况。 使用步骤 ================================================= 1. 调用get_attend_list(path)生成经过日期排序的考勤列表。 2. 遍历考勤列表, 3. 结合TMS提供的信息,生成AttendRecord()对象,调用各种get_函数,计算该条考勤记录其他信息。 4. 保存到数据库。 使用例子: ======...
[ "heyulin@STM-PC-108.stm.com" ]
heyulin@STM-PC-108.stm.com
381f401abfdf7445342d4318aa66faf4e81b4596
d6d20681f41102df3feb2b438ef80569bd73730f
/Uge8/.history/classExercise_20200316095619.py
2d0e60ae4204bec5e2d9fdf264781a3865a546d5
[]
no_license
MukHansen/pythonAfleveringer
d0ad2629da5ba2b6011c9e92212949e385443789
4107c3c378f757733961812dd124efc99623ff2e
refs/heads/master
2020-12-22T13:27:19.135138
2020-05-22T11:35:52
2020-05-22T11:35:52
236,796,591
0
0
null
null
null
null
UTF-8
Python
false
false
1,770
py
import datetime import pymysql # This Works # cnx = pymysql.connect(user='dev', password='ax2',host='127.0.0.1',port=3307,db='3rdSemExam') # cursor = cnx.cursor() # query = ("SELECT firstname, lastname, id FROM DRIVER") # # hire_start = datetime.date(1960, 1, 1) # # hire_end = datetime.date(2004, 12, 31) # # c...
[ "cph-mh752@cphbusiness.dk" ]
cph-mh752@cphbusiness.dk
24b5bcfbab25afa1e10b2be8356f0cb21dc32a49
8259cdd11ecded1712d8e236842b2e2cbaa77d87
/element/manager/mongo.py
990e982888b8b7e3618714e0409780ebbd602b55
[ "MIT" ]
permissive
plouc/python-element
5c5a3197cfceba88d039f8b188c5b6116c6e9b05
4aee6c665549065f8b89c61270c067f3d4baddd3
refs/heads/master
2021-01-18T02:33:32.778349
2014-03-03T00:07:38
2014-03-03T00:07:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,145
py
from bson.objectid import ObjectId from bson.dbref import DBRef import pymongo class InvalidTreeState(Exception): pass class InvalidDataFormat(Exception): pass class MongoManager(object): """ This class handle loading of definition from a MongoDB Server """ def __init__(self, client, database...
[ "thomas.rabaix@gmail.com" ]
thomas.rabaix@gmail.com
786148b4ef5dd245706d412cbc4d90c54040786a
85043cfb5a7cc86e9f6e22c45925df778062efd5
/rapid7vmconsole/api/site_api.py
0e8f64cab939759b8aae98e6143e55a8a5018384
[ "MIT" ]
permissive
xtenex/vm-console-client-python
1b33abb6d8c0d368da16dd182f44a3ad20f090ee
3e04e5aa4a15274ec0bcd8be38d306e42b0c9a59
refs/heads/master
2021-04-27T03:01:56.645918
2018-02-14T22:46:34
2018-02-14T22:46:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
380,444
py
# coding: utf-8 """ InsightVM API # Overview This guide documents the InsightVM Application Programming Interface (API) Version 3. This API supports the Representation State Transfer (REST) design pattern. Unless noted otherwise this API accepts and produces the `application/json` media type. This API uses ...
[ "zachary_youtz@rapid7.com" ]
zachary_youtz@rapid7.com
9aed11297118cb5fdc96240115d2d3b3c4dcf43b
91606986caf93b7171a74f2a8e7d4cfdc9fd7503
/FlaskProject/migrations/versions/9eff55524c0b_.py
738b04d2ebc5cc2687db74b7c4ac58456eef86b5
[]
no_license
gabyyan/flask_movieproject
08d6a56124213bf3bbc8e4439384ba551e5fd8f0
cffcfd8923a39863e52461dd00e9c13020c25852
refs/heads/master
2020-03-27T21:28:46.438393
2018-09-11T15:32:19
2018-09-11T15:32:19
147,147,714
0
0
null
null
null
null
UTF-8
Python
false
false
1,311
py
"""empty message Revision ID: 9eff55524c0b Revises: 56b4b4540853 Create Date: 2018-08-31 17:12:27.969442 """ from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import mysql # revision identifiers, used by Alembic. revision = '9eff55524c0b' down_revision = '56b4b4540853' branch_labels = None depe...
[ "yan287216731@163.com" ]
yan287216731@163.com
d0bec301ce5859d2fe6e8497e3b6caa85f38945b
9acf4abfb0d0285e4e676bddf505e3f51067a62a
/node_modules/webpack-dev-server/node_modules/fsevents/build/config.gypi
43b1362227511bf40b69bef08ed30fff96086865
[ "MIT" ]
permissive
Robertgaraban/projeto-final.angola.github.io
a166b35fcd810216a4c5f4e76da399f05e020d3c
b0d1f80b17a404ff2ebdb57f95693f7ef538cd5f
refs/heads/master
2022-12-14T10:11:40.957557
2020-08-30T01:05:39
2020-08-30T01:05:39
290,093,501
0
0
null
null
null
null
UTF-8
Python
false
false
5,682
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...
[ "robertgaraban@gmail.com" ]
robertgaraban@gmail.com
072bedd95495fe90cc7bd2d030588fc77c7a516a
18e79afa0f77071dec56932e8089a713f764493b
/dance-ml-a/train.py
60100659ae89a85e77deea2c3b5240c0f8f7b8a9
[ "Apache-2.0" ]
permissive
jaysonzhao/DancingRobot
9eebf1ec3bbe11298fe852a0b7cde7671691c0bf
9c51a8784bc77a626065a443283cbe8aa8444f53
refs/heads/master
2020-09-05T22:16:34.682030
2019-12-19T01:48:16
2019-12-19T01:48:16
220,229,436
0
0
Apache-2.0
2019-11-07T12:15:00
2019-11-07T12:15:00
null
UTF-8
Python
false
false
6,090
py
# The data set used in this example is from http://archive.ics.uci.edu/ml/datasets/Wine+Quality # P. Cortez, A. Cerdeira, F. Almeida, T. Matos and J. Reis. # Modeling wine preferences by data mining from physicochemical properties. In Decision Support Systems, Elsevier, 47(4):547-553, 2009. import os import warnings i...
[ "jaysonzhao@vip.qq.com" ]
jaysonzhao@vip.qq.com
b7bc1c826723518a36a67f8b23494a2c2c8c6c79
92e690d213886c8c2ca99882da3ff0cf23fbafc9
/docker-demo-with-django/app/manage.py
be81d4d28212eddf87ce052e246b825215c97929
[]
no_license
NaokiMItamura/grcdjango
1a394cd7bdfbe2d2a0d8ff8856bd2773931d147d
3d5fbc4e4278fcd880e7bf06e078dd975c70f844
refs/heads/main
2023-08-29T07:42:51.318910
2021-10-22T06:14:44
2021-10-22T06:14:44
418,013,956
0
0
null
null
null
null
UTF-8
Python
false
false
652
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'django_deme.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: ...
[ "snbyqsnbyq@gmail.com" ]
snbyqsnbyq@gmail.com
0d01ffe64d29fd08c3017e2b084f1c16e320fd52
626c1cb2542fca1fb2ddff4b1eb440c65e301248
/main.py
4effa4947309602a6ad9041c286d07057e3684a9
[]
no_license
frankfu/Simplex
060fcd390f14d70d1aa34796044c34782600afc5
4c64a4e793f7d7972cb7cd3bfd7bf8514a5056f2
refs/heads/master
2021-01-19T15:03:56.436188
2013-05-09T19:29:29
2013-05-09T19:29:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,638
py
# -*- coding: utf-8 -*- import sys import os import re import markup styles = '../style.css' with open(sys.argv[1], 'r') as f: lines = f.readlines() try: os.makedirs('html') except OSError, exc: pass with open('html/index.html', 'w') as f: chapters = ['<a href="chapter%s.html">%s</a>' % re.match(r'^\\...
[ "frankz993@gmail.com" ]
frankz993@gmail.com
7078e3b23d5aa23082a6aa4ea401ac47e977fd12
b03fbb77af76287bf43272759f1af29ef8dc6982
/src/functional/funcs.py
6431934aa0b3e05d6a274eac7291889bb189ff5c
[ "MIT" ]
permissive
felipefsfs/py-funcs
2a970ef4aba30bca7c5d74249090df606c5cfab6
968103978cddb23a7f1c657a886a3f6663613e5b
refs/heads/master
2023-03-23T10:10:42.952233
2021-03-21T02:07:38
2021-03-21T02:07:38
349,872,120
0
0
null
null
null
null
UTF-8
Python
false
false
5,117
py
from functools import reduce def compose(*funcs): def _compose_call(arg): return reduce(lambda res, f: f(res), reversed(funcs), arg) return _compose_call def pipe(*funcs): def _pipe_call(arg): return reduce(lambda res, f: f(res), funcs, arg) return _pipe_call ''' import { curry } from "./curry.js"; e...
[ "felipe.fonseca.silva@gmail.com" ]
felipe.fonseca.silva@gmail.com
fd106c0911b8109f4620fff74f3ac08c0e6579be
1a8c787423914eb03e2ca88e5818174cdb6ef075
/flanger/keywords.py
808cedab5178aefd6a583bc10be0a3b641147950
[]
no_license
xupeng1206/Flanger
f8128d340ecae27a75c83177b0ac84f6bacb82dd
36759eed2cc35c87a980c83e10221c52e021c4b2
refs/heads/master
2020-09-21T00:42:21.323461
2020-02-02T08:50:35
2020-02-02T08:50:35
224,631,206
13
0
null
null
null
null
UTF-8
Python
false
false
486
py
""" 作者 xupeng 邮箱 874582705@qq.com / 15601598009@163.com github主页 https://github.com/xupeng1206 """ # 整理一些写死的字符串,方便后续修改 FLANGER_URLS = 'FLANGER_URLS' URL_PREFIX = 'url_prefix' BASE_DIR = 'BASE_DIR' FLANGER_REQUEST_PROCESSORS = 'FLANGER_REQUEST_PROCESSORS' FLANGER_RESPONSE_PROCESSORS = 'FLANGER_R...
[ "peng.xu@quantinfotech.com" ]
peng.xu@quantinfotech.com
5f78e88dc5c76015362c9ce89515b55a0d649f80
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/dQZmkrPaKdtSat5f9_5.py
c263cbcbd33a42d4a63755863b16cd1a4f00da0a
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
598
py
""" Create a function that, given a string `txt`, finds a letter that has a single occurrence. Return the letter in uppercase. If the input is empty, return an empty string `""`. ### Examples single_occurrence("EFFEAABbc") ➞ "C" single_occurrence("AAAAVNNNNSS") ➞ "V" single_occurrence("S") ➞ ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
33522aa5fd00e78cee599e368b17935096df9ff1
09a132e7d99db800e507e118c4fff8bec5318935
/venv/bin/pyi-archive_viewer
d8722657bc59862b90d8645dacfefc04c5a04bbd
[ "Apache-2.0" ]
permissive
ahnguyen17/spare-blockchain
ef6918a24e7206295870efd5bb5c68768927d07d
c91303f11a168227f6c4b0fc0707008723e45b30
refs/heads/master
2023-06-06T01:59:18.702984
2021-06-19T05:19:28
2021-06-19T05:19:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
277
#!/Users/alert0d0a/spare/spare-blockchain/venv/bin/python # -*- coding: utf-8 -*- import re import sys from PyInstaller.utils.cliutils.archive_viewer import run if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(run())
[ "spare@1lb.pw" ]
spare@1lb.pw
3de42dbf86af61a243c154b1d5b6cf43861dba1d
0a037e4ee03c5afbf6f58b7293fefab1cc6998cf
/week2/miercoles/8-1.py
44352d08ed55f21ec7c237e93cbe4c6736759b01
[]
no_license
mingyyy/crash_course
6ac2a41b14c821e96e3938047cb056ad2ce99280
dad9f9b37ef3093dad25a0cb7fddf0e65fed3571
refs/heads/master
2020-04-24T14:24:43.283617
2019-12-25T07:43:05
2019-12-25T07:43:05
172,019,856
0
0
null
null
null
null
UTF-8
Python
false
false
303
py
''' 8-1. Message: Write a function called display_message() that prints one sen- tence telling everyone what you are learning about in this chapter . Call the function, and make sure the message displays correctly . ''' def display_message(): print("We're learning functions. ") display_message()
[ "j.yanming@gmail.com" ]
j.yanming@gmail.com
cabdd81469140991df14833878bbfd3d91a6b985
a263257099a5c3151de716c883d462141a5c411f
/Spiders/english800.py
28f23e4d2a0aa43f38882e6c98f71ffe8ef464ff
[]
no_license
liujunchao/PyScrapyDemo
08c81aa038958ba7e637e04fc69fbc084cf2b029
0f87190a9c662eeba8d4db0d79e53029a46f85ef
refs/heads/master
2021-06-12T03:52:02.943044
2016-11-30T04:21:40
2016-11-30T04:21:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,339
py
import scrapy import urllib2 import os from scrapy.utils.response import open_in_browser class EnglishDownSpider(scrapy.Spider): name = 'blogspider' start_urls = ['http://www.tingclass.net/list-5544-1.html','http://www.tingclass.net/list-5544-2.html','http://www.tingclass.net/list-5544-3.html'] def parse(...
[ "liu_james_cn@163.com" ]
liu_james_cn@163.com
db56bac1d35007b684c90b2c8c36cd715a4ac845
127d0f1251e543ba271f532471e5153f1ce5597c
/sprint7/stock_market.py
ddcf52fb32b6db8e6d06def0f030e0451751bbfb
[]
no_license
BugChef/yandex_alghoritms
0e608d2df899a547cf03273cc4d2f95ca424d3e3
afe41cbb10878dc1dcfddd1d37ce8d4590f47f68
refs/heads/main
2023-04-01T23:09:42.688374
2021-04-16T20:03:38
2021-04-16T20:03:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
185
py
n = int(input()) numbers = list(map(int, input().split())) profit = 0 for i in range(1, n): dif = numbers[i] - numbers[i - 1] if dif > 0: profit += dif print(profit)
[ "kovalcuk@MacBook-Pro-Ila.local" ]
kovalcuk@MacBook-Pro-Ila.local
c433a1477ea8449063a7d06ff436961dc3902d6e
11c09dc9d2d04dc3b9a53532345c5ab72c9b6caa
/7KYU/get_next_square.py
8f5595f99dda12b06fae3c7c67d8d4441d01cc30
[ "MIT" ]
permissive
virginiah894/python_codewars
c98dead628c20bc967d88b77f15addf29fd6c2bf
350b0f8734f522eb7e5095830f848b8b113c1ca0
refs/heads/main
2023-05-25T14:38:51.631223
2021-06-14T13:10:22
2021-06-14T13:10:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
def is_perfect_square(n: int) -> bool: if n ** 0.5 != int(n ** 0.5): return False return True def find_next_square(n: int) -> int: if is_perfect_square(n) is False: return -1 n += 1 while not is_perfect_square(n): n += 1 return n
[ "fatalbest@mail.ru" ]
fatalbest@mail.ru
a2efb9338fb2d7aa14721056c20b59bf19f4b010
922e15fb885bf4739a4d0e6091798aba02c16935
/tests/test_filesystem_helpers.py
740980e496ad66d1a929b6c46ff8c3908f6518aa
[ "MIT" ]
permissive
NinjasCL-archive/masonite-fs
68902cfbc104e70e5d0c8f1f88c487762b8f29bf
333c11d19927f9cf371d12bb87af88b0ca3dd698
refs/heads/master
2023-03-25T21:20:04.757045
2018-08-17T20:05:59
2018-08-17T20:05:59
145,139,615
0
0
MIT
2021-03-25T22:13:48
2018-08-17T15:52:32
Python
UTF-8
Python
false
false
765
py
# coding: utf-8 from the import expect from filesystem import load, paths class TestFileSystemHelpers: def setup_method(self): pass def test_that_os_return_fs(self): info = load.os().getinfo('.') expect(info).to.be.NOT.empty def test_that_mock_return_fs(self): info ...
[ "camilo@ninjas.cl" ]
camilo@ninjas.cl
dc0f4875eacb692b7d93f20f4aaa8eaf4c1e5c73
3327a87cefa2275bd0ba90a500444f3494b14fdf
/bwu/binary_tree/111-minimum-depth-of-binary-tree.py
32ef5ff4f1974fd1f078d14d41cd754c95255012
[]
no_license
captainhcg/leetcode-in-py-and-go
e1b56f4228e0d60feff8f36eb3d457052a0c8d61
88a822c48ef50187507d0f75ce65ecc39e849839
refs/heads/master
2021-06-09T07:27:20.358074
2017-01-07T00:23:10
2017-01-07T00:23:10
61,697,502
1
0
null
null
null
null
UTF-8
Python
false
false
617
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): def minDepth(self, root): """ :type root: TreeNode :rtype: int """ if root is Non...
[ "noreply@github.com" ]
captainhcg.noreply@github.com
938baace6ceeffe3b7961162e9e10e906547729b
46ac0965941d06fde419a6f216db2a653a245dbd
/sdks/python/appcenter_sdk/models/DeviceFrame.py
d948e178d7616bc48baff917ce0ba3eba972f91e
[ "MIT", "Unlicense" ]
permissive
b3nab/appcenter-sdks
11f0bab00d020abb30ee951f7656a3d7ed783eac
bcc19c998b5f648a147f0d6a593dd0324e2ab1ea
refs/heads/master
2022-01-27T15:06:07.202852
2019-05-19T00:12:43
2019-05-19T00:12:43
187,386,747
0
3
MIT
2022-01-22T07:57:59
2019-05-18T17:29:21
Python
UTF-8
Python
false
false
3,420
py
# coding: utf-8 """ App Center Client Microsoft Visual Studio App Center API # noqa: E501 OpenAPI spec version: preview Contact: benedetto.abbenanti@gmail.com Project Repository: https://github.com/b3nab/appcenter-sdks """ import pprint import re # noqa: F401 import six class DeviceFrame(ob...
[ "b3nab@users.noreply.github.com" ]
b3nab@users.noreply.github.com
ca07f43dc30e6b5082245d617f496b6a5a874364
1ef3300f14136b0ffe1a92696a28d9de17778e41
/Practica 9.py
3369609b8b1165257dccc0a354e399d484659879
[ "Unlicense" ]
permissive
mrmzes/LABPROGRACIBER_1800370
08abe9b785c3ee66ab417e74b4ca157d6196a2b6
d3c406f0101689a4c187f55088439cb895514663
refs/heads/main
2023-01-14T09:44:29.533515
2020-11-25T01:35:57
2020-11-25T01:35:57
300,820,589
0
0
null
null
null
null
UTF-8
Python
false
false
536
py
import smtplib import getpass smtpObject = smtplib.SMTP('smtp.gmail.com', 587) smtpObject.ehlo() smtpObject.starttls() account = str(input('Ingresa el correo con el cual quieres enviar(GMAIL): ')) password = getpass.getpass() smtpObject.login(account,password) to = str(input('Ingresa el correo al cual le ...
[ "noreply@github.com" ]
mrmzes.noreply@github.com
76f95b7fdb3696e2510218fb0a59f52ca4890716
d0281b544d80d71be84a1fee1446bed2b36527cd
/src/lianxi/excel.py
403c0035b0a74460a66699a738f9766c7096d86f
[]
no_license
snczww/bishe
a5a5d3512145a1d530fd9b0ea31950cd614d974f
a263d359421512cc17126f2ec71bb2120ce4efdc
refs/heads/master
2021-01-19T21:00:24.984007
2018-04-12T15:03:10
2018-04-12T15:03:10
88,588,197
0
1
null
null
null
null
UTF-8
Python
false
false
432
py
#-*- coding: utf-8 -*- ''' Created on 2017年4月18日 @author: zww ''' import pandas as pd inputfile = 'C:\\Users\\zww\\Desktop\\lunwen\\chapter15\\demo\\data\\huizong.csv' outputfile = 'D:\\源码\\python\\bishe\\src\\lianxi\\data\\haier_jd.txt' data = pd.read_csv(inputfile, encoding = 'utf-8') data = data[[u'评论']...
[ "snczww@hotmail.com" ]
snczww@hotmail.com
8b986a3078208d2604d3f6ef7c7c3b1dee646db4
a9445c8168d8b2520dfa461b4698699b3747dc9e
/test.py
8bdcfd3cab4815511866cbb181d11bb74eddab8d
[]
no_license
YourGc/SEnet
efff2ad272d617adba0e4e57c6b97783feeb95c5
52c63a6e3ba80b32206ccf13fca2a246dfb88eef
refs/heads/master
2020-05-22T16:22:53.537869
2019-05-16T03:56:25
2019-05-16T03:56:25
186,428,960
0
0
null
null
null
null
UTF-8
Python
false
false
2,194
py
# coding:utf-8 import json import torch.nn as nn from PIL import Image from Data_Loader import preprocess import torch import torch.nn.functional as F import pandas as pd from progressbar import * from cache import Cache from torchsummary import summary from se_resnext import se_resnext_50 from se_resnet import se_res...
[ "527573174@qq.com" ]
527573174@qq.com
51450d6a030a2ebc2609c58cdc0366e7ad5f2ad6
11ebf7af5a1acf44088b6b93be1417c8d10b4eb9
/txtinkerforge/bricklet_temperature.py
10ecd4f15b764d9b6e53eb88231348eadde05bea
[]
no_license
dimddev/txtinkerforge
6497203290659d6207ebda6cb3dfbe8e9c255c64
a7a8dae14e694049a0cdb4aa9285e8c2ae355082
refs/heads/master
2016-09-06T13:11:31.164234
2015-04-18T06:58:20
2015-04-18T06:58:20
34,099,127
1
0
null
2015-04-18T06:58:20
2015-04-17T05:53:11
null
UTF-8
Python
false
false
264
py
from .txapi.txmapper import TxMapper from tinkerforge.bricklet_temperature import BrickletTemperature class TXTemperature(TxMapper): device = BrickletTemperature def __init__(self, uid, ip_con): super(TXTemperature, self).__init__(uid, ip_con)
[ "targolini@gmail.com" ]
targolini@gmail.com
f9ab66a0276b2c1e0af621d82f3da864a42ecb46
6a3c83c376606693412867ea2f07ee7bd01214cc
/synerD/asgi.py
857d04bb25ed3a6d78e440baf4eba979966254c9
[]
no_license
bennnnnn/Synerd_Binalfew
037513aa5f1ea58c5f92328d54659828c682f1ad
25887862d83a4153f3694c33e867ea948f9ab760
refs/heads/main
2023-03-27T20:10:45.725409
2021-03-30T01:03:54
2021-03-30T01:03:54
352,825,557
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
""" ASGI config for synerD project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETTIN...
[ "bmecuriaw@asu.edu" ]
bmecuriaw@asu.edu
26736394a48b1ef3e2c6f7fc79d28573cd115fe8
b806be673ea1e1a073a2f2e4d39b3f787bad61bc
/myapp/urls.py
d9ce8d66aea0cf3f7901f446a88d05bef3cd777b
[]
no_license
sonle308/reviewing-book
2153ca83bf66fd819ad51091db7aa3395123df30
b7b0f17e1757f2cbc8a512f5cb0595366a60460c
refs/heads/master
2022-04-27T22:00:52.833271
2020-04-21T09:26:41
2020-04-21T09:26:41
257,147,068
0
0
null
null
null
null
UTF-8
Python
false
false
841
py
"""myapp URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based v...
[ "lengocson@sonle-mac.local" ]
lengocson@sonle-mac.local
d4c25e0aa87a2a955f318aaae57d8e543c3ed45a
0d02ab8e1ac38f10ae19912a76fc9d26ede93a5b
/dictionary.py
0cb426c2c455e7034821865408dacecce82371c2
[]
no_license
divyanshbarar/dictionary_using_tkinter
8e21e5c22c091a9bdad57d4c940cfe1db0dad59e
442371870a4b93fcf3649eff2d6ef2f38bb6c061
refs/heads/master
2022-12-01T04:16:57.882220
2020-08-11T21:14:17
2020-08-11T21:14:17
286,849,175
1
0
null
null
null
null
UTF-8
Python
false
false
547
py
from tkinter import * from PyDictionary import PyDictionary root=Tk() root.title("DICTIONARY BY PYTHON ") txt=Text(root) txt.configure(bg="yellow") txt.grid(row=3,column=0,columnspan=2) root.geometry("500x450") def search(): word=e.get() dictionary=PyDictionary(word) meaning=dictionary.printMeanings() ...
[ "barar.akarsh8@gmail.com" ]
barar.akarsh8@gmail.com
6b7083aed3a8d51901629a65edf317ca34ae5a82
17e1028fa90dfa923c4f3693acfedfedcc157420
/Day1_STD.py
0c6f606d9b60559ed559aa74c3e23e672081cb3b
[]
no_license
ayoubGL/10DaysStatisticsChallenge_HackerRanck
542df2d457011824f1f39d4a9c8edfede21f5530
2eab29dea55634b51c0787fa6da1d7f95ba60933
refs/heads/master
2021-05-17T05:20:22.968189
2020-06-28T10:28:39
2020-06-28T10:28:39
250,646,508
0
0
null
null
null
null
UTF-8
Python
false
false
301
py
# The awesome statistical measure, one of the importance variability's parameter : standart deviation import math N = int(input()) X = list(map(int, input().split())) mean = sum(x for x in X) / len(X) variance = sum((x - mean)**2 for x in X) / len(X) std = math.sqrt(variance) print(round(std,1))
[ "a.elamjjodi@gmail.com" ]
a.elamjjodi@gmail.com
73a0a99b4ab0ffcf3430290a4ceb4baf782e8d96
cd792e76c3530d4dc0c97f8f4f8a2ea8c9f4fde8
/OpenVenTum/scripts/sklearn_lib/feature_selection/_rfe.py
5464efc9771bdce133c427e2cea1477df0bbbf7e
[]
no_license
ederjc/hackaTUM
4e143b3abf01f7bbed02c657d715a15b2bfeeba2
e819b73c456d2931c7071423f580e576d5ecfb02
refs/heads/master
2022-04-18T13:13:17.630706
2020-04-19T06:48:54
2020-04-19T06:48:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,689
py
# Authors: Alexandre Gramfort <alexandre.gramfort@inria.fr> # Vincent Michel <vincent.michel@inria.fr> # Gilles Louppe <g.louppe@gmail.com> # # License: BSD 3 clause """Recursive feature elimination for feature ranking""" import numpy as np from joblib import Parallel, delayed, effective_n_jobs fro...
[ "50597791+KalinNonchev@users.noreply.github.com" ]
50597791+KalinNonchev@users.noreply.github.com
f0000696cd1a06f4f0da76b326d78cdcb763e71a
5f0ea06157deb61b49a9bf5679e893efb7bc09a5
/practice03/prob01.py
13906d19bbed59c72fb6ee022119a623a3d884e6
[]
no_license
yoonchaiyoung/python-basics
b6642da6d4a1daf3a156f14b3e84eeaf6c01245d
675858a297b3a3ae7b1890122b6967dbdf31143d
refs/heads/master
2022-12-20T07:26:44.749402
2020-10-05T07:56:57
2020-10-05T07:56:57
290,401,471
0
0
null
null
null
null
UTF-8
Python
false
false
695
py
# 문제1. 다음 세 개의 리스트가 있을 때, # # subs = [‘I’, ‘You’] # verbs = [‘Play’, ‘Love’] # objs = [‘Hockey’, ‘Football’] # # 3형식 문장을 모두 출력해 보세요 # # 실행 결과: # # I Play Hockey. # I Play Football. # I Love Hockey. # I Love Football. # You Play Hockey. # You Play Football. # You Love Hockey. # You Love Football. # ====================...
[ "domo62@naver.com" ]
domo62@naver.com
f5b36f7451c7f9da00b45719d85d77612c1acf52
73b85fa4822c50d2868063d836560ba3dd6b0460
/pycall/add_endpoint.py
c12a825bc521d987be975c315cba50d94e33194a
[]
no_license
benwainwright/call
4481d7270f636db884f37744ff3e07545e034d4a
eb0c25572b0dc4e1d2c2cc3c957d29cc9b61a206
refs/heads/master
2021-06-18T19:03:12.080968
2019-11-23T01:26:44
2019-11-23T01:26:44
192,077,657
0
0
null
2021-03-29T19:55:58
2019-06-15T12:46:02
Python
UTF-8
Python
false
false
4,024
py
import urllib from pycall import Endpoint, JsonDataManager import pycall.endpoint.path from pycall.endpoint.option import Option import pycall.config alias_file = JsonDataManager(pycall.config.ALIAS_FILE) def add_endpoint_command(command, args, unknown_named, unknown_positional): _add_endpoint_alias(args.url, ar...
[ "ben.wainwright@bbc.co.uk" ]
ben.wainwright@bbc.co.uk
29431b120215f7a7a4e48e848b0aa69e61f90005
b676e254e8a0db01e8eba9c8f300e109b458a4d0
/ThreadSendDataTest.py
785d9397d21fa26c11f2c5fd363c023916fffcb0
[]
no_license
JulienLuxx/PythonTest
5a70ff4417270a070ee1a5e82bc33f3fbb1f243b
d2dead0781df9538e1ee66f8798dee43b7d41f2a
refs/heads/master
2020-03-14T23:21:33.622610
2019-06-14T12:18:45
2019-06-14T12:18:45
131,843,114
0
0
null
null
null
null
UTF-8
Python
false
false
1,743
py
#!/usr/bin/env python3 # coding=utf-8 ''' ThreadSendDataTest ''' import urllib import json from urllib import request from urllib import parse import threading from threading import Thread from multiprocessing import Process from time import ctime,sleep def GetData(url): headers={'User-Agent': 'Mozilla/5.0 ...
[ "JulienLux@outlook.com" ]
JulienLux@outlook.com
1787abe842943a0154840bdb91e4d0f014d39be7
446db6048ea47710d3165fb468481b435963ea88
/cpf/profiling/factor_loadings.py
c6cca0d027a2a7c73c313b54f66916e8b77aa261
[]
no_license
cclauss/meoir
17f07b427c3cc8c3757f8dc7d9539217ceba63d2
6a41f9be084bdb9b339904c3ce48d4d64d53f5c8
refs/heads/master
2020-03-28T18:04:46.175914
2016-06-10T01:15:25
2016-06-10T01:15:25
148,851,144
0
0
null
null
null
null
UTF-8
Python
false
false
2,021
py
import sys from optparse import OptionParser import numpy as np import cpf from cpf.util import replace_atomically from .profiles import Profiles def get_loadings(preprocessor): fa_node = preprocessor.fa_node orderings = np.argsort(np.abs(fa_node.A), 0)[::-1] results = [] for j in range(orderings.shape...
[ "npawlow@broadinstitute.org" ]
npawlow@broadinstitute.org
5b84c7bd6460b5497b535c082e946f0ab5d885d3
f2e54a05327391a6210151f086ab17dbd3e95b11
/prac_02/exceptions_to_complete.py
40138a338d93e6bb30371c44b3ec3f5ffa5ccefe
[]
no_license
Shad-Man99/CP1404_practicals
a423e338dfbf4f9762a17d160a32899a12fccb29
5a503c81e61f0844eb4cfa926454e31324558ae0
refs/heads/master
2023-09-03T19:13:45.062034
2021-09-21T04:09:04
2021-09-21T04:09:04
400,345,226
0
0
null
2021-10-31T02:42:41
2021-08-27T00:47:10
Python
UTF-8
Python
false
false
288
py
finished = False result = 0 while not finished: try: integer = int(input("Enter the integer: ")) # TODO: this line except: # TODO - add the exception you want to catch after except print("Please enter a valid integer.") print("Valid result is:", integer)
[ "shadman.ahmed@my.jcu.edu.au" ]
shadman.ahmed@my.jcu.edu.au
a4fdc9de45c76a6a1a815e1cd99ba2bd78688c44
cb44a41b72fe6e2320f87b4535d650014b7642f5
/.PyCharm2018.1/system/python_stubs/1921134460/_hashlib.py
045d2fcf470b802c8e0142783a06d2525b4c09ba
[]
no_license
tommy1008/FYP-1
07a9dd2cf1bcab5d9ee3bfc2497052bb94eac729
0ec0803dddd7549c97813de522adcc8696acdebb
refs/heads/master
2020-04-08T00:52:10.056590
2018-11-23T19:05:48
2018-11-23T19:05:48
158,871,204
0
0
null
2018-11-23T19:32:13
2018-11-23T19:32:12
null
UTF-8
Python
false
false
3,617
py
# encoding: utf-8 # module _hashlib # from /usr/lib/python3.6/lib-dynload/_hashlib.cpython-36m-x86_64-linux-gnu.so # by generator 1.145 # no doc # no imports # functions def new(*args, **kwargs): # real signature unknown """ Return a new hash object using the named algorithm. An optional string argument m...
[ "wongchiho74@gmail.com" ]
wongchiho74@gmail.com
69ec1afe0da70b8096667de106a8ace6273c8a8a
f7d36be2b7a268e7677acbaf64b12ffbefbe4779
/blog/migrations/0001_initial.py
f0af5d3e12c83c33cc09e6250e7c59e9be5ec62d
[]
no_license
DjayDjay94/my-first-creation
fb42ba55ddfd4890fcd30a3f9c75e8005e939bba
2853f24af11da707c9313bd0104d493d20171d5b
refs/heads/master
2021-01-20T13:11:57.597366
2017-05-06T16:22:37
2017-05-06T16:22:37
90,462,871
0
0
null
null
null
null
UTF-8
Python
false
false
1,049
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-05-06 10:34 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True depend...
[ "jjfoxanimator@gmail.com" ]
jjfoxanimator@gmail.com
d8ad22416ce8dfe0bb4d386540ee31b331ded43f
5a33c7ea17fc079258813a76d357f4e7ec782d09
/old_code/graceyStashed.py
b534470eef162e3692e89be941b6e19f0b2fd9d7
[]
no_license
ComplexKinect/software
9afd7536fc7ca008ecb70c87094715cb5837462e
7cae87d75f7dc4d20af9661144c17382cf2c811a
refs/heads/master
2021-08-29T12:19:31.079575
2017-12-14T00:04:55
2017-12-14T00:04:55
107,291,209
0
0
null
2017-12-13T15:35:01
2017-10-17T15:53:43
Python
UTF-8
Python
false
false
3,082
py
======= winName = "Movement Indicator" # Read three images first and crop each into 3 sections: data = np.fromstring(stream.getvalue(), dtype=np.uint8) image = cv2.imdecode(data, 1) def crop_image(image): crop1 = t_minus[:,:t_minus.shape[1]//3] crop2 = t_minus[:,t_minus.shape[1]//3:...
[ "gracey.wilson@students.olin.edu" ]
gracey.wilson@students.olin.edu
c9cf32cbefca6ce8a3bdcbebcc4fe47ec382ccdc
d154cb87aaa6f5aa997b6df8466542489e89825d
/accounts/migrations/0004_auto_20211028_1915.py
93418092aa1ae00b6fb14d34dbcfa2c890a4d1db
[]
no_license
peter-wairimu/backend
2dfbc3ab9a7e5f0fdc3c84d323ae9716e9d672bf
764b41d227476a6efab119458068c07243b7ac72
refs/heads/master
2023-08-25T15:05:01.913342
2021-10-29T06:20:45
2021-10-29T06:20:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
550
py
# Generated by Django 3.2.8 on 2021-10-28 16:15 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('accounts', '0003_courses_description'), ] operations = [ migrations.DeleteModel( name='Pupil', ...
[ "peter.wairimu@student.moringaschool.com" ]
peter.wairimu@student.moringaschool.com
b311dfc344d5c3592f43863fa22e36cb6e1f3e7a
ca78449ff9a54f769dd28b12f8413e97ac6f5595
/src/hyperjazcap_python/console.py
ea561e83d40098ee314d4648aef8d72b05ae8271
[ "MIT" ]
permissive
jazcap53/hyperjazcap-python
124d8afc445938f84f57e3d422c85685e06603d8
4c29c3372f0e4729f5a64d8cb9b061b47440ce54
refs/heads/main
2023-03-31T18:13:00.399641
2021-03-31T23:20:35
2021-03-31T23:20:35
333,631,516
0
0
null
null
null
null
UTF-8
Python
false
false
956
py
import locale import re import sys import textwrap import click import requests from . import __version__ language_code, encoding = locale.getlocale() API_URL = 'https://fr.wikipedia.org/api/rest_v1/page/random/summary' match = re.search(r'://(\w{2})', API_URL) API_URL = API_URL.replace(match.group(1), language_c...
[ "andrew.jarcho@gmail.com" ]
andrew.jarcho@gmail.com
08b4d40d3a7eb9d6c14b010a67d977d3b6a32125
42c63d5f9c724c99ba93f77bdead51891fcf8623
/dist-packages/oslo_service/service.py
fd636fc50fa5a3234c2faa3e11db694374725543
[]
no_license
liyongle/openstack-mitaka
115ae819d42ed9bf0922a8c0ab584fa99a3daf92
5ccd31c6c3b9aa68b9db1bdafcf1b029e8e37b33
refs/heads/master
2021-07-13T04:57:53.488114
2019-03-07T13:26:25
2019-03-07T13:26:25
174,311,782
0
1
null
2020-07-24T01:44:47
2019-03-07T09:18:55
Python
UTF-8
Python
false
false
22,872
py
# Copyright 2010 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # Copyright 2011 Justin Santa Barbara # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance wi...
[ "yongle.li@gmail.com" ]
yongle.li@gmail.com
aaa19eae943f9c09026b2812082a18b3d0861b78
b2d5e31dd873f89cb6ec1ba7d599de5a617da3c9
/helloworld.py
096a846f5253fa5235962cf1d2d35e3eb940d4cb
[]
no_license
nature-cyj/Git-Starting
7393a41fa5bf6d513853b6c460d1203c3ee21cba
aa4f461bd7426623eb2f9b4a6b2d9cc79c964e94
refs/heads/master
2020-07-01T11:44:21.031143
2019-08-09T05:53:47
2019-08-09T05:53:47
201,165,371
1
0
null
null
null
null
UTF-8
Python
false
false
134
py
# Print hello world 10 times for i in range(10): print("Hello World") # Print Hi 10 times print() for i in range(10): print("Hi")
[ "cyoonj007@gmail.com" ]
cyoonj007@gmail.com
cd2040e5de166d2a4a17b75017a50f98fc4c6e62
46623eb4b5369db4583e9764e474109b1714aaa9
/python3/(3040)BOJ.py
cb51c0019e006b74bc96d985d7a136edf369e7fe
[]
no_license
dwkang707/BOJ
2dc97bc3598f9bd3ec924f4c4e70c9742db451f8
9c1904bd3ae2d4ac9225ab303a6aa73171e6644c
refs/heads/master
2021-06-21T16:21:47.688781
2021-05-25T09:23:44
2021-05-25T09:23:44
209,773,506
0
0
null
null
null
null
UTF-8
Python
false
false
858
py
# https://www.acmicpc.net/problem/3040 # l: 9개의 입력받을 정수를 저장, sum: 입력받은 9개의 정수의 합, index1, 2: 난쟁이가 아닌 번호 2개 l = [] sum = 0 index1, index2 = 0, 0 # 9개의 정수를 입력 받음 for i in range(9): l.append(int(input())) sum += l[i] # 7명의 난쟁이의 번호의 합이 100, 난쟁이에 포함되지 않은 2명의 번호의 합: sum - 100 d = sum - 100 # 순차비교하면서 d의 값이 되는 2개의 ...
[ "dwkang707@gmail.com" ]
dwkang707@gmail.com
7a9fcbccbd74292822a9e0f1a88c305b039580fd
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_abjuring.py
975721ba4c538b8cffe76aac81030495144a3203
[ "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
240
py
from xai.brain.wordbase.verbs._abjure import _ABJURE #calss header class _ABJURING(_ABJURE, ): def __init__(self,): _ABJURE.__init__(self) self.name = "ABJURING" self.specie = 'verbs' self.basic = "abjure" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
2c206db60ad0f9da4a2631c5af210177fb1706a0
f8d5b27faf5307387d00907f3a730704d275ee93
/EOD_Venv/lib/python3.7/locale.py
17052e8bdd0815895f60418a0b4366d95da7d7cf
[]
no_license
luisroel91/eod_coding_test
ac9503d5ec867f7676ae6fe4fcd878703b134fba
3dfbf802664a42635d65fa51dd0fbfa7f6c34f5c
refs/heads/master
2020-05-09T14:55:38.932093
2019-04-13T17:20:39
2019-04-13T17:20:39
181,204,967
0
0
null
null
null
null
UTF-8
Python
false
false
48
py
/Users/phaseon/anaconda3/lib/python3.7/locale.py
[ "luisroel@me.com" ]
luisroel@me.com
1f299a491c220e8a79c47ad29424eabd94d09a73
9e4bb2c4c7de6e4b0e931b03a5af6032d5f4053c
/WebScraperFinal.py
51de834206ff73fd119a13f97706755d9ce5bea0
[]
no_license
jakeack27/Project-Work
669c4458762fa6c4230219fd7fabb1b928bb48e8
3230ff62252f602c07901f2a340499429b22eb17
refs/heads/main
2023-04-21T18:08:44.753433
2021-05-14T08:45:41
2021-05-14T08:45:41
367,151,849
0
0
null
null
null
null
UTF-8
Python
false
false
9,448
py
import requests import os.path from bs4 import BeautifulSoup con_label = 'con' non_label = 'non' link_list = [] contents_list = [] '''These variables store the URLs that will be stripped ''' URL = 'https://projectavalon.net/forum4/forumdisplay.php?187-5G' URL_CONVO = 'https://theconversation.com/four-exper...
[ "noreply@github.com" ]
jakeack27.noreply@github.com
5b35410de87938f3092c60cc3eea8e5643667d77
e8ab0029ebb965fc0479134b6faa5e6ebc790083
/1_3_image_features.py
8c760423a2c567a90caa922e44896f45dcc8c022
[]
no_license
shenglih/fluency
0182411a0b867dd01c8e6f481dddad8975d0d3b7
2d38ed05703ee1237cd23fa1ab53fa5aa91557ac
refs/heads/master
2021-09-16T12:45:20.579437
2018-06-20T19:18:03
2018-06-20T19:18:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
864
py
#!/usr/bin/env python import os from PIL import Image import numpy as np import sys import codecs import pandas as pd import pickle import cPickle from skimage.feature import hog from skimage import color, exposure folder = sys.argv[1] #Directory containing images you wish to convert input_dir = "/mnt/saswork/sh2264...
[ "noreply@github.com" ]
shenglih.noreply@github.com
91b43f84fcdff3b27db402f0c074345b3d0cf485
7bbbfc459c2aff238080743fd1e257d82b1d970c
/Python 2/Clase N6/servidor.py
5ced7ad5808c7443f845ac1eaa19a459b20d7896
[]
no_license
jchaconm/PythonGroup_12
1331ef9fa76d5bf6012c2227fdda701f57ed681c
1fea024467bd3c19e66bf1b4f19c7a9ed0960b3d
refs/heads/master
2022-04-08T01:33:02.237598
2020-03-21T01:05:53
2020-03-21T01:05:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
712
py
import sys, socket ip = '127.0.0.1' def enviar(): s = socket.socket() s.connect((ip, 9996)) mensaje = input("[>] ") s.send(mensaje.encode()) if mensaje == 'quit': print('bye bye') s.close() sys.exit() def recibir(): s = socket.socket() s.bind(("", 9995)) s.listen(1) sc, addr = s.accept() recibido = ...
[ "o en todo caso no usar --global" ]
o en todo caso no usar --global
1e7525d67b8cf7f698602c03d6581b36d93da118
54fe4fb6f5ca02fb5d35ab145d82949b05c285fe
/Probability/clt.py
6c305bc18d2def3d6c9edd9edb6d8f978ff1bf6f
[]
no_license
mahimaarora/notitia
4a0e2a26bdb05818d9ee7995e10e3346c8da89c0
7e663c20620ffdb9e951349f05a766338f10ad95
refs/heads/master
2021-08-31T23:06:49.417513
2017-12-23T10:06:06
2017-12-23T10:06:06
112,169,449
1
0
null
null
null
null
UTF-8
Python
false
false
1,591
py
from matplotlib import pyplot as plt import random import collections import math if __name__ == '__main__': def uniform_pdf(x): return 1 if x in range(0, 1) else 0 def uniform_cdf(x): if x < 0: return 0 elif x < 1: return x else: return 1 ...
[ "mahima.arora2597@gmail.com" ]
mahima.arora2597@gmail.com
3e094848167310d14a5c98b20af3c480c5359fa4
766ac69d692a8156b45f506599af998cfec87466
/scheduler/display_cal/urls.py
5a6d94b63af42c4a346ae11d96cba293b3be8942
[]
no_license
GeorgeLu97/TartanHacks
88947b59d2fd97d6b5096bdae4b16333cf0c3b75
81124fbd7e0bba50a77261edc03592bf6113f7b6
refs/heads/master
2016-08-12T22:30:17.419575
2016-02-06T22:47:36
2016-02-06T22:47:36
51,184,744
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^(?P<username>[a-zA-Z0-9]+)/$', views.index, name='index'), ]
[ "yaochisite@gmail.com" ]
yaochisite@gmail.com
ef6e56d293859a5fb41e0fc34cf9e96c82dac13b
f1e0fa146050dac18049be305520885d6592af89
/Øving 7/øving_7_4.py
52bf405430be308e5b8794e1c06526618c6f853e
[]
no_license
ankile/ITGK-TDT4110
cc09a8df95f77e1bb75d463d9c17427a16782a77
a2b738d3e52bd1d115e0c3afcf01012a429695d5
refs/heads/master
2020-04-01T21:53:32.142073
2018-10-18T20:26:58
2018-10-18T20:26:58
153,680,667
1
0
null
null
null
null
UTF-8
Python
false
false
647
py
from random import randint import øving_7_8 from statistics import mode # a) random_numbers = [] for i in range(100): random_numbers.append(randint(1, 10)) print('random_numbers:', random_numbers, '\n') # b) print('Antallet 2ere i listen:', random_numbers.count(2), '\n') # c) print('Sum:', sum(random_numbers),...
[ "lars.lien@ignite.no" ]
lars.lien@ignite.no
4aac60c690348d72e498e4bd9de65d1dc8363656
0fca05dd0201c569c11bd7c5b96125fbd67760f8
/test.py
fde731dfea3794600ba05f462ba4b42bc5f82595
[]
no_license
badri03iter/Python-Essentials
fd3f463cc06c22bf732418d7dca9569f7b82ea08
2522163c512af7342dffb71985314213a7b46aec
refs/heads/master
2021-01-12T14:19:28.056373
2016-11-20T06:21:04
2016-11-20T06:21:04
69,422,211
0
1
null
2016-11-20T06:21:04
2016-09-28T03:32:18
Python
UTF-8
Python
false
false
75
py
dict = {} dict[1]=7 dict[16]=8 print dict[1] print str([x for x in dict])
[ "badri03iter@gmail.com" ]
badri03iter@gmail.com
0987cf0e6a15b3310daa82085a320f0a13b58f57
753532ab35fc3d83b750b1b79603cc1613408523
/xiaoqiqi/Colorado/scrap_professors.py
9353b5dbac8a7ee12ad4d4e08eaca5bd4311eee6
[ "Unlicense" ]
permissive
doge-search/webdoge
4e9435f2ba744201adca1bfe2288994e1f284f00
443e758b5c1f962d5c2fe792cdbed01e1208b1cb
refs/heads/master
2021-01-15T08:16:34.357284
2016-06-15T17:22:43
2016-06-15T17:22:43
54,782,220
0
0
null
null
null
null
UTF-8
Python
false
false
2,127
py
#!/usr/bin/python2 #coding=utf-8 import urllib2 import HTMLParser import sys import xml.dom.minidom as minidom from htmlentitydefs import entitydefs import glob reload(sys) sys.setdefaultencoding('utf8') class MyParser(HTMLParser.HTMLParser): def __init__(self): HTMLParser.HTMLParser.__init__(self) ...
[ "xiaoqiqi1771@126.com" ]
xiaoqiqi1771@126.com
bb79fa79c446f61cdc5fdffe93a253fc32522298
44dabc129a8df5a2045b0ebb5569adf5496974c6
/tools/make_pipelines.py
b2f579832a24c8eba880bf0ddca2c3e13ded0c2d
[]
no_license
cclairec/Python_pipelines
9f8967686a85faddad779b05f0894a899df63df4
ad3527f6849ddb06c9679a14d7fc81cd0798d107
refs/heads/master
2021-09-11T17:53:59.085944
2018-04-10T15:30:40
2018-04-10T15:30:40
112,114,045
0
1
null
null
null
null
UTF-8
Python
false
false
2,837
py
#!/usr/bin/env python """Run the py->rst conversion and run all pipelines. This also creates the index.rst file appropriately, makes figures, etc. """ from past.builtins import execfile # ----------------------------------------------------------------------------- # Library imports # --------------------------------...
[ "claire.cury.pro@gmail.com" ]
claire.cury.pro@gmail.com
4ae589dffed2a21cc225a9161617a0c65f703372
c8a217ee07d4aa3ecee2c775f42dc96381911c8e
/uidsread.py
13424e06dcfe12bf22da7bd2e8b790bffb12e4ca
[]
no_license
piotrmucha/python-bitbucket
337b8cc3f1e2d5c39f7cfc6cb871c0c2ad3f6066
3475e5624a49a04283d8eea04833f955674d04a0
refs/heads/main
2023-03-08T17:14:50.143993
2021-02-12T13:42:21
2021-02-12T13:42:21
337,830,825
0
0
null
null
null
null
UTF-8
Python
false
false
5,467
py
#!/home/piotr/PycharmProjects/repositories-tool/venv/bin/python """Skrypt umozliwa wyciaganie informacji o oidach uzytkownikow danego workspace bitbucketa. Definiuje tez funkcje zwiazane z oidami i ich konwersja z czego korzystaja inne skrypty """ import argparse import json import os from typing import Dict, Lis...
[ "piotrmucha1997@gmail.com" ]
piotrmucha1997@gmail.com
44f603d9061216ca79c1e447c35cbcde6dd43c92
c15c602be6825cc71396a6470b81c06b4c1faf32
/olympia/aggregator_datetime.py
c6862918817555c5ee505e7d82a3de92c1841b58
[]
no_license
hirogwa/olympia
0e013b86d3f744f6ddd6b280907c2bf2f3668223
3ac3f31a638f5139c845a85e0432a3eeb830d8a5
refs/heads/master
2021-01-17T18:35:16.955806
2016-07-26T11:41:12
2016-07-26T11:41:12
63,159,297
0
0
null
null
null
null
UTF-8
Python
false
false
2,843
py
from olympia import app, models def aggregate(bucket): time_lower = _get_time_lower_limit(bucket) time_upper = _get_time_upper_limit(bucket) count = 0 for raw, dt in get_log_datetime_entries(bucket, time_lower, time_upper): models.db.session.add(dt) count += 1 result = models.Aggr...
[ "hirogwa@gmail.com" ]
hirogwa@gmail.com
b28afbe85ec73d6aadce2b5b0c7e7d175fc8af29
6aa41a50a6cd7925942c79898aaf3423fe882510
/backend/pym_songbook_21672/settings.py
196ee5fc41b1fef33922303493fe684564eea3e6
[]
no_license
crowdbotics-apps/pym-songbook-21672
e915b9b7c9135308ecf81c5a131747e8b25e69fa
bc1f44de215cbe5c6281c2a201f982aac4691317
refs/heads/master
2022-12-30T17:14:52.087405
2020-10-18T16:06:43
2020-10-18T16:06:43
305,141,317
0
0
null
null
null
null
UTF-8
Python
false
false
6,104
py
""" Django settings for pym_songbook_21672 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ i...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
28dbb21fbc42e6122026d12333f8d7ec04993648
f2a9a46a828195d07bae3b87642f18a4f9547e47
/external_auth/views.py
e90a39f096d2cb2d2bffff3feac22d536951e9e0
[]
no_license
saadyousafarbi/auto-shop
b867c2fad27fb431d7d16ac712a21fbf430a8b7d
1b184cfdc3819b528a1cfc56c28a04142b90d269
refs/heads/master
2022-11-29T08:53:02.968878
2022-10-28T13:24:05
2022-10-28T13:24:05
98,877,865
0
0
null
2022-11-22T10:50:44
2017-07-31T10:38:15
Python
UTF-8
Python
false
false
2,858
py
from __future__ import unicode_literals from django.contrib.auth import authenticate, login from django.contrib.auth.models import User from django.contrib import messages from external_auth.forms import PakwheelsLoginForm from external_auth.pakwheels_profile import PakwheelsProfile from external_auth.pakwheels_scrape...
[ "saad.yousaf@arbisoft.com" ]
saad.yousaf@arbisoft.com
99bf653ec7358c91983c683d8921f0a026cbf29f
dd69490776994d388fc3ee26781337cea37cf77f
/misc/preprocess_flowers.py
476ff4dccc1255a670ebe90db8e5b6cb1d43efa1
[]
no_license
Shubham-kale/Project
a319dbc14c1b093844c4e5391fc8aefeadaf4576
8aee313536fbb21fcfee3b3144cb36d3d1377b8e
refs/heads/master
2021-04-09T16:04:09.049071
2020-10-10T06:50:40
2020-10-10T06:50:40
125,811,549
0
0
null
null
null
null
UTF-8
Python
false
false
2,216
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals # import tensorflow as tf import numpy as np import os import pickle from Project.misc.utils import get_image import scipy.misc # from glob import glob # TODO: 1. curre...
[ "kaleshubham027@gmail.com" ]
kaleshubham027@gmail.com
d803ac6c1436e97221b3ea0ad4c91f33ca8c1fda
24a291e5eb298b7c2b4f1105d789ac488457b59c
/Python_Pandas_Basics/Pandas04_17_headTailEx01_김민교.py
ddf0119db9b84cf3db09e1d09bc04d7a10133164
[]
no_license
gmrdns03/Python-Introductory-Course_Minkyo
da3afff502ed44f178d5b3885fbb1b01249ad1de
ef0d4e16aee3dba6a4a10c422ef68b1465745833
refs/heads/main
2023-05-29T16:08:31.814542
2021-06-23T13:32:14
2021-06-23T13:32:14
379,300,979
1
0
null
null
null
null
UTF-8
Python
false
false
365
py
# coding: utf-8 # In[1]: import pandas as pd # In[3]: df = pd.read_csv('./../data/gapminder.tsv', '\t') df # In[5]: print(df.shape) print(df.shape[0]) print(df.shape[1]) # In[6]: len(df) # In[7]: df.head() # In[8]: df[0:5] # In[9]: df.head(n=7) # In[10]: df.tail() # In[12]: df[len(df...
[ "noreply@github.com" ]
gmrdns03.noreply@github.com
ecc3baa7af5f4d50e69e8da9c651f7c876afec48
b5e892e04518b3ea5382fb7572c93146491632ad
/pegparse/pegparse.py
dc59f7c9d6a500f20a3a3bf2e55f8eb316e9e878
[]
no_license
justinnhli/pegparse
b366afde10859bcda99c263fde0e5401e6886c01
3361f5c43c979d41187cf2376989502ec444351c
refs/heads/master
2023-08-21T18:54:50.921653
2023-08-09T16:59:26
2023-08-09T16:59:26
3,443,906
0
1
null
2018-08-12T03:07:30
2012-02-14T21:01:30
Python
UTF-8
Python
false
false
38,475
py
#!/usr/bin/env python3 """A Pack Rat Parsing Expression Grammer parser.""" # pylint: disable = too-many-lines import re from argparse import ArgumentParser from collections import namedtuple from fileinput import input as fileinput from pathlib import Path from textwrap import indent from typing import Any, Optional,...
[ "justinnhli@gmail.com" ]
justinnhli@gmail.com
04b6b9cdecc037a0bbf85aaf2ecd6551e691bcc6
ca55dcaa64ea9db4068e13091321cfebecc0ff41
/codeUp/codeUpBasic/1542.py
c4e22a2c9a1d74f55ed1bff4f11808af1077606b
[]
no_license
gomtinQQ/algorithm-python
8fb8343594b945099ae2a4dfa794ecb47e54ab0b
751562922b66e335f621d366bb73dacdc7125140
refs/heads/master
2022-12-07T23:05:44.535593
2020-08-21T12:29:58
2020-08-21T12:29:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
369
py
''' 1542 : [기초-함수작성] 함수로 prime 또는 composite 출력하기 소수(prime)가 입력되면 prime, 합성수(composite)가 입력되면 composite 를 출력한다. int 형 자연수(n)가 입력된다. (2 <= n <= 1000) ''' def f(n): if(n!=2 and (n%2==0 or n%3==0)): print("composite") else: print("prime") n = int(input()) f(n)
[ "minhyeonlee1@gmail.com" ]
minhyeonlee1@gmail.com
7ff6d82d991e9913ad7ae896381932c9591be6f8
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/CodeJamData/12/32/15.py
d74cd906d566a2e4c1d48f67fb2109120fdb1bda
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
1,115
py
import os, sys, math inFile = None outFile = None def printAnswer(case, answer): outFile.write('Case #{0}: {1}\n'.format(case+1, answer)) def solveSimple(tc, a, d): t = math.sqrt(2.0*d/a) if t < tc: t = tc outFile.write('{0}\n'.format(t)) def solveCase(caseNo): (d, n, a) = inFile.readl...
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
13836af741773d0cf466de54dbb5056b65fc2f92
67998b63991c8f76cd47867b5b9712a9026a0e4b
/configuration/models.py
eb4a3fd23abc9f36c4e2dfda5fddb4161d4baddc
[]
no_license
ToGoBananas/isure
a9065823d494dfed306a0f81bf8840ba12cbee29
eb9cac33ead39195c1dff90b27b55f187e182f49
refs/heads/master
2021-03-27T11:05:00.929102
2016-06-15T06:53:25
2016-06-15T06:53:25
58,100,880
0
0
null
null
null
null
UTF-8
Python
false
false
1,082
py
from django.db import models from policies.models import PolicyBase class Currency(models.Model): last_modified = models.DateTimeField(auto_now=True) euro = models.FloatField(null=True) usd = models.FloatField(null=True) def __str__(self): return str(self.last_modified) class Meta: ...
[ "endpoo@gmail.com" ]
endpoo@gmail.com
4d83e95be8a112167a7f8664299e77c49675449f
8bacc85600d3ab96996c9b3a0b46d7a0833c7c83
/core/widgets.py
3c6597a72e38911ec5a8892840619477f1704ecb
[]
no_license
cattias/cannesalair
fb2ac6eeeb90766d5b2a5cb688067e7b07ad58b8
0fc63e9d3481fa19c870a7f18408e840b2748a9d
refs/heads/master
2016-09-06T00:45:01.117844
2015-12-28T13:40:56
2015-12-28T13:40:56
24,021,210
0
0
null
null
null
null
UTF-8
Python
false
false
4,287
py
from django.forms import widgets from django.utils.encoding import force_unicode from django.utils.safestring import mark_safe from django.utils.html import conditional_escape from django.forms.util import flatatt import datetime import settings class LongTextInput(widgets.TextInput): def __init__(self, attrs=Non...
[ "christophe.attias@gmail.com" ]
christophe.attias@gmail.com
ea9b73aaff3487a1781f673369c95ad724dd7f78
8cb3b3a0dcbb728fe95257495332ffc8b0bdbef4
/draggable_screen.py
f2659fb530ba12c23e0c5e065dda44c2e46e5d5e
[]
no_license
VanillaViking/pgscript-tutor
3a8870657464c576a92efdf0651b83f2c57218ea
761d4d7ac44f36e11287c67b88d7354ba35670a6
refs/heads/master
2022-12-05T16:46:52.011505
2020-08-24T10:28:18
2020-08-24T10:28:18
271,986,285
0
0
null
null
null
null
UTF-8
Python
false
false
7,464
py
import pygame from pgscript import draw_grid from pgscript import scrolling_screen from pgscript import text from pgscript import bg from pgscript import button from pgscript import text_input from pgscript_parser import parse_args from pgscript import draggable_surface def draw(DISPLAY): grid = draw_grid.draw_gr...
[ "ashwinr2k2@gmail.com" ]
ashwinr2k2@gmail.com
67442993d1df82b10abd54c14ea3fdae53bcf1ce
784c4e7485f77506e48c4f7040b1b12873b9de37
/text_function.py
ef264253775cafebc5222ce9633fdffab638e080
[]
no_license
tiant1/hello-world
44e1b205681d5700ae56c4d1797a79743ad7c2c2
167d6d141b4c203308e5972062d0400f41357578
refs/heads/master
2021-01-24T08:06:31.258772
2017-06-20T13:47:32
2017-06-20T13:47:32
93,371,821
0
0
null
2017-06-05T07:01:46
2017-06-05T06:22:44
null
UTF-8
Python
false
false
529
py
# coding:utf-8 def text_create(name, msg): path = 'D://' full_path = path + name + '.txt' file = open(full_path, 'w') file.write(msg) file.close() print('Done') text_create('Hello', 'hello world') def text_filter(word, censored_word = 'lame', changed_word = 'Awesome'): return word.replace(c...
[ "tian_tian1@outlook.com" ]
tian_tian1@outlook.com