Cerca
Heus ací els resultats de la cerca.
Noms de pàgina coincidents:
- Python aberraciones
- Python argparse
- Python Bokeh
- Conda (gestor paquetes miniconda - python)
- Python curiosidades
- python datetime
- Python decoradores
- Python: Entornos virtuales
- Python excepciones
- Python librerias
- Python iterables
- Python Pandas
- Python pip
- Python PycURL
- Python pyodbc
- PYTHON
- Python strings
- think python
- Python Type Hinting
Resultats de text complet:
- Python decoradores
- = Python decoradores /via: [[https://medium.com/@LuisMBaezCo/decoradores-con-clases-y-funciones-en-python-2fafb22... ba43]] * [[https://codigofacilito.com/articulos/decoradores-python]] == Decorador mediante una función <code python> def decorator(func): print("Decor
- think python
- = think python {{tag>python}} == cadenas * inmutables * ''<string>[char]'' * -1 : last * -... alize()'' * ''<string>.isupper()'' * ''list(cadena)'' : separa en caracteres * ''<string>.split()'' : separa en palabras * se puede pasar por parámetro el delimitador * ''<delimitador>.join(<lista>)'': junta los elementos de la lis
- Python: Entornos virtuales
- = Python: Entornos virtuales {{tag>python}} * [[development:python:entornos-virtuales#venv|venv]] * [[development:python:entornos-virtuales#virtualenv|virtualenv]] * [[development:python:entornos-virtuales#pyenv|pyenv]] Una combinación de **pyenv** (para gestión de versiones de python) y
- Python Pandas
- = Python Pandas * <code bash>pip3 install pandas</code> * soporte para excel: <code bash>pip3.9 install openpyxl # needed to load Excel .xlsx files pip3.9 install xlrd # needed to load
- Python argparse
- = Python argparse * [[https://ellibrodepython.com/python-argparse]] == argparse * o = argparse.ArgumentParser: * description: se muestra en la ayuda del programa * prefix_chars: cambia el prefijo de los argumentos * fromfile_prefix_chars: establ
- Python iterables
- thon}} * [[https://kinsta.com/es/blog/iterables-de-python/]] * [[https://ellibrodepython.com/iterator-python]] == iterables <code python>even_list = [2, 4, 6, 8, 10] my_iterator = ite... Prints 4 print(next(my_iterator)) # Prints 6 </code> === funciones sobre iterables * sum — Devuelve
- Python PycURL
- L (más completa/compleja que **requests**) * <code bash>sudo apt install libcurl4-openssl-dev libssl-dev</code> * <code python>pip install pycurl</code> == comandos básicos con requests * <code python
- Conda (gestor paquetes miniconda - python)
- (gestor paquetes miniconda - python) * gestión de paquetes * entornos virtuales == comandos * <code bash>conda info</code> * <code bash>conda --version</code> === entornos * crear:<code bash>conda create --name <ENTORNO
- PYTHON
- = PYTHON {{tag>development python}} == doc * [[info:cursos:pue:python-pcpp1|]] * [[info:cursos:pue:python|]] * [[info:cursos:udemy:python-mega-course]] == install === best practices * entornos virtuales: [[development:python:entornos-virtuales]] * paquetes: [[development:python:pip]] * instalar varias version
- Python pip
- thon: [[https://docs.python.org/es/3/installing/index.html#installing-index]] * compartir modulos: [[https://packaging.python.org/en/latest/tutorials/packaging-projects/]] <code bash>python -m pip install <paquete></code> <code bash>python -m pip install <paquete>==2.6.0</code>
- Python librerias
- Python librerias {{tag>python}} == collections <code python>from collections import defaultdict var = defaultdict(int) var2 = defautldict(set)</code> * todos los elementos seteados a 0 o vacío por defec
- Python aberraciones
- = Python aberraciones * operador ternario:<code python> variable = "valor" if condicion_cierta() else "otro_valor" </code> * reducciones:<code python>my_numbers = [11, 12, 13, 14, 15, 16, 17, 18, 19, 20] even_number_list = [num for num in my_numbers if num%2 == 0] </code> * [[info:cursos:udemy:python-mega-course#che
- Python strings
- rd/backward match: startswith(), endswith() * Order comparison: <, <=, >, >= * Case-insensitive co... that you would with str.format(). F-strings provide a concise and convenient way to embed python expressions inside string literals for formatting. * F-strings are... isms, which are % formatting and str.format(). <code python> val = 'Geeks' print(f"{val}for{val} is a
- Python Bokeh
- = Python Bokeh * <code bash>pip3 install bokeh</code> == bokeh ejemplos más ejemplos en [[development:python:pandas|]] <code python> from bokeh.plotting import figure, output_file, show p=figu
- Python curiosidades
- = Python curiosidades == None, True, False <code python> if result is None: print "error parsing stream" elif result: ... t "result pass" else: print "result fail" </code> <code python> messages = {None: 'error', True: 'pass', False: 'fail'} print messages[result] </code