blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
⌀
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
1f0cbb1cf124d0adb6deb6e258f65c807c9ae7d2
027ac9d704e0fc6c67daad5adb0f072c2f7e3d53
/lua/SConscript
b3ecb321fe4637222ec1e6c1876cb0de2bfb2684
[]
no_license
wesz/gusanos
f725df18481c75bae3f95de87fa3288bb946d2ef
61557268c979c6bd4ff6e0336e2351690036a710
refs/heads/master
2020-05-27T22:54:21.658507
2014-02-11T02:27:42
2014-02-11T02:27:42
16,716,622
8
3
null
null
null
null
UTF-8
Python
false
false
91
Import('env getObjects getLibName') env.StaticLibrary(getLibName('glua'), getObjects(env))
[ "weszrick@gmail.com" ]
weszrick@gmail.com
874eb69589c1c8e3384d0af1565f3fb7bbaa4eb5
19da1a56f137a08772c347cf974be54e9c23c053
/lib/adafruit_bitmap_font/bitmap_font.py
b958a6d5e9f99646e075e137ab049f2028ea3062
[]
no_license
mk53202/mk53202-timeclock-pyportal
d94f45a9d186190a4bc6130077baa6743a816ef3
230a858d429f8197c00cab3e67dcfd3b295ffbe0
refs/heads/master
2021-02-04T05:38:25.533292
2020-02-27T22:45:56
2020-02-27T22:45:56
243,626,362
0
0
null
null
null
null
UTF-8
Python
false
false
2,343
py
# The MIT License (MIT) # # Copyright (c) 2019 Scott Shawcroft for Adafruit Industries LLC # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limit...
[ "mkoster@stack41.com" ]
mkoster@stack41.com
26a910f32d22e20d8887ca3cace856d71857483c
bf0ace076d35cb38435c60241de2f3d9b6c3d1ef
/fileIO/csvReaderBuildReport.py
3beddcd7e02060e459d40ef507731bcbd3d1ade8
[]
no_license
marLindaT/python
b3c48d2fe49f1e7a3ac38debb5b4796c1f41cf27
942fcc4b7ca4d1a96b25d1f9d12b90791e3a874a
refs/heads/master
2020-04-25T13:37:11.775252
2019-04-12T20:51:51
2019-04-12T20:51:51
172,815,057
0
0
null
null
null
null
UTF-8
Python
false
false
180
py
import re import csv with open("workingSheet.csv", "r") as csv_input_file: inputFile = csv.reader(csv_input_file, delimiter = ",") for row in inputFile: print(row)
[ "noreply@github.com" ]
noreply@github.com
17155378978ef9232d6bcf051e18edf43ffae0b6
45880a85c73e0f66551f4462d5662cda92880586
/controllers/booking_controller.py
d8e9e65f36ab001ecdd8fede118e047fef9b540c
[]
no_license
emils5/week5-project1-GymTeam
c3413c3a2dbb7ad76584b7d1a54ac5fa3b6faa93
14eb29055ea12b45ac3f6d68b4b3e4fe1252589e
refs/heads/main
2023-06-21T15:24:56.633647
2021-07-14T14:56:30
2021-07-14T14:56:30
385,222,040
0
0
null
null
null
null
UTF-8
Python
false
false
1,630
py
from flask import Flask, render_template, request, redirect from flask import Blueprint from models.booking import Booking import repositories.booking_repository as booking_repository import repositories.member_repository as member_repository import repositories.gym_class_repository as gym_class_repository bookings_bl...
[ "emil.shiva@gmail.com" ]
emil.shiva@gmail.com
ca558233180fa9b596dcb99d1b085674e4516699
e12edf6cde9670eb3d4f1596cd648fddefaf480f
/acm-practice/2017-10-26/D_suspension_binary_search.py
1661f660b42de137344239ea94ac4938ef6967cb
[]
no_license
VitamintK/AlgorithmProblems
7a7786a0377a236f5cc82ae3b623ecad7f0eb025
34da53e2e7d3b5964bafd1f3edb2e00dea9a729d
refs/heads/master
2023-06-29T00:56:53.360829
2023-06-14T16:33:14
2023-06-14T16:33:14
25,510,479
11
4
null
null
null
null
UTF-8
Python
false
false
311
py
d, s = map(int, input().split()) l = 0 r = 123456789 eps = 0.000001 import math for i in range(123456): a = (r+l)/2 term = (d/(2*a)) sag = 0.5*a*(math.exp(term) + math.exp(-term)) - a if sag < s: r = a else: l = a term = d/(2*l) print(l * (math.exp(term) - math.exp(-term)))
[ "kevinwang@kevinwang.us" ]
kevinwang@kevinwang.us
6eeca202b2b8ee7573b4b67b16890fd62592a519
89d4c798228715f3c66a1472eb9cb7607a4c3111
/leading/syslogging/models.py
8977c13a4883caddb42632254494ebc8501f4d72
[]
no_license
isaacjiang/seodev
c55359666f684331b88a84f99da79e1acec33bb8
5e78c90f67247eb1ee8c0cc9dcf4b084b4152dc0
refs/heads/master
2021-01-19T11:49:40.563426
2017-10-05T02:15:38
2017-10-05T02:15:38
69,775,193
0
0
null
null
null
null
UTF-8
Python
false
false
3,506
py
from datetime import datetime from flask import json import leading.config as config class Logging(): def __init__(self, source=None, alarm=None): self.source = source self.alarm = alarm self.date_time = datetime.now().strftime('%Y-%m-%d %H:%M:%S') self.date = datetime.today().strf...
[ "isaacjiang@Isaacs-MacBook-Pro.local" ]
isaacjiang@Isaacs-MacBook-Pro.local
11b9807e86ca001bfc82abd3483b374493f536ac
b5389845f0911185dbe49744bffc594f778454ca
/leave_manager/models.py
67dc4d8b250231cae15f4a1d1a7bf510804c66fa
[]
no_license
Touexe/lms
6a8221ff634d47a161eddb21f890ecc21020eee6
b8a50f02c39b8753373e13dd2200f014217676eb
refs/heads/master
2023-05-28T18:16:45.809756
2019-07-16T10:47:27
2019-07-16T10:47:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
631
py
import datetime from django.db import models from users import models as user_models # Create your models here. class LeaveType(models.Model): type = models.CharField(max_length=255, default='Annual Leave') def __str__(self): return self.type class Leave(models.Model): user = models.ForeignKey...
[ "rohinawale331@gmail.com" ]
rohinawale331@gmail.com
03ba7abe47bcab7d9872f3847417428cf3b2f187
cc2bb9ccc66783ac7d37454e4784df5e4a2d80f4
/server/mysqldb.py
f2feb13c8fbf3f3239e7424de6323d998304ed62
[]
no_license
ronnyzh/Tornado_Server
f308b7e9c2112167b04cbe324e37b1f891999187
42112d39e4dea128d059dbfa53c410f3774dc4b1
refs/heads/master
2021-05-22T22:10:26.694262
2020-04-04T23:39:14
2020-04-04T23:39:14
253,118,839
0
0
null
null
null
null
UTF-8
Python
false
false
669
py
# -*- coding:utf-8 -*- # !/bin/python """ Author: ronnyzh Date: 2019/10/15 Revision: 1.0.0 Description: Description """ from configs import CONFIGS from model.model_mysql import MySQLdb from model.model_asyn_mysql import Async_Mysql import tornado.ioloop from public.public_logger import * mysql_logger ...
[ "ronnyzh@yeah.net" ]
ronnyzh@yeah.net
6612a90f12c20c3b44932e1a20063bf3d8cae433
de26151b77f0379cccd5113cc957e2b691e8559f
/res_rc.py
1b85aa1b9c9d416a338a34ecb9ae3a83156407da
[ "MIT" ]
permissive
magnusjwatson2786/pyDM
79886410bc2453717f3d55166d376edaa3078912
0551a6365a07d336f7dd1d6713c3891954666278
refs/heads/master
2023-08-20T08:55:30.216497
2021-09-17T12:04:11
2021-09-17T12:04:11
401,635,356
2
1
null
null
null
null
UTF-8
Python
false
false
1,004,246
py
# Resource object code (Python 3) # Created by: object code # Created by: The Resource Compiler for Qt version 6.1.2 # WARNING! All changes made in this file will be lost! from PySide6 import QtCore qt_resource_data = b"\ \x00\x00&\x0a\ \x89\ PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\ \x00\x01\x03\x00\x00\x00L\x08\...
[ "mearunprabhakar14@gmail.com" ]
mearunprabhakar14@gmail.com
6a69d670228f0328317b0a690bb5a48193436dfb
1c05f6ecf5beecd3c5a3cf10a1b88f789b565f2c
/tools/jenkins_plugin.py
31ab461ca1c195577553c44c6751485903a21b3c
[ "MIT" ]
permissive
nuaays/lain-jenkins-config
017d9f186cdaeba8fb4fe7e15d3745e9c8e7c7d1
1caf651eaba45e6d044d57c6afd6289a78bbe6df
refs/heads/master
2021-01-23T01:30:04.499015
2016-05-30T03:01:28
2016-05-30T03:05:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
454
py
import ConfigParser def get_plugins(): config = ConfigParser.ConfigParser() config.readfp(open('plugin.cfg')) sec = 'plugins' plugins = [] plugins_items = config.items(sec) for plugins_item in plugins_items: plugins.append(plugins_item[1]) return plugins def install_plugins(server)...
[ "wenbinmeng@creditease.cn" ]
wenbinmeng@creditease.cn
5b7bc4d13801276719bd83d63401d790e4398dcd
0cc1f84bde5ea96d8bf22be94ffb63cef6ec1cb3
/mimic4ds/Experiments/domain_adapt/train_batch.py
459052f554787c65a8ccd3d49c1678896931a247
[]
no_license
sungresearch/mimic4ds_public
0b098ca89aa72643bd809764fde905bb07bea4ca
82dfcd130164e75bdc671fb6df89f5e1350ae972
refs/heads/main
2023-06-28T13:53:45.806517
2021-07-27T18:38:11
2021-07-27T18:38:11
376,589,695
8
1
null
null
null
null
UTF-8
Python
false
false
2,506
py
""" Generate and submit bash scripts to train model using specified training algorithm and gridsearch-selected hyperparameters """ import os #------------------------------------------------------------------------ # PBS vars #------------------------------------------------------------------------ script_tag = 'r' ...
[ "lawrence.guo91@gmail.com" ]
lawrence.guo91@gmail.com
e1fe571e5e18a15051a0fff1a707f71e3bdc687d
8a24e1b2a6e15b010ddb9199407e797fc1f34eb9
/EscortDisplay_2.py
3605123b03c34bce2540c479b88c701551644573
[]
no_license
lutzray/dvm-serial-display
7cc181f9a2551ca68346bdb08d487bb506873c61
ca7b83d4f72450dd0e9fa36f5087db8fce448956
refs/heads/master
2021-01-18T14:14:51.786758
2014-03-17T00:17:37
2014-03-17T00:17:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,483
py
# -*- coding: utf-8 -*- #import serial import math import matplotlib.pyplot as plt from matplotlib.widgets import Button import random import numpy as np from matplotlib.lines import Line2D from matplotlib.patches import Rectangle try: import serial except ImportError: WITH_SERIAL = False else: ...
[ "lutzray@mac.com" ]
lutzray@mac.com
96f75f958e7146a11ac99d2224a3a125a48406dc
60ca69e2a4c6b05e6df44007fd9e4a4ed4425f14
/grand_contest/037/A.py
96f513b224075418d215cfb1e943c483fd3a12f5
[ "MIT" ]
permissive
FGtatsuro/myatcoder
12a9daafc88efbb60fc0cd8840e594500fc3ee55
25a3123be6a6311e7d1c25394987de3e35575ff4
refs/heads/master
2021-06-13T15:24:07.906742
2021-05-16T11:47:09
2021-05-16T11:47:09
195,441,531
0
0
MIT
2021-05-16T11:47:10
2019-07-05T16:47:58
Python
UTF-8
Python
false
false
1,445
py
import sys input = sys.stdin.readline sys.setrecursionlimit(10 ** 7) s = input().strip() if len(s) == 1: print(0) sys.exit(0) if len(s) == 2 and s[0] == s[1]: print(0) sys.exit(0) # [i][0]: index iが1文字分割 # [i][1]: index iが2文字分割 dp = [[0] * 2 for _ in range(len(s))] # 3文字以上では1文字/2文字の仮想結果が使われる # 1文字 dp[...
[ "204491+FGtatsuro@users.noreply.github.com" ]
204491+FGtatsuro@users.noreply.github.com
99d79ab61d8a2d1d313f004be2ed3b8742bb4c89
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/testData/postfix/for/topLevel.py
f1b3ddf673f84c9ab1c8ffb03a662bc644f7fe85
[ "Apache-2.0" ]
permissive
JetBrains/intellij-community
2ed226e200ecc17c037dcddd4a006de56cd43941
05dbd4575d01a213f3f4d69aa4968473f2536142
refs/heads/master
2023-09-03T17:06:37.560889
2023-09-03T11:51:00
2023-09-03T12:12:27
2,489,216
16,288
6,635
Apache-2.0
2023-09-12T07:41:58
2011-09-30T13:33:05
null
UTF-8
Python
false
false
13
py
[].for<caret>
[ "intellij-monorepo-bot-no-reply@jetbrains.com" ]
intellij-monorepo-bot-no-reply@jetbrains.com
882c630b88a2e8c9791264bae166994d0c68fff9
3f3eed680fa70d8fa97f0987f0cc848c9ae9cee7
/Practice5/task6.py
21e8c3bc498413df9208afb4eb37648d85270a04
[]
no_license
fatawesome/StructProgramming
8480b5a5ac8e5076221df80d940187333f04f35c
2a4f210a5dd3c87aaf8859d60a357bd832956c26
refs/heads/master
2021-01-22T21:00:05.658294
2017-05-11T17:06:28
2017-05-11T17:06:28
85,385,387
0
0
null
null
null
null
UTF-8
Python
false
false
429
py
surname = [] result = [] count = int(input('Give me counter: ')) max = -1 sur_out = '' k = 0 for i in range(0,count): surname.append(input('Surname: ')) result.append(int(input('Distance: '))) while (k != 4): for i in range(0,count): if (result[i] > max): max = result[i] sur...
[ "fatawesomeee@gmail.com" ]
fatawesomeee@gmail.com
45dc7ddf2875eb4686e19202e3ffcad9d77f44f5
0a507d31f761a89b278cf0e9e8ad8c4e44cfcef9
/4.End_to_end_ResNet50.py
447998924993eeab7ba4c95ab453678f00f0e348
[]
no_license
axsuen/VideoCaptioning-CNN-LSTM
8417478b104d92fc9c59e1e23e92463b1a217c77
8fabcede1d6ff8922009d300102383453b37546d
refs/heads/main
2023-07-29T03:57:33.657600
2021-09-10T07:40:51
2021-09-10T07:40:51
404,996,416
0
0
null
null
null
null
UTF-8
Python
false
false
18,336
py
"""Trained on NSCC GPU Resource""" import json import numpy as np import pandas as pd import os import functools,operator import random import matplotlib.pyplot as plt import keras # tensorflow import tensorflow as tf from tensorflow.keras.preprocessing import image from tensorflow.keras.layers.experimental.preproces...
[ "83637498+aoxiang-h2o@users.noreply.github.com" ]
83637498+aoxiang-h2o@users.noreply.github.com
12e948a212a9bb9bd1ca683760979befb77d15d1
cb5ffa23fec27d5860e6d94be8acd970bdabee77
/trainer/migrations/0014_auto_20180919_2020.py
97b84b9d419d0518d5d4977e4fbd192b9494ddc1
[]
no_license
kalpeshtawde/corp_trainer
36613d3b00f2499db82eeeb9720d26e37f97b26a
df4eb3bcc280adbe195969987443a769a5c5fb6a
refs/heads/master
2021-07-12T21:43:21.574157
2019-03-04T02:30:41
2019-03-04T02:30:41
146,302,854
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2018-09-19 14:50 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('trainer', '0013_experience'), ] operations = [ migrations.AlterField( ...
[ "kalpeshtawde@outlook.com" ]
kalpeshtawde@outlook.com
b5bd0593af4781df1bc6ac1a6339cd47cab0ac8b
54ebfe0fde5831f2b4b581331132220ce4b5b1ec
/practical_applications/test_sequential_input.py
67e91efa39a504dba3a9f494e93b3a4270310cc0
[]
no_license
pablohonney/hidalgos
57b1eaa9dae733fc213a1dd9810774f321a4afef
4c04de781af5f89c719bbaa46395e16d0a90f39a
refs/heads/master
2021-04-28T13:05:45.770377
2018-09-02T08:59:28
2018-09-02T08:59:28
122,095,101
1
2
null
null
null
null
UTF-8
Python
false
false
115
py
""" Singly-linked list needed """ import unittest class TestSequentialDataStructure(unittest.TestCase): pass
[ "dqzakoyan@gmail.com" ]
dqzakoyan@gmail.com
57def9022661b0cfff922772177235e312b2be22
376228391dd65809e2696c7c8b0987d4b62d98aa
/transactionManager/asgi.py
bef3a753967a792657ece16b6654eac747fe6695
[]
no_license
VaiBhavDJain/CubeXo
8f561ac7ce3ed1fbd242f7d3c70466e129fad5fb
ff6cf8b34783bf132eb743dabcbe3e9135c58c80
refs/heads/main
2023-02-15T02:47:00.085152
2021-01-10T06:50:46
2021-01-10T06:50:46
328,313,346
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
""" ASGI config for transactionManager 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.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('D...
[ "hiivaibhav1@gmail.com" ]
hiivaibhav1@gmail.com
8c3caee16e9a4aea37d38a6aacf6c7446799b28c
6ee08c7dc90cc50e44be5b7315215374688410ad
/src/process_tweets.py
4c44e3d6e3428be74eef7b257f2ad94e005dbc38
[ "MIT" ]
permissive
Schamnad/tweet-sentiment-scores
32c61d24c88c46eb2d39abdda4e4101c9876822d
253595f329767b2d058c4bec4ff3e69d5de52c14
refs/heads/master
2020-07-16T16:33:59.888986
2015-08-24T18:44:47
2015-08-24T18:44:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,443
py
""" @filename: process_tweets.py @author: Matthew Mayo @modified: 2014-04-25 @description: Calculates the sentiment score of tweets stored in <tweet_file> by referencing term-value pairs in the <sentiment_file>; also calcualtes the length of ea...
[ "mattmayo13@gmail.com" ]
mattmayo13@gmail.com
57f74f5f646fd1bbea3ff7465abb8172e13f6278
a7365a2e3e9d3bdaca8580c82cc06c09e1445794
/3-8.py
18621848cccb5e4a7e1203abefdd238f8b17106f
[]
no_license
ZeroCife/Python
426f7e11acdeb18473ba68264634183215310339
712c71c62e294e1bec1f194ee990e5412a990887
refs/heads/master
2020-03-28T03:43:26.529636
2018-09-06T12:54:12
2018-09-06T12:54:12
147,666,503
0
0
null
null
null
null
UTF-8
Python
false
false
19
py
print 2.5 + 10/ 4.0
[ "noreply@github.com" ]
noreply@github.com
2551fe6a23b8024f4bd514a8f27a4835f49a4d6e
cabe97d3f0eb38fa2527490cffc4c0c88a3d0c1b
/video capture.py
16ef52085d063b319e38d8443ceaf259955b7c1b
[]
no_license
savnani5/Opencv-basic-codes
867edc6720ac753c22792ab8c2373171403bafc0
9740102f8439c0c8d3a03ede7ae5c0b519222fa7
refs/heads/master
2022-09-18T13:12:16.250116
2020-06-03T17:54:20
2020-06-03T17:54:20
269,156,623
1
0
null
null
null
null
UTF-8
Python
false
false
362
py
import cv2 cap = cv2.VideoCapture('rtsp://admin:admin @192.168.1.40/1') while(True): # Capture frame-by-frame ret, frame = cap.read() # Display the resulting frame cv2.imshow('frame',frame) if cv2.waitKey(1) & 0xFF == ord('q'): break # When everything done, release the captu...
[ "noreply@github.com" ]
noreply@github.com
a404e63cb25c5f20ac03b7c7d3a2529e11c00d6f
1388bcd6de659ffefe97e7e6c2aee685b5e7c534
/stubs/stubs/Utilityrate4.pyi
0b9fd269d9178b5f58e6650042aed54b3107d49f
[ "BSD-3-Clause" ]
permissive
BRIK-Engenharia/pysam
a7b4b543131043510023a5c17b057ead0b39d440
2a4115f34419edf9776b0bbc7b3f453c958ce734
refs/heads/master
2022-12-06T05:15:35.364375
2020-09-03T22:59:17
2020-09-03T22:59:17
297,958,820
1
0
BSD-3-Clause
2020-09-23T12:13:32
2020-09-23T12:13:32
null
UTF-8
Python
false
false
6,297
pyi
class Common(object): def assign(self): pass def export(self) -> Dict[Dict]: pass def __init__(self, *args, **kwargs): pass analysis_period = float load_escalation = tuple rate_escalation = tuple system_use_lifetime_output = float ur_annual_min_charge = float ur_dc_enable = float ur_dc_flat_mat = ...
[ "dguittet@nrel.gov" ]
dguittet@nrel.gov
e972761471a615bab5025a43fae9bac15a76d408
068174654b1cc9ecc704b659cb0ba83f023eeced
/main.py
a7510ebcaed1feace541cb7a77e5125da244a099
[]
no_license
kelar86/qr_pass
809289a2622f94b758cdc1527ffc682ebff2936a
50f38834ae4ade607b3034dbae02487180c7ca0a
refs/heads/master
2022-11-26T16:22:45.114368
2020-08-02T16:35:34
2020-08-02T16:35:34
270,000,123
0
0
null
null
null
null
UTF-8
Python
false
false
117
py
#!flask/bin/python from app import app if __name__ == "__main__": app.run(host='0.0.0.0', port=8881, debug=True)
[ "alex.volynshchikov@techusage.com" ]
alex.volynshchikov@techusage.com
5ee770a8d50753acf09d160bf45b21931111bc36
3601e93701560c114b80411bf6747ae7bb6f16e6
/Customer_Success_Onboarding_Dashboard/Airtable_PowerBI_integration.py
5dd6b54693a09eff11f4f9884772c0e1f2d5070c
[]
no_license
joobernardo/Portfolio_DS
60141b8f10087325cd05da622d7cc81b4321833c
884c1ff00a446e6d34dd06f0cf0487c2608ab373
refs/heads/master
2020-09-09T23:56:57.201374
2020-06-21T23:17:01
2020-06-21T23:17:01
221,600,001
0
0
null
null
null
null
UTF-8
Python
false
false
772
py
# Confidential!!! # Access to our airtable database my_url_API = "https://api.airtable.com/v0/URLXXXX" my_token_TOKEN = "Bearer KEYXXXX" # Importing libraries import sys import requests import pandas as pd # Python and Airtable - API connection fetch = True URL_BASE = my_url_API TOKEN = my_token_TOKEN PARAMS = {'Auth...
[ "noreply@github.com" ]
noreply@github.com
5b757a8a261966c57aef1e04f6639c085e962470
fef99ca42f8a38badbdef8b7c648e4adfe09f50a
/tests/common/model/unitfactory_test.py
4326761a52a399d21471d7c532905c37ad67ae3f
[]
no_license
mtday/pygame
be8a70905ae8ed656bdc9ab328236724d33838ba
f87e9a81bb34b698898d546d6e91f3c6cf8c6b41
refs/heads/master
2020-12-03T02:24:39.121805
2017-07-04T16:32:30
2017-07-04T16:32:30
95,934,933
0
0
null
null
null
null
UTF-8
Python
false
false
1,136
py
import io import unittest from mygame.common.model.coord import Coord from mygame.common.model.unitfactory import UnitFactory from mygame.common.model.unitinfo import UnitInfo from mygame.common.unit.planet import Planet from mygame.common.unit.recon import ReconDrone from mygame.common.unit.sun import Sun class Un...
[ "mday@42six.com" ]
mday@42six.com
40bc79b2a0574c71fdfbe356082587ebe8d13d21
54918c7f751fc01f72c1af2b4992e7ed4d87f744
/lib/python/parse.py
b2be605d33adc973103d359e231b1652a4b24628
[ "MIT" ]
permissive
IKKO-Ohta/Text2Feature
62ecfd0e548ae9033ef14e11214bfaeb4a0ca30e
7b0abf71c02ee06fafff4b7786bd53b1390857d8
refs/heads/master
2021-01-20T00:36:19.764454
2017-06-04T02:17:04
2017-06-04T02:17:04
89,157,318
0
0
null
null
null
null
UTF-8
Python
false
false
8,079
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import glob import os.path import re import sys import shutil import subprocess import codecs from collections import Counter class Parser: def __init__(self): # 初期化とKyTea,EDAのコマンドがインストールされているか確認 ''' kytea,edaのインストールしているかの確認 以下の2つのコマンドだと終了ステー...
[ "ota.ikko.48v@st.kyoto-u.ac.jp" ]
ota.ikko.48v@st.kyoto-u.ac.jp
49f3bee05885e479558b18dcff7a038de7a5e3ba
250db406ad4a62e3d576e55b979bcfdc3407f226
/Leetcode分类/1. Array /Leetcode_27 Remove Element/my_solution.py
eb387a47da03f53268d0f9347d5e5e9c16df2127
[]
no_license
chenshanghao/Interview_preparation
0830f0e461a2fe287b8ec24ae761974f50268767
4e7701d32990604c16ba18a8083c2108c0232306
refs/heads/master
2020-04-25T02:36:19.499364
2019-06-10T04:51:00
2019-06-10T04:51:00
172,446,284
0
0
null
null
null
null
UTF-8
Python
false
false
339
py
class Solution(object): def removeElement(self, nums, val): """ :type nums: List[int] :type val: int :rtype: int """ index = 0 for i in range(len(nums)): if nums[i] != val: nums[index] = nums[i] index += 1 re...
[ "21551021@zju.edu.cn" ]
21551021@zju.edu.cn
5ef18e3886c8b690dd594124d4093ac3a8fc4372
fa0b9c0c6cb7fbaec303b3b62058d8db95edbe9a
/rango/views.py
dc6c5625800b7ec623752f0c06b08f280a77c46c
[]
no_license
MirQyu/tango
826a1474c4eb4402eceb0577aa5fe48351ef6654
3b85163e1fa7d54f24c3516300d1b82bd3da4d76
refs/heads/master
2021-01-12T09:12:03.953073
2016-12-18T16:31:10
2016-12-18T16:31:10
76,793,808
0
0
null
null
null
null
UTF-8
Python
false
false
6,851
py
# -*- coding: utf-8 -*- from django.shortcuts import render from django.http import HttpResponse from .models import Category, Page from rango.forms import CategoryForm from rango.forms import PageForm from rango.forms import UserForm, UserProfileForm from django.contrib.auth import authenticate, login, logout from dja...
[ "qi.163@126.com" ]
qi.163@126.com
9f70756da48d0b7ef7edc398d37a8974d4a86520
9356e2fa7c28cf0eb78dee84d2ab44500e7b2cdf
/football_results/src/football_results.py
310592687d33cf34f08fceff25e4a93558575e8a
[]
no_license
jaeltg/lab_TDD
b46da76712eaa213bd7b8f2ce297de019c21dc2c
229927e4721a9f5281a64d661aa8e5a025280d73
refs/heads/main
2023-03-11T19:37:21.987292
2021-03-04T16:21:16
2021-03-04T16:21:16
344,536,875
0
1
null
null
null
null
UTF-8
Python
false
false
431
py
def get_result(final_score): if final_score["home_score"] > final_score["away_score"]: return "Home win" elif final_score["home_score"] < final_score["away_score"]: return "Away win" else: return "Draw" def get_results(final_scores): sorted_list = [get_result(final_score) for fi...
[ "jaeltg@hotmail.com" ]
jaeltg@hotmail.com
f1c6b8b4f3add343bd97fe50d6c9ac34e1446bc6
099c5d0d21de342ad578be0fa06dde6be10b4e95
/saltcloud/clouds/joyent.py
5f6729d01b3fa922fc700a5e3345b90c34949cca
[ "Apache-2.0" ]
permissive
lexual/salt-cloud
b09835795a0221c3d283e7e17c60ac68f76ee226
063ac2050f27181ea6da8e3ece528974f8284b72
refs/heads/master
2021-01-17T12:21:01.688573
2012-08-13T19:46:19
2012-08-13T19:46:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,900
py
''' Joyent Cloud Module =================== The Joyent Cloud module is used to intereact with the Joyend cloud system it requires that the username and password to the joyent accound be configured .. code-block:: yaml # The Joyent login user JOYENT.user: fred # The Joyent user's password JOYENT.pass...
[ "thatch45@gmail.com" ]
thatch45@gmail.com
7684fe19d496d20c17785ab0c1fa9afe50005088
33529efc645e9f14d8480b34dc3874d47476bc06
/notebooks/2020former/200520-digits-svm.py
8a1cb39a99224a8ac5fd789bd84889b4c39ef86f
[]
no_license
s-sakagawa/dnn-svm
687390ed45ab7d851f2b8e4d3a83a3e679a43faf
024fb3fb2570faf2e0b598ccd3b4acc3e90cbc69
refs/heads/master
2022-10-30T11:15:53.859265
2020-05-21T15:53:22
2020-05-21T15:53:22
263,026,442
0
0
null
null
null
null
UTF-8
Python
false
false
3,327
py
# --- # jupyter: # jupytext: # text_representation: # extension: .py # format_name: light # format_version: '1.5' # jupytext_version: 1.4.2 # kernelspec: # display_name: Python 3 # language: python # name: python3 # --- # + from pathlib import Path from typing import Union, ...
[ "57160484+s-sakagawa@users.noreply.github.com" ]
57160484+s-sakagawa@users.noreply.github.com
d9b758cc0246650a55d4873c5080463895e12575
6e7b1305887d25ae60251ce54ed2b94dc37ea06c
/Ecommerce/shopping/migrations/0008_order_product.py
310c90465104e681244c4f32141b478425d05d25
[]
no_license
Aadeshkale/assignment
5bedaa95c6d2457d87b239117259c2a17d765c0f
bac0fa5523e3e6179dfe907f493a677adda7993b
refs/heads/master
2023-01-08T04:11:14.847962
2020-11-12T09:37:15
2020-11-12T09:37:15
304,293,311
0
0
null
null
null
null
UTF-8
Python
false
false
1,723
py
# Generated by Django 3.1.1 on 2020-10-14 07:18 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('shopping', '0...
[ "aadeshkale0@gmail.com" ]
aadeshkale0@gmail.com
b4fdc91e7bdf00d608ff57a9de30b4a42abe1af2
11c2fae3b7a8547fe31c2340192f3183bc86ebae
/test/semantic_matching_test.py
5439d400d220711f5c38cc66272f3d0ce629620b
[ "Apache-2.0" ]
permissive
SusannaWull/bert_seq2seq
86ff2229d9c6048475a958477e873d1dce6e19a1
5e2991a004a5f1ceeb76571f33c796355d10b8f7
refs/heads/master
2023-07-01T14:39:29.481005
2021-08-05T06:23:08
2021-08-05T06:23:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,403
py
import torch import sys sys.path.append("/Users/xingzhaohu/Downloads/code/python/ml/ml_code/bert/bert_seq2seq") from bert_seq2seq.tokenizer import Tokenizer, load_chinese_base_vocab from bert_seq2seq.utils import load_bert target = ["0", "1"] cls_model = "./state_dict/bert_semantic_matching.bin" device = torch.devic...
[ "920232796@qq.com" ]
920232796@qq.com
fe3f6c7c2813c2409d3f69ea32e8d8273ee58b69
7c98a14ff4b463d77247d1b99b1ab8f4f5d4a417
/3. Deep Q-network and REINFORCE/Deep Q-network/DQN/train.py
f2acc80760e4c9db3aeaec143b9809305e747bea
[]
no_license
gskishan004/Graduate-Teaching-Assistant---Deep-Reinforcement-Learning
044b7d5b25eb9f718ebfad9ca59b8befc07f765c
e36e9a8dbb9b1a676b9fa02b1fe215dc89b74f7a
refs/heads/master
2023-02-26T04:27:49.017747
2021-01-25T16:10:44
2021-01-25T16:10:44
332,795,649
1
0
null
null
null
null
UTF-8
Python
false
false
3,245
py
import gym from collections import deque from dqn import dqn from utils import process from utils import generate rendering = True episode_start = 1 episode_end = 600 batch_size = 64 if __name__ == '__main__': env = gym.make('CarRacing-v0') agent = dqn() for e in range(episode_start, episode_end + 1): ...
[ "gskishan004@gmail.com" ]
gskishan004@gmail.com
323c7c0ce59fd55de1b7ea0f321ebb164ea53273
253c536715d546d446a7af9d5dd85a8a0ed47f0d
/redis.py
c13a84994b83f111d3875eecf8ba1195984064e9
[]
no_license
asterix201/yandexcloud-mdb-move
cedab472b3c789831a57b049ad9be24282798c3a
be87aa7f265508b77670f728202384f0cf9b7822
refs/heads/master
2022-04-04T14:34:03.003082
2020-02-12T14:40:37
2020-02-12T14:40:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,629
py
import logging import yandex.cloud.mdb.redis.v1.cluster_service_pb2 as cluster_service import yandex.cloud.mdb.redis.v1.cluster_service_pb2_grpc as cluster_service_grpc def restore_cluster(sdk, backup_data, cluster_data, cluster_hosts_data, subnets): logging.info('Restoring cluster from backup %s', backup_data.id...
[ "megaeee@yandex-team.ru" ]
megaeee@yandex-team.ru
cde4f07621ac0e8563ca171fbec40e3ddcdd3e09
4b306006ac37be3851875efd78095b75546a0adf
/baiduMapApi.py
06d154015b6ab95888e124f8779ac994b1c2a81e
[]
no_license
FloweringKnight/spider
95f4e7ce85f6386f130f251877b2643854322b41
c9549d283137ffae36458b74170c397309ef4b8f
refs/heads/master
2021-06-18T19:12:29.448021
2017-05-05T10:20:07
2017-05-05T10:20:07
75,702,507
0
0
null
null
null
null
UTF-8
Python
false
false
811
py
from url_open import url_open import json def address_search(prepared_address): url = 'http://api.map.baidu.com/geocoder/v2/' data = {} data['output'] = 'json' data['ak'] = 'W1TtPpzCzwDBHIdxpAP1hSzWemZQMC2G' data['address'] = prepared_address temp = url_open(url, data) res = json.loads(tem...
[ "chenkeyu2006@gmail.com" ]
chenkeyu2006@gmail.com
9e1f005625bb68f8e47929a6354fd76d5a70af05
23979b80f4c38f4d98e1cfbb5dd999d3b2a181dd
/mysite/settings.py
c6aeac895392a0dcacee10062f6bcdc48501714f
[]
no_license
NormalbutGenuine/Tutorial
6e4f1e9f832b8f7011acfeb7a3c5a21aa6382d3f
7b6a3d870258241d8a36d3e58ec2656816818a3e
refs/heads/master
2023-01-02T14:02:51.696143
2020-10-25T07:51:47
2020-10-25T07:51:47
307,039,549
0
0
null
null
null
null
UTF-8
Python
false
false
3,121
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 3.1.2. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pathlib ...
[ "obybkim@hanmail.net" ]
obybkim@hanmail.net
531098c1c09e8144cdb7c6acaa900cd7e0e1b5a6
8ae1066beb34be79aef57420049062c07d7034d3
/network.py
3609fff34af0647d466487617c2dbb52a262fd6c
[]
no_license
bhuvan21/SenseBorg
c41fa462e29554dd73401776ec4a8b4ad091d6c8
6b17d277eef7f99366bd7569e7cb26dee9059726
refs/heads/master
2023-02-18T17:18:59.584492
2021-01-19T10:25:17
2021-01-19T10:25:17
256,551,335
0
0
null
null
null
null
UTF-8
Python
false
false
1,665
py
import threading import requests import queue import time class Sender: def __init__(self): self.thread = threading.Thread(target=self.mainloop) self.queue = queue.Queue() self.to_send = [] self.thread.setDaemon(True) self.thread.start() self.last_sent = 0 de...
[ "bhuvan.belur@westminster.org.uk" ]
bhuvan.belur@westminster.org.uk
1eff432e29fad5a4416507ae7c47d4fed9ceff6e
37dbe7c9803cbabe4e9650e1ce259fe3800e710f
/recursion2.py
6d43564d775d0fa8d2ced61f5feefee19dafdbdb
[]
no_license
jerry-che/Data_Structures_with_Python
c622faa78022b7f79952b99699f5eccfeb5eff9c
81373567737a548e233dae906f14af3074bdd300
refs/heads/master
2021-09-23T02:25:49.342206
2018-09-20T01:38:25
2018-09-20T01:38:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,130
py
# File: recursion2.py # Description: Coding Bat recursion 2 problems # Student Name: Jerry Che # Student UT EID: jc78222 # Course Name: CS 313E # Unique Number: 86325 # Date Created: 07/07/18 # Date Last Modified: 07/11/18 # For each function that you wish to write, remove the comment...
[ "noreply@github.com" ]
noreply@github.com
d45f5f1e80eb49d2b796c96c0f6f74279719c04f
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/Calorimeter/CaloCondPhysAlgs/share/CaloNoise2Ntuple_data.py
b272eccf19df896d9085998da90333c610274a83
[]
no_license
rushioda/PIXELVALID_athena
90befe12042c1249cbb3655dde1428bb9b9a42ce
22df23187ef85e9c3120122c8375ea0e7d8ea440
refs/heads/master
2020-12-14T22:01:15.365949
2020-01-19T03:59:35
2020-01-19T03:59:35
234,836,993
1
0
null
null
null
null
UTF-8
Python
false
false
4,388
py
############################################################### # # Job options file for CaloNoise2Ntuple # #============================================================== # configuration for data, read noise from database through CaloNoiseToolDB if 'RunNumber' not in dir(): RunNumber = 258914 if 'LumiBlock' not i...
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
bfe1f5cc366bbb61cc7d629fea447334e4a71c9d
4644860f8efc8255fd31d619dde92edbe6a7aada
/medialisting/medialisting/wsgi.py
1466ee7b489638b92eff0cedad4c6ad014e3f1ac
[]
no_license
megharana/File-Listing
d005b194d8c752c541d4e5cc23660f9182b44573
66e0ce981aa6b864efb8f0100966de221ab551c1
refs/heads/master
2020-05-24T03:08:59.104234
2019-05-16T21:17:54
2019-05-16T21:17:54
187,066,804
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
""" WSGI config for medialisting project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_...
[ "megharanait95@gmail.com" ]
megharanait95@gmail.com
f37cd5437e19fb4a0472381b67b5f554307c24ad
1e263d605d4eaf0fd20f90dd2aa4174574e3ebce
/components/ally-http/__setup__/ally_http/__init__.py
b06c5790549446b5d6d3390a164ae4559aab9422
[]
no_license
galiminus/my_liveblog
698f67174753ff30f8c9590935d6562a79ad2cbf
550aa1d0a58fc30aa9faccbfd24c79a0ceb83352
refs/heads/master
2021-05-26T20:03:13.506295
2013-04-23T09:57:53
2013-04-23T09:57:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,077
py
''' Created on Jul 15, 2011 @package: ally http @copyright: 2012 Sourcefabric o.p.s. @license: http://www.gnu.org/licenses/gpl-3.0.txt @author: Gabriel Nistor Contains setup and configuration files for the HTTP REST server. ''' from ally.container import ioc # -------------------------------------------------------...
[ "etienne@spillemaeker.com" ]
etienne@spillemaeker.com
916d8ba379bd9fe0dcfbd4758f028f88f55562fa
d044e88e622d9f4ca350aa4fd9d95d7ba2fae50b
/application/budget/migrations/0005_auto_20210518_1730.py
2650551c2c42b96e2b7524ac633bd6e6f8c70b2f
[]
no_license
Tiny-Hands/tinyhands
337d5845ab99861ae189de2b97b8b36203c33eef
77aa0bdcbd6f2cbedc7eaa1fa4779bb559d88584
refs/heads/develop
2023-09-06T04:23:06.330489
2023-08-31T11:31:17
2023-08-31T11:31:17
24,202,150
7
3
null
2023-08-31T11:31:18
2014-09-18T19:35:02
PLpgSQL
UTF-8
Python
false
false
683
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.16 on 2021-05-18 17:30 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('budget', '0004_auto_20210120_1903'), ] operations = [ migrations.AlterFiel...
[ "scrishel@sbcglobal.net" ]
scrishel@sbcglobal.net
fd2752c35eda4aad0caaeed27bf399ad30e502c1
0798daabc46f74f1d1dbb46092e408595419ec6e
/rides/models.py
75afdda54600809a48afb9a2e616720596d07ae5
[]
no_license
sieroshtan/drawride
6988e250ba97055c0bcd1a3f268863d068327417
67aae1faa4cd6c56b5cb7502660deea4775d7cca
refs/heads/master
2021-01-16T04:13:57.226665
2014-06-27T17:26:49
2014-06-27T17:26:49
242,973,566
0
0
null
null
null
null
UTF-8
Python
false
false
2,224
py
from django.db import models from django.core.urlresolvers import reverse from django.contrib.contenttypes import generic from django.utils import timezone from django.conf import settings from comments.models import Comment from .managers import RideManager, RideMembersManager, UserFavoritesManager from geo.models imp...
[ "alexseroshtan@gmail.com" ]
alexseroshtan@gmail.com
de07be76081ac92e4fac552d372f139054795f26
2beea788417f05a2f8afcd35837209708f5aa3b3
/src/twitter_news/__init__.py
0ceab9b0e58ed8bd70d6f92aa99ba5a5696df443
[]
no_license
lhbelfanti/twitter-news
980474d4fa7ab8bf6b476cb796b4980f93fcc312
d313f974ae4ffd16ee203a83bcfc9c3b5bd39ec6
refs/heads/master
2023-06-22T22:09:29.271673
2018-11-23T02:31:17
2018-11-23T02:31:17
348,140,103
1
0
null
null
null
null
UTF-8
Python
false
false
38
py
from .twitter_news import TwitterNews
[ "lhbelfanti@gmail.com" ]
lhbelfanti@gmail.com
fdf0029733f0c29f70e2242919078fe8131e8b6b
f428482945cf11d0fa17aa1a0607f43ec8427614
/run_profile.py
3a8a3189a42f462a73a5eb880fb0a24e0f0f8f45
[]
no_license
SomervilleJesusBall/KebleBall
22e3367797a0a9f740271dff40d5359e69a80f9d
09a7d9c6b86365c31827bfd44fa50d4527a646e4
refs/heads/master
2021-01-22T05:23:55.882724
2016-03-13T18:28:09
2016-04-14T12:17:45
47,200,067
0
0
null
2015-12-01T15:56:32
2015-12-01T15:56:31
null
UTF-8
Python
false
false
469
py
#! /usr/bin/env python2 # coding: utf-8 """Executable to run Eisitirio with profiling.""" from __future__ import unicode_literals from werkzeug.contrib import profiler from eisitirio import app from eisitirio import system # pylint: disable=unused-import APP = app.APP APP.config.from_pyfile('config/development.py'...
[ "samuel.littley@toastwaffle.com" ]
samuel.littley@toastwaffle.com
15afa28dced76a7e2d791bfce40aa6becc053609
c065dc27fbf595fa0166f14953a8b7e022adda20
/src/utils/interface.py
d6962908aa8a8e444a90f42cb82ae6ae2b37654d
[ "MIT" ]
permissive
JuanFKurucz/proyecto-seguridad
2f44b484e5b35b7ffdf8af8636caf1b94101f465
feb805c785afc57de19244e7916f232d3798a768
refs/heads/master
2022-11-10T00:48:24.586870
2020-06-22T00:27:20
2020-06-22T00:27:20
271,112,174
0
0
null
null
null
null
UTF-8
Python
false
false
363
py
import sys import os import msvcrt import time from src.utils.config import INPUT_TIMEOUT from inputimeout import inputimeout, TimeoutOccurred from getpass import getpass def clear_screen(): os.system("cls") def ask(text): return inputimeout(prompt=f"{text}\n", timeout=INPUT_TIMEOUT) def ask_password(tex...
[ "juanfkurucz@gmail.com" ]
juanfkurucz@gmail.com
cfb807ede35096d8aff7327650d442fd30363285
09c461d51875a6b02e8e106e50507db5ae0dde09
/Day01_15/code/Day07/motorcycles.py
0463976ac4c16d131d70ffea200d84ae5627d7ee
[]
no_license
code4happylife/Python-100-Days
fbd24566b59ac76a17326ca9b80bce65cff01a5a
d415d17c0c42f762f9062eec81cc636a4612be28
refs/heads/master
2023-08-10T00:07:02.207874
2020-09-22T12:46:15
2020-09-22T12:46:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
478
py
# encoding: utf-8 ''' @author: developer @software: python @file: motorcycles.py @time: 2019/12/5 22:45 @desc:modify list test ''' # motorcycles = ['honda', 'yamaha', 'suzuki'] # print(motorcycles) # # motorcycles[0] = 'ducati' # # print(motorcycles) # motorcycles.append('ducati') # print(motorcycles) motorcycles = []...
[ "1559273720@qq.com" ]
1559273720@qq.com
877ca248005210bb37f38a0f37109cfac25b2dbd
61a21ed2dcdfe9a43588c5582eea38ce8fdfcbf2
/akshare/charity/__init__.py
c5707908556063f7183a0abfe452b67f4dab4660
[ "MIT" ]
permissive
huanghyw/akshare
44187c6c56872d499651bb62c178ee837c776388
ed84e937773c0420cc003793d74b73e64223e08b
refs/heads/master
2023-04-22T07:06:08.929307
2021-05-02T16:05:59
2021-05-02T16:05:59
319,346,216
13
5
MIT
2021-05-02T16:05:59
2020-12-07T14:32:08
null
UTF-8
Python
false
false
81
py
# -*- coding:utf-8 -*- # /usr/bin/env python """ Date: 2020/2/21 16:03 Desc: """
[ "jindaxiang@163.com" ]
jindaxiang@163.com
e4515fe8c3cea9d3f9997c49b04bf14ba5e3beb8
761f0309fabde2dc297533a080f25905067b0142
/Atm.py
bbdcac021aaa8128ccf7eddbe770b3ade033c600
[]
no_license
adhirajgupta/c100-homework
04787bad1174b9c065c610a4254f80e4cad4bef2
d083e9375a547c263b05b840eda2592f3f6947d1
refs/heads/main
2023-01-25T04:12:11.082408
2020-12-05T08:57:52
2020-12-05T08:57:52
318,743,731
0
0
null
null
null
null
UTF-8
Python
false
false
506
py
cbalance = 50000 nBalance = 50000 def withdraw(): amount = int(input("how much do you want to withdraw - ")) nBalance = cbalance - amount print("Your new balance is - ",nBalance) def balanceCheck(nBalance): print(nBalance) cardno = int(input("Enter your card number - ")) pin = int...
[ "noreply@github.com" ]
noreply@github.com
b87063fe0fd4e89a7f3fd24bed9b7362e6eb57ee
078682b75d1da6dc503cdae861464e1b506e00b8
/week8/ee.py
05bc94a2c22b1ef9d64a6d54a7d4a9061261db25
[]
no_license
k-duisenova/WebDevelopment
c279d8842cb79fde4506751d002490ef8ef9c00d
1da542cc9d2f4800218155f26c7061e0a0844f94
refs/heads/master
2023-01-23T17:29:20.879255
2020-04-12T12:40:27
2020-04-12T12:40:27
237,549,472
0
0
null
2023-01-07T16:10:01
2020-02-01T02:20:23
Python
UTF-8
Python
false
false
107
py
x = int(input("")) y = int(input("")) if x > y: print(1) if x < y: print(2) if x == y: print(0)
[ "kuralaiduisenova97@gmail.com" ]
kuralaiduisenova97@gmail.com
c8bd0cc64b9d6c834622131608f3a78dcbcd0e19
fac17faaccdc3a896ee8595486c5bcc336feccb0
/33.py
7919b77b504c53bd507d253cd96587e2cad86712
[]
no_license
techeye220/pythontip
fa9ff47c486be6a8692352adb815c190020fc0ac
9b88097da07b089e7abaeee2773afccd77d553d1
refs/heads/master
2021-05-13T23:08:00.176758
2013-11-04T15:35:04
2013-11-04T15:35:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
351
py
# -*- coding: utf-8 -*- """ Created on Sat Nov 02 19:05:54 2013 @author: 子怿 """ def Dami(a,n): result = 1 for i in xrange(n): result = result*a if result > 20132013: result = result % 20132013 return result #print Dami(99999,100000000000) a = 99999+1 n = 100000000000 print pow...
[ "lzy_8921@163.com" ]
lzy_8921@163.com
d53fdbc0fd862a34a08d5dab267fde94b80899dc
aa07e7236882d2ef12719a300c114e7b33824d4b
/clases/persona.py
8bdb46c4cfd7ffe12b5b73e85c0dff153de730f9
[]
no_license
lestigarribiaf/boot
06ed5f42103c291dccf2e221d855e840870fad60
0b08da88e07e1547d640b19a7291eb846a8f38f3
refs/heads/master
2020-06-20T20:15:30.623565
2019-07-17T18:45:59
2019-07-17T18:45:59
197,233,798
0
0
null
null
null
null
UTF-8
Python
false
false
1,894
py
class Persona: #definimos la clase, que es una receta para crear un objeto. la clase es una plantilla. las clases se ponen con mayúscula (indica que no es una función) edad = 0 #atributo/característica de la clase/objeto que vamos a crear nacionalidad = "paraguaya" #cuando def está dentro de class es un métod...
[ "leelooe@gmail.com" ]
leelooe@gmail.com
8ac6797f0b57a76bf3a7fd292e1594104406c8b1
eeda35b638c61c5b85645cd77db8bd3237517918
/5.py
a5cde929882139de7c0da8fef5e8cf682af556cf
[]
no_license
gujingit/LeeCode
897079243d44ff276534b8e1467c313ea42b8953
bed3badaa052ac46547861ff8a7f0913d0333537
refs/heads/master
2021-01-20T05:37:05.150566
2017-04-06T14:25:12
2017-04-06T14:25:12
83,860,506
0
0
null
null
null
null
UTF-8
Python
false
false
1,434
py
#coding=utf-8 #Given a string s, find the longest palindromic substring in s. # You may assume that the maximum length of s is 1000. #如果需要规避奇偶问题可以通过如下方法: # 原串: w a a b w s w f d # 新串: # w # a # a # b # w # s # w # f # d # class Solution(object): #@return string def expand(self,s,i,front,end): m =...
[ "gujing@gujingdeMacBook-Pro.local" ]
gujing@gujingdeMacBook-Pro.local
05911205790dedbbad8acf810ab73b61ef3f90d7
0fd49579e6ddd7b01cc3c4c43d63e078710d0793
/prerolls/prerolls.py
0832b8049ea46e700e59e48de61046f413f2bdc5
[]
no_license
stoic1979/PiUiXml
c2c31155bf7c4a8c5d903c945e5a2440f3395f8a
c1f91748614f679b9f9032c412abc01810c5c204
refs/heads/master
2021-01-21T14:28:14.875090
2017-07-20T09:49:04
2017-07-20T09:49:04
95,284,606
0
0
null
null
null
null
UTF-8
Python
false
false
695
py
from kivy.app import App from kivy.lang import Builder from kivy.uix.screenmanager import ScreenManager, Screen # setting font from kivy.core.text import LabelBase LabelBase.register(name="GothamMedium", fn_regular="fonts/GothamMedium.ttf", fn_bold="fonts/GothamMedium.ttf", ...
[ "weavebytes@gmail.com" ]
weavebytes@gmail.com
71f9dfbcc3d12d1d6b2a723fd1b8b2d662034be6
a139d9290b9ac1c7ccc0c68fcbd0807fd829c70d
/day3.py
aad5ff605c3750b3b9a710adaa381c96f1e90997
[]
no_license
petermd/aoc2020
076f98aacef67a86696cf190ff5437074c1aee8d
0a687e64949539a26fb3eeab8c0c8ab443e95f03
refs/heads/main
2023-02-14T01:54:23.655170
2021-01-02T18:15:02
2021-01-02T18:15:02
320,843,600
0
0
null
null
null
null
UTF-8
Python
false
false
434
py
import math map = [] with open("day3.dat", "r") as f: map = [line.rstrip() for line in f.readlines()] def slope(ix, iy): trees, x, y = 0, 0, 0 while y < len(map): trees += map[y][x % len(map[y])] == '#' y += iy x += ix return trees def partone(): return slope(3,1) def par...
[ "petermd@gmail.com" ]
petermd@gmail.com
4effc4f9f5dbca50ae46bd4a70d671883ddde969
2c4556f9c5bbdec388655233b146206fd95a16fa
/python-scripts/Print_Helper.py
7d6f3c0ea776fcffcf7701e0109b4609f83ce568
[]
no_license
javiisebas/TFG
677ad0632f4d6177d8090743e9264fbf91a66015
11dc6a9ceb8149f4b1670b5b32e9668767299420
refs/heads/master
2021-04-03T20:29:57.821145
2020-05-18T14:05:52
2020-05-18T14:05:52
191,790,915
0
0
null
null
null
null
UTF-8
Python
false
false
3,297
py
''' This library helps to print the value of the parameters in each shell ''' import pandas as pd # We import a pandas in case we want to save the data # We are going to define some function that will help us to print the values in a styles way def helpCreator(X, esp): ''' It helps to generalize the styling ...
[ "noreply@github.com" ]
noreply@github.com
bf3d53245cc918b53d410fb4e30485d53f1b055f
98d34935bfa9b709c07df539267daa6f3a6db880
/kikar_hamedina/mks/factories/member_factory.py
b99cce744d9c25d90690e045e9aff5fd62a4e562
[]
no_license
hasadna/kikar-hamedina
c4a0e939fdafb1f8d187db1be35aba5fde2350be
d08e9231fd4c91c4024ced26b760b87f93bb8607
refs/heads/dev
2020-12-25T18:04:22.817008
2019-03-30T15:27:13
2019-03-30T15:27:13
18,186,117
12
36
null
2019-03-30T15:28:06
2014-03-27T18:11:01
Python
UTF-8
Python
false
false
373
py
import factory from mks import models from party_factory import PartyFactory class MemberFactory(factory.DjangoModelFactory): class Meta: model = models.Member name = factory.sequence(lambda n: u"Name {}".format(n)) name_en = factory.sequence(lambda n: u"Name {}".format(n)) current_party = fa...
[ "yotammanor@gmail.com" ]
yotammanor@gmail.com
4f1bfe59571a6c7bd73e2f73ff6151cd8b652e8d
8807a60cfff2955aad4e4621b4d9f74ce1fe4814
/interfaceTest/common/configDB.py
df4e39719b58eeef0679cb0c0355d395c1dec264
[]
no_license
luqingfeng01/pycharm
20b6a2e9fc3a0d03a3c1cc4dcd4c793c689f6c78
5d7a294348a7fae237e6a07b8b3e8b4fdd4fbacf
refs/heads/master
2021-07-07T09:01:21.787476
2020-10-20T06:20:32
2020-10-20T06:20:32
202,466,587
0
0
null
null
null
null
UTF-8
Python
false
false
1,994
py
import pymysql import pycharm.interfaceTest.readConfig as readConfig from pycharm.interfaceTest.common.Log import MyLog as Log localReadConfig = readConfig.ReadConfig() class MyDB: global host, username, password, port, database, config host = localReadConfig.get_db("host") username = localReadConfig.get...
[ "274832258@qq.com" ]
274832258@qq.com
ea0f2a2a407101a1701e4cbef1f11078beb06480
c5fb6f2fe6fb0ee3346bd6d9e8466c9dc9004ff8
/build/cacc/packages/cacc_controller/catkin_generated/pkg.installspace.context.pc.py
746afda63635c0481bf8cf05e6bb1746e82a99ee
[ "MIT" ]
permissive
thori1222/an_hori_project
b4bdd594f1c535ab53b4ee0e8f12a65459ca924a
9fca623f76cc2a65611ec57a07de221b29969e58
refs/heads/main
2023-02-11T13:06:41.461999
2021-01-13T09:13:40
2021-01-13T09:13:40
329,251,670
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "${prefix}/include".split(';') if "${prefix}/include" != "" else [] PROJECT_CATKIN_DEPENDS = "roscpp;cgmres_lib;cacc_msgs".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" ...
[ "thori1222" ]
thori1222
0901587cb483f5f586d862ad701e89b6273493d3
78649dd3fdfafc3edb7ef5b0de52096846cd9c28
/networking_mlnx_baremetal/ufmclient/session.py
4e246c17d2045be65610b4e4a49a1dd690b63064
[ "Apache-2.0" ]
permissive
IamFive/networking-mlnx-baremetal
38c99b127a7b08850e9ce5c83f0a6539ec4fe9b6
8d65405a8546803f903cadd0cf0818007a1d0119
refs/heads/master
2023-02-02T05:47:02.166816
2020-12-02T08:01:40
2020-12-02T12:29:02
296,988,990
0
0
null
null
null
null
UTF-8
Python
false
false
4,375
py
# Copyright 2020 HuaWei Technologies. All Rights Reserved # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless require...
[ "iampurse@vip.qq.com" ]
iampurse@vip.qq.com
158d04f47e3841ff470eff15c7c94ec086715484
8a1ab23b056886965fec2a3e4064c5ed55e22bfb
/домашка/starter/lesson 5/Marukhniak Denys/Lesson_5_4.py
733ff28aac3894425b09a9ae247f40a250043239
[]
no_license
django-group/python-itvdn
5d8a59f06618f993d20d2f60374c36aae4ae8ab0
62ef87dfac947ed4bf1f5b6b890461f56814d893
refs/heads/master
2021-01-07T11:16:37.996524
2020-02-14T13:53:47
2020-02-14T13:53:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,005
py
# Задание # Создайте программу, которая состоит из функции, которая принимает три числа и возвращает # их среднее арифметическое, и главного цикла, спрашивающего у пользователя числа и # вычисляющего их средние значения при помощи созданной функции. def value(z, x, c): return (z+x+c)/3 while True: z = int(i...
[ "levyiakk123@gmail.com" ]
levyiakk123@gmail.com
0cd25186960fb45dbe77e8bf0681e1067efd3b01
90e8fb70cf49d30740ec8f5622d5ff59751eda36
/Binarytrees/main.py
f2a7d642f058bac033ba8d40e07654120b4ac275
[]
no_license
kevchan7/Linked_lists
7643c31acf421526880bdef32094dffd8e982005
91a257b55d27e136976c465c1a4c29b0b3ebc5f6
refs/heads/master
2023-02-01T19:30:08.968824
2020-12-21T00:32:08
2020-12-21T00:32:08
315,759,156
0
0
null
2020-12-08T03:00:08
2020-11-24T21:42:10
Python
UTF-8
Python
false
false
609
py
from tree_node import tree_node def test_btrees(): rooted = tree_node(1) rooted.left = tree_node(4) rooted.right = tree_node(2) rooted.right.right = tree_node(3) print(rooted.preorder_traversal(rooted)) assert rooted.preorder_traversal(rooted) == [1, 4, 2, 3] print(rooted.postorder_traver...
[ "kchan9001@gmail.com" ]
kchan9001@gmail.com
4540834150fbf8f5ea9f83d1b00f45312fcc2abe
3ca7ff1f7aefb35dad1be6dabef5eb75c12d3ac5
/dashboard/helpers.py
743b62a1394465daaec9eb649a48ebb58696c060
[]
no_license
askmetoo/freshdash
1b327ed4d25f682cc86ec280ff9c81836c5ca142
b69a0cc41326652956d3df845e9aca896304eb72
refs/heads/master
2022-07-19T23:10:40.920077
2020-04-07T21:47:58
2020-04-07T21:47:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
482
py
import calendar from datetime import date from math import ceil def month_first_day(): y, m = date.today().year, date.today().month a, m = divmod(m-1, 12) return date(y+a, m+1, 1) def month_last_day(): return calendar.monthrange(date.today().year, date.today().month)[1] def week_of_month(): to...
[ "lee@substrakt.com" ]
lee@substrakt.com
32c6258bc84f4c4dae4b5069b87ac4f62e4f6e88
55f55e393f9735a1ee3cd22f32a85957defd1d5a
/create_share_screen/common_utils.py
fefcb904c655020a4bf7966b37d5e1dd30c42f8a
[]
no_license
Bhaktibj/Flask_Socket_Screen_Sharing
d2358ae6c98984e29fdb12a9c7d59b5877adac97
5ab6d28e8640aeb957bb18bd3410191011d53660
refs/heads/master
2022-04-01T03:30:57.139892
2020-01-25T06:56:22
2020-01-25T06:56:22
236,130,402
0
0
null
null
null
null
UTF-8
Python
false
false
1,096
py
import mss from zlib import compress from mss import mss WIDTH=1366 HEIGHT=768 def retreive_screenshot(conn): with mss(display=':0') as sct: # The region to capture rect={'top': 0, 'left': 0, 'width': WIDTH, 'height': HEIGHT} while 'recording': # Capture the screen ...
[ "bhaktibj402@gmail.com" ]
bhaktibj402@gmail.com
d1867aa0a645288d1542d18d2ba0e9d0b883f34f
79f1d03d6a4063fbb1b83693e014824ed11f98fe
/train_test_split.py
fcf6cd688ccc0e8fa25002202a4c5d6634b0920b
[]
no_license
moosejaw/ct6045-assignment
e3e1e74aab2a4a65906e5d698f6f9974c527232d
7809b5eb2ec24752e8c202b559bc21d1572a7805
refs/heads/master
2023-08-31T00:46:51.470492
2023-08-22T09:56:34
2023-08-22T09:56:34
221,058,335
0
0
null
2023-08-22T09:56:35
2019-11-11T19:51:55
Python
UTF-8
Python
false
false
2,025
py
#!/usr/bin/env python3 ''' As we are going to use a streaming model for our predictions, we will split our dataset into "training" and "testing". There is no easy way to do this so we will have to load each file into one dataframe and perform the split from there. Then we can clean up by deleting the original files. '...
[ "joshdemir@gmail.com" ]
joshdemir@gmail.com
02a9d52117d39fa09b1125e39506a5e543f25a5c
ac55f4bb4beb49f1ae6a1f0741f6b076cf39ea62
/Reproductor.py
96671314e74a1be59896f9ae45e19b57636eb9b0
[]
no_license
ccpabonu/ReproductorMulti
44dd76d9f8b56b474cd6f98d6355c53c867d4f61
badaae8273498f2ebf179ec51afa8246d1664117
refs/heads/main
2023-03-21T04:01:57.124344
2021-03-12T01:40:52
2021-03-12T01:40:52
346,897,621
1
0
null
null
null
null
UTF-8
Python
false
false
7,422
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'Reproductor.ui' # # Created by: PyQt5 UI code generator 5.13.2 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_MainWindow(object): def setupUi(self, MainWindow): Ma...
[ "ccpabonu@unal.edu.co" ]
ccpabonu@unal.edu.co
f43a8030903ababf84b372f2a71583c30458595b
49273a7e6e0d4726f38fab1c430b86dbfc4b2345
/leetcode/p49.py
ffbeedf32f08e603a01ecbb7f7ff820bb024d919
[]
no_license
adqz/interview_practice
d16d8c56436dde1f7fa96dc0d8dcc827295e0ff0
f55fb9c0a39c2482c98cc452c185a938a59ad57c
refs/heads/master
2023-01-11T01:30:03.353498
2023-01-03T14:48:08
2023-01-03T14:48:08
207,520,968
0
0
null
null
null
null
UTF-8
Python
false
false
1,289
py
''' @author: adnan Problem No. 98. Validate Binary Search Tree (Medium) Runtime: 40 ms, faster than 96.02% of Python3 online submissions for Validate Binary Search Tree. Memory Usage: 15.1 MB, less than 100.00% of Python3 online submissions for Validate Binary Search Tree. ''' from typing import List import tree_visua...
[ "ashahpur@eng.ucsd.edu" ]
ashahpur@eng.ucsd.edu
7ab220a3edac5781d6067f37f7fbcbdb5e7bae51
9d0f395ed32aeb86cd20c3cd8e2b347f6e5f7055
/Solved/p020.py
7f518505d0fb49e2067f18e564edf37efe3e22ae
[]
no_license
nathanandersen/ProjectEuler
ebb47e5d19274edfd654bfa1b417918165a6b6ca
373d59996f71477e1f8bcd1531dd69c334f53aed
refs/heads/master
2020-04-06T04:06:29.385320
2017-12-11T01:59:02
2017-12-11T01:59:02
58,689,380
0
0
null
null
null
null
UTF-8
Python
false
false
141
py
# Problem 20 # real 0m0.065s # user 0m0.042s # sys 0m0.013s import math from utils import digit_sum print(digit_sum(math.factorial(100)))
[ "nathan.andersens@gmail.com" ]
nathan.andersens@gmail.com
656261c5d3da79c816e9492875bd67378c9ec04d
92bfb866931c9ebb3d53234bb6ed5ddd0f8e93c0
/django_sofortueberweisung/migrations/0002_auto_20190211_1320.py
974dd82250e7eb02f00117076d0c997422d5284b
[ "MIT" ]
permissive
ParticulateSolutions/django-sofortueberweisung
76010c7df0c3cac03569044dba8886c30d7a465e
c48628beede5215b573af0488b694bf48e405536
refs/heads/master
2020-09-12T03:34:17.212225
2019-10-25T09:42:26
2019-10-25T09:42:26
67,127,255
3
4
MIT
2019-11-26T19:35:42
2016-09-01T11:58:15
Python
UTF-8
Python
false
false
2,417
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.18 on 2019-02-11 12:20 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('django_sofortueberweisung', '0001_initial'), ] op...
[ "tim.burg@particulate.me" ]
tim.burg@particulate.me
92faa3cc6c9b46d19d31350aa17bf68325786ac2
d1c3a9a4289b1aa262285b5de5084f3074893703
/games/forms.py
2465c9d8ef21a1a536c51afe892d02c167bedc86
[ "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-public-domain" ]
permissive
Code-Institute-Submissions/stream-three-project-1
a9ce00a608b5d12d0c4ef48546c265f0110fb55e
96a5718a22f57b908ea5eb76298ceffdb1f17c8b
refs/heads/master
2020-03-21T11:13:19.873566
2018-06-24T14:57:31
2018-06-24T14:57:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
382
py
from django import forms from datetime import datetime # Form to select a season when viewing the league standings. Just a simple select field to choose a year. class SeasonSelectForm(forms.Form): SEASON_OPTIONS = ( (year, year) for year in range(2000, datetime.now().year+1) ) season = forms.Cho...
[ "andrew@andrewstead.co.uk" ]
andrew@andrewstead.co.uk
97ac2b103ee06217fc5ba3b43ca8f3a1f467b021
7399dcb454422f3e5b76830ad618b7f340f4431e
/emtask/ced/test/test_rewire_verb.py
f24ca217847a9f2132968afce7d2f9e388aefaed
[ "MIT" ]
permissive
vecin2/python-emtask
2723553e708ae85f36edf5a38e62ec73e2ae79cb
b7334cadb7012c17b49bbb470e345cc84b25c5cf
refs/heads/master
2022-11-25T11:15:07.197771
2020-07-28T02:28:02
2020-07-28T02:28:02
249,043,652
0
0
null
null
null
null
UTF-8
Python
false
false
4,320
py
import pytest from emtask.ced.nubia_commands.commands import rewire_verb from emtasktest.testutils import sample_project class FakeConnector(object): """docstring for FakeConnector""" def __init__( self, server=None, user=None, password=None, database=None, po...
[ "vecin2@gmail.com" ]
vecin2@gmail.com
599b0fce3eb075495d7330663d93b6610a71663c
29b9e6cacd222d2de752f41c445d9ef9926087a7
/venv/bin/easy_install-3.6
696f902bea103370e50610b90b3c1740970060d5
[]
no_license
anhlbse04145/CapProject
269920856180cd3c0a161557e2233e2febaed761
76016b5fec5aee670ad72b561c5ec070231874de
refs/heads/master
2020-04-02T06:41:54.143114
2018-12-23T08:08:41
2018-12-23T08:08:41
154,163,990
0
0
null
null
null
null
UTF-8
Python
false
false
442
6
#!/home/baoanh/Desktop/MyProject/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install-3.6' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '',...
[ "anhlbse04145@gmail.com" ]
anhlbse04145@gmail.com
d8b41d6e791a07c51d1fc38ae96e9c0fd75b39fb
70f7400d5a591ff406a41ee9ff0331dab286336e
/src/puppetenc/default_settings.py
78891e9f276c27211ce09f8f105b9ea821443bc6
[ "MIT" ]
permissive
jsoriano/puppet-enc
b1a2e1c48af94dacbd9988ed796839194c909e25
9f7b41c6e2f1c0ae5d898334ff4df8bf323ea689
refs/heads/master
2020-04-01T20:00:36.385880
2011-09-02T14:14:49
2011-09-02T14:14:49
2,303,273
1
0
null
null
null
null
UTF-8
Python
false
false
98
py
# Copyright (c) 2011 Tuenti Technologies # See LICENSE for details db_url = 'sqlite:///:memory:'
[ "jsoriano@tuenti.com" ]
jsoriano@tuenti.com
dcb5ae730a5ccb499eb1ba5ed70b975f91e05920
03490e105b0faa76df1ffda93e0b7424ad66f3ea
/systems/database.py
0d0423f133499c6626b8b87ad6748c77d20a8fd5
[]
no_license
JensGe/owi_Test-Executor
b8685bb2a348f4229188fe79552baa77a10aa5c2
afee9169259934f31e5525bebee7e57874089e29
refs/heads/master
2022-12-01T06:14:14.496729
2020-08-11T17:46:43
2020-08-11T17:46:43
264,766,648
0
0
null
null
null
null
UTF-8
Python
false
false
1,083
py
import subprocess import os def backup_table(table_name): if not os.path.exists("fetsim-logs"): os.makedirs("fetsim-logs") with open("fetsim-logs/db_{}_bkp.dmp".format(table_name), "wb") as file: subprocess.run( args=[ "pg_dump", "-h", ...
[ "gaebeler@hdm-stuttgart.de" ]
gaebeler@hdm-stuttgart.de
26dd11ff4ff5182a9262fcd7868244e0823c9782
37333e8369ec092ce2e4eff8c27c41b3f75e4149
/core/utils/PropertiesManager.py
04c5adc7d87cfa71427e474fbee147fb776746cb
[]
no_license
AT-06/API_Expresa_Framework
5563aefe79afadde48a51af8de29c8f4d05e2ce9
b7daca350b213333bbbe224cb70f747c8cab1353
refs/heads/develop
2020-03-22T22:43:05.815009
2018-07-19T18:39:57
2018-07-19T18:39:57
140,767,377
0
0
null
2018-07-19T18:39:58
2018-07-12T21:40:38
Gherkin
UTF-8
Python
false
false
713
py
import yaml from core.utils.PropertiesExpresa import PropertiesExpresa import os class PropertiesManager: __instance = None __generic_data = None def __new__(cls, *args, **kwargs): if PropertiesManager.__instance is None: PropertiesManager.__instance = object.__new__(cls) retur...
[ "mariarenee.canqui@gmail.com" ]
mariarenee.canqui@gmail.com
9cb42a8395c766099d43f49334d48a8ad2bc5e8c
5f9c1aaeb26e43e51b00226bd88c10d78d83a701
/app/app/view.py
90897bfe1e4258bd22234c7e2de3a1cbccd39ef6
[]
no_license
pengmengnanlan/python_web
e9784d7de2b74192ba7e0c5a9c2d742a87df0bbc
b60217e9efd766d7cdd038bbafdc60103fc38f6f
refs/heads/master
2020-06-24T01:09:41.156767
2019-08-02T01:50:47
2019-08-02T01:50:47
198,803,646
2
0
null
null
null
null
UTF-8
Python
false
false
14,068
py
import pymysql import json import time import re import os import ctypes from django.http import HttpResponse, JsonResponse from django.http import HttpResponseRedirect from django.shortcuts import render from django.core.paginator import Paginator from django.views.decorators.csrf import csrf_exempt from ctypes import...
[ "llanan9817@163.com" ]
llanan9817@163.com
c1cab7bba5505ec5ebf1832873d87c6c947e66f8
0d7e5537e1911bbb139be11486620b2f5e711ca2
/local_settings.py
49bffa9767b9ac87b3bbc2f27cac3e5cb7ef77b7
[]
no_license
asheteh/backup
cf2e97e2037847feceba32db63b6314424d2db3d
56a26322e799917b5028a32f73f7ee7b8d332f11
refs/heads/master
2022-12-18T10:30:05.382749
2020-09-17T11:20:24
2020-09-17T11:20:24
296,304,495
0
0
null
null
null
null
UTF-8
Python
false
false
791
py
# Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/2.2/howto/deployment/checklist/ # SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = 'r8sit#efghgfd+h7*q^10pw+(1rx20hnset=(d2a*ep$=sz(l@b' # SECURITY WARNING: don't run with debug turned o...
[ "abhijeets7661@gmail.com" ]
abhijeets7661@gmail.com
42459575b48f303502c0f38961e23fd29f971236
8e44dbe5702e615d7e06f26633c2378038ab27c8
/sharukh2.py
de954fb61e9858377d7abff00306a57f37f20149
[]
no_license
sharukhan2112/ROMANHEY
ca92edd4b0fc39939964eff8d6b6afb7bfffe266
7a46798839e9768827d836ebb1e79685e4683143
refs/heads/master
2020-06-12T05:15:02.418672
2019-08-14T10:07:47
2019-08-14T10:07:47
194,203,989
0
1
null
null
null
null
UTF-8
Python
false
false
113
py
number2=int(input("")); x=int(number2/2)*2; if(x==number2): print("Even") else: print("Odd")
[ "noreply@github.com" ]
noreply@github.com
e5101e5d2dddd2df4f768042e98d3b4fba2f13fa
4e9f4988ba536dbf60918a452e35a4daaf0c219e
/app.py
5e25d752a8e5cc68d95b72842dfa871880e7ec35
[]
no_license
ktarasz/temp
538c5b23bc74978b06d269cb3290a312a81a25bf
06649167c24a46e8b83c58efbacf1ff904425ff5
refs/heads/master
2021-01-22T11:15:59.150882
2018-06-12T11:23:26
2018-06-12T11:23:26
29,834,455
0
0
null
null
null
null
UTF-8
Python
false
false
225
py
from eve import Eve from eve_docs import eve_docs from flask.ext.bootstrap import Bootstrap app = Eve() Bootstrap(app) app.register_blueprint(eve_docs, url_prefix='/docs') if __name__ == '__main__': app.run(debug=True)
[ "ktarasz@quintagroup.com" ]
ktarasz@quintagroup.com
4351f378484afd507840234f4ef8d7e10803f7ff
7c1a3238fc942a96e1daef653e99fbce2ff09766
/Create_CSVs.py
574cb6bb6df85c3e414bc9774073f16279a3a7ea
[]
no_license
roryodonnell97/CSU33013-GithubAPI-Interrogation-and-Data-Visualisation
dd7f7593bf5b95a5abde6348632164eb53dc0312
5aabb3c654e26878ce8e461fc0dbc589fd9858ca
refs/heads/master
2020-09-04T18:33:14.017516
2019-11-29T22:53:18
2019-11-29T22:53:18
219,852,022
1
0
null
null
null
null
UTF-8
Python
false
false
4,754
py
import sqlite3 import csv connection = sqlite3.connect("table1.db") crsr = connection.cursor() sql_command = """SELECT * FROM table1""" crsr.execute(sql_command) ans= crsr.fetchall() # Day Bar Chart weekday = [['Country', 'Value'], ['Monday', 0], ['Tuesday', 0], ['Wednesday', 0], ['Thursday', 0...
[ "47148370+roryodonnell97@users.noreply.github.com" ]
47148370+roryodonnell97@users.noreply.github.com
9632653fa37726d3f175639ec32929371cbcaf89
0d6d9bc89a3ed54556e17fc30e90c604ff52613a
/snake.py
b13f75aea4757d979756b21a54c9701ce6b587ba
[]
no_license
nikolaj808/python-snake-game
94c8dda211bb26a47483d26878753bd10dc0a6b3
0060272b4644c6b06583c1bf86397ec87ecb97aa
refs/heads/master
2022-11-29T17:08:30.139373
2020-08-03T17:27:04
2020-08-03T17:27:04
284,763,311
0
0
null
null
null
null
UTF-8
Python
false
false
4,488
py
import pygame import math import random import tkinter as tkinter from tkinter import messagebox class cube(object): rows = 20 w = 500 def __init__(self, start, dirnx=1, dirny=0, color=(255, 0, 0)): self.pos = start self.dirnx = 1 self.dirny = 0 self.color = color def move(self, dirnx, dirny): self.dirn...
[ "45153292+nikolaj808@users.noreply.github.com" ]
45153292+nikolaj808@users.noreply.github.com
735169194371fb997dc9422b1008970eaa369351
39ae17b544d04baba3aff0d7f6a419e6647b9f03
/sphinxcontrib/seometatwitter/__init__.py
8d23670e1dbe10cf7e7270e20d813b9f11ee9ee4
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
coding-to-music/sphinx-seo-meta-twitter
62fbbfc9a3115650e79c415d726432f6202bc6b9
23ec10e32ae272d5024d2468a87813ecabd30bfa
refs/heads/main
2023-05-04T09:20:41.890731
2021-05-24T05:56:32
2021-05-24T05:56:32
370,123,812
0
0
null
null
null
null
UTF-8
Python
false
false
651
py
#-*- coding:utf-8 -*- u''' Comments here ''' __version__ = '0.6.0' __author__ = '@ThomasConnors' __license__ = 'LGPLv3' def setup(app): from . import tweet, user, timeline app.add_js_file('https://platform.twitter.com/widgets.js') app.add_node(tweet.tweet, html=(tweet.visit, tweet.dep...
[ "connors.tom@gmail.com" ]
connors.tom@gmail.com
a7d843133d3a5230785a49b6ff4c45b8324e208d
f288fc1e1f2dcbe53703e20c01b1437f8a985d3e
/blog/migrations/0001_initial.py
cb006c9273e8da7e5b35b07018ba1e0856460aff
[]
no_license
benibanez/portfolio-project
4e915c72de423fabe53e103a0d5f9b8101054957
fce2e0625097045888cd0be095f2b89ce95500ce
refs/heads/master
2023-04-29T13:18:10.180576
2019-11-19T14:04:49
2019-11-19T14:04:49
222,594,397
0
0
null
2023-04-21T20:41:00
2019-11-19T02:51:12
Python
UTF-8
Python
false
false
648
py
# Generated by Django 2.2.6 on 2019-10-26 11:26 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Blog', fields=[ ('id', models.AutoField(aut...
[ "50468874+benibanez@users.noreply.github.com" ]
50468874+benibanez@users.noreply.github.com
532c69ed2e209b950b132e859efbaed70f99f5c1
b787f21d7222bf2144482dd6db2c78092d2d21d0
/COVID_Part1.py
9b3c82ea700cb66862a38ddbc2ce6682b9f18d9a
[]
no_license
ZeroPanda/COVID-19-Regression-Analysis
1098ae9ccec447d190d91fea2e679261f91e7f1c
8f325263a6ff24047a734a8461f1a392663a7147
refs/heads/master
2022-11-23T13:36:08.501328
2020-07-21T01:37:40
2020-07-21T01:37:40
265,385,702
6
1
null
null
null
null
UTF-8
Python
false
false
3,377
py
#!/usr/bin/env python # coding: utf-8 # This is a covid-19 dataset from brazil hospital found on Kaggle. # https://www.kaggle.com/einsteindata4u/covid19 # In[8]: # Importing the original dataset import pandas as pd from matplotlib.pyplot import figure dfo = pd.read_excel (r'C:\Users\Shrey\Downloads\COVID-19\dataset...
[ "noreply@github.com" ]
noreply@github.com
f58e05ef882af135fa092cb0991f14a2e01dd968
d98883fe1007111b8795ac5661e56758eca3b62e
/google-cloud-sdk/lib/surface/lifesciences/workflows/run.py
92eaf4895e9c83f71c66d593c7df7c99f4b867d9
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
pyDeb/KindnessCafe
7303464e3c0693b0586a4a32740d8b9b19299caf
6ff8dfe338aefd986edf67c382aff1a2920945d1
refs/heads/master
2022-12-29T16:16:35.796387
2021-04-19T00:03:14
2021-04-19T00:03:14
243,533,146
3
4
null
2022-12-08T09:48:09
2020-02-27T14:01:16
Python
UTF-8
Python
false
false
18,047
py
# -*- coding: utf-8 -*- # # Copyright 2019 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
[ "zeus@localhost.localdomain" ]
zeus@localhost.localdomain
740243c8c2e06db15307652ccdf16cb6d4e8ecf1
79e0f8d64cb928ccc6a026b32dcbb3c8fcefa2de
/script/compile-coffee.py
179931a5db0a31bf159caccbe6107c6d847aaeef
[ "MIT" ]
permissive
mapbox/atom-shell
939bca5dec3f6cf7460a3b34d0517e78ed0da928
2125a0be826170c3a84af1e75572b06402f3add9
refs/heads/master
2023-06-05T10:46:29.802386
2014-08-04T16:05:26
2014-08-04T16:05:26
22,614,165
1
6
MIT
2023-04-09T15:03:19
2014-08-04T17:58:00
null
UTF-8
Python
false
false
953
py
#!/usr/bin/env python import os import subprocess import sys SOURCE_ROOT = os.path.dirname(os.path.dirname(__file__)) WINDOWS_NODE_PATHs = [ 'C:/Program Files/nodejs/node.exe', 'C:/Program Files (x86)/nodejs/node.exe', ] def main(): input_file = sys.argv[1] output_dir = os.path.dirname(sys.argv[2]) coff...
[ "zcbenz@gmail.com" ]
zcbenz@gmail.com
e08622954352b9e1b6540769c6217dd480ef770c
7ab41799fd38489c93282f1beb3b20e7ef8ff165
/python/111.py
ec32bd42ef24b2c21f576226dc84e6a8613f5d9a
[]
no_license
scturtle/leetcode-sol
86c4095df6b31a9fcad683f2d63669ce1691633c
e1a9ce5d9b8fe4bd11e50bd1d5ba1933de845db7
refs/heads/master
2020-04-23T00:01:37.016267
2015-11-21T04:15:27
2015-11-21T04:15:27
32,385,573
1
0
null
null
null
null
UTF-8
Python
false
false
408
py
class Solution(object): def minDepth(self, root): """ :type root: TreeNode :rtype: int """ if root is None: return 0 if root.left is None: return 1 + self.minDepth(root.right) if root.right is None: return 1 + self.minDepth(...
[ "scturtle@gmail.com" ]
scturtle@gmail.com
07a49fac0cb7ec2461404a59bf4502820bac0d55
fcccdb133bf5611c69781080fdbcbb9f4b70c222
/input/parameters/lithium-ion/experimental_functions/electrolyte_conductivity.py
40a418d3a98ec2576698a3f0b4f8afde213c94fe
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
galvanic653960572/PyBaMM
d04036e9e0fec12ceb1d9b4b50cfb3bcfe25f3f1
4869d358b3452c7ca627d713823a67fdfdafa4bd
refs/heads/master
2020-04-09T05:04:28.951580
2018-12-03T15:20:44
2018-12-03T15:21:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
330
py
def lfp_cond(c): """ Conductivity of LiPF6 in EC:DMC as in Newman's Dualfoil code. This function is in dimensional form. Parameters ---------- c: double lithium-ion concentration """ c = c / 1000 sigma_e = 0.0911 + 1.9101 * c - 1.052 * c ** 2 + 0.1554 * c ** 3 retur...
[ "valentinsulzer@hotmail.com" ]
valentinsulzer@hotmail.com
a1631412f316b074af0e71d621cdb39ead7eef20
0ad65bb4ad57112c99abe7cba2121f270ddc893c
/ex5 (Week 6)/ex5.py
8831008788f6f28ed9cf955db7bddbac904f2d45
[]
no_license
sudhap163/Coursera-machine-learning-Andrew-Ng-assignments
89d8859f55e7ebbebe004490d2ce497b7f633f53
7bdc026ae11f87cf30d44ecea1e7382d7875c6c2
refs/heads/master
2021-09-06T20:00:54.240590
2018-02-10T18:28:18
2018-02-10T18:28:18
113,743,139
0
0
null
null
null
null
UTF-8
Python
false
false
957
py
# -*- coding: utf-8 -*- """ Created on Sat Jan 20 18:16:34 2018 @author: Sudha """ import scipy.io import numpy as np import matplotlib.pyplot as plt data = scipy.io.loadmat("ex5data1.mat") # separating training set, cross validation set and test set X = data["X"][:8] Y = data["y"][:8] Xval = data["X"][8:10] Yval...
[ "priyadarshini.sudha3@gmail.com" ]
priyadarshini.sudha3@gmail.com
0357d9d0e350cac1f172cef7d1ec31f1bba99d1f
9fc0569c60741169efab6935b32c6a502a2851cb
/buff/utils/involve_selenium.py
cb4cd3cd0a5eee9bf7dacaa22751908b6baa4d32
[]
no_license
Clinkz-1/notes
184a1ac003a29b63da11ec05704d19be5691e588
de55f9e2f38cef5ef327fbc27d95c086b446dc05
refs/heads/master
2020-05-22T17:53:31.969760
2019-12-08T16:17:08
2019-12-08T16:17:08
186,460,653
1
0
null
null
null
null
UTF-8
Python
false
false
3,600
py
import time,re from data.config import config from data.cookies import selenium_cookies from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC class BuffLogin: def __init__(s...
[ "noreply@github.com" ]
noreply@github.com
63de0a760734ad6f525a1164cff32a69663a6382
7d43ba52d958537905cfdde46cc194a97c45dc56
/WEB/Networks/Organizations/Registrars/RIR.py
332105180c0a42d4b6aa3d37dd9dc1d0d59402e4
[]
no_license
Koshmatova/workbook
3e4d1f698a01f2be65c1abc83ee251ebc8a6bbcd
902695e8e660689a1730c23790dbdc51737085c9
refs/heads/master
2023-05-01T02:30:46.868027
2021-05-10T03:49:08
2021-05-10T03:49:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
792
py
RIR #regional internet Registry РЕГИСТРАТОРЫ #получают блоки и номера автономных сисм у IANA #выдают блоки LIR ARIN #обслуживает Северную Америку Багамы Пуэро-Рико Ямайку APNIC #обслуживает Южную Азию Восточную Азию Юго-Восточную Азию Австралию Океанию AfriNIC #обслуживает Африку ...
[ "mkone112@gmail.com" ]
mkone112@gmail.com
55fe5f2b6fb9f6c0577dd5cde3f057315b3b05a6
bbf7f8dc5808be7752ce01cca976897634d739d9
/scripts/createIdealizedMoistureProfiles_MoistIntrusions_20200213.py
12596cda05b743488ee1b03b688a9ec8841d3d7e
[]
no_license
bfildier/Fildier2022_radiativetransfer
3b17d47d8b6efd61625e94f7a44e90458037ca49
457213084321c8547dbf89e2f0c5040f054d36cf
refs/heads/main
2023-04-14T04:02:52.689245
2022-12-05T16:53:30
2022-12-05T16:53:30
523,001,540
0
0
null
null
null
null
UTF-8
Python
false
false
18,642
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Create idealized moisture profiles, by fitting parametric profiles to EUREC4A sounding data on 2020-01-13, and remove moist intrusions for radiative calculations. Created on Thu Nov 25 11:31:59 2021 @author: bfildier """ import numpy as np import matplotlib.pyplot ...
[ "bfildier.work@gmail.com" ]
bfildier.work@gmail.com
670e5dc711677442d8c77dce087c2673d995ae27
5e785de908a15fafbf81f6773ad8a8eed0144382
/1.logistic.py
6e9da6babdad33d0c98a2177b7fe0330c0bb0dd1
[]
no_license
dkmallick/Deployment_DS
216c7562f1688702307f68c23b155cc540cd48c3
87153940c8ae1fcc2b2e564e7f043b6eaed49083
refs/heads/main
2023-03-31T21:43:31.331896
2021-04-01T13:52:24
2021-04-01T13:52:24
353,705,603
0
0
null
null
null
null
UTF-8
Python
false
false
1,352
py
# -*- coding: utf-8 -*- """ Created on Thu Sep 24 13:01:17 2020 """ import pandas as pd import streamlit as st from sklearn.linear_model import LogisticRegression st.title('Model Deployment: Logistic Regression') st.sidebar.header('User Input Parameters') def user_input_features(): CLMSEX = st....
[ "noreply@github.com" ]
noreply@github.com
98a17e5e2ecb52252161c76c0c0f73421c3645bb
8d6aa1993ea25867029e8ccf55c13a964ad69b01
/pytransfer/datasets/base.py
c88e41c211cc5a38a0d6f6e336b3deb5b1b9b6b3
[]
no_license
yusuke0519/pytransfer
9ff3b68f674a1ff02d15b8b84621c6071ababf2b
d62ca59cffb3dcc9cdbbf2555ba43487dea54c3a
refs/heads/master
2022-12-10T18:36:53.612180
2020-09-08T08:53:22
2020-09-08T08:53:22
207,767,846
3
0
null
2022-09-23T22:45:52
2019-09-11T08:56:46
Python
UTF-8
Python
false
false
2,470
py
# # -*- coding: utf-8 -*- import torch import torch.utils.data as data class Subset(torch.utils.data.Dataset): def __init__(self, dataset, indices): self.dataset = dataset self.indices = indices def __getitem__(self, idx): return self.dataset[self.indices[idx]] def __len__(self):...
[ "iwasawa@weblab.t.u-tokyo.ac.jp" ]
iwasawa@weblab.t.u-tokyo.ac.jp
23d6f2ccc625c398665f15402fba6ad0b401f8d3
f58e089b6c426fdf199b5ad20cb824238225192a
/passwordcheck.py
6f2569b27e699311a606fa4608be212448f1d7b6
[]
no_license
Roses124/Folderthing
4e690a9429934d530f9ec54625740d3d420e3ce0
c4f5b74461fa17216c7830b14c27803aaf7c415a
refs/heads/master
2020-06-20T05:24:05.306186
2019-08-02T19:28:57
2019-08-02T19:28:57
197,008,833
1
0
null
null
null
null
UTF-8
Python
false
false
920
py
#Opens a file. You can now look at each line in the file individually with a statement like "for line in f: f = open("dictionary.txt","r") print(type(f)) print("Can your password survive a dictionary attack?") #Take input from the keyboard, storing in the variable test_password #NOTE - You will have to use .strip() t...
[ "yurchak03@gmail.com" ]
yurchak03@gmail.com
feab4c47102de8b3af9ee0c5de32b6ce8b2eef55
4af0c330e9321ba340dff56381b2363b067385cf
/torchdrug/datasets/uspto50k.py
5d67d094522fb6e745afc43274352dc65f04bacd
[ "Apache-2.0" ]
permissive
OrKatz7/torchdrug
eba71f7aecf427ecc8998db3f9d40814785a7e15
909dd2d392d350aa96d53ccae3fd782dda59caea
refs/heads/master
2023-09-01T02:27:48.768153
2021-10-27T08:38:19
2021-10-27T08:54:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,487
py
import os import copy from collections import defaultdict import numpy as np import networkx as nx from tqdm import tqdm from rdkit import Chem import torch from torch.utils import data as torch_data from torch_scatter import scatter_max from torchdrug import data, utils from torchdrug.utils import doc from torchdru...
[ "healmysoul@163.com" ]
healmysoul@163.com
f33c5c5eacd1cacf4b21708ba3c979e5958862da
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/built-in/cv/detection/SSD_for_PyTorch/configs/cascade_rcnn/cascade_mask_rcnn_x101_32x4d_fpn_20e_coco.py
1a90b9ca274de0d0f5104b2b0f1741b2778accc7
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
1,019
py
# Copyright 2022 Huawei Technologies Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed...
[ "chenyong84@huawei.com" ]
chenyong84@huawei.com
54a771adf3c21719a87d7ad1e8ab8bbf90c511b6
6e5f06f1114d49ea66056646647552082b1dfcb1
/lab8/classes.py
1064d588dccdf587d84db81e1a3a4360f35bc3fe
[]
no_license
ProgressBG-Python-Course/ProgressBG-VMware-Python-Code
a6a837f61a8ddc38cab6543e8c0a50505f02d8af
ad7c7b1f0ba6bd363f8d7e73c396350c6cc7f79f
refs/heads/master
2022-12-11T19:23:05.440811
2019-03-20T12:40:37
2019-03-20T12:40:37
165,947,331
0
0
null
null
null
null
UTF-8
Python
false
false
165
py
class Point2D: def __init__(self, x,y): self.x = x self.y = y def __str__(self): return f'x={self.x}, y={self.y}' p1 = Point2D(x=3,y=4) print(p1)
[ "progressbg.python.course@gmail.com" ]
progressbg.python.course@gmail.com