This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import os | |
from bs4 import BeautifulSoup | |
from requests import Session | |
session = Session() | |
from requests import post |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pokemon.application.model import TourData | |
from pokemon.domain.exceptions import WrongKantoLocation | |
from pokemon.domain.model import AreaData, LocationData, TourResponse | |
from pokemon.domain.repository import AbstractPokemonAdapter | |
class PokemonTourService: | |
def __init__(self, adapter: AbstractPokemonAdapter): | |
self.adapter = adapter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"name": "ACC-SINV-2022-a9640090", | |
"order_types": "D2C Carga inicial", | |
"uuid": "49A6C075-C363-4B6E-8AD1-BE94472155D4", | |
"status": "Vigente", | |
"issuing_rfc": "KCA150708KVA", | |
"customer_rfc": "XAXX010101000", | |
"emitted_date": "2022-04-21T15:41:10", | |
"amount": 22901, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import json | |
banks = ["ABC CAPITAL, S.A. INSTITUCISN DE BANCA MULTIPLE", | |
"AMERICAN EXPRESS", | |
"BANAMEX", | |
"BANCA AFIRME, S.A.", | |
"BANCA CREMI, S.A.", | |
"BANCA MIFEL, S.A.", | |
"BANCA SERFIN, S.A.", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import getpass | |
import gzip | |
import math | |
import os | |
import re | |
import stat | |
import subprocess | |
import sys | |
import time |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"height": 0.7, | |
"weight": 6.9, | |
"attack": 49, | |
"hp": 45, | |
"defense": 49, | |
"speed": 45, | |
"speedAttack": 65, | |
"speedDefense": 65, |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mensaje = "hola mundo" | |
iteraciones = 10 | |
mensajes = [] | |
pares = True | |
for iteracion in range(iteraciones): | |
par = iteracion % 2 == 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# variable de tipo texto | |
a = "texto" | |
# variable de tipo entero | |
b = 1 | |
# variable de tipo doble | |
c = 1.0 | |
# varibale de tipo boleano |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with open('Downloads/problem_1_data.txt', 'r') as content_file: | |
import re | |
content = content_file.read() | |
data = [] | |
init = 0 | |
while True: | |
person = {} | |
person["name"] = content[init:init+10].strip() | |
person["middlename"] = content[init+10:init+20].strip() | |
init_street = init+50 |
NewerOlder