content stringlengths 7 1.05M |
|---|
# almostIncreasingSequence or "too big or too small"
# is there one exception to the list being sorted? (with no repeats)
# including being already sorted
# (User's) Problem
# We Have:
# list of int
# We Need:
# Is there one exception to the list being sorted? yes/no
# We Must:
# return boolean: true false
# use function name: almostIncreasingSequence()
# must be done in at least linear time? O(n)
# so do it one pass
#
# Solution (Product)
# issue: too big or too small
# is the out of place number too big or too small?
#
# edge case: if already sorted: true
# iterate through input_list
# compare each item to previous (so starting with index 1)
# if i+1 is smaller, remove that item from list and
# then recheck if list is now sorted
# if so, the list was only one-off from being sorted
# use set to remove duplicates
#
# issue: too big or too small
# because when there is an anomology it isn't clear which number to remove...
# if first number, it's too big
# if last number, it's too small
# if in middle: ?
# if backwards iterate is smaller than or equal to next 2 numbers
# then remove -i
# else remove -(i+1)
def almostIncreasingSequence(input_list):
# edge caes: if already sorted and no dupes, return true
if input_list == sorted(list(set(input_list))):
return True
# iterate through one time:
# and check before and after any anomaly found:
# anamoly = an item out of sequence
for i in range(len(input_list) - 1):
# look at previous: less than or = (repeating also not ok)
if input_list[i] >= input_list[i + 1]:
# conditionals for if out of place item is found
# case 1: first item: remove first
# case 2: last item: remove last
# case 3: middle item: dropping each in tern
#
# case 1: first item: remove first
if i == 0:
input_list.pop(i)
# case 2: last item: remove last
elif i == len(input_list) - 1:
input_list.pop(-1)
# case 3: in middle so maybe too big or too small
else:
list_copy = input_list.copy() # make a copy
list_copy.pop(i)
input_list.pop(i + 1)
if input_list == sorted(list(set(input_list))) or list_copy == sorted(
list(set(list_copy))
):
return True
else: # otherwise, false:
# more than one exception to being sorted
return False
|
# Header used at the top of log files and such
# usage: header = "(>'')><('')><(''<)"
header = r"""
_____ .__
____ ____ _____/ ____\_____ | | ___.__.
_/ ___\/ _ \ / \ __\\____ \| |< | |
\ \__( <_> ) | \ | | |_> > |_\___ |
\___ >____/|___| /__| | __/|____/ ____|
\/ \/ |__| \/
"""
# config elements overriden by the commandline
# usage: don't set this from configs see --config in help
__override_dict = {"confply": {}}
# config elements overriden by the commandline
# usage: don't set this from configs see --config in help
__override_list = []
# sets the desired tool to be used for the command.
# usage: tool = "clang"
tool = "default"
# path to the config file, used internally
# usage: don't use it
config_path = ""
# sets whether to run the resulting commands or not
# usage: run = True
run = True
# sets the topic of the log, e.g. [confply] confguring commands.
# usage: log_topic = "my command"
log_topic = "confply"
# enable debug logging
# usage: log_debug = True
log_debug = False
# if true, confply will log it's config.
# default behaviour is as if true.
# usage: log_config = False
log_config = False
# if set, confply will save it's output to the file
# default behaviour is as if unset, no logs created.
# usage: log_file = "../logs/my_command.log"
log_file = ""
# if true, confply will echo the log file to the terminal
# usage: echo_log_file = False
log_echo_file = False
# if set, confply will run the function after the command runs.
# usage: post_run = my_function
def confply_post_run(): pass
post_run = confply_post_run
# if set, confply will run the function after the config loads.
# usage: post_load = my_function
def confply_post_load(): pass
post_load = confply_post_load
# platform that the command is running on
# usage: if(platform == "linux"): pass
platform = "unknown"
# arguements that were passed to confply
# usage: if "debug" in args: pass
args = []
# list of configs the current config depends on
# usage: dependencies = ["config.py"]
dependencies = []
# appends to the end of the command
# usage: command_append = "-something-unsupported"
command_append = ""
# prepend to the start of the command
# usage: command_prepend_with = "-something-unsupported"
command_prepend = ""
# version control system
# usage: vcs = "git"
vcs = "git"
# path to the root of the vcs repository
# usage: log_file = vcs_root+"/logs/my_log.log"
vcs_root = "."
# author of latest submission/commit
# usage: log.normal(vcs_author)
vcs_author = "unknown"
# current branch
# usage: log.normal(vcs_branch)
vcs_branch = "unknown"
# latest submission/commit log
# usage: log.normal(vcs_log)
vcs_log = "unknown"
# mail server login details
# usage: mail_from = "confply@github.com"
mail_from = ""
# send messages to email address
# usage: mail_to = "graehu@github.com"
mail_to = ""
# mail server login details
# usage: __mail_login = ("username", "password")
__mail_login = ()
# mail hosting server
# usage: __mail_host = ""
__mail_host = "smtp.gmail.com"
# file attachments for the mail
# usage: mail_attachments = ["path/to/attachment.txt"]
mail_attachments = []
# what to send: None, failure, success, or all
# usage: slack_send = None
mail_send = "failure"
# files to upload with your message
# usage: slack_uploads = ["path/to/attachment.txt"]
slack_uploads = []
# bot token for the confply slack bot
# usage: __slack_bot_token = "random_hex_string"
__slack_bot_token = ""
# what to send: None, failure, success, or all
# usage: slack_send = None
slack_send = "failure"
|
#
# PySNMP MIB module XEDIA-DHCP-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/XEDIA-DHCP-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 21:36:09 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
SingleValueConstraint, ValueSizeConstraint, ConstraintsUnion, ConstraintsIntersection, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueSizeConstraint", "ConstraintsUnion", "ConstraintsIntersection", "ValueRangeConstraint")
ifIndex, = mibBuilder.importSymbols("IF-MIB", "ifIndex")
ModuleCompliance, NotificationGroup, ObjectGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup")
Unsigned32, Counter32, ObjectIdentity, IpAddress, MibIdentifier, TimeTicks, Integer32, Bits, NotificationType, iso, MibScalar, MibTable, MibTableRow, MibTableColumn, Gauge32, Counter64, ModuleIdentity = mibBuilder.importSymbols("SNMPv2-SMI", "Unsigned32", "Counter32", "ObjectIdentity", "IpAddress", "MibIdentifier", "TimeTicks", "Integer32", "Bits", "NotificationType", "iso", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Gauge32", "Counter64", "ModuleIdentity")
TextualConvention, TruthValue, DisplayString, RowStatus = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "TruthValue", "DisplayString", "RowStatus")
xediaMibs, = mibBuilder.importSymbols("XEDIA-REG", "xediaMibs")
xediaDhcpMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 838, 3, 28))
if mibBuilder.loadTexts: xediaDhcpMIB.setLastUpdated('9802232155Z')
if mibBuilder.loadTexts: xediaDhcpMIB.setOrganization('Xedia Corp.')
xdhcpObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 838, 3, 28, 1))
xdhcpConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 838, 3, 28, 2))
xdhcpRelay = MibIdentifier((1, 3, 6, 1, 4, 1, 838, 3, 28, 1, 1))
xdhcpRelayMode = MibScalar((1, 3, 6, 1, 4, 1, 838, 3, 28, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('disabled')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: xdhcpRelayMode.setStatus('current')
xdhcpRelayMaxHops = MibScalar((1, 3, 6, 1, 4, 1, 838, 3, 28, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16)).clone(4)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: xdhcpRelayMaxHops.setStatus('current')
xdhcpRelayIncludeCircuitID = MibScalar((1, 3, 6, 1, 4, 1, 838, 3, 28, 1, 1, 3), TruthValue().clone('false')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: xdhcpRelayIncludeCircuitID.setStatus('current')
xdhcpRelayDestTable = MibTable((1, 3, 6, 1, 4, 1, 838, 3, 28, 1, 1, 10), )
if mibBuilder.loadTexts: xdhcpRelayDestTable.setStatus('current')
xdhcpRelayDestEntry = MibTableRow((1, 3, 6, 1, 4, 1, 838, 3, 28, 1, 1, 10, 1), ).setIndexNames((0, "XEDIA-DHCP-MIB", "xdhcpRelayDestIndex"))
if mibBuilder.loadTexts: xdhcpRelayDestEntry.setStatus('current')
xdhcpRelayDestIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 838, 3, 28, 1, 1, 10, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16)))
if mibBuilder.loadTexts: xdhcpRelayDestIndex.setStatus('current')
xdhcpRelayDestination = MibTableColumn((1, 3, 6, 1, 4, 1, 838, 3, 28, 1, 1, 10, 1, 2), DisplayString()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: xdhcpRelayDestination.setStatus('current')
xdhcpRelayDestOperAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 838, 3, 28, 1, 1, 10, 1, 3), IpAddress().clone(hexValue="00000000")).setMaxAccess("readonly")
if mibBuilder.loadTexts: xdhcpRelayDestOperAddress.setStatus('current')
xdhcpRelayDestRequests = MibTableColumn((1, 3, 6, 1, 4, 1, 838, 3, 28, 1, 1, 10, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: xdhcpRelayDestRequests.setStatus('current')
xdhcpRelayDestReplies = MibTableColumn((1, 3, 6, 1, 4, 1, 838, 3, 28, 1, 1, 10, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: xdhcpRelayDestReplies.setStatus('current')
xdhcpRelayDestProtocol = MibTableColumn((1, 3, 6, 1, 4, 1, 838, 3, 28, 1, 1, 10, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("dhcp", 1), ("bootp", 2), ("dhcpAndBootp", 3))).clone('dhcpAndBootp')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: xdhcpRelayDestProtocol.setStatus('current')
xdhcpRelayDestRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 838, 3, 28, 1, 1, 10, 1, 7), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: xdhcpRelayDestRowStatus.setStatus('current')
xdhcpRelayDestInterface = MibTableColumn((1, 3, 6, 1, 4, 1, 838, 3, 28, 1, 1, 10, 1, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 7)).clone('all')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: xdhcpRelayDestInterface.setStatus('current')
xdhcpCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 838, 3, 28, 2, 1))
xdhcpGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 838, 3, 28, 2, 2))
xdhcpCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 838, 3, 28, 2, 1, 1)).setObjects(("XEDIA-DHCP-MIB", "xdhcpAllGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
xdhcpCompliance = xdhcpCompliance.setStatus('current')
xdhcpAllGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 838, 3, 28, 2, 2, 1)).setObjects(("XEDIA-DHCP-MIB", "xdhcpRelayMode"), ("XEDIA-DHCP-MIB", "xdhcpRelayMaxHops"), ("XEDIA-DHCP-MIB", "xdhcpRelayIncludeCircuitID"), ("XEDIA-DHCP-MIB", "xdhcpRelayDestination"), ("XEDIA-DHCP-MIB", "xdhcpRelayDestOperAddress"), ("XEDIA-DHCP-MIB", "xdhcpRelayDestRequests"), ("XEDIA-DHCP-MIB", "xdhcpRelayDestReplies"), ("XEDIA-DHCP-MIB", "xdhcpRelayDestProtocol"), ("XEDIA-DHCP-MIB", "xdhcpRelayDestRowStatus"), ("XEDIA-DHCP-MIB", "xdhcpRelayDestInterface"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
xdhcpAllGroup = xdhcpAllGroup.setStatus('current')
mibBuilder.exportSymbols("XEDIA-DHCP-MIB", PYSNMP_MODULE_ID=xediaDhcpMIB, xdhcpRelayMode=xdhcpRelayMode, xdhcpRelayDestReplies=xdhcpRelayDestReplies, xdhcpRelayDestInterface=xdhcpRelayDestInterface, xdhcpRelayDestRowStatus=xdhcpRelayDestRowStatus, xdhcpRelayMaxHops=xdhcpRelayMaxHops, xdhcpCompliances=xdhcpCompliances, xdhcpGroups=xdhcpGroups, xdhcpRelayIncludeCircuitID=xdhcpRelayIncludeCircuitID, xdhcpCompliance=xdhcpCompliance, xdhcpAllGroup=xdhcpAllGroup, xdhcpConformance=xdhcpConformance, xdhcpRelayDestination=xdhcpRelayDestination, xdhcpRelayDestEntry=xdhcpRelayDestEntry, xdhcpObjects=xdhcpObjects, xdhcpRelayDestTable=xdhcpRelayDestTable, xdhcpRelayDestIndex=xdhcpRelayDestIndex, xdhcpRelay=xdhcpRelay, xdhcpRelayDestProtocol=xdhcpRelayDestProtocol, xdhcpRelayDestRequests=xdhcpRelayDestRequests, xediaDhcpMIB=xediaDhcpMIB, xdhcpRelayDestOperAddress=xdhcpRelayDestOperAddress)
|
class CustomError(Exception):
def __init__(self, *args):
if args:
self.topic = args[0]
else:
self.topic = None
def __str__(self):
if self.topic:
return 'Custom Error:, {0}'.format(self.topic)
class MessageHandler(object):
def __init__(self, event):
self.pass_event(event)
@staticmethod
def pass_event(event):
if event.get('documentType') != 'microsoft-word':
raise CustomError("Not correct document type")
|
class Solution:
# @return a string
def longestCommonPrefix(self, strs):
n = len(strs)
if n == 0:
return ''
if n == 1:
return strs[0]
prefix = ''
m = min([len(s) for s in strs])
for i in range(m):
first = strs[0]
common = True
for s in strs[1:]:
if first[i] != s[i]:
common = False
break
if not common:
break
else:
prefix += first[i]
return prefix
|
"""Shared constants."""
# Wiktionary dump URL
# {0}: current locale
# {1}: dump date
BASE_URL = "https://dumps.wikimedia.org/{0}wiktionary"
DUMP_URL = f"{BASE_URL}/{{1}}/{{0}}wiktionary-{{1}}-pages-meta-current.xml.bz2"
# GitHub stuff
# {0}: current locale
REPOS = "BoboTiG/ebook-reader-dict"
GH_REPOS = f"https://github.com/{REPOS}"
RELEASE_URL = f"https://api.github.com/repos/{REPOS}/releases/tags/{{0}}"
DOWNLOAD_URL_DICTFILE = f"{GH_REPOS}/releases/download/{{0}}/dict-{{0}}.df"
DOWNLOAD_URL_KOBO = f"{GH_REPOS}/releases/download/{{0}}/dicthtml-{{0}}.zip"
DOWNLOAD_URL_STARDICT = f"{GH_REPOS}/releases/download/{{0}}/dict-{{0}}.zip"
# HTML formatting for each word
# TODO: move that into the dict specific class
WORD_FORMAT = """
<w>
<p>
<a name="{word}"/><b>{current_word}</b>{pronunciation}{genre}
<ol>{definitions}</ol>
<br/>
{etymology}
</p>
{var}
</w>
"""
# Inline CSS for inline images handling <math> tags.
IMG_CSS = ";".join(
[
# try to keep a height proportional to the current font height
"height: 100%",
"max-height: 0.8em",
"width: auto",
# and adjust the vertical alignment to not alter the line height
"vertical-align: bottom",
]
).replace(" ", "")
|
def parseSolutions(solutions, orderList):
parsedSolutions = []
for solution in solutions:
solutionItems = solution.items()
schedule = []
finishTimes = []
for item in solutionItems:
if "enter" in item[0]:
parsedItem = item[0].split("-")
order = orderList.orderFromID(int(parsedItem[0]))
schedule.append((order, parsedItem[2], item[1]))
if "finish" in item[0]:
parsedItem = item[0].split("-")
order = orderList.orderFromID(int(parsedItem[0]))
finishTimes.append((order, item[1]))
schedule.sort(lambda a, b: cmp(a[2], b[2]))
finishTimes.sort(lambda a, b: cmp(a[1], b[1]))
parsedSolutions.append((schedule, finishTimes))
return parsedSolutions
|
# Copyright 2014-2019 Ivan Yelizariev <https://it-projects.info/team/yelizariev>
# Copyright 2015 Bassirou Ndaw <https://github.com/bassn>
# Copyright 2015 Alexis de Lattre <https://github.com/alexis-via>
# Copyright 2016-2017 Stanislav Krotov <https://it-projects.info/team/ufaks>
# Copyright 2017 Ilmir Karamov <https://it-projects.info/team/ilmir-k>
# Copyright 2017 Artyom Losev
# Copyright 2017 Lilia Salihova
# Copyright 2017-2018 Gabbasov Dinar <https://it-projects.info/team/GabbasovDinar>
# Copyright 2018 Kolushov Alexandr <https://it-projects.info/team/KolushovAlexandr>
# License MIT (https://opensource.org/licenses/MIT).
{
"name": "POS: Prepaid credits",
"summary": "Comfortable sales for your regular customers. Debt payment method for POS",
"category": "Point Of Sale",
"images": ["images/debt_notebook.png"],
"version": "12.0.5.3.2",
"author": "IT-Projects LLC, Ivan Yelizariev",
"support": "apps@itpp.dev",
"website": "https://apps.odoo.com/apps/modules/12.0/pos_debt_notebook/",
"license": "Other OSI approved licence", # MIT
"price": 280.00,
"currency": "EUR",
"external_dependencies": {"python": [], "bin": []},
"depends": ["point_of_sale"],
"data": [
"security/pos_debt_notebook_security.xml",
"data/product.xml",
"views/pos_debt_report_view.xml",
"views.xml",
"views/pos_credit_update.xml",
"wizard/pos_credit_invoices_views.xml",
"wizard/pos_credit_company_invoices_views.xml",
"data.xml",
"security/ir.model.access.csv",
],
"qweb": ["static/src/xml/pos.xml"],
"demo": ["data/demo.xml"],
"installable": True,
"uninstall_hook": "pre_uninstall",
"demo_title": "POS Debt/Credit Notebook",
"demo_addons": [],
"demo_addons_hidden": [],
"demo_url": "pos-debt-notebook",
"demo_summary": "Comfortable sales for your regular customers.",
"demo_images": ["images/debt_notebook.png"],
}
|
# -*- coding: utf-8 -*-
__author__ = 'Kris,QQ:1209304692。QQ群:知尔MOOC,760196377'
default_app_config = "operation.apps.OperationConfig"
|
""" Implement shared pieces of Erlang node negotiation and distribution
protocol
"""
DIST_VSN = 5
DIST_VSN_PAIR = (DIST_VSN, DIST_VSN)
" Supported distribution protocol version (MAX,MIN). "
def dist_version_check(max_min: tuple) -> bool:
""" Check pair of versions against version which is supported by us
:type max_min: tuple(int, int)
:param max_min: (Max, Min) version pair for peer-supported dist version
"""
return max_min[0] >= DIST_VSN >= max_min[1]
# __all__ = ['DIST_VSN', 'DIST_VSN_PAIR']
|
description = 'BOA Translations stages'
pvprefix = 'SQ:BOA:mcu2:'
devices = dict(
translation_300mm_a = device('nicos_ess.devices.epics.motor.EpicsMotor',
description = 'Translation 1',
motorpv = pvprefix + 'TVA',
errormsgpv = pvprefix + 'TVA-MsgTxt',
),
translation_300mm_b = device('nicos_ess.devices.epics.motor.EpicsMotor',
description = 'Translation 2',
motorpv = pvprefix + 'TVB',
errormsgpv = pvprefix + 'TVB-MsgTxt',
),
)
|
# Copyright (c) 2020, NVIDIA CORPORATION. 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 applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
__all__ = ['LATIN_TO_RU', 'RU_ABBREVIATIONS', 'NUMBERS_TO_ENG', 'NUMBERS_TO_RU']
LATIN_TO_RU = {
'a': 'а',
'b': 'б',
'c': 'к',
'd': 'д',
'e': 'е',
'f': 'ф',
'g': 'г',
'h': 'х',
'i': 'и',
'j': 'ж',
'k': 'к',
'l': 'л',
'm': 'м',
'n': 'н',
'o': 'о',
'p': 'п',
'q': 'к',
'r': 'р',
's': 'с',
't': 'т',
'u': 'у',
'v': 'в',
'w': 'в',
'x': 'к',
'y': 'у',
'z': 'з',
'à': 'а',
'è': 'е',
'é': 'е',
}
RU_ABBREVIATIONS = {
' р.': ' рублей',
' к.': ' копеек',
' коп.': ' копеек',
' копек.': ' копеек',
' т.д.': ' так далее',
' т. д.': ' так далее',
' т.п.': ' тому подобное',
' т. п.': ' тому подобное',
' т.е.': ' то есть',
' т. е.': ' то есть',
' стр. ': ' страница ',
}
NUMBERS_TO_ENG = {
'0': 'zero ',
'1': 'one ',
'2': 'two ',
'3': 'three ',
'4': 'four ',
'5': 'five ',
'6': 'six ',
'7': 'seven ',
'8': 'eight ',
'9': 'nine ',
}
NUMBERS_TO_RU = {
'0': 'ноль ',
'1': 'один ',
'2': 'два ',
'3': 'три ',
'4': 'четыре ',
'5': 'пять ',
'6': 'шесть ',
'7': 'семь ',
'8': 'восемь ',
'9': 'девять ',
}
|
query = """
select * from languages;
"""
query = """
select *
from games
where test=0
"""
def get_query():
query = f"SELEct max(weight) from world where ocean='Atlantic'"
return query
def get_query():
limit = 6
query = f"SELEct speed from world where animal='dolphin' limit {limit}"
return query
def return_5():
query = 'select 5'
return query
def insert():
query = '''
insert into table_name (column1, column2, column3)
values (value1, value2, value3);
'''
return query
def join():
query = '''
select Orders.OrderID, Customers.CustomerName, Orders.OrderDate
from Orders
inner join Customers on Orders.CustomerID=Customers.CustomerID;
'''
return query
|
def frac(num1,num2):
if num1 == 0 or num2 ==0:
return 0
else:
sum1 = num1 / num2
sum1 = str(sum1)
sum1 = sum1.split(".")
final = "0."+ sum1[1][0]
final = float(final)
return final
print(frac(4,1)) |
my_dict = {}
my_dict[(1,2,4)] = 8
my_dict[(4,2,1)] = 10
my_dict[(1,2)] = 12
sum = 0
for k in my_dict:
sum += my_dict[k]
print (sum)
print(my_dict)
|
def increase(colour, increments):
"""Take a colour and increase each channel by the increments given in the list"""
colour_values = [int(colour[1:3], 16), int(colour[3:5], 16), int(colour[5:], 16)]
output = [min(255, colour_values[0] + increments[0]), min(255, colour_values[1] + increments[1]), min(255, colour_values[2] + increments[2])]
output = [max(0, output[0]), max(0, output[1]), max(0, output[2])]
return '#{}{}{}'.format(hex(output[0])[2:], hex(output[1])[2:], hex(output[2])[2:])
def multiply(colour, multipliers):
"""Take a colour and multiply each channel by the multipliers given in the list"""
colour_values = [int(colour[1:3], 16), int(colour[3:5], 16), int(colour[5:], 16)]
output = [min(255, colour_values[0] * multipliers[0]), min(255, colour_values[1] * multipliers[1]), min(255, colour_values[2] * multipliers[2])]
output = [max(0, output[0]), max(0, output[1]), max(0, output[2])]
return '#{}{}{}'.format(hex(output[0])[2:], hex(output[1])[2:], hex(output[2])[2:]) |
user = input("Say something! ")
print(user.upper())
print(user.lower())
print(user.swapcase())
|
# 1. The code below prints the numbers from 1 to 50. Rewrite the code using a while loop to
# accomplish the same thing.
# for i in range(1,51):
# print(i)
i = 1
while i <= 50:
print(i)
i += 1
|
#!/usr/bin/env python
def vowel_percent(in_str):
vowels = 'aeiou'
consonants = 'bcdfghjklmnpqrstvwxyz'
vowel_count = 0
consonant_count = 0
total = 0
for a_char in in_str:
if a_char in vowels or a_char in consonants:
total += 1 # only increment total for letters, not space/punctuation
if a_char in vowels:
vowel_count += 1
else:
consonant_count += 1
if total != 0: # don't want to divide by zero
_vowel_percent = (100.0*vowel_count)/total
else:
_vowel_percent = 0.0
print("Letters in string '{}' are {:.2f} percent vowels.".
format(in_str, _vowel_percent))
def main():
vowel_percent('The quick brown fox jumped over the lazy dog')
vowel_percent('XYZ')
if __name__ == '__main__':
main()
|
#Code written by Ryan Helgoth
class Solution:
def twoSum(self, nums: List[int], target: int) -> List[int]:
sol = []
for i in range(len(nums)):
currentNum = nums[i]
if currentNum <= target:
amountLeft = target - currentNum
try:
index1 = i
index2 = nums.index(amountLeft)
if index1 != index2:
print("Solution found on itteration number {}".format(i+1))
return [index1, index2]
else:
print("Solution not found on itteration number {}".format(i+1))
except ValueError:
print("Solution not found on itteration number {}".format(i+1)) |
"""
list列表使用lambda自定义排序, list.sort(lambda)
lambda中拿出alist中的每一项temp,按照temp["name"]进行排序
"""
a_list = [
{"name": "张三", "age":19},
{"name": "李四", "age":18},
{"name": "王五", "age":20}
]
a_list.sort(key=lambda temp: temp["age"],reverse=True)
print(a_list)
# list中包含多个list,嵌套list,按照元素的第二个数字进行排序
b_list = [[5, 3, 5], [1, 1, 3], [9, 1, 12]]
b_list.sort(key=lambda temp:temp[1])
print(b_list)
"""
列表推导式只能创建**有规律**的列表:
列表名 = [temp for temp in range(100) if temp % 2 == 0], temp是要往list中添加的值
"""
c_list = []
for i in range(100):
c_list.append(i)
print(c_list)
d_list = [temp for temp in range(100)] # 列表推导式
print(d_list)
e_list = [temp for temp in range(100) if temp % 2 == 0]
print(e_list)
# 添加3个形同的元素
f_list = ["Hello World %i" % i for i in range(3)]
print(f_list)
# 列表中装有三个元祖()
g_list = []
for i in range(3):
for j in range(2):
g_list.append((i,j))
print(g_list)
h_list = [(i, j) for i in range(3) for j in range(2)]
print(h_list)
# 列表的切片 list[start: end]
j_list = [temp for temp in range(1, 12)]
print(j_list[0: 3]) # [1,2,3]
print(j_list[3: 6]) # [4,5,6]
"""
将[1,2,3,4,5,6,7,8,9,10,11,12] -> list中套用三个一组的小list
列表中的每一项为j_list[temp: temp+3], 三个一组的小列表
temp每一次的取值为range(0, len(j_list), 3) -> 0,3,6,9
导致小列表的切片们j_list[0: 3], j_list[3: 6], j_list[6: 9]等规律
输出结果为: [[1, 2, 3], [4, 5, 6], [7, 8, 9], [10, 11]]
"""
k_list = [temp for temp in range(1,13)]
l_list = [k_list[temp: temp + 3] for temp in range(0, len(k_list), 3)]
print(l_list)
"""
引用,int是不可变的数据类型
不可变的数据类型,函数内进行修改的话是重新开一个房间,不会影响全局变量的值
可变的话,就直接在本身进行修改,只有一个房间
1- 如果要避免[1],[1,1],[1,1,1]的话要在程序运行的时候不能使用同一个m_list去append
2- 做法是:将缺省的形参设置为None类型,None类型也是会开辟空间的id()
3- 每次进入都直接创建新的[]去append,这样就不会重复使用同一个[]
"""
def a_func(m_list=[]):
a_list.append(1)
print(m_list)
a_func()
a_func()
a_func()
def b_func(n_list=None):
if n_list is None:
n_list = []
n_list.append(1)
print(b_list)
b_func()
b_func()
b_func()
|
# -*- coding: utf-8 -*-
"""
Created on Sat Dec 14 09:13:30 2019
@author: NOTEBOOK
"""
def main():
g = 'green'
o = 'orange'
p = 'purple'
print('')
print('Welcome to your Color mixing application '+
'Please be aware that you can only input '+
'primary colours(red,blue,yellow)')
slot_1 = input('Enter color 1: ')
slot_2 = input('Enter color 2: ')
print('')
if (slot_1 == 'red' and slot_2 == 'blue') \
or (slot_1 == 'blue' and slot_2 == 'red'):
print ('Colour mixture results in', p)
elif (slot_1 == 'red' and slot_2 == 'yellow')\
or (slot_1 == 'yellow' and slot_2 == 'red'):
print ('Colour mixture results in', o)
elif (slot_1 == 'yellow' and slot_2 == 'blue') \
or (slot_1 == 'blue' and slot_2 == 'yellow'):
print ('Colour mixture results in', g)
else:
print('')
print('Error!!!! please input primary colors only!!')
main()
|
class UsersPage:
TITLE = "All users"
INVITE_BUTTON = "Invite a new user"
MANAGE_ROLES_BUTTON = "Manage roles"
INVITE_SUCCESSFUL_BANNER = "User has been invited successfully"
class Table:
NAME = "Name"
EMAIL = "Email"
TEAM = "Team"
ROLE = "Role"
STATUS = "Status"
ACTIONS = "Actions"
PENDING = "Pending"
VIEW = "View"
class UserProfile:
BACK_LINK = "Back to " + UsersPage.TITLE.lower()
EDIT_BUTTON = "Edit user"
REACTIVATE_BUTTON = "Reactivate user"
DEACTIVATE_BUTTON = "Deactivate user"
class SummaryList:
FIRST_NAME = "First name"
LAST_NAME = "Last name"
EMAIL = "Email"
TEAM = "Team"
ROLE = "Role"
CHANGE = "Change"
DEFAULT_QUEUE = "Default queue"
class AddUserForm:
BACK_LINK = "Back to " + UsersPage.TITLE.lower()
TITLE = "Invite a user"
class Email:
TITLE = "Email"
DESCRIPTION = ""
class Team:
TITLE = "Team"
DESCRIPTION = ""
class Role:
TITLE = "Role"
DESCRIPTION = ""
class DefaultQueue:
TITLE = "Default queue"
DESCRIPTION = ""
class EditUserForm:
BACK_LINK = "Back to {0} {1}"
TITLE = "Edit {0} {1}"
SUBMIT_BUTTON = "Save and return"
class Email:
TITLE = "Email"
DESCRIPTION = ""
class Team:
TITLE = "Team"
DESCRIPTION = ""
class Role:
TITLE = "Role"
DESCRIPTION = ""
class DefaultQueue:
TITLE = "Default queue"
DESCRIPTION = ""
class ManagePage:
MANAGE_ROLES = "Manage roles"
PENDING = "Pending"
REACTIVATE_USER = "Reactivate user"
DEACTIVATE_USER = "Deactivate user"
CANCEL = "Cancel"
class AssignUserPage:
USER_ERROR_MESSAGE = "Select or search for the user you want to assign the case to"
QUEUE_ERROR_MESSAGE = "Select or search for a team queue"
|
SETTINGS = {
"FPS": 60,
"WIDTH": 1280,
"HEIGHT": 720,
"SOUNDS_VOLUME": 1.0,
"MUSICS_VOLUME": 0.1
} |
"""
Custom error classes
"""
class GenerationError(Exception):
pass
class TooManyInvalidError(RuntimeError):
pass
|
#
# PySNMP MIB module BAS-SONET-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/BAS-SONET-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 17:17:54 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
OctetString, ObjectIdentifier, Integer = mibBuilder.importSymbols("ASN1", "OctetString", "ObjectIdentifier", "Integer")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ValueRangeConstraint, SingleValueConstraint, ValueSizeConstraint, ConstraintsIntersection, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "SingleValueConstraint", "ValueSizeConstraint", "ConstraintsIntersection", "ConstraintsUnion")
basSonet, = mibBuilder.importSymbols("BAS-MIB", "basSonet")
ifIndex, = mibBuilder.importSymbols("IF-MIB", "ifIndex")
ObjectGroup, NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "NotificationGroup", "ModuleCompliance")
Integer32, MibScalar, MibTable, MibTableRow, MibTableColumn, iso, IpAddress, ModuleIdentity, TimeTicks, Bits, Counter64, ObjectIdentity, MibIdentifier, Gauge32, Counter32, NotificationType, Unsigned32 = mibBuilder.importSymbols("SNMPv2-SMI", "Integer32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "iso", "IpAddress", "ModuleIdentity", "TimeTicks", "Bits", "Counter64", "ObjectIdentity", "MibIdentifier", "Gauge32", "Counter32", "NotificationType", "Unsigned32")
TimeStamp, TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TimeStamp", "TextualConvention", "DisplayString")
basSonetMib = ModuleIdentity((1, 3, 6, 1, 4, 1, 3493, 2, 20, 1))
if mibBuilder.loadTexts: basSonetMib.setLastUpdated('9810071415Z')
if mibBuilder.loadTexts: basSonetMib.setOrganization('Broadband Access Systems')
basSonetObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 3493, 2, 20, 1, 1))
basSonetPathTable = MibTable((1, 3, 6, 1, 4, 1, 3493, 2, 20, 1, 1, 1), )
if mibBuilder.loadTexts: basSonetPathTable.setStatus('current')
basSonetPathEntry = MibTableRow((1, 3, 6, 1, 4, 1, 3493, 2, 20, 1, 1, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: basSonetPathEntry.setStatus('current')
basSonetPathB3Err = MibTableColumn((1, 3, 6, 1, 4, 1, 3493, 2, 20, 1, 1, 1, 1, 1), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: basSonetPathB3Err.setStatus('current')
basSonetPathG1Err = MibTableColumn((1, 3, 6, 1, 4, 1, 3493, 2, 20, 1, 1, 1, 1, 2), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: basSonetPathG1Err.setStatus('current')
basSonetPathPais = MibTableColumn((1, 3, 6, 1, 4, 1, 3493, 2, 20, 1, 1, 1, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: basSonetPathPais.setStatus('current')
basSonetPathPrdi = MibTableColumn((1, 3, 6, 1, 4, 1, 3493, 2, 20, 1, 1, 1, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: basSonetPathPrdi.setStatus('current')
basSonetPathPlop = MibTableColumn((1, 3, 6, 1, 4, 1, 3493, 2, 20, 1, 1, 1, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: basSonetPathPlop.setStatus('current')
basSonetPathB3Threshold = MibTableColumn((1, 3, 6, 1, 4, 1, 3493, 2, 20, 1, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(3, 9)).clone(6)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: basSonetPathB3Threshold.setStatus('current')
basSonetPathRxJ1 = MibTableColumn((1, 3, 6, 1, 4, 1, 3493, 2, 20, 1, 1, 1, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: basSonetPathRxJ1.setStatus('current')
basSonetPathRxC2 = MibTableColumn((1, 3, 6, 1, 4, 1, 3493, 2, 20, 1, 1, 1, 1, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: basSonetPathRxC2.setStatus('current')
basSonetPathRxG1 = MibTableColumn((1, 3, 6, 1, 4, 1, 3493, 2, 20, 1, 1, 1, 1, 9), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: basSonetPathRxG1.setStatus('current')
basSonetLineTable = MibTable((1, 3, 6, 1, 4, 1, 3493, 2, 20, 1, 1, 2), )
if mibBuilder.loadTexts: basSonetLineTable.setStatus('current')
basSonetLineEntry = MibTableRow((1, 3, 6, 1, 4, 1, 3493, 2, 20, 1, 1, 2, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: basSonetLineEntry.setStatus('current')
basSonetLineTxErr = MibTableColumn((1, 3, 6, 1, 4, 1, 3493, 2, 20, 1, 1, 2, 1, 1), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: basSonetLineTxErr.setStatus('current')
basSonetLineB1Err = MibTableColumn((1, 3, 6, 1, 4, 1, 3493, 2, 20, 1, 1, 2, 1, 2), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: basSonetLineB1Err.setStatus('current')
basSonetLineB2Err = MibTableColumn((1, 3, 6, 1, 4, 1, 3493, 2, 20, 1, 1, 2, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: basSonetLineB2Err.setStatus('current')
basSonetLineM1Err = MibTableColumn((1, 3, 6, 1, 4, 1, 3493, 2, 20, 1, 1, 2, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: basSonetLineM1Err.setStatus('current')
basSonetLineRxFifoOverflow = MibTableColumn((1, 3, 6, 1, 4, 1, 3493, 2, 20, 1, 1, 2, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: basSonetLineRxFifoOverflow.setStatus('current')
basSonetLineRxAbort = MibTableColumn((1, 3, 6, 1, 4, 1, 3493, 2, 20, 1, 1, 2, 1, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: basSonetLineRxAbort.setStatus('current')
basSonetLineRxRunts = MibTableColumn((1, 3, 6, 1, 4, 1, 3493, 2, 20, 1, 1, 2, 1, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: basSonetLineRxRunts.setStatus('current')
basSonetLineLoc = MibTableColumn((1, 3, 6, 1, 4, 1, 3493, 2, 20, 1, 1, 2, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: basSonetLineLoc.setStatus('current')
basSonetLineLof = MibTableColumn((1, 3, 6, 1, 4, 1, 3493, 2, 20, 1, 1, 2, 1, 9), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: basSonetLineLof.setStatus('current')
basSonetLineLos = MibTableColumn((1, 3, 6, 1, 4, 1, 3493, 2, 20, 1, 1, 2, 1, 10), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: basSonetLineLos.setStatus('current')
basSonetLineLais = MibTableColumn((1, 3, 6, 1, 4, 1, 3493, 2, 20, 1, 1, 2, 1, 11), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: basSonetLineLais.setStatus('current')
basSonetLineLrdi = MibTableColumn((1, 3, 6, 1, 4, 1, 3493, 2, 20, 1, 1, 2, 1, 12), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: basSonetLineLrdi.setStatus('current')
basSonetLineB1Threshold = MibTableColumn((1, 3, 6, 1, 4, 1, 3493, 2, 20, 1, 1, 2, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(3, 9)).clone(6)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: basSonetLineB1Threshold.setStatus('current')
basSonetLineB2Threshold = MibTableColumn((1, 3, 6, 1, 4, 1, 3493, 2, 20, 1, 1, 2, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(3, 9)).clone(6)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: basSonetLineB2Threshold.setStatus('current')
basSonetLineSFThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 3493, 2, 20, 1, 1, 2, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(3, 9)).clone(3)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: basSonetLineSFThreshold.setStatus('current')
basSonetLineSDThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 3493, 2, 20, 1, 1, 2, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(3, 9)).clone(6)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: basSonetLineSDThreshold.setStatus('current')
basSonetLineLastCleared = MibTableColumn((1, 3, 6, 1, 4, 1, 3493, 2, 20, 1, 1, 2, 1, 17), TimeStamp()).setMaxAccess("readonly")
if mibBuilder.loadTexts: basSonetLineLastCleared.setStatus('current')
basSonetLineRxK1 = MibTableColumn((1, 3, 6, 1, 4, 1, 3493, 2, 20, 1, 1, 2, 1, 18), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: basSonetLineRxK1.setStatus('current')
basSonetLineRxK2 = MibTableColumn((1, 3, 6, 1, 4, 1, 3493, 2, 20, 1, 1, 2, 1, 19), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: basSonetLineRxK2.setStatus('current')
basSonetLineRxGiants = MibTableColumn((1, 3, 6, 1, 4, 1, 3493, 2, 20, 1, 1, 2, 1, 20), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: basSonetLineRxGiants.setStatus('current')
mibBuilder.exportSymbols("BAS-SONET-MIB", basSonetPathRxG1=basSonetPathRxG1, basSonetLineB2Threshold=basSonetLineB2Threshold, basSonetPathPais=basSonetPathPais, basSonetLineRxFifoOverflow=basSonetLineRxFifoOverflow, basSonetLineTable=basSonetLineTable, basSonetLineRxK1=basSonetLineRxK1, basSonetLineLos=basSonetLineLos, basSonetLineB1Threshold=basSonetLineB1Threshold, basSonetPathRxJ1=basSonetPathRxJ1, basSonetPathG1Err=basSonetPathG1Err, basSonetLineB2Err=basSonetLineB2Err, basSonetObjects=basSonetObjects, basSonetPathB3Err=basSonetPathB3Err, basSonetLineLoc=basSonetLineLoc, basSonetLineRxRunts=basSonetLineRxRunts, basSonetLineSDThreshold=basSonetLineSDThreshold, basSonetLineLais=basSonetLineLais, basSonetLineRxK2=basSonetLineRxK2, basSonetPathEntry=basSonetPathEntry, PYSNMP_MODULE_ID=basSonetMib, basSonetLineSFThreshold=basSonetLineSFThreshold, basSonetLineM1Err=basSonetLineM1Err, basSonetLineRxAbort=basSonetLineRxAbort, basSonetLineLof=basSonetLineLof, basSonetLineLrdi=basSonetLineLrdi, basSonetLineLastCleared=basSonetLineLastCleared, basSonetPathPrdi=basSonetPathPrdi, basSonetPathPlop=basSonetPathPlop, basSonetLineRxGiants=basSonetLineRxGiants, basSonetLineEntry=basSonetLineEntry, basSonetPathB3Threshold=basSonetPathB3Threshold, basSonetLineB1Err=basSonetLineB1Err, basSonetLineTxErr=basSonetLineTxErr, basSonetMib=basSonetMib, basSonetPathRxC2=basSonetPathRxC2, basSonetPathTable=basSonetPathTable)
|
class Question:
def __init__(self, prompt, answer):
self.prompt = prompt
self.answer = answer
question_prompt = ["what is my name? \n" , "When was I born? \n", "Name my by color \n"]
questions = [Question(question_prompt[0], "Michael"),
Question(question_prompt[1], 2002),
Question(question_prompt[2], "blue")]
def score(questions):
score = 0
for question in questions:
answer = input(question.prompt)
if answer == question.answer:
score += 1
print("You got " + str(score) + "/" + str(len(questions)))
score(questions) |
"""
Recursivly compute the Fibonacci sequence
"""
def rec_fib(n):
if n == 1:
return 1
elif n == 0:
return 0
else:
return rec_fib(n-1)+rec_fib(n-2)
def main():
n : int = int(input("n := "))
for i in range(0, n):
print(rec_fib(i))
if __name__ == "__main__":
main()
|
Scale.default = Scale.egyptian
Root.default = 0
Clock.bpm = 120
print(SynthDefs)
print(BufferManager())
print(Player.get_attributes())
p1 >> play(
P["@+ET"],
).every(3, "stutter", dur=1/2)
p1 >> play(
P["V+EA"],
).every(3, "stutter", dur=1/2)
p2 >> play(
P["<X >< n >"],#.layer("mirror"),
sample = 2,
)
p2.stop()
p3.stop()
p4.stop()
p5 >> play(
P["{ pPpP[pp][PP][pP][Pp]}"],
dur = 1/2,
sample = 1,
amp = 2
)
v1chop = 128 # 16, 32, 48, 56, 64, 128, 256
v1 >> varsaw(
[(0,1),(4,5),(1,2),(5,6),(8,9)],
oct = 4,
dur = [8,8,8,4,4],
sus = [8,8,8,4,4],
pan = (-1, 1),
slide = 0,
chop = [v1chop]*3+[v1chop/2]*2,
)
d1 >> dub(
[0,4,1,5,8],
oct = 3,
dur = [8]*3+[4]*2,
sus = [8]*3+[4]*2,
pan = (-1,1),
hpf = 100
)
# ================================
|
# coding: utf-8
def check(a,b,s,ans):
for j in range(b):
if [s[k] for k in range(12) if k%b==j].count('X')==a:
ans.append('%dx%d'%(a,b))
return ans
return ans
t = int(input())
for i in range(t):
ans = []
s = input()
ans = check(1,12,s,ans)
ans = check(2,6,s,ans)
ans = check(3,4,s,ans)
ans = check(4,3,s,ans)
ans = check(6,2,s,ans)
ans = check(12,1,s,ans)
if ans:
print(len(ans),' '.join(ans))
else:
print(0)
|
# def a_calculateRectangleArea():
# print (5 * 7)
# def b_calculateRectangleArea(x, y):
# print (x * y)
# print(b_calculateRectangleArea(4, 8))
# def c_calculateRectangleArea():
# return 5 * 7
def d_calculateRectangleArea(x, y):
print("함수 안에 있습니다")
return (x * y)
print(d_calculateRectangleArea(5,7))
|
"""
Crie um programa que gerencie o aproveitamento de um jogador
de futebol. O programa vai ler o nome do jogador e quantas
partidas ele jogou. Depois vai ler a quantidade de gols feitp em
cada partida. No final, tudo isso será guardado em um dicionário,
incluindo o total de gols feito durante o campeonato.
"""
dic = {}
gols = []
dic['nome'] = input('Nome do jogador: ')
part = int(input(f'Quantas partidas {dic["nome"]} jogou? '))
for g in range(0, part):
gols.append(int(input(f'Quantos gols na partida {g}: ')))
dic['gols'] = gols[:]
dic['total'] = sum(gols)
print('='*30)
print(dic)
print('='*30)
for k,v in dic.items():
print(f'O campo {k} tem o valor {v}.')
print('='*30)
print(f'O jogador {dic["nome"]} jogou {len(dic["gols"])} partidas.')
for p, g in enumerate(gols):
print(f'=> Na partida {p}, fez {g} gols.')
print(f'Foi um total de {sum(gols)} gols.') |
def linha():
print('-=' * 10)
times = ('Palmeiras','Atlético-MG','Fortaleza','Bragantino','Athletico-PR','Flamengo','Ceará','Atlético-GO','Bahia','Corinthians','Fluminense','Santos','Juventude','Internacional','Cuiabá','Sport','São Paulo','América-MG','Grêmio','Chapecoense')
linha()
print(f'Lista de times do Brasileirão: {times}')
linha()
print(f'Os 5 primeiros são: {times[0:5]}')
linha()
print(f'Os 4 últimos são: {times[len(times) - 4:len(times)]}')
linha()
print(f'Em ordem alfabética: {sorted(times)}')
linha()
print(f'A chapecoense está em {times.index("Chapecoense") + 1}º\n')
sair = input("ENTER para sair... ")
|
# !/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Name this module.
This is blank
"""
|
## @ StitchIfwi.py
# This is an IFWI stitch config script for Slim Bootloader
#
# Copyright (c) 2020, Intel Corporation. All rights reserved. <BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##
extra_usage_txt = \
"""This is an IFWI stitch config script for Slim Bootloader For the FIT tool and
stitching ingredients listed in step 2 below, please contact your Intel representative.
1. Create a stitching workspace directory. The paths mentioned below are all
relative to it.
2. Extract required tools and ingredients to stitching workspace.
- FIT tool
Copy 'fit.exe' or 'fit' and 'vsccommn.bin' to 'Fit' folder
- BPMGEN2 Tool
Copy the contents of the tool to Bpmgen2 folder
Rename the bpmgen2 parameter to bpmgen2.params if its name is not this name.
- Components
Copy 'cse_image.bin' to 'Input/cse_image.bin'
Copy PMC firmware image to 'Input/pmc.bin'.
Copy EC firmware image to 'Input/ec.bin'.
copy ECregionpointer.bin to 'Input/ecregionpointer.bin'
Copy GBE binary image to 'Input/gbe.bin'.
Copy ACM firmware image to 'Input/acm.bin'.
3. Openssl
Openssl is required for stitch. the stitch tool will search evn OPENSSL_PATH,
to find Openssl. If evn OPENSSL_PATH is not found, will find openssl from
"C:\\Openssl\\Openssl"
4. Stitch the final image
EX:
Assuming stitching workspace is at D:\Stitch and building ifwi for CMLV platform
To stitch IFWI with SPI QUAD mode and Boot Guard profile VM:
StitchIfwi.py -b vm -p cmlv -w D:\Stitch -s Stitch_Components.zip -c StitchIfwiConfig.py
"""
def get_bpmgen2_params_change_list ():
params_change_list = []
params_change_list.append ([
# variable | value |
# ===================================
('PlatformRules', 'CMLV Embedded'),
('BpmStrutVersion', '0x20'),
('BpmRevision', '0x01'),
('BpmRevocation', '1'),
('AcmRevocation', '2'),
('NEMPages', '3'),
('IbbFlags', '0x2'),
('IbbHashAlgID', '0x0B:SHA256'),
('TxtInclude', 'FALSE'),
('PcdInclude', 'TRUE'),
('BpmSigScheme', '0x14:RSASSA'),
('BpmSigPubKey', r'Bpmgen2\keys\bpm_pubkey_2048.pem'),
('BpmSigPrivKey', r'Bpmgen2\keys\bpm_privkey_2048.pem'),
('BpmKeySizeBits', '2048'),
('BpmSigHashAlgID', '0x0B:SHA256'),
])
return params_change_list
def get_platform_sku():
platform_sku ={
'cmlv' : 'H410'
}
return platform_sku
def get_oemkeymanifest_change_list():
xml_change_list = []
xml_change_list.append ([
# Path | value |
# =========================================================================================
('./KeyManifestEntries/KeyManifestEntry/Usage', 'OemDebugManifest'),
('./KeyManifestEntries/KeyManifestEntry/HashBinary', 'Temp/kmsigpubkey.hash'),
])
return xml_change_list
def get_xml_change_list (platform, spi_quad):
xml_change_list = []
xml_change_list.append ([
# Path | value |
# =========================================================================================
#Region Order
('./BuildSettings/BuildResults/RegionOrder', '45321'),
('./FlashLayout/DescriptorRegion/OemBinary', '$SourceDir\OemBinary.bin'),
('./FlashLayout/BiosRegion/InputFile', '$SourceDir\BiosRegion.bin'),
('./FlashLayout/Ifwi_IntelMePmcRegion/MeRegionFile', '$SourceDir\MeRegionFile.bin'),
('./FlashLayout/Ifwi_IntelMePmcRegion/PmcBinary', '$SourceDir\PmcBinary.bin'),
('./FlashLayout/EcRegion/InputFile', '$SourceDir\EcRegion.bin'),
('./FlashLayout/EcRegion/Enabled', 'Enabled'),
('./FlashLayout/EcRegion/EcRegionPointer', '$SourceDir\EcRegionPointer.bin'),
('./FlashLayout/GbeRegion/InputFile', '$SourceDir\GbeRegion.bin'),
('./FlashLayout/GbeRegion/Enabled', 'Enabled'),
('./FlashLayout/SubPartitions/PchcSubPartitionData/InputFile', '$SourceDir\PchcSubPartitionData.bin'),
('./FlashSettings/FlashComponents/FlashComponent1Size', '32MB'),
('./FlashSettings/FlashComponents/SpiResHldDelay', '8us'),
('./FlashSettings/VsccTable/VsccEntries/VsccEntry/VsccEntryName', 'VsccEntry0'),
('./FlashSettings/VsccTable/VsccEntries/VsccEntry/VsccEntryVendorId', '0xEF'),
('./FlashSettings/VsccTable/VsccEntries/VsccEntry/VsccEntryDeviceId0', '0x40'),
('./FlashSettings/VsccTable/VsccEntries/VsccEntry/VsccEntryDeviceId1', '0x19'),
('./IntelMeKernel/IntelMeBootConfiguration/PrtcBackupPower', 'None'),
('./PlatformProtection/ContentProtection/Lspcon4kdisp', 'PortD'),
('./PlatformProtection/PlatformIntegrity/OemPublicKeyHash', '4D 19 B4 F2 3F F9 17 0C 2C 46 B3 D7 6B F0 59 19 A7 FA 8B 6B 11 3D F5 3C 86 C0 E8 00 3C 23 A8 DC'),
('./PlatformProtection/PlatformIntegrity/OemExtInputFile', '$SourceDir\OemExtInputFile.bin'),
('./PlatformProtection/BootGuardConfiguration/BtGuardKeyManifestId', '0x1'),
('./PlatformProtection/IntelPttConfiguration/PttSupported', 'No'),
('./PlatformProtection/IntelPttConfiguration/PttPwrUpState', 'Disabled'),
('./PlatformProtection/IntelPttConfiguration/PttSupportedFpf', 'No'),
('./PlatformProtection/TpmOverSpiBusConfiguration/SpiOverTpmBusEnable', 'Yes'),
('./Icc/IccPolicies/Profiles/Profile/ClockOutputConfiguration/ClkoutSRC3', 'Disabled'),
('./Icc/IccPolicies/Profiles/Profile/ClockOutputConfiguration/ClkoutSRC6', 'Disabled'),
('./Icc/IccPolicies/Profiles/Profile/ClockOutputConfiguration/ClkoutSRC9', 'Disabled'),
('./Icc/IccPolicies/Profiles/Profile/ClockOutputConfiguration/ClkoutSRC10', 'Disabled'),
('./Icc/IccPolicies/Profiles/Profile/ClockOutputConfiguration/ClkoutSRC11', 'Disabled'),
('./Icc/IccPolicies/Profiles/Profile/ClockOutputConfiguration/ClkoutSRC12', 'Disabled'),
('./Icc/IccPolicies/Profiles/Profile/ClockOutputConfiguration/ClkoutSRC13', 'Disabled'),
('./Icc/IccPolicies/Profiles/Profile/ClockOutputConfiguration/ClkoutSRC14', 'Disabled'),
('./Icc/IccPolicies/Profiles/Profile/ClockOutputConfiguration/ClkoutSRC15', 'Disabled'),
('./NetworkingConnectivity/WiredLanConfiguration/GbePCIePortSelect', 'Port13'),
('./NetworkingConnectivity/WiredLanConfiguration/PhyConnected', 'PHY on SMLink0'),
('./InternalPchBuses/PchTimerConfiguration/t573TimingConfig', '100ms'),
('./InternalPchBuses/PchTimerConfiguration/TscClearWarmReset', 'Yes'),
('./Debug/IntelTraceHubTechnology/UnlockToken', '$SourceDir\\UnlockToken.bin'),
('./Debug/EspiFeatureOverrides/EspiEcLowFreqOvrd', 'Yes'),
('./CpuStraps/PlatformImonDisable', 'Enabled'),
('./CpuStraps/IaVrOffsetVid', 'No'),
('./StrapsDifferences/PCH_Strap_CSME_SMT2_TCOSSEL_Diff', '0x00000000'),
('./StrapsDifferences/PCH_Strap_CSME_SMT3_TCOSSEL_Diff', '0x00000000'),
('./StrapsDifferences/PCH_Strap_PN1_RPCFG_2_Diff', '0x00000003'),
('./StrapsDifferences/PCH_Strap_PN2_RPCFG_2_Diff', '0x00000003'),
('./StrapsDifferences/PCH_Strap_ISH_ISH_BaseClass_code_SoftStrap_Diff', '0x00000000'),
('./StrapsDifferences/PCH_Strap_SMB_spi_strap_smt3_en_Diff', '0x00000001'),
('./StrapsDifferences/PCH_Strap_GBE_SMLink1_Frequency_Diff', '0x00000001'),
('./StrapsDifferences/PCH_Strap_GBE_SMLink3_Frequency_Diff', '0x00000003'),
('./StrapsDifferences/PCH_Strap_USBX_XHC_PORT6_OWNERSHIP_STRAP_Diff', '0x00000000'),
('./StrapsDifferences/PCH_Strap_USBX_XHC_PORT5_OWNERSHIP_STRAP_Diff', '0x00000000'),
('./StrapsDifferences/PCH_Strap_USBX_XHC_PORT2_OWNERSHIP_STRAP_Diff', '0x00000000'),
('./StrapsDifferences/PCH_Strap_PMC_MMP0_DIS_STRAP_Diff', '0x00000001'),
('./StrapsDifferences/PCH_Strap_PMC_EPOC_DATA_STRAP_Diff', '0x00000002'),
('./StrapsDifferences/PCH_Strap_spth_modphy_softstraps_com1_com0_pllwait_cntr_2_0_Diff', '0x00000001'),
('./StrapsDifferences/PCH_Strap_SPI_SPI_EN_D0_DEEP_PWRDN_Diff', '0x00000000'),
('./StrapsDifferences/PCH_Strap_SPI_cs1_respmod_dis_Diff', '0x00000000'),
('./StrapsDifferences/PCH_Strap_DMI_OPDMI_LW_Diff', '0x00000003'),
('./StrapsDifferences/PCH_Strap_DMI_OPDMI_TLS_Diff', '0x00000003'),
('./StrapsDifferences/PCH_Strap_DMI_OPDMI_PAD_Diff', '0x0000000F'),
('./StrapsDifferences/PCH_Strap_DMI_OPDMI_ECCE_Diff', '0x00000001'),
('./FlexIO/IntelRstForPcieConfiguration/RstPCIeController3', '1x4'),
('./FlexIO/PcieLaneReversalConfiguration/PCIeCtrl3LnReversal', 'No'),
('./FlexIO/SataPcieComboPortConfiguration/SataPCIeComboPort2', 'PCIe'),
('./FlexIO/SataPcieComboPortConfiguration/SataPCIeComboPort4', 'SATA'),
('./FlexIO/SataPcieComboPortConfiguration/SataPCIeComboPort5', 'SATA'),
('./FlexIO/Usb3PortConfiguration/USB3PCIeComboPort2', 'PCIe'),
('./FlexIO/PcieGen3PllClockControl/PCIeSecGen3PllEnable', 'Yes'),
('./IntelPreciseTouchAndStylus/IntelPreciseTouchAndStylusConfiguration/Touch1MaxFreq', '17 MHz'),
('./FWUpdateImage/FWMeRegion/InputFile', '$SourceDir\FWMeRegion.bin'),
('./FWUpdateImage/FWPmcRegion/InputFile', '$SourceDir\FWPmcRegion.bin'),
('./FWUpdateImage/FWOemKmRegion/InputFile', '$SourceDir\FWOemKmRegion.bin'),
('./FWUpdateImage/FWPchcRegion/InputFile', '$SourceDir\FWPchcRegion.bin'),
('./FlashSettings/BiosConfiguration/TopSwapOverride', '256KB'),
])
return xml_change_list
def get_component_replace_list():
replace_list = [
# Path file name compress Key
('IFWI/BIOS/TS0/ACM0', 'Input/acm.bin', 'dummy', ''),
('IFWI/BIOS/TS1/ACM0', 'Input/acm.bin', 'dummy', ''),
]
return replace_list
|
####################################SLICING######################################
# x[start:stop:step]
# result starts at <start> including it
# result ends at <stop> excluding it
# optional third argument determines which arguments are carved out (default is 1)
# slice assgnments ->
###################################EJEMPLO1######################################
letters_amazon = '''
We spent several years building our own database engine,
Amazon Aurora, a fully-managed MySQL and PostgreSQL-compatible
service with the same or better durability and availability as
the commercial engines, but at one-tenth of the cost. We were
not surprised when this worked.
'''
find = lambda x, q: x[x.find(q)-18:x.find(q)+18] if q in x else -1
print( find(letters_amazon, 'SQL') )
###################################EJEMPLO2######################################
price = [[9.9, 9.8, 9.8, 9.4, 9.5, 9.7],
[9.5, 9.4, 9.4, 9.3, 9.2, 9.1],
[8.4, 7.9, 7.9, 8.1, 8.0, 8.0],
[7.1, 5.9, 4.8, 4.8, 4.7, 3.9]]
sample = [line[::2] for line in price]
print(sample)
###################################EJEMPLO3######################################
visitors = ['Firefox', 'corrupted', 'Chrome', 'corrupted',
'Safari', 'corrupted', 'Safari', 'corrupted',
'Chrome', 'corrupted', 'Firefox', 'corrupted']
visitors[1::2] = visitors[::2]
print(visitors) |
# Python program to find largest
# number in a list
# list of numbers
list1 = [10, 20, 4, 45, 99]
# printing the maximum element
print("Largest element is:", max(list1))
|
"""
Colours used in Capel & Mortlock (2019).
"""
darkblue = '#114A56'
midblue = '#1A7282'
lightblue = '#6DA5AF'
lightpurple = '#875F74'
purple = '#592441'
grey = '#BEC1C2'
lightgrey = '#F9F9F9'
darkgrey= '#464747'
white = '#FFFFFF'
|
t = int(input())
visit = None
sequence = None
def dfs(x, y, r, c, dist):
global visit, sequence
visit[x][y] = True
# print(x, y, dist)
# print(visit)
sequence[x][y] = dist
if dist == r * c - 1:
return True
for nx in range(r):
for ny in range(c):
if visit[nx][ny] or nx == x or ny == y or ((nx - ny) == (x - y)) or ((nx + ny) == (x + y)):
continue
if dfs(nx, ny, r, c, dist + 1):
return True
visit[x][y] = False
return False
def ainit(r, c, v):
ret = []
for _ in range(r):
ret.append([False] * c)
return ret
def printAnswer(r, c):
a = [None] * (r * c)
for i in range(r):
for j in range(c):
a[sequence[i][j]] = (i + 1, j + 1)
for i,j in a:
print(i,j)
def solve():
global visit, sequence
r, c = [int(i) for i in input().split()]
for i in range(r):
for j in range(c):
visit = ainit(r, c, True)
sequence = ainit(r ,c, 0)
# print("Entry point: {}, {}".format(i,j))
ret = dfs(i, j, r, c, 0)
if ret:
print("POSSIBLE")
printAnswer(r, c)
return
print("IMPOSSIBLE")
for i in range(1, t + 1):
print("Case #{}: ".format(i), end='')
solve() |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# foobar.py 1.2
# Write a program that prints the numbers from 1 to 100. But for multiples of three print “Foo” instead of the number and for the multiples of five print “Bar”. For numbers which are multiples of both three and five print “FooBar”.
def main():
for n in range(1, 101):
print (
"FooBar" if n%15 == 0 else
"Foo" if n%3 == 0 else
"Bar" if n%5 == 0 else n
, ", ",
sep = "",
end="\n" if n%10 == 0 else "")
return 0
if __name__ == '__main__':
main()
|
class Event:
def __init__(self, event_name, sender, params=None):
"""
Defines an event.
name: event name
sender: who has sent the event
params: dictionary of event parameters
"""
self.event_name = event_name
self.sender = sender
self.params = params
@property
def name(self):
return self.event_name
def handle(self, simulation, sender, params):
"""
Method that will be called when the event will need to be handled.
Defined by a function: (simulation_instance, sender, params)->resulting_parameters
"""
pass
class EventEmitter:
def __init__(self, emitter):
"""
Emit events with some policy (for implementing automatic event generation).
emitter: entity that will be the sender of the events emitted by this emitter
"""
self.emitter = emitter
def emit(self, model):
pass |
#!/usr/bin/env python3
# -*- coding utf-8 -*-
__Author__ ='eamon'
'Object Oriented Programming'
std1={'name':'Eamon','Score':99}
std2={'name':'chen','Score':100}
def print_score(std):
print('%s: %s' % (std['name'], std['Score']))
print_score(std1)
print_score(std2)
class Student(object):
def __init__(self,name,score):
self.__name=name
self.__score=score
def print_score(self):
print('%s: %s' %(self.__name,self.__score))
def get_grade(self):
if self.__score >=90:
return 'A'
elif self.__score >=60:
return 'B'
else:
return 'C'
def get_name(self):
return self.__name
eamon= Student('eamon',99)
chen = Student('chen',100)
eamon.print_score()
chen.print_score()
class TestStudent(object):
pass
tstStud = TestStudent()
print(tstStud)
tstStud.name = 'eamon_tst'
print(tstStud.name)
eamon.get_grade()
eamon.age = 10
print(eamon.age)
bart =Student('Babie cart',98)
bart.print_score()
# print(bart.__name) // Private var
print(bart._Student__name)
#inherit and multibehavior
class Animal(object):
def run(self):
print('Animal is running')
def eat(self):
print('Animal is eating')
class Dog(Animal):
pass
class Cat(Animal):
def run(self):
print('cat is running')
def eat(self):
print('cat is eating')
dog = Dog()
dog.run()
cat = Cat()
cat.eat()
r= isinstance(cat ,Cat)
print(r)
def run_twice(animal):
animal.run()
animal.run()
run_twice(dog)
class Tortoise(Animal):
def run(self):
print('Tortoise is running slowly...')
run_twice(Tortoise())
#duck like object
class Timer(object):
def run(self):
print('timer is ticking and tocking')
run_twice(Timer()) |
class HostManagerBase(object):
def get_sni_host(self, ip):
return "", ""
|
n = int(input("Enter the month number:"))
a = [1,3,5,7,8,10,12]
b = [4,6,9,11]
c = 2
if n in a:
print("The total number of days in month",n,"is 31")
elif n in b:
print("The total number of days in month",n,"is 30")
elif n == c:
print("This month may have 28 or 29 days based on leap year")
else:
print("Invalid month number")
|
# Hyperparameters
BUFFER_SIZE = int(1e6)
BATCH_SIZE = 64
GAMMA = 0.99
TAU = 0.01
LRA = 1e-4
LRC = 1e-3
HIDDEN_1 = 400
HIDDEN_2 = 300
MAX_EPISODES = 50000
MAX_STEPS = 200
GLOBAL_LINEAR_EPS_DECAY = 1e-5 # Decay over 100 thousand transitions
OPTION_LINEAR_EPS_DECAY = 2e-5 # Decay over 50 thousand transitions
PRINT_EVERY = 10
|
"""
Tipos de dados
str - string - "Texto" ,'Texto'
int - inteiro - 10, 20 -45
float - numero com ponto - 0.2 -3.14 8000.1
bool - booleano - True/False
"""
# Utilizando a função type é possivel ver o tipo(classe) de um valor
print(type('Luiz'))
print(type(10))
print(type(3.14))
print(type(True))
|
class Rqst:
"""
Request object helper
"""
@classmethod
def get_post_get_param(cls, request, name, default_value):
"""
Retrieve either POST or GET variable from the request object
:param request: the request object
:param name: the name
:param default_value: the default value if not found
:return:
"""
return request.POST.get(name, request.GET.get(name, default_value))
@classmethod
def get_pk_or_id(cls, request, pk_keys=('pk', 'id'), default_value=None, cast_int=True):
"""
Get the primary key or id from the request object.
:param request: the request object
:param pk_keys: the key name(s)
:param default_value:
:param cast_int: indicate weather to convert the value to integer
:return: the value of the variable name
"""
try:
for k in pk_keys:
result = cls.get_post_get_param(request, k, None)
if result is not None:
if cast_int:
return int(result)
return result
except Exception as ex:
print('Error: %s' % ex)
return default_value
@classmethod
def is_get_request(cls, request):
"""
Is the request is GET method.
:param request: request object
:return:
"""
return str(request.method).upper() == 'GET'
@classmethod
def is_post_request(cls, request):
"""
Is the request is GET method.
:param request: request object
:return:
"""
return str(request.method).upper() == 'POST'
|
# Fruta Favorita:Faça uma lista de suas frutas favoritas e, então, escreva uma série de instruções if.
# independetes que verifiquem se determinadas frutas estão em sua lista:
frutas = ['laranja', 'melão', 'melancia', 'maracujá', 'mamão', 'banana']
while True:
fruta = input('Digite o nome de uma fruta ou s para encerrar:\n')
if fruta == 's' or (fruta == 'S'):
print('Programa Encerrado!')
break
if fruta in frutas:
print(f'{fruta} está entre as minhas favoritas!')
frutas.remove(fruta)
if fruta == 'banana':
print(f'Eu realmente gosto de {fruta.upper()}')
if fruta == 'melancia':
print(f'Eu realmente gosto de {fruta.upper()}')
else:
print(f'{fruta} não está entre as minhas frutas favoritas')
print('Tente outra vez!') |
# opyright 2010 OpenStack Foundation
# 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 applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
"""Possible task states for instances. extended for vcloud driver
Compute instance task states represent what is happening to the instance at the
current moment.
"""
# TASK STATES FOR INSTANCE SPAWING
DOWNLOADING = 'downloading' # downoading image file from glance
CONVERTING = 'converting' # convert qcow2 to vmdk
PACKING = 'packing' # making ovf package
NETWORK_CREATING = 'network_creating'
IMPORTING = 'importing' # importing ovf package to vcloud director
VM_CREATING = 'vm_creating' # create and power on vm
# TASK STATES FOR INSATCNE MIGRATION
EXPORTING = 'exporting'
UPLOADING = 'uploading'
PROVIDER_PREPARING = 'provider_preparing'
|
"""To be deleted once https://github.com/ansible/ansible/pull/15062 has been merged"""
def issubset(a, b):
return set(a) <= set(b)
def issuperset(a, b):
return set(a) >= set(b)
class FilterModule(object):
def filters(self):
return {
'issubset': issubset,
'issuperset': issuperset,
}
|
"""The module's version information."""
__author__ = "Tomás Farías Santana"
__copyright__ = "Copyright 2021 Tomás Farías Santana"
__title__ = "dbt-dag-factory"
__version__ = "0.1.0"
|
# @author: cchen
# pretty long and should be simplified later
class Solution:
# @param {string} s
# @return {string}
def longestPalindrome(self, s):
size = len(s)
ls = []
ll = 0
rr = 0
l = 0
r = 0
maxlen = r - l + 1
for i in range(1, size):
if s[i - 1] == s[i]:
r = i
else:
if r - l + 1 > maxlen:
maxlen = r - l + 1
ll = l
rr = r
ls.append([[l, r], s[i - 1]])
l = i
r = i
if r - l + 1 > maxlen:
maxlen = r - l + 1
ll = l
rr = r
ls.append([[l, r], s[size - 1]])
for i in range(1, len(ls) - 1):
l = i - 1
r = i + 1
clen = ls[i][0][1] - ls[i][0][0] + 1
while -1 < l and r < len(ls) and ls[l][1] == ls[r][1]:
llen = ls[l][0][1] - ls[l][0][0] + 1
rlen = ls[r][0][1] - ls[r][0][0] + 1
if llen == rlen:
clen += 2 * llen
if clen > maxlen:
maxlen = clen
ll = ls[l][0][0]
rr = ls[r][0][1]
l -= 1
r += 1
else:
if llen > rlen:
clen += 2 * rlen
else:
clen += 2 * llen
if clen > maxlen:
maxlen = clen
if llen > rlen:
ll = ls[l][0][1] - rlen + 1
rr = ls[r][0][1]
else:
ll = ls[l][0][0]
rr = ls[r][0][0] + llen - 1
break
return s[ll:rr + 1]
|
class ParseError(Exception):
pass
class NotEnoughInputError(ParseError):
pass
class ImproperInputError(ParseError):
pass
class PlaceholderError(Exception):
pass
|
# Exercício Python 081: Crie um programa que vai ler vários números e colocar em uma lista. Depois disso, mostre:
# A) Quantos números foram digitados.
# B) A lista de valores, ordenada de forma decrescente.
# C) Se o valor 5 foi digitado e está ou não na lista.
valores = []
while True:
valores.append(int(input('Digite um número: ')))
resp = ' '
while resp not in 'SN':
resp = str(input('Você quer continuar? [S/N] ')).upper().strip()[0]
if resp == 'N':
break
valores.sort(reverse=True)
print(f'Você digitou {len(valores)} números')
print(f'Os números digitados em ordem crescente: {valores}')
for pos, x in enumerate(valores):
if x == 5:
print(f'O valor 5 está na {pos+1}ª posição')
break
elif 5 not in valores:
print('O valor 5 não foi digitado.')
break
|
# --------------
# Code starts here
# Create the lists
class_1 = ['Geoffrey Hinton','Andrew Ng','Sebastian Raschka','Yoshua Bengio']
class_2 = ['Hilary Mason','Carla Gentry','Corinna Cortes']
# Concatenate both the strings
new_class = class_1 + class_2
print(new_class)
# Append the list
new_class.append('Peter Warden')
# Print updated list
print(new_class)
# Remove the element from the list
new_class.pop(5)
# Print the list
print(new_class)
# Create the Dictionary
courses = {'Math': 65, 'English': 70, 'History': 80, 'French': 70, 'Science': 60}
# Store the all the subject in one variable `Total`
Total = 65 + 70 + 80 + 70 + 60
# Print the total
print(Total)
# Insert percentage formula
percentage = (Total / len(courses)) * 100
# Print the percentage
print(percentage)
# Create the Dictionary
mathematics = {'Geoffrey Hinton': 78,
'Andrew Ng': 95,
'Sebastian Raschka': 65,
'Yoshua Benjio': 50,
'Hilary Mason': 70,
'Corinna Cortes': 66,
'Peter Warden': 75}
# Given string
topper = max(mathematics,key = mathematics.get)
print (topper)
# Create variable first_name
print('-'*20)
first_name = topper.split()[0]
print(first_name)
# Create variable Last_name and store last two element in the list
last_name = topper.split()[1]
print(last_name)
full_name = []
# Concatenate the string
full_name = first_name + ' ' + last_name
# print the full_name
print(full_name)
# print the name in upper case
full_name.upper()
print(full_name)
certificate_name = 'NG ANDREW'
print(certificate_name)
# Code ends here
|
#################################################################
#Config
base_data_dir='/home/shawn/data/nist/ECODSEdataset/'
hs_image_dir = base_data_dir + 'RSdata/hs/'
chm_image_dir= base_data_dir + 'RSdata/chm/'
rgb_image_dir= base_data_dir + 'RSdata/camera/'
training_polygons_dir = base_data_dir + 'Task1/ITC/'
prediction_polygons_dir = base_data_dir + 'Task1/predictions/'
image_types_to_load=['hs','chm']
train_plots = ['OSBS_001',
'OSBS_003',
'OSBS_006', # missing rgb for this one
'OSBS_007',
'OSBS_008',
'OSBS_009',
'OSBS_010',
'OSBS_011',
'OSBS_014',
'OSBS_015',
'OSBS_016',
'OSBS_017',
'OSBS_018',
'OSBS_019',
'OSBS_025',
'OSBS_026',
'OSBS_029',
'OSBS_030',
'OSBS_032',
'OSBS_033',
'OSBS_034',
'OSBS_035',
'OSBS_036',
'OSBS_037',
'OSBS_038',
'OSBS_042',
# 'OSBS_043', # cutoff chm image
# 'OSBS_044', # cutoff chm image
'OSBS_048',
'OSBS_051']
test_plots = ['OSBS_002',
'OSBS_004',
'OSBS_005',
# 'OSBS_013', # cutoff chm image
'OSBS_020',
'OSBS_021',
'OSBS_027',
'OSBS_028',
'OSBS_031',
'OSBS_039',
'OSBS_040',
'OSBS_041',
'OSBS_050']
|
"""
Given two strings s1 and s2, write a function to return true if s2 contains the permutation of s1.
In other words, one of the first string's permutations is the substring of the second string.
Example 1:
Input: s1 = "ab" s2 = "eidbaooo"
Output: True
Explanation: s2 contains one permutation of s1 ("ba").
Example 2:
Input:s1= "ab" s2 = "eidboaoo"
Output: False
Note:
The input strings only contain lower case letters.
The length of both given strings is in range [1, 10,000].
"""
#Use hash it's very efficient
class Solution:
def checkInclusion(self, s1: str, s2: str) -> bool:
hashp = sum(hash(ch) for ch in s1)
hashi = sum(hash(ch) for ch in s2[:len(s1)-1])
for (ch_out, ch_in) in zip([""] + list(s2), s2[len(s1)-1:]):
hashi += hash(ch_in) - hash(ch_out)
if hashi == hashp:
return True
return False
|
a=4
b=2
# addition operator
print(a+b)
|
found_coins = 20
magic_coins = 10
stolen_coins = 3
print(found_coins + magic_coins * 365 - stolen_coins * 52)
stolen_coins = 2
print(found_coins + magic_coins * 365 - stolen_coins * 52)
magic_coins = 13
print(found_coins + magic_coins * 365 - stolen_coins * 52) |
class BaseCssSelect(object):
"""base class cssselect fields"""
element_method = None
extra_data = False
attr = False
text = False
text_content = False
def __init__(self, add_domain=False, save_start_url=False, save_url=False, many=False, *args, **kwargs):
self.add_domain = add_domain
self.save_start_url = save_start_url
self.save_url = save_url
self.many = many
self.start_url = None
self.body_count = None
self.attr_name = None
self.attr_data = None
def __set__(self, instance, value):
value = self._check_to_field_type(instance, value)
instance.__dict__[self.attr_name] = value
def _except_attr_type_error(self, attr, instance=None):
raise TypeError('attribute {} of the object {} must be a type str in {}'.format(attr, self, instance))
def _check_to_field_type(self, instance, value):
if not isinstance(value, str):
self._except_attr_type_error(self.attr_name, instance)
return value
class ExtraDataField(BaseCssSelect):
extra_data = True
class TextCssSelect(BaseCssSelect):
element_method = '.text'
text = True
class TextContentCssSelect(BaseCssSelect):
element_method = '.text_content()'
text_content = True
class BodyCssSelect(BaseCssSelect):
body = True
def __init__(self, start_url=None, body_count=None, *args, **kwargs):
super().__init__(*args, **kwargs)
self.start_url = start_url
self.body_count = body_count
class AttrCssSelect(BaseCssSelect):
attr = True
NAME_ATTRIBUTE = 'attr_data'
element_method = '.get("{}")'
def __init__(self, attr_data=None, *args, **kwargs):
attr_data = self._check_attr_data_is_required(attr_data=attr_data, *args, **kwargs)
super().__init__(*args, **kwargs)
self.attr_data = attr_data
self.element_method = self.element_method.format(attr_data)
def _check_attr_data_is_required(self, *args, **kwargs):
"""check the required attribute attr_data and type"""
kwargs_attr = kwargs.get(self.NAME_ATTRIBUTE, False)
if not kwargs_attr and not args:
raise AttributeError('object {} has a required attribute {}'.format(self, self.NAME_ATTRIBUTE))
if kwargs_attr and not isinstance(kwargs_attr, str) or args and not isinstance(args[0], str):
self._except_attr_type_error(self.NAME_ATTRIBUTE)
return kwargs_attr if kwargs_attr else args[0]
class ImgCssSelect(AttrCssSelect):
img = True
def __init__(self, *args, **kwargs):
def_kwargs = self.__set_default_attr(*args, **kwargs)
super().__init__(*args, **def_kwargs)
def __set_default_attr(self, *args, **kwargs) -> dict:
"""Set the default attr data attribute to 'src' for the ImgCSSSelect field"""
try:
if self._check_attr_data_is_required(*args, **kwargs):
return kwargs
except AttributeError:
kwargs.update({self.NAME_ATTRIBUTE: 'src'})
return kwargs
|
class RecordsBase:
pass
class VersionBase:
pass
class VersionsBase:
pass
|
# Exercício 080:
'''Crie um programa onde o usuário possa digitar cinco valores numéricos e cadastre-os em uma lista,
já na posição correta de inserção (sem usar o sort()). No final, mostre a lista ordenada na tela.'''
valores = []
for num in range(0, 5):
valor = int(input(f'Digite um valor: '))
if num == 0 or valor > valores[-1]:
print(f'O valor {valor} foi adicionado ao final da lista!')
valores.append(valor)
else:
pos = 0
while pos < len(valores):
if valor <= valores[pos]:
print(f'O valor {valor} será adicionado na posição {pos}.')
valores.insert(pos, valor)
break
pos += 1
print(f'O valores digitados em ordem foram: {valores}.')
|
# O(n) time | O(1) space
def findLoop(head):
first = head.next
second = head.next.next
while first != second:
first = first.next
second = second.next.next
first = head
while first != second:
first = first.next
second = second.next
return first |
class Solution:
# @param {integer} dividend
# @param {integer} divisor
# @return {integer}
def divide(self, dividend, divisor):
if divisor == 0:
return None
sig = 1-2*(1 if dividend * divisor<0 else 0)
dividend,divisor = abs(dividend), abs(divisor)
if divisor == 1:
return min(max(dividend * sig,-2147483648),2147483647)
res = 0
while(dividend >= divisor):
t_divisor,i = divisor,1
while(dividend >= t_divisor):
dividend -= t_divisor
res += i
i <<=1 #i * 2 (twice each divisor, so twice the counter )
t_divisor <<=1 # t_divisor *2 (increase divisor)
return min(max(res * sig, -2147483648),2147483647)
|
ratings = 0
all_mean = 0
user_mean = 0
item_mean = 0
user_similarity = 0
item_similarity = 0
user_similarity_norm = 0
item_similarity_norm = 0
n_users = 943
n_items = 1682
|
# TODO: add/import version support here
class InvalidState(Exception):
"""Used when repomd data reaches an unexpected state"""
pass
class UnsupportedFileListException(Exception):
"""Used when the file list version is unsupported"""
def __init__(self, version):
super().__init__(f'This file list database version is unsupported. Please raise an issue. '
f'Currently support version {version} only.')
class UnsupportedPrimaryDatabaseException(Exception):
"""Used when the primary version is unsupported"""
def __init__(self, version) -> None:
super().__init__(f'This primary database version is unsupported. Please raise an issue. '
f'Currently support version {version} only.')
class UnsupportedOtherDatabaseException(Exception):
"""Used when the other version is unsupported"""
def __init__(self, version) -> None:
super().__init__(f'This other database version is unsupported. Please raise an issue. '
f'Currently support version {version} only.')
|
_base_ = [
'../_base_/models/resnest50.py', '../_base_/datasets/diseased_bs32_pil_resize.py',
'../_base_/schedules/imagenet_bs256_coslr.py', '../_base_/default_runtime.py'
]
model = dict(
head=dict(
num_classes=2,
topk=(1,))
) |
"""
Module
"""
def my_multiplier(value1, value2):
return value1 * value2 * 1000
|
def hanoi(n, from_tower, to_tower, other_tower):
if n == 1: # recursion bottom
print(f'{from_tower} -> {to_tower}')
else: # recursion step
hanoi(n - 1, from_tower, other_tower, to_tower)
print(f'{from_tower} -> {to_tower}')
hanoi(n - 1, other_tower, to_tower, from_tower)
hanoi(4, 1, 3, 2)
|
# -*- coding: utf-8 -*-
# @Time : 2020/12/11 10:13 上午
# @File : const.py
VERSION_IMAGE_MAP = {
'storaged': {
'nightly': 'vesoft/nebula-storaged:nightly',
'1.2': 'vesoft/nebula-storaged:v1.2.0',
'1.1': 'vesoft/nebula-storaged:v1.1.0'
},
'metad': {
'nightly': 'vesoft/nebula-metad:nightly',
'1.2': 'vesoft/nebula-metad:v1.2.0',
'1.1': 'vesoft/nebula-metad:v1.1.0'
},
'graphd': {
'nightly': 'vesoft/nebula-graphd:nightly',
'1.2': 'vesoft/nebula-graphd:v1.2.0',
'1.1': 'vesoft/nebula-graphd:v1.1.0'
}
}
|
# Copyright 2017 The Bazel 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 applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Rules that allows select() to differentiate between Apple OS versions."""
def _strip_version(version):
"""Strip trailing characters that aren't digits or '.' from version names.
Some OS versions look like "9.0gm", which is not useful for select()
statements. Thus, we strip the trailing "gm" part.
Args:
version: the version string
Returns:
The version with trailing letters stripped.
"""
result = ""
for ch in str(version):
if not ch.isdigit() and ch != ".":
break
result += ch
return result
def _xcode_version_flag_impl(ctx):
"""A rule that allows select() to differentiate between Xcode versions."""
xcode_config = ctx.attr._xcode_config[apple_common.XcodeVersionConfig]
return struct(providers = [
config_common.FeatureFlagInfo(value = _strip_version(
xcode_config.xcode_version()))])
def _ios_sdk_version_flag_impl(ctx):
"""A rule that allows select() to select based on the iOS SDK version."""
xcode_config = ctx.attr._xcode_config[apple_common.XcodeVersionConfig]
return struct(providers = [
config_common.FeatureFlagInfo(value = _strip_version(
xcode_config.sdk_version_for_platform(
apple_common.platform.ios_device)))])
def _tvos_sdk_version_flag_impl(ctx):
"""A rule that allows select() to select based on the tvOS SDK version."""
xcode_config = ctx.attr._xcode_config[apple_common.XcodeVersionConfig]
return struct(providers = [
config_common.FeatureFlagInfo(value = _strip_version(
xcode_config.sdk_version_for_platform(
apple_common.platform.tvos_device)))])
def _watchos_sdk_version_flag_impl(ctx):
"""A rule that allows select() to select based on the watchOS SDK version."""
xcode_config = ctx.attr._xcode_config[apple_common.XcodeVersionConfig]
return struct(providers = [
config_common.FeatureFlagInfo(value = _strip_version(
xcode_config.sdk_version_for_platform(
apple_common.platform.watchos_device)))])
def _macos_sdk_version_flag_impl(ctx):
"""A rule that allows select() to select based on the macOS SDK version."""
xcode_config = ctx.attr._xcode_config[apple_common.XcodeVersionConfig]
return struct(providers = [
config_common.FeatureFlagInfo(value = _strip_version(
xcode_config.sdk_version_for_platform(
apple_common.platform.macos)))])
xcode_version_flag = rule(
implementation = _xcode_version_flag_impl,
attrs = {
"_xcode_config": attr.label(default=Label("//tools/osx:current_xcode_config")),
})
ios_sdk_version_flag = rule(
implementation = _ios_sdk_version_flag_impl,
attrs = {
"_xcode_config": attr.label(default=Label("//tools/osx:current_xcode_config")),
})
tvos_sdk_version_flag = rule(
implementation = _tvos_sdk_version_flag_impl,
attrs = {
"_xcode_config": attr.label(default=Label("//tools/osx:current_xcode_config")),
})
watchos_sdk_version_flag = rule(
implementation = _watchos_sdk_version_flag_impl,
attrs = {
"_xcode_config": attr.label(default=Label("//tools/osx:current_xcode_config")),
})
macos_sdk_version_flag = rule(
implementation = _macos_sdk_version_flag_impl,
attrs = {
"_xcode_config": attr.label(default=Label("//tools/osx:current_xcode_config")),
})
|
campeonato = ('Flamengo', 'Atlético-MG', 'São Paulo', 'Internacional', 'Grêmio',
'Palmeiras', 'Sport', 'Cruzeiro', 'Botafogo', 'Corinthians', 'Vasco',
'Fluminense', 'América-MG', 'Chapecoense', 'Santos', 'Vitória-BA',
'Bahia', 'Paraná', 'Atlético-PR', 'Ceará')
print("CAMPEONATO BRASILEIRO DE 2018")
print()
print("Os 5 primeiros colocados são: ", end='')
for i in range(4):
print(f'{campeonato[i]}, ', end='')
print(f'{campeonato[4]}.')
print()
print(f'Os 5 primeiros colocados são: {campeonato[:5]}')
print()
print("Os 4 últimos colocados são: ", end='')
for i in range(16,19):
print(f'{campeonato[i]}, ', end='')
print(f'{campeonato[19]}.')
print()
print(f'Os 4 últimos colocados são: {campeonato[16:]}')
ordenada = sorted(campeonato)
print()
print('Lista dos times: ', end='')
for i in range(20):
print(f'{ordenada[i]}, ', end='')
print()
print(f'Lista ordenada dos times: {ordenada}')
print(f'Lista ordenada dos times: {sorted(campeonato)}')
print()
pos = campeonato.index('Chapecoense') + 1
print(f'O Chapecoense está na posição {pos} do campeonato')
|
# Sample Code For Assignment #3
# Printing Formatted Data in Python
# Copyright (C) 2021 Clinton Garwood
# MIT Open Source Initiative Approved License
# hw_assignment_3.py
# CIS-135 Python
# Resources:
# https://www.w3schools.com/python/ref_string_format.asp
# https://www.w3schools.com/python/python_string_formatting.asp
# https://www.w3schools.com/python/python_strings.asp
# http://stackoverflow.com/questions/21208376/ddg#21208495
# https://stackoverflow.com/questions/21208376/converting-float-to-dollars-and-cents
# RAW DATA
# Category Type Count Total Value
# Adapter Bluetooth Mobile 284 7,097.16
# Network Switch Cisco 103 10,298.97
# Laptop computer Chromebook 7 2,100.00
# SSD External 83 9,877.00
# What is a Header?
# What is table data?
# Header Data
# Category Type Count Total Value
# Table Data
# Adapter Bluetooth Mobile 284 7,097.16
# Network Switch Cisco 103 10,298.97
# Laptop computer Chromebook 7 2,100.00
# SSD External 83 9,877.00
# When we think of a table, we think of rows and columns that are
# all the same width:
#|____|____|____|____|____|
#|____|____|____|____|____|
#|____|____|____|____|____|
# Sometimes, though, we need more/less width to accommodate data
# of different lengths
#|__________|____|_________|_|__|
#|__________|____|_________|_|__|
#|__________|____|_________|_|__|
#|__________|____|_________|_|__|
# # As we can see, not all data is the same length, and columns do not
# # always naturally align:
# print("\nCategory Type Count Total Value")
# print("Adapter Bluetooth Mobile 284 7,097.16")
# # Even using tabs between data items does not always do the trick.
# print("\nCategory\t\t\tType\t\t\tCount\t\t\tTotal\t\t\tValue")
# print("Adapter Bluetooth\t\t\tMobile\t\t\t284\t\t\t7,097.16")
# # A more robust solution is needed.
# # We can turn to a formatted print statement to help us out:
# # A formatted print statement is a string which we can use
# # to insert data into, when we want to.
# simple_format = "\nData is inserted where the curly braces appear: {}"
# # To use a formatted print statement we use the print statement and a
# # call to the .format() method. Inside the (parenthesis) of the formatted
# # print statement we insert the variable or data.
# print(simple_format)
# print(simple_format.format("Hello World"))
# # We can also do this with a variable
# hs = "Hello Student"
# print(simple_format.format(hs))
# # The {} can be anywhere in the statement:
# what_to_do = "\nLearning {} is fun."
# language_name = "Python"
# print(what_to_do.format(language_name))
# # We can also insert and format numbers using the Print statement
#pi_is = "\nThe first ten digits of pi are: {}"
# pi_to_ten = 3.1415926535
#print(pi_is.format(pi_to_ten))
# # We can reuse statements as many times as we like.
# pi_to_four = "\nThe first four digits of pi are: {:.5}"
# print(pi_to_four.format(pi_to_ten))
# # We can also add padding to our formatted print statements.
# print()
# pi_dec_five = "{:6.5} are the first five decimals of pi."
# pi_dec_four = "{:6.4} are the first four decimals of pi."
# pi_dec_three = "{:6.3} are the first three decimals of pi."
# pi_dec_two = "{:6.2} are the first two decimals of pi."
#
# print(pi_dec_five.format(pi_to_ten))
# print(pi_dec_four.format(pi_to_ten))
# print(pi_dec_three.format(pi_to_ten))
# print(pi_dec_two.format(pi_to_ten))
# # And can also add alignment to our formatted print statements.
# print()
# pi_dec_five = "{:<6.5} are the first five decimals of pi."
# pi_dec_four = "{:<6.4} are the first four decimals of pi."
# pi_dec_three = "{:<6.3} are the first three decimals of pi."
# pi_dec_two = "{:<6.2} are the first two decimals of pi."
# print(pi_dec_five.format(pi_to_ten))
# print(pi_dec_four.format(pi_to_ten))
# print(pi_dec_three.format(pi_to_ten))
# print(pi_dec_two.format(pi_to_ten))
# # Raw Data as Tuples
# title = ("Category", "Type", "Count", "Total Value")
# row1 = ("Adapter","Bluetooth","Mobile","284","7097.16")
# row2 = ("Network Switch","Cisco","103","10,298.97")
# row3 = ("Laptop computer","Chromebook","7","2100")
# row4 = ("SSD","External","83","9877")
#
# # # RAW DATA as List
# header = ["Category", "Type", "Count", "Total Value"]
# r1 = ["Adapter","Bluetooth Mobile","284","7,097.16"]
# r2 = ["Network Switch","Cisco","103","10,298.97"]
# r3 = ["Laptop computer","Chromebook","7","2,100.00"]
# r4 = ["SSD","External","83","9,877.00"]
# # Given the raw data, we look for the longest of the strings:
# # Laptop Computer = 17 characters so 20 characters would be a good length for column 1
# # Bluetooth Mobile = 16 characters so 20 would be a good length for col 2
# # Count = 5 characters so 10 would be a good length for col 3
# # Total Value = 11 characters so 15 would be a good length for col 4
# # Setup the placeholders: {:20}{:20}{:10}{:15}
# # Create the placeholder string: {:20}{:15}{:9}{:15}
# # When we print from a tuple or a list (data is in this format above),
# # we need to adjust the placeholder by adding an integer to the left
# # of the colon in each placeholder.
# # for example to print the first piece of data we use {0:20}
# # to print the second piece of data we use {1:15} etc.
#
# print_string = "{0:20}{1:20}{2:>10}{3:>15}"
#
# # # Call (use) the print string to print out a sample of the data:
# print()
# print(print_string.format(header[0],header[1],header[2],header[3]))
# print(print_string.format(r1[0],r1[1],r1[2],r1[3]))
# print(print_string.format(r2[0],r2[1],r2[2],r2[3]))
# print(print_string.format(r3[0],r3[1],r3[2],r3[3]))
# print(print_string.format(r4[0],r4[1],r4[2],r4[3]))
#
#
# Notes on Homework Assignment #3
myInt = 10
myString = "Clinton"
chevy = "Cheverolet Silverado 586,675 $ 28,595.00"
chevy = "Cheverolet Equinox 1,270,994 $ 25,000.00"
# # Variable = one named space in memory
# # Variable that can hold mulipiple piece of information.
# my_variable = 10 # 'string' double/flaot # First container
# my_tuple = 10,20,30,40,50,60,70 # Second type of container
# my_tuple = (10,10,10,20,30,40,50,60,70,80) # Cannot update a tuple, using same name = new
# my_list = [40,20,35,"twenty",10.2,10.11,["clinton","garwood",[1,2,3,4]]] # Third type of data continer
# my_set = {30,100,20,30,30,30,30} # fourth data container
# my_dictionary = {'first_name': 'Clinton', 'last_name': 'Garwood', 'id': 36643.00 } # fifth type
# print(my_list)
# # RAW DATA:
# Chevrolet Silverado 586675 28595
# Chevrolet Equinox 270994 25000
# Ford F-Series 787422 30635
# GMC Sierra 253016 29695
# Honda CR-V 333502 26525
# Honda Civic 261225 22000
# Lamborghini Huracan 1095 208571
# Toyota RAV4 430387 27325
# Toyota Camry 29434825965
# r1 = ["Chevrolet", "Silverado", 586675, 28595]
# r2 = ["Chevrolet", "Equinox", 270994, 25000]
# r3 = ["Ford", "F-Series", 787422, 30635]
# r4 = ["GMC", "Sierra", 253016,29695]
# r5 = ["Honda", "CR-V", 333502,26525]
# r6 = ["Honda", "Civic", 261225,22000]
# r7 = ["Lamborghini", "Huracan",1095,208571]
# r8 = ["Toyota", "RAV4", 430387,27325]
# r9 = ["Toyota", "Camry", 294348,25965]
# # # Example of printing raw data as a string literal in a print statement:
# print("\nChevrolet Silverado 586675 28595")
# print("Chevrolet Equinox 270994 25000")
# print("Ford F-Series 787422 30635")
# print("GMC Sierra 253016 29695")
# print("Problems here as rows are not lined up and numbers are not formatted\n")
# # # Printing raw data using some basic formatting a print statement :
# # # This shows using a tab between each value
# # # Chevrolet Silverado 586675 28595
# print("\n\tChevrolet\tSilverado\t586675\t28595")
# print("\tChevrolet\tEquinox\t270994\t25000")
# print("\tFord\tF-Series\t787422\t30635")
# print("\tGMC\tSierra\t253016\t29695")
# print("Problems continue with row alignment and numbers formatting\n")
#
# print(r1)
# print(r2)
# print(r3)
# print(r4)
# print(r5)
# print(r6)
# print(r7)
# print(r8)
# print(r9)
# # More on printing simple strings:
# print("Working with raw data creates problems, both with")
# print("handling the data initially, and more importantly when")
# print("we want to update or change data based on program input")
# # Using data buckets to control the data.
# # Python has many differnt kinds of buckets for data.
# # You have already seen variables
# number_10 = 10
#
# # What if we want to store two pieces of data in a single container?
# # A tuple can be used to store more than one piece of data.
# # https://www.w3schools.com/python/python_tuples.asp
# # https://docs.python.org/3/library/stdtypes.html?highlight=tuple#tuple
# my_tuple = (10, 20)
# one_to_ten_tuple = (1,2,3,4,5,6,7,8,9,10)
# # We can store as many items (in an ordered fashion) as we want in a tuple.
# # Printing tuples work just like variables
# print(my_tuple)
# print(one_to_ten_tuple)
#
# # Python Lists:
# # https://www.w3schools.com/python/python_lists.asp
# # https://docs.python.org/3/library/stdtypes.html?#list
# # Another bucket we can use to store multiple pieces of (ordered data) in
# # Python is called a List.
# my_list = [10, 20]
# one_to_ten_list = [1,2,3,4,5,6,7,8,9,10]
# # We can store as many items (in an ordered fashion) as we want in a list.
# # and printing lists works just like variables
# print(my_list)
# print(one_to_ten_list)
# #
# print("\n\tIt is better, down the road, to use Lists that tuples")
# print("\tLists are mutable -- because can be changed and updated.\n")
#
# # How would our raw data look if it were formatted as a tuple:
# # Can format Data as Tuples:
ti = ("Car Make", "Car Model", "Units Sold", "Starting Price")
sep = ["--------", "---------", "----------", "--------------"]
#
# # How would our raw data look if it were formatted as a list:
# # Can Format data as Lists
cs = ["Chevrolet", "Silverado", 586675, 28595]
ce = ["Chevrolet", "Equinox", 270994, 25000.00]
fo = ["Ford", "F-Series", 787422, 30635]
gm = ["GMC", "Sierra", 253016, 29695]
hv = ["Honda", "CR-V", 333502, 26525]
hc = ["Honda", "Civic", 261225, 22000]
lh = ["Lamborghini", "Huracan", 1095, 208571]
tr = ["Toyota", "RAV4", 430387, 27325]
tc = ["Toyota", "Camry", 294348, 25965]
# # Once our raw data is in a proper bucket, we can use a formatted print
# # string to handle the formatting fine-tuning, and also to add symbols like
# # decimal points, and row padding and alignment.
#
# # A formatted print string literal, allows us to define how we want
# # our output to be displayed. Once the string is created, then we can simply
# # use that string and insert the new data which we want to display.
#
# # Formatted print string for the Header
# # Set up a print format string for the column headers
car = "ford"
car_title = "{0:<12} {1:<12}{2:>15}{3:>20}"
# # variable assignment "formatted statement"
# # within the formatted statement {} indicates a placeholder
# # here we see four placeholders {}{}{}{}
# # Inside the {placeholder} we define the style
# # { left-curly brace int(tuple/list/position) colon position/formatting right-curly brace }
# # https://www.w3schools.com/python/python_string_formatting.asp
#
# # {0:12} - means a placeholder that takes the first item in a tuple (0)
# # and reserves 12 spaces for the data
#
# # {0:2} - means a placeholder that takes the first item in a tuple (0)
# # and reserves 2 spaces for the data
# # {1:.2} - means a placeholder that takes the second item in a tuple (1)
# # and displays the data as a float (decimal) with two degrees of precision
# # {0:<10} - means a placeholder that takes the first item in a tuple (0)
# # reserves 10 spaces for the data, and aligns it to the left <
# # {0:>5.2} - means a placeholder that takes the first item in a tuple (0)
# # reserves 5 spaces for data, right-aligns it, and displays it with
# # a decimal point and two degrees of precision
# # Formatted print string for the Data
# # Set up a print format string for the car data
car_data = "{0:12} {1:12}{2:>15,}{3:7>}{4:15,.2f}"
# # sometimes to get the format we want, we need to insert spaces "literal space"
# # between the placeholders. We see this above between position 3 and 4
# # also notice we have a dollar sign included as well.
#
# Print out the data for the header:
print(car_title.format(ti[0],ti[1],ti[2],ti[3]))
print(car_title.format(sep[0],sep[1],sep[2],sep[3]))
# Print out the data for each car:
print(car_data.format(cs[0],cs[1],cs[2],'$',cs[3]))
print(car_data.format(ce[0],ce[1],ce[2],'$',ce[3]))
print(car_data.format(fo[0],fo[1],fo[2],'$',fo[3]))
# print(car_data.format(gm[0],gm[1],gm[2],gm[3]))
# print(car_data.format(hv[0],hv[1],hv[2],hv[3]))
# print(car_data.format(hc[0],hc[1],hc[2],hc[3]))
# print(car_data.format(lh[0],lh[1],lh[2],lh[3]))
# print(car_data.format(tr[0],tr[1],tr[2],tr[3]))
# print(car_data.format(tc[0],tc[1],tc[2],tc[3]))
|
class VanillaRNN(nn.Module):
def __init__(self, layers, output_size, hidden_size, vocab_size, embed_size,
device):
super(VanillaRNN, self).__init__()
self.n_layers= layers
self.hidden_size = hidden_size
self.device = device
# Define the embedding
self.embeddings = nn.Embedding(vocab_size, embed_size)
# Define the RNN layer
self.rnn = nn.RNN(embed_size, hidden_size, self.n_layers)
# Define the fully connected layer
self.fc = nn.Linear(self.n_layers *hidden_size, output_size)
def forward(self, inputs):
input = self.embeddings(inputs)
input = input.permute(1, 0, 2)
h_0 = torch.zeros(2, input.size()[1], self.hidden_size).to(self.device)
output, h_n = self.rnn(input, h_0)
h_n = h_n.permute(1, 0, 2)
h_n = h_n.contiguous().reshape(h_n.size()[0], h_n.size()[1]*h_n.size()[2])
logits = self.fc(h_n)
return logits
# add event to airtable
atform.add_event('Coding Exercise 1.1: Vanilla RNN')
## Uncomment to test VanillaRNN class
sampleRNN = VanillaRNN(2, 10, 50, 1000, 300, DEVICE)
print(sampleRNN) |
__all__ = ("country_codes",)
country_codes = { # talk about ugly lol
"oc": 1,
"eu": 2,
"ad": 3,
"ae": 4,
"af": 5,
"ag": 6,
"ai": 7,
"al": 8,
"am": 9,
"an": 10,
"ao": 11,
"aq": 12,
"ar": 13,
"as": 14,
"at": 15,
"au": 16,
"aw": 17,
"az": 18,
"ba": 19,
"bb": 20,
"bd": 21,
"be": 22,
"bf": 23,
"bg": 24,
"bh": 25,
"bi": 26,
"bj": 27,
"bm": 28,
"bn": 29,
"bo": 30,
"br": 31,
"bs": 32,
"bt": 33,
"bv": 34,
"bw": 35,
"by": 36,
"bz": 37,
"ca": 38,
"cc": 39,
"cd": 40,
"cf": 41,
"cg": 42,
"ch": 43,
"ci": 44,
"ck": 45,
"cl": 46,
"cm": 47,
"cn": 48,
"co": 49,
"cr": 50,
"cu": 51,
"cv": 52,
"cx": 53,
"cy": 54,
"cz": 55,
"de": 56,
"dj": 57,
"dk": 58,
"dm": 59,
"do": 60,
"dz": 61,
"ec": 62,
"ee": 63,
"eg": 64,
"eh": 65,
"er": 66,
"es": 67,
"et": 68,
"fi": 69,
"fj": 70,
"fk": 71,
"fm": 72,
"fo": 73,
"fr": 74,
"fx": 75,
"ga": 76,
"gb": 77,
"gd": 78,
"ge": 79,
"gf": 80,
"gh": 81,
"gi": 82,
"gl": 83,
"gm": 84,
"gn": 85,
"gp": 86,
"gq": 87,
"gr": 88,
"gs": 89,
"gt": 90,
"gu": 91,
"gw": 92,
"gy": 93,
"hk": 94,
"hm": 95,
"hn": 96,
"hr": 97,
"ht": 98,
"hu": 99,
"id": 100,
"ie": 101,
"il": 102,
"in": 103,
"io": 104,
"iq": 105,
"ir": 106,
"is": 107,
"it": 108,
"jm": 109,
"jo": 110,
"jp": 111,
"ke": 112,
"kg": 113,
"kh": 114,
"ki": 115,
"km": 116,
"kn": 117,
"kp": 118,
"kr": 119,
"kw": 120,
"ky": 121,
"kz": 122,
"la": 123,
"lb": 124,
"lc": 125,
"li": 126,
"lk": 127,
"lr": 128,
"ls": 129,
"lt": 130,
"lu": 131,
"lv": 132,
"ly": 133,
"ma": 134,
"mc": 135,
"md": 136,
"mg": 137,
"mh": 138,
"mk": 139,
"ml": 140,
"mm": 141,
"mn": 142,
"mo": 143,
"mp": 144,
"mq": 145,
"mr": 146,
"ms": 147,
"mt": 148,
"mu": 149,
"mv": 150,
"mw": 151,
"mx": 152,
"my": 153,
"mz": 154,
"na": 155,
"nc": 156,
"ne": 157,
"nf": 158,
"ng": 159,
"ni": 160,
"nl": 161,
"no": 162,
"np": 163,
"nr": 164,
"nu": 165,
"nz": 166,
"om": 167,
"pa": 168,
"pe": 169,
"pf": 170,
"pg": 171,
"ph": 172,
"pk": 173,
"pl": 174,
"pm": 175,
"pn": 176,
"pr": 177,
"ps": 178,
"pt": 179,
"pw": 180,
"py": 181,
"qa": 182,
"re": 183,
"ro": 184,
"ru": 185,
"rw": 186,
"sa": 187,
"sb": 188,
"sc": 189,
"sd": 190,
"se": 191,
"sg": 192,
"sh": 193,
"si": 194,
"sj": 195,
"sk": 196,
"sl": 197,
"sm": 198,
"sn": 199,
"so": 200,
"sr": 201,
"st": 202,
"sv": 203,
"sy": 204,
"sz": 205,
"tc": 206,
"td": 207,
"tf": 208,
"tg": 209,
"th": 210,
"tj": 211,
"tk": 212,
"tm": 213,
"tn": 214,
"to": 215,
"tl": 216,
"tr": 217,
"tt": 218,
"tv": 219,
"tw": 220,
"tz": 221,
"ua": 222,
"ug": 223,
"um": 224,
"us": 225,
"uy": 226,
"uz": 227,
"va": 228,
"vc": 229,
"ve": 230,
"vg": 231,
"vi": 232,
"vn": 233,
"vu": 234,
"wf": 235,
"ws": 236,
"ye": 237,
"yt": 238,
"rs": 239,
"za": 240,
"zm": 241,
"me": 242,
"zw": 243,
"xx": 244,
"a2": 245,
"o1": 246,
"ax": 247,
"gg": 248,
"im": 249,
"je": 250,
"bl": 251,
"mf": 252,
}
|
# This Python file uses the following encoding: utf-8
numbers = [] # 使用列表存放临时数据
while True:
x = input('请输入一个成绩:')
try: # 异常处理结构
numbers.append(float(x))
except:
print('不是合法成绩')
while True:
flag = input('继续输入吗?(yes/no)').lower()
if flag not in ('yes', 'no'): # 限定用户输入内容必须为yes或no
print('只能输入yes或no')
else:
break
if flag == 'no':
break
print(sum(numbers) / len(numbers))
|
# Code strings the E6-B code
# OCR from European patent EP1825626B1.pdf (may have a few errors)
# The codes for the following PRNs have been compared with recorded signals and should be error-free:
# 1 2 3 4 5 7 8 9 11 12 13 14 15 18 19 21 24 25 26 27 30 31 33 36
e6b_strings = {
1: "5mSKpe/wkHoXA3f7IM7e4ejSU9rCSWgxAQM2tEQna6qxflmVSLGnnGc3n5jfDLga6NkU7klHCTrcuU/0s5Fu5WKkyv1KWgSXIWBuVf/+smyUnXyLCretL33bv4ipsJFRDSCaqj9sg+z7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O/5d6Fd0+VkqOqzn3L2DvrRjerysXAkQfJiFVs+Y6GalxWnaydqJDR8C95y100O3Cm4wdjukCrTtSldsHSq7wmV8wusP+S6jHN+W8K50fq6XgVDVOR/q3+WDzqTn652tNUllx0Ypdt/UOzpC5q4Nk5baj74dLlhYjdyS4pHPH1QM50LuhfSQa6oXalBxS953K/lLeWmGKOsvC/c4XwOYD99wQtZ4FI1yALZazbJJP9Ux8BBig527nfnDXXBmVwN4iTLZYMwZ3hOhyrDNAopUNrSbx/Dc/cdpNHfYGnBx/X3cjk7/281JFMOaYV+YK//0hPcomFGU8IGTfdiNMi1+hMDywypw1vZ712I4zR3IIIrPAbeRFCYcTORMxMmAtQiiqlggAovWIPNQDJ/nB+CO6Vu2Oy/33z+DSaiG/6eHGqGKYhAtuIzzaTfZSt/BIWUavNJygxnONqx3zJVnX9iPXz3T0iAm5cxqRjCCx8yQvikgS8eVY+N6n5oFi7QAJYWPI/2MX1qGTJvlgY3RFP2G354FvfatFoEyMaHohhCXKyp2UoYW9pLbJt+MOvq5umSpvVZBYewbCtzAk4JxGEEdQtLRGqXG5VoxMKcA2QBzMNqZYDd4uCsxFCdbQ1OHn5gErAUEUh2c93loTS7Imu+HlCPCnzjpgvYXNUozcjS2G4nonR3yD9uGpysCrc6vSXSyoTSa6/iV+QA",
}
|
#!/usr/bin/env python
#coding: utf-8
class Solution:
# @param gas, a list of integers
# @param cost, a list of integers
# @return an integer
def canCompleteCircuit(self, gas, cost):
total, tank, start = 0, 0, 0
lg = len(gas)
for i in range(lg):
tank = tank + gas[i] - cost[i]
if tank < 0:
start = i + 1
total += tank
tank = 0
return start if total + tank >= 0 else -1
if __name__ == '__main__':
s = Solution()
assert -1 == s.canCompleteCircuit([0], [1])
assert 0 == s.canCompleteCircuit([1], [0])
assert 0 == s.canCompleteCircuit([2, 1], [1, 2])
assert -1 == s.canCompleteCircuit([2, 1], [2, 2])
assert 1 == s.canCompleteCircuit([2, 2], [3, 1])
|
# Jadoo, the Space Alien has befriended Koba upon landing on Earth. Since then, he wishes Koba to be more like him. In order to do so he decides to slowly transcribe Koba's DNA into RNA. But he has to write a very short code in order to do the transcription so as not to make Koba aware of the change.
# The four nucleotides found in DNA are adenine (A), cytosine (C), guanine (G) and thymine (T).
# The four nucleotides found in RNA are adenine (A), cytosine (C), guanine (G) and uracil (U).
# Given a DNA strand, its transcribed RNA strand is formed by replacing each nucleotide with its complement:
# G --> C
# C --> G
# T --> A
# A --> U
# Input: The input will always be a string of characters.
# Output: The output should always be a string of characters. In the case of invalid input, you should output Invalid Input as a string.
# Rules: Your code should not consist of any numerical characters (0, 1, 2, 3, 4, 5, 6, 7, 8, 9) and the length of your code should be <= 103. If your code consists of numerical characters, then your score is zero irrespectuve of your code length or testcases satisfied. If your code is devoid of numerical characters and is of length > 103 then you score 50%.
# Write your code here
string = input()
flag = True
out = ''
for s in string:
if s == 'A':
out += 'U'
elif s == 'G':
out += 'C'
elif s == 'C':
out += 'G'
elif s == 'T':
out += 'A'
else:
flag = False
if flag:
print(out)
else:
print("Invalid Input")
|
class NameTooShortError(ValueError):
pass
raise NameTooShortError("foo")
|
# O((2n)!/((n!((n + 1)!)))) time | O((2n)!/((n!((n + 1)!)))) space -
# where n is the input number
def generateDivTags(numberOfTags):
matchedDivTags = []
generateDivTagsFromPrefix(numberOfTags, numberOfTags, "", matchedDivTags)
return matchedDivTags
def generateDivTagsFromPrefix(openingTagsNeeded, closingTagsNeeded, prefix, result):
if openingTagsNeeded > 0:
newPrefix = prefix + "<div>"
generateDivTagsFromPrefix(openingTagsNeeded - 1, closingTagsNeeded, newPrefix, result)
if openingTagsNeeded < closingTagsNeeded:
newPrefix = prefix + "</div>"
generateDivTagsFromPrefix(openingTagsNeeded, closingTagsNeeded - 1, newPrefix, result)
if closingTagsNeeded == 0:
result.append(prefix) |
# md5 : d385b6882bfe47bedf2a2b9547c91a16
# sha1 : 907eec7568423245054be9c59638f0e2bc04afad
# sha256 : a4e40c348031047b966c18f2761ee0460a226905721d2f29327528cb2b213cb1
ord_names = {
1: b'AcquireSRWLockExclusive',
2: b'AcquireSRWLockShared',
3: b'ActivateActCtx',
4: b'ActivateActCtxWorker',
5: b'AddAtomA',
6: b'AddAtomW',
7: b'AddConsoleAliasA',
8: b'AddConsoleAliasW',
9: b'AddDllDirectory',
10: b'AddIntegrityLabelToBoundaryDescriptor',
11: b'AddLocalAlternateComputerNameA',
12: b'AddLocalAlternateComputerNameW',
13: b'AddRefActCtx',
14: b'AddRefActCtxWorker',
15: b'AddResourceAttributeAce',
16: b'AddSIDToBoundaryDescriptor',
17: b'AddScopedPolicyIDAce',
18: b'AddSecureMemoryCacheCallback',
19: b'AddVectoredContinueHandler',
20: b'AddVectoredExceptionHandler',
21: b'AdjustCalendarDate',
22: b'AllocConsole',
23: b'AllocateUserPhysicalPages',
24: b'AllocateUserPhysicalPagesNuma',
25: b'AppPolicyGetClrCompat',
26: b'AppPolicyGetCreateFileAccess',
27: b'AppPolicyGetLifecycleManagement',
28: b'AppPolicyGetMediaFoundationCodecLoading',
29: b'AppPolicyGetProcessTerminationMethod',
30: b'AppPolicyGetShowDeveloperDiagnostic',
31: b'AppPolicyGetThreadInitializationType',
32: b'AppPolicyGetWindowingModel',
33: b'AppXGetOSMaxVersionTested',
34: b'ApplicationRecoveryFinished',
35: b'ApplicationRecoveryInProgress',
36: b'AreFileApisANSI',
37: b'AssignProcessToJobObject',
38: b'AttachConsole',
39: b'BackupRead',
40: b'BackupSeek',
41: b'BackupWrite',
42: b'BaseCheckAppcompatCache',
43: b'BaseCheckAppcompatCacheEx',
44: b'BaseCheckAppcompatCacheExWorker',
45: b'BaseCheckAppcompatCacheWorker',
46: b'BaseCheckElevation',
47: b'BaseCleanupAppcompatCacheSupport',
48: b'BaseCleanupAppcompatCacheSupportWorker',
49: b'BaseDestroyVDMEnvironment',
50: b'BaseDllReadWriteIniFile',
51: b'BaseDumpAppcompatCache',
52: b'BaseDumpAppcompatCacheWorker',
53: b'BaseElevationPostProcessing',
54: b'BaseFlushAppcompatCache',
55: b'BaseFlushAppcompatCacheWorker',
56: b'BaseFormatObjectAttributes',
57: b'BaseFormatTimeOut',
58: b'BaseFreeAppCompatDataForProcessWorker',
59: b'BaseGenerateAppCompatData',
60: b'BaseGetNamedObjectDirectory',
61: b'BaseInitAppcompatCacheSupport',
62: b'BaseInitAppcompatCacheSupportWorker',
63: b'BaseIsAppcompatInfrastructureDisabled',
64: b'BaseIsAppcompatInfrastructureDisabledWorker',
65: b'BaseIsDosApplication',
66: b'BaseQueryModuleData',
67: b'BaseReadAppCompatDataForProcessWorker',
68: b'BaseSetLastNTError',
69: b'BaseThreadInitThunk',
70: b'BaseUpdateAppcompatCache',
71: b'BaseUpdateAppcompatCacheWorker',
72: b'BaseUpdateVDMEntry',
73: b'BaseVerifyUnicodeString',
74: b'BaseWriteErrorElevationRequiredEvent',
75: b'Basep8BitStringToDynamicUnicodeString',
76: b'BasepAllocateActivationContextActivationBlock',
77: b'BasepAnsiStringToDynamicUnicodeString',
78: b'BasepAppContainerEnvironmentExtension',
79: b'BasepAppXExtension',
80: b'BasepCheckAppCompat',
81: b'BasepCheckWebBladeHashes',
82: b'BasepCheckWinSaferRestrictions',
83: b'BasepConstructSxsCreateProcessMessage',
84: b'BasepCopyEncryption',
85: b'BasepFreeActivationContextActivationBlock',
86: b'BasepFreeAppCompatData',
87: b'BasepGetAppCompatData',
88: b'BasepGetComputerNameFromNtPath',
89: b'BasepGetExeArchType',
90: b'BasepInitAppCompatData',
91: b'BasepIsProcessAllowed',
92: b'BasepMapModuleHandle',
93: b'BasepNotifyLoadStringResource',
94: b'BasepPostSuccessAppXExtension',
95: b'BasepProcessInvalidImage',
96: b'BasepQueryAppCompat',
97: b'BasepQueryModuleChpeSettings',
98: b'BasepReleaseAppXContext',
99: b'BasepReleaseSxsCreateProcessUtilityStruct',
100: b'BasepReportFault',
101: b'BasepSetFileEncryptionCompression',
102: b'Beep',
103: b'BeginUpdateResourceA',
104: b'BeginUpdateResourceW',
105: b'BindIoCompletionCallback',
106: b'BuildCommDCBA',
107: b'BuildCommDCBAndTimeoutsA',
108: b'BuildCommDCBAndTimeoutsW',
109: b'BuildCommDCBW',
110: b'CallNamedPipeA',
111: b'CallNamedPipeW',
112: b'CallbackMayRunLong',
113: b'CancelDeviceWakeupRequest',
114: b'CancelIo',
115: b'CancelIoEx',
116: b'CancelSynchronousIo',
117: b'CancelThreadpoolIo',
118: b'CancelTimerQueueTimer',
119: b'CancelWaitableTimer',
120: b'CeipIsOptedIn',
121: b'ChangeTimerQueueTimer',
122: b'CheckAllowDecryptedRemoteDestinationPolicy',
123: b'CheckElevation',
124: b'CheckElevationEnabled',
125: b'CheckForReadOnlyResource',
126: b'CheckForReadOnlyResourceFilter',
127: b'CheckNameLegalDOS8Dot3A',
128: b'CheckNameLegalDOS8Dot3W',
129: b'CheckRemoteDebuggerPresent',
130: b'CheckTokenCapability',
131: b'CheckTokenMembershipEx',
132: b'ClearCommBreak',
133: b'ClearCommError',
134: b'CloseConsoleHandle',
135: b'CloseHandle',
136: b'ClosePackageInfo',
137: b'ClosePrivateNamespace',
138: b'CloseProfileUserMapping',
139: b'ClosePseudoConsole',
140: b'CloseState',
141: b'CloseThreadpool',
142: b'CloseThreadpoolCleanupGroup',
143: b'CloseThreadpoolCleanupGroupMembers',
144: b'CloseThreadpoolIo',
145: b'CloseThreadpoolTimer',
146: b'CloseThreadpoolWait',
147: b'CloseThreadpoolWork',
148: b'CmdBatNotification',
149: b'CommConfigDialogA',
150: b'CommConfigDialogW',
151: b'CompareCalendarDates',
152: b'CompareFileTime',
153: b'CompareStringA',
154: b'CompareStringEx',
155: b'CompareStringOrdinal',
156: b'CompareStringW',
157: b'ConnectNamedPipe',
158: b'ConsoleMenuControl',
159: b'ContinueDebugEvent',
160: b'ConvertCalDateTimeToSystemTime',
161: b'ConvertDefaultLocale',
162: b'ConvertFiberToThread',
163: b'ConvertNLSDayOfWeekToWin32DayOfWeek',
164: b'ConvertSystemTimeToCalDateTime',
165: b'ConvertThreadToFiber',
166: b'ConvertThreadToFiberEx',
167: b'CopyContext',
168: b'CopyFile2',
169: b'CopyFileA',
170: b'CopyFileExA',
171: b'CopyFileExW',
172: b'CopyFileTransactedA',
173: b'CopyFileTransactedW',
174: b'CopyFileW',
175: b'CopyLZFile',
176: b'CreateActCtxA',
177: b'CreateActCtxW',
178: b'CreateActCtxWWorker',
179: b'CreateBoundaryDescriptorA',
180: b'CreateBoundaryDescriptorW',
181: b'CreateConsoleScreenBuffer',
182: b'CreateDirectoryA',
183: b'CreateDirectoryExA',
184: b'CreateDirectoryExW',
185: b'CreateDirectoryTransactedA',
186: b'CreateDirectoryTransactedW',
187: b'CreateDirectoryW',
188: b'CreateEnclave',
189: b'CreateEventA',
190: b'CreateEventExA',
191: b'CreateEventExW',
192: b'CreateEventW',
193: b'CreateFiber',
194: b'CreateFiberEx',
195: b'CreateFile2',
196: b'CreateFileA',
197: b'CreateFileMappingA',
198: b'CreateFileMappingFromApp',
199: b'CreateFileMappingNumaA',
200: b'CreateFileMappingNumaW',
201: b'CreateFileMappingW',
202: b'CreateFileTransactedA',
203: b'CreateFileTransactedW',
204: b'CreateFileW',
205: b'CreateHardLinkA',
206: b'CreateHardLinkTransactedA',
207: b'CreateHardLinkTransactedW',
208: b'CreateHardLinkW',
209: b'CreateIoCompletionPort',
210: b'CreateJobObjectA',
211: b'CreateJobObjectW',
212: b'CreateJobSet',
213: b'CreateMailslotA',
214: b'CreateMailslotW',
215: b'CreateMemoryResourceNotification',
216: b'CreateMutexA',
217: b'CreateMutexExA',
218: b'CreateMutexExW',
219: b'CreateMutexW',
220: b'CreateNamedPipeA',
221: b'CreateNamedPipeW',
222: b'CreatePipe',
223: b'CreatePrivateNamespaceA',
224: b'CreatePrivateNamespaceW',
225: b'CreateProcessA',
226: b'CreateProcessAsUserA',
227: b'CreateProcessAsUserW',
228: b'CreateProcessInternalA',
229: b'CreateProcessInternalW',
230: b'CreateProcessW',
231: b'CreatePseudoConsole',
232: b'CreateRemoteThread',
233: b'CreateRemoteThreadEx',
234: b'CreateSemaphoreA',
235: b'CreateSemaphoreExA',
236: b'CreateSemaphoreExW',
237: b'CreateSemaphoreW',
238: b'CreateSymbolicLinkA',
239: b'CreateSymbolicLinkTransactedA',
240: b'CreateSymbolicLinkTransactedW',
241: b'CreateSymbolicLinkW',
242: b'CreateTapePartition',
243: b'CreateThread',
244: b'CreateThreadpool',
245: b'CreateThreadpoolCleanupGroup',
246: b'CreateThreadpoolIo',
247: b'CreateThreadpoolTimer',
248: b'CreateThreadpoolWait',
249: b'CreateThreadpoolWork',
250: b'CreateTimerQueue',
251: b'CreateTimerQueueTimer',
252: b'CreateToolhelp32Snapshot',
253: b'CreateUmsCompletionList',
254: b'CreateUmsThreadContext',
255: b'CreateWaitableTimerA',
256: b'CreateWaitableTimerExA',
257: b'CreateWaitableTimerExW',
258: b'CreateWaitableTimerW',
259: b'CtrlRoutine',
260: b'DeactivateActCtx',
261: b'DeactivateActCtxWorker',
262: b'DebugActiveProcess',
263: b'DebugActiveProcessStop',
264: b'DebugBreak',
265: b'DebugBreakProcess',
266: b'DebugSetProcessKillOnExit',
267: b'DecodePointer',
268: b'DecodeSystemPointer',
269: b'DefineDosDeviceA',
270: b'DefineDosDeviceW',
271: b'DelayLoadFailureHook',
272: b'DeleteAtom',
273: b'DeleteBoundaryDescriptor',
274: b'DeleteCriticalSection',
275: b'DeleteFiber',
276: b'DeleteFileA',
277: b'DeleteFileTransactedA',
278: b'DeleteFileTransactedW',
279: b'DeleteFileW',
280: b'DeleteProcThreadAttributeList',
281: b'DeleteSynchronizationBarrier',
282: b'DeleteTimerQueue',
283: b'DeleteTimerQueueEx',
284: b'DeleteTimerQueueTimer',
285: b'DeleteUmsCompletionList',
286: b'DeleteUmsThreadContext',
287: b'DeleteVolumeMountPointA',
288: b'DeleteVolumeMountPointW',
289: b'DequeueUmsCompletionListItems',
290: b'DeviceIoControl',
291: b'DisableThreadLibraryCalls',
292: b'DisableThreadProfiling',
293: b'DisassociateCurrentThreadFromCallback',
294: b'DiscardVirtualMemory',
295: b'DisconnectNamedPipe',
296: b'DnsHostnameToComputerNameA',
297: b'DnsHostnameToComputerNameExW',
298: b'DnsHostnameToComputerNameW',
299: b'DosDateTimeToFileTime',
300: b'DosPathToSessionPathA',
301: b'DosPathToSessionPathW',
302: b'DuplicateConsoleHandle',
303: b'DuplicateEncryptionInfoFileExt',
304: b'DuplicateHandle',
305: b'EnableThreadProfiling',
306: b'EncodePointer',
307: b'EncodeSystemPointer',
308: b'EndUpdateResourceA',
309: b'EndUpdateResourceW',
310: b'EnterCriticalSection',
311: b'EnterSynchronizationBarrier',
312: b'EnterUmsSchedulingMode',
313: b'EnumCalendarInfoA',
314: b'EnumCalendarInfoExA',
315: b'EnumCalendarInfoExEx',
316: b'EnumCalendarInfoExW',
317: b'EnumCalendarInfoW',
318: b'EnumDateFormatsA',
319: b'EnumDateFormatsExA',
320: b'EnumDateFormatsExEx',
321: b'EnumDateFormatsExW',
322: b'EnumDateFormatsW',
323: b'EnumLanguageGroupLocalesA',
324: b'EnumLanguageGroupLocalesW',
325: b'EnumResourceLanguagesA',
326: b'EnumResourceLanguagesExA',
327: b'EnumResourceLanguagesExW',
328: b'EnumResourceLanguagesW',
329: b'EnumResourceNamesA',
330: b'EnumResourceNamesExA',
331: b'EnumResourceNamesExW',
332: b'EnumResourceNamesW',
333: b'EnumResourceTypesA',
334: b'EnumResourceTypesExA',
335: b'EnumResourceTypesExW',
336: b'EnumResourceTypesW',
337: b'EnumSystemCodePagesA',
338: b'EnumSystemCodePagesW',
339: b'EnumSystemFirmwareTables',
340: b'EnumSystemGeoID',
341: b'EnumSystemGeoNames',
342: b'EnumSystemLanguageGroupsA',
343: b'EnumSystemLanguageGroupsW',
344: b'EnumSystemLocalesA',
345: b'EnumSystemLocalesEx',
346: b'EnumSystemLocalesW',
347: b'EnumTimeFormatsA',
348: b'EnumTimeFormatsEx',
349: b'EnumTimeFormatsW',
350: b'EnumUILanguagesA',
351: b'EnumUILanguagesW',
352: b'EnumerateLocalComputerNamesA',
353: b'EnumerateLocalComputerNamesW',
354: b'EraseTape',
355: b'EscapeCommFunction',
356: b'ExecuteUmsThread',
357: b'ExitProcess',
358: b'ExitThread',
359: b'ExitVDM',
360: b'ExpandEnvironmentStringsA',
361: b'ExpandEnvironmentStringsW',
362: b'ExpungeConsoleCommandHistoryA',
363: b'ExpungeConsoleCommandHistoryW',
364: b'FatalAppExitA',
365: b'FatalAppExitW',
366: b'FatalExit',
367: b'FileTimeToDosDateTime',
368: b'FileTimeToLocalFileTime',
369: b'FileTimeToSystemTime',
370: b'FillConsoleOutputAttribute',
371: b'FillConsoleOutputCharacterA',
372: b'FillConsoleOutputCharacterW',
373: b'FindActCtxSectionGuid',
374: b'FindActCtxSectionGuidWorker',
375: b'FindActCtxSectionStringA',
376: b'FindActCtxSectionStringW',
377: b'FindActCtxSectionStringWWorker',
378: b'FindAtomA',
379: b'FindAtomW',
380: b'FindClose',
381: b'FindCloseChangeNotification',
382: b'FindFirstChangeNotificationA',
383: b'FindFirstChangeNotificationW',
384: b'FindFirstFileA',
385: b'FindFirstFileExA',
386: b'FindFirstFileExW',
387: b'FindFirstFileNameTransactedW',
388: b'FindFirstFileNameW',
389: b'FindFirstFileTransactedA',
390: b'FindFirstFileTransactedW',
391: b'FindFirstFileW',
392: b'FindFirstStreamTransactedW',
393: b'FindFirstStreamW',
394: b'FindFirstVolumeA',
395: b'FindFirstVolumeMountPointA',
396: b'FindFirstVolumeMountPointW',
397: b'FindFirstVolumeW',
398: b'FindNLSString',
399: b'FindNLSStringEx',
400: b'FindNextChangeNotification',
401: b'FindNextFileA',
402: b'FindNextFileNameW',
403: b'FindNextFileW',
404: b'FindNextStreamW',
405: b'FindNextVolumeA',
406: b'FindNextVolumeMountPointA',
407: b'FindNextVolumeMountPointW',
408: b'FindNextVolumeW',
409: b'FindPackagesByPackageFamily',
410: b'FindResourceA',
411: b'FindResourceExA',
412: b'FindResourceExW',
413: b'FindResourceW',
414: b'FindStringOrdinal',
415: b'FindVolumeClose',
416: b'FindVolumeMountPointClose',
417: b'FlsAlloc',
418: b'FlsFree',
419: b'FlsGetValue',
420: b'FlsSetValue',
421: b'FlushConsoleInputBuffer',
422: b'FlushFileBuffers',
423: b'FlushInstructionCache',
424: b'FlushProcessWriteBuffers',
425: b'FlushViewOfFile',
426: b'FoldStringA',
427: b'FoldStringW',
428: b'FormatApplicationUserModelId',
429: b'FormatMessageA',
430: b'FormatMessageW',
431: b'FreeConsole',
432: b'FreeEnvironmentStringsA',
433: b'FreeEnvironmentStringsW',
434: b'FreeLibrary',
435: b'FreeLibraryAndExitThread',
436: b'FreeLibraryWhenCallbackReturns',
437: b'FreeMemoryJobObject',
438: b'FreeResource',
439: b'FreeUserPhysicalPages',
440: b'GenerateConsoleCtrlEvent',
441: b'GetACP',
442: b'GetActiveProcessorCount',
443: b'GetActiveProcessorGroupCount',
444: b'GetAppContainerAce',
445: b'GetAppContainerNamedObjectPath',
446: b'GetApplicationRecoveryCallback',
447: b'GetApplicationRecoveryCallbackWorker',
448: b'GetApplicationRestartSettings',
449: b'GetApplicationRestartSettingsWorker',
450: b'GetApplicationUserModelId',
451: b'GetAtomNameA',
452: b'GetAtomNameW',
453: b'GetBinaryType',
454: b'GetBinaryTypeA',
455: b'GetBinaryTypeW',
456: b'GetCPInfo',
457: b'GetCPInfoExA',
458: b'GetCPInfoExW',
459: b'GetCachedSigningLevel',
460: b'GetCalendarDateFormat',
461: b'GetCalendarDateFormatEx',
462: b'GetCalendarDaysInMonth',
463: b'GetCalendarDifferenceInDays',
464: b'GetCalendarInfoA',
465: b'GetCalendarInfoEx',
466: b'GetCalendarInfoW',
467: b'GetCalendarMonthsInYear',
468: b'GetCalendarSupportedDateRange',
469: b'GetCalendarWeekNumber',
470: b'GetComPlusPackageInstallStatus',
471: b'GetCommConfig',
472: b'GetCommMask',
473: b'GetCommModemStatus',
474: b'GetCommProperties',
475: b'GetCommState',
476: b'GetCommTimeouts',
477: b'GetCommandLineA',
478: b'GetCommandLineW',
479: b'GetCompressedFileSizeA',
480: b'GetCompressedFileSizeTransactedA',
481: b'GetCompressedFileSizeTransactedW',
482: b'GetCompressedFileSizeW',
483: b'GetComputerNameA',
484: b'GetComputerNameExA',
485: b'GetComputerNameExW',
486: b'GetComputerNameW',
487: b'GetConsoleAliasA',
488: b'GetConsoleAliasExesA',
489: b'GetConsoleAliasExesLengthA',
490: b'GetConsoleAliasExesLengthW',
491: b'GetConsoleAliasExesW',
492: b'GetConsoleAliasW',
493: b'GetConsoleAliasesA',
494: b'GetConsoleAliasesLengthA',
495: b'GetConsoleAliasesLengthW',
496: b'GetConsoleAliasesW',
497: b'GetConsoleCP',
498: b'GetConsoleCharType',
499: b'GetConsoleCommandHistoryA',
500: b'GetConsoleCommandHistoryLengthA',
501: b'GetConsoleCommandHistoryLengthW',
502: b'GetConsoleCommandHistoryW',
503: b'GetConsoleCursorInfo',
504: b'GetConsoleCursorMode',
505: b'GetConsoleDisplayMode',
506: b'GetConsoleFontInfo',
507: b'GetConsoleFontSize',
508: b'GetConsoleHardwareState',
509: b'GetConsoleHistoryInfo',
510: b'GetConsoleInputExeNameA',
511: b'GetConsoleInputExeNameW',
512: b'GetConsoleInputWaitHandle',
513: b'GetConsoleKeyboardLayoutNameA',
514: b'GetConsoleKeyboardLayoutNameW',
515: b'GetConsoleMode',
516: b'GetConsoleNlsMode',
517: b'GetConsoleOriginalTitleA',
518: b'GetConsoleOriginalTitleW',
519: b'GetConsoleOutputCP',
520: b'GetConsoleProcessList',
521: b'GetConsoleScreenBufferInfo',
522: b'GetConsoleScreenBufferInfoEx',
523: b'GetConsoleSelectionInfo',
524: b'GetConsoleTitleA',
525: b'GetConsoleTitleW',
526: b'GetConsoleWindow',
527: b'GetCurrencyFormatA',
528: b'GetCurrencyFormatEx',
529: b'GetCurrencyFormatW',
530: b'GetCurrentActCtx',
531: b'GetCurrentActCtxWorker',
532: b'GetCurrentApplicationUserModelId',
533: b'GetCurrentConsoleFont',
534: b'GetCurrentConsoleFontEx',
535: b'GetCurrentDirectoryA',
536: b'GetCurrentDirectoryW',
537: b'GetCurrentPackageFamilyName',
538: b'GetCurrentPackageFullName',
539: b'GetCurrentPackageId',
540: b'GetCurrentPackageInfo',
541: b'GetCurrentPackagePath',
542: b'GetCurrentProcess',
543: b'GetCurrentProcessId',
544: b'GetCurrentProcessorNumber',
545: b'GetCurrentProcessorNumberEx',
546: b'GetCurrentThread',
547: b'GetCurrentThreadId',
548: b'GetCurrentThreadStackLimits',
549: b'GetCurrentUmsThread',
550: b'GetDateFormatA',
551: b'GetDateFormatAWorker',
552: b'GetDateFormatEx',
553: b'GetDateFormatW',
554: b'GetDateFormatWWorker',
555: b'GetDefaultCommConfigA',
556: b'GetDefaultCommConfigW',
557: b'GetDevicePowerState',
558: b'GetDiskFreeSpaceA',
559: b'GetDiskFreeSpaceExA',
560: b'GetDiskFreeSpaceExW',
561: b'GetDiskFreeSpaceW',
562: b'GetDiskSpaceInformationA',
563: b'GetDiskSpaceInformationW',
564: b'GetDllDirectoryA',
565: b'GetDllDirectoryW',
566: b'GetDriveTypeA',
567: b'GetDriveTypeW',
568: b'GetDurationFormat',
569: b'GetDurationFormatEx',
570: b'GetDynamicTimeZoneInformation',
571: b'GetEnabledXStateFeatures',
572: b'GetEncryptedFileVersionExt',
573: b'GetEnvironmentStrings',
574: b'GetEnvironmentStringsA',
575: b'GetEnvironmentStringsW',
576: b'GetEnvironmentVariableA',
577: b'GetEnvironmentVariableW',
578: b'GetEraNameCountedString',
579: b'GetErrorMode',
580: b'GetExitCodeProcess',
581: b'GetExitCodeThread',
582: b'GetExpandedNameA',
583: b'GetExpandedNameW',
584: b'GetFileAttributesA',
585: b'GetFileAttributesExA',
586: b'GetFileAttributesExW',
587: b'GetFileAttributesTransactedA',
588: b'GetFileAttributesTransactedW',
589: b'GetFileAttributesW',
590: b'GetFileBandwidthReservation',
591: b'GetFileInformationByHandle',
592: b'GetFileInformationByHandleEx',
593: b'GetFileMUIInfo',
594: b'GetFileMUIPath',
595: b'GetFileSize',
596: b'GetFileSizeEx',
597: b'GetFileTime',
598: b'GetFileType',
599: b'GetFinalPathNameByHandleA',
600: b'GetFinalPathNameByHandleW',
601: b'GetFirmwareEnvironmentVariableA',
602: b'GetFirmwareEnvironmentVariableExA',
603: b'GetFirmwareEnvironmentVariableExW',
604: b'GetFirmwareEnvironmentVariableW',
605: b'GetFirmwareType',
606: b'GetFullPathNameA',
607: b'GetFullPathNameTransactedA',
608: b'GetFullPathNameTransactedW',
609: b'GetFullPathNameW',
610: b'GetGeoInfoA',
611: b'GetGeoInfoEx',
612: b'GetGeoInfoW',
613: b'GetHandleInformation',
614: b'GetLargePageMinimum',
615: b'GetLargestConsoleWindowSize',
616: b'GetLastError',
617: b'GetLocalTime',
618: b'GetLocaleInfoA',
619: b'GetLocaleInfoEx',
620: b'GetLocaleInfoW',
621: b'GetLogicalDriveStringsA',
622: b'GetLogicalDriveStringsW',
623: b'GetLogicalDrives',
624: b'GetLogicalProcessorInformation',
625: b'GetLogicalProcessorInformationEx',
626: b'GetLongPathNameA',
627: b'GetLongPathNameTransactedA',
628: b'GetLongPathNameTransactedW',
629: b'GetLongPathNameW',
630: b'GetMailslotInfo',
631: b'GetMaximumProcessorCount',
632: b'GetMaximumProcessorGroupCount',
633: b'GetMemoryErrorHandlingCapabilities',
634: b'GetModuleFileNameA',
635: b'GetModuleFileNameW',
636: b'GetModuleHandleA',
637: b'GetModuleHandleExA',
638: b'GetModuleHandleExW',
639: b'GetModuleHandleW',
640: b'GetNLSVersion',
641: b'GetNLSVersionEx',
642: b'GetNamedPipeAttribute',
643: b'GetNamedPipeClientComputerNameA',
644: b'GetNamedPipeClientComputerNameW',
645: b'GetNamedPipeClientProcessId',
646: b'GetNamedPipeClientSessionId',
647: b'GetNamedPipeHandleStateA',
648: b'GetNamedPipeHandleStateW',
649: b'GetNamedPipeInfo',
650: b'GetNamedPipeServerProcessId',
651: b'GetNamedPipeServerSessionId',
652: b'GetNativeSystemInfo',
653: b'GetNextUmsListItem',
654: b'GetNextVDMCommand',
655: b'GetNumaAvailableMemoryNode',
656: b'GetNumaAvailableMemoryNodeEx',
657: b'GetNumaHighestNodeNumber',
658: b'GetNumaNodeNumberFromHandle',
659: b'GetNumaNodeProcessorMask',
660: b'GetNumaNodeProcessorMaskEx',
661: b'GetNumaProcessorNode',
662: b'GetNumaProcessorNodeEx',
663: b'GetNumaProximityNode',
664: b'GetNumaProximityNodeEx',
665: b'GetNumberFormatA',
666: b'GetNumberFormatEx',
667: b'GetNumberFormatW',
668: b'GetNumberOfConsoleFonts',
669: b'GetNumberOfConsoleInputEvents',
670: b'GetNumberOfConsoleMouseButtons',
671: b'GetOEMCP',
672: b'GetOverlappedResult',
673: b'GetOverlappedResultEx',
674: b'GetPackageApplicationIds',
675: b'GetPackageFamilyName',
676: b'GetPackageFullName',
677: b'GetPackageId',
678: b'GetPackageInfo',
679: b'GetPackagePath',
680: b'GetPackagePathByFullName',
681: b'GetPackagesByPackageFamily',
682: b'GetPhysicallyInstalledSystemMemory',
683: b'GetPriorityClass',
684: b'GetPrivateProfileIntA',
685: b'GetPrivateProfileIntW',
686: b'GetPrivateProfileSectionA',
687: b'GetPrivateProfileSectionNamesA',
688: b'GetPrivateProfileSectionNamesW',
689: b'GetPrivateProfileSectionW',
690: b'GetPrivateProfileStringA',
691: b'GetPrivateProfileStringW',
692: b'GetPrivateProfileStructA',
693: b'GetPrivateProfileStructW',
694: b'GetProcAddress',
695: b'GetProcessAffinityMask',
696: b'GetProcessDEPPolicy',
697: b'GetProcessDefaultCpuSets',
698: b'GetProcessGroupAffinity',
699: b'GetProcessHandleCount',
700: b'GetProcessHeap',
701: b'GetProcessHeaps',
702: b'GetProcessId',
703: b'GetProcessIdOfThread',
704: b'GetProcessInformation',
705: b'GetProcessIoCounters',
706: b'GetProcessMitigationPolicy',
707: b'GetProcessPreferredUILanguages',
708: b'GetProcessPriorityBoost',
709: b'GetProcessShutdownParameters',
710: b'GetProcessTimes',
711: b'GetProcessVersion',
712: b'GetProcessWorkingSetSize',
713: b'GetProcessWorkingSetSizeEx',
714: b'GetProcessorSystemCycleTime',
715: b'GetProductInfo',
716: b'GetProfileIntA',
717: b'GetProfileIntW',
718: b'GetProfileSectionA',
719: b'GetProfileSectionW',
720: b'GetProfileStringA',
721: b'GetProfileStringW',
722: b'GetQueuedCompletionStatus',
723: b'GetQueuedCompletionStatusEx',
724: b'GetShortPathNameA',
725: b'GetShortPathNameW',
726: b'GetStagedPackagePathByFullName',
727: b'GetStartupInfoA',
728: b'GetStartupInfoW',
729: b'GetStateFolder',
730: b'GetStdHandle',
731: b'GetStringScripts',
732: b'GetStringTypeA',
733: b'GetStringTypeExA',
734: b'GetStringTypeExW',
735: b'GetStringTypeW',
736: b'GetSystemAppDataKey',
737: b'GetSystemCpuSetInformation',
738: b'GetSystemDEPPolicy',
739: b'GetSystemDefaultLCID',
740: b'GetSystemDefaultLangID',
741: b'GetSystemDefaultLocaleName',
742: b'GetSystemDefaultUILanguage',
743: b'GetSystemDirectoryA',
744: b'GetSystemDirectoryW',
745: b'GetSystemFileCacheSize',
746: b'GetSystemFirmwareTable',
747: b'GetSystemInfo',
748: b'GetSystemPowerStatus',
749: b'GetSystemPreferredUILanguages',
750: b'GetSystemRegistryQuota',
751: b'GetSystemTime',
752: b'GetSystemTimeAdjustment',
753: b'GetSystemTimeAsFileTime',
754: b'GetSystemTimePreciseAsFileTime',
755: b'GetSystemTimes',
756: b'GetSystemWindowsDirectoryA',
757: b'GetSystemWindowsDirectoryW',
758: b'GetSystemWow64DirectoryA',
759: b'GetSystemWow64DirectoryW',
760: b'GetTapeParameters',
761: b'GetTapePosition',
762: b'GetTapeStatus',
763: b'GetTempFileNameA',
764: b'GetTempFileNameW',
765: b'GetTempPathA',
766: b'GetTempPathW',
767: b'GetThreadContext',
768: b'GetThreadDescription',
769: b'GetThreadErrorMode',
770: b'GetThreadGroupAffinity',
771: b'GetThreadIOPendingFlag',
772: b'GetThreadId',
773: b'GetThreadIdealProcessorEx',
774: b'GetThreadInformation',
775: b'GetThreadLocale',
776: b'GetThreadPreferredUILanguages',
777: b'GetThreadPriority',
778: b'GetThreadPriorityBoost',
779: b'GetThreadSelectedCpuSets',
780: b'GetThreadSelectorEntry',
781: b'GetThreadTimes',
782: b'GetThreadUILanguage',
783: b'GetTickCount',
784: b'GetTickCount64',
785: b'GetTimeFormatA',
786: b'GetTimeFormatAWorker',
787: b'GetTimeFormatEx',
788: b'GetTimeFormatW',
789: b'GetTimeFormatWWorker',
790: b'GetTimeZoneInformation',
791: b'GetTimeZoneInformationForYear',
792: b'GetUILanguageInfo',
793: b'GetUmsCompletionListEvent',
794: b'GetUmsSystemThreadInformation',
795: b'GetUserDefaultGeoName',
796: b'GetUserDefaultLCID',
797: b'GetUserDefaultLangID',
798: b'GetUserDefaultLocaleName',
799: b'GetUserDefaultUILanguage',
800: b'GetUserGeoID',
801: b'GetUserPreferredUILanguages',
802: b'GetVDMCurrentDirectories',
803: b'GetVersion',
804: b'GetVersionExA',
805: b'GetVersionExW',
806: b'GetVolumeInformationA',
807: b'GetVolumeInformationByHandleW',
808: b'GetVolumeInformationW',
809: b'GetVolumeNameForVolumeMountPointA',
810: b'GetVolumeNameForVolumeMountPointW',
811: b'GetVolumePathNameA',
812: b'GetVolumePathNameW',
813: b'GetVolumePathNamesForVolumeNameA',
814: b'GetVolumePathNamesForVolumeNameW',
815: b'GetWindowsDirectoryA',
816: b'GetWindowsDirectoryW',
817: b'GetWriteWatch',
818: b'GetXStateFeaturesMask',
819: b'GlobalAddAtomA',
820: b'GlobalAddAtomExA',
821: b'GlobalAddAtomExW',
822: b'GlobalAddAtomW',
823: b'GlobalAlloc',
824: b'GlobalCompact',
825: b'GlobalDeleteAtom',
826: b'GlobalFindAtomA',
827: b'GlobalFindAtomW',
828: b'GlobalFix',
829: b'GlobalFlags',
830: b'GlobalFree',
831: b'GlobalGetAtomNameA',
832: b'GlobalGetAtomNameW',
833: b'GlobalHandle',
834: b'GlobalLock',
835: b'GlobalMemoryStatus',
836: b'GlobalMemoryStatusEx',
837: b'GlobalReAlloc',
838: b'GlobalSize',
839: b'GlobalUnWire',
840: b'GlobalUnfix',
841: b'GlobalUnlock',
842: b'GlobalWire',
843: b'Heap32First',
844: b'Heap32ListFirst',
845: b'Heap32ListNext',
846: b'Heap32Next',
847: b'HeapAlloc',
848: b'HeapCompact',
849: b'HeapCreate',
850: b'HeapDestroy',
851: b'HeapFree',
852: b'HeapLock',
853: b'HeapQueryInformation',
854: b'HeapReAlloc',
855: b'HeapSetInformation',
856: b'HeapSize',
857: b'HeapSummary',
858: b'HeapUnlock',
859: b'HeapValidate',
860: b'HeapWalk',
861: b'IdnToAscii',
862: b'IdnToNameprepUnicode',
863: b'IdnToUnicode',
864: b'InitAtomTable',
865: b'InitOnceBeginInitialize',
866: b'InitOnceComplete',
867: b'InitOnceExecuteOnce',
868: b'InitOnceInitialize',
869: b'InitializeConditionVariable',
870: b'InitializeContext',
871: b'InitializeContext2',
872: b'InitializeCriticalSection',
873: b'InitializeCriticalSectionAndSpinCount',
874: b'InitializeCriticalSectionEx',
875: b'InitializeEnclave',
876: b'InitializeProcThreadAttributeList',
877: b'InitializeSListHead',
878: b'InitializeSRWLock',
879: b'InitializeSynchronizationBarrier',
880: b'InstallELAMCertificateInfo',
881: b'InterlockedFlushSList',
882: b'InterlockedPopEntrySList',
883: b'InterlockedPushEntrySList',
884: b'InterlockedPushListSList',
885: b'InterlockedPushListSListEx',
886: b'InvalidateConsoleDIBits',
887: b'IsBadCodePtr',
888: b'IsBadHugeReadPtr',
889: b'IsBadHugeWritePtr',
890: b'IsBadReadPtr',
891: b'IsBadStringPtrA',
892: b'IsBadStringPtrW',
893: b'IsBadWritePtr',
894: b'IsCalendarLeapDay',
895: b'IsCalendarLeapMonth',
896: b'IsCalendarLeapYear',
897: b'IsDBCSLeadByte',
898: b'IsDBCSLeadByteEx',
899: b'IsDebuggerPresent',
900: b'IsEnclaveTypeSupported',
901: b'IsNLSDefinedString',
902: b'IsNativeVhdBoot',
903: b'IsNormalizedString',
904: b'IsProcessCritical',
905: b'IsProcessInJob',
906: b'IsProcessorFeaturePresent',
907: b'IsSystemResumeAutomatic',
908: b'IsThreadAFiber',
909: b'IsThreadpoolTimerSet',
910: b'IsValidCalDateTime',
911: b'IsValidCodePage',
912: b'IsValidLanguageGroup',
913: b'IsValidLocale',
914: b'IsValidLocaleName',
915: b'IsValidNLSVersion',
916: b'IsWow64GuestMachineSupported',
917: b'IsWow64Process',
918: b'IsWow64Process2',
919: b'K32EmptyWorkingSet',
920: b'K32EnumDeviceDrivers',
921: b'K32EnumPageFilesA',
922: b'K32EnumPageFilesW',
923: b'K32EnumProcessModules',
924: b'K32EnumProcessModulesEx',
925: b'K32EnumProcesses',
926: b'K32GetDeviceDriverBaseNameA',
927: b'K32GetDeviceDriverBaseNameW',
928: b'K32GetDeviceDriverFileNameA',
929: b'K32GetDeviceDriverFileNameW',
930: b'K32GetMappedFileNameA',
931: b'K32GetMappedFileNameW',
932: b'K32GetModuleBaseNameA',
933: b'K32GetModuleBaseNameW',
934: b'K32GetModuleFileNameExA',
935: b'K32GetModuleFileNameExW',
936: b'K32GetModuleInformation',
937: b'K32GetPerformanceInfo',
938: b'K32GetProcessImageFileNameA',
939: b'K32GetProcessImageFileNameW',
940: b'K32GetProcessMemoryInfo',
941: b'K32GetWsChanges',
942: b'K32GetWsChangesEx',
943: b'K32InitializeProcessForWsWatch',
944: b'K32QueryWorkingSet',
945: b'K32QueryWorkingSetEx',
946: b'LCIDToLocaleName',
947: b'LCMapStringA',
948: b'LCMapStringEx',
949: b'LCMapStringW',
950: b'LZClose',
951: b'LZCloseFile',
952: b'LZCopy',
953: b'LZCreateFileW',
954: b'LZDone',
955: b'LZInit',
956: b'LZOpenFileA',
957: b'LZOpenFileW',
958: b'LZRead',
959: b'LZSeek',
960: b'LZStart',
961: b'LeaveCriticalSection',
962: b'LeaveCriticalSectionWhenCallbackReturns',
963: b'LoadAppInitDlls',
964: b'LoadEnclaveData',
965: b'LoadLibraryA',
966: b'LoadLibraryExA',
967: b'LoadLibraryExW',
968: b'LoadLibraryW',
969: b'LoadModule',
970: b'LoadPackagedLibrary',
971: b'LoadResource',
972: b'LoadStringBaseExW',
973: b'LoadStringBaseW',
974: b'LocalAlloc',
975: b'LocalCompact',
976: b'LocalFileTimeToFileTime',
977: b'LocalFileTimeToLocalSystemTime',
978: b'LocalFlags',
979: b'LocalFree',
980: b'LocalHandle',
981: b'LocalLock',
982: b'LocalReAlloc',
983: b'LocalShrink',
984: b'LocalSize',
985: b'LocalSystemTimeToLocalFileTime',
986: b'LocalUnlock',
987: b'LocaleNameToLCID',
988: b'LocateXStateFeature',
989: b'LockFile',
990: b'LockFileEx',
991: b'LockResource',
992: b'MapUserPhysicalPages',
993: b'MapUserPhysicalPagesScatter',
994: b'MapViewOfFile',
995: b'MapViewOfFileEx',
996: b'MapViewOfFileExNuma',
997: b'MapViewOfFileFromApp',
998: b'Module32First',
999: b'Module32FirstW',
1000: b'Module32Next',
1001: b'Module32NextW',
1002: b'MoveFileA',
1003: b'MoveFileExA',
1004: b'MoveFileExW',
1005: b'MoveFileTransactedA',
1006: b'MoveFileTransactedW',
1007: b'MoveFileW',
1008: b'MoveFileWithProgressA',
1009: b'MoveFileWithProgressW',
1010: b'MulDiv',
1011: b'MultiByteToWideChar',
1012: b'NeedCurrentDirectoryForExePathA',
1013: b'NeedCurrentDirectoryForExePathW',
1014: b'NlsCheckPolicy',
1015: b'NlsEventDataDescCreate',
1016: b'NlsGetCacheUpdateCount',
1017: b'NlsUpdateLocale',
1018: b'NlsUpdateSystemLocale',
1019: b'NlsWriteEtwEvent',
1020: b'NormalizeString',
1021: b'NotifyMountMgr',
1022: b'NotifyUILanguageChange',
1023: b'NtVdm64CreateProcessInternalW',
1024: b'OOBEComplete',
1025: b'OfferVirtualMemory',
1026: b'OpenConsoleW',
1027: b'OpenConsoleWStub',
1028: b'OpenEventA',
1029: b'OpenEventW',
1030: b'OpenFile',
1031: b'OpenFileById',
1032: b'OpenFileMappingA',
1033: b'OpenFileMappingW',
1034: b'OpenJobObjectA',
1035: b'OpenJobObjectW',
1036: b'OpenMutexA',
1037: b'OpenMutexW',
1038: b'OpenPackageInfoByFullName',
1039: b'OpenPrivateNamespaceA',
1040: b'OpenPrivateNamespaceW',
1041: b'OpenProcess',
1042: b'OpenProcessToken',
1043: b'OpenProfileUserMapping',
1044: b'OpenSemaphoreA',
1045: b'OpenSemaphoreW',
1046: b'OpenState',
1047: b'OpenStateExplicit',
1048: b'OpenThread',
1049: b'OpenThreadToken',
1050: b'OpenWaitableTimerA',
1051: b'OpenWaitableTimerW',
1052: b'OutputDebugStringA',
1053: b'OutputDebugStringW',
1054: b'PackageFamilyNameFromFullName',
1055: b'PackageFamilyNameFromId',
1056: b'PackageFullNameFromId',
1057: b'PackageIdFromFullName',
1058: b'PackageNameAndPublisherIdFromFamilyName',
1059: b'ParseApplicationUserModelId',
1060: b'PeekConsoleInputA',
1061: b'PeekConsoleInputW',
1062: b'PeekNamedPipe',
1063: b'PostQueuedCompletionStatus',
1064: b'PowerClearRequest',
1065: b'PowerCreateRequest',
1066: b'PowerSetRequest',
1067: b'PrefetchVirtualMemory',
1068: b'PrepareTape',
1069: b'PrivCopyFileExW',
1070: b'PrivMoveFileIdentityW',
1071: b'Process32First',
1072: b'Process32FirstW',
1073: b'Process32Next',
1074: b'Process32NextW',
1075: b'ProcessIdToSessionId',
1076: b'PssCaptureSnapshot',
1077: b'PssDuplicateSnapshot',
1078: b'PssFreeSnapshot',
1079: b'PssQuerySnapshot',
1080: b'PssWalkMarkerCreate',
1081: b'PssWalkMarkerFree',
1082: b'PssWalkMarkerGetPosition',
1083: b'PssWalkMarkerRewind',
1084: b'PssWalkMarkerSeek',
1085: b'PssWalkMarkerSeekToBeginning',
1086: b'PssWalkMarkerSetPosition',
1087: b'PssWalkMarkerTell',
1088: b'PssWalkSnapshot',
1089: b'PulseEvent',
1090: b'PurgeComm',
1091: b'QueryActCtxSettingsW',
1092: b'QueryActCtxSettingsWWorker',
1093: b'QueryActCtxW',
1094: b'QueryActCtxWWorker',
1095: b'QueryDepthSList',
1096: b'QueryDosDeviceA',
1097: b'QueryDosDeviceW',
1098: b'QueryFullProcessImageNameA',
1099: b'QueryFullProcessImageNameW',
1100: b'QueryIdleProcessorCycleTime',
1101: b'QueryIdleProcessorCycleTimeEx',
1102: b'QueryInformationJobObject',
1103: b'QueryIoRateControlInformationJobObject',
1104: b'QueryMemoryResourceNotification',
1105: b'QueryPerformanceCounter',
1106: b'QueryPerformanceFrequency',
1107: b'QueryProcessAffinityUpdateMode',
1108: b'QueryProcessCycleTime',
1109: b'QueryProtectedPolicy',
1110: b'QueryThreadCycleTime',
1111: b'QueryThreadProfiling',
1112: b'QueryThreadpoolStackInformation',
1113: b'QueryUmsThreadInformation',
1114: b'QueryUnbiasedInterruptTime',
1115: b'QueueUserAPC',
1116: b'QueueUserWorkItem',
1117: b'QuirkGetData2Worker',
1118: b'QuirkGetDataWorker',
1119: b'QuirkIsEnabled2Worker',
1120: b'QuirkIsEnabled3Worker',
1121: b'QuirkIsEnabledForPackage2Worker',
1122: b'QuirkIsEnabledForPackage3Worker',
1123: b'QuirkIsEnabledForPackage4Worker',
1124: b'QuirkIsEnabledForPackageWorker',
1125: b'QuirkIsEnabledForProcessWorker',
1126: b'QuirkIsEnabledWorker',
1127: b'RaiseException',
1128: b'RaiseFailFastException',
1129: b'RaiseInvalid16BitExeError',
1130: b'ReOpenFile',
1131: b'ReadConsoleA',
1132: b'ReadConsoleInputA',
1133: b'ReadConsoleInputExA',
1134: b'ReadConsoleInputExW',
1135: b'ReadConsoleInputW',
1136: b'ReadConsoleOutputA',
1137: b'ReadConsoleOutputAttribute',
1138: b'ReadConsoleOutputCharacterA',
1139: b'ReadConsoleOutputCharacterW',
1140: b'ReadConsoleOutputW',
1141: b'ReadConsoleW',
1142: b'ReadDirectoryChangesExW',
1143: b'ReadDirectoryChangesW',
1144: b'ReadFile',
1145: b'ReadFileEx',
1146: b'ReadFileScatter',
1147: b'ReadProcessMemory',
1148: b'ReadThreadProfilingData',
1149: b'ReclaimVirtualMemory',
1150: b'RegCloseKey',
1151: b'RegCopyTreeW',
1152: b'RegCreateKeyExA',
1153: b'RegCreateKeyExW',
1154: b'RegDeleteKeyExA',
1155: b'RegDeleteKeyExW',
1156: b'RegDeleteTreeA',
1157: b'RegDeleteTreeW',
1158: b'RegDeleteValueA',
1159: b'RegDeleteValueW',
1160: b'RegDisablePredefinedCacheEx',
1161: b'RegEnumKeyExA',
1162: b'RegEnumKeyExW',
1163: b'RegEnumValueA',
1164: b'RegEnumValueW',
1165: b'RegFlushKey',
1166: b'RegGetKeySecurity',
1167: b'RegGetValueA',
1168: b'RegGetValueW',
1169: b'RegLoadKeyA',
1170: b'RegLoadKeyW',
1171: b'RegLoadMUIStringA',
1172: b'RegLoadMUIStringW',
1173: b'RegNotifyChangeKeyValue',
1174: b'RegOpenCurrentUser',
1175: b'RegOpenKeyExA',
1176: b'RegOpenKeyExW',
1177: b'RegOpenUserClassesRoot',
1178: b'RegQueryInfoKeyA',
1179: b'RegQueryInfoKeyW',
1180: b'RegQueryValueExA',
1181: b'RegQueryValueExW',
1182: b'RegRestoreKeyA',
1183: b'RegRestoreKeyW',
1184: b'RegSaveKeyExA',
1185: b'RegSaveKeyExW',
1186: b'RegSetKeySecurity',
1187: b'RegSetValueExA',
1188: b'RegSetValueExW',
1189: b'RegUnLoadKeyA',
1190: b'RegUnLoadKeyW',
1191: b'RegisterApplicationRecoveryCallback',
1192: b'RegisterApplicationRestart',
1193: b'RegisterBadMemoryNotification',
1194: b'RegisterConsoleIME',
1195: b'RegisterConsoleOS2',
1196: b'RegisterConsoleVDM',
1197: b'RegisterWaitForInputIdle',
1198: b'RegisterWaitForSingleObject',
1199: b'RegisterWaitForSingleObjectEx',
1200: b'RegisterWaitUntilOOBECompleted',
1201: b'RegisterWowBaseHandlers',
1202: b'RegisterWowExec',
1203: b'ReleaseActCtx',
1204: b'ReleaseActCtxWorker',
1205: b'ReleaseMutex',
1206: b'ReleaseMutexWhenCallbackReturns',
1207: b'ReleaseSRWLockExclusive',
1208: b'ReleaseSRWLockShared',
1209: b'ReleaseSemaphore',
1210: b'ReleaseSemaphoreWhenCallbackReturns',
1211: b'RemoveDirectoryA',
1212: b'RemoveDirectoryTransactedA',
1213: b'RemoveDirectoryTransactedW',
1214: b'RemoveDirectoryW',
1215: b'RemoveDllDirectory',
1216: b'RemoveLocalAlternateComputerNameA',
1217: b'RemoveLocalAlternateComputerNameW',
1218: b'RemoveSecureMemoryCacheCallback',
1219: b'RemoveVectoredContinueHandler',
1220: b'RemoveVectoredExceptionHandler',
1221: b'ReplaceFile',
1222: b'ReplaceFileA',
1223: b'ReplaceFileW',
1224: b'ReplacePartitionUnit',
1225: b'RequestDeviceWakeup',
1226: b'RequestWakeupLatency',
1227: b'ResetEvent',
1228: b'ResetWriteWatch',
1229: b'ResizePseudoConsole',
1230: b'ResolveDelayLoadedAPI',
1231: b'ResolveDelayLoadsFromDll',
1232: b'ResolveLocaleName',
1233: b'RestoreLastError',
1234: b'ResumeThread',
1235: b'RtlAddFunctionTable',
1236: b'RtlCaptureContext',
1237: b'RtlCaptureStackBackTrace',
1238: b'RtlCompareMemory',
1239: b'RtlCopyMemory',
1240: b'RtlDeleteFunctionTable',
1241: b'RtlFillMemory',
1242: b'RtlInstallFunctionTableCallback',
1243: b'RtlLookupFunctionEntry',
1244: b'RtlMoveMemory',
1245: b'RtlPcToFileHeader',
1246: b'RtlRaiseException',
1247: b'RtlRestoreContext',
1248: b'RtlUnwind',
1249: b'RtlUnwindEx',
1250: b'RtlVirtualUnwind',
1251: b'RtlZeroMemory',
1252: b'ScrollConsoleScreenBufferA',
1253: b'ScrollConsoleScreenBufferW',
1254: b'SearchPathA',
1255: b'SearchPathW',
1256: b'SetCachedSigningLevel',
1257: b'SetCalendarInfoA',
1258: b'SetCalendarInfoW',
1259: b'SetComPlusPackageInstallStatus',
1260: b'SetCommBreak',
1261: b'SetCommConfig',
1262: b'SetCommMask',
1263: b'SetCommState',
1264: b'SetCommTimeouts',
1265: b'SetComputerNameA',
1266: b'SetComputerNameEx2W',
1267: b'SetComputerNameExA',
1268: b'SetComputerNameExW',
1269: b'SetComputerNameW',
1270: b'SetConsoleActiveScreenBuffer',
1271: b'SetConsoleCP',
1272: b'SetConsoleCtrlHandler',
1273: b'SetConsoleCursor',
1274: b'SetConsoleCursorInfo',
1275: b'SetConsoleCursorMode',
1276: b'SetConsoleCursorPosition',
1277: b'SetConsoleDisplayMode',
1278: b'SetConsoleFont',
1279: b'SetConsoleHardwareState',
1280: b'SetConsoleHistoryInfo',
1281: b'SetConsoleIcon',
1282: b'SetConsoleInputExeNameA',
1283: b'SetConsoleInputExeNameW',
1284: b'SetConsoleKeyShortcuts',
1285: b'SetConsoleLocalEUDC',
1286: b'SetConsoleMaximumWindowSize',
1287: b'SetConsoleMenuClose',
1288: b'SetConsoleMode',
1289: b'SetConsoleNlsMode',
1290: b'SetConsoleNumberOfCommandsA',
1291: b'SetConsoleNumberOfCommandsW',
1292: b'SetConsoleOS2OemFormat',
1293: b'SetConsoleOutputCP',
1294: b'SetConsolePalette',
1295: b'SetConsoleScreenBufferInfoEx',
1296: b'SetConsoleScreenBufferSize',
1297: b'SetConsoleTextAttribute',
1298: b'SetConsoleTitleA',
1299: b'SetConsoleTitleW',
1300: b'SetConsoleWindowInfo',
1301: b'SetCriticalSectionSpinCount',
1302: b'SetCurrentConsoleFontEx',
1303: b'SetCurrentDirectoryA',
1304: b'SetCurrentDirectoryW',
1305: b'SetDefaultCommConfigA',
1306: b'SetDefaultCommConfigW',
1307: b'SetDefaultDllDirectories',
1308: b'SetDllDirectoryA',
1309: b'SetDllDirectoryW',
1310: b'SetDynamicTimeZoneInformation',
1311: b'SetEndOfFile',
1312: b'SetEnvironmentStringsA',
1313: b'SetEnvironmentStringsW',
1314: b'SetEnvironmentVariableA',
1315: b'SetEnvironmentVariableW',
1316: b'SetErrorMode',
1317: b'SetEvent',
1318: b'SetEventWhenCallbackReturns',
1319: b'SetFileApisToANSI',
1320: b'SetFileApisToOEM',
1321: b'SetFileAttributesA',
1322: b'SetFileAttributesTransactedA',
1323: b'SetFileAttributesTransactedW',
1324: b'SetFileAttributesW',
1325: b'SetFileBandwidthReservation',
1326: b'SetFileCompletionNotificationModes',
1327: b'SetFileInformationByHandle',
1328: b'SetFileIoOverlappedRange',
1329: b'SetFilePointer',
1330: b'SetFilePointerEx',
1331: b'SetFileShortNameA',
1332: b'SetFileShortNameW',
1333: b'SetFileTime',
1334: b'SetFileValidData',
1335: b'SetFirmwareEnvironmentVariableA',
1336: b'SetFirmwareEnvironmentVariableExA',
1337: b'SetFirmwareEnvironmentVariableExW',
1338: b'SetFirmwareEnvironmentVariableW',
1339: b'SetHandleCount',
1340: b'SetHandleInformation',
1341: b'SetInformationJobObject',
1342: b'SetIoRateControlInformationJobObject',
1343: b'SetLastConsoleEventActive',
1344: b'SetLastError',
1345: b'SetLocalPrimaryComputerNameA',
1346: b'SetLocalPrimaryComputerNameW',
1347: b'SetLocalTime',
1348: b'SetLocaleInfoA',
1349: b'SetLocaleInfoW',
1350: b'SetMailslotInfo',
1351: b'SetMessageWaitingIndicator',
1352: b'SetNamedPipeAttribute',
1353: b'SetNamedPipeHandleState',
1354: b'SetPriorityClass',
1355: b'SetProcessAffinityMask',
1356: b'SetProcessAffinityUpdateMode',
1357: b'SetProcessDEPPolicy',
1358: b'SetProcessDefaultCpuSets',
1359: b'SetProcessInformation',
1360: b'SetProcessMitigationPolicy',
1361: b'SetProcessPreferredUILanguages',
1362: b'SetProcessPriorityBoost',
1363: b'SetProcessShutdownParameters',
1364: b'SetProcessWorkingSetSize',
1365: b'SetProcessWorkingSetSizeEx',
1366: b'SetProtectedPolicy',
1367: b'SetSearchPathMode',
1368: b'SetStdHandle',
1369: b'SetStdHandleEx',
1370: b'SetSystemFileCacheSize',
1371: b'SetSystemPowerState',
1372: b'SetSystemTime',
1373: b'SetSystemTimeAdjustment',
1374: b'SetTapeParameters',
1375: b'SetTapePosition',
1376: b'SetTermsrvAppInstallMode',
1377: b'SetThreadAffinityMask',
1378: b'SetThreadContext',
1379: b'SetThreadDescription',
1380: b'SetThreadErrorMode',
1381: b'SetThreadExecutionState',
1382: b'SetThreadGroupAffinity',
1383: b'SetThreadIdealProcessor',
1384: b'SetThreadIdealProcessorEx',
1385: b'SetThreadInformation',
1386: b'SetThreadLocale',
1387: b'SetThreadPreferredUILanguages',
1388: b'SetThreadPriority',
1389: b'SetThreadPriorityBoost',
1390: b'SetThreadSelectedCpuSets',
1391: b'SetThreadStackGuarantee',
1392: b'SetThreadToken',
1393: b'SetThreadUILanguage',
1394: b'SetThreadpoolStackInformation',
1395: b'SetThreadpoolThreadMaximum',
1396: b'SetThreadpoolThreadMinimum',
1397: b'SetThreadpoolTimer',
1398: b'SetThreadpoolTimerEx',
1399: b'SetThreadpoolWait',
1400: b'SetThreadpoolWaitEx',
1401: b'SetTimeZoneInformation',
1402: b'SetTimerQueueTimer',
1403: b'SetUmsThreadInformation',
1404: b'SetUnhandledExceptionFilter',
1405: b'SetUserGeoID',
1406: b'SetUserGeoName',
1407: b'SetVDMCurrentDirectories',
1408: b'SetVolumeLabelA',
1409: b'SetVolumeLabelW',
1410: b'SetVolumeMountPointA',
1411: b'SetVolumeMountPointW',
1412: b'SetVolumeMountPointWStub',
1413: b'SetWaitableTimer',
1414: b'SetWaitableTimerEx',
1415: b'SetXStateFeaturesMask',
1416: b'SetupComm',
1417: b'ShowConsoleCursor',
1418: b'SignalObjectAndWait',
1419: b'SizeofResource',
1420: b'Sleep',
1421: b'SleepConditionVariableCS',
1422: b'SleepConditionVariableSRW',
1423: b'SleepEx',
1424: b'SortCloseHandle',
1425: b'SortGetHandle',
1426: b'StartThreadpoolIo',
1427: b'SubmitThreadpoolWork',
1428: b'SuspendThread',
1429: b'SwitchToFiber',
1430: b'SwitchToThread',
1431: b'SystemTimeToFileTime',
1432: b'SystemTimeToTzSpecificLocalTime',
1433: b'SystemTimeToTzSpecificLocalTimeEx',
1434: b'TerminateJobObject',
1435: b'TerminateProcess',
1436: b'TerminateThread',
1437: b'TermsrvAppInstallMode',
1438: b'TermsrvConvertSysRootToUserDir',
1439: b'TermsrvCreateRegEntry',
1440: b'TermsrvDeleteKey',
1441: b'TermsrvDeleteValue',
1442: b'TermsrvGetPreSetValue',
1443: b'TermsrvGetWindowsDirectoryA',
1444: b'TermsrvGetWindowsDirectoryW',
1445: b'TermsrvOpenRegEntry',
1446: b'TermsrvOpenUserClasses',
1447: b'TermsrvRestoreKey',
1448: b'TermsrvSetKeySecurity',
1449: b'TermsrvSetValueKey',
1450: b'TermsrvSyncUserIniFileExt',
1451: b'Thread32First',
1452: b'Thread32Next',
1453: b'TlsAlloc',
1454: b'TlsFree',
1455: b'TlsGetValue',
1456: b'TlsSetValue',
1457: b'Toolhelp32ReadProcessMemory',
1458: b'TransactNamedPipe',
1459: b'TransmitCommChar',
1460: b'TryAcquireSRWLockExclusive',
1461: b'TryAcquireSRWLockShared',
1462: b'TryEnterCriticalSection',
1463: b'TrySubmitThreadpoolCallback',
1464: b'TzSpecificLocalTimeToSystemTime',
1465: b'TzSpecificLocalTimeToSystemTimeEx',
1466: b'UTRegister',
1467: b'UTUnRegister',
1468: b'UmsThreadYield',
1469: b'UnhandledExceptionFilter',
1470: b'UnlockFile',
1471: b'UnlockFileEx',
1472: b'UnmapViewOfFile',
1473: b'UnmapViewOfFileEx',
1474: b'UnregisterApplicationRecoveryCallback',
1475: b'UnregisterApplicationRestart',
1476: b'UnregisterBadMemoryNotification',
1477: b'UnregisterConsoleIME',
1478: b'UnregisterWait',
1479: b'UnregisterWaitEx',
1480: b'UnregisterWaitUntilOOBECompleted',
1481: b'UpdateCalendarDayOfWeek',
1482: b'UpdateProcThreadAttribute',
1483: b'UpdateResourceA',
1484: b'UpdateResourceW',
1485: b'VDMConsoleOperation',
1486: b'VDMOperationStarted',
1487: b'VerLanguageNameA',
1488: b'VerLanguageNameW',
1489: b'VerSetConditionMask',
1490: b'VerifyConsoleIoHandle',
1491: b'VerifyScripts',
1492: b'VerifyVersionInfoA',
1493: b'VerifyVersionInfoW',
1494: b'VirtualAlloc',
1495: b'VirtualAllocEx',
1496: b'VirtualAllocExNuma',
1497: b'VirtualFree',
1498: b'VirtualFreeEx',
1499: b'VirtualLock',
1500: b'VirtualProtect',
1501: b'VirtualProtectEx',
1502: b'VirtualQuery',
1503: b'VirtualQueryEx',
1504: b'VirtualUnlock',
1505: b'WTSGetActiveConsoleSessionId',
1506: b'WaitCommEvent',
1507: b'WaitForDebugEvent',
1508: b'WaitForDebugEventEx',
1509: b'WaitForMultipleObjects',
1510: b'WaitForMultipleObjectsEx',
1511: b'WaitForSingleObject',
1512: b'WaitForSingleObjectEx',
1513: b'WaitForThreadpoolIoCallbacks',
1514: b'WaitForThreadpoolTimerCallbacks',
1515: b'WaitForThreadpoolWaitCallbacks',
1516: b'WaitForThreadpoolWorkCallbacks',
1517: b'WaitNamedPipeA',
1518: b'WaitNamedPipeW',
1519: b'WakeAllConditionVariable',
1520: b'WakeConditionVariable',
1521: b'WerGetFlags',
1522: b'WerGetFlagsWorker',
1523: b'WerRegisterAdditionalProcess',
1524: b'WerRegisterAppLocalDump',
1525: b'WerRegisterCustomMetadata',
1526: b'WerRegisterExcludedMemoryBlock',
1527: b'WerRegisterFile',
1528: b'WerRegisterFileWorker',
1529: b'WerRegisterMemoryBlock',
1530: b'WerRegisterMemoryBlockWorker',
1531: b'WerRegisterRuntimeExceptionModule',
1532: b'WerRegisterRuntimeExceptionModuleWorker',
1533: b'WerSetFlags',
1534: b'WerSetFlagsWorker',
1535: b'WerUnregisterAdditionalProcess',
1536: b'WerUnregisterAppLocalDump',
1537: b'WerUnregisterCustomMetadata',
1538: b'WerUnregisterExcludedMemoryBlock',
1539: b'WerUnregisterFile',
1540: b'WerUnregisterFileWorker',
1541: b'WerUnregisterMemoryBlock',
1542: b'WerUnregisterMemoryBlockWorker',
1543: b'WerUnregisterRuntimeExceptionModule',
1544: b'WerUnregisterRuntimeExceptionModuleWorker',
1545: b'WerpGetDebugger',
1546: b'WerpInitiateRemoteRecovery',
1547: b'WerpLaunchAeDebug',
1548: b'WerpNotifyLoadStringResourceWorker',
1549: b'WerpNotifyUseStringResourceWorker',
1550: b'WideCharToMultiByte',
1551: b'WinExec',
1552: b'Wow64DisableWow64FsRedirection',
1553: b'Wow64EnableWow64FsRedirection',
1554: b'Wow64GetThreadContext',
1555: b'Wow64GetThreadSelectorEntry',
1556: b'Wow64RevertWow64FsRedirection',
1557: b'Wow64SetThreadContext',
1558: b'Wow64SuspendThread',
1559: b'WriteConsoleA',
1560: b'WriteConsoleInputA',
1561: b'WriteConsoleInputVDMA',
1562: b'WriteConsoleInputVDMW',
1563: b'WriteConsoleInputW',
1564: b'WriteConsoleOutputA',
1565: b'WriteConsoleOutputAttribute',
1566: b'WriteConsoleOutputCharacterA',
1567: b'WriteConsoleOutputCharacterW',
1568: b'WriteConsoleOutputW',
1569: b'WriteConsoleW',
1570: b'WriteFile',
1571: b'WriteFileEx',
1572: b'WriteFileGather',
1573: b'WritePrivateProfileSectionA',
1574: b'WritePrivateProfileSectionW',
1575: b'WritePrivateProfileStringA',
1576: b'WritePrivateProfileStringW',
1577: b'WritePrivateProfileStructA',
1578: b'WritePrivateProfileStructW',
1579: b'WriteProcessMemory',
1580: b'WriteProfileSectionA',
1581: b'WriteProfileSectionW',
1582: b'WriteProfileStringA',
1583: b'WriteProfileStringW',
1584: b'WriteTapemark',
1585: b'ZombifyActCtx',
1586: b'ZombifyActCtxWorker',
1587: b'__C_specific_handler',
1588: b'__chkstk',
1589: b'__misaligned_access',
1590: b'_hread',
1591: b'_hwrite',
1592: b'_lclose',
1593: b'_lcreat',
1594: b'_llseek',
1595: b'_local_unwind',
1596: b'_lopen',
1597: b'_lread',
1598: b'_lwrite',
1599: b'lstrcat',
1600: b'lstrcatA',
1601: b'lstrcatW',
1602: b'lstrcmp',
1603: b'lstrcmpA',
1604: b'lstrcmpW',
1605: b'lstrcmpi',
1606: b'lstrcmpiA',
1607: b'lstrcmpiW',
1608: b'lstrcpy',
1609: b'lstrcpyA',
1610: b'lstrcpyW',
1611: b'lstrcpyn',
1612: b'lstrcpynA',
1613: b'lstrcpynW',
1614: b'lstrlen',
1615: b'lstrlenA',
1616: b'lstrlenW',
1617: b'timeBeginPeriod',
1618: b'timeEndPeriod',
1619: b'timeGetDevCaps',
1620: b'timeGetSystemTime',
1621: b'timeGetTime',
1622: b'uaw_lstrcmpW',
1623: b'uaw_lstrcmpiW',
1624: b'uaw_lstrlenW',
1625: b'uaw_wcschr',
1626: b'uaw_wcscpy',
1627: b'uaw_wcsicmp',
1628: b'uaw_wcslen',
1629: b'uaw_wcsrchr',
} |
"""Exercício Python 086:
Crie um programa que declare uma matriz de dimensão 3x3, preencha com valores lidos pelo teclado.
No final, mostre a matriz na tela, com a formatação correta."""
# RESOLUÇÃO GUANABARA
matriz = [[0, 0, 0], [0, 0, 0], [0, 0, 0]]
# a parte dos 'for' é para o programa 'achar o caminho' na hora de inserir os valores
for linha in range(0, 3): # [0 0 0] [1 1 1] [2 2 2]
for coluna in range(0, 3): # [0 1 2] [0 1 2] [0 1 2]
matriz[linha][coluna] = int(input(f'Digite um valor para [{linha}][{coluna}]: '))
print('=' * 31)
# para mostrar bonitinho, fazemos (aparentemente) o inverso
for linha in range(0, 3):
for coluna in range(0, 3):
print(f' [ {matriz[linha][coluna]:^5} ]', end='')
print()
print('=' * 31)
|
# -*- coding: utf-8 -*-
class Solution:
def countOdds(self, low: int, high: int) -> int:
return (high + 1) // 2 - low // 2
if __name__ == '__main__':
solution = Solution()
assert 3 == solution.countOdds(3, 7)
assert 1 == solution.countOdds(8, 10)
|
def solution(x, y):
result = 0
if y == 1:
result = (1 + x) * x / 2
elif y == 2:
result = (1 + x) * x / 2 + x
else:
end = x + y - 2
result = (1 + end) * end / 2 + x
return str(result)
|
#
# PySNMP MIB module MAU-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/MAU-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 17:49:53 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ConstraintsUnion, ValueSizeConstraint, ValueRangeConstraint, ConstraintsIntersection, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ValueSizeConstraint", "ValueRangeConstraint", "ConstraintsIntersection", "SingleValueConstraint")
IANAifJackType, IANAifMauTypeListBits, IANAifMauMediaAvailable, IANAifMauAutoNegCapBits = mibBuilder.importSymbols("IANA-MAU-MIB", "IANAifJackType", "IANAifMauTypeListBits", "IANAifMauMediaAvailable", "IANAifMauAutoNegCapBits")
InterfaceIndex, = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex")
ModuleCompliance, ObjectGroup, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup", "NotificationGroup")
MibIdentifier, iso, mib_2, Gauge32, Counter64, ModuleIdentity, Unsigned32, NotificationType, Counter32, Bits, TimeTicks, IpAddress, ObjectIdentity, Integer32, MibScalar, MibTable, MibTableRow, MibTableColumn = mibBuilder.importSymbols("SNMPv2-SMI", "MibIdentifier", "iso", "mib-2", "Gauge32", "Counter64", "ModuleIdentity", "Unsigned32", "NotificationType", "Counter32", "Bits", "TimeTicks", "IpAddress", "ObjectIdentity", "Integer32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn")
TextualConvention, DisplayString, AutonomousType, TruthValue = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString", "AutonomousType", "TruthValue")
mauMod = ModuleIdentity((1, 3, 6, 1, 2, 1, 26, 6))
mauMod.setRevisions(('2007-04-21 00:00', '2003-09-19 00:00', '1999-08-24 04:00', '1997-10-31 00:00', '1993-09-30 00:00',))
if mibBuilder.loadTexts: mauMod.setLastUpdated('200704210000Z')
if mibBuilder.loadTexts: mauMod.setOrganization('IETF Ethernet Interfaces and Hub MIB Working Group')
snmpDot3MauMgt = MibIdentifier((1, 3, 6, 1, 2, 1, 26))
class JackType(TextualConvention, Integer32):
status = 'deprecated'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14))
namedValues = NamedValues(("other", 1), ("rj45", 2), ("rj45S", 3), ("db9", 4), ("bnc", 5), ("fAUI", 6), ("mAUI", 7), ("fiberSC", 8), ("fiberMIC", 9), ("fiberST", 10), ("telco", 11), ("mtrj", 12), ("hssdc", 13), ("fiberLC", 14))
dot3RpMauBasicGroup = MibIdentifier((1, 3, 6, 1, 2, 1, 26, 1))
dot3IfMauBasicGroup = MibIdentifier((1, 3, 6, 1, 2, 1, 26, 2))
dot3BroadMauBasicGroup = MibIdentifier((1, 3, 6, 1, 2, 1, 26, 3))
dot3IfMauAutoNegGroup = MibIdentifier((1, 3, 6, 1, 2, 1, 26, 5))
rpMauTable = MibTable((1, 3, 6, 1, 2, 1, 26, 1, 1), )
if mibBuilder.loadTexts: rpMauTable.setStatus('current')
rpMauEntry = MibTableRow((1, 3, 6, 1, 2, 1, 26, 1, 1, 1), ).setIndexNames((0, "MAU-MIB", "rpMauGroupIndex"), (0, "MAU-MIB", "rpMauPortIndex"), (0, "MAU-MIB", "rpMauIndex"))
if mibBuilder.loadTexts: rpMauEntry.setStatus('current')
rpMauGroupIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rpMauGroupIndex.setStatus('current')
rpMauPortIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rpMauPortIndex.setStatus('current')
rpMauIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rpMauIndex.setStatus('current')
rpMauType = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 1, 1, 1, 4), AutonomousType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rpMauType.setStatus('current')
rpMauStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("other", 1), ("unknown", 2), ("operational", 3), ("standby", 4), ("shutdown", 5), ("reset", 6)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rpMauStatus.setStatus('current')
rpMauMediaAvailable = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 1, 1, 1, 6), IANAifMauMediaAvailable()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rpMauMediaAvailable.setStatus('current')
rpMauMediaAvailableStateExits = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 1, 1, 1, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rpMauMediaAvailableStateExits.setStatus('current')
rpMauJabberState = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 1, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("unknown", 2), ("noJabber", 3), ("jabbering", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rpMauJabberState.setStatus('current')
rpMauJabberingStateEnters = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 1, 1, 1, 9), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rpMauJabberingStateEnters.setStatus('current')
rpMauFalseCarriers = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 1, 1, 1, 10), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rpMauFalseCarriers.setStatus('current')
rpJackTable = MibTable((1, 3, 6, 1, 2, 1, 26, 1, 2), )
if mibBuilder.loadTexts: rpJackTable.setStatus('current')
rpJackEntry = MibTableRow((1, 3, 6, 1, 2, 1, 26, 1, 2, 1), ).setIndexNames((0, "MAU-MIB", "rpMauGroupIndex"), (0, "MAU-MIB", "rpMauPortIndex"), (0, "MAU-MIB", "rpMauIndex"), (0, "MAU-MIB", "rpJackIndex"))
if mibBuilder.loadTexts: rpJackEntry.setStatus('current')
rpJackIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)))
if mibBuilder.loadTexts: rpJackIndex.setStatus('current')
rpJackType = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 1, 2, 1, 2), IANAifJackType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rpJackType.setStatus('current')
ifMauTable = MibTable((1, 3, 6, 1, 2, 1, 26, 2, 1), )
if mibBuilder.loadTexts: ifMauTable.setStatus('current')
ifMauEntry = MibTableRow((1, 3, 6, 1, 2, 1, 26, 2, 1, 1), ).setIndexNames((0, "MAU-MIB", "ifMauIfIndex"), (0, "MAU-MIB", "ifMauIndex"))
if mibBuilder.loadTexts: ifMauEntry.setStatus('current')
ifMauIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 2, 1, 1, 1), InterfaceIndex()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ifMauIfIndex.setStatus('current')
ifMauIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ifMauIndex.setStatus('current')
ifMauType = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 2, 1, 1, 3), AutonomousType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ifMauType.setStatus('current')
ifMauStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("other", 1), ("unknown", 2), ("operational", 3), ("standby", 4), ("shutdown", 5), ("reset", 6)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ifMauStatus.setStatus('current')
ifMauMediaAvailable = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 2, 1, 1, 5), IANAifMauMediaAvailable()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ifMauMediaAvailable.setStatus('current')
ifMauMediaAvailableStateExits = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 2, 1, 1, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ifMauMediaAvailableStateExits.setStatus('current')
ifMauJabberState = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 2, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("unknown", 2), ("noJabber", 3), ("jabbering", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ifMauJabberState.setStatus('current')
ifMauJabberingStateEnters = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 2, 1, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ifMauJabberingStateEnters.setStatus('current')
ifMauFalseCarriers = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 2, 1, 1, 9), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ifMauFalseCarriers.setStatus('current')
ifMauTypeList = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 2, 1, 1, 10), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ifMauTypeList.setStatus('deprecated')
ifMauDefaultType = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 2, 1, 1, 11), AutonomousType()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ifMauDefaultType.setStatus('current')
ifMauAutoNegSupported = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 2, 1, 1, 12), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ifMauAutoNegSupported.setStatus('current')
ifMauTypeListBits = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 2, 1, 1, 13), IANAifMauTypeListBits()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ifMauTypeListBits.setStatus('current')
ifMauHCFalseCarriers = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 2, 1, 1, 14), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ifMauHCFalseCarriers.setStatus('current')
ifJackTable = MibTable((1, 3, 6, 1, 2, 1, 26, 2, 2), )
if mibBuilder.loadTexts: ifJackTable.setStatus('current')
ifJackEntry = MibTableRow((1, 3, 6, 1, 2, 1, 26, 2, 2, 1), ).setIndexNames((0, "MAU-MIB", "ifMauIfIndex"), (0, "MAU-MIB", "ifMauIndex"), (0, "MAU-MIB", "ifJackIndex"))
if mibBuilder.loadTexts: ifJackEntry.setStatus('current')
ifJackIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 2, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)))
if mibBuilder.loadTexts: ifJackIndex.setStatus('current')
ifJackType = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 2, 2, 1, 2), IANAifJackType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ifJackType.setStatus('current')
ifMauAutoNegTable = MibTable((1, 3, 6, 1, 2, 1, 26, 5, 1), )
if mibBuilder.loadTexts: ifMauAutoNegTable.setStatus('current')
ifMauAutoNegEntry = MibTableRow((1, 3, 6, 1, 2, 1, 26, 5, 1, 1), ).setIndexNames((0, "MAU-MIB", "ifMauIfIndex"), (0, "MAU-MIB", "ifMauIndex"))
if mibBuilder.loadTexts: ifMauAutoNegEntry.setStatus('current')
ifMauAutoNegAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 5, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ifMauAutoNegAdminStatus.setStatus('current')
ifMauAutoNegRemoteSignaling = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 5, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("detected", 1), ("notdetected", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ifMauAutoNegRemoteSignaling.setStatus('current')
ifMauAutoNegConfig = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 5, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("other", 1), ("configuring", 2), ("complete", 3), ("disabled", 4), ("parallelDetectFail", 5)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ifMauAutoNegConfig.setStatus('current')
ifMauAutoNegCapability = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 5, 1, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ifMauAutoNegCapability.setStatus('deprecated')
ifMauAutoNegCapAdvertised = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 5, 1, 1, 6), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ifMauAutoNegCapAdvertised.setStatus('deprecated')
ifMauAutoNegCapReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 5, 1, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ifMauAutoNegCapReceived.setStatus('deprecated')
ifMauAutoNegRestart = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 5, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("restart", 1), ("norestart", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ifMauAutoNegRestart.setStatus('current')
ifMauAutoNegCapabilityBits = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 5, 1, 1, 9), IANAifMauAutoNegCapBits()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ifMauAutoNegCapabilityBits.setStatus('current')
ifMauAutoNegCapAdvertisedBits = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 5, 1, 1, 10), IANAifMauAutoNegCapBits()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ifMauAutoNegCapAdvertisedBits.setStatus('current')
ifMauAutoNegCapReceivedBits = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 5, 1, 1, 11), IANAifMauAutoNegCapBits()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ifMauAutoNegCapReceivedBits.setStatus('current')
ifMauAutoNegRemoteFaultAdvertised = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 5, 1, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("noError", 1), ("offline", 2), ("linkFailure", 3), ("autoNegError", 4)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ifMauAutoNegRemoteFaultAdvertised.setStatus('current')
ifMauAutoNegRemoteFaultReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 5, 1, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("noError", 1), ("offline", 2), ("linkFailure", 3), ("autoNegError", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ifMauAutoNegRemoteFaultReceived.setStatus('current')
broadMauBasicTable = MibTable((1, 3, 6, 1, 2, 1, 26, 3, 1), )
if mibBuilder.loadTexts: broadMauBasicTable.setStatus('deprecated')
broadMauBasicEntry = MibTableRow((1, 3, 6, 1, 2, 1, 26, 3, 1, 1), ).setIndexNames((0, "MAU-MIB", "broadMauIfIndex"), (0, "MAU-MIB", "broadMauIndex"))
if mibBuilder.loadTexts: broadMauBasicEntry.setStatus('deprecated')
broadMauIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 3, 1, 1, 1), InterfaceIndex()).setMaxAccess("readonly")
if mibBuilder.loadTexts: broadMauIfIndex.setStatus('deprecated')
broadMauIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 3, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly")
if mibBuilder.loadTexts: broadMauIndex.setStatus('deprecated')
broadMauXmtRcvSplitType = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 3, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("single", 2), ("dual", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: broadMauXmtRcvSplitType.setStatus('deprecated')
broadMauXmtCarrierFreq = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 3, 1, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: broadMauXmtCarrierFreq.setStatus('deprecated')
broadMauTranslationFreq = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 3, 1, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: broadMauTranslationFreq.setStatus('deprecated')
snmpDot3MauTraps = MibIdentifier((1, 3, 6, 1, 2, 1, 26, 0))
rpMauJabberTrap = NotificationType((1, 3, 6, 1, 2, 1, 26, 0, 1)).setObjects(("MAU-MIB", "rpMauJabberState"))
if mibBuilder.loadTexts: rpMauJabberTrap.setStatus('current')
ifMauJabberTrap = NotificationType((1, 3, 6, 1, 2, 1, 26, 0, 2)).setObjects(("MAU-MIB", "ifMauJabberState"))
if mibBuilder.loadTexts: ifMauJabberTrap.setStatus('current')
mauModConf = MibIdentifier((1, 3, 6, 1, 2, 1, 26, 6, 1))
mauModCompls = MibIdentifier((1, 3, 6, 1, 2, 1, 26, 6, 1, 1))
mauModObjGrps = MibIdentifier((1, 3, 6, 1, 2, 1, 26, 6, 1, 2))
mauModNotGrps = MibIdentifier((1, 3, 6, 1, 2, 1, 26, 6, 1, 3))
mauRpGrpBasic = ObjectGroup((1, 3, 6, 1, 2, 1, 26, 6, 1, 2, 1)).setObjects(("MAU-MIB", "rpMauGroupIndex"), ("MAU-MIB", "rpMauPortIndex"), ("MAU-MIB", "rpMauIndex"), ("MAU-MIB", "rpMauType"), ("MAU-MIB", "rpMauStatus"), ("MAU-MIB", "rpMauMediaAvailable"), ("MAU-MIB", "rpMauMediaAvailableStateExits"), ("MAU-MIB", "rpMauJabberState"), ("MAU-MIB", "rpMauJabberingStateEnters"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
mauRpGrpBasic = mauRpGrpBasic.setStatus('current')
mauRpGrp100Mbs = ObjectGroup((1, 3, 6, 1, 2, 1, 26, 6, 1, 2, 2)).setObjects(("MAU-MIB", "rpMauFalseCarriers"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
mauRpGrp100Mbs = mauRpGrp100Mbs.setStatus('current')
mauRpGrpJack = ObjectGroup((1, 3, 6, 1, 2, 1, 26, 6, 1, 2, 3)).setObjects(("MAU-MIB", "rpJackType"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
mauRpGrpJack = mauRpGrpJack.setStatus('current')
mauIfGrpBasic = ObjectGroup((1, 3, 6, 1, 2, 1, 26, 6, 1, 2, 4)).setObjects(("MAU-MIB", "ifMauIfIndex"), ("MAU-MIB", "ifMauIndex"), ("MAU-MIB", "ifMauType"), ("MAU-MIB", "ifMauStatus"), ("MAU-MIB", "ifMauMediaAvailable"), ("MAU-MIB", "ifMauMediaAvailableStateExits"), ("MAU-MIB", "ifMauJabberState"), ("MAU-MIB", "ifMauJabberingStateEnters"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
mauIfGrpBasic = mauIfGrpBasic.setStatus('current')
mauIfGrp100Mbs = ObjectGroup((1, 3, 6, 1, 2, 1, 26, 6, 1, 2, 5)).setObjects(("MAU-MIB", "ifMauFalseCarriers"), ("MAU-MIB", "ifMauTypeList"), ("MAU-MIB", "ifMauDefaultType"), ("MAU-MIB", "ifMauAutoNegSupported"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
mauIfGrp100Mbs = mauIfGrp100Mbs.setStatus('deprecated')
mauIfGrpJack = ObjectGroup((1, 3, 6, 1, 2, 1, 26, 6, 1, 2, 6)).setObjects(("MAU-MIB", "ifJackType"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
mauIfGrpJack = mauIfGrpJack.setStatus('current')
mauIfGrpAutoNeg = ObjectGroup((1, 3, 6, 1, 2, 1, 26, 6, 1, 2, 7)).setObjects(("MAU-MIB", "ifMauAutoNegAdminStatus"), ("MAU-MIB", "ifMauAutoNegRemoteSignaling"), ("MAU-MIB", "ifMauAutoNegConfig"), ("MAU-MIB", "ifMauAutoNegCapability"), ("MAU-MIB", "ifMauAutoNegCapAdvertised"), ("MAU-MIB", "ifMauAutoNegCapReceived"), ("MAU-MIB", "ifMauAutoNegRestart"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
mauIfGrpAutoNeg = mauIfGrpAutoNeg.setStatus('deprecated')
mauBroadBasic = ObjectGroup((1, 3, 6, 1, 2, 1, 26, 6, 1, 2, 8)).setObjects(("MAU-MIB", "broadMauIfIndex"), ("MAU-MIB", "broadMauIndex"), ("MAU-MIB", "broadMauXmtRcvSplitType"), ("MAU-MIB", "broadMauXmtCarrierFreq"), ("MAU-MIB", "broadMauTranslationFreq"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
mauBroadBasic = mauBroadBasic.setStatus('deprecated')
mauIfGrpHighCapacity = ObjectGroup((1, 3, 6, 1, 2, 1, 26, 6, 1, 2, 9)).setObjects(("MAU-MIB", "ifMauFalseCarriers"), ("MAU-MIB", "ifMauTypeListBits"), ("MAU-MIB", "ifMauDefaultType"), ("MAU-MIB", "ifMauAutoNegSupported"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
mauIfGrpHighCapacity = mauIfGrpHighCapacity.setStatus('current')
mauIfGrpAutoNeg2 = ObjectGroup((1, 3, 6, 1, 2, 1, 26, 6, 1, 2, 10)).setObjects(("MAU-MIB", "ifMauAutoNegAdminStatus"), ("MAU-MIB", "ifMauAutoNegRemoteSignaling"), ("MAU-MIB", "ifMauAutoNegConfig"), ("MAU-MIB", "ifMauAutoNegCapabilityBits"), ("MAU-MIB", "ifMauAutoNegCapAdvertisedBits"), ("MAU-MIB", "ifMauAutoNegCapReceivedBits"), ("MAU-MIB", "ifMauAutoNegRestart"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
mauIfGrpAutoNeg2 = mauIfGrpAutoNeg2.setStatus('current')
mauIfGrpAutoNeg1000Mbps = ObjectGroup((1, 3, 6, 1, 2, 1, 26, 6, 1, 2, 11)).setObjects(("MAU-MIB", "ifMauAutoNegRemoteFaultAdvertised"), ("MAU-MIB", "ifMauAutoNegRemoteFaultReceived"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
mauIfGrpAutoNeg1000Mbps = mauIfGrpAutoNeg1000Mbps.setStatus('current')
mauIfGrpHCStats = ObjectGroup((1, 3, 6, 1, 2, 1, 26, 6, 1, 2, 12)).setObjects(("MAU-MIB", "ifMauHCFalseCarriers"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
mauIfGrpHCStats = mauIfGrpHCStats.setStatus('current')
rpMauNotifications = NotificationGroup((1, 3, 6, 1, 2, 1, 26, 6, 1, 3, 1)).setObjects(("MAU-MIB", "rpMauJabberTrap"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
rpMauNotifications = rpMauNotifications.setStatus('current')
ifMauNotifications = NotificationGroup((1, 3, 6, 1, 2, 1, 26, 6, 1, 3, 2)).setObjects(("MAU-MIB", "ifMauJabberTrap"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ifMauNotifications = ifMauNotifications.setStatus('current')
mauModRpCompl = ModuleCompliance((1, 3, 6, 1, 2, 1, 26, 6, 1, 1, 1)).setObjects(("MAU-MIB", "mauRpGrpBasic"), ("MAU-MIB", "mauRpGrp100Mbs"), ("MAU-MIB", "mauRpGrpJack"), ("MAU-MIB", "rpMauNotifications"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
mauModRpCompl = mauModRpCompl.setStatus('deprecated')
mauModIfCompl = ModuleCompliance((1, 3, 6, 1, 2, 1, 26, 6, 1, 1, 2)).setObjects(("MAU-MIB", "mauIfGrpBasic"), ("MAU-MIB", "mauIfGrp100Mbs"), ("MAU-MIB", "mauIfGrpJack"), ("MAU-MIB", "mauIfGrpAutoNeg"), ("MAU-MIB", "mauBroadBasic"), ("MAU-MIB", "ifMauNotifications"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
mauModIfCompl = mauModIfCompl.setStatus('deprecated')
mauModIfCompl2 = ModuleCompliance((1, 3, 6, 1, 2, 1, 26, 6, 1, 1, 3)).setObjects(("MAU-MIB", "mauIfGrpBasic"), ("MAU-MIB", "mauIfGrpHighCapacity"), ("MAU-MIB", "mauIfGrpJack"), ("MAU-MIB", "mauIfGrpAutoNeg2"), ("MAU-MIB", "mauIfGrpAutoNeg1000Mbps"), ("MAU-MIB", "ifMauNotifications"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
mauModIfCompl2 = mauModIfCompl2.setStatus('deprecated')
mauModRpCompl2 = ModuleCompliance((1, 3, 6, 1, 2, 1, 26, 6, 1, 1, 4)).setObjects(("MAU-MIB", "mauRpGrpBasic"), ("MAU-MIB", "mauRpGrp100Mbs"), ("MAU-MIB", "mauRpGrpJack"), ("MAU-MIB", "rpMauNotifications"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
mauModRpCompl2 = mauModRpCompl2.setStatus('current')
mauModIfCompl3 = ModuleCompliance((1, 3, 6, 1, 2, 1, 26, 6, 1, 1, 5)).setObjects(("MAU-MIB", "mauIfGrpBasic"), ("MAU-MIB", "mauIfGrpHighCapacity"), ("MAU-MIB", "mauIfGrpHCStats"), ("MAU-MIB", "mauIfGrpJack"), ("MAU-MIB", "mauIfGrpAutoNeg2"), ("MAU-MIB", "mauIfGrpAutoNeg1000Mbps"), ("MAU-MIB", "ifMauNotifications"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
mauModIfCompl3 = mauModIfCompl3.setStatus('current')
mibBuilder.exportSymbols("MAU-MIB", mauIfGrpJack=mauIfGrpJack, mauModNotGrps=mauModNotGrps, ifMauStatus=ifMauStatus, ifJackEntry=ifJackEntry, ifMauAutoNegCapReceived=ifMauAutoNegCapReceived, mauModConf=mauModConf, mauRpGrp100Mbs=mauRpGrp100Mbs, rpMauTable=rpMauTable, rpMauStatus=rpMauStatus, ifMauNotifications=ifMauNotifications, ifMauJabberingStateEnters=ifMauJabberingStateEnters, ifMauAutoNegEntry=ifMauAutoNegEntry, rpJackIndex=rpJackIndex, mauModIfCompl2=mauModIfCompl2, mauModIfCompl3=mauModIfCompl3, ifMauAutoNegSupported=ifMauAutoNegSupported, ifMauJabberState=ifMauJabberState, mauModRpCompl2=mauModRpCompl2, dot3BroadMauBasicGroup=dot3BroadMauBasicGroup, broadMauXmtCarrierFreq=broadMauXmtCarrierFreq, rpMauJabberState=rpMauJabberState, ifMauAutoNegRemoteSignaling=ifMauAutoNegRemoteSignaling, ifMauFalseCarriers=ifMauFalseCarriers, dot3RpMauBasicGroup=dot3RpMauBasicGroup, ifMauAutoNegCapability=ifMauAutoNegCapability, mauRpGrpBasic=mauRpGrpBasic, rpJackType=rpJackType, ifMauMediaAvailable=ifMauMediaAvailable, rpJackTable=rpJackTable, mauModObjGrps=mauModObjGrps, ifMauAutoNegCapabilityBits=ifMauAutoNegCapabilityBits, rpMauMediaAvailableStateExits=rpMauMediaAvailableStateExits, ifMauAutoNegConfig=ifMauAutoNegConfig, rpMauIndex=rpMauIndex, broadMauIfIndex=broadMauIfIndex, ifMauType=ifMauType, ifJackIndex=ifJackIndex, ifMauTable=ifMauTable, snmpDot3MauTraps=snmpDot3MauTraps, mauIfGrpBasic=mauIfGrpBasic, rpMauJabberingStateEnters=rpMauJabberingStateEnters, broadMauTranslationFreq=broadMauTranslationFreq, ifMauHCFalseCarriers=ifMauHCFalseCarriers, mauModRpCompl=mauModRpCompl, mauIfGrpHighCapacity=mauIfGrpHighCapacity, ifMauAutoNegCapReceivedBits=ifMauAutoNegCapReceivedBits, broadMauXmtRcvSplitType=broadMauXmtRcvSplitType, mauModCompls=mauModCompls, PYSNMP_MODULE_ID=mauMod, ifMauAutoNegRemoteFaultAdvertised=ifMauAutoNegRemoteFaultAdvertised, rpMauNotifications=rpMauNotifications, ifMauAutoNegAdminStatus=ifMauAutoNegAdminStatus, ifMauJabberTrap=ifMauJabberTrap, rpMauPortIndex=rpMauPortIndex, mauModIfCompl=mauModIfCompl, rpMauFalseCarriers=rpMauFalseCarriers, mauIfGrpAutoNeg1000Mbps=mauIfGrpAutoNeg1000Mbps, ifMauTypeListBits=ifMauTypeListBits, rpMauJabberTrap=rpMauJabberTrap, snmpDot3MauMgt=snmpDot3MauMgt, ifMauIndex=ifMauIndex, rpMauType=rpMauType, ifMauTypeList=ifMauTypeList, dot3IfMauBasicGroup=dot3IfMauBasicGroup, broadMauIndex=broadMauIndex, mauIfGrpAutoNeg=mauIfGrpAutoNeg, rpMauGroupIndex=rpMauGroupIndex, broadMauBasicEntry=broadMauBasicEntry, rpMauMediaAvailable=rpMauMediaAvailable, ifMauAutoNegCapAdvertisedBits=ifMauAutoNegCapAdvertisedBits, ifMauAutoNegRestart=ifMauAutoNegRestart, ifJackType=ifJackType, mauMod=mauMod, ifMauAutoNegTable=ifMauAutoNegTable, ifMauAutoNegCapAdvertised=ifMauAutoNegCapAdvertised, mauIfGrp100Mbs=mauIfGrp100Mbs, JackType=JackType, rpJackEntry=rpJackEntry, mauIfGrpAutoNeg2=mauIfGrpAutoNeg2, ifMauMediaAvailableStateExits=ifMauMediaAvailableStateExits, mauRpGrpJack=mauRpGrpJack, ifJackTable=ifJackTable, ifMauEntry=ifMauEntry, rpMauEntry=rpMauEntry, mauIfGrpHCStats=mauIfGrpHCStats, ifMauAutoNegRemoteFaultReceived=ifMauAutoNegRemoteFaultReceived, ifMauDefaultType=ifMauDefaultType, dot3IfMauAutoNegGroup=dot3IfMauAutoNegGroup, broadMauBasicTable=broadMauBasicTable, mauBroadBasic=mauBroadBasic, ifMauIfIndex=ifMauIfIndex)
|
valores = list()
valor = 0
for c in range(0, 5):
valor = int(input('Digite um valor: '))
if c == 0 or valor >= valores[len(valores)-1]:
valores.append(valor)
print('Adicionado ao final da lista')
else:
pos = 0
while pos < len(valores):
if valor <= valores[pos]:
valores.insert(pos, valor)
print(f'Adicionado na posição {pos}..')
break
pos += 1
print('-='*30)
print(f'Os valores digitados em ordem foram {valores}')
|
capac = int(input())
qtn500 = capac // 500
capac = capac - (qtn500 * 500)
qtn100 = capac // 100
capac = capac - (qtn100 * 100)
qtn25 = capac // 25
capac = capac - (qtn25 * 25)
print(qtn500)
print(qtn100)
print(qtn25)
print(capac) |
"""
@author : Hyunwoong
@when : 2019-10-29
@homepage : https://github.com/gusdnd852
"""
def epoch_time(start_time, end_time):
elapsed_time = end_time - start_time
elapsed_mins = int(elapsed_time / 60)
elapsed_secs = int(elapsed_time - (elapsed_mins * 60))
return elapsed_mins, elapsed_secs
|
def split_all_strings(input_array,splitter,keep_empty=False):
out=[]
while(len(input_array)):
current=input_array.pop(0).split(splitter)
while(len(current)):
i=current.pop(0)
if(len(i) or keep_empty):
out.append(i)
return(out)
if __name__ == '__main__':
test = 'hello world or something like that'.split('l')
#print('hello'.split('l')+'yolo'.split('o'))
out = split_all_strings(test,'o')
print(out)
out = split_all_strings(out,' ')
print(out)
|
with open("encoded.bmp", "rb") as f:
f.seek(0x7d0)
buf = f.read(0x32 * 8)
flag = ''
bin_flag = ''
for i, c in enumerate(buf):
bin_flag += str(c & 1)
if i % 8 == 7:
flag += chr(int(bin_flag[::-1], 2) + 5)
bin_flag = ''
print(repr(flag))
|
numero = int(input('Digite um numero: '))
count = 1
while count <= numero:
print(count)
count = count + 1
|
def Trace(tag=''):
pass
def TracePrint(strMsg):
pass
_traceEnabled = False
_traceIndent = 0
|
# https://programmers.co.kr/learn/courses/30/lessons/42748
def solution(array, commands):
answer = []
for idx in range(len(commands)):
i, j, k = commands[idx]
values = array[i-1:j]
values.sort()
v = values[k-1]
answer.append(v)
return answer |
# Copyright 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
def _CommonChecks(input_api, output_api):
results = []
results += input_api.RunTests(input_api.canned_checks.GetPylint(
input_api, output_api, extra_paths_list=_GetPathsToPrepend(input_api),
pylintrc='pylintrc'))
results += _CheckNoMoreUsageOfDeprecatedCode(
input_api, output_api, deprecated_code='GetChromiumSrcDir()',
crbug_number=511332)
return results
def _RunArgs(args, input_api):
p = input_api.subprocess.Popen(args, stdout=input_api.subprocess.PIPE,
stderr=input_api.subprocess.STDOUT)
out, _ = p.communicate()
return (out, p.returncode)
def _ValidateDependenciesFile(input_api, output_api, dependencies_path):
""" Check that binary_dependencies.json has valid format and content.
This check should only be done in CheckChangeOnUpload() only since it invokes
network I/O.
"""
results = []
telemetry_dir = input_api.PresubmitLocalPath()
for f in input_api.AffectedFiles():
if not f.AbsoluteLocalPath() == dependencies_path:
continue
out, return_code = _RunArgs([
input_api.python_executable,
input_api.os_path.join(telemetry_dir, 'json_format'),
dependencies_path], input_api)
if return_code:
results.append(
output_api.PresubmitError(
'Validating %s failed:' % dependencies_path, long_text=out))
break
out, return_code = _RunArgs([
input_api.python_executable,
input_api.os_path.join(telemetry_dir, 'validate_binary_dependencies'),
dependencies_path], input_api)
if return_code:
results.append(output_api.PresubmitError(
'Validating %s failed:' % dependencies_path, long_text=out))
break
return results
def _CheckNoMoreUsageOfDeprecatedCode(
input_api, output_api, deprecated_code, crbug_number):
results = []
# These checks are not perfcet but should be good enough for most of our
# usecases.
def _IsAddedLine(line):
return line.startswith('+') and not line.startswith('+++ ')
def _IsRemovedLine(line):
return line.startswith('-') and not line.startswith('--- ')
presubmit_dir = input_api.os_path.join(
input_api.PresubmitLocalPath(), 'PRESUBMIT.py')
added_calls = 0
removed_calls = 0
for affected_file in input_api.AffectedFiles():
# Do not do the check on PRESUBMIT.py itself.
if affected_file.AbsoluteLocalPath() == presubmit_dir:
continue
for line in affected_file.GenerateScmDiff().splitlines():
if _IsAddedLine(line) and deprecated_code in line:
added_calls += 1
elif _IsRemovedLine(line) and deprecated_code in line:
removed_calls += 1
if added_calls > removed_calls:
results.append(output_api.PresubmitError(
'Your patch adds more instances of %s. Please see crbug.com/%i for'
'how to proceed.' % (deprecated_code, crbug_number)))
return results
def _GetPathsToPrepend(input_api):
telemetry_dir = input_api.PresubmitLocalPath()
catapult_dir = input_api.os_path.join(telemetry_dir, '..')
return [
telemetry_dir,
input_api.os_path.join(telemetry_dir, 'third_party', 'altgraph'),
input_api.os_path.join(telemetry_dir, 'third_party', 'modulegraph'),
input_api.os_path.join(telemetry_dir, 'third_party', 'pexpect'),
input_api.os_path.join(telemetry_dir, 'third_party', 'png'),
input_api.os_path.join(telemetry_dir, 'third_party', 'web-page-replay'),
input_api.os_path.join(telemetry_dir, 'third_party', 'websocket-client'),
input_api.os_path.join(catapult_dir, 'common', 'py_utils'),
input_api.os_path.join(catapult_dir, 'dependency_manager'),
input_api.os_path.join(catapult_dir, 'devil'),
input_api.os_path.join(catapult_dir, 'systrace'),
input_api.os_path.join(catapult_dir, 'tracing'),
input_api.os_path.join(catapult_dir, 'common', 'py_trace_event'),
input_api.os_path.join(catapult_dir, 'third_party', 'mock'),
input_api.os_path.join(catapult_dir, 'third_party', 'pyfakefs'),
input_api.os_path.join(catapult_dir, 'third_party', 'pyserial'),
input_api.os_path.join(catapult_dir, 'third_party', 'typ'),
]
def _ValidateAllDependenciesFiles(input_api, output_api):
results = []
telemetry_dir = input_api.PresubmitLocalPath()
binary_dependencies = input_api.os_path.join(
telemetry_dir, 'telemetry', 'internal', 'binary_dependencies.json')
telemetry_unittest_dependencies = input_api.os_path.join(
telemetry_dir, 'telemetry', 'telemetry_unittest_deps.json')
for path in [binary_dependencies, telemetry_unittest_dependencies]:
results += _ValidateDependenciesFile(input_api, output_api, path)
return results
def CheckChangeOnUpload(input_api, output_api):
results = []
results += _CommonChecks(input_api, output_api)
results += _ValidateAllDependenciesFiles(input_api, output_api)
return results
def CheckChangeOnCommit(input_api, output_api):
results = []
results += _CommonChecks(input_api, output_api)
return results
|
class Solution:
def search(self, nums, target):
"""
:type nums: List[int]
:type target: int
:rtype: int
"""
if not nums:
return -1
peak_idx = -1
peak_num = float('-inf')
for idx in range(0, len(nums)):
if nums[idx] > peak_num:
peak_num = nums[idx]
peak_idx = idx
else:
break
if target > nums[peak_idx]:
return -1
# target < nums[peak_idx]
if target >= nums[0]:
result_idx = self.binary_search(nums[:peak_idx + 1], target, nums)
else:
result_idx = self.binary_search(nums[peak_idx + 1:], target, nums)
return result_idx
def binary_search(self, nums, target, origin_nums: list):
if not len(nums):
return -1
else:
mid_idx = len(nums) // 2
if target > nums[mid_idx]:
return self.binary_search(nums[mid_idx + 1:], target, origin_nums)
elif target == nums[mid_idx]:
return origin_nums.index(target)
else:
return self.binary_search(nums[: mid_idx], target, origin_nums)
# print(Solution().search([4, 5, 6, 7, 0, 1, 2], 0))
# print(Solution().search([], 5))
print(Solution().search([1], 1))
|
a = source()
b = source2()
c = source3()
d = source4()
e = a
f = b + c
g = 2*c + d
c = 1
print(sink(sink(e), c, sink(f), sink(g, 4*a))) |
def gcd(a: int, b: int) -> int :
if a == 0:
return b
return gcd(b % a, a)
def lcm(a: int, b: int) -> int:
return (a / gcd(a,b))* b |
"""
The :mod:`fatf.accountability` module holds a range of accountability methods.
This module holds a variety of techniques that can be used to assess *privacy*,
*security* and *robustness* of artificial intelligence pipelines and the
machine learning process: *data*, *models* and *predictions*.
"""
# Author: Kacper Sokol <k.sokol@bristol.ac.uk>
# License: new BSD
|
def find_lcm(a:int, b:int)->int:
if a <= b: # 1 45000
for i in range(1, a + 1):
if a % i == 0 and b % i == 0:
gcd = i
lcm = int(a * b / gcd)
return lcm
if a > b: # 6, 2
for i in range(1, b + 1):
if a % i == 0 and b % i == 0:
gcd = i
lcm = int(a * b / gcd)
return lcm
n = int(input())
for _ in range(n):
nums = [int(i) for i in input().split()]
a, b = nums
print(find_lcm(a, b))
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.