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
e310eb9d5c4afca273e609b6619b2b606a21d409
14cf68ac865389a6e9e6db5152c7f9744348eee9
/codfreq/codfreq_types.py
05a7f892e6dccaa7dccdd61ce2d90457d86e0a1b
[]
no_license
hivdb/codfreq
7af97759bd114496ee6959145a28324e0ecaf946
78ef904a3d228f1fc71fbef16b11086ee2520265
refs/heads/main
2023-08-08T19:55:28.770935
2023-07-21T03:58:36
2023-07-21T07:43:56
138,085,971
10
1
null
2023-02-11T00:25:11
2018-06-20T21:07:47
Python
UTF-8
Python
false
false
2,012
py
from typing import Optional, TypedDict, Tuple, List, Dict, Union, Literal FASTQFileName = str Header = str SeqText = str AAPos = int NAPos = int GeneText = str NAChar = int MultiNAText = bytes CodonText = MultiNAText AAChar = int MultiAAText = bytes NAPosRange = Tuple[NAPos, NAPos] class PairedFASTQ(TypedDict): ...
[ "philip.npc@gmail.com" ]
philip.npc@gmail.com
326965ef894d0d0586910b503bf81a511c7a25e2
0d30d4b6b5ce670ff8e7eeb486547b2915242f34
/src/basic-c3/test-sum.py
9a80a0c129e6b72578aa956667937f1be545bef1
[]
no_license
n18027/programming-term2
7929ec9bfe738bef0e059b7279cc92e3271f01dc
da62593f1cfd087567b2ff2786f7e412af41b9e9
refs/heads/master
2020-03-22T08:59:31.302889
2018-08-21T08:00:44
2018-08-21T08:00:44
139,806,161
0
0
null
2018-07-05T06:42:22
2018-07-05T06:42:22
null
UTF-8
Python
false
false
343
py
#あるクラスの国語テストの点数をリストに代入 points = [88, 76, 67, 43, 79, 80, 91] #テストの合計を求める sum_v = 0 for i in points: sum_v += i print(i, "点を足して合計は", sum_v) # 平均を求める ave_v = sum_v / len(points) #平均=合計/点数の数 print('平均点は', ave_v, "点" )
[ "n18027@it-colloge.ac.jp" ]
n18027@it-colloge.ac.jp
297f55acb206886d8160936e89f7ac60a3a5405e
749c52135ac7b2df74c7c3860e6670a6b560adfb
/lab 4(Program 1).py
6e1d9bf75798108eb8c10fd9611108fe458d8051
[]
no_license
YusraMasoodUIT/Lab-04
5ccad8dc49ccbe5b166a9f459aa060ebab064030
bbee433d475f8ebba83b60f57a6e9e5449219b7a
refs/heads/master
2020-04-08T05:30:52.198344
2018-11-25T18:50:47
2018-11-25T18:50:47
159,063,542
0
0
null
null
null
null
UTF-8
Python
false
false
1,030
py
print("Yusra Masood , 18B-093-CS, Section A") print("lab 4") print("Program 1") a = 400 b = 500 print("a = " + str(a)) print("b = " + str(b)) if a == 400: print("The value of a is equal to 400") if a < b: print("The value of a is less than b") if a > b: print("The value of a is greater than b"...
[ "noreply@github.com" ]
noreply@github.com
20cf578ea6073fca3dfa9da09f0e4bc6c7d586bb
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnflv.py
83031709fddd620f39b5c267f38413dd5128695d
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
44
py
ii = [('RogePAV2.py', 1), ('KnowJMM.py', 1)]
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
6149f8fede99ffcba481a3bb2377ebd72da708a4
b697f5d8e441328c2deee1bb5853d80710ae9873
/944.删列造序.py
d10994932e2f8dd4be69c43b93c603bca7107745
[]
no_license
happy-luck/LeetCode-python
d06b0f6cf7bad4754e96e6a160e3a8fc495c0f95
63fc5a1f6e903a901ba799e77a2ee9df2b05543a
refs/heads/master
2021-03-22T16:12:52.097329
2020-07-15T13:48:37
2020-07-15T13:48:37
247,381,313
0
0
null
2020-03-15T01:47:42
2020-03-15T01:28:38
null
UTF-8
Python
false
false
757
py
方法一: class Solution: def minDeletionSize(self, A: List[str]) -> int: D = 0 A_list = [] for string in A: res = list(string) res = [ord(i) for i in res] A_list.append(res) for j in range(len(res)): for i in range(1,len(A)): ...
[ "18813129242@163.com" ]
18813129242@163.com
6e0fd69bab0aaf96169d99cab22a78b0c78f3d00
2b29173f31c1efd1edad1426916994832de02e0c
/src/main.py
b722ac73510083c0d8fbc5a2c856b133507cd58a
[]
no_license
18dubu/AIprophet
41af43026132e3fcdcf128269d7cd801c2e3870f
b9122fa8440e557d035758033e0aa1720c522008
refs/heads/master
2016-09-05T15:40:42.668258
2014-10-28T06:20:18
2014-10-28T06:20:18
25,855,857
1
0
null
null
null
null
UTF-8
Python
false
false
20,629
py
############import section############ import re, sys,copy import os.path #basic functions in animate path, find edges, calculate errors #import lib.util as util from lib.util import * # from udacity matrix.py from lib.matrix import * #functions in implementing Kalman filter and other necessary functions from lib.fi...
[ "handongma.work@gmail.com" ]
handongma.work@gmail.com
277b14e28bfae2030dc5b22dc3dbf3ecd67fe8b5
d40a50701af7d4ac789f978a0d5f84a578e769fe
/headers/samd20/pac2.py
73fcf4bd987d72081d81672b0e36bfd82273ded4
[]
no_license
ataradov/embedded
e0219a4f062b9b3d0ac98fbc3167afc0771ba2cc
644120fe656caf76904c8b495a2d92354c06aa26
refs/heads/master
2021-06-03T14:18:36.255212
2021-04-15T16:56:05
2021-04-15T16:56:05
11,062,698
15
3
null
null
null
null
UTF-8
Python
false
false
2,171
py
# # Copyright (c) 2014, Alex Taradov <taradov@gmail.com> # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, # this lis...
[ "taradov@gmail.com" ]
taradov@gmail.com
845eed9790c73f0939e9fcc3344f5ba73c9e5327
5beb84cbc10773926ba5c9641bf35f51ef2ea0d7
/conftest.py
ababc72c19955b1d3e44a9ecbbe215a1bac44de0
[]
no_license
MalinovayaZaya/Stepik-testing-automation-project
acc6dd812e9237524d4ac7fb9158c4ea90b617f3
832f1e9df1a727645a9701e265e43e3ff9b53cd7
refs/heads/main
2023-08-18T11:54:40.219376
2021-10-14T14:12:04
2021-10-14T14:12:04
379,426,811
1
0
null
null
null
null
UTF-8
Python
false
false
1,728
py
import pytest from selenium import webdriver from selenium.webdriver.chrome.options import Options def pytest_addoption(parser): parser.addoption( "--browser_name", action="store", default="chrome", help="Choose browser: Сhrome or Firefox" ) parser.addoption( "--lan...
[ "polinamalinina@MacBook-Air-Polina.local" ]
polinamalinina@MacBook-Air-Polina.local
07775b0908ac8b10ddd7fbdf2f38228ef070b6a8
0140a1c90e563d1d569a5c8206abedf2c1e1dab2
/my_plan/migrations/0004_auto_20190523_0407.py
cde773e8c5b0df7e3110dbe1baa0d81284be8199
[]
no_license
p-lizarazo/YourU
2e58941a783f5c3f685025ffb88940b79adcc429
f3b2e0f78bfc9e4aaf908ff42e3b5e249465cf08
refs/heads/master
2022-11-17T03:24:35.689858
2020-07-19T18:56:19
2020-07-19T18:56:19
280,928,850
0
0
null
2020-07-19T18:50:15
2020-07-19T18:45:20
CSS
UTF-8
Python
false
false
476
py
# Generated by Django 2.0.13 on 2019-05-23 04:07 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('my_plan', '0003_auto_20190523_0405'), ] operations = [ migrations.AlterField( model_name='mypl...
[ "p-lizarazo@javeriana.edu.co" ]
p-lizarazo@javeriana.edu.co
309daa07bda7b7eb3525eaae9158ed897a52e6ba
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_209/611.py
0d8528d812df07b274136b7d9c4ebae4a50cbb69
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,235
py
t = input() from collections import defaultdict def solve(pancakes, n, k, dp): # print "calling for {0}, {1}".format(n, k) if ((n, k)) in dp: # print 'returning {0} for {1}, {2}'.format(dp[(n, k)], n, k) return dp[(n, k)] if n == 0: # print 'returning {0} for {1}, {2}'.format(0, n, k) return 0 if k < 0: ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
67a8e68d32971033e0c5407ac59f17393cb0f517
909fcfb615c9296b053ae881c181c07489dafa9f
/Урок4-5.py
5a047bf19fcf663d787d7f11395e918f14f1fd6e
[]
no_license
BigArmen/david_learn_python
da08544ae4d96b374637ce7bbe43c35f76aa7751
988b1ecf5e5afeaa743b511044e06925b222940d
refs/heads/main
2023-02-17T08:35:45.058672
2021-01-12T20:56:09
2021-01-12T20:56:09
329,108,728
0
0
null
null
null
null
UTF-8
Python
false
false
224
py
from functools import reduce import os as myos my_list = [n for n in range(100, 1001, 1) if n % 2 == 0] # my_list1 = [ a +b for a in my_list for b in my_list] sum_all = reduce(lambda x, y: x * y, my_list) print(sum_all)
[ "mail@armen.info" ]
mail@armen.info
cda9a155aa0785da3736296584340554826c4025
aa8bc00c3ae9e465afff1daa595c10effb70f68f
/amazonbooks/gui.py
bfbe74ce25000d006b71d857319627090b0aacea
[]
no_license
m-bilgic/recommendation
f3305a6d045dbd4dbd715b05da065f25907a6714
0d1ebec0482b9df26d7520248f7d9167c88a571c
refs/heads/master
2021-01-22T04:11:00.587951
2017-06-22T14:49:58
2017-06-22T14:49:58
92,440,939
0
0
null
null
null
null
UTF-8
Python
false
false
15,467
py
# -*- coding: utf-8 -*- """ Created on Thu Jun 8 16:20:45 2017 @author: Mustafa """ # coding: utf-8 # In[]: from tkinter import * from tkinter import ttk import tkinter.font as tkFont from tkinter import font import os import pickle from pathlib import Path # In[]: os.chdir("C:\\Users\\Mustafa\\Documents\\rec...
[ "mbilgic@cs.iit.edu" ]
mbilgic@cs.iit.edu
28841d208e0691373ddfe4807667cae84d638712
726ab547decbe0b503f9e992d5c707c4f675f7c9
/Clustering/src/OptimizeEPS.py
1ca580133aa6c6cfce5ff35fc6386cc4330cc473
[]
no_license
Juanjoglvz/Inteligentes
c7c4422ef63455507c57b04a5369295365331783
b40184a1784508aa95db60bbee937146df6241e6
refs/heads/master
2022-09-27T09:51:21.997748
2020-06-02T18:59:49
2020-06-02T18:59:49
244,707,524
0
0
null
null
null
null
UTF-8
Python
false
false
832
py
# -*- coding: utf-8 -*- import pandas as pd import numpy as np from sklearn.cluster import DBSCAN from sklearn.metrics import pairwise_distances import matplotlib.pyplot as plt plt.rcParams.update({'font.size': 24}) df = pd.read_csv("../data/interim/no_outliers_scaled.csv") dist_matrix = pairwise_distances(df, df,...
[ "jcordobarom@gmail.com" ]
jcordobarom@gmail.com
015fbb65596cd4ba4082b9110e214046e47885a1
364935fed695c2c29d8b40c379209280849f0c0e
/cmnn_run.py
6c16756407c58efbe5c028e1334d15c08303c22a
[]
no_license
am610/CMNN_Photoz_Estimator
aa6d3c7f0653954a6c529d38c872b48c40fd33f0
6740c70d654deadbec7155c55754847693527cb6
refs/heads/master
2022-11-17T13:30:33.044122
2020-05-29T04:07:49
2020-05-29T04:07:49
267,895,465
0
0
null
2020-05-29T15:45:27
2020-05-29T15:45:26
null
UTF-8
Python
false
false
18,624
py
import os import argparse import datetime import cmnn_catalog import cmnn_photoz import cmnn_analysis # import cmnn_tools def run(verbose, runid, test_m5, train_m5, test_mcut, train_mcut, force_idet, test_N, train_N, \ cmnn_minNc, cmnn_minNN, cmnn_ppf, cmnn_rsel, cmnn_ppmag, cmnn_ppclr, stats_COR): ### Run e...
[ "melissalynngraham@gmail.com" ]
melissalynngraham@gmail.com
4889500d88ef09d7fbee05611027e0c9bf30a56c
110124b2e35b34b5e5a2a87d640912f390919278
/CENet.py
f1203da1c711a51781833c711119592e5478ed68
[]
no_license
labiip/MACS-Net
ce384fe4dc277c4166e53ef74c91168aeac11525
a10adb4ffcef9ce6f802f8191abc8946f249816c
refs/heads/main
2023-01-06T22:02:19.782468
2020-11-03T13:25:04
2020-11-03T13:25:04
309,539,357
1
0
null
null
null
null
UTF-8
Python
false
false
6,358
py
#!/usr/bin/python3.5 # -*- coding: utf-8 -*- from __future__ import print_function from __future__ import absolute_import from keras.models import Model from keras.layers import Flatten from keras.layers import Dense from keras.layers import Input from keras.layers import Conv2D from keras.layers import Conv2DTranspose...
[ "953704875@qq.com" ]
953704875@qq.com
1fadf1c096fcdb36625f731a3599aee37afaedfa
8b321ef16f11701f66898cb5b0e186bed50aaf46
/6/3_Gems_admin_page/Gems/urls.py
0509da185d5d17d740ef0167d6c3f10070c07a5e
[]
no_license
TrellixVulnTeam/django_H5IO
6bed043acfda0e3373fe5b352805f1c11b038e2a
1ee5407e93f1bbbaeb12b90b7c5d7b96e3ba13e2
refs/heads/master
2023-03-16T05:25:59.900947
2017-04-18T08:21:47
2017-04-18T08:21:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,296
py
"""Gems URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Clas...
[ "ostrowskyi@gmail.com" ]
ostrowskyi@gmail.com
42cf064d1f9437f636bbc909d434fb6771d510ca
dd3b8bd6c9f6f1d9f207678b101eff93b032b0f0
/basis/AbletonLive10.1_MIDIRemoteScripts/Push2/browser_list.py
6c9e839bb69da206779694dbbdc57b2e2d1b4c9d
[]
no_license
jhlax/les
62955f57c33299ebfc4fca8d0482b30ee97adfe7
d865478bf02778e509e61370174a450104d20a28
refs/heads/master
2023-08-17T17:24:44.297302
2019-12-15T08:13:29
2019-12-15T08:13:29
228,120,861
3
0
null
2023-08-03T16:40:44
2019-12-15T03:02:27
Python
UTF-8
Python
false
false
3,765
py
# uncompyle6 version 3.4.1 # Python bytecode 2.7 (62211) # Decompiled from: Python 2.7.16 (v2.7.16:413a49145e, Mar 2 2019, 14:32:10) # [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] # Embedded file name: /Users/versonator/Jenkins/live/output/mac_64_static/Release/python-bundle/MIDI Remote Scripts/Push2/browse...
[ "jharrington@transcendbg.com" ]
jharrington@transcendbg.com
cda7cfa1c3424a8cf95d97f5dc12e578a7e2e2a3
72d010d00355fc977a291c29eb18aeb385b8a9b0
/BeatStep/__init__.py
49897318ae58c967be09a28d7820359edcc8d56d
[]
no_license
maratbakirov/AbletonLive10_MIDIRemoteScripts
bf0749c5c4cce8e83b23f14f671e52752702539d
ed1174d9959b20ed05fb099f0461bbc006bfbb79
refs/heads/master
2021-06-16T19:58:34.038163
2021-05-09T11:46:46
2021-05-09T11:46:46
203,174,328
0
0
null
2019-08-19T13:04:23
2019-08-19T13:04:22
null
UTF-8
Python
false
false
761
py
# Embedded file name: /Users/versonator/Jenkins/live/output/mac_64_static/Release/python-bundle/MIDI Remote Scripts/BeatStep/__init__.py # Compiled at: 2018-04-23 20:27:04 from __future__ import absolute_import, print_function, unicode_literals import _Framework.Capabilities as caps from .BeatStep import BeatStep def ...
[ "julien@julienbayle.net" ]
julien@julienbayle.net
3990436d8a7fca33cda26a80e5ebb2a22dbe81cb
caceb60f71165772b6d6155f619e79189e7c80a9
/第一期/无锡-慕兮/TASK2/excel_crawl.py
2bd4d49d0aa3bb5e4fdc4c6c2d12d11f57517a82
[ "Apache-2.0" ]
permissive
beidou9313/deeptest
ff41999bb3eb5081cdc8d7523587d7bc11be5fea
e046cdd35bd63e9430416ea6954b1aaef4bc50d5
refs/heads/master
2021-04-26T23:06:08.890071
2019-04-03T02:18:44
2019-04-03T02:18:44
123,931,080
0
0
Apache-2.0
2018-03-05T14:25:54
2018-03-05T14:25:53
null
UTF-8
Python
false
false
973
py
# -*_ coding:utf-8 -*- __author__ = "Lakisha" import urllib.request from openpyxl import Workbook if __name__ == "__main__": print("爬取豆瓣网书记数据写入Excel") #通过豆瓣搜索API,搜索Python关键字,采集书籍数据 # 本示例只采集第一页的数据 url = "https://api.douban.com/v2/book/search?q=python" response = urllib.request.urlopen(url) #...
[ "673250728@qq.com" ]
673250728@qq.com
65087d234489b49ac30b88127c2a6245e2daec63
6d7c993b4fb6f6d364efe5031aef4c199b84007b
/tiago/common/navigation_map/calibration_base_to_mocap_frame.py
84e26f89828b1f9075fbe5b83f853d71d6ceae17
[ "BSD-2-Clause" ]
permissive
agimus/agimus-demos
3cf158172519901e6b437e1b574a773b75527d53
7858fd3da9b31b4a17cc265722a4647567cda8cd
refs/heads/master
2023-07-10T20:21:09.300697
2022-07-26T09:49:10
2022-07-26T09:49:10
139,881,440
1
13
BSD-2-Clause
2023-06-14T14:16:47
2018-07-05T17:34:25
Python
UTF-8
Python
false
false
7,692
py
import csv, numpy as np def read(filename): with open(filename, 'r') as f: csv_reader = csv.reader(f, delimiter='\t') # headers for i in range(12): csv_reader.next() data = np.array([ [ float(x) for x in row[2:-1] ] for row in csv_reader ]) return data import ma...
[ "jmirabel@laas.fr" ]
jmirabel@laas.fr
05437be0f46c1acc00e8e7135ad2aa78d5df69f0
dd949f215d968f2ee69bf85571fd63e4f085a869
/scenarios/cdsr/trunk/humantrials/polygoncode.py
a91a9d5c1f12601710541b1a8734540445217991
[]
no_license
marc-hanheide/cogx
a3fd395805f1b0ad7d713a05b9256312757b37a9
cb9a9c9cdfeba02afac6a83d03b7c6bb778edb95
refs/heads/master
2022-03-16T23:36:21.951317
2013-12-10T23:49:07
2013-12-10T23:49:07
219,460,352
1
2
null
null
null
null
UTF-8
Python
false
false
6,846
py
# -*- coding: utf-8 -*- from Polygon import * from Polygon.Utils import pointList from itertools import izip import os import sys import re import csv from scipy import stats def rowToPolygon(row): result = row[7] result = re.sub('\)', '', result) result = re.sub('\(', '', result) tmp_array = m...
[ "klenk@9dca7cc1-ec4f-0410-aedc-c33437d64837" ]
klenk@9dca7cc1-ec4f-0410-aedc-c33437d64837
4eef28fb3ad29c640737ce94a76634dd61bd2523
51b07d691ee33e515585eefacf8c2224f6c02221
/0x0C-python-almost_a_circle/models/rectangle.py
71545079e9d93464437a5f0f7921f4990831b651
[]
no_license
YerardinPerlaza/holbertonschool-higher_level_programming
2a792b170277c44c153be95da216a415719064d1
91d3487d13a393b7354627a9358a5078dfb99099
refs/heads/main
2023-08-05T10:02:49.172295
2021-09-22T23:45:47
2021-09-22T23:45:47
361,872,459
0
0
null
null
null
null
UTF-8
Python
false
false
3,212
py
#!/usr/bin/python3 """create a class rectangle that inherits from base""" from models.base import Base class Rectangle(Base): """create class rectangle inherit from Base """ def __init__(self, width, height, x=0, y=0, id=None): """ initialize width, height, x and y""" self.width = wid...
[ "yerardinpm@gmail.com" ]
yerardinpm@gmail.com
d018be9275fffb95cf724ee2da8c89c75cf455df
a47addb31a92f7118e89d292cf5e67ab4d8c7523
/day02/src/Console.py
a02a20d3ba533f4a80db5e48d9be4bfe363e6cc5
[]
no_license
skraymond/adventofcode2016
e06f78581dccd5200f6e88fd59b21057922506f3
83a210bc95a79caa1b6b2f9af29e7ebcfc3fc340
refs/heads/master
2020-06-15T04:22:22.945858
2016-12-10T15:30:00
2016-12-10T15:30:00
75,330,095
0
0
null
null
null
null
UTF-8
Python
false
false
2,681
py
turn = {'1': {'U': '1', 'D': '4', 'L': '1', 'R': '2'}, '2': {'U': '2', 'D': '5', 'L': '1', 'R': '3'}, '3': {'U': '3', 'D': '6', 'L': '2', 'R': '3'}, '4': {'U': '1', ...
[ "skraymond+github@gmail.com" ]
skraymond+github@gmail.com
9a1e3984821d93a2119fe1e81d2bbc7589548289
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/hcipsec/entity.py
bdce01d6f76c3216322d49e73d93fa048d3e5e28
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
6,859
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
8754bd9c8f7d410749b4fe1f4f84b77f111ca7ea
9d6fde265f66547fa49f4ff6464342fd9ce6584c
/ch3/01_if/1.py
c0906d225c2536c6110eef1b84e38e0d6d485163
[]
no_license
seong889/study_doit_py
caa23adbe8e5bb3b6c59a0308a34e6ba6964bfea
3663158fa22a547966d5b1c50c00cfc6ba2deaa3
refs/heads/master
2021-01-17T04:29:16.434861
2016-07-13T14:49:57
2016-07-13T14:49:57
56,033,169
0
1
null
2016-07-13T14:49:57
2016-04-12T05:14:38
Python
UTF-8
Python
false
false
371
py
# C언어와 Python의 차이 # C언어의 경우 if문의 조건 절을 ( ) 로 묶어 처리 # Python은 괄호로 묶는대신 조건의 끝에 콜론(:)을 붙임 # C언어와 달리 블록을 탭(' ')을 통해 구분하기 때문에 중괄호 '{}' 가 필요하지 않음 money = 1 if money: print("택시를 타고 가라") else: print("걸어 가라")
[ "seong889@gmail.com" ]
seong889@gmail.com
63e86a6b7e20c8757cc548bbcc34e73f7ec7a7b5
711756b796d68035dc6a39060515200d1d37a274
/output_cog/optimized_36671.py
da11b4df30e8b638e72b0392d485f68d63020e13
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
10,845
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
67fc5124fecf25cc232eeef083e19524746f2a48
668ff51f34eac31931511ec3641c66f82bffaee5
/myewb/contrib/haystack/backends/solr_backend.py
a93c5e0b73ec7fc31132bae044f0e8a33ca81be7
[]
no_license
ewbcanada/myewb2
4a81668b37b286638ad80c9f2535770ada200cfc
50cf7698899bed1b31d0a637f72a1e9a5b7fa07a
refs/heads/master
2020-12-01T01:15:09.592117
2011-10-18T22:02:07
2011-10-18T22:02:07
380,073
3
6
null
null
null
null
UTF-8
Python
false
false
19,198
py
import logging import sys from django.conf import settings from django.core.exceptions import ImproperlyConfigured from django.db.models.loading import get_model from haystack.backends import BaseSearchBackend, BaseSearchQuery, log_query, EmptyResults from haystack.constants import ID, DJANGO_CT, DJANGO_ID from haystac...
[ "franciskung@ewb.ca" ]
franciskung@ewb.ca
c81e35e7d3d5f30a159c30b0aff3286f4721aefb
f12e9d1459b3384cb539ccfba032ce0bdb815c0d
/setup.py
5d0426a532b6063f957aa0c608ae9f413bde033b
[]
no_license
Henri-J-Norden/pygame-Outside-Alone
d97bfb42b523b444e49775bc0e16d790eedb571a
52ef8465867cf38f118d0b490402c238824e2c20
refs/heads/master
2020-07-26T21:49:47.246918
2019-09-16T10:42:32
2019-09-16T10:42:32
208,774,749
0
0
null
null
null
null
UTF-8
Python
false
false
569
py
import sys from cx_Freeze import setup, Executable # Dependencies are automatically detected, but it might need fine tuning. #build_exe_options = {"packages": ["os"], "excludes": ["tkinter"]} # GUI applications require a different base on Windows (the default is for a # console application). #if sys.platform == "win3...
[ "ttu@norden.io" ]
ttu@norden.io
ce95423669c7dcabcddef111ea7534a7d9164627
3c6636670505cec5cf0821e362ee7949f00f6e09
/stereo/gui.py
36418277fa0b8ddfca38bcdae5cb9c76f2ccf4ab
[]
no_license
comen/stereo_vision
7b69be5aaac5634d79dbec36b3216b1379341960
9ae87e25495e78ee029df2cf7ebfd184a08b4b47
refs/heads/master
2020-12-25T13:34:15.351416
2012-06-20T00:11:52
2012-06-20T00:11:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,715
py
#!/usr/bin/env python2 from __future__ import print_function, division import sys import time import threading import cairo import cv2 import numpy from gi.repository import Gtk, Gdk, GLib, GObject import vision from config import Config from camera import StereoCamera BUILDER_FILE = 'res/gui.xml' class Builder(Gt...
[ "tom5760@gmail.com" ]
tom5760@gmail.com
5eeb7541f6a09f1edcb9009e65e1f99a6a6c7468
e4b2b53c0d8ce48b6f0fc260dca6b14a8964fc13
/scripts/analysis_of_split_06/further_assess_quiescent.py
172ecbe99bb09f964aeeca3b4c0c1c32a0f32001
[]
no_license
usevision/modeling-training-set
f798cd13eecaa79199653acd100af3275e6de546
dfcd6625025b9314e79b3ec2638c8c593739ebeb
refs/heads/master
2021-06-24T11:28:51.655896
2021-01-27T20:52:17
2021-01-27T20:52:17
196,235,981
0
0
null
null
null
null
UTF-8
Python
false
false
6,340
py
#!/usr/bin/env python3 import numpy as np import pandas as pd import seaborn as sn import argparse as ap import matplotlib.pyplot as plt import matplotlib.patches as mpatches font = {'size' : 20} plt.rc('font', **font) parser = ap.ArgumentParser(description='further assess training and test split, specifically qui...
[ "noreply@github.com" ]
noreply@github.com
cbd8aee081f751dbe09cd41d92b26318c4721463
855e21c24ee6c3f69ebd97e08ba327c42ff004bd
/setup.py
0da755dc07748873f57a27fc539f42216e5d0476
[ "CC-BY-4.0", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
UmarMajeed-Rana/ric-app-hw-python
1a824eddee29ae61fe7e21ba2f56834c60aeae15
ea6e5c0fa03ccf6b3a000578a10e34e9320f0fbf
refs/heads/master
2023-02-03T16:40:10.097439
2020-12-07T08:12:19
2020-12-21T06:20:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,251
py
# ================================================================================== # # Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obta...
[ "r.banerji@samsung.com" ]
r.banerji@samsung.com
c0d0c585058b7344f5117651eb5914922d68c1cc
5eddb2a70b0df9d518c6f2bbb0a4be8ad55c4ba7
/RSA10.py
f560c57bddfa384575eac92667f160a5cd89ee90
[]
no_license
RyanMc98/Lab_1
309078b570d7581c76f860da6a76619184d61628
e3159c5b1a04fe3e026ff3a50b4a40abd87c16d5
refs/heads/master
2021-01-07T08:12:19.436327
2020-03-23T09:48:08
2020-03-23T09:48:08
241,629,894
0
0
null
null
null
null
UTF-8
Python
false
false
3,158
py
import binascii def int2string(my_int): return binascii.unhexlify(format(my_int, "x").encode("utf-8")).decode("utf-8") def extended_gcd(aa, bb): lastremainder, remainder = abs(aa), abs(bb) x, lastx, y, lasty = 0, 1, 1, 0 while remainder: lastremainder, (quotient, remainder) = remainder, divmod...
[ "noreply@github.com" ]
noreply@github.com
c189689825669e475b96d614505f9a7398a26007
6b637a62c07393a21e865119717d5d6164b744ef
/tidbits/numerical_gravity/stepper_test.py
ded5e8ef52882a8bd3afea539866aedc85e4f4d9
[]
no_license
yubo56/su_self_study
00109fca0816d230deadb4e799f611c8ef914d7d
6acb9a759adc9e705410bb53a2629d1f350dabe8
refs/heads/master
2023-08-05T11:44:31.820201
2023-07-30T18:52:33
2023-07-30T18:52:33
61,252,662
0
0
null
2023-08-22T02:10:14
2016-06-16T01:30:23
Mathematica
UTF-8
Python
false
false
3,599
py
#!/usr/bin/env python """ Test our steppers """ from collections import defaultdict import common import matplotlib.pyplot as plt import numpy as np import steppers def harmonic_oscillator_test(stepper_type, dt): """ really simple SHO test, returns l2 norm of diff of solution """ def f(ys, _): ...
[ "yubo@blend.com" ]
yubo@blend.com
5b801960f6caf1bc42f2aa3d283e085cf4010ca0
436e9a3efc0a6c5d827346213a4b2db2040207c6
/ipsafe/ipsafe/core/migrations/0001_initial.py
fc2ac79aed1d566fe7bfa42976d3707dfcd33aaa
[]
no_license
IPsafe/safebilling
402f7cc914ad2ead495d68b4156385d69272a709
f1a55bf440255d3058631cbc4126b030d799313f
refs/heads/master
2020-03-30T05:55:10.746557
2015-04-06T17:50:37
2015-04-06T17:50:37
33,496,068
0
0
null
null
null
null
UTF-8
Python
false
false
42,034
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models from ipsafe.settings import PROJECT_ROOT class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Customer' db.create_table(u'customer', ( ...
[ "hchehad@gmail.com" ]
hchehad@gmail.com
c258c8949699c9dfff812980c3bfdbc7fcbab906
8a1829ba390fb3b3758143a1307f6e295eba72ff
/colortry.py
4491a6d0e3b5ef86fd35fdc6e227f82380c74f1e
[]
no_license
YCHEN-NYU/py
e90279beeb0d38d3d087a1b28ae783afa9609dcd
f3c68c9d9619daeb0f207ce903b32443d9457f88
refs/heads/master
2021-01-10T23:53:24.340912
2016-12-20T19:35:36
2016-12-20T19:35:36
70,092,324
0
0
null
null
null
null
UTF-8
Python
false
false
287
py
import matplotlib.pyplot as plt from matplotlib import cm import numpy as np N = 500 data1 = np.random.randn(N) data2 = np.random.randn(N) colors = np.linspace(0,1,N) #plt.scatter(data1, data2, c=colors, cmap=cm.hsv) plt.scatter( data1, data2, cmap=cm.hsv) plt.colorbar() plt.show()
[ "eason.phys@gmail.com" ]
eason.phys@gmail.com
b43697e594bc2ebd2a22cf5aee7a1546b8119f53
bfbb78b6e6c69644ba70709ad528eb450bcf0cf5
/public/utils/wraps.py
a4e53c35ad111716201f0036cfb76f1e0a381ff1
[ "MIT" ]
permissive
xiaoxiaolulu/AndroidAuto
98b2248175e017d02f5da5b7d11f0f20d4f92dc8
b8cdba360664f7d1c73b9ab290c7901eaf814f0c
refs/heads/master
2020-04-12T15:36:25.554509
2018-12-20T13:58:06
2018-12-20T13:58:06
162,586,748
8
0
null
null
null
null
UTF-8
Python
false
false
303
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # ======================================================== # Module : wraps # Author : Null # Create Date : 11/11/2018 # Amended by : Null # Amend History : 11/11/2018 # ========================================================
[ "546464268@qq.com" ]
546464268@qq.com
ccf57165cdbb9e8ed83ce51879a645d7ead04f42
59aabbf552708a95e88562c82e0fefe906918fe1
/secgroups/dump-rds-secgroups.py
d3dd71a67feac00cc12548df4e8f5039dc91c216
[]
no_license
jfrolick/cloud_scripts
8a4285df84b242a0b4f135541c63f0dd656b2652
93a9e473fd35e89be7a41146cdb5e6f500b6dbd1
refs/heads/master
2021-06-06T19:53:56.546918
2021-06-03T21:36:11
2021-06-03T21:36:11
169,486,920
0
0
null
null
null
null
UTF-8
Python
false
false
7,603
py
#!/usr/bin/env python3 import json import boto3 import sys import re import ipdb import argparse import os from botocore.exceptions import ClientError # Get the region from environment variable region = os.getenv('AWS_DEFAULT_REGION') # Connect to AWS rds = boto3.client('rds', region_name=region) ec2 = boto3.client...
[ "9579406+jfrolick@users.noreply.github.com" ]
9579406+jfrolick@users.noreply.github.com
995436ff7e70706bbea6b85818dcb895c3ff70c7
4cfbc12903651dedbc799f53a8078433196e7919
/Pre Processing/Topic 1 - Numpy/Class 1 - IntroductionProgram.py
c3b196507a0ce2566d2dcc1315350a927e618dbd
[]
no_license
gautam4941/Machine_Learning_Codes
78bf86ab3caf6ee329c88ff18d25927125627a2c
0009d12ca207a9b0431ea56decc293588eb447b1
refs/heads/main
2023-02-06T18:05:44.154641
2023-01-30T17:04:25
2023-01-30T17:04:25
353,594,523
0
5
null
null
null
null
UTF-8
Python
false
false
528
py
#How to create numpy array #Mutability and Immutability import numpy as np l = [ [5, 6, 9, 10, 11], [ 1, 2, 3, 5, 6 ] ] print( l, type(l), len(l) ) arr = np.array( l ) print( f"arr = { arr }", type( arr ), len( arr ), arr.shape ) print() print( "Printing Numpy Array in the loop" ) for i in arr: pr...
[ "noreply@github.com" ]
noreply@github.com
7386ca5b567b78371f9f6e58ff1b7e4993dd737a
94d3d789850babc98c32ea834a2b91f610f0ca29
/owtf/managers/resource.py
a6411901660906761c9ff55e93c53ab398c7e272
[ "BSD-3-Clause" ]
permissive
Lonewolf-Information-systems/owtf
ede158b746d0de0abd0dfd3b1636ce4530ed5e5a
65355ce8bf4a4ea0177e24ee106f77e2f87c17fa
refs/heads/master
2020-03-11T15:14:10.279428
2018-04-01T22:08:43
2018-04-01T22:08:43
130,078,223
0
0
BSD-3-Clause
2019-06-14T11:43:53
2018-04-18T14:51:07
Python
UTF-8
Python
false
false
5,517
py
""" owtf.db.resource_manager ~~~~~~~~~~~~~~~~~~~~~~~~ """ import os import logging from owtf.utils import FileOperations from owtf.db import models from owtf.dependency_management.dependency_resolver import BaseComponent from owtf.dependency_management.interfaces import ResourceInterface from owtf.lib.general import...
[ "noreply@github.com" ]
noreply@github.com
9c1d2242d2357007ae0d434ddc9ba4ebbbccd7bf
283e32f7c0d896daedf2877a02c01c1b8ad1a533
/Program19.py
5614c3703c256630dcf1a26bd06e21b5a49e5285
[]
no_license
JyotendraPallav/LearnPython
5aaa96e80fb0e7b62a99201a6611d6e300c7e863
f9c48d3bba66e62a6ed9c6842c06e918e831250b
refs/heads/master
2021-05-11T00:50:56.978615
2018-03-14T17:25:26
2018-03-14T17:25:26
118,311,880
0
0
null
null
null
null
UTF-8
Python
false
false
1,460
py
# Program 19 (62-74) # get file creation and modification date/times # sort files by date # get a directory listing, sorted by date # Solution:1 import os,glob,time FilePath= os.path.join('D:\Github','Python Tutorial','LearnPython') os.chdir(FilePath) for f in glob.glob('*.*'): print("creation ti...
[ "Jyotendra@gmail.com" ]
Jyotendra@gmail.com
cf685a1cc01a20da118ede09f9e9dbc6790156b8
90d4bb1aea5e1e6464e59c77337126d29aa05347
/work/ppocr/modeling/necks/rcan.py
fac439f944a30ce85c4fcd278db103785cee16b4
[ "MIT" ]
permissive
YukSing12/lightweight-OCR
25d014f2ebb5a1f875015830a9ffa5149eb7c7f4
ce171e5ed03a4cbbc363c6adfa51f15f96fa4fc3
refs/heads/main
2023-06-20T07:18:34.051868
2021-07-14T10:36:37
2021-07-14T10:36:37
361,959,730
0
0
null
2021-07-14T10:36:38
2021-04-27T02:47:27
Python
UTF-8
Python
false
false
5,701
py
# Reference from https://github.com/huiyang865/plugnet/blob/master/models/rcan.py import paddle import paddle.nn as nn import paddle.nn.functional as F import math __all__ = ['RCAN'] def make_model(args, parent=False): return RCAN(args) def default_conv(in_channels, out_channels, kernel_size): ...
[ "39983134+YukSing12@users.noreply.github.com" ]
39983134+YukSing12@users.noreply.github.com
8e26143253fbb969439690562847fb8f0fc5441d
63a09cb65582e4e3afffd63a4b02f49eb6278e24
/file_crypto.py
9ea3a999f81153dcd8e66a5846b651a8057b636e
[]
no_license
omrawal/File-Encryption-and-Decryption-for-Safe-Storage
eca8053bc02c8685dad7801a1c471b169da30756
689383423c5590ce7087cafaec6bed349fdbaa6f
refs/heads/main
2023-03-23T22:43:50.203237
2021-03-21T13:06:30
2021-03-21T13:06:30
338,334,031
1
0
null
null
null
null
UTF-8
Python
false
false
1,257
py
from cryptography.fernet import Fernet def generateKey(): ## generates a key store in DB caution is object of bytes type NOT string key=Fernet.generate_key() return key def encrypt(filename,key): ## encrypts a file and stores (filename) "+_enc" (.ext) fernet_obj=Fernet(key) with open(filename, 'rb')...
[ "omrawal007@gmail.com" ]
omrawal007@gmail.com
2d38e8d1aa3dd39029b02efd5d56afa04d3cb49e
5115486cc3f9de2e7eedfd185c522c4867133089
/backend/backend.py
0ee861366022c1ef3db7b06f1f7415b1fa95dbca
[]
no_license
jelmr/Greeniversities
7448c39bf64794aaf8869c1e3a25bc94080c8b04
0f5c9bca3791738bf0b049f5c8630bb2394d94dd
refs/heads/master
2021-01-22T02:48:50.063691
2016-03-17T16:17:06
2016-03-17T16:17:06
17,017,411
0
0
null
null
null
null
UTF-8
Python
false
false
633
py
from flask import Flask from flask.ext import restful from app import models, db class UniversityList(restful.Resource): def get(self): universities = models.University.query.all() university_list = [{u.id : u.name} for u in universities] return {'universities': university_list} class Un...
[ "sirmcx@gmail.com" ]
sirmcx@gmail.com
a06d8a12c9e7455bfde25c68cd70a821848edece
e4705a9a7d7f6798f6845a1c58498159e0b55e44
/venv/Scripts/easy_install-3.7-script.py
fdd6b2ccd6edad584cfe4339341153961bc0dc5b
[]
no_license
Sandalph/python_liaoxuefeng
05199ea829ca8af3dbb737e0adbe2ab72347ed66
d97c5d614936c4bfaead7a43a251b551085979d3
refs/heads/master
2022-02-28T21:58:41.786921
2019-10-25T06:35:53
2019-10-25T06:35:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
452
py
#!C:\Users\w\Desktop\pythonѧϰ\venv\Scripts\python.exe -x # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.7' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)...
[ "3040535507@qq.com" ]
3040535507@qq.com
f6160ac2811a35c0f86566abde0bb2c6d5321a80
2a6f1afa7678e5d76efe01b1474eda59d442ae0f
/venv/Lib/site-packages/jesse/__init__.py
b199a71f6bf197fa4922b5ebba279d9913858687
[]
no_license
cagridincel/CagriTrade
6b50c785efc3eb43487724be59511a5850a92145
86839e6604eb18850f6410acf5f6993da59b74ec
refs/heads/master
2023-03-03T09:16:29.965177
2021-02-16T13:01:18
2021-02-16T13:01:18
338,672,106
0
0
null
null
null
null
UTF-8
Python
false
false
15,925
py
import os import sys from pydoc import locate import click import pkg_resources import jesse.helpers as jh # Hide the "FutureWarning: pandas.util.testing is deprecated." caused by empyrical import warnings warnings.simplefilter(action='ignore', category=FutureWarning) # Python version validation. if jh.python_vers...
[ "cagridincel@gmail.com" ]
cagridincel@gmail.com
15b38629b4d11b2e72cfbd1419b733a683d85761
1fdf2af56f803560aaf6dcaa4bd0a0e0311fbf6e
/Tkinter/1/one_1.py
076b0a61357fb1ab21d5afe1abc201fec3c28148
[]
no_license
gxs-gc/pythonGUI-Demo
c83c18f3f7a20de83a0773f284bd40c3dbac9a95
10f0a414b81ddbcbaccf8d5890282015a4ee71e7
refs/heads/master
2023-02-26T03:48:33.389685
2018-08-02T12:52:39
2018-08-02T12:52:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
641
py
#!/usr/bin/python # -*- coding: UTF-8 -*- #不写上面这行coding:utf-8 的话则代码中不能出现中文,否则会报错 #最简单的GUI窗口,标题是默认的tk,无内容 from Tkinter import * #创建主窗口 root = Tk() #root= Tk(className='标题')#创建主窗口并设置标题 #mainloop是主窗口的成员函数,也就是表示让这个root工作起来,开始接收鼠标的和键盘的操作。通过鼠标缩放以及关闭这个窗口。 root.mainloop() # Tkinter的提供各种控件,如按钮,标签和文本框,一个GUI应用程序中使用。这些控件通常被...
[ "m82338233@163.com" ]
m82338233@163.com
f955c7dbd811e87142447dbbd1263124daabe78d
873e4502b13529fbdb9d0ad837cb04375047bee1
/pyketo/__init__.py
a8d853284065c0803dd0c034cf9f217654b88cfd
[ "MIT" ]
permissive
EdMan1022/pyketo
3cc7636ca03c50759634a433441c067f3dfbf2d5
3a39d862ac58fb808c42e0cf8d35e7f7a88334b4
refs/heads/master
2020-03-20T06:15:28.738588
2018-06-13T20:13:21
2018-06-13T20:13:21
137,243,027
0
0
null
null
null
null
UTF-8
Python
false
false
52
py
from .auth import Auth from .session import Session
[ "EdMan1022@gmail.com" ]
EdMan1022@gmail.com
1846321ff27f14f42fead2063409d42819dda159
39fd524478c04577879843cd24e08bdfe273dc4c
/predict.py
aebae524fa2637b8248d88da936b25b5bd5db3fb
[]
no_license
zooliet/rekcle_stock
6679c195b2e50db5d9c2e529b567134f5540896b
7753803e36e119dd9cb15a5395bf93c7ea4201b9
refs/heads/master
2023-04-13T07:46:28.120732
2020-03-03T02:28:06
2020-03-03T02:28:06
241,545,210
0
0
null
2023-03-24T23:32:05
2020-02-19T06:01:14
Python
UTF-8
Python
false
false
6,446
py
#!/usr/bin/env python import numpy as np # import sys # sys.path.insert(0, '.') # debugger 셋팅 import pdb import rlcompleter pdb.Pdb.complete=rlcompleter.Completer(locals()).complete # logger 셋팅 import json import logging import logging.config from libs.loaders import StockDatasetLoader from libs.preprocessing impor...
[ "hl1sqi@gmail.com" ]
hl1sqi@gmail.com
a8dc43d429450527feb94790ee8b87c4ec620417
209c876b1e248fd67bd156a137d961a6610f93c7
/python/paddle/fluid/tests/unittests/dygraph_to_static/test_slice.py
96bcc6d016e0c78a32c9b6424844cd81ed8f6f88
[ "Apache-2.0" ]
permissive
Qengineering/Paddle
36e0dba37d29146ebef4fba869490ecedbf4294e
591456c69b76ee96d04b7d15dca6bb8080301f21
refs/heads/develop
2023-01-24T12:40:04.551345
2022-10-06T10:30:56
2022-10-06T10:30:56
544,837,444
0
0
Apache-2.0
2022-10-03T10:12:54
2022-10-03T10:12:54
null
UTF-8
Python
false
false
8,857
py
# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
[ "noreply@github.com" ]
noreply@github.com
2f5d70665f94725bf944160b00e801c898dca615
3c9228a68bc232e1206f9e3418fb4e7ecf387fc5
/corpus-builder/myspider/myspider/spiders/myspider.py
258d4df51654cb765344887549052dbe64e50377
[]
no_license
sbissoyi/nlp-odia
952692ed6ce6597ba849b4cb667abbd4c740e4d0
87492e5d303d0fb23649451bf5602e0b71c018ca
refs/heads/master
2020-12-02T22:05:16.224924
2017-08-05T08:29:59
2017-08-05T08:29:59
96,079,828
0
0
null
null
null
null
UTF-8
Python
false
false
1,043
py
#Module: Crawl Spider #Author: Swarupananda Bissoyi import scrapy from scrapy.spiders import CrawlSpider, Rule from scrapy.linkextractors.lxmlhtml import LxmlLinkExtractor from scrapy.linkextractors import LinkExtractor #from scrapy.contrib.linkextractors.sgml import SgmlLinkExtractor from scrapy.http.request import ...
[ "swarupananda@gmail.com" ]
swarupananda@gmail.com
ec9d1e2aec1fe4bfe124d5b58447d288e0bbf7de
728f428dc707c9e42708a467fc49e9e93cdf242b
/weather/getweather.py
e3e3fd017ff443aca96d73f786afb6695c62e7b1
[]
no_license
zqqf16/My-tools
44aea562bf50d3f68fa6e2b64104fa5d12a841b0
88f7f15c37b7d1533118f7f476ca50b3096da539
refs/heads/master
2021-01-13T01:36:38.782238
2012-03-20T14:48:04
2012-03-20T14:48:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
511
py
#!/usr/bin/env python # coding = utf-8 import urllib2 import json def get(): req = urllib2.Request('http://m.weather.com.cn/data/101010100.html') response = urllib2.urlopen(req, timeout=10) data_json = response.read() return data_json if __name__ == '__main__': data_json = get() data = json.loads(data_json) ...
[ "zqqf16@gmail.com" ]
zqqf16@gmail.com
842d04e05085f9e655396b9621f24c1551b6175a
1e8ad9ddbd6a0e40953b876619a2b554f15ee1dc
/model/base.py
34e936bd0dfe9dad78d7920556fbf727f295f485
[]
no_license
hedongzhang/plover
b942d8ff6b711064269d1518a85d42d372f581b0
084601059c42a47e43316eb91f2c06ab67de08bd
refs/heads/master
2021-10-24T05:02:15.238322
2019-01-02T01:39:12
2019-01-02T01:39:12
172,711,729
0
0
null
null
null
null
UTF-8
Python
false
false
4,882
py
#!/usr/bin/env python # -*- coding:UTF-8 """ Created on 2018/10/31 Author: Description: """ from contextlib import contextmanager from datetime import datetime from sqlalchemy import Column, inspect, Integer from sqlalchemy import create_engine from sqlalchemy.ext.declarative import declarative_base from sqlalc...
[ "hdzhang@hdzhang-2.local" ]
hdzhang@hdzhang-2.local
27985cba501ed020a79ad113c0a1a0bdf10f2538
28c614942558229bb9adca33070331b04d454015
/py/schwenk.py
ea995519b24521c1300e79ca9af769b144f98a1e
[]
no_license
qdv/Colorly
95827b077b888251dea3a2ed58e8a37e98837409
6891a2d550a66e374c5da441b452256abccaffad
refs/heads/gh-pages
2021-05-28T02:57:53.409957
2014-11-12T03:00:26
2014-11-12T03:00:26
100,415,084
1
0
null
2017-08-15T20:05:44
2017-08-15T20:05:44
null
UTF-8
Python
false
false
33,254
py
PALETTE = [ { "name": "Y1-2-03", "label": "y1-2-03", "hex": "#efc84f" }, { "name": "Y1-2-04", "label": "y1-2-04", "hex": "#fae698" }, { "name": "Y1-2-05", "label": "y1-2-05", "hex": "#f9e599" }, { "name": "Y1-2-06"...
[ "thomas@ether.com.au" ]
thomas@ether.com.au
acd7ebb51cf59c88548a40f75e66847f218941a5
c9ed575a7694349feec1e312c1a33f15080653ef
/sLDAc/generate_data/generate_corpus.py
a140cf9c70e1702186cceaa57fc181cc79fd77c7
[]
no_license
jeenakk/YelpChallenge
263d3e7769fd95c251aac3c61bed617c8a3613a8
867297deb3b5e6d9624adac31b67729b6dc06462
refs/heads/master
2021-01-13T17:31:23.280321
2014-06-10T03:09:49
2014-06-10T03:09:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
845
py
""" Generates a training and test corpus to be used in gensim for LDA stuff """ from utils import data f_data_train = "slda_data_train.txt"; f_data_test = "slda_data_test.txt"; def get_corpus(filename): open_file = open(filename); lines = open_file.readlines(); corpus = []; for line in line...
[ "clement.ntwari.nshuti@gmail.com" ]
clement.ntwari.nshuti@gmail.com
c42e1c3c9fb06e662726ed242984ed3c4517802d
775f3b9e2493d697af83dab277cc56b6d0c14c9b
/cifrado/web/codigo/Python/virtualenv-15.1.0/NAGARE_HOME/Scripts/sphinx-quickstart-script.py
6e3e297e3f2c01ae9e6a6545cbe5fd227eebefef
[ "MIT" ]
permissive
SanchezRuizCarlosEduardo/disor
4b50d92ecf559958295063dbf9402b86a8d50646
9e251f053c4edeb46b59b46d22049b29d1498727
refs/heads/master
2020-04-11T16:34:40.246739
2018-12-16T01:36:04
2018-12-16T01:36:04
161,929,151
0
0
null
null
null
null
UTF-8
Python
false
false
458
py
#!c:\users\charl\desktop\fpy\virtualenv-15.1.0\nagare_home\scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'Sphinx==1.8.2','console_scripts','sphinx-quickstart' __requires__ = 'Sphinx==1.8.2' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\...
[ "charly_lumina@hotmail.com" ]
charly_lumina@hotmail.com
c18094385c97b85f0c38cca69b68abf5c9662bf7
573d470c9fcb3799e8822e6953e1259b74e0672c
/Course/modules/example_13.py
4016b39419fd2a8cbe5a54f901788f7a01d1fdc1
[ "Apache-2.0" ]
permissive
zevgenia/Python_shultais
e6f35773e54a72477ea5ee83520dbecfbee7ff48
e51c31de221c5e7f36ede857a960138009ec8a05
refs/heads/master
2020-03-31T21:46:25.061571
2018-10-11T13:43:47
2018-10-11T13:43:47
152,593,211
0
0
null
null
null
null
UTF-8
Python
false
false
70
py
# -*- coding: utf-8 -*- import physics5 print(physics5.ek(100, 10))
[ "zatonskaya@yandex.ru" ]
zatonskaya@yandex.ru
6628c3ab7610404c2684f1b233cfcaabd5d88231
31e6ca145bfff0277509dbd7c4b44b8deddf3334
/BOJ/No_10828_timeover1.py
40d9f69792de7c5d61d9130fdd456608cc59dbb5
[]
no_license
brillantescene/Coding_Test
2582d6eb2d0af8d9ac33b8e829ff8c1682563c42
0ebc75cd66e1ccea3cedc24d6e457b167bb52491
refs/heads/master
2023-08-31T06:20:39.000734
2021-10-15T10:51:17
2021-10-15T10:51:17
254,366,460
3
1
null
null
null
null
UTF-8
Python
false
false
596
py
count = int(input()) list_x = [] for _ in range(count): order = input().split() if order[0] == 'push': list_x.append(int(order[1])) elif order[0] == 'pop': if not list_x: print(-1) else: print(list_x[-1]) list_x.pop() elif order[0...
[ "noreply@github.com" ]
noreply@github.com
3e85a33cbd0cf885437f07a679801992e9c92476
2ed0fe87ccd4be192c3f65fe2a9d0e0cc4a06f0b
/YL11.py
3e9f0320237b78f3abd1bc102aa2fd237aa94b77
[]
no_license
Ege3/HELLO
1dcb43ccc13d09a9aa5c2981332a508a742c2978
9d9be4f22f449ae80b00925e879e681d4ae4131b
refs/heads/master
2020-04-12T11:09:48.108101
2019-05-15T13:59:49
2019-05-15T13:59:49
162,451,020
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
loom = "lammas" print(loom[0]) looma_list = ["hobune", "karu", "mäger"] looma_list.insert(3,loom) print(looma_list) print(looma_list[-1][-1])
[ "ege.sepp@gmail.com" ]
ege.sepp@gmail.com
0069c39c419f2fec1dd4e7317d520e64fc412d7f
8d8a8e752e411465586a98b33584b04d1f63da2f
/tfpy/common.py
1aed38a3d052a8445ad4bfe86d5cc09c21eb9848
[ "MIT" ]
permissive
wmariuss/tfpy
0001361aff43cfeb2fb7d2468db1aa8a36753091
6e45171bbfc786ff91467a110b81d75fc16af3af
refs/heads/master
2021-06-23T15:16:27.226035
2021-04-25T22:07:42
2021-04-25T22:07:42
219,757,856
0
0
MIT
2021-04-25T22:07:44
2019-11-05T13:56:53
Python
UTF-8
Python
false
false
1,478
py
import re import os from typing import List, IO, Union, Any from termcolor import colored class Utils(object): def __init__(self) -> None: pass def escape_ansi(self, line: str) -> str: ansi_escape = re.compile(r"(\x9B|\x1B\[)[0-?]*[ -\/]*[@-~]") return ansi_escape.sub("", line) ...
[ "me@marius.xyz" ]
me@marius.xyz
9026b2ab4e5fa37e64bd9efa020ed09b7352391a
6c657b7d49bb3d6c41080bdaf5081d538a830c0c
/wqgui.py
208212306765e12a6450f1b13031f45d308b73dc
[]
no_license
MrWang-pig/Demo
7200e9eba86c0aded83d79a009811772959a9230
d7a192c0eccb62929e47300e69b94f3f405ae994
refs/heads/master
2020-12-30T06:41:33.450134
2020-02-07T14:38:16
2020-02-07T14:38:16
238,896,342
0
0
null
null
null
null
UTF-8
Python
false
false
27
py
print ('this is python3'')
[ "wwqqggui@126.com" ]
wwqqggui@126.com
393b4858534f2188a220f8a72beea4f8cf3638b1
63566fd87af7813c587738de6f714e395a359046
/ex11.py
2936a23c91d4fe8149f0140bab5ab0af80631274
[]
no_license
TingliangZhang/python3-tutorial
2620bf627b4fabe8abf1456f71647e72a3bf512f
b4c1f7c2a52cbdeb795c5a4cddf147de8f0e6550
refs/heads/master
2020-10-02T08:53:55.214400
2020-07-03T08:28:01
2020-07-03T08:28:01
227,743,182
2
1
null
null
null
null
UTF-8
Python
false
false
219
py
print("How old are you?",end=" ") age = input() print("How tall are u?",end=" ") height = input() print("Hoe much are you weight?", end = ' ') weight=input() print(f"You're {age} old, {height} tall and {weight} heavy")
[ "zhangtl16@mails.tsinghua.edu.cn" ]
zhangtl16@mails.tsinghua.edu.cn
6e6e2d47512cdbd5432c4001855a5b23687540ae
0add7953d3e3ce2df9e8265102be39b758579753
/built-in/TensorFlow/Research/cv/image_classification/Cars_for_TensorFlow/automl/vega/search_space/networks/tensorflow/backbones/prune_resnet.py
a5b32faa79ca4e832eea9a0341de8e9c088213d8
[ "Apache-2.0", "MIT" ]
permissive
Huawei-Ascend/modelzoo
ae161c0b4e581f8b62c77251e9204d958c4cf6c4
df51ed9c1d6dbde1deef63f2a037a369f8554406
refs/heads/master
2023-04-08T08:17:40.058206
2020-12-07T08:04:57
2020-12-07T08:04:57
319,219,518
1
1
Apache-2.0
2023-03-24T22:22:00
2020-12-07T06:01:32
Python
UTF-8
Python
false
false
3,242
py
# -*- coding: utf-8 -*- # Copyright (C) 2020. Huawei Technologies Co., Ltd. All rights reserved. # This program is free software; you can redistribute it and/or modify # it under the terms of the MIT License. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the...
[ "1571856591@qq.com" ]
1571856591@qq.com
ea13e4c2509b96350b016aba536d17b97f66f92a
85ed84df2de6dec6a63860d97f782bb4e5cfd5d9
/accounts/models.py
02661677cacb7aabd137db0c2c7315e37e36a698
[]
no_license
alauddinmondal/webamshop
d3e021341570cd80611f4cf0e6fe5e9ce8d95cf8
b2fac526ae0e8c5aa58c7766fb6e57c3f2313666
refs/heads/master
2022-12-18T03:48:58.272080
2020-09-07T09:49:14
2020-09-07T09:49:14
273,901,182
0
0
null
null
null
null
UTF-8
Python
false
false
1,385
py
from django.db import models from django.conf import settings from django.urls import reverse from django.template.loader import render_to_string from django.core.mail import send_mail class UserStripe(models.Model): user = models.OneToOneField(settings.AUTH_USER_MODEL, on_delete=models.CASCADE) stripe_id = m...
[ "arshialauddin@gmail.com" ]
arshialauddin@gmail.com
7c4402a03d6196f44369aae48542ac89a72a363f
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/operations/_managed_database_vulnerability_assessment_scans_operations.py
ce14b2f5af91e3cff8bce7e213cbbf2069ae91ee
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
scbedd/azure-sdk-for-python
ee7cbd6a8725ddd4a6edfde5f40a2a589808daea
cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a
refs/heads/master
2023-09-01T08:38:56.188954
2021-06-17T22:52:28
2021-06-17T22:52:28
159,568,218
2
0
MIT
2019-08-11T21:16:01
2018-11-28T21:34:49
Python
UTF-8
Python
false
false
21,958
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
noreply@github.com
fc10012a1a6d3a1979fe4e00420e47e23a0a84c3
6a722da8941bebc5334bb7e66eef97b45fcd9c0d
/geo-demo.py
bd0bfe6fa9e890425c97d60fa74fcf8c3be8e1eb
[]
no_license
git163/pyecharts-demo
386c8a3b528367c2a2ef0bf2ef803f0c0791a8d7
af85636139fbe3a9fd315faca0b5bc7509f02a8a
refs/heads/master
2021-05-22T14:04:36.618260
2020-04-04T09:20:29
2020-04-04T09:20:29
252,956,172
0
0
null
null
null
null
UTF-8
Python
false
false
715
py
from pyecharts.charts import Geo from pyecharts import options as opts from pyecharts.globals import ChartType import random, os filename = 'geo.html' province = ['武汉', '十堰', '鄂州', '宜昌', '荆州', '孝感', '黄石', '咸宁', '仙桃'] data = [(i,random.randint(50,150)) for i in province] geo = ( Geo() .add_schema(maptype="湖北") ...
[ "tsinghua@1639985563@qq.com" ]
tsinghua@1639985563@qq.com
e8d7635a65c8b2c18a3c90071a53d4c92501b07e
f5d7b66802ae7e76274ac07010df76e3fb65f34c
/Learn and Practice PyThOn/chepter-9 (Some interesting Program)/search of number.py
1dad2b13d7b48957762f7d8b14d425c9485a0d94
[]
no_license
darkcoders321/fahim
e11ab8989ebad62534dad9ad4dad66f848384049
e2b2d5a7c00003952f39dfbeb177abc2afcc3443
refs/heads/master
2020-09-09T14:41:01.221868
2019-11-13T14:13:11
2019-11-13T14:13:11
221,471,640
0
0
null
null
null
null
UTF-8
Python
false
false
603
py
import random number=random.randint(1,1000) attempts = 0 while True: input_number = input("Guess the number (between 1 to 1000):") input_number = int(input_number) attempts +=1 if input_number == number: print("yes, your number is correct") br...
[ "darkcoders321@gmail.com" ]
darkcoders321@gmail.com
770bfb90e97b47163b8891b57d82c71fb2aa2416
1c2ed43190c344e62c55f1ad6b01e3815a6b1c8c
/enter_evidence.py
b8e10e16c3b125f608b6a3ec273dd9b765d6776a
[]
no_license
degerli/python-influence-model-toolbox
0a4e0718cb7db84a9a23d833dd7f26fc2969695f
466af7792f833b3476080c1b0b18cda0fcb34226
refs/heads/master
2020-04-24T16:16:44.136714
2017-12-29T22:17:10
2017-12-29T22:17:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,777
py
# ENTER_EVIDENCE --- calculate sufficient statistics from evidence # since two_slides_evidence might be very large, # instead of choosing one_slide_evidence and two_slides_evidence # as sufficient statistics, we use alpha, beta, and obslik . # # returns the influence model engine and log-likelihood value import nu...
[ "a4932cd1@opayq.com" ]
a4932cd1@opayq.com
2c4aed5ed7cb5ee974c114d183f12163eb2fc911
d331f11cf1e779e5ccf72c20f700388d07065b19
/BB_HRRR/GLM_and_HRRR/save_GLM_HRRR_binary_fields.py
5e56de136638fc61b18ed129afce5c529ea38bc9
[]
no_license
geofbaum/pyBKB_v3
cd54d886348547a67a712e4aa1f8299e43667e39
8cf483e5296c8b38b57e31a0f65ea29762b57f38
refs/heads/master
2020-07-02T18:39:46.296555
2019-08-08T18:36:31
2019-08-08T18:36:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,389
py
## Brian Blaylock ## May 7, 2019 """ Generate HRRR-GLM binary Lightning tables and store data in a dictionary. Save the dictionary for later use. Store on Horel-Group8 (approx. 150 GB). """ import numpy as np import matplotlib.pyplot as plt from datetime import datetime, timedelta import multiprocessing import os im...
[ "u0553130@ad.utah.edu" ]
u0553130@ad.utah.edu
61bea83fdb813ea82fcd443956c102d9bf5bc6e1
d24cef73100a0c5d5c275fd0f92493f86d113c62
/SRC/engine/skeleton.py
0b58d6332707f5a4b9d108688304cda8dd1a450c
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
rlinder1/oof3d
813e2a8acfc89e67c3cf8fdb6af6b2b983b8b8ee
1fb6764d9d61126bd8ad4025a2ce7487225d736e
refs/heads/master
2021-01-23T00:40:34.642449
2016-09-15T20:51:19
2016-09-15T20:51:19
92,832,740
1
0
null
null
null
null
UTF-8
Python
false
false
128,537
py
# -*- python -*- # $RCSfile: skeleton.py,v $ # $Revision: 1.346.2.6 $ # $Author: langer $ # $Date: 2014/09/17 21:26:56 $ # This software was produced by NIST, an agency of the U.S. government, # and by statute is not subject to copyright in the United States. # Recipients of this software assume all responsibilities a...
[ "faical.congo@nist.gov" ]
faical.congo@nist.gov
b37b83daa1eb0ca5b1c31db2967e94e956036241
9aa5f73bf12e59ffd2b04287c3d5ee3ec0c1df10
/monitorTopology/apps.py
b575072c943edcaf2b68a7bd5e9a63bb5970db17
[]
no_license
ephemeral2eternity/monitor-cmu-agens
fcd4cdcbaf669bc213e0213ae6c53dce92e7e456
9494b05f42543f66aa28d251f166c7a04cf827fe
refs/heads/master
2020-06-29T12:20:39.418201
2017-06-09T20:18:25
2017-06-09T20:18:25
86,014,874
2
0
null
null
null
null
UTF-8
Python
false
false
105
py
from django.apps import AppConfig class MonitortopologyConfig(AppConfig): name = 'monitorTopology'
[ "chenw@cmu.edu" ]
chenw@cmu.edu
1618eb45dc157563447e4085b5c12a484c59c895
43d4d9c299527020c976f2b7d142af350095670d
/app/indexHandler.py
2f0c4917f23dc14fb05f84eff4bed9c59c2efa24
[]
no_license
freedive-cebu30/makeview
b1c89a11d1e1bccfa579661883b77b1147c939cb
158309afb0a484faa90ff2650a27ca5bd1b384b3
refs/heads/master
2021-01-19T19:35:53.585457
2017-04-16T16:03:49
2017-04-16T16:03:49
75,826,558
0
0
null
null
null
null
UTF-8
Python
false
false
27,060
py
import cgi import os import operator import wsgiref.handlers import datetime import md5 import math from django.core.paginator import ObjectPaginator, InvalidPage from google.appengine.ext import webapp from google.appengine.ext import db from google.appengine.ext.webapp import template from google.appengine...
[ "freedive.cebu30@gmail.com" ]
freedive.cebu30@gmail.com
3a7747af02411031514c181a04c24354035a545d
4ca2adce7a3261960128ce71be5d64824b8925b0
/classifier.py
ac4da54837c1c583fee0d776f5db1ef3e2557576
[]
no_license
sohamcoder007/GAN-Data-Aug
592610abbeec0e6845285f44b765b2d55b99f22a
26333d5a303f98a303d965e40f0fe068e7c29919
refs/heads/master
2023-04-02T10:51:35.165222
2021-04-01T06:05:00
2021-04-01T06:05:00
353,676,220
0
0
null
null
null
null
UTF-8
Python
false
false
4,806
py
import torch import torch.nn as nn import utils class DeepClassifier(torch.nn.Module): def __init__(self, lr=.0002, input_dim=784, output_dim=10, dropout_rate=.1): """ 3 hidden layers output_dim = number of classes """ super(DeepClassifier, self).__init__()...
[ "soham@voicegain.ai" ]
soham@voicegain.ai
32bf187cdc7f2ee8dbb874731c1c4c74515fc13c
6e96d046a9625cd586dfcf574bb21729b2049c84
/Extra/Paragraph/main.py
df6b5e3353515f2473b1b6e36d9150cc05d09ded
[]
no_license
andrewbankston/python-challenge
1f394a9338ccbe3956f373698ed3b2031faac9ae
2e49a1ff0a3f4103103e8c16cb9ef8b07c15c5ca
refs/heads/main
2023-01-28T16:20:14.220972
2020-12-08T05:37:12
2020-12-08T05:37:12
318,314,739
0
0
null
null
null
null
UTF-8
Python
false
false
1,023
py
import re def paragraphAnalyzer(file): word_length = [] sentence_length = [] with open(file, 'r') as text: lines = text.read() sentences = re.split('.\n\n|\S.[.] (?=[A-Z])|[.] (?=[A[a-z]-Z[a-z]])', lines) sentence_count = len(sentences) words = re.split(' |\n\n', l...
[ "andrewbankston3@gmail.com" ]
andrewbankston3@gmail.com
0919da5346773ea08bf6320df0e620d32e128a84
22051d8a5069bd905a5ca7831865831fe81ef9f1
/generator/generator_base.py
7924545dd4388c836064d53bca32179ca783179b
[]
no_license
Solitry/convex_hull
94283139974cb09b84893f9d42a90c48fa42320e
c3570d11e0df4389fc020e097eb334977a892690
refs/heads/master
2020-07-29T18:27:16.415715
2019-09-21T07:47:34
2019-09-21T07:50:53
209,917,447
2
0
null
null
null
null
UTF-8
Python
false
false
489
py
from abc import ABCMeta, abstractmethod from typing import List from common.value_type import Point, Sample class GeneratorBase(object, metaclass=ABCMeta): def __init__(self): pass @abstractmethod def render(self, is_lock: bool): pass @abstractmethod def set_d...
[ "shineflyyy@foxmail.com" ]
shineflyyy@foxmail.com
b506faa217326f78986d406a249290916ec26b72
8aa3ff3ad693e5e2921ef186ee4f9c29e451c423
/predict_system.py
094411b332d9b4191f5ca7f110e5115c165f2241
[]
no_license
gavin2059/ocr
c49be7dfd62adf1bd51c4ee8cd3e77a1ac96928c
820395045f9856f4aca4d0e845528a189597ffda
refs/heads/main
2023-07-12T09:56:05.863152
2021-08-25T06:57:46
2021-08-25T06:57:46
374,580,600
0
0
null
null
null
null
UTF-8
Python
false
false
9,194
py
# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required ...
[ "noreply@github.com" ]
noreply@github.com
eee4ff54c2fd7a85aa9fbfc8d4883a2b5bdf40d6
0522d78f93db6a265fa0b4da1be78d05af83c35c
/myfirstsite/db.py
018a7399dccc5d1a4d722190e09af8773ffe99d3
[]
no_license
PrinceTG80/internship-project
8560760844c5853a7d995b51458883291ea3417c
2c88f9304cbe220dd75657838bbf0fb6cebb9d99
refs/heads/main
2023-03-27T13:30:13.205973
2021-03-24T19:25:16
2021-03-24T19:25:16
349,670,147
1
0
null
null
null
null
UTF-8
Python
false
false
2,523
py
import pymongo from bson import ObjectId """=========================================================""" myclient = pymongo.MongoClient("mongodb://localhost:27017/") mydb = myclient["database"] mycol=mydb["userdata"] cartdata=myclient["cartdata"] sitedata=myclient["sitedata"] """======================================...
[ "79563128+pranav-dabre@users.noreply.github.com" ]
79563128+pranav-dabre@users.noreply.github.com
c84e2bbf20ec091137ed03fc29ca9ed769698621
a150ea2b01a1650fb3811f6e9bf364359f934943
/project_management/fileManagement/views.py
59ada14dc3ef254c5818516021a61907b9ca00d6
[]
no_license
milad3867/project-management
acb270175d035133d60f0a6734f8962d1d57d409
ac4312345169720a133a80f37c2e03f2d046a68b
refs/heads/master
2022-12-15T10:01:07.036043
2020-01-22T09:29:42
2020-01-22T09:29:42
230,630,109
1
1
null
2022-12-08T03:28:33
2019-12-28T15:48:54
Python
UTF-8
Python
false
false
2,696
py
from django.shortcuts import render from django.http import HttpResponse, Http404 from django.conf import settings from django.views.generic import UpdateView from webSite.models import Student from django.contrib.auth.mixins import LoginRequiredMixin from django.contrib.auth.decorators import login_required from djang...
[ "serajzade.milad@gmail.com" ]
serajzade.milad@gmail.com
974769d397b0ceea7216d2609715c69266ccd9d6
1db7abb4c133757598f2b82a0114500cac6ec4df
/vislice.py
aeecd769cecc6a62dbca33b9b84806694c3e725a
[ "MIT" ]
permissive
Andraz1999/Vislice
aff6d3b7ff6bd6fe2b2f35518963efefa75babe9
3ad68784b0ab05ccc70f7a0702b62211da9fd2c7
refs/heads/master
2020-05-16T11:13:31.173651
2019-05-28T14:37:15
2019-05-28T14:37:15
183,009,642
0
0
null
null
null
null
UTF-8
Python
false
false
1,145
py
import bottle import model SKRIVNI_KLJUC = 'Zadnji teden predavanj!' vislice = model.Vislice('stanje.json') # ##testiranje #id_testne_igre = vislice.nova_igra() #(testna_igra, poskus) = vislice.igre[id_testne_igre] # ##testni @bottle.get('/') def prva_stran(): return bottle.template('index.tpl') @bottle.post('...
[ "andraz.pustoslemsek@student.fmf.uni-lj.si" ]
andraz.pustoslemsek@student.fmf.uni-lj.si
7bfbe43c24b041ca2ae6a51f299720e31c5290aa
d60158769a4c7b6e11a8236baaa65c1f7cdc62ab
/forum/migrations/0002_auto_20200325_1335.py
8f662f038999f46cbef1e5ab4958b83b5a623537
[]
no_license
ShehanAT/fitness-forum
f044b24fb42ecb1836e60c4354b1f88c94bfd76e
a1008d87d5b92d909b2e02903d925976f1d02a79
refs/heads/master
2023-02-24T04:15:22.165298
2021-10-24T01:51:39
2021-10-24T01:51:39
249,580,154
1
0
null
2023-02-15T20:41:35
2020-03-24T01:05:51
HTML
UTF-8
Python
false
false
1,080
py
# Generated by Django 2.2.11 on 2020-03-25 13:35 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('forum', '0001_initial'), ] operations = [ migrations.RemoveField( model_name='category', ...
[ "shehanatuk@gmail.com" ]
shehanatuk@gmail.com
9f7e62328193654575f3566e24d6c7d803837d95
c4ea4b9589fb0af949d6da99ee7bf1833d1530aa
/LabMatec/main/views.py
3e22422abd473246311fd4e394f298c978aa3dde
[]
no_license
jbravot/tecnologia_web
26d1fddb61ebe6bf63704cf72b08c93ce654dc60
1bce837bd8bbc22ff151eb8eeabf92585e8051d8
refs/heads/master
2020-04-16T22:09:27.157321
2019-02-12T21:05:39
2019-02-12T21:05:39
165,955,487
0
1
null
2019-01-16T02:09:57
2019-01-16T02:00:56
null
UTF-8
Python
false
false
802
py
# -*- coding: utf-8 -*- # from django.contrib.auth.decorators import login_required from django.core.urlresolvers import reverse_lazy from django.views.decorators.csrf import csrf_exempt from django.http import HttpResponse from pymongo import MongoClient import simplejson as json from bson import json_util #========...
[ "jjbravo88@gmail.com" ]
jjbravo88@gmail.com
b40b37ecc59a8b03ca75e97d1c157588fa9b6604
fb3e0cda993335436d948ebff5ef40de2f4ac10b
/dev.py
decd3dd66801f378173d5aa99cc89aaed69662d5
[]
no_license
echangein/arbitrage
a7e109cf0bc8920e3ab64f3523e82d8129fb46d7
3ccf1e298a8be0756cbf86c2af0237db3b7a8842
refs/heads/master
2020-05-21T20:10:06.960822
2017-06-25T23:41:13
2017-06-25T23:41:13
39,617,709
5
0
null
null
null
null
UTF-8
Python
false
false
1,315
py
#!/usr/bin/env python #-*-coding:utf-8-*- from kbrd import getch import time, os, json, sys, datetime from sigma import Sigma dirName, ownFileName = os.path.split(os.path.abspath(__file__)) configFileName = dirName + '/../conf.cfg' if os.path.isfile(configFileName): file = open(configFileName, 'r+') config = json....
[ "e.change.in@gmail.com" ]
e.change.in@gmail.com
98412b9833d4acb50e639303bf41237483b6418c
c60188182a9715d216f140a6658283e1e1a6a75c
/timetable/build_schedule.py
d2e32dc06c4ed6debb213e40a41c0e141f2282ea
[]
no_license
olivier-klein/booklet
61be295e9523d2f39aac9ceb3fe21889fab29eee
4c5647ab671047d047225692b23a2ca8bef959b8
refs/heads/master
2023-02-11T02:04:47.484963
2023-02-03T10:40:46
2023-02-03T10:40:46
118,344,707
2
2
null
null
null
null
UTF-8
Python
false
false
189
py
#!/usr/bin/python import subprocess import os import parse_schedule as parse ScheduleName='program' parse.txt_2_tex(ScheduleName) subprocess.Popen(['pdflatex','schedule.tex'],shell=False)
[ "noreply@github.com" ]
noreply@github.com
6c64949db5c6e14dc709d406fa53c415dabe40cb
fa7d04cb1eb932d609cc2e4567920b77b2080b57
/基础学习/python_work/Chapter 6/people_message_homework.py
a9596bcd4f98211383f405e04153752e22902adf
[]
no_license
Yangqqiamg/Python-text
3b74088781e46a21534dcded49e8deae9c458e5d
426e15d4993c1658909a4e1a848829d09b029c96
refs/heads/master
2020-04-11T15:07:06.825475
2019-01-01T14:32:19
2019-01-01T14:32:19
161,880,306
0
0
null
null
null
null
UTF-8
Python
false
false
276
py
#one people_message = { 'first_name': 'add', 'last_name': 'mike', 'age': 24, 'city': 'shanghai', } print(people_message) #two people_num = { 'mike': 6, 'joe': 8, 'mary': 9, 'lihua': 15, } print('joe like ' + str(people_num['joe']))
[ "15218090298@163.com" ]
15218090298@163.com
2f5c359929bc16172d26a01501caa8a5ec21de88
d51227f5b314f7b1c7430ef0c010e65a8f8bca3b
/rnacentral/portal/management/commands/update_karyotypes.py
b64d933122ecaeea2ca10cb6a0cf7e8b0bd3d0cf
[ "Apache-2.0", "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
matthiasblum/rnacentral-webcode
3b4c91c8c78dc4d1a6600f1e0df1517f08d258b2
1509c3bb2b8cdd737f3e7d1769957d79a0892a3c
refs/heads/master
2020-03-17T15:48:45.110420
2018-05-16T12:39:36
2018-05-16T12:39:36
133,725,060
0
0
null
2018-05-16T21:29:33
2018-05-16T21:29:33
null
UTF-8
Python
false
false
4,305
py
""" Copyright [2009-2017] EMBL-European Bioinformatics Institute Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
[ "burkov@ebi.ac.uk" ]
burkov@ebi.ac.uk
ea66c9bc66d03a5e8a119cd29e8e4ef2ba75c21a
76033457511ba74ebc72fec87208e0767b6ee1f1
/app/core/migrations/0006_recipe_image.py
f4f7622fb42743dd39733dc500e47af6bfd03cc1
[]
no_license
rrgore/recipe-app-api
078350b834e0e3378610142f630c713b1f3d2369
6360b88bb39aa2eb435f0d8e46f4ab456c0ca2c2
refs/heads/master
2022-11-08T19:28:34.578068
2020-06-20T10:41:39
2020-06-20T10:41:39
264,429,077
0
0
null
null
null
null
UTF-8
Python
false
false
443
py
# Generated by Django 2.1.15 on 2020-06-14 09:12 import core.models from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0005_auto_20200607_1133'), ] operations = [ migrations.AddField( model_name='recipe', na...
[ "rahul.ravi.gore@gmail.com" ]
rahul.ravi.gore@gmail.com
183e6bcb3efbec82b96f70e5665e476ceaf85779
3ac9deb93c7ef377749e1a92589757ff70e95011
/modules/python_file.py
788862f475b882abaf33013495a9abd80862cc83
[]
no_license
sambapython/raisingstarts
6afc9ecfe8b6c21d1cbed87802465a0de581ddc8
c186dd0d58ecfd845c5092ddf4801e42ef698cae
refs/heads/master
2021-01-20T16:09:36.802216
2016-09-20T08:36:55
2016-09-20T08:36:55
62,765,486
0
2
null
null
null
null
UTF-8
Python
false
false
344
py
import file1 import file2 import file3 import mod1 import sqlite3 print mod1.f1.fun1() print (file1.fun1()) print (file3.fun3()) try: con=sqlite3.connect("db2.db") #con.execute("create table persons(id int,name varchar(60))") #con.commit() except Exception as err: print err finally: pass #con.close() #print (file...
[ "sambapython@gmail.com" ]
sambapython@gmail.com
8afe3819c7f50dcf9647469fc77db8719a5919a4
b1bbd49ebcef48cd6a05c54cf29814c431868c75
/lesson2/3_fixtures_return_values/test_fixtures_return_values.py
ba40c142caac3bb7a9305494e2d2d6de120b84a1
[ "MIT" ]
permissive
SamVyazemsky/OtusPythonQAJune2020
598765ae03be1e76fdb824ac2cb867b443d610fb
ced93ba512b38d5f082b158d4b56f1d06c032db4
refs/heads/master
2023-02-22T17:47:47.414213
2020-12-10T18:50:10
2020-12-10T18:50:10
275,834,555
2
3
null
2023-03-27T19:59:54
2020-06-29T14:11:42
Python
UTF-8
Python
false
false
501
py
def test_the_number(fixture_return_rnd_number): first = fixture_return_rnd_number[0] second = fixture_return_rnd_number[1] third = fixture_return_rnd_number[2] assert first == 20 or second == 20 or third == 20 def test_the_class(fixture_return_class): assert fixture_return_class.mod2.pow(2, 3) ==...
[ "sema.usu@gmail.com" ]
sema.usu@gmail.com
d8421b58869de93eca194edc36e322c89b52c9ea
23b1fb3b08554a1df17ef389a78bd1737b7bbea4
/test/entrance.py
8a15a5b658b78980804f5a18398c52ae85e5231e
[]
no_license
liunaijia01/Tensorflow
70167401b68f012cef81441c34903fc6d87ae50c
6448e928adf59f26b6a21f08a5f1d467ca33d6fc
refs/heads/master
2021-06-23T14:44:13.869766
2020-10-28T10:07:44
2020-10-28T10:07:44
211,266,248
0
0
null
null
null
null
UTF-8
Python
false
false
2,167
py
import tensorflow as tf import matplotlib.pyplot as plt #from data.Titanic_kaggle.data_process import load_data from data.books_ctr.data_process import load_data from sklearn.metrics import roc_auc_score def load_model(model_name): if model_name == "LR": from algorithm.LR import construct_model elif m...
[ "843008341@qq.com" ]
843008341@qq.com
5852e744c87448824dc1cd706d491fc7b9fc6bc6
b07994ea3643fa99780867f113024a0d1b7d485b
/CICLO-1/EjerciciosClase/S7/FinalizarReto5_2.py
2adee9ced70176757005d28aed847b29d9a26e69
[]
no_license
jgonzalezzu/MinTIC2022-UNAB-G63
157d6a1760f25c44881f73f84854d73a2cdd86f6
3ad026b233f1ba520a27cfabcb67c0a94ecd6863
refs/heads/main
2023-06-13T04:32:48.933356
2021-07-03T02:02:18
2021-07-03T02:02:18
370,083,862
0
0
null
null
null
null
UTF-8
Python
false
false
166
py
import json with open('./datos.json') as archivo: datos = json.load(archivo) for key,value in datos.items(): print(f'clave : {key} - value: {value} ')
[ "jegonzalezzu@unal.edu.co" ]
jegonzalezzu@unal.edu.co
9c452e0431a2f1ff62b25cfcb77577b54b194382
20892732a21711edd3352b58c8c31e22e366b236
/python_pra/2019-7-10-练习1.py
20cf04b3c1b52587bf5525fb3806c29e29b5365a
[]
no_license
github-world/python_demo
b3085521e2a1475b1446b97db18682cc63700d76
1123d594dead81509dcc93fda662e1b4f0557677
refs/heads/master
2020-06-09T22:50:39.482340
2019-08-12T02:13:54
2019-08-12T02:13:54
193,522,509
0
0
null
null
null
null
UTF-8
Python
false
false
748
py
''' #eval() 函数用来执行一个字符串表达式,并返回表达式的值。 eval(expression[, globals[, locals]]) 参数 expression -- 表达式。 globals -- 变量作用域,全局命名空间,如果被提供,则必须是一个字典对象。 locals -- 变量作用域,局部命名空间,如果被提供,可以是任何映射对象。 #pow() 方法返回 xy(x的y次方) 的值。 n = eval(input()) m=pow(n,2) if len('m')<=20: print('{:-^20}'.format(m))#正则表达式,有些看不懂,但是功能还是没毛病的。 else: ...
[ "913798225@qq.com" ]
913798225@qq.com
48da07a44d813b8313eb144bbd4eb320e5ae0000
15d675ef40c947c84b9e3dda58782f081b3602bd
/app.py
dda6d28d93f1e44bfc3dd0f67d46af96425a3c11
[]
no_license
piet18cs127/Dip-endterm
d645cbe860125f453049d896b6930ca7c0809b27
965a62c1c33cd12cd3a798621179f33397d99bc7
refs/heads/main
2023-06-17T15:56:17.307310
2021-07-19T07:58:54
2021-07-19T07:58:54
387,376,930
0
0
null
null
null
null
UTF-8
Python
false
false
2,325
py
import streamlit as st from PIL import Image import pickle import numpy as np import matplotlib.pyplot as plt import pandas as pd import tensorflow as tf from keras.preprocessing import image import os from werkzeug.utils import secure_filename st.set_option('deprecation.showfileUploaderEncoding', False) fro...
[ "noreply@github.com" ]
noreply@github.com
c56fddf9c8d93441ddb1f5f92aa4d83dada76cb9
8b94ed21f62386aac4b9bec79652ca7a2679e6b5
/python/preprocess/model.py
48ee57fc590b513197f3701286c85148c930654e
[]
no_license
jessedow24/MLB_statTRAX
c1514deef169b72a5ecb983c6b775a655ebe7360
a441777be2c3a744d4286cd2df5af6cf9357d432
refs/heads/master
2020-05-26T15:23:25.223868
2019-08-09T01:33:34
2019-08-09T01:33:34
188,283,916
1
0
null
null
null
null
UTF-8
Python
false
false
3,533
py
from preprocess import dates, service import pandas as _pd import pybaseball as _pybaseball import os as _os def get_mlb_dates(year=None): obj = dates.GetSchedule(year) obj.set_prior_years() obj.set_mlb_dates() obj.set_endpoints() obj.set_all_star_break_days() obj.set_se...
[ "jesse.downing@level3.com" ]
jesse.downing@level3.com
8895058032a530770b24aec56352070d578a91ec
6fdc961696250180ca4e1a6fd9939e4a3944929c
/skriv_fikstjafs.py
c92b9b1efeede1b140c0e0254e2692f1b5d523df
[ "MIT" ]
permissive
LtGlahn/fiksnvdb_sep2020
0c361399503f9d3db863f7ccc76db4cf5199f103
7fbe7b7e2368f0b4ab4e560c404f6cbf87d56468
refs/heads/master
2022-12-25T00:28:40.757284
2020-10-07T14:07:41
2020-10-07T14:07:41
296,836,714
0
0
null
null
null
null
UTF-8
Python
false
false
2,856
py
from datetime import datetime import glob import geopandas as gpd import pandas as pd import STARTHER import skrivnvdb import apiforbindelse import nvdbutilities skrivtil = skrivnvdb.endringssett( ) skrivtil.forbindelse.login( miljo='prodskriv' ) nvdbfilterid = [ 1007739029, 1007739322 ] fil = 'fiks899.gpkg'...
[ "jensen72@gmail.com" ]
jensen72@gmail.com
38ba2d08e22e3d858578639be012ec3575f7804f
d2cb930ed5df0b1b5f7944e00f6f884bf014803d
/yeko_demo/yeko_demo/settings.py
2b5ddd20cb874abdfd2ed78b7de8f06e217beff2
[]
no_license
sixDegree/python-scrapy-demo
3cae4298b01edab65449cfe9af56b2fa59f4c07d
b66530e54156be8c7877f1fc4d497fd497b6fdda
refs/heads/master
2020-06-17T03:16:23.038061
2019-07-08T09:25:15
2019-07-08T09:25:15
195,777,787
0
0
null
null
null
null
UTF-8
Python
false
false
3,478
py
# -*- coding: utf-8 -*- # Scrapy settings for yeko_demo project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://doc.scrapy.org/en/latest/topics/settings.html # https://doc.scrapy.org/en/latest/top...
[ "chenjin.zero@163.com" ]
chenjin.zero@163.com
1fc3844c916086b0f5febba0959e38f62373ec8b
b054813aa9dcc9efd7f09eb931fb4485a9e07a90
/database.py
2394ea29111922ed07e32bfdcf2ead247df9a454
[]
no_license
elferrus7/QMBlogging
b1cdeeaba33c0e011557107c4114a2fdd8d20b40
e922a55b6ff9435cb21aade54a9ce1eadbff0ad9
refs/heads/master
2020-06-04T00:04:59.001552
2014-01-13T19:29:36
2014-01-13T19:29:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
321
py
from pymongo import MongoClient # Conectaser a la base de datos, guardar, editar y eliminar datos, # Realizar queries class db: client = MongoClient() def __init__(self,db): self.db = self.client[db] def insert(self,post): post_id = self.db.insert(post) return post_i...
[ "elferrus7@gmail.com" ]
elferrus7@gmail.com
4334edffd6fc732b61bc035b2b80d9de1b4f95d8
cf2a41d17f7ca1444e7901fdcbc3477e3eb4b85a
/main_app/forms.py
b87c1605b0a5c0a7c9481e1e78268e25df08b55b
[]
no_license
preintercede/game_forum
4d58a45812e711d488596ef308ced65317ce2d7e
2ef2f8b66aea72996e7f66612a67b6f6701af47f
refs/heads/master
2022-07-19T03:47:43.017120
2020-05-11T22:26:37
2020-05-11T22:26:37
261,247,346
0
0
null
2020-05-04T17:10:00
2020-05-04T17:09:59
null
UTF-8
Python
false
false
178
py
from django.forms import ModelForm from .models import Review class ReviewForm(ModelForm): class Meta: model = Review fields = ['date', 'content', 'rating']
[ "58370677+IrinaAlcala@users.noreply.github.com" ]
58370677+IrinaAlcala@users.noreply.github.com
729b9746b74aaa91f0a98307e76f5342ce3390dd
23ed21d55cdc37efed59991e59c8a6f816da24f3
/mytest/bin/leon/pytest/canvasDraw.py
1834c7abd4d7147953185f2e2b82786e841c913c
[]
no_license
severalfly/blankProject
5d506dcca0add8a6c87fd40f9131145319cbd29e
54d029247d4537aa5ff79eb3c70d130d992ddf94
refs/heads/master
2021-01-19T01:02:43.329264
2016-07-14T14:33:09
2016-07-14T14:33:09
61,268,092
0
0
null
null
null
null
UTF-8
Python
false
false
721
py
#_*_coding:utf-8_*_ import simpleguitk as simplegui import random message = "I love Python" position = [100,100] width = 500 highest = 500 # define draw handler def draw(canvas): canvas.draw_text(message,(position[0],position[1]), 23, "Red") # define enter handler def enter(inp): global message message = inp # ...
[ "zhangsmile90@gmail.com" ]
zhangsmile90@gmail.com
781ca448118a7119f3dd863d21e94bd06584d325
4d2ab312f005a5e080c8c45690107020bd31e375
/joy_window.py
9cac42d6e77a51031e67da8f07a351d87ea4f8d3
[]
no_license
irfanhasib0/Sofware-Platform-for-Robotic-ARM-Control
f1146e81194e7091c6e21dfcbdf75781fc7ff88e
275d2a9d538c1df737e4a12bc7e0ecafa0a42835
refs/heads/master
2021-09-17T03:31:19.024658
2018-06-27T09:11:48
2018-06-27T09:11:48
123,897,076
2
0
null
null
null
null
UTF-8
Python
false
false
3,580
py
import pygame import time jx=0 jy=0 j1=0 j2=0 j3=0 #Loop until the user clicks the close button. done = False # Used to manage how fast the screen updates # Initialize the joysticks pygame.init() #Loop until the user clicks the close button. done = False # Used to manage how fa...
[ "noreply@github.com" ]
noreply@github.com
246a3f02095a0bf0f2f412165ba5f96011b756e4
30208f5614f7160fbc7b600365ae03f060ebda45
/object_registry/class_b.py
cd2f2256a82801b2238b7832a40a572a8ae5d191
[]
no_license
mortela4/class_attributes
06598c9da4b3d406ee9cee003044e70c2457fb52
685585a74f8d93cb3376c085ac466a49825a0a1a
refs/heads/master
2023-02-26T22:24:36.356336
2021-02-02T06:44:35
2021-02-02T06:44:35
313,937,099
0
0
null
null
null
null
UTF-8
Python
false
false
363
py
""" @file class_b.py """ from registry import registry_get_component class ClassB: def __init__(self, name): self.name = name def print_a(self): cls_a = registry_get_component('a') cls_a.print_me("Hello from class B!") def print_me(self, msg: str): print(f"From c...
[ "morten.larsen@7sense.no" ]
morten.larsen@7sense.no
0f904629a24fbe70aff63384e2c348a89f75ed05
dc35e8d20d6203109e17c533e7ccc0189cf59f60
/shortest-distance-to-a-character.py
5dd867236239e98c47868abff1e2b9b31639be3e
[]
no_license
olaruandreea/LeetCodeProblems
b9a3f752c1d2d288044e8a43ab4210f68441256f
67707b7cbe937122048ff540b5abcc72f22490c4
refs/heads/master
2020-09-12T19:56:26.746487
2020-06-13T19:45:38
2020-06-13T19:45:38
222,534,011
0
0
null
null
null
null
UTF-8
Python
false
false
1,097
py
''' Given a string S and a character C, return an array of integers representing the shortest distance from the character C in the string. Example 1: Input: S = "loveleetcode", C = 'e' Output: [3, 2, 1, 0, 1, 0, 0, 1, 2, 2, 1, 0] Note: S string length is in [1, 10000]. C is a single character, and guaranteed to b...
[ "noreply@github.com" ]
noreply@github.com