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
10e88b36981db0ea499be88491530663033fe837
321250570ec01098e9995dd1624aab5e25b12fc1
/modules/__init__.py
ef9c4eae4936d7fe17634ae038228ddd2a40b2e5
[ "MIT" ]
permissive
yijxiang/dnac-ise-inventory-compliance
c4a964657174a5c74cdf817c8712187d7eb9f16e
9903abcf5fa115dc0dcd07c75fbef808792480de
refs/heads/main
2023-05-04T02:37:04.095912
2021-05-11T10:11:30
2021-05-11T10:11:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
from .misc import check_compliance, get_dnac_access_devices, get_ise_devices __all__ = ["check_compliance", "get_ise_devices", "get_dnac_access_devices"]
[ "ebc@conscia.com" ]
ebc@conscia.com
78a04c3d70d0ee2be98cdebd5e8f62bc2396235d
d3dbec4b696fd57a9aaa040b677a0ce69434d219
/api/views.py
ad55a8c8d7f472b9bb06906bd11b2a3c74724a87
[]
no_license
abhishekdraut/Rest-Framework-First-Implementation-
19a497056bb50e7d03413c2e70ddb3ef8e623d73
f6125c393f2f061cc0538e00a91356717d3ad03d
refs/heads/master
2023-08-15T08:19:46.720079
2021-09-30T09:31:06
2021-09-30T09:31:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,917
py
from functools import partial from django.core.checks import messages from django.core.validators import validate_email from django.db.models.query import QuerySet from rest_framework import views, response, status,viewsets from rest_framework.serializers import Serializer from . models import blog as BlogModel from ....
[ "68543904+abhishekdraut@users.noreply.github.com" ]
68543904+abhishekdraut@users.noreply.github.com
279f479e82952b38967adc04859a7b4d27be86a0
a07670110dd4ec5440583f06fe322807dc3b9963
/Inventory_System/userinterface.py
510e8396ad3f81936d4f6f00c29d2d9e8f823ccd
[]
no_license
MLHafizur/Python_Fun
a5364d1dda69c739e15b21d33fe500bb963f2a39
23a87050e0ac9e096d0523c01b62bfed32831730
refs/heads/main
2023-06-17T22:19:21.773873
2021-07-14T23:29:11
2021-07-14T23:29:11
385,762,021
0
0
null
null
null
null
UTF-8
Python
false
false
3,035
py
# Module implements the user interface for the application. import datastorage def prompt_for_action(): """ Prompts the user for an action. "QUIT" "ADD" "REMOVE" "INVENTORY_REPORT" "REORDER_REPORT" """ while True: print() pri...
[ "noreply@github.com" ]
noreply@github.com
f7e0ca4f8faa4f0f72846a1c2ba9af5e5b7bac40
2f36dc886195b67fd6fe0de48984e0268b3e0d71
/invoke_retry/code/src/zato/invoke_retry/__init__.py
762926718385ed9c1c066b15d87f47485bebbe93
[]
no_license
aek/zato-labs
84d52b3d1eea515c91fa6e7d4a439af3ee35ca05
302e40b8825f8fba5e3ea065280af742904fb25b
refs/heads/master
2020-12-26T08:17:38.664195
2014-02-16T21:30:27
2014-02-16T21:30:27
16,894,545
0
1
null
null
null
null
UTF-8
Python
false
false
9,393
py
# -*- coding: utf-8 -*- """ Copyright (C) 2013 Dariusz Suchojad <dsuch at zato.io> Licensed under LGPLv3, see LICENSE.txt for terms and conditions. """ # stdlib from traceback import format_exc # anyjson from anyjson import dumps, loads # bunch from bunch import Bunch # gevent from gevent import sleep, spawn, spa...
[ "dsuch-github@gefira.pl" ]
dsuch-github@gefira.pl
2f843a5a6636096898e6d88b815cab294ef623ae
aee84700a63e5b2415687de148e5abb2d5d4131b
/superlists/settings.py
5ce2f6cb7d9a4df6ba877873c03020a04e827407
[]
no_license
ndevendran/NirosToDoList
e1f6413317ef65fe36dd3cf9ff012ac43fa0577a
1e5c046002de7b988b4673ab33a0832a83dbe5a0
refs/heads/master
2020-05-31T02:41:17.170485
2019-09-20T06:22:58
2019-09-20T06:22:58
190,070,810
3
0
null
2019-09-20T06:21:57
2019-06-03T19:40:49
Python
UTF-8
Python
false
false
4,074
py
""" Django settings for superlists project. Generated by 'django-admin startproject' using Django 2.2.1. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os...
[ "ndevendran@Niroshans-MacBook-Pro.local" ]
ndevendran@Niroshans-MacBook-Pro.local
833bea0ef1d9979797aa3dea66c2133f88368c6e
16523b72247cead4a864466a4aacf901b234bcaa
/DailyCode04052021.py
2db30088de4fa847216119c3b59badb1cb6435a8
[]
no_license
Banehowl/AprilDailyCode2021
e457b341af22bfd3bb283c757c8a1a7e23859aff
c13e3e5d79e78fe7c3c3539e5c715d42f8ff043c
refs/heads/main
2023-04-14T15:51:49.212643
2021-04-30T13:30:53
2021-04-30T13:30:53
353,748,146
0
0
null
null
null
null
UTF-8
Python
false
false
929
py
# ------------------------------------------------------------------- # # Daily Code 04/05/2021 # "Triangle and Parallelogram Area Finder" Lesson from edabit.com # Coded by: Banehowl # ------------------------------------------------------------------- # Write a function that accepts base (decimal), height (...
[ "noreply@github.com" ]
noreply@github.com
6bde236442816e4396c0371a1e6792f448a9376e
85ffbd5d61cd123d60c3b37c13f4f8c82f70627d
/Instagram/http/Response/CheckEmailResponse.py
53032deb1307085c68fa6f97a6ffed16e2e5a85b
[]
no_license
ishandutta2007/Complete-Instagram-Private-Api
87262dceb111f76c14813805c73880c1be856bd2
0b85f892bddff4daa55ba6ef7f21a2c4a21ecddf
refs/heads/master
2021-01-09T19:17:12.687001
2016-12-15T16:10:05
2016-12-15T16:10:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
131
py
class CheckEmailResponse: username=None confirmed=None status=None valid=None username_suggestions =None
[ "yomid4all@gmail.com" ]
yomid4all@gmail.com
64765314abb3f1daa11e18f0f3f06465242daf37
ed0ead8389adb7cd81ade57f972afea7de896ffc
/haffa/Badge.py
14d280ec8b20140e125365d399cdae00e046556e
[]
no_license
rblack42/haffa
4e55664e1274b9ceec25fdfbc4603a03592229c0
526814e4024c1289cb2a79115d173772c82b5a88
refs/heads/master
2022-11-18T14:00:52.443335
2020-07-12T13:28:55
2020-07-12T13:28:55
273,238,463
0
0
null
null
null
null
UTF-8
Python
false
false
3,706
py
from svgelements import * from Shapes import paths, boxes from svgelements import Path SVGDIR = "svg" class Badge(object): def __init__(self, height): """ load shape and position data""" print("Generating SVG file for height %d" % height) self.paths = paths self.boxes = boxes ...
[ "roie.black@gmail.com" ]
roie.black@gmail.com
c0b601caa4a8d3f7cb52a7caf089d7d8ef853609
1c488092180c638285d4d5e071abde64599b97cb
/tests.py
f9a6805cd58e8daa8481d3855c8ed7eef05a7f5a
[]
no_license
ayhandoger/idman
84db03e9fda020ce1f728180cf7fe179c89147a9
37ad95ab3e1b12a429f0c0662dab026f09f070d5
refs/heads/master
2020-11-30T18:59:00.944571
2019-12-27T14:34:03
2019-12-27T14:34:03
230,458,927
0
0
null
null
null
null
UTF-8
Python
false
false
4,316
py
from django.test import TestCase # Create your tests here. import datetime from django.utils import timezone from django.test import TestCase from django.core.urlresolvers import reverse from .models import Idea class IdeaMethodTests(TestCase): def test_was_published_recently_with_future_idea(self): """ was_p...
[ "info@ayhandoger.de" ]
info@ayhandoger.de
5aeca95ef87fb14a6a3fb97de6fc224b58a6d9a7
4f4c76a15daec86fe185953d4421902ca8962674
/test/functional/p2p-segwit.py
e1421a6a6bcdd4b9c10ab51ecd5f5b7b26e14b57
[ "MIT" ]
permissive
raymaker/deft
a71a70ef38f5c3fae9d167b1945e0b8b6e8c6f15
8d5d3f65828b52f5df6661786a271b6144b2cc32
refs/heads/master
2020-04-15T22:15:43.731675
2018-10-04T01:32:35
2018-10-04T01:32:35
165,065,919
0
1
MIT
2019-01-10T13:36:51
2019-01-10T13:36:51
null
UTF-8
Python
false
false
90,684
py
#!/usr/bin/env python3 # Copyright (c) 2016 The Deft developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test segwit transactions and blocks on P2P network.""" from test_framework.mininode import * from test_framework.te...
[ "admin@deft.host" ]
admin@deft.host
0030fcf22dbc77c896437faa18ec33a89a2f6c56
29625c33dc9642d984d7cf68763d57a9de62743e
/Bot/cogs/snipe.py
cd84e9a5d14d06e388ec6620f7a1eaee678360d7
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
DevRKJha/EpicBot
7fe508d828ad6cde087213cdd1fbb3a480529905
33eb8b7d5ee1120865da91b9a31dc559657c318c
refs/heads/main
2023-06-07T14:12:26.975039
2021-07-04T09:51:53
2021-07-04T09:51:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,698
py
import discord from discord.ext import commands class Snipe(commands.Cog): def __init__(self, client): self.client = client self.client.sniped_messages = {} self.client.edit_sniped_messages = {} @commands.Cog.listener() async def on_message_delete(self, message): if messag...
[ "hellonirlep@gmail.com" ]
hellonirlep@gmail.com
cf6376e6af8f1a00eae337b2e9749c36ad813de8
033bcbd457f745324951a2e655b0156aedc71ccc
/Obligatorisk innlevering 5/skop.py
ac5e42796b7bc20a9087beacb90a0e5e49be5e75
[]
no_license
massouji82/UiO-IN1000
7cf1ffbb1fd221ecd5867833a4fc92b480d60fd5
b288b5d553208f6f75306f8a32fd25bb5f8969b9
refs/heads/master
2020-04-24T09:30:38.380027
2019-04-03T08:25:49
2019-04-03T08:25:49
171,864,827
0
0
null
null
null
null
UTF-8
Python
false
false
1,248
py
def​ minFunksjon​(): for​ x ​in​ range​(​2​): c ​=​ 2​ print​(​c) c ​+=​ 1 b ​=​​10 b ​+=​ a​ print​(​b​) return​(​b​) def hovedprogram(): a ​=​​ 42 b ​=​ 0 print​(​b​) b ​=​ a a ​=​ minFunksjon​() print​​(​b​) print​​(​a​) hovedprogram() # # 'Først defineres funksjonen "minFunks...
[ "masval444@msn.com" ]
masval444@msn.com
7d2fa8d0c6bc8d33437bfae3fc23157e405a27d4
dd61af4b07153f1f1e1b17863f3cd74929158e53
/api/skill_app/admin.py
88382a07a577368282b5e04b5c126824952b0011
[]
no_license
gabrielcandrade/AngularWithDocker
19e5f007ad69051fde4c1f6a13af7154bd5167f1
656c60a7af43b3bc8df89d4ae709382e4ea07771
refs/heads/master
2023-01-28T05:40:48.901382
2020-12-06T16:47:23
2020-12-06T16:47:23
305,735,850
0
0
null
null
null
null
UTF-8
Python
false
false
176
py
from django.contrib import admin from .models import Skill # Register your models here. @admin.register(Skill) class SkillAdmin(admin.ModelAdmin): exclude = ('element', )
[ "gabriel.andrade@huia.haus" ]
gabriel.andrade@huia.haus
a9251d10ca9cb74e69e8b68b2a7f5b2932a0857a
4569d707a4942d3451f3bbcfebaa8011cc5a128d
/roadmapfilterplugin/0.11/RoadmapFilter.py
86aa176db484f5440f1f4a46266dfd99c2539d37
[]
no_license
woochica/trachacks
28749b924c897747faa411876a3739edaed4cff4
4fcd4aeba81d734654f5d9ec524218b91d54a0e1
refs/heads/master
2021-05-30T02:27:50.209657
2013-05-24T17:31:23
2013-05-24T17:31:23
13,418,837
0
1
null
null
null
null
UTF-8
Python
false
false
6,080
py
from trac.core import * from trac.web.api import IRequestFilter from trac.web.api import ITemplateStreamFilter from genshi.builder import tag from genshi.filters import Transformer author = "daveappendix" class RoadmapFilterPlugin(Component): """Filters roadmap milestones. """ implements(IRequestFilter, ...
[ "daveappendix@7322e99d-02ea-0310-aa39-e9a107903beb" ]
daveappendix@7322e99d-02ea-0310-aa39-e9a107903beb
9ec4476e210155413539ae364990e788ddc3dff0
d2041c8582e2b359182032c5062fea307edb6a12
/src/gacollector/misc/date/week.py
5dd0128a851b364ee88f362097842766b88a1b77
[]
no_license
Kaper156/GA_collector
1ce4d0cf08f19ac9fc3c9c40e5c3baeba24ba3b5
c31cb1ac2663eed6a43655b1787805b5cd6a9171
refs/heads/master
2022-04-21T21:06:44.236448
2020-04-25T16:30:25
2020-04-25T16:30:25
210,452,953
0
0
null
null
null
null
UTF-8
Python
false
false
755
py
import datetime def get_previous_week_range(from_date=None): from_date = from_date or datetime.datetime.now() if type(from_date) is datetime.datetime: from_date = from_date.date() d1 = from_date - datetime.timedelta(days=from_date.weekday(), weeks=1) d2 = d1 + datetime.timedelta(days=6) re...
[ "156-oi@i.ua" ]
156-oi@i.ua
ddda974d497d99b8896555a8b4c4ca6df75d65cd
53662d3cb19f44f1a344a48e10d65c0c36b0d50e
/components/tvGamesAdmin/src/specificworker.py
1dee25fb714e040690bce156837f19bc4a0df506
[]
no_license
robocomp/euroage-tv
7b639338169ecb67470abde056732a4cbcebedf9
8aaa4c668a46ad1dea869ff3b6c826769b20eac6
refs/heads/master
2021-06-24T19:59:26.425779
2019-08-29T11:07:01
2019-08-29T11:07:01
140,541,711
0
1
null
null
null
null
UTF-8
Python
false
false
1,976
py
# # Copyright (C) 2018 by YOUR NAME HERE # # This file is part of RoboComp # # RoboComp is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any...
[ "orensbruli@gmail.com" ]
orensbruli@gmail.com
7dc97366d633f77383f6583d6130cf3b33f3367b
164ae54c1aaf1cf84f339ec672e4426f53ff83ea
/app_pedidos_django/applications/usuarios/managers.py
16b91163a44b4dadd465f2e79f4b436a4c0f39b4
[]
no_license
JaviOlaya/Pedidos_Django
39a28ac0eba96c16e1df54e0678dd195dbf9c96c
8706f1f9ae114ed32bccf85036c47317eeb0b674
refs/heads/main
2023-06-22T04:22:56.907521
2021-07-17T11:46:48
2021-07-17T11:46:48
382,832,141
0
0
null
null
null
null
UTF-8
Python
false
false
946
py
from django.db import models # from django.contrib.auth.models import BaseUserManager class UserManager(BaseUserManager, models.Manager): def _create_user(self,username, email, password, is_staff, is_active, is_superuser, **extra_fields): user = self.model( username = username, ...
[ "jjosaez@gmail.com" ]
jjosaez@gmail.com
bdc0e3f4bf90ef80c3e1cbf6474771ad81912cc5
be1762141886e27e2e542324ffb4650546aee58d
/setup.py
24ce1ea64205555595d2b03b54e784c4b012fea5
[]
no_license
rgleason/pypilot
71c2aad9a9894c84a1a9819078887ea041ff0e7b
66eabcc63a11c96b84f58588c87b6ef710ed5826
refs/heads/master
2023-06-12T09:26:42.846470
2021-06-29T06:38:37
2021-06-29T06:39:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,879
py
#!/usr/bin/env python # # Copyright (C) 2017 Sean D'Epagnier # # This Program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public # License as published by the Free Software Foundation; either # version 3 of the License, or (at your option) any later version. impo...
[ "seandepagnier@gmail.com" ]
seandepagnier@gmail.com
73bc81c737025f384a2d55f27dbb83a3292b5dc9
ba9387ad04a79e5e89204b2f292d01323c7198ad
/backend/chat_user_profile/migrations/0001_initial.py
89ad1019538532877afb9c0211c55783492d29f1
[]
no_license
crowdbotics-apps/message52-19836
b9ec7d032a1548ba71153c443486a3b7c38da5f9
fde8c1c0b0de9e939e156e29bb2cb4dce1607cad
refs/heads/master
2022-12-04T23:48:19.002965
2020-08-28T02:37:50
2020-08-28T02:37:50
290,932,742
0
0
null
null
null
null
UTF-8
Python
false
false
2,659
py
# Generated by Django 2.2.15 on 2020-08-28 02:37 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] op...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
02594a0628527d5a727933e55884e5da274eb26f
53832bd168b797827be77bface570a2bea8952f1
/aidlyapi.py
7639a37116f1edd0735568b2643646a7a52352be
[]
no_license
Bryan1010/AidlyBackend
840bbdf290d65577a37b17cc99fc1162177e0f02
f0fd9215374713a077460876ab3069d5d556c66f
refs/heads/master
2021-02-09T02:36:37.825383
2020-11-08T04:22:38
2020-11-08T04:22:38
244,229,180
2
0
null
2020-11-08T04:22:40
2020-03-01T21:50:21
Python
UTF-8
Python
false
false
274
py
from mainapp import MAIN_APP # from models.company import Company from flask import request, Response from models import db @MAIN_APP.route("/") def hello(): return "<h1 style='color:blue'>Hello There!</h1>" if __name__ == "__main__": MAIN_APP.run(host='0.0.0.0')
[ "7885194+derekstephen@users.noreply.github.com" ]
7885194+derekstephen@users.noreply.github.com
0a67b63bd6b6368a48071d43d0a7c705503ca674
db2e1818e87d24b8c63dcc5d983dda56c81f1fab
/analysis2.py
7ee405f75a544a254b0e2ece969dfa00071d20df
[]
no_license
mobm65/IrisDataSet
c4f8526d71a02dd918bdc0d27b3e91b2184bfab5
f3360ac7367693fd888c8055922e3104d50bee2d
refs/heads/master
2022-04-24T12:17:26.168075
2020-04-30T10:59:22
2020-04-30T10:59:22
255,666,137
0
0
null
null
null
null
UTF-8
Python
false
false
703
py
# a summary of each variable to a text file import matplotlib.pyplot as plt import numpy as np import pandas as pd import seaborn as sns # import the iris dataset iris = pd.read_csv("iris.data") # separate the iris variables for analysis data = pd.DataFrame(iris, columns=['spl','spw','ptl', 'ptw', 'Species']) # extrac...
[ "60409970+mobm65@users.noreply.github.com" ]
60409970+mobm65@users.noreply.github.com
ec9297a88691396c6f74f0a6c42d9afc70dafa1d
aed701e4aa8cac8084988ff59ac84954f617bff3
/Udacity/Data Science Foundations II/Intro Machine Learning/evaluation/evaluate_poi_identifier.py
3e6cca75dedbd7f75570ed78cde591e5c2574f25
[]
no_license
lebaruch/Courses
4f1e4fe69c14931eebcd12374fffc90af1283d33
446a6e53359f06840abc97770dbe535168e7d96c
refs/heads/master
2020-04-12T21:10:44.670379
2019-02-06T16:17:11
2019-02-06T16:17:11
162,755,672
0
0
null
null
null
null
UTF-8
Python
false
false
3,174
py
#!/usr/bin/python """ Starter code for the evaluation mini-project. Start by copying your trained/tested POI identifier from that which you built in the validation mini-project. This is the second step toward building your POI identifier! Start by loading/formatting the data... """ import pickl...
[ "32648733+lebaruch@users.noreply.github.com" ]
32648733+lebaruch@users.noreply.github.com
016c75557647665c5a3773b8cf354ade5c11502f
941c912f44beff33a072e086c1f561f6cdd64626
/LeetCode/codes/22.py
84f0db4955118accd480b9d684a7ae03a363e1dc
[]
no_license
adreena/MyStudyCorner
3a13a743769ed144965b767f547c16df4d0fa0dd
355c0dbd32ad201800901f1bcc110550696bc96d
refs/heads/master
2023-02-20T07:39:32.391421
2021-01-25T01:46:21
2021-01-25T01:46:21
255,104,133
0
0
null
null
null
null
UTF-8
Python
false
false
540
py
# time catalan numbers (2n n)*1/n # space: catalan numbers class Solution: def generateParenthesis(self, n: int) -> List[str]: self.outputs = [] def helper(n_left, n_right, output): if n_left == 0 and n_right == 0: self.outputs.append(output) else: ...
[ "kim.hszd@gmail.com" ]
kim.hszd@gmail.com
d09505bafc21ab4e8f1fe4744290ac440aa5a648
a17eeaedb059b11dbaaf7dd2dedf31bc5251008b
/Python/third-module/pillow.py
f5469fa22ad207cdc1d0db9d86a265231849201c
[ "MIT" ]
permissive
KrisCheng/HackerPractice
b94c575bf136c06b4ea563147ac94cae74947d22
778948db4836e85c9af90267dc9b03d50f29d8e9
refs/heads/master
2021-01-19T20:24:35.466720
2017-10-09T05:47:11
2017-10-09T05:47:11
88,504,300
1
0
null
null
null
null
UTF-8
Python
false
false
309
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from PIL import Image im = Image.open('test.jpeg') # 将图片尺寸缩小一倍并保存 w, h = im.size print('Original image size: %s*%s' % (w, h)) im.thumbnail((w//2, h//2)) print('Resize image to: %s*%s' % (w//2, h//2)) im.save('thumbnail.jpg','jpeg')
[ "kris.dacpc@gmail.com" ]
kris.dacpc@gmail.com
bb85bfeefda18246abd529dadf4fa84544f0b7d3
71b8ab2cb1166e88f743a3f78cdc5ae23ff3294c
/Backend/ScanIt/urls.py
1c1e13811f31c009ca0cff2517c701296dc57174
[]
no_license
Nirav-1999/ScanIt
9260c44e91060f600dd609364995e36f5701b415
24b1fa613888cb003dcc2f3a5c7cf899f9335323
refs/heads/master
2023-02-05T18:01:16.392857
2020-12-19T11:27:24
2020-12-19T11:27:24
322,300,191
0
0
null
null
null
null
UTF-8
Python
false
false
607
py
from django.contrib import admin from django.urls import path from django.conf import settings from django.conf.urls.static import static from django.conf.urls import include, url urlpatterns = [ path("admin/", admin.site.urls), path("auth/", include("djoser.urls")), path("auth/", include("djoser.urls.auth...
[ "niravjain1709@gmail.com" ]
niravjain1709@gmail.com
e921b0a4952a5165f6b62a4404df543360cc2a60
4cce9cd38bb82ee0a7bb5099b4d4db4ec4acce78
/src/util.py
de37b5de4c7057f4adad5f3e5280faffff0db0f6
[]
no_license
VertexToEdge/othello-server
08f26748b577eae308517788a4e86296974c0aa0
06c59e6b5ac6adb4c53bb2d0eb523c86f9b1e7a5
refs/heads/master
2020-04-23T15:17:03.108482
2019-02-18T10:16:16
2019-02-18T10:16:16
171,259,893
1
0
null
2019-02-18T10:05:51
2019-02-18T10:05:51
null
UTF-8
Python
false
false
478
py
import struct import json def serialize(msg): body = json.dumps(msg).encode() msg_len = struct.pack('>L', len(body)) return msg_len + body def deserialize(sock): _msg_len = sock.recv(4) if len(_msg_len) < 4: raise ConnectionResetError msg_len = struct.unpack('>L', _msg_len)[0] msg...
[ "umbum7601@gmail.com" ]
umbum7601@gmail.com
49ff62be527f4004b1b29f637b93bd7b8557570d
3c89f575b5fb85c4605bad2f525fe08f5e4bdce2
/2_selenium_test_script/od_selling_page_test_module.py
a0a2974e3c2cd75f0ce1dd2c8188a221d25c7bd6
[]
no_license
QualsonJinseok/qualson_backup
9d22f15af90919ebaa1ab3a724a5afea60adf4a0
bec66effe3433c2a627959eb34acb7c756a2a717
refs/heads/master
2022-10-23T07:07:05.569576
2020-06-23T11:19:06
2020-06-23T11:19:06
274,386,554
0
0
null
null
null
null
UTF-8
Python
false
false
8,855
py
from variable_info import * import time ############################################################# class sellingPageApply2: #@unittest.skip("demonstrating skipping") def test_1(self): print('test_1 is done') def send2apply(url_set, driver, phone_result): try: driver.get(url_...
[ "jinseok.lee@qualson.com" ]
jinseok.lee@qualson.com
9f392b573c634006cfc5fd730554e5c91b8e509a
30d31b9a81806eac8c97ebb6a57fc2193c1a9eeb
/python/websocket-example/app.py
1a6aa6d8ed452e71bcd317f4133c510857079e99
[]
no_license
lucaswiman/stuff
1ec5f80297882d95d203c398ceeeab695d475473
11765e015577c0ee6e10a5636cb24fe04cd2a17a
refs/heads/master
2023-08-08T16:21:27.331024
2023-08-06T06:44:27
2023-08-06T06:44:27
2,363,776
2
1
null
2021-02-01T19:32:16
2011-09-11T02:47:47
Jupyter Notebook
UTF-8
Python
false
false
967
py
#!/usr/bin/env python from fastapi import FastAPI, WebSocket from typing import Optional import random app = FastAPI() @app.get("/") async def root(): return {"message": "Hello World"} @app.get("/foo") async def foo_endpoint(foo: Optional[str]): return {"foo_query": foo} @app.websocket("/ws/foo") async de...
[ "lucas.wiman@gmail.com" ]
lucas.wiman@gmail.com
9a4651cdd448a39f6dd4e40bcb2d32997fd09687
d275a7231380e25d22239254f57d7ed59406a97b
/fp_Growth/tree_builder.py
5da1df442e5554b6d561d0f9e88d85d5979599ae
[]
no_license
mongolia19/.spyder2
2b927920ddcf28a6ec88b585261cb02b70d1da8c
498a0a34efd998e2a01837d33c5b4b5724cc8f2f
refs/heads/master
2021-01-23T14:03:50.047923
2018-03-31T09:40:44
2018-03-31T09:40:44
39,151,010
1
0
null
null
null
null
UTF-8
Python
false
false
1,999
py
#coding=utf-8 import tree_actions class tree_builder(object): def __init__(self, routines, min_sup=-1): self.routines = routines self.min_sup = min_sup self.items = self.getItems() #获取所有项 self.sortedItems = self.getSortedItems() #对所有项进行统计个数,并排序 self.i...
[ "mongolia19@gmail.com" ]
mongolia19@gmail.com
05ddc563f09df6c2a00055a5ba8f276528375068
86e258551cfb04b5188877548038526ca91e90db
/joystick.py
04e8a607f8c08379a423b3e7e1b30374547d0f3e
[ "MIT" ]
permissive
amywillis/forestfighter
b902237f258e09e451787fd99fd8c25ac4538407
dfb022fd07cf951d1558bf69e340b0029c6f7c30
refs/heads/master
2021-05-06T20:16:48.909477
2017-11-26T17:45:50
2017-11-26T17:45:50
112,378,496
0
0
null
2017-11-28T19:19:47
2017-11-28T19:19:46
null
UTF-8
Python
false
false
3,500
py
import pygame import os import time import logging import sys LOGGER = logging.getLogger(__name__) class Joystick(object): def __init__(self, axis_up_down=1, axis_up_down_inverted=False, axis_left_right=2, axis_left_right_inverted=False, button...
[ "charlotte.godley@hotmail.co.uk" ]
charlotte.godley@hotmail.co.uk
386a897fb365463990e575d0f7bd43e6960680a1
11c85154cd3e7c2e706f9a90f68aee80ca0bd453
/popGame/cross_verify.py
9f1b707506956a0d02d13b5b9b305bdf90560275
[ "MIT" ]
permissive
raingggg/Proof-of-Play-Flow-Demo
a78e38751d0c3866275d5e11d305b54c51e2790d
018ec382801f1363711b7680e728535a2ac94d26
refs/heads/master
2022-04-24T15:50:56.746135
2020-03-18T11:19:50
2020-03-18T11:19:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,553
py
from Crypto.PublicKey import RSA from Crypto.Hash import SHA256 from Crypto.Signature import pkcs1_15 import rehash import time, pickle class cross_verify: def __init__(self, plyrData, myConf, key, gameConf, sk): self.plyrData = plyrData self.myConf = myConf self.gameConf = gameConf ...
[ "andy897221.work@gmail.com" ]
andy897221.work@gmail.com
a837d47d4ac54189d869c407586eec393886f70f
0c40305d38e2572338c9a9bd214b6dbb59301e69
/bross/tinymce/widgets.py
4e70dd6d9a4ee4bf12514350e96b8fffee6d3ce0
[]
no_license
Genuscastor/bross
93f8af9273f290093cbd7e88d283085946c43b1d
ba53b128bc57fe68e604e7abb237542863fa1980
refs/heads/master
2021-01-01T16:34:38.600364
2013-06-24T03:48:24
2013-06-24T03:48:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,499
py
# Copyright (c) 2008 Joost Cassee # Licensed under the terms of the MIT License (see LICENSE.txt) """ This TinyMCE widget was copied and extended from this code by John D'Agostino: http://code.djangoproject.com/wiki/CustomWidgetsTinyMCE """ from django import forms from django.conf import settings from djan...
[ "rickdoesburg@gmail.com" ]
rickdoesburg@gmail.com
c114e9e4c5fbe43f5efbc36d8ddc04c35dd32490
af82475dc7eb45c478414372c222e7b6016359d4
/python书籍/Python For Finance Code/Code of Python For Finance/4375OS_08_Code/4375OS_08_12_Series.py
f279f6cc3587504d87af31fda1b21a119cea0200
[]
no_license
enfangzhong/PythonBaseCode
8f58c8b817eb9f4b0f0a5be437a52d5b5fab3433
9ab4a578b2692fdbb6aeeacb310251d51f72e953
refs/heads/master
2020-05-17T16:26:02.598344
2019-04-27T20:49:40
2019-04-27T20:49:40
183,817,172
4
1
null
null
null
null
UTF-8
Python
false
false
365
py
""" Name : 4375OS_08_12_Series.py Book : Python for Finance Publisher: Packt Publishing Ltd. Author : Yuxing Yan Date : 12/26/2013 email : yany@canisius.edu paulyxy@hotmail.com """ import pandas as pd x = pd.date_range('1/1/2013', periods=252) data = pd.Series(randn(len(x)), ...
[ "944727327@qq.com" ]
944727327@qq.com
e8332063e0fe1703dea1764e0fdac64bd3a7e363
12c7049292248be58d8fa90a0fefb7bdc02f6ba8
/backend/backend/urls.py
8033f9d0994cadaede274e798b369eeef7f44730
[]
no_license
Vickytommy/Pro-L-Model
028b5ef549a206f584a65a810a931ce260d6a2df
988f007982e34c0b52f4d1afdfee95a7f1b044df
refs/heads/main
2023-04-21T03:08:15.916435
2021-05-08T10:26:56
2021-05-08T10:26:56
359,562,391
1
0
null
null
null
null
UTF-8
Python
false
false
1,133
py
"""backend URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Cla...
[ "noreply@github.com" ]
noreply@github.com
2cbf5758e46478db0c2adedb0c1158e442574bfb
13bed5cd72c63182592297e88e3eb5acc574d5ab
/src/iis.tac
dac670e8c4dbac064e986c93116a12d8922dcb4c
[]
no_license
itsbth/itsinfoscreen
951ddc5a772adfa27bf5258733ed20e8e3f65a36
b6921c7734297bd49144e68e6c9ccb67b055cea8
refs/heads/master
2016-09-06T12:38:41.490698
2010-01-12T19:05:12
2010-01-12T19:05:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,752
tac
import os, sys sys.path.append(os.getcwd()) from twisted.application import service, internet from nevow import appserver from nevow import rend from nevow import inevow from nevow.static import File, Data import json, random from widget import WidgetManager man = WidgetManager() class JSONData(re...
[ "itsbth@itsbth.com" ]
itsbth@itsbth.com
1f0bf5a3dd27a4dd078d0aad47999b7ab0f0ac0c
ec038a8ab77ce2e62316d91ef06cab6c5d02256a
/MPSI/CH02/TP.py
23dc4c70d57d42e647f884c44eba4939a317f51e
[]
no_license
brahimbakkas/cpge
b4d9a9fe4b54dde2e4b5d40406aa3e6dcac59cc9
632f6da5c15806cf6aa48b4787c716bb73481d24
refs/heads/master
2020-05-26T01:44:32.468383
2019-10-25T23:08:30
2019-10-25T23:08:30
188,064,895
1
0
null
null
null
null
UTF-8
Python
false
false
35
py
# # for i in range (n): print(i)
[ "noreply@github.com" ]
noreply@github.com
c457fc3993e52b37cad25eb3ea48d975ab0adb32
f71b66b2f2d99d146293f31f148dd9b025f070fb
/Django/Books/apps/books_app/models.py
a47c3827b8065ad96ed288b2153f3b450e0cbdcb
[]
no_license
enecatalina/Python
24bf01ad9fb02bbfba305c8552c4a095bf454c91
429f6b725045e56a74b36c9686c3050f095f6edb
refs/heads/master
2021-08-23T03:26:09.689305
2017-12-02T22:17:27
2017-12-02T22:17:27
112,881,085
0
0
null
null
null
null
UTF-8
Python
false
false
1,267
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models from ..logreg_app.models import Users # Create your models here. # class ReviewManager(models.Manager): # def review_validator(self, postdata): # errors = {} # if len(postdata['title']) < 5: # e...
[ "ene.catalina@ymail.com" ]
ene.catalina@ymail.com
e1c5d4e673bec81279d06a0f9df24cc150fee5d6
c2911877d9e892c0ffa31399af8f326b1fcc14b3
/flaskPojects/flaskBlog/__init__.py
97fa28ec0bd4bb636bb877ae02272222dfbc1c2e
[]
no_license
MuneebSheikh/Python-Flask-
d313955aa6fb566cd80b19b3333f45802174531c
a29ac9aedc622597f6efdc45e2bde1bf7d53860a
refs/heads/master
2020-07-15T08:15:50.398176
2019-10-24T11:51:11
2019-10-24T11:51:11
205,519,896
0
0
null
null
null
null
UTF-8
Python
false
false
833
py
from flask import Flask from flask_sqlalchemy import SQLAlchemy from flask_bcrypt import Bcrypt from flask_login import LoginManager app = Flask(__name__) app.config['SECRET_KEY'] = '0e4cc2d780d7f2b9a1be03e1a42e84c9' app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///site.db' db = SQLAlchemy(app) bcrypt = Bcrypt(app)...
[ "sajjadmuneeb686@gmail.com" ]
sajjadmuneeb686@gmail.com
2764e974be54c42119a3c178925548b4bf99e8df
08e84e6190e7fa25a3948344defd73c602c168cc
/views.py
722f56acace4cda306b93e446543d881716c2259
[]
no_license
dimmoon69/django-cdbforms
f053bc19765e4c8ebe512feef2b55d4632bc7c8d
58c1e3aab4455073176da7c28d23cdfd7badad94
refs/heads/master
2021-12-04T11:44:07.989876
2011-03-18T14:08:57
2011-03-18T14:08:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
711
py
from datetime import datetime from django.http import HttpResponse, HttpResponseRedirect from django.template.loader import get_template from django.template import Context, RequestContext from models import * from forms import * def cdbform(request, template): if request.method == 'POST': form = CDBForm(templat...
[ "fedor.tyurin@3da375b8-c7c2-11dd-94fd-9de6169c3690" ]
fedor.tyurin@3da375b8-c7c2-11dd-94fd-9de6169c3690
087d6cf19f4743bba424fb5759ae4dfc7444dac8
72521bf31e438e49e6a26941e44523a9b54ef351
/f1_robot/build/testbot_description/catkin_generated/pkg.installspace.context.pc.py
4ac95d36922a9dbd7d67dba34464dfcfde047276
[]
no_license
rossonet/braccio_ros
04d8ccc8c70b62fdc28f166a8da58b4289414b5c
bde03a827f92c8c90764bd3ba606fbd2eeded8a2
refs/heads/master
2021-07-08T22:30:10.856911
2017-10-04T15:52:47
2017-10-04T15:52:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "testbot_description" PROJECT_SPACE_DI...
[ "andrea.ambrosini@rossonet.org" ]
andrea.ambrosini@rossonet.org
9dbc9b99391ec3ee0fcee010a242cc45ecae4939
1c954cbc9bc93d2a30e1cbdf9c0a925608271879
/app/accounts/forms.py
c6300625cddb4dfe53194c761ac73038a4164145
[ "MIT" ]
permissive
benning55/AsiaMarket
15d689916a92d224107744a6626d5cdab3a8e3ba
825e3e5e053d420587433a7a5a505622a4a026fa
refs/heads/master
2023-06-15T20:11:18.091488
2020-04-27T06:08:20
2020-04-27T06:08:20
233,580,744
0
0
null
null
null
null
UTF-8
Python
false
false
954
py
from django import forms class ResetPassword(forms.Form): password1 = forms.CharField(label='New Password', min_length=8, max_length=100, widget=forms.PasswordInput) password2 = forms.CharField(label='Retype Password', min_length=8, max_length=100, widget=forms.PasswordInput) def clean(self): cle...
[ "60070109@kmitl.ac.th" ]
60070109@kmitl.ac.th
37e13363eb6b9e5e21e31b62d71599a7689a8d2b
9f0c70aa21251d17be472a2c2db1940f2e4d0fcb
/SSEFinder-groupR/users/admin.py
51657f3ae2ba3f9814be7517c2fe95fb98c5548c
[]
no_license
Alkmeerd/SSEFinder
b0c1d145edceaaa9a5261a0de66d2f769339a057
e92fba9795cb5e6b476ff5be2727fc599c3c0f80
refs/heads/main
2023-04-15T19:39:58.617910
2021-05-06T18:45:52
2021-05-06T18:45:52
361,321,356
0
1
null
2021-04-26T08:23:38
2021-04-25T03:24:38
Python
UTF-8
Python
false
false
1,003
py
from django.contrib import admin from .models import * from django.contrib.auth.admin import UserAdmin from .forms import CustomUserCreationForm, CustomUserChangeForm # Register your models here. class CustomUserAdmin(UserAdmin): add_form = CustomUserCreationForm form = CustomUserChangeForm model = CustomU...
[ "21shreeya@gmail.com" ]
21shreeya@gmail.com
7dda60f128bc4578497e8aab41bcc3504e0f2038
7c0b611f13346e24970ae6d59829cc11f43f7168
/backend/api/endpoints/lobby.py
590cc11302dc7c9abf915e1bbd756ea78be94320
[]
no_license
dl-eric/zhao-peng-you
e7e5823762d366d63e13225b2c361179fbdb898c
0cc5954fbd33bcd9ba8c0aae1778ce7cee477f45
refs/heads/main
2022-12-28T16:24:35.007146
2020-10-12T03:14:57
2020-10-12T03:14:57
302,989,051
0
0
null
null
null
null
UTF-8
Python
false
false
2,780
py
from fastapi import APIRouter, HTTPException, WebSocket, WebSocketDisconnect from backend.core.lobby_manager import LobbyManager from backend.core.exceptions import SessionsFullException, LobbyNotFoundException, LobbyPlayerExistsException router = APIRouter() @router.get('/count') async def get_num_lobbies(): l...
[ "ericdl712@gmail.com" ]
ericdl712@gmail.com
0ad5c07617722f7b2b34d3993e6f969784a7bcd9
80a92f0aab314b590d718e9fa602551d75a3728f
/rules.py
6cbbc80819bf26074836953c046115143af06c0c
[]
no_license
clauszitzelsberger/Schafkopf_RL
54b3040a1db6f01b781cd56fd6ef04b423cd0828
7be0515472d6b9f488deea8e63c1fc43bf9ff343
refs/heads/master
2020-03-20T11:05:40.410251
2018-10-21T09:45:26
2018-10-21T09:45:26
137,392,936
7
0
null
2018-06-16T18:15:58
2018-06-14T18:12:18
Python
UTF-8
Python
false
false
4,800
py
import numpy as np #from random import shuffle import random import copy class Rules(): def __init__(self): self.card_number = ['siebener', 'achter', 'neuner', 'zehner', 'unter', ...
[ "noreply@github.com" ]
noreply@github.com
329f9eafe1d26549edbba889ab22e61a9a78e6f5
364ea21f8ba91cf74b710ac070c12facb8553c11
/tools/coco_prepare.py
4600e9995258d0ebc252c54301bf52f32104db53
[]
no_license
BUAAHugeGun/diploma-project
7b187258be2c5452631b9a668a8b71ce88c16416
879beb29defddb0d068e4c669dc0b2fd7def27c2
refs/heads/main
2023-07-18T00:11:28.799385
2021-08-31T11:33:11
2021-08-31T11:33:11
309,675,068
0
0
null
null
null
null
UTF-8
Python
false
false
1,459
py
import os import argparse import warnings from pycocotools.coco import COCO import numpy as np import skimage.io as io from skimage.draw import polygon from tqdm import tqdm warnings.filterwarnings("ignore") annotation_dir = os.path.join("..", "data", "COCO", "annotations", "instances_val2017.json") input_dir = os.pat...
[ "1019658949@qq.com" ]
1019658949@qq.com
033387d82b08688a1a0116cf6376f7a4fe20721f
320706f5ab560855d8b71b5d5c6bcca16f59fac2
/Blender/select_by_color.py
6ba0551a9a49c55910db989dbf09f727e758acbb
[ "MIT" ]
permissive
brlrt/creativecoding-sketches
e9250a10a16b0a2ca11c22644e388d193b667c13
9dfff455614916118e964b3b6826a68815594b8a
refs/heads/master
2020-05-29T15:27:37.990798
2018-10-18T15:56:34
2018-10-18T15:56:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
286
py
import bpy col = bpy.context.object.data.materials[0].diffuse_color mess = [o for o in bpy.context.scene.objects if o.type == 'MESH'] for obj in mess: list = [] for mat in obj.data.materials: try: list.append(mat.diffuse_color) except: pass obj.select = col in list
[ "marcin@mm.st" ]
marcin@mm.st
382879de143cc3ef780b3c978f986a11db227dfb
f04e9d6cc8318f3ebd5a613e6eb87a08d1da9f03
/Lesson35_PIR_LED/code/python/Lesson35_PIR_LED.py
bd8ecd9c95bd94d580d42f45f917e6259648dbc5
[]
no_license
adeept/Adeept_Ultimate_Starter_Kit_for_RPi
bef331c62aeb9d6bde19b8606380f7cf491979f6
2fc3655cd2de187d2388dd78b37e4d8b883d5c68
refs/heads/master
2022-11-04T10:12:15.869910
2020-06-20T10:01:53
2020-06-20T10:01:53
258,106,856
1
0
null
null
null
null
UTF-8
Python
false
false
1,134
py
import RPi.GPIO as GPIO import time PIR_OUT_PIN = 13 # pin11 def setup(): GPIO.setmode(GPIO.BOARD) # Numbers GPIOs by physical location GPIO.setup(PIR_OUT_PIN, GPIO.IN) # Set BtnPin's mode is input def destroy(): GPIO.cleanup() # Release resource class Led: def __init__(self, p...
[ "1553491000@qq.com" ]
1553491000@qq.com
420842b0219e3ccd792e723077cfe936f2ace650
b59613edcf6edb88d9d4b26404f5c15ff49aa370
/pyharoo/haru/hpdf.py
77a7f9d235e8517c3c81c3dde6e65f33d4704864
[ "MIT", "Zlib" ]
permissive
normanlorrain/pyharoo
0121a3afff029b1a7c34b2cc14492180fb98e303
4e690f3e4f27683052488be82fb829890ffbea74
refs/heads/master
2023-01-11T06:42:07.451185
2022-12-27T14:42:34
2022-12-27T14:42:34
238,064,968
1
0
MIT
2022-12-27T14:42:35
2020-02-03T21:23:30
Python
UTF-8
Python
false
false
64,467
py
## ## * << Haru Free PDF Library 2.0.8 >> -- hpdf.h ## * ## * URL http://libharu.org/ ## * ## * Copyright (c) 1999-2006 Takeshi Kanno ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that the abo...
[ "normanlorrain@gmail.com" ]
normanlorrain@gmail.com
6a0c12dd4b63cb5682b5fa5da97a603bd330653b
6f7495631dcf2d8ad1e878f8492ffc686691d50a
/day09/ex03/polynomial_model_extended.py
5e0c19f41587d325d861bd19e5066fcb55c917c5
[]
no_license
mli42/python_bootcamp
0e0012f611902c0be40ea4933d17255652465501
4e71ec20b12676016514875ee96d15dafb177718
refs/heads/main
2022-12-11T00:55:44.880734
2022-09-16T15:13:16
2022-09-16T15:14:13
233,590,858
3
2
null
2022-12-08T13:07:05
2020-01-13T12:30:49
Python
UTF-8
Python
false
false
2,562
py
# **************************************************************************** # # # # ::: :::::::: # # polynomial_model_extended.py :+: :+: :+: ...
[ "mli@student.42.fr" ]
mli@student.42.fr
abf504d987f86ea021d138b7f2ff2b1fa1df0dc8
2173a5432ff7d47346cdd4d45811284b117708c6
/Python/ifstatements.py
03085abbc1f64a069c21109d7493c2e31357778e
[]
no_license
lucasvdiepen/PythonAchievements
beac4abeac7a46920f641a2f34db9d8a4438ba2a
25eb9f4518abb69f31c3c979e041319810deb42b
refs/heads/master
2023-01-10T07:44:45.578549
2020-11-11T18:05:13
2020-11-11T18:05:13
292,278,811
0
0
null
null
null
null
UTF-8
Python
false
false
564
py
varA = 5 varB = 10 if (varA == 5): print("varA staat gelijk aan 5") else: print("varA staat niet gelijk aan 5") if(varA == varB): print("varA staat gelijk aan varB") elif (varA < varB): print("varA is kleiner dan varB") elif (varA == 50): pass #Doe niks else: print("varA is toch groter dan va...
[ "lucascool@ziggo.nl" ]
lucascool@ziggo.nl
dd8b91a8d77bbcac5b19fb4af0dd08e07c255110
7e46361bda7d0912e715a4046a91758da0cfca5d
/course/migrations/0012_auto_20200519_1211.py
b19c04b7c311e53923dbc187eee012e54d993737
[]
no_license
varun560/Learning_Portal
dee70c64a54dc7ca1cbfa42debc5941289d0984b
9cbac1221a33c54be696d174cff470e7399a28d7
refs/heads/main
2023-01-21T14:29:27.196241
2020-11-25T05:59:47
2020-11-25T05:59:47
315,658,398
0
0
null
null
null
null
UTF-8
Python
false
false
406
py
# Generated by Django 3.0.6 on 2020-05-19 06:41 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('course', '0011_auto_20200519_1210'), ] operations = [ migrations.AlterField( model_name='lecture', name='src', ...
[ "varunjn652@gmail.com" ]
varunjn652@gmail.com
65577a7929129e9b76f9edfec1ce190f54c356b8
31fadfd463b8f4d54f0a6b9aa95896b33c4e2aa9
/gamepad/controls/gamepad.py
09bbbfe8bb8b04a70de0ffa2b73176e544f1a1e0
[]
no_license
Cyboot/Crazyflie
a6d53194dfbb6ac0f35b3f9ef017fdcaa405e2af
9e8e9d6b325fcee3b07ad560b3cdaa6fb56244d6
refs/heads/master
2020-04-28T20:57:48.330988
2014-02-27T19:26:18
2014-02-27T19:26:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,484
py
#!/usr/bin/python -tt # -*- coding: utf-8 -*- ''' Created on 21.02.2014 @author: Tim ''' class Gamepad(object): ''' represents the gamepad with all buttons and axis values ''' def __init__(self): self.axisLeft_X = 0 self.axisLeft_Y = 0 self.axisRight_X = 0 self.axisRig...
[ "Cyboot@timweb.de" ]
Cyboot@timweb.de
3758f1d2fc628019ffb27cc8d9c833c5cdee2c3f
f0000766ad3a5c47834a59144207e5e411749c19
/python/get_commands.py
eb239d4f6c7e17d7adafa35df4a949945b44ba53
[]
no_license
GitBolt/discord-slash-guide
f972f0bccf7dc0829f2934b59628a5e6de6258f4
886adac4b210df57af8ed41ccdac94f21a8b0ee7
refs/heads/master
2023-07-26T10:44:45.503744
2021-09-06T07:50:17
2021-09-06T07:50:17
403,006,058
3
0
null
null
null
null
UTF-8
Python
false
false
1,527
py
""" This is to get all commands, not to be confused with `get_command.py` which returns details of a particular command. """ import os import requests TOKEN = os.environ["TOKEN"] or os.getenv["TOKEN"] HEADERS = {"Authorization": f"Bot {TOKEN}"} def get_global_commands(application_id: int) -> str: """ https...
[ "stingbolt1@gmail.com" ]
stingbolt1@gmail.com
6eb0cbbd5cdb86716c307e30723cfd85aba6ed88
29a22f83a55197fcb80a1b2d4143595998361ec2
/USAcovidtesting.py
510802c518a7bb32b8a4602a25585ea911447c30
[]
no_license
theaddies/COVID19
4630614adf8de72f87684cc3f8d934f977658338
a04cc27979fbcdbc359049f2f29030a76c6b2909
refs/heads/master
2022-11-18T08:44:55.950075
2020-07-08T12:42:30
2020-07-08T12:42:30
254,989,232
0
0
null
null
null
null
UTF-8
Python
false
false
214
py
# -*- coding: utf-8 -*- """ Created on Mon May 18 08:36:44 2020 @author: theaddies """ path = 'https://covidtracking.com/api/v1/states/daily.json' import num import pandas as pd df = pd.read_json(path) print(df)
[ "theaddies@neo.rr.com" ]
theaddies@neo.rr.com
f6253d0ce4e2dc6d3431eccade1b0b644c677d62
bb9d23669160e4a330914667b4426a161cdb5125
/lab1/string1.py
e059c097f36a421ef53c9fef034cdb66961fd04b
[]
no_license
yuliasimanenko/Python
7d02c0fc79b6d56586fcf3d1960aaf1c9dae2b6d
3f8a5d8acaad7f5d5d063af5cd5e9220258336ea
refs/heads/master
2023-08-29T07:14:40.195360
2021-10-04T14:11:45
2021-10-04T14:11:45
312,831,229
0
0
null
null
null
null
UTF-8
Python
false
false
2,019
py
# 1. # Входящие параметры: int <count> , # Результат: string в форме # "Number of: <count>", где <count> число из вход.парам. # Если число равно 10 или более, напечатать "many" # вместо <count> # Пример: (5) -> "Number of: 5" # (23) -> 'Number of: many' def num_of_items(count): string = 'many' if count >= 1...
[ "Julia.Simanenko@yandex.ru" ]
Julia.Simanenko@yandex.ru
f8030a439634075910d8b4cc1c7c7a989af7d51d
c6a624ffc2b6165d8e1f1c85a45ae1fa1c2baee4
/OJ/CodeWars/Find the odd int.py
fcd97c3bb29e11c390a08aaea3b08331fe73416b
[ "Unlicense" ]
permissive
JuChunChen/Algorithm
41be8f8b9fd0543ef4d3e2297c3a0be81fc1433d
8291a7ed498a0a9d763e7e50fffacf78db101a7e
refs/heads/master
2023-04-02T21:25:08.227053
2021-04-10T07:57:55
2021-04-10T07:58:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
329
py
from functools import reduce def find_it(seq): return [ k for k, v in { v: (lambda val, seq: reduce(lambda r, v: r + (v == val), seq, 0) )(v, seq) for v in seq }.items() if v % 2 != 0 ][0] """ def find_it(seq): for i in seq: if seq.count(i)%2!=0: retu...
[ "simon@tomotoes.com" ]
simon@tomotoes.com
df5067ed924759eb620db5322d38ca197b139fca
d399538a42addaed05376754bd686ad79acfae85
/tests/utils/rs_exprmgmt_paths_add.py
6f1bd06467bd248cd78b2efedc0cede722e1ea39
[]
no_license
jacob2512/plfs-regression
4faf201991f2b8cd848136d4e60c2c7b0b7a3e49
0514feec60e59bdbae533c5b09523c2dd501bf25
refs/heads/master
2021-01-16T19:03:34.550286
2012-11-01T20:18:37
2012-11-01T20:18:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
725
py
#!/usr/bin/env python # # Add the paths to experiment_managment to sys.path import os,sys,re def add_exprmgmt_paths(basedir): """Adds paths to experiment_management modules to sys.path Input: basedir: The regression suite's base directory. """ expr_mgmt_dir = get_expr_mgmt_dir(basedir) expr_m...
[ "dshrader@979fb63a-54b4-4514-8d67-9ab8ea1b59df" ]
dshrader@979fb63a-54b4-4514-8d67-9ab8ea1b59df
78d8ba3bfd0a0ad477fab02f6eeebd2339a00816
8ddf91936f1628c83ea4624bbb237fb8c976b393
/MITx_CS_and_DataScience/P2_stochasticPrecesses.py
a2c97030d498e5bedde9a4a4379d41fb95fa3fe6
[]
no_license
lboz/training
f0c33812c71384fa1d52e4b754012f954b7b7a60
196837d5b508b7bc8c43246cf4a9adb2ec48a849
refs/heads/master
2020-05-31T19:38:07.571912
2019-08-14T20:02:04
2019-08-14T20:02:04
190,459,121
0
0
null
null
null
null
UTF-8
Python
false
false
4,528
py
# -*- coding: utf-8 -*- """ Created on Fri Jun 28 18:46:17 2019 @author: User """ ''' Stochastic thinking - Copenhagen Doctrine - at its most fundamental level, the behavior of the physical world cannot be predicted - Predictive nondeterminism - Stochastic Precesses - ongoing pro...
[ "noreply@github.com" ]
noreply@github.com
84726ebef0eded344477e352bc63f88f51ba6372
5c92518544220facaf97dc55d32b15d55b9b6c56
/mealie/routes/recipe/tag_routes.py
ce527f01cba338bbfb115f5e485928570b814549
[ "MIT" ]
permissive
W1ndst0rm/mealie
3302cdff289439e40f15ac535dd512630bf8a527
50a5b39836fb448ec6dfeacc20cb70d6d9d060a4
refs/heads/master
2023-03-01T22:43:59.265920
2021-02-09T03:52:35
2021-02-09T03:52:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
997
py
from db.database import db from db.db_setup import generate_session from fastapi import APIRouter, Depends from sqlalchemy.orm.session import Session router = APIRouter(tags=["Recipes"]) router = APIRouter( prefix="/api/recipes/tags", tags=["Recipe Tags"], ) @router.get("/all") async def get_all_recipe_tags...
[ "noreply@github.com" ]
noreply@github.com
27cacce4b3a5ddfcd0ac9cd6fe61e916c9aee2a2
1210fd2bdad04eb7dfb7c015caf3aaa9a06c73d4
/meditation/post/models.py
a9d989806902f13e2cf6e04682c7e119bd67da89
[]
no_license
andyxdman/meditation
c719c8d3a906a29d2ea521fc14d8f093e92dc499
612d8c56ed1c658018b8a583d55ce712b4f2cf79
refs/heads/master
2020-09-22T17:54:41.528561
2019-12-02T15:47:30
2019-12-02T15:47:30
225,292,138
0
0
null
null
null
null
UTF-8
Python
false
false
1,788
py
from django.db import models from django.contrib.auth.models import User # Create your models here. class Post(models.Model): POST_DRAFT = 0 POST_NORMAL = 1 POST_HIDDEN = 2 POST_TYPE = ( (POST_DRAFT, '草稿'), (POST_NORMAL, '正常'), (POST_HIDDEN, '隱藏'), ) owner = models.Fore...
[ "andylee1994@gmail.com" ]
andylee1994@gmail.com
693b5d23fcf762329e9caaaf81cb5e80096e70d6
f26d67e3e9f8b90e5d6243279a1c2ce87fa41d46
/src/prodstats/cq/tasks.py
f48b077503fffa1d9e9d88a31617f973023e977b
[ "MIT" ]
permissive
OCB-DS/prodstats
cf554e3abee651463e9f81606d4b633f464658a7
4ff5a6e0b0d6152af2d7e1f3844ede2d33ad4824
refs/heads/master
2022-11-25T15:30:06.988683
2020-08-02T16:08:05
2020-08-02T16:08:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,803
py
import asyncio import itertools from datetime import timedelta from typing import Coroutine, Dict, List, Union import pandas as pd from celery.utils.log import get_task_logger from celery.utils.time import humanize_seconds import calc.prod # noqa import config as conf import cq.signals # noqa import cq.util import ...
[ "brocklfriedrich@gmail.com" ]
brocklfriedrich@gmail.com
5f78d5f22130ef95b5451dbb67e83853d93a80b0
a6566ebc69ed5e7a17e2091bdb10e7b6523eefc9
/py/notifier/config.py
49ae8e99337c9f08bbbe648c1ba901d19f2924d8
[ "MIT" ]
permissive
mabotech/mabo.task
916e71650b45a24bb3852206a3755a7fd0342e47
96752a5ae94349a46e3b6f9369cc0933d5e37be0
refs/heads/master
2020-06-05T13:05:02.768838
2015-11-29T08:18:10
2015-11-29T08:18:10
23,750,849
0
0
null
null
null
null
UTF-8
Python
false
false
354
py
import toml from singleton import Singleton class Config(object): __metacass__ = Singleton def __init__(self): conf_fn = "conf.toml" with open(conf_fn) as conf_fh: toml_str = conf_fh.read() self.conf = toml.loads(toml_str) def get_co...
[ "aidear@163.com" ]
aidear@163.com
5aff9b875a75909d4eff76490b5af20a8c81766e
543dc102cebcd77da2978d4357c178edb95fffaf
/analysis.py
36dd0b941ae5af91d1253397a5eb1968c47d1c6c
[]
no_license
carllacan/VNAmeasures
71a6ff6608c1f2099d60b8d20385297caad83367
def236335c878778e98f4743c0384a5b0ff16f39
refs/heads/master
2021-01-12T05:43:16.540136
2017-04-06T14:22:09
2017-04-06T14:22:09
77,178,303
0
0
null
null
null
null
UTF-8
Python
false
false
11,139
py
import numpy as np import pandas as pd import matplotlib.pyplot as plt colors = {"S11":"red", "S21":"green", "S12": "orange", "S22": "blue"} sparams = ["S11", "S21","S12","S22"] data_dir = "data" tables_dir = "tables" latex_dir = "report/data" plots_dir = "report/images" chann...
[ "carles.llacer@gmail.com" ]
carles.llacer@gmail.com
a7833550c3629ae6e2e33022924a2e4d51d2dcc7
77653811587e0d9285380ae866952b3fcf09ae80
/dj4e-samples/views/views/settings.py
8bb54857eb0d6da3145fd0e858926655dc91be25
[ "MIT", "CC-BY-3.0" ]
permissive
natc23/SI_364_Local
477c82a74f7ac34bcca9db33c11ea6ec1c333cd5
e72c98bef29ee9d6cdb1b9c120152ffc007293d2
refs/heads/master
2020-04-24T00:37:57.639011
2019-04-12T01:17:48
2019-04-12T01:17:48
171,571,776
0
0
null
null
null
null
UTF-8
Python
false
false
3,118
py
""" Django settings for views project. Generated by 'django-admin startproject' using Django 2.0.5. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os # B...
[ "nataliecieslak@yahoo.com" ]
nataliecieslak@yahoo.com
be1a846751a9b1a0055e8a81bbfe3ca6df2c437e
173f6c30ec4e5e3eb99ecf493e9019828270f5d3
/main.py
ac93f58ecffa8176285a3e5857c06808694f3832
[ "MIT" ]
permissive
DrLuke/FEMM-bode
14d1468d7f623a0fa874b9bb7d25b0feb9eb79f3
851397f914fbb114707ffa1202f9c3ac3a37bc37
refs/heads/master
2021-01-19T16:48:37.216579
2017-07-05T13:27:22
2017-07-05T13:27:22
88,288,695
0
0
null
null
null
null
UTF-8
Python
false
false
10,234
py
import subprocess import matplotlib as mpl import matplotlib matplotlib.use('Qt5Agg') import matplotlib.pyplot as plt import numpy as np import re import math, cmath from scipy.interpolate import griddata import os from femm import FEMM, FEMMfem, FEMMans from PyQt5.QtWidgets import QApplication, QMainWindow, QMenu, ...
[ "Lukas@Jackowski.de" ]
Lukas@Jackowski.de
408d71b6a801104b746897a13cfd9e7746ddc72b
9274ef055268897fa399803e12218aaf0698dd72
/desire_lines_dialog.py
f567d886d87144010717eb3a18f5929ba4aa96bb
[ "MIT" ]
permissive
silky/AequilibraE
730029a1e0b373d049e299cde358e653c107de0b
2d69395cc122637621beed12c705c836acc47d20
refs/heads/master
2020-12-24T05:48:06.006634
2016-10-01T11:02:50
2016-10-01T11:02:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,108
py
""" /*************************************************************************** AequilibraE - www.AequilibraE.com Name: Dialogs for matrix manipulation tools ------------------- begin : 2014-03-19 copyright : TOOLS developers 2014 ...
[ "veigacamargo@gmail.com" ]
veigacamargo@gmail.com
06e0def26f3d9503032cd09607f5df919acbed38
ed2229caf4089532e19e227276e98a910b228b65
/test.py
308cba21a2cc272cedf91429d96f2b7ab5175e7f
[]
no_license
RenmaHirano/PCM_DanceMovie
b9cbd70be3b0c0e823248d9a70df575f9f543c78
25a3e66032e83ba0f89e545194bef1cbf82e03f1
refs/heads/master
2023-09-02T19:18:59.541760
2021-11-11T16:46:24
2021-11-11T16:46:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
from sklearn.datasets import fetch_openml import numpy as np from sklearn.decomposition import PCA import matplotlib.pyplot as plt x = np.linspace(0.2,1,100) y = 0.8*x + np.random.randn(100)*0.1 X = np.vstack([x, y]).T np.random.shuffle(X) print(X) print(type(X)) print(X.shape) pca = PCA(n_components=2...
[ "everydaysai@gmail.com" ]
everydaysai@gmail.com
4e515a7ffea62d3d0983fe8800071ecacb2849a2
14c712219774aef5a620cde4cd3150ac31cca512
/jjwxc/parse_user.py
a4155212fddb99dd41ceb2e3ad23c0996cf401c5
[ "MIT" ]
permissive
jeffmxh/spider
8d9a6e41852c84967bb44c170927a9e6a6aa96af
bec2376a05a64185d956760d9b143424c639c33f
refs/heads/master
2021-05-11T23:57:38.861728
2019-01-06T07:55:47
2019-01-06T07:55:47
117,522,604
1
0
null
null
null
null
UTF-8
Python
false
false
5,527
py
import pandas as pd import threading import requests from bs4 import BeautifulSoup from selenium import webdriver import argparse import re import os import time import random import logging ''' 获取html原网页文本 参数:url,即要打开的网页链接 返回值:为html网页文本 ''' class Spider: def __init__(self): self.headers = {'user-agent': ...
[ "jeffmxh3946@gmail.com" ]
jeffmxh3946@gmail.com
a08866fdeb02d1584aca3775017ebe2a118292d7
04252676935223f4d03eff0393ba921cb00be1e5
/api/__init__.py
59d9087892b08ac0854226a2346b05ea5f5dff99
[]
no_license
kongp3/cross4u
4083aec3e5fe9de1d351d25609cbdf996df6abe3
8bd4dcfe8ae8fee5a3f169428b138b1294633da0
refs/heads/master
2020-11-29T23:11:17.838675
2019-12-30T06:56:20
2019-12-30T06:56:20
230,235,707
0
0
null
2019-12-26T09:33:09
2019-12-26T09:31:52
Python
UTF-8
Python
false
false
1,419
py
# -*- coding: utf-8 -*- import traceback from flask import jsonify from functools import wraps class RestResponse(object): """ 标准的接口Response类, 所有的api必须返回这个类的对象, 以便统一处理返回 """ def __init__(self,): pass def fail(self, code=500, message="Server Got A Exception"): d = {'meta': { '...
[ "kongp3@outlook" ]
kongp3@outlook
a7f65228a1a5c133e9d806213124e862f5e27193
fab99203d20d8755a055045b5117ea8a77ab9597
/spanningForest/txn2Phase/tools/run_once.py
f59a2b1c3f648ed2edae85039fe10d7491591f62
[]
no_license
yuxiamit/LiTM
2ee787a9d8b433fbfbb1219e9355a9a0512e8dab
d118033ed4dd3b42f45b85f61908015fac8b5293
refs/heads/master
2020-04-18T12:08:47.797136
2019-08-19T19:57:01
2019-08-19T19:57:01
167,524,994
4
0
null
null
null
null
UTF-8
Python
false
false
1,135
py
batchRanges =[ #500, 700, 1000, 2000, 3000, 5000, 10000, 20000, 50000, 75000, 100000, 200000] # [100, 200, 300, 500, 700, 1000, 2000, 3000, 5000, 10000, 20000, 50000, 75000, 100000, 200000] import os import sys import subprocess trials = 10 executable = "MIS" inputFile = "randTI" if len(sys.argv) > 1: # inputFile ...
[ "yuxia@mit.edu" ]
yuxia@mit.edu
d467b8c5697dbe12bffb4375b8df339b99818fbd
043cb79b38e2935686dcf080827567b790e96b8b
/scripts/ismap_v2_unittests.py
f21ccb3f049616c4581474eef8e457272143e7fe
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jhawkey/IS_mapper
a8de728ec78fa0a8c1791474dfb7a6fc3bfae9c2
937640d09ae308085c2b1c9002e5fed7f2b83d96
refs/heads/master
2021-12-15T07:04:55.422633
2021-12-03T02:31:00
2021-12-03T02:31:00
16,825,331
41
21
NOASSERTION
2019-06-11T00:28:45
2014-02-14T02:58:48
Python
UTF-8
Python
false
false
10,944
py
import unittest import pathlib import ismap_v2 import read_grouping import run_commands import mapping_to_ref import mapping_to_query import os import create_output from Bio import SeqIO import filecmp import shutil class TestGetSeqs(unittest.TestCase): def setUp(self): self.query_single = ["/Users/jane/D...
[ "jhawkey@student.unimelb.edu.au" ]
jhawkey@student.unimelb.edu.au
11c47ab14698b2ea99c0247d3d4034c86eae58a7
633229ef106b4a210b85c85fdf5383c4f1d9fd2d
/fashion/migrations/0001_initial.py
50e3bdb9f72a86b7cee52a2ffda2b86994fcacab
[]
no_license
corymunvo/target
3520f233fb55743e78faba2c676d2fd74bb18445
cfa5827af509a0b02173bae1d8fc812c410e5a16
refs/heads/master
2022-02-06T09:16:35.842973
2022-01-11T16:48:00
2022-01-11T16:48:00
220,041,333
0
1
null
2022-01-04T16:33:47
2019-11-06T16:27:45
HTML
UTF-8
Python
false
false
2,844
py
# Generated by Django 2.2.7 on 2019-11-13 20:41 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django_countries.fields import phonenumber_field.modelfields class Migration(migrations.Migration): initial = True dependencies = [ migra...
[ "cory.norris@munvo.com" ]
cory.norris@munvo.com
4e2a5aac3f2d8596ac600f55307f6e113b1f375b
71da259f71428648d4285b1b4863ec2b7641e58c
/ecom/website/filters.py
561533e588086d70c2830bed74278b2c4dbe38da
[]
no_license
rafimuhammad01/e-com
8a58d0ccff27516da260b41c180c703fa22e76b3
75d451bfc10075090d88d5a16dbd03f626ff72ef
refs/heads/master
2023-02-18T08:48:26.144483
2021-01-15T08:56:54
2021-01-15T08:56:54
291,625,792
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
import django_filters from .models import Product class ProductFilter(django_filters.FilterSet) : class Meta: model = Product fields = { 'price' : ['lt', 'gt'], 'review__rate' : ['iexact'] } class ProductSearch(django_filters.FilterSet) : class Meta: ...
[ "rafi10muhammad@gmail.com" ]
rafi10muhammad@gmail.com
abc977568852cbb171525797863a63f3f63231a4
b314b8ccfdb83d84dd54df341a3191ed7aedab08
/text_categorizer/trainer.py
b36437de54f433634f6c2d4511dc935614a18ec9
[]
no_license
LuisVilarBarbosa/DISS
9dc817c18197795277a81c1ab2aa8a00f014fd4d
d276b4f3e98a811031da3971587bf15fb292fb7d
refs/heads/master
2020-04-22T22:09:19.391734
2019-07-26T13:43:29
2019-07-26T13:44:22
170,697,977
0
0
null
null
null
null
UTF-8
Python
false
false
3,644
py
#!/usr/bin/python3 # coding=utf-8 import classifiers import pickle_manager from os.path import isfile from pandas import read_excel #from profilehooks import profile from FeatureExtractor import FeatureExtractor from functions import data_frame_to_document_list from logger import logger from Parameters import Paramet...
[ "luisfernandobarbosa@live.com.pt" ]
luisfernandobarbosa@live.com.pt
045c865fc678eba2750f62646d81f6c24d5e15cb
7e93b1c33045b4c03054f42b6a2b800279b12a9b
/core/cache/backends/redis/compressors/base.py
8d9e74deabf56d11d14abf6ab944ca71c3f9526c
[ "MIT" ]
permissive
anthill-arch/framework
6f8036980667843f2be1414850255cf6a10e2dcd
a6c238a62ae9c3fb319d12e77f7e9047aab75e8d
refs/heads/master
2020-05-09T06:01:31.186830
2019-08-23T13:52:43
2019-08-23T13:52:43
180,988,916
0
0
null
null
null
null
UTF-8
Python
false
false
229
py
class BaseCompressor(object): def __init__(self, options): self._options = options def compress(self, value): raise NotImplementedError def decompress(self, value): raise NotImplementedError
[ "x55aah@gmail.com" ]
x55aah@gmail.com
f63660d7a58a51a6d96d21c74bf21e35e3469584
6bfda75657070e177fa620a43c917096cbd3c550
/kubernetes/test/test_v1_job_status.py
f929582f971cf175bfa94a502d44fde0352fba4f
[ "Apache-2.0" ]
permissive
don41382/client-python
8e7e747a62f9f4fc0402eea1a877eab1bb80ab36
e69d4fe204b98f7d7ee3ada3996b4f5fbceae5fe
refs/heads/master
2021-01-19T23:15:50.172933
2017-04-18T18:00:48
2017-04-18T18:00:48
88,943,866
0
0
null
2017-04-21T05:19:52
2017-04-21T05:19:52
null
UTF-8
Python
false
false
827
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.6.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import os import sys im...
[ "mehdy@google.com" ]
mehdy@google.com
6d5a2f9b2ddc3bfe891a3c7d27a364e5c4cb78eb
cdbb11473dc8d34767a5916f9f85cb68eb2ca3f2
/sde/migrations/0036_auto_20180729_1518.py
a313a94deec723d4c8b6e96c080fc6923b8eec30
[]
no_license
skyride/evestats
fb2a1a248952771731dcfecadab7d02b1f08cd4b
4bd2153f65c084b478272513733dcc78f9a0ef98
refs/heads/master
2020-03-23T13:50:19.216870
2018-08-05T19:19:47
2018-08-05T19:19:47
141,640,834
0
0
null
null
null
null
UTF-8
Python
false
false
587
py
# Generated by Django 2.0.7 on 2018-07-29 15:18 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('sde', '0035_auto_20180729_1456'), ] operations = [ migrations.RemoveField( model_name='attribut...
[ "adam.findlay@mercurytide.co.uk" ]
adam.findlay@mercurytide.co.uk
47c6a982193cd3b29095c09aed8f2ec5fc372038
eb4f62f15d9c9cb20c297f71417e9d1743bd16d3
/desk2m.py
6e611ff8d30bc4f3474b95fdef755fef0fd3ab54
[]
no_license
UWCCDL/scripts
47725820f292a1710e2debc394d662b582274ccc
0b185fce356114d055638f2ac2bbaee1ec173e18
refs/heads/master
2021-01-22T01:43:06.936492
2019-01-24T02:58:41
2019-01-24T02:58:41
102,228,966
2
1
null
null
null
null
UTF-8
Python
false
false
10,025
py
#! /usr/bin/env python ## ---------------------------------------------------------------- ## ## DESK2M ## ---------------------------------------------------------------- ## ## A file that calculates the onset of experimental events (grouped ## by condition) in the DESK study. Event onsets and durations are ## written...
[ "andrea.stocco@gmail.com" ]
andrea.stocco@gmail.com
b049e56da653b855a8ad4584671e6605341e7f9f
50c02a07926f706a9de70b6cc2576c3daf3c441e
/Maya/Python/digital37/maya/lighting/test.py
f47a0bc42d69b2354552ea3d07de3bb02055e340
[]
no_license
kizikay/digital37
d24204a0ae68ef84c0778333ddaa01137f06731f
9bcb111c013cbbd51b36f3ba32346a78349755cf
refs/heads/master
2021-05-29T12:57:36.466534
2012-08-05T17:11:25
2012-08-05T17:11:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,326
py
import maya.cmds as cmds import re import os def getShadingSG(shapesList): for shape in shapesList : #def SYH_changeMapDetail(detail): # # noTexture = False # pattern = "." # # sel = cmds.ls(sl = True) # if(len(sel) <= 0): # print "no object are selected" # ...
[ "hongloull@gmail.com@e21bde55-81c9-5408-e5b9-2d3a39b4433e" ]
hongloull@gmail.com@e21bde55-81c9-5408-e5b9-2d3a39b4433e
f2bad36195e63f0b3cb1fdf493ed82c0e050032f
7dbb0b7c634fe66bfbe10c16307495ea61f6831b
/shared/admin.py
9f677da1adde630d62cda4cdd5a1de8fdee5040f
[]
no_license
dev12aiatic/Multitenant
d15c93bf28c513b2e99c4ad36d1982607a549de2
6103562c0628a43a39358c3bc6f26a934d126d2d
refs/heads/master
2022-11-06T07:19:25.658735
2020-06-23T17:31:56
2020-06-23T17:31:56
273,732,734
0
0
null
null
null
null
UTF-8
Python
false
false
163
py
from django.contrib import admin from shared.models import Client, Language # Register your models here. admin.site.register(Client) admin.site.register(Language)
[ "innarov@hotmail.com" ]
innarov@hotmail.com
9ba384d7416217505108520e70e49bd802012c66
7b3009e019e081667df67c6b41328b5db632b898
/instances/shadows_of_infinity.py
34a98b9e889adc772c3ce344061ead7226547267
[ "MIT" ]
permissive
frostburn/multibranch-mandelbrot
d1e2cc6bce6ab8f065b678fb2133bd3057b832d5
84e4887ffc90a5338ae448ced6f62fcf40bc11a1
refs/heads/master
2023-08-02T18:20:56.671175
2021-09-28T09:57:58
2021-09-28T09:57:58
287,219,716
0
0
null
null
null
null
UTF-8
Python
false
false
1,926
py
import os import sys sys.path.insert(0, os.path.abspath('.')) from pylab import * from mandelbrot import mandelbrot, mandelbrot_generic, buddhabrot import nonescaping import classic from coloring import red_lavender, black_multi_edge, rainbow, gray, sepia, subharmonics, creature, white_multi_edge import color_gradient...
[ "lumi.pakkanen@gmail.com" ]
lumi.pakkanen@gmail.com
f6c7e47f18fecf5204af653cae821b0dbc934729
3a60b8935f809e300405214a66d949f0042e7e46
/src/map/tile.py
de575e0a0d16478ca90b3e9f8119073989688f77
[]
no_license
stellarlib/centaurus
e71fe5c98b94e8e575d00e32f55ba39fe71799e6
896ae73165f3f44dfb87378ef2635d447ccbccae
refs/heads/master
2020-08-29T00:02:47.294370
2020-07-06T20:06:02
2020-07-06T20:06:02
217,860,282
0
0
null
null
null
null
UTF-8
Python
false
false
1,355
py
from random import randint from src.map.hex_map_properties import EdgeID class Tile(object): n = 15 GRASS, WOODS, WATER, ROCKS, SAND, CLAY, ROAD, WALL, EXIT,\ EXIT0, EXIT1, EXIT2, EXIT3, EXIT4, EXIT5 = range(n) OPEN = {GRASS, ROAD} IMPASSABLE = {WALL, ROCKS, WATER} OBSTACLE = {WALL, ROC...
[ "marzecsean@gmail.com" ]
marzecsean@gmail.com
8fcb9b84855a9a8bec534729291e1ce0c271749d
c8420732ae1b2c46a5315fc32b1c37dc40bbe41f
/Rohan2/urls.py
9c6a8e19f1e1a232eccb89705f916cde8bdc92a6
[]
no_license
Niranjan4712/Django-hyperlinks-with-creating-specified-html-page
95c34f14bb3434aaabbf073060c6531fc6e8b38a
f235592575e492f432c3331a7bb8f27b386ff208
refs/heads/main
2023-04-10T11:26:35.942719
2021-04-29T18:18:50
2021-04-29T18:18:50
358,689,231
0
0
null
null
null
null
UTF-8
Python
false
false
888
py
"""Rohan2 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
[ "niranjan.patil.8888@gmail.com" ]
niranjan.patil.8888@gmail.com
af0c6fba2ed9e0375be3b9ccccd00341cc31fc0c
e9275362bc90afb1218c7035db5e993d2cf256aa
/learn_python_the_hard_way/mystuff/ex33.py
f45dfb48a9cb8a73c44b69cf6d86ae7add84bf72
[]
no_license
hanson377/textbook_notes_and_exercises
620cd844926a0553c3dfc46634ae991dadbe57eb
09c60c523ac8730c054c535515e9cda7271d642e
refs/heads/main
2023-06-05T20:57:54.007065
2021-07-07T11:54:15
2021-07-07T11:54:15
383,776,330
0
0
null
2021-07-07T11:54:16
2021-07-07T11:33:58
Python
UTF-8
Python
false
false
359
py
def thing(max_i,increment): i = 0 numbers = [] while i < max_i: print "at the top i is %d" % i numbers.append(i) i = i + increment print "numbers now: ", numbers print 'at the bottom i is %d' % i print 'the numbers: ' for num in numbers: print num...
[ "hanson377@gmail.com" ]
hanson377@gmail.com
7bba2b545e38840999f2778d1537f8684c064ee8
946ead8406872492ca4763e96b4d6a3fb5c05a81
/venv/Scripts/easy_install-3.7-script.py
c84b105c51d98b7171cf4562cb748e94afc3d9ac
[]
no_license
Hortmagen21/Flex
14249ad9d8563af4807f29bce935d991ab582d8f
db8cc5a0f11af3c6678e2e3631cc296efb44f1db
refs/heads/master
2023-01-24T14:49:59.074381
2020-09-21T12:27:44
2020-09-21T12:27:44
243,205,920
0
0
null
null
null
null
UTF-8
Python
false
false
437
py
#!C:\Users\Max\Flex\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install-3.7' __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)?$', '', sys....
[ "max_yudkin@ukr.net" ]
max_yudkin@ukr.net
c74e724a225f8334412b1593428a285b7c2f0acd
69eca466d7f184e9cb100572ba1dee4264d2e0c8
/organization/migrations/0001_initial.py
bdd91ae95d41f35a0106038179b5451172ed4734
[]
no_license
bbkchdhry/django-crud
1247dafe55d522994ae0d070e669a67b7be1d553
a2724b0a6c611ae3759ae7b4fd63315a66a921c4
refs/heads/master
2021-08-29T23:26:33.299576
2017-12-15T08:37:02
2017-12-15T08:37:02
114,346,966
0
0
null
null
null
null
UTF-8
Python
false
false
1,353
py
# Generated by Django 2.0 on 2017-12-15 07:43 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Department', fields=[ ...
[ "bbkchdhry@gmail.com" ]
bbkchdhry@gmail.com
16929652a578a13f35466e8c785048bd1a45f63a
f9a2ac4593462c669ec2cf996a01d3706c6bb955
/bookmarks/views.py
be9ec2b1390839acb139afc4935ab43cc2f95b90
[]
no_license
rogatzkij/readhelper-be
2287a341780509a0d76ac69b9042da9222230388
18fe3e4263a431c29f84d51c9136f1b620568bc3
refs/heads/master
2022-04-04T13:39:46.305275
2020-01-04T14:30:46
2020-01-04T14:30:46
225,032,251
0
0
null
null
null
null
UTF-8
Python
false
false
3,672
py
from django.db import IntegrityError from django.http import JsonResponse from django.utils.timezone import now from rest_framework import permissions from rest_framework.response import Response from rest_framework.views import APIView from bookmarks.models import Bookmark from bookmarks.serializer import BookmarkSer...
[ "rogatzkij@yandex.ru" ]
rogatzkij@yandex.ru
a64527d978a39e55af993411eebb1df7f9478e49
ff6aae6ae220f2629821f8307429b13cb20a44a7
/cli.py
9740bee59f0599a1133ebe1637763c49ade95c56
[ "MIT" ]
permissive
Filipe-Barbos/Projeto-Watch-Dogs
4759b4c47a43b240de6b2ac34707d37f4c30ff45
100254404219112779725fdc93be7900c6d9a078
refs/heads/master
2020-03-26T09:16:30.365089
2018-08-14T16:13:56
2018-08-14T16:13:56
144,743,228
0
0
null
null
null
null
UTF-8
Python
false
false
6,786
py
from program import computer, cpu, memory, tools, disks, network import sys # Get arguments from terminal params = sys.argv # Checks if was send any param if len(params) > 1: if params[1] == "-os" or params[1] == "-operationalsystem": print("Operational System: ", computer.os()) print("Version: ", computer.osVer...
[ "filip.barbos@gmail.com" ]
filip.barbos@gmail.com
b6fb4455d07af06981d26f6564e05f5b37c2435e
c07ea84e1dc86e63209bf81bad2f4c13010f2d65
/package/mtwow/general/user.py
a42b96127c1d499b8391974fec9ceb2f1d810457
[ "MIT" ]
permissive
periodically-makes-puns/phoenix-mtwow-bote-py
ca433dbeef37106c4d574dfa1452eb197c6da30a
ebef75e8a48d97c54b128c066d49d2ccd21a5dc9
refs/heads/master
2020-09-03T02:05:16.339138
2019-11-14T03:44:44
2019-11-14T03:44:44
219,357,646
0
0
null
null
null
null
UTF-8
Python
false
false
6,099
py
""" Defines the functions needed for the common user. """ from . import sqlutils from ...generic.utils import data import sqlite3 import random import logging from typing import Tuple, Union, List, Callable sql_logger = logging.getLogger("sqlite3") @sqlutils.handleSQLErrors def signup(conn: sqlite3.Connection, uid: in...
[ "eyang10000@gmail.com" ]
eyang10000@gmail.com
1e9a589c10d0c25d21f869a1ea2f538fb5c59aff
ad313a7f3258ce0065d3f3f63aea48ed57052ce4
/Titanic/file.py
966e16377537f8b1daabce20b2f38b4233f4665b
[]
no_license
lqzzz/ML
fd4cdd6f85495643d73dacea2404909d098f4b97
02fac41a6db9d2a846c249de0efd94b868150ed5
refs/heads/master
2021-08-30T22:02:37.923920
2017-12-19T15:36:58
2017-12-19T15:36:58
114,114,386
0
0
null
null
null
null
UTF-8
Python
false
false
481
py
import numpy as np import pandas as pd import tensorflow as tf def TrainData(): train = pd.read_csv('train.csv') test = pd.read_csv('test.csv') test.loc[test.Age.isnull(),'Age'] = 30.0 train.loc[train.Age.isnull(),'Age'] = 29.0 train.Cabin = train.Cabin.isnull().apply(lambda) # print(train[tra...
[ "616478774@qq.com" ]
616478774@qq.com
df6b3cdaa09073a8075e928c7ef9df25a4f7150f
1f3a2cee3654c11586b30151fd9a3fc6fd705c0a
/deep_learning/pic.py
5488840c452ac9667371b0542085d8a928c76634
[]
no_license
2020668/AI
24ff42cefacac3f397e7a6f54dda7e9d741f2e03
3e1a78a6348e453b0f3e8862a784105620a22bc1
refs/heads/master
2020-12-09T02:03:55.311209
2020-02-10T15:36:26
2020-02-10T15:36:26
231,186,509
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
import tensorflow as tf print(tf.__version__) # 输出'2.0.0-alpha0' print(tf.test.is_gpu_available()) # 会输出True,则证明安装成功
[ "keen2020@outlook.com" ]
keen2020@outlook.com
69760eac1ab88994ee40c1bdb95cbc7b06efb5dc
4e8cefd285579510b04667f19884aefe0ed6ad4a
/common/utils.py
a075478e7fd5de161942df411ff215bc38069bc2
[]
no_license
duguhuo/neural-subgraph-learning-GNN
75ee22ea213d317844bf0de97684e00e3ff15df0
4d074cbc0fa9d81defef746302e62b1b9a97791d
refs/heads/master
2023-06-15T08:16:36.572865
2021-03-28T08:53:49
2021-03-28T08:53:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,486
py
from collections import defaultdict, Counter from deepsnap.graph import Graph as DSGraph from deepsnap.batch import Batch from deepsnap.dataset import GraphDataset import torch import torch.optim as optim import torch_geometric.utils as pyg_utils from torch_geometric.data import DataLoader import networkx as nx import...
[ "azw7@cornell.edu" ]
azw7@cornell.edu
be136d34d8b79c6aa596f970cf3d0bd28b394505
965da23a89791f445334fd7e23f032435bf993c4
/dturm.py
10ce1d10771f2bee7232bbf9443070455fc39296
[ "MIT" ]
permissive
aktech/dturmscrap
b669c9d461fa89a6d4b9ff146796025d6df2e242
b6046daa4deec5782f98069f57c4c96262443563
refs/heads/master
2021-01-01T16:19:00.902853
2015-11-16T19:21:33
2015-11-16T19:21:33
40,501,549
5
1
null
null
null
null
UTF-8
Python
false
false
4,728
py
# DTU RM Scrapper # Author: AMiT Kumar <dtu.amit@gmail.com> # Version: 0.1 import sys sys.path.insert(0, 'libs') import webapp2 from google.appengine.api import mail from google.appengine.ext import db import pickle import logging import cookielib import urllib2 import mechanize from bs4 import BeautifulSoup # Glo...
[ "dtu.amit@gmail.com" ]
dtu.amit@gmail.com
5dd88af5ae5e82c13194560776281ec8a542cab7
93ad65a519037b2a6c9363f356a00b3e51350537
/djR/conf.py
c80052a26cce28b6dc8ddf5b5a232ed373f0e040
[ "MIT" ]
permissive
JheanMarllos/django-R
6ccc9b42dbca50c803c740315fbeda136be1ad9c
3c1f8adfa2a16ad9cf9856e4dd7cd889e7a3c229
refs/heads/master
2020-05-30T12:42:49.200732
2019-06-02T11:37:49
2019-06-02T11:37:49
189,741,022
0
0
MIT
2019-06-01T14:16:22
2019-06-01T14:16:22
null
UTF-8
Python
false
false
418
py
# -*- coding: utf-8 -*- from django.conf import settings RETHINKDB_HOST = getattr(settings, 'RETHINKDB_HOST', 'localhost') RETHINKDB_PORT = getattr(settings, 'RETHINKDB_PORT', 28015) RETHINKDB_USER = getattr(settings, 'RETHINKDB_USER', None) RETHINKDB_PASSWORD = getattr(settings, 'RETHINKDB_PASSWORD', None) DEFAULT...
[ "synwe@yahoo.fr" ]
synwe@yahoo.fr
b70b66f6096c21bc356db17ef7a9da3c02eaf719
f8bb2d5287f73944d0ae4a8ddb85a18b420ce288
/python/basic/for/format_obj.py
df47968c9dd34f209133f19983ab9c23ed9b0fe2
[]
no_license
nishizumi-lab/sample
1a2eb3baf0139e9db99b0c515ac618eb2ed65ad2
fcdf07eb6d5c9ad9c6f5ea539046c334afffe8d2
refs/heads/master
2023-08-22T15:52:04.998574
2023-08-20T04:09:08
2023-08-20T04:09:08
248,222,555
8
20
null
2023-02-02T09:03:50
2020-03-18T12:14:34
C
UTF-8
Python
false
false
46
py
for 変数 in オブジェクト: 処理
[ "yusuke059@gmail.com" ]
yusuke059@gmail.com
9476e4db2cbac69b7e83f6265beadd71f0c0b4ff
b60605f75050a9987acd0838df5cb107d1849962
/resources/erase.py
ec00db39af7254932d96361d6413b400a02ba736
[]
no_license
MatteRubbiani/2b
01c192a46f1ee09fabe8728531b76ffd27d4e7c7
2c3dc541c313b7b30f80ea781d96238101ec494a
refs/heads/master
2020-04-18T07:57:57.279525
2019-02-05T21:46:21
2019-02-05T21:46:21
167,378,865
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
from db import db from flask_restful import Resource, request from models.users import UserModel, select_all class Erase(Resource): def delete(self): mail=request.args.get('mail') user=UserModel.find_by_mail(mail) if user: users=select_all() if users: ...
[ "Matteo@iMac-di-Maria.home" ]
Matteo@iMac-di-Maria.home
27c988fce97f7f978cfb139a5db2015c8984802f
a0515802638e793f48d859c4e0d1287aaee74b9a
/003/solution.py
0c4df95f763fee86fe0e70830dd72e898a6aa78e
[]
no_license
samlobel/PROJECT_EULER_SOLUTIONS
8e782e922a9cbb9cb032a53a40a82331775ee439
ed58261b46d76267005ee122830c549549e0e8df
refs/heads/master
2021-01-10T03:57:17.240744
2016-01-25T20:31:59
2016-01-25T20:31:59
48,966,573
0
0
null
null
null
null
UTF-8
Python
false
false
708
py
# def prime_sieve(max_num): # primes = # start = 2 from math import sqrt # def largest_prime_factor(num): # # square_root = int(sqrt(num)) # # print square_root # i = num - 2 # while i > 0: # if num % i == 0 : # # print num # return i # i -= 1 # if i % 1000 == 0: # print i # pass def lar...
[ "samlobel@yahoo.com" ]
samlobel@yahoo.com
b99c7afcd7667375b863d78b5cdc537e1e0d7ecb
5a4cb1c076b3a0e4bbd9057f3e8073c906ae45fc
/tests/price_feed_test.py
79026f8af73ecd5414d4a4200e0fb4930930ca8c
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
quantadex/DEXBot
5c7d8749ce815c0442dd109862aa86a23345eff9
32082b8b5e89fc9b6311969b2a9e68b4e9b57ddd
refs/heads/master
2020-04-23T04:59:51.795269
2019-04-11T21:33:09
2019-04-11T21:33:09
170,926,293
0
0
null
2019-02-15T20:48:14
2019-02-15T20:48:13
null
UTF-8
Python
false
false
3,116
py
import unittest from dexbot.strategies.external_feeds.price_feed import PriceFeed from dexbot.strategies.crossmarket.strategy import CrossMarketStrategy from dexbot.strategies.crossmarket.external_market import ExternalMarket from dexbot.strategies.crossmarket.internal_market import InternalMarket from bitshares import...
[ "quocble@gmail.com" ]
quocble@gmail.com
2e6db1095be14073089b39307e04d983490684cd
5e32c5c4db30edfbbd8016325dd0d48ddf672d4f
/integrationtest/vm/hybrid/test_stub.py
f611a2d19a6a0efa47dc907892e8d11930e7e680
[ "Apache-2.0" ]
permissive
welldoer/zstack-woodpecker
7519e0cffe98cba84b7774c8e8b296c2d1318615
e0cea9672c764858fc124fa0b02111fc31b2af0f
refs/heads/master
2020-03-28T22:11:50.431319
2018-09-14T10:08:27
2018-09-14T10:08:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
51,442
py
''' Create an unified test_stub to share test operations @author: Youyk ''' import os import sys import time import random import commands import threading import urllib2 import functools import zstacklib.utils.ssh as ssh import zstackwoodpecker.test_lib as test_lib import zstackwoodpecker.test_util as test_util imp...
[ "legion.xiong@gmail.com" ]
legion.xiong@gmail.com
4a699bc62ac3bdeec338f860c09e2a05aefe9edf
7a6c9a4e38e4c7271bddd3c51ff8fb1bfa714c87
/4/1.py
923a108704b6cead829194f7df0776d896c91fc0
[]
no_license
simonsayscodes/School
bf934e2a32b01e063d5f3fa49e4a4668b566518c
377de06267ab6744992fd4f241c64cb047ba8c26
refs/heads/master
2023-02-23T04:49:39.232936
2021-01-24T22:53:03
2021-01-24T22:53:03
292,821,712
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
name = "Pog" # Använd inte () när det är name age = 18,77 print(f"Ajad {age} är riktigt jobbig") if name is "Simon Jendman": #Du glömde : tänk alltid att om du använder if name is / is not använd : print ("Och ska åka snart") elif age == 19: #Samma sak som tidigare med if name is fast elif print ("snälla di...
[ "70754158+simonsayscodes@users.noreply.github.com" ]
70754158+simonsayscodes@users.noreply.github.com