├── JAVA ├── README.md ├── Leccion09 │ ├── .idea │ │ ├── sonarlint │ │ │ ├── issuestore │ │ │ │ └── index.pb │ │ │ └── securityhotspotstore │ │ │ │ └── index.pb │ │ ├── .gitignore │ │ ├── vcs.xml │ │ ├── misc.xml │ │ └── modules.xml │ ├── CalculadoraUTN │ │ ├── src │ │ │ └── CalculadoraUTN.java │ │ ├── .idea │ │ │ ├── .gitignore │ │ │ ├── vcs.xml │ │ │ ├── misc.xml │ │ │ └── modules.xml │ │ ├── out │ │ │ └── production │ │ │ │ └── CalculadoraUTN │ │ │ │ └── CalculadoraUTN.class │ │ └── CalculadoraUTN.iml │ ├── out │ │ └── production │ │ │ └── Leccion09 │ │ │ └── CalculadoraUTN.class │ └── Leccion09.iml ├── Leccion07 │ └── JavaBeans │ │ ├── build │ │ └── classes │ │ │ ├── .netbeans_automatic_build │ │ │ ├── .netbeans_update_resources │ │ │ ├── domain │ │ │ └── Persona.class │ │ │ └── test │ │ │ └── TestJavaBeans.class │ │ ├── manifest.mf │ │ ├── nbproject │ │ ├── private │ │ │ ├── private.properties │ │ │ └── private.xml │ │ ├── genfiles.properties │ │ └── project.xml │ │ └── src │ │ ├── test │ │ └── TestJavaBeans.java │ │ └── domain │ │ └── Persona.java ├── Leccion12 │ ├── .idea │ │ ├── .gitignore │ │ ├── misc.xml │ │ ├── vcs.xml │ │ ├── modules.xml │ │ └── Leccion12.iml │ └── SistemaEstudiantes │ │ ├── .idea │ │ ├── .gitignore │ │ ├── vcs.xml │ │ ├── encodings.xml │ │ └── misc.xml │ │ ├── src │ │ └── main │ │ │ └── java │ │ │ └── UTN │ │ │ ├── Main.java │ │ │ └── conexion │ │ │ └── Conexion.java │ │ ├── .gitignore │ │ └── pom.xml ├── Leccion11 │ ├── ListarPersonas │ │ ├── .idea │ │ │ ├── .gitignore │ │ │ ├── vcs.xml │ │ │ ├── misc.xml │ │ │ └── modules.xml │ │ ├── out │ │ │ └── production │ │ │ │ └── ListarPersonas │ │ │ │ ├── Main.class │ │ │ │ └── Persona.class │ │ └── ListarPersonas.iml │ └── Leccion11.iml ├── Leccion03 │ ├── ForEach │ │ ├── manifest.mf │ │ ├── build │ │ │ ├── built-jar.properties │ │ │ └── classes │ │ │ │ ├── domain │ │ │ │ └── Persona.class │ │ │ │ └── test │ │ │ │ └── TestForEach.class │ │ ├── nbproject │ │ │ ├── private │ │ │ │ ├── private.properties │ │ │ │ └── private.xml │ │ │ ├── genfiles.properties │ │ │ └── project.xml │ │ └── src │ │ │ ├── domain │ │ │ └── Persona.java │ │ │ └── test │ │ │ └── TestForEach.java │ ├── AutoBoxinUnboxin │ │ ├── manifest.mf │ │ ├── nbproject │ │ │ ├── genfiles.properties │ │ │ └── project.xml │ │ └── src │ │ │ └── test │ │ │ └── TestAutoboxinUnboxing.java │ └── ModificadoresAcceso │ │ ├── manifest.mf │ │ ├── nbproject │ │ ├── private │ │ │ └── private.properties │ │ ├── genfiles.properties │ │ └── project.xml │ │ └── src │ │ ├── paquete1 │ │ ├── ClaseHija2.java │ │ ├── Clase2.java │ │ ├── TestDefault.java │ │ └── Clase1.java │ │ ├── paquete2 │ │ ├── Clase3.java │ │ └── Clase4.java │ │ └── test │ │ └── TestModificadoresAcceso.java ├── Leccion04 │ ├── InstanceOf │ │ ├── manifest.mf │ │ ├── nbproject │ │ │ ├── genfiles.properties │ │ │ └── project.xml │ │ └── src │ │ │ └── domain │ │ │ ├── Gerente.java │ │ │ └── Empleado.java │ └── Sobreescritura │ │ ├── manifest.mf │ │ ├── src │ │ ├── domain │ │ │ ├── Gerente.java │ │ │ └── Empleado.java │ │ └── test │ │ │ └── TestSobreescritura.java │ │ └── nbproject │ │ ├── genfiles.properties │ │ └── project.xml ├── Leccion05 │ ├── ClaseObject │ │ ├── manifest.mf │ │ ├── src │ │ │ ├── domain │ │ │ │ ├── TipoEscritura.java │ │ │ │ ├── Gerente.java │ │ │ │ ├── Escritor.java │ │ │ │ └── Empleado.java │ │ │ └── test │ │ │ │ └── TestClaseObject.java │ │ └── nbproject │ │ │ ├── genfiles.properties │ │ │ └── project.xml │ ├── ClasesAbstractas │ │ ├── manifest.mf │ │ ├── src │ │ │ ├── test │ │ │ │ └── testAbstractas.java │ │ │ └── domain │ │ │ │ ├── Rectangulo.java │ │ │ │ └── FiguraGeometrica.java │ │ └── nbproject │ │ │ ├── genfiles.properties │ │ │ └── project.xml │ └── ConversionObjetos │ │ ├── manifest.mf │ │ ├── src │ │ ├── domain │ │ │ ├── TipoEscritura.java │ │ │ ├── Gerente.java │ │ │ ├── Escritor.java │ │ │ └── Empleado.java │ │ └── test │ │ │ └── TestConversionObjetos.java │ │ └── nbproject │ │ ├── genfiles.properties │ │ └── project.xml ├── Leccion06 │ └── Interfaces │ │ ├── manifest.mf │ │ ├── src │ │ ├── accesodatos │ │ │ ├── IAccesoDatos.java │ │ │ ├── ImplementacionMySql.java │ │ │ └── ImplementacionOracle.java │ │ └── test │ │ │ └── TestInterfaces.java │ │ └── nbproject │ │ ├── genfiles.properties │ │ └── project.xml ├── Leccion01 │ └── MundoPC │ │ └── MundoPC │ │ ├── manifest.mf │ │ ├── nbproject │ │ ├── genfiles.properties │ │ └── project.xml │ │ └── src │ │ └── ar │ │ └── com │ │ └── system2023 │ │ └── mundopc │ │ ├── Raton.java │ │ ├── Teclado.java │ │ ├── TestOrden.java │ │ └── DispositivoEntrada.java ├── Leccion02 │ ├── Enumeraciones │ │ ├── manifest.mf │ │ ├── src │ │ │ └── enumeraciones │ │ │ │ ├── Dias.java │ │ │ │ └── Continentes.java │ │ └── nbproject │ │ │ ├── genfiles.properties │ │ │ └── project.xml │ ├── ArgumentosVariables │ │ ├── manifest.mf │ │ ├── nbproject │ │ │ ├── genfiles.properties │ │ │ └── project.xml │ │ └── src │ │ │ └── test │ │ │ └── TestArgumentosVariables.java │ └── BloquesInicializacion │ │ ├── manifest.mf │ │ ├── nbproject │ │ ├── private │ │ │ └── private.properties │ │ ├── genfiles.properties │ │ └── project.xml │ │ └── src │ │ ├── test │ │ └── TestBloqueInicializacion.java │ │ └── domain │ │ └── Persona.java ├── Leccion08 │ └── ManejoExcepciones1 │ │ ├── manifest.mf │ │ ├── src │ │ ├── excepciones │ │ │ └── OperacionExcepcion.java │ │ ├── aritmetica │ │ │ └── Aritmetica.java │ │ └── test │ │ │ └── TestExcepciones.java │ │ └── nbproject │ │ ├── genfiles.properties │ │ └── project.xml └── Leccion10 │ └── Persona.uxf ├── JAVASCRIPT ├── README.md ├── TSLeccion02 │ ├── README.md │ └── 02-03-arreglos.js ├── TSLeccion05 │ └── index.html ├── TSLeccion04 │ └── index.html └── TSLeccion07 │ ├── Empleado.js │ ├── Cliente.js │ └── Persona.js └── PYTHON ├── Leccion03 └── catalogo_peliculas │ ├── __init__.py │ ├── dominio │ ├── __init__.py │ └── Pelicula.py │ ├── servicio │ ├── __init__.py │ └── catalogo_peliculas.py │ ├── README.md │ └── test_catalogo_peliculas.py ├── Archivos └── Leccion02 │ ├── README.md │ ├── leer_archivo.py │ ├── ManejoArchivos.py │ ├── archivos_con_with.py │ └── manejo_archivos.py ├── Leccion01 ├── Lib │ └── site-packages │ │ ├── pip-21.3.1.virtualenv │ │ ├── wheel-0.37.1.virtualenv │ │ ├── setuptools-60.2.0.virtualenv │ │ ├── wheel │ │ ├── vendored │ │ │ ├── __init__.py │ │ │ └── packaging │ │ │ │ └── __init__.py │ │ ├── __init__.py │ │ ├── __main__.py │ │ ├── cli │ │ │ └── unpack.py │ │ └── util.py │ │ ├── _virtualenv.pth │ │ ├── pip │ │ ├── _internal │ │ │ ├── utils │ │ │ │ ├── __init__.py │ │ │ │ ├── datetime.py │ │ │ │ ├── filetypes.py │ │ │ │ ├── inject_securetransport.py │ │ │ │ └── pkg_resources.py │ │ │ ├── operations │ │ │ │ ├── __init__.py │ │ │ │ ├── build │ │ │ │ │ └── __init__.py │ │ │ │ └── install │ │ │ │ │ └── __init__.py │ │ │ ├── resolution │ │ │ │ ├── __init__.py │ │ │ │ ├── legacy │ │ │ │ │ └── __init__.py │ │ │ │ ├── resolvelib │ │ │ │ │ └── __init__.py │ │ │ │ └── base.py │ │ │ ├── index │ │ │ │ └── __init__.py │ │ │ ├── network │ │ │ │ └── __init__.py │ │ │ ├── models │ │ │ │ ├── __init__.py │ │ │ │ ├── scheme.py │ │ │ │ ├── candidate.py │ │ │ │ └── index.py │ │ │ ├── cli │ │ │ │ ├── status_codes.py │ │ │ │ ├── __init__.py │ │ │ │ └── command_context.py │ │ │ ├── main.py │ │ │ ├── __init__.py │ │ │ ├── vcs │ │ │ │ └── __init__.py │ │ │ └── distributions │ │ │ │ ├── installed.py │ │ │ │ └── __init__.py │ │ ├── _vendor │ │ │ ├── chardet │ │ │ │ ├── cli │ │ │ │ │ └── __init__.py │ │ │ │ ├── metadata │ │ │ │ │ └── __init__.py │ │ │ │ └── version.py │ │ │ ├── html5lib │ │ │ │ ├── filters │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── alphabeticalattributes.py │ │ │ │ ├── _trie │ │ │ │ │ └── __init__.py │ │ │ │ └── treeadapters │ │ │ │ │ └── __init__.py │ │ │ ├── resolvelib │ │ │ │ ├── compat │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── collections_abc.py │ │ │ │ └── __init__.py │ │ │ ├── urllib3 │ │ │ │ ├── contrib │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── _securetransport │ │ │ │ │ │ └── __init__.py │ │ │ │ │ └── _appengine_environ.py │ │ │ │ ├── packages │ │ │ │ │ ├── backports │ │ │ │ │ │ └── __init__.py │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── ssl_match_hostname │ │ │ │ │ │ └── __init__.py │ │ │ │ ├── _version.py │ │ │ │ └── util │ │ │ │ │ └── queue.py │ │ │ ├── msgpack │ │ │ │ └── _version.py │ │ │ ├── idna │ │ │ │ ├── package_data.py │ │ │ │ ├── compat.py │ │ │ │ └── __init__.py │ │ │ ├── certifi │ │ │ │ ├── __init__.py │ │ │ │ └── __main__.py │ │ │ ├── platformdirs │ │ │ │ └── version.py │ │ │ ├── cachecontrol │ │ │ │ ├── caches │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── redis_cache.py │ │ │ │ ├── __init__.py │ │ │ │ ├── wrapper.py │ │ │ │ ├── compat.py │ │ │ │ └── cache.py │ │ │ ├── distlib │ │ │ │ ├── t32.exe │ │ │ │ ├── t64.exe │ │ │ │ ├── w32.exe │ │ │ │ ├── w64.exe │ │ │ │ ├── t64-arm.exe │ │ │ │ ├── w64-arm.exe │ │ │ │ ├── _backport │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── misc.py │ │ │ │ └── __init__.py │ │ │ ├── pep517 │ │ │ │ ├── __init__.py │ │ │ │ └── in_process │ │ │ │ │ └── __init__.py │ │ │ ├── tomli │ │ │ │ └── __init__.py │ │ │ ├── colorama │ │ │ │ └── __init__.py │ │ │ ├── requests │ │ │ │ ├── __version__.py │ │ │ │ ├── certs.py │ │ │ │ ├── packages.py │ │ │ │ └── hooks.py │ │ │ ├── vendor.txt │ │ │ ├── packaging │ │ │ │ ├── __init__.py │ │ │ │ └── __about__.py │ │ │ └── pkg_resources │ │ │ │ └── py31compat.py │ │ ├── py.typed │ │ └── __init__.py │ │ ├── pkg_resources │ │ ├── _vendor │ │ │ ├── __init__.py │ │ │ └── packaging │ │ │ │ ├── __init__.py │ │ │ │ └── __about__.py │ │ └── tests │ │ │ └── data │ │ │ └── my-test-package-source │ │ │ └── setup.py │ │ ├── setuptools │ │ ├── _vendor │ │ │ ├── __init__.py │ │ │ ├── more_itertools │ │ │ │ └── __init__.py │ │ │ └── packaging │ │ │ │ ├── __init__.py │ │ │ │ └── __about__.py │ │ ├── cli.exe │ │ ├── gui.exe │ │ ├── cli-32.exe │ │ ├── cli-64.exe │ │ ├── gui-32.exe │ │ ├── gui-64.exe │ │ ├── cli-arm64.exe │ │ ├── gui-arm64.exe │ │ ├── script.tmpl │ │ ├── _distutils │ │ │ ├── debug.py │ │ │ ├── py38compat.py │ │ │ ├── py35compat.py │ │ │ ├── __init__.py │ │ │ └── command │ │ │ │ ├── py37compat.py │ │ │ │ └── __init__.py │ │ ├── version.py │ │ ├── script (dev).tmpl │ │ ├── _deprecation_warning.py │ │ ├── command │ │ │ ├── __init__.py │ │ │ ├── upload.py │ │ │ ├── register.py │ │ │ ├── launcher manifest.xml │ │ │ ├── saveopts.py │ │ │ └── dist_info.py │ │ ├── py34compat.py │ │ ├── windows_support.py │ │ ├── launch.py │ │ ├── logging.py │ │ ├── dep_util.py │ │ └── unicode_utils.py │ │ ├── pip-21.3.1.dist-info │ │ ├── INSTALLER │ │ ├── top_level.txt │ │ ├── WHEEL │ │ └── entry_points.txt │ │ ├── wheel-0.37.1.dist-info │ │ ├── INSTALLER │ │ ├── top_level.txt │ │ ├── WHEEL │ │ └── entry_points.txt │ │ ├── setuptools-60.2.0.dist-info │ │ ├── INSTALLER │ │ ├── top_level.txt │ │ ├── WHEEL │ │ └── LICENSE │ │ ├── _distutils_hack │ │ ├── override.py │ │ └── __pycache__ │ │ │ └── __init__.cpython-39.pyc │ │ ├── distutils-precedence.pth │ │ └── __pycache__ │ │ └── _virtualenv.cpython-39.pyc ├── Scripts │ ├── pydoc.bat │ ├── pip.exe │ ├── pip3.exe │ ├── wheel.exe │ ├── pip-3.9.exe │ ├── pip3.9.exe │ ├── python.exe │ ├── pythonw.exe │ ├── wheel3.9.exe │ ├── wheel3.exe │ ├── wheel-3.9.exe │ ├── deactivate.nu │ ├── deactivate.bat │ └── activate.bat ├── .idea │ ├── .gitignore │ ├── vcs.xml │ ├── misc.xml │ ├── inspectionProfiles │ │ └── profiles_settings.xml │ ├── modules.xml │ └── Leccion01.iml ├── NumerosIgualesException.py ├── __pycache__ │ └── NumerosIgualesException.cpython-39.pyc ├── pyvenv.cfg └── manejo_excepciones.py ├── Leccion07 ├── .idea │ ├── .gitignore │ ├── misc.xml │ ├── vcs.xml │ ├── inspectionProfiles │ │ └── profiles_settings.xml │ ├── modules.xml │ └── Leccion07.iml └── capa_datos_persona │ ├── .idea │ ├── .gitignore │ ├── vcs.xml │ ├── misc.xml │ ├── inspectionProfiles │ │ └── profiles_settings.xml │ ├── modules.xml │ └── capa_datos_persona.iml │ ├── __pycache__ │ ├── Persona.cpython-310.pyc │ ├── conexion.cpython-310.pyc │ ├── logger_base.cpython-310.pyc │ └── logger_base.cpython-311.pyc │ ├── logger_base.py │ └── cursor_del_pool.py ├── Leccion04 └── BD │ ├── .idea │ ├── .gitignore │ ├── misc.xml │ ├── vcs.xml │ ├── inspectionProfiles │ │ └── profiles_settings.xml │ ├── modules.xml │ └── BD.iml │ ├── actualizar_registro.py │ ├── transacciones.py │ ├── prueba_bd.py │ ├── delete_registro.py │ ├── v_registros.py │ ├── delete_varios_registros.py │ ├── actualizar_varios_reg.py │ ├── i_registros.py │ ├── transsacciones_tres.py │ ├── transacciones_dos.py │ └── i_v_registros.py └── TrabajoFinal3Semestre └── GestionBiblioteca ├── ui └── __pycache__ │ └── ui.cpython-310.pyc ├── domain ├── __pycache__ │ ├── autor.cpython-310.pyc │ ├── libro.cpython-310.pyc │ ├── socio.cpython-310.pyc │ ├── persona.cpython-310.pyc │ └── solicitud.cpython-310.pyc ├── solicitud.py └── autor.py ├── core └── __pycache__ │ ├── core_autor.cpython-310.pyc │ ├── core_libro.cpython-310.pyc │ ├── core_socio.cpython-310.pyc │ └── core_solicitud.cpython-310.pyc ├── utils ├── __pycache__ │ └── date_utils.cpython-310.pyc └── date_utils.py ├── .idea ├── misc.xml ├── vcs.xml ├── inspectionProfiles │ └── profiles_settings.xml ├── modules.xml └── GestionBiblioteca.iml ├── config ├── __pycache__ │ ├── logger_base.cpython-310.pyc │ └── database_manager.cpython-310.pyc └── logger_base.py ├── enums ├── __pycache__ │ └── estados_libros.cpython-310.pyc └── estados_libros.py ├── service └── __pycache__ │ ├── service_autor.cpython-310.pyc │ ├── service_libro.cpython-310.pyc │ ├── service_socio.cpython-310.pyc │ └── service_solicitud.cpython-310.pyc └── test └── capa_datos.log /JAVA/README.md: -------------------------------------------------------------------------------- 1 | # PROYECTO PC-MUNDO 2 | -------------------------------------------------------------------------------- /JAVASCRIPT/README.md: -------------------------------------------------------------------------------- 1 | # chacoDevsTeam-3Sem -------------------------------------------------------------------------------- /PYTHON/Leccion03/catalogo_peliculas/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /JAVA/Leccion09/.idea/sonarlint/issuestore/index.pb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /JAVASCRIPT/TSLeccion02/README.md: -------------------------------------------------------------------------------- 1 | # chacoDevsTeam-3Sem -------------------------------------------------------------------------------- /PYTHON/Archivos/Leccion02/README.md: -------------------------------------------------------------------------------- 1 | # chacoDevsTeam-3Sem -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip-21.3.1.virtualenv: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/wheel-0.37.1.virtualenv: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PYTHON/Leccion03/catalogo_peliculas/dominio/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PYTHON/Leccion03/catalogo_peliculas/servicio/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /JAVA/Leccion09/.idea/sonarlint/securityhotspotstore/index.pb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /JAVA/Leccion09/CalculadoraUTN/src/CalculadoraUTN.java: -------------------------------------------------------------------------------- 1 | C 2 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools-60.2.0.virtualenv: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/wheel/vendored/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Scripts/pydoc.bat: -------------------------------------------------------------------------------- 1 | python.exe -m pydoc %* 2 | -------------------------------------------------------------------------------- /JAVA/Leccion07/JavaBeans/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /JAVA/Leccion07/JavaBeans/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/_virtualenv.pth: -------------------------------------------------------------------------------- 1 | import _virtualenv -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_internal/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pkg_resources/_vendor/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools/_vendor/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PYTHON/Leccion03/catalogo_peliculas/README.md: -------------------------------------------------------------------------------- 1 | # chacoDevsTeam-3Sem -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip-21.3.1.dist-info/INSTALLER: -------------------------------------------------------------------------------- 1 | pip 2 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_internal/operations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_internal/resolution/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/wheel/vendored/packaging/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip-21.3.1.dist-info/top_level.txt: -------------------------------------------------------------------------------- 1 | pip 2 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_internal/operations/build/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_internal/resolution/legacy/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/chardet/cli/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/chardet/metadata/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/html5lib/filters/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/resolvelib/compat/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/urllib3/contrib/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/wheel-0.37.1.dist-info/INSTALLER: -------------------------------------------------------------------------------- 1 | pip 2 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_internal/resolution/resolvelib/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools-60.2.0.dist-info/INSTALLER: -------------------------------------------------------------------------------- 1 | pip 2 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/wheel-0.37.1.dist-info/top_level.txt: -------------------------------------------------------------------------------- 1 | wheel 2 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/wheel/__init__.py: -------------------------------------------------------------------------------- 1 | __version__ = '0.37.1' 2 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/urllib3/packages/backports/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /JAVA/Leccion09/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /JAVA/Leccion12/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/msgpack/_version.py: -------------------------------------------------------------------------------- 1 | version = (1, 0, 2) 2 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PYTHON/Leccion07/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/idna/package_data.py: -------------------------------------------------------------------------------- 1 | __version__ = '3.2' 2 | 3 | -------------------------------------------------------------------------------- /PYTHON/Leccion04/BD/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /JAVA/Leccion09/CalculadoraUTN/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /JAVA/Leccion11/ListarPersonas/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_internal/index/__init__.py: -------------------------------------------------------------------------------- 1 | """Index interaction code 2 | """ 3 | -------------------------------------------------------------------------------- /JAVA/Leccion12/SistemaEstudiantes/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/_distutils_hack/override.py: -------------------------------------------------------------------------------- 1 | __import__('_distutils_hack').do_override() 2 | -------------------------------------------------------------------------------- /PYTHON/Leccion07/capa_datos_persona/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /JAVA/Leccion03/ForEach/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_internal/network/__init__.py: -------------------------------------------------------------------------------- 1 | """Contains purely network-related utilities. 2 | """ 3 | -------------------------------------------------------------------------------- /JAVA/Leccion04/InstanceOf/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /JAVA/Leccion05/ClaseObject/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /JAVA/Leccion06/Interfaces/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /JAVA/Leccion07/JavaBeans/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools-60.2.0.dist-info/top_level.txt: -------------------------------------------------------------------------------- 1 | _distutils_hack 2 | pkg_resources 3 | setuptools 4 | -------------------------------------------------------------------------------- /JAVA/Leccion01/MundoPC/MundoPC/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /JAVA/Leccion02/Enumeraciones/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /JAVA/Leccion03/AutoBoxinUnboxin/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /JAVA/Leccion04/Sobreescritura/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /JAVA/Leccion05/ClasesAbstractas/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /JAVA/Leccion05/ConversionObjetos/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_internal/models/__init__.py: -------------------------------------------------------------------------------- 1 | """A package that contains models that represent entities. 2 | """ 3 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_internal/operations/install/__init__.py: -------------------------------------------------------------------------------- 1 | """For modules related to installing packages. 2 | """ 3 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/urllib3/_version.py: -------------------------------------------------------------------------------- 1 | # This file is protected via CODEOWNERS 2 | __version__ = "1.26.7" 3 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Scripts/pip.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/Leccion01/Scripts/pip.exe -------------------------------------------------------------------------------- /JAVA/Leccion02/ArgumentosVariables/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /JAVA/Leccion02/BloquesInicializacion/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /JAVA/Leccion03/ModificadoresAcceso/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /JAVA/Leccion08/ManejoExcepciones1/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/certifi/__init__.py: -------------------------------------------------------------------------------- 1 | from .core import contents, where 2 | 3 | __version__ = "2021.05.30" 4 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Scripts/pip3.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/Leccion01/Scripts/pip3.exe -------------------------------------------------------------------------------- /PYTHON/Leccion01/Scripts/wheel.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/Leccion01/Scripts/wheel.exe -------------------------------------------------------------------------------- /PYTHON/Leccion01/Scripts/pip-3.9.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/Leccion01/Scripts/pip-3.9.exe -------------------------------------------------------------------------------- /PYTHON/Leccion01/Scripts/pip3.9.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/Leccion01/Scripts/pip3.9.exe -------------------------------------------------------------------------------- /PYTHON/Leccion01/Scripts/python.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/Leccion01/Scripts/python.exe -------------------------------------------------------------------------------- /PYTHON/Leccion01/Scripts/pythonw.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/Leccion01/Scripts/pythonw.exe -------------------------------------------------------------------------------- /PYTHON/Leccion01/Scripts/wheel3.9.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/Leccion01/Scripts/wheel3.9.exe -------------------------------------------------------------------------------- /PYTHON/Leccion01/Scripts/wheel3.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/Leccion01/Scripts/wheel3.exe -------------------------------------------------------------------------------- /PYTHON/Leccion01/Scripts/wheel-3.9.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/Leccion01/Scripts/wheel-3.9.exe -------------------------------------------------------------------------------- /JAVA/Leccion03/ForEach/build/built-jar.properties: -------------------------------------------------------------------------------- 1 | #Thu, 27 Apr 2023 14:28:20 -0300 2 | 3 | 4 | C\:\\Users\\Matias\\Facultad\\Java\\Leccion03TS\\ForEach= 5 | -------------------------------------------------------------------------------- /JAVA/Leccion03/ModificadoresAcceso/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | user.properties.file=C:\\Users\\juan_\\AppData\\Roaming\\NetBeans\\12.1\\build.properties 2 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/platformdirs/version.py: -------------------------------------------------------------------------------- 1 | """ Version information """ 2 | 3 | __version__ = "2.4.0" 4 | __version_info__ = (2, 4, 0) 5 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip-21.3.1.dist-info/WHEEL: -------------------------------------------------------------------------------- 1 | Wheel-Version: 1.0 2 | Generator: bdist_wheel (0.37.0) 3 | Root-Is-Purelib: true 4 | Tag: py3-none-any 5 | 6 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/cachecontrol/caches/__init__.py: -------------------------------------------------------------------------------- 1 | from .file_cache import FileCache # noqa 2 | from .redis_cache import RedisCache # noqa 3 | -------------------------------------------------------------------------------- /JAVA/Leccion03/ForEach/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\juan_\\AppData\\Roaming\\NetBeans\\12.1\\build.properties 3 | -------------------------------------------------------------------------------- /JAVA/Leccion07/JavaBeans/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\renzo\\AppData\\Roaming\\NetBeans\\15\\build.properties 3 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools/_vendor/more_itertools/__init__.py: -------------------------------------------------------------------------------- 1 | from .more import * # noqa 2 | from .recipes import * # noqa 3 | 4 | __version__ = '8.8.0' 5 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools-60.2.0.dist-info/WHEEL: -------------------------------------------------------------------------------- 1 | Wheel-Version: 1.0 2 | Generator: bdist_wheel (0.37.1) 3 | Root-Is-Purelib: true 4 | Tag: py3-none-any 5 | 6 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools/cli.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/Leccion01/Lib/site-packages/setuptools/cli.exe -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools/gui.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/Leccion01/Lib/site-packages/setuptools/gui.exe -------------------------------------------------------------------------------- /JAVA/Leccion03/ForEach/build/classes/domain/Persona.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/JAVA/Leccion03/ForEach/build/classes/domain/Persona.class -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools/cli-32.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/Leccion01/Lib/site-packages/setuptools/cli-32.exe -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools/cli-64.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/Leccion01/Lib/site-packages/setuptools/cli-64.exe -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools/gui-32.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/Leccion01/Lib/site-packages/setuptools/gui-32.exe -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools/gui-64.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/Leccion01/Lib/site-packages/setuptools/gui-64.exe -------------------------------------------------------------------------------- /PYTHON/Leccion01/NumerosIgualesException.py: -------------------------------------------------------------------------------- 1 | class NumerosIgualesException(Exception): # Extiende de la clase 2 | def __init__(self, mensaje): 3 | self.mensaje = mensaje 4 | -------------------------------------------------------------------------------- /JAVA/Leccion02/BloquesInicializacion/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\Nat\\AppData\\Roaming\\NetBeans\\12.1\\build.properties 3 | -------------------------------------------------------------------------------- /JAVA/Leccion03/ForEach/build/classes/test/TestForEach.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/JAVA/Leccion03/ForEach/build/classes/test/TestForEach.class -------------------------------------------------------------------------------- /JAVA/Leccion07/JavaBeans/build/classes/domain/Persona.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/JAVA/Leccion07/JavaBeans/build/classes/domain/Persona.class -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools/cli-arm64.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/Leccion01/Lib/site-packages/setuptools/cli-arm64.exe -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools/gui-arm64.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/Leccion01/Lib/site-packages/setuptools/gui-arm64.exe -------------------------------------------------------------------------------- /JAVA/Leccion09/out/production/Leccion09/CalculadoraUTN.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/JAVA/Leccion09/out/production/Leccion09/CalculadoraUTN.class -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/distlib/t32.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/Leccion01/Lib/site-packages/pip/_vendor/distlib/t32.exe -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/distlib/t64.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/Leccion01/Lib/site-packages/pip/_vendor/distlib/t64.exe -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/distlib/w32.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/Leccion01/Lib/site-packages/pip/_vendor/distlib/w32.exe -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/distlib/w64.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/Leccion01/Lib/site-packages/pip/_vendor/distlib/w64.exe -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/wheel-0.37.1.dist-info/WHEEL: -------------------------------------------------------------------------------- 1 | Wheel-Version: 1.0 2 | Generator: bdist_wheel (0.37.1) 3 | Root-Is-Purelib: true 4 | Tag: py2-none-any 5 | Tag: py3-none-any 6 | 7 | -------------------------------------------------------------------------------- /JAVA/Leccion07/JavaBeans/build/classes/test/TestJavaBeans.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/JAVA/Leccion07/JavaBeans/build/classes/test/TestJavaBeans.class -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/html5lib/_trie/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import, division, unicode_literals 2 | 3 | from .py import Trie 4 | 5 | __all__ = ["Trie"] 6 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/urllib3/packages/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | from . import ssl_match_hostname 4 | 5 | __all__ = ("ssl_match_hostname",) 6 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_internal/cli/status_codes.py: -------------------------------------------------------------------------------- 1 | SUCCESS = 0 2 | ERROR = 1 3 | UNKNOWN_ERROR = 2 4 | VIRTUALENV_NOT_FOUND = 3 5 | PREVIOUS_BUILD_DIR_ERROR = 4 6 | NO_MATCHES_FOUND = 23 7 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/distlib/t64-arm.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/Leccion01/Lib/site-packages/pip/_vendor/distlib/t64-arm.exe -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/distlib/w64-arm.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/Leccion01/Lib/site-packages/pip/_vendor/distlib/w64-arm.exe -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools/script.tmpl: -------------------------------------------------------------------------------- 1 | # EASY-INSTALL-SCRIPT: %(spec)r,%(script_name)r 2 | __requires__ = %(spec)r 3 | __import__('pkg_resources').run_script(%(spec)r, %(script_name)r) 4 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/wheel-0.37.1.dist-info/entry_points.txt: -------------------------------------------------------------------------------- 1 | [console_scripts] 2 | wheel = wheel.cli:main 3 | 4 | [distutils.commands] 5 | bdist_wheel = wheel.bdist_wheel:bdist_wheel 6 | 7 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/__pycache__/NumerosIgualesException.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/Leccion01/__pycache__/NumerosIgualesException.cpython-39.pyc -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_internal/cli/__init__.py: -------------------------------------------------------------------------------- 1 | """Subpackage containing all of pip's command line interface related code 2 | """ 3 | 4 | # This file intentionally does not import submodules 5 | -------------------------------------------------------------------------------- /JAVA/Leccion11/ListarPersonas/out/production/ListarPersonas/Main.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/JAVA/Leccion11/ListarPersonas/out/production/ListarPersonas/Main.class -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/distutils-precedence.pth: -------------------------------------------------------------------------------- 1 | import os; var = 'SETUPTOOLS_USE_DISTUTILS'; enabled = os.environ.get(var, 'local') == 'local'; enabled and __import__('_distutils_hack').add_shim(); 2 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip-21.3.1.dist-info/entry_points.txt: -------------------------------------------------------------------------------- 1 | [console_scripts] 2 | pip = pip._internal.cli.main:main 3 | pip3 = pip._internal.cli.main:main 4 | pip3.9 = pip._internal.cli.main:main 5 | 6 | -------------------------------------------------------------------------------- /PYTHON/Leccion07/capa_datos_persona/__pycache__/Persona.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/Leccion07/capa_datos_persona/__pycache__/Persona.cpython-310.pyc -------------------------------------------------------------------------------- /PYTHON/Leccion07/capa_datos_persona/__pycache__/conexion.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/Leccion07/capa_datos_persona/__pycache__/conexion.cpython-310.pyc -------------------------------------------------------------------------------- /JAVA/Leccion11/ListarPersonas/out/production/ListarPersonas/Persona.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/JAVA/Leccion11/ListarPersonas/out/production/ListarPersonas/Persona.class -------------------------------------------------------------------------------- /JAVA/Leccion12/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/__pycache__/_virtualenv.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/Leccion01/Lib/site-packages/__pycache__/_virtualenv.cpython-39.pyc -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/pep517/__init__.py: -------------------------------------------------------------------------------- 1 | """Wrappers to build Python packages using PEP 517 hooks 2 | """ 3 | 4 | __version__ = '0.12.0' 5 | 6 | from .wrappers import * # noqa: F401, F403 7 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pkg_resources/tests/data/my-test-package-source/setup.py: -------------------------------------------------------------------------------- 1 | import setuptools 2 | setuptools.setup( 3 | name="my-test-package", 4 | version="1.0", 5 | zip_safe=True, 6 | ) 7 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools/_distutils/debug.py: -------------------------------------------------------------------------------- 1 | import os 2 | 3 | # If DISTUTILS_DEBUG is anything other than the empty string, we run in 4 | # debug mode. 5 | DEBUG = os.environ.get('DISTUTILS_DEBUG') 6 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools/version.py: -------------------------------------------------------------------------------- 1 | import pkg_resources 2 | 3 | try: 4 | __version__ = pkg_resources.get_distribution('setuptools').version 5 | except Exception: 6 | __version__ = 'unknown' 7 | -------------------------------------------------------------------------------- /PYTHON/Leccion07/capa_datos_persona/__pycache__/logger_base.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/Leccion07/capa_datos_persona/__pycache__/logger_base.cpython-310.pyc -------------------------------------------------------------------------------- /PYTHON/Leccion07/capa_datos_persona/__pycache__/logger_base.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/Leccion07/capa_datos_persona/__pycache__/logger_base.cpython-311.pyc -------------------------------------------------------------------------------- /PYTHON/Leccion04/BD/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /PYTHON/Leccion07/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /JAVA/Leccion09/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /JAVA/Leccion09/CalculadoraUTN/out/production/CalculadoraUTN/CalculadoraUTN.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/JAVA/Leccion09/CalculadoraUTN/out/production/CalculadoraUTN/CalculadoraUTN.class -------------------------------------------------------------------------------- /JAVA/Leccion12/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /PYTHON/Leccion07/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/ui/__pycache__/ui.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/ui/__pycache__/ui.cpython-310.pyc -------------------------------------------------------------------------------- /PYTHON/Leccion04/BD/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/_distutils_hack/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/Leccion01/Lib/site-packages/_distutils_hack/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/domain/__pycache__/autor.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/domain/__pycache__/autor.cpython-310.pyc -------------------------------------------------------------------------------- /PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/domain/__pycache__/libro.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/domain/__pycache__/libro.cpython-310.pyc -------------------------------------------------------------------------------- /PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/domain/__pycache__/socio.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/domain/__pycache__/socio.cpython-310.pyc -------------------------------------------------------------------------------- /JAVA/Leccion02/Enumeraciones/src/enumeraciones/Dias.java: -------------------------------------------------------------------------------- 1 | 2 | package enumeraciones; 3 | 4 | public enum Dias { 5 | LUNES, 6 | MARTES, 7 | MIERCOLES, 8 | JUEVES, 9 | VIERNES, 10 | SABADO, 11 | DOMINGO 12 | } 13 | -------------------------------------------------------------------------------- /JAVA/Leccion09/CalculadoraUTN/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /JAVA/Leccion11/ListarPersonas/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/domain/__pycache__/persona.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/domain/__pycache__/persona.cpython-310.pyc -------------------------------------------------------------------------------- /JAVA/Leccion12/SistemaEstudiantes/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /PYTHON/Leccion07/.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /PYTHON/Leccion07/capa_datos_persona/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/core/__pycache__/core_autor.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/core/__pycache__/core_autor.cpython-310.pyc -------------------------------------------------------------------------------- /PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/core/__pycache__/core_libro.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/core/__pycache__/core_libro.cpython-310.pyc -------------------------------------------------------------------------------- /PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/core/__pycache__/core_socio.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/core/__pycache__/core_socio.cpython-310.pyc -------------------------------------------------------------------------------- /PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/domain/__pycache__/solicitud.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/domain/__pycache__/solicitud.cpython-310.pyc -------------------------------------------------------------------------------- /PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/utils/__pycache__/date_utils.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/utils/__pycache__/date_utils.cpython-310.pyc -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/resolvelib/compat/collections_abc.py: -------------------------------------------------------------------------------- 1 | __all__ = ["Mapping", "Sequence"] 2 | 3 | try: 4 | from collections.abc import Mapping, Sequence 5 | except ImportError: 6 | from collections import Mapping, Sequence 7 | -------------------------------------------------------------------------------- /PYTHON/Leccion04/BD/.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/config/__pycache__/logger_base.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/config/__pycache__/logger_base.cpython-310.pyc -------------------------------------------------------------------------------- /PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/core/__pycache__/core_solicitud.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/core/__pycache__/core_solicitud.cpython-310.pyc -------------------------------------------------------------------------------- /PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/utils/date_utils.py: -------------------------------------------------------------------------------- 1 | import datetime 2 | 3 | 4 | def obtener_fecha_hoy(): 5 | fecha_actual = datetime.date.today() 6 | fecha_formateada = fecha_actual.strftime("%d/%m/%Y") 7 | return fecha_formateada 8 | -------------------------------------------------------------------------------- /PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/enums/__pycache__/estados_libros.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/enums/__pycache__/estados_libros.cpython-310.pyc -------------------------------------------------------------------------------- /PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/service/__pycache__/service_autor.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/service/__pycache__/service_autor.cpython-310.pyc -------------------------------------------------------------------------------- /PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/service/__pycache__/service_libro.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/service/__pycache__/service_libro.cpython-310.pyc -------------------------------------------------------------------------------- /PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/service/__pycache__/service_socio.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/service/__pycache__/service_socio.cpython-310.pyc -------------------------------------------------------------------------------- /PYTHON/Leccion07/capa_datos_persona/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/config/__pycache__/database_manager.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/config/__pycache__/database_manager.cpython-310.pyc -------------------------------------------------------------------------------- /PYTHON/Leccion07/capa_datos_persona/.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/enums/estados_libros.py: -------------------------------------------------------------------------------- 1 | from enum import Enum 2 | 3 | 4 | class EstadoLibro(Enum): 5 | DEVUELTO = '1' 6 | NO_DEVUELTO = '2' 7 | 8 | 9 | @staticmethod 10 | def obtener_estado(): 11 | return list(EstadoLibro) -------------------------------------------------------------------------------- /PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/service/__pycache__/service_solicitud.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeSystem2022/chacoDevsTeam-3Semestre/HEAD/PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/service/__pycache__/service_solicitud.cpython-310.pyc -------------------------------------------------------------------------------- /PYTHON/Leccion01/pyvenv.cfg: -------------------------------------------------------------------------------- 1 | home = C:\Python39 2 | implementation = CPython 3 | version_info = 3.9.6.final.0 4 | virtualenv = 20.13.0 5 | include-system-site-packages = false 6 | base-prefix = C:\Python39 7 | base-exec-prefix = C:\Python39 8 | base-executable = C:\Python39\python.exe 9 | -------------------------------------------------------------------------------- /PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /JAVA/Leccion09/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /JAVA/Leccion08/ManejoExcepciones1/src/excepciones/OperacionExcepcion.java: -------------------------------------------------------------------------------- 1 | 2 | package excepciones; 3 | 4 | 5 | public class OperacionExcepcion extends RuntimeException{ 6 | //Constructor 7 | public OperacionExcepcion(String mensaje){ 8 | super(mensaje); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /JAVA/Leccion09/CalculadoraUTN/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /JAVA/Leccion11/ListarPersonas/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools/script (dev).tmpl: -------------------------------------------------------------------------------- 1 | # EASY-INSTALL-DEV-SCRIPT: %(spec)r,%(script_name)r 2 | __requires__ = %(spec)r 3 | __import__('pkg_resources').require(%(spec)r) 4 | __file__ = %(dev_path)r 5 | with open(__file__) as f: 6 | exec(compile(f.read(), __file__, 'exec')) 7 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools/_distutils/py38compat.py: -------------------------------------------------------------------------------- 1 | def aix_platform(osname, version, release): 2 | try: 3 | import _aix_support 4 | return _aix_support.aix_platform() 5 | except ImportError: 6 | pass 7 | return "%s-%s.%s" % (osname, version, release) 8 | -------------------------------------------------------------------------------- /JAVA/Leccion09/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/tomli/__init__.py: -------------------------------------------------------------------------------- 1 | """A lil' TOML parser.""" 2 | 3 | __all__ = ("loads", "load", "TOMLDecodeError") 4 | __version__ = "1.0.3" # DO NOT EDIT THIS LINE MANUALLY. LET bump2version UTILITY DO IT 5 | 6 | from pip._vendor.tomli._parser import TOMLDecodeError, load, loads 7 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools/_deprecation_warning.py: -------------------------------------------------------------------------------- 1 | class SetuptoolsDeprecationWarning(Warning): 2 | """ 3 | Base class for warning deprecations in ``setuptools`` 4 | 5 | This class is not derived from ``DeprecationWarning``, and as such is 6 | visible by default. 7 | """ 8 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools/command/__init__.py: -------------------------------------------------------------------------------- 1 | from distutils.command.bdist import bdist 2 | import sys 3 | 4 | if 'egg' not in bdist.format_commands: 5 | bdist.format_command['egg'] = ('bdist_egg', "Python .egg file") 6 | bdist.format_commands.append('egg') 7 | 8 | del bdist, sys 9 | -------------------------------------------------------------------------------- /JAVA/Leccion05/ClasesAbstractas/src/test/testAbstractas.java: -------------------------------------------------------------------------------- 1 | package test; 2 | 3 | import domain.*; 4 | 5 | 6 | public class testAbstractas { 7 | public static void main(String[] args) { 8 | FiguraGeometrica figura = new Rectangulo("Rectangulo"); 9 | figura.dibujar(); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /PYTHON/Leccion04/BD/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /JAVA/Leccion12/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/colorama/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright Jonathan Hartley 2013. BSD 3-Clause license, see LICENSE file. 2 | from .initialise import init, deinit, reinit, colorama_text 3 | from .ansi import Fore, Back, Style, Cursor 4 | from .ansitowin32 import AnsiToWin32 5 | 6 | __version__ = '0.4.4' 7 | -------------------------------------------------------------------------------- /PYTHON/Leccion07/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /JAVA/Leccion12/SistemaEstudiantes/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /PYTHON/Archivos/Leccion02/leer_archivo.py: -------------------------------------------------------------------------------- 1 | 2 | archivo = open('prueba.txt', 'r', encoding='utf8')# las letras son 'r' read, 'a'append, 'w' write,'x' 3 | # print(archivo.read()) 4 | # print(archivo.read(16)) 5 | # print(archivo.read(10)) # Continuamos desde la linea anterior 6 | # print(archivo.readline()) 7 | print(archivo.readline()) -------------------------------------------------------------------------------- /JAVA/Leccion09/CalculadoraUTN/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /JAVA/Leccion11/ListarPersonas/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/.idea/Leccion01.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /PYTHON/Leccion04/BD/.idea/BD.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /PYTHON/Leccion07/.idea/Leccion07.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/chardet/version.py: -------------------------------------------------------------------------------- 1 | """ 2 | This module exists only to simplify retrieving the version number of chardet 3 | from within setup.py and from chardet subpackages. 4 | 5 | :author: Dan Blanchard (dan.blanchard@gmail.com) 6 | """ 7 | 8 | __version__ = "4.0.0" 9 | VERSION = __version__.split('.') 10 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/py.typed: -------------------------------------------------------------------------------- 1 | pip is a command line program. While it is implemented in Python, and so is 2 | available for import, you must not use pip's internal APIs in this way. Typing 3 | information is provided as a convenience only and is not a guarantee. Expect 4 | unannounced changes to the API and types in releases. 5 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_internal/utils/datetime.py: -------------------------------------------------------------------------------- 1 | """For when pip wants to check the date or time. 2 | """ 3 | 4 | import datetime 5 | 6 | 7 | def today_is_later_than(year: int, month: int, day: int) -> bool: 8 | today = datetime.date.today() 9 | given = datetime.date(year, month, day) 10 | 11 | return today > given 12 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools/py34compat.py: -------------------------------------------------------------------------------- 1 | import importlib 2 | 3 | try: 4 | import importlib.util 5 | except ImportError: 6 | pass 7 | 8 | 9 | try: 10 | module_from_spec = importlib.util.module_from_spec 11 | except AttributeError: 12 | def module_from_spec(spec): 13 | return spec.loader.load_module(spec.name) 14 | -------------------------------------------------------------------------------- /PYTHON/Leccion07/capa_datos_persona/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/distlib/_backport/__init__.py: -------------------------------------------------------------------------------- 1 | """Modules copied from Python 3 standard libraries, for internal use only. 2 | 3 | Individual classes and functions are found in d2._backport.misc. Intended 4 | usage is to always import things missing from 3.1 from that module: the 5 | built-in/stdlib objects will be used if found. 6 | """ 7 | -------------------------------------------------------------------------------- /PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/certifi/__main__.py: -------------------------------------------------------------------------------- 1 | import argparse 2 | 3 | from pip._vendor.certifi import contents, where 4 | 5 | parser = argparse.ArgumentParser() 6 | parser.add_argument("-c", "--contents", action="store_true") 7 | args = parser.parse_args() 8 | 9 | if args.contents: 10 | print(contents()) 11 | else: 12 | print(where()) 13 | -------------------------------------------------------------------------------- /PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/.idea/GestionBiblioteca.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /JAVASCRIPT/TSLeccion05/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | JavaScript 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /JAVA/Leccion06/Interfaces/src/accesodatos/IAccesoDatos.java: -------------------------------------------------------------------------------- 1 | 2 | package accesodatos; 3 | 4 | 5 | public interface IAccesoDatos { 6 | int MAX_REGISTRO = 10; 7 | //Metodo insertar es abstracto y sin cuerpo 8 | 9 | void insertar(); 10 | 11 | void listar(); 12 | 13 | void actualizar(); 14 | 15 | void eliminar(); 16 | 17 | } 18 | -------------------------------------------------------------------------------- /JAVASCRIPT/TSLeccion04/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | JavaScript 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /JAVA/Leccion12/.idea/Leccion12.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /JAVA/Leccion03/ModificadoresAcceso/src/paquete1/ClaseHija2.java: -------------------------------------------------------------------------------- 1 | 2 | package paquete1; 3 | 4 | 5 | public class ClaseHija2 extends Clase2 { 6 | public ClaseHija2(){ 7 | super(); 8 | this.atributoDefault = "Modificacion del atributo default"; 9 | System.out.println("atributoDefault = " + this.atributoDefault); 10 | this.metodoDefault(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /PYTHON/Leccion03/catalogo_peliculas/dominio/Pelicula.py: -------------------------------------------------------------------------------- 1 | class Pelicula: 2 | def __init__(self, nombre): 3 | self._nombre = nombre 4 | 5 | def __str__(self): 6 | return f"Pelicula: {self._nombre}" 7 | 8 | @property 9 | def nombre(self): 10 | return self._nombre 11 | 12 | @nombre.setter 13 | def nombre(self, nombre): 14 | self._nombre = nombre -------------------------------------------------------------------------------- /JAVA/Leccion03/ForEach/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/html5lib/filters/base.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import, division, unicode_literals 2 | 3 | 4 | class Filter(object): 5 | def __init__(self, source): 6 | self.source = source 7 | 8 | def __iter__(self): 9 | return iter(self.source) 10 | 11 | def __getattr__(self, name): 12 | return getattr(self.source, name) 13 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Scripts/deactivate.nu: -------------------------------------------------------------------------------- 1 | # Setting the old path 2 | let path-name = (if ((sys).host.name == "Windows") { "Path" } { "PATH" }) 3 | let-env $path-name = $nu.env._OLD_VIRTUAL_PATH 4 | 5 | # Unleting the environment variables that were created when activating the env 6 | unlet-env VIRTUAL_ENV 7 | unlet-env _OLD_VIRTUAL_PATH 8 | unlet-env PROMPT_COMMAND 9 | 10 | unalias pydoc 11 | unalias deactivate 12 | -------------------------------------------------------------------------------- /PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/config/logger_base.py: -------------------------------------------------------------------------------- 1 | import logging as log 2 | 3 | log.basicConfig(level=log.INFO, 4 | format='%(asctime)s:%(levelname)s [%(filename)s:%(lineno)s] %(message)s', 5 | datefmt='%I:%M:%S %p', 6 | handlers=[ 7 | log.FileHandler('capa_datos.log'), 8 | log.StreamHandler() 9 | ]) -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/cachecontrol/__init__.py: -------------------------------------------------------------------------------- 1 | """CacheControl import Interface. 2 | 3 | Make it easy to import from cachecontrol without long namespaces. 4 | """ 5 | __author__ = "Eric Larson" 6 | __email__ = "eric@ionrock.org" 7 | __version__ = "0.12.6" 8 | 9 | from .wrapper import CacheControl 10 | from .adapter import CacheControlAdapter 11 | from .controller import CacheController 12 | -------------------------------------------------------------------------------- /PYTHON/Leccion07/capa_datos_persona/.idea/capa_datos_persona.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /JAVA/Leccion08/ManejoExcepciones1/src/aritmetica/Aritmetica.java: -------------------------------------------------------------------------------- 1 | 2 | package aritmetica; 3 | 4 | import excepciones.OperacionExcepcion; 5 | 6 | 7 | public class Aritmetica { 8 | public static int division(int numerador, int denominador){ 9 | if(denominador == 0){ 10 | throw new OperacionExcepcion("Division entre cero "); 11 | } 12 | return numerador / denominador; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /JAVA/Leccion03/ModificadoresAcceso/src/paquete2/Clase3.java: -------------------------------------------------------------------------------- 1 | 2 | package paquete2; 3 | 4 | import paquete1.Clase1; 5 | 6 | public class Clase3 extends Clase1{ 7 | public Clase3(){ 8 | super("protected"); 9 | this.atributoProtected="Accedemos desde la clase hija"; 10 | System.out.println("AtributoPortected= "+this.atributoProtected); 11 | this.atributoPublic="Es totalmente publico"; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_internal/main.py: -------------------------------------------------------------------------------- 1 | from typing import List, Optional 2 | 3 | 4 | def main(args: Optional[List[str]] = None) -> int: 5 | """This is preserved for old console scripts that may still be referencing 6 | it. 7 | 8 | For additional details, see https://github.com/pypa/pip/issues/7498. 9 | """ 10 | from pip._internal.utils.entrypoints import _wrapper 11 | 12 | return _wrapper(args) 13 | -------------------------------------------------------------------------------- /JAVA/Leccion05/ClasesAbstractas/src/domain/Rectangulo.java: -------------------------------------------------------------------------------- 1 | package domain; 2 | 3 | public class Rectangulo extends FiguraGeometrica{ 4 | //Constructor 5 | public Rectangulo(String tipoFigura){ 6 | super(tipoFigura); 7 | } 8 | 9 | @Override 10 | public void dibujar() {//Implementando el método 11 | System.out.println("Se imprime un: "+this.getClass().getSimpleName()); 12 | } 13 | 14 | 15 | } 16 | -------------------------------------------------------------------------------- /JAVA/Leccion12/SistemaEstudiantes/src/main/java/UTN/Main.java: -------------------------------------------------------------------------------- 1 | package UTN; 2 | 3 | import UTN.conexion.Conexion; 4 | public class Main { 5 | public static void main(String[] args) { 6 | var conexion = Conexion.getConnection(); 7 | if(conexion != null) 8 | System.out.println("Conexion exitosa: "+conexion); 9 | else 10 | System.out.println("Error al conectarse"); 11 | }//Fin main 12 | }//Fin clase -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/__init__.py: -------------------------------------------------------------------------------- 1 | from typing import List, Optional 2 | 3 | __version__ = "21.3.1" 4 | 5 | 6 | def main(args: Optional[List[str]] = None) -> int: 7 | """This is an internal API only meant for use by pip's own console scripts. 8 | 9 | For additional details, see https://github.com/pypa/pip/issues/7498. 10 | """ 11 | from pip._internal.utils.entrypoints import _wrapper 12 | 13 | return _wrapper(args) 14 | -------------------------------------------------------------------------------- /JAVA/Leccion02/BloquesInicializacion/src/test/TestBloqueInicializacion.java: -------------------------------------------------------------------------------- 1 | 2 | package test; 3 | 4 | import domain.Persona; 5 | 6 | 7 | public class TestBloqueInicializacion { 8 | public static void main(String[] args) { 9 | Persona persona1 = new Persona(); 10 | System.out.println("persona1 = " + persona1); 11 | Persona persona2 = new Persona(); 12 | System.out.println("persona2 = "+ persona2); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/idna/compat.py: -------------------------------------------------------------------------------- 1 | from .core import * 2 | from .codec import * 3 | from typing import Any, Union 4 | 5 | def ToASCII(label): 6 | # type: (str) -> bytes 7 | return encode(label) 8 | 9 | def ToUnicode(label): 10 | # type: (Union[bytes, bytearray]) -> str 11 | return decode(label) 12 | 13 | def nameprep(s): 14 | # type: (Any) -> None 15 | raise NotImplementedError('IDNA 2008 does not utilise nameprep protocol') 16 | 17 | -------------------------------------------------------------------------------- /JAVA/Leccion09/Leccion09.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /JAVA/Leccion11/Leccion11.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /JAVA/Leccion05/ClaseObject/src/domain/TipoEscritura.java: -------------------------------------------------------------------------------- 1 | 2 | package domain; 3 | 4 | 5 | public enum TipoEscritura { 6 | CLASICO ("Escritura a mano"), 7 | MODERNO ("Escritura digital"); 8 | 9 | private final String descripcion; 10 | 11 | private TipoEscritura(String descripcion){//Constructor 12 | this.descripcion = descripcion; 13 | } 14 | 15 | public String getDescripcion() { 16 | return descripcion; 17 | } 18 | 19 | 20 | 21 | } 22 | -------------------------------------------------------------------------------- /JAVA/Leccion09/CalculadoraUTN/CalculadoraUTN.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /JAVA/Leccion11/ListarPersonas/ListarPersonas.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /JAVA/Leccion04/Sobreescritura/src/domain/Gerente.java: -------------------------------------------------------------------------------- 1 | package domain; 2 | 3 | 4 | public class Gerente extends Empleado{ 5 | private String departamento; 6 | 7 | public Gerente(String nombre, double sueldo, String departamento) { 8 | super(nombre, sueldo); 9 | this.departamento = departamento; 10 | } 11 | @Override 12 | public String obtenerDetalles(){ 13 | return super.obtenerDetalles() + ", Departamento: "+this.departamento; 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /JAVA/Leccion05/ConversionObjetos/src/domain/TipoEscritura.java: -------------------------------------------------------------------------------- 1 | 2 | package domain; 3 | 4 | 5 | public enum TipoEscritura { 6 | CLASICO ("Escritura a mano"), 7 | MODERNO ("Escritura digital"); 8 | 9 | private final String descripcion; 10 | 11 | private TipoEscritura(String descripcion){//Constructor 12 | this.descripcion = descripcion; 13 | } 14 | 15 | public String getDescripcion() { 16 | return descripcion; 17 | } 18 | 19 | 20 | 21 | } 22 | -------------------------------------------------------------------------------- /JAVA/Leccion03/ForEach/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=2e262ca5 2 | build.xml.script.CRC32=3b06dcd5 3 | build.xml.stylesheet.CRC32=f85dc8f2@1.97.0.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=2e262ca5 7 | nbproject/build-impl.xml.script.CRC32=6bf6ed6c 8 | nbproject/build-impl.xml.stylesheet.CRC32=d549e5cc@1.97.0.48 9 | -------------------------------------------------------------------------------- /JAVA/Leccion02/Enumeraciones/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=8b1b1737 2 | build.xml.script.CRC32=9bf950cf 3 | build.xml.stylesheet.CRC32=f85dc8f2@1.96.0.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=8b1b1737 7 | nbproject/build-impl.xml.script.CRC32=5741a1ea 8 | nbproject/build-impl.xml.stylesheet.CRC32=f89f7d21@1.96.0.48 9 | -------------------------------------------------------------------------------- /JAVA/Leccion03/ForEach/src/domain/Persona.java: -------------------------------------------------------------------------------- 1 | 2 | package domain; 3 | 4 | public class Persona { 5 | private String nombre; 6 | 7 | public Persona(String nombre) { 8 | this.nombre = nombre; 9 | } 10 | 11 | public String getNombre() { 12 | return nombre; 13 | } 14 | 15 | public void setNombre(String nombre) { 16 | this.nombre = nombre; 17 | } 18 | 19 | @Override 20 | public String toString() { 21 | return "Persona{" + "nombre=" + nombre + '}'; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /JAVA/Leccion04/InstanceOf/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=977b55be 2 | build.xml.script.CRC32=af5dc0cc 3 | build.xml.stylesheet.CRC32=f85dc8f2@1.106.0.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=977b55be 7 | nbproject/build-impl.xml.script.CRC32=be954377 8 | nbproject/build-impl.xml.stylesheet.CRC32=12e0a6c2@1.106.0.48 9 | -------------------------------------------------------------------------------- /JAVA/Leccion05/ClaseObject/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=d54c1646 2 | build.xml.script.CRC32=482adcb5 3 | build.xml.stylesheet.CRC32=f85dc8f2@1.104.0.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=d54c1646 7 | nbproject/build-impl.xml.script.CRC32=b3d76488 8 | nbproject/build-impl.xml.stylesheet.CRC32=12e0a6c2@1.104.0.48 9 | -------------------------------------------------------------------------------- /JAVA/Leccion06/Interfaces/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=3c36d5ad 2 | build.xml.script.CRC32=aa1d2eed 3 | build.xml.stylesheet.CRC32=f85dc8f2@1.104.0.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=3c36d5ad 7 | nbproject/build-impl.xml.script.CRC32=ba9ad45d 8 | nbproject/build-impl.xml.stylesheet.CRC32=12e0a6c2@1.104.0.48 9 | -------------------------------------------------------------------------------- /JAVA/Leccion07/JavaBeans/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=edcd0d3c 2 | build.xml.script.CRC32=87f710f6 3 | build.xml.stylesheet.CRC32=f85dc8f2@1.104.0.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=edcd0d3c 7 | nbproject/build-impl.xml.script.CRC32=b64fff1d 8 | nbproject/build-impl.xml.stylesheet.CRC32=12e0a6c2@1.104.0.48 9 | -------------------------------------------------------------------------------- /PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/test/capa_datos.log: -------------------------------------------------------------------------------- 1 | 01:04:35 AM:INFO [core_socio.py:20] Los registros insertados son: 1 2 | 01:05:20 AM:INFO [core_autor.py:21] Los registros insertados son: 1 3 | 01:12:16 AM:ERROR [core_autor.py:82] OCURRIO UN ERROR 'KeyboardInterrupt' object is not callable 4 | 01:12:16 AM:ERROR [service_autor.py:44] OCURRIO UN ERROR 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte 5 | 01:16:29 AM:ERROR [core_libro.py:60] OCURRIO UN ERROR '>' not supported between instances of 'list' and 'int' 6 | -------------------------------------------------------------------------------- /JAVA/Leccion01/MundoPC/MundoPC/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=ca0ec446 2 | build.xml.script.CRC32=c3bf7450 3 | build.xml.stylesheet.CRC32=f85dc8f2@1.104.0.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=ca0ec446 7 | nbproject/build-impl.xml.script.CRC32=b8a1dc1d 8 | nbproject/build-impl.xml.stylesheet.CRC32=12e0a6c2@1.104.0.48 9 | -------------------------------------------------------------------------------- /JAVA/Leccion03/AutoBoxinUnboxin/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=68595121 2 | build.xml.script.CRC32=7f8355ce 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=68595121 7 | nbproject/build-impl.xml.script.CRC32=5764498f 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /JAVA/Leccion03/ModificadoresAcceso/src/test/TestModificadoresAcceso.java: -------------------------------------------------------------------------------- 1 | 2 | package test; 3 | 4 | import paquete1.Clase1; 5 | import paquete2.Clase3; 6 | 7 | 8 | public class TestModificadoresAcceso { 9 | public static void main(String[] args) { 10 | Clase1 clase1 = new Clase1 (); 11 | System.out.println("clase1 = " + clase1.atributoPublic ); 12 | clase1.metodoPublico(); 13 | Clase3 claseHija=new Clase3(); 14 | System.out.println("claseHija = " + claseHija); 15 | 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /JAVA/Leccion04/Sobreescritura/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=f240a322 2 | build.xml.script.CRC32=ead9927a 3 | build.xml.stylesheet.CRC32=f85dc8f2@1.96.0.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=f240a322 7 | nbproject/build-impl.xml.script.CRC32=7f389aae 8 | nbproject/build-impl.xml.stylesheet.CRC32=12e0a6c2@1.104.0.48 9 | -------------------------------------------------------------------------------- /JAVA/Leccion05/ClasesAbstractas/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=d76ec642 2 | build.xml.script.CRC32=e2fae552 3 | build.xml.stylesheet.CRC32=f85dc8f2@1.96.0.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=d76ec642 7 | nbproject/build-impl.xml.script.CRC32=ea3981e3 8 | nbproject/build-impl.xml.stylesheet.CRC32=f89f7d21@1.96.0.48 9 | -------------------------------------------------------------------------------- /JAVA/Leccion05/ConversionObjetos/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=11997378 2 | build.xml.script.CRC32=872fc0d2 3 | build.xml.stylesheet.CRC32=f85dc8f2@1.104.0.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=11997378 7 | nbproject/build-impl.xml.script.CRC32=17fe8728 8 | nbproject/build-impl.xml.stylesheet.CRC32=12e0a6c2@1.104.0.48 9 | -------------------------------------------------------------------------------- /JAVA/Leccion08/ManejoExcepciones1/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=19970aff 2 | build.xml.script.CRC32=7bb4263b 3 | build.xml.stylesheet.CRC32=f85dc8f2@1.97.0.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=19970aff 7 | nbproject/build-impl.xml.script.CRC32=58b9bf82 8 | nbproject/build-impl.xml.stylesheet.CRC32=12e0a6c2@1.106.0.48 9 | -------------------------------------------------------------------------------- /JAVA/Leccion02/ArgumentosVariables/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=d02d2929 2 | build.xml.script.CRC32=8c75311a 3 | build.xml.stylesheet.CRC32=f85dc8f2@1.104.0.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=d02d2929 7 | nbproject/build-impl.xml.script.CRC32=d6f8f1e0 8 | nbproject/build-impl.xml.stylesheet.CRC32=12e0a6c2@1.104.0.48 9 | -------------------------------------------------------------------------------- /JAVA/Leccion02/BloquesInicializacion/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=7592e22c 2 | build.xml.script.CRC32=8c87a57c 3 | build.xml.stylesheet.CRC32=f85dc8f2@1.96.0.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=7592e22c 7 | nbproject/build-impl.xml.script.CRC32=36a8bac4 8 | nbproject/build-impl.xml.stylesheet.CRC32=f89f7d21@1.96.0.48 9 | -------------------------------------------------------------------------------- /JAVA/Leccion03/ModificadoresAcceso/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=36d5e954 2 | build.xml.script.CRC32=ca915d7d 3 | build.xml.stylesheet.CRC32=f85dc8f2@1.96.0.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=36d5e954 7 | nbproject/build-impl.xml.script.CRC32=e2da87d0 8 | nbproject/build-impl.xml.stylesheet.CRC32=12e0a6c2@1.104.0.48 9 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/wheel/__main__.py: -------------------------------------------------------------------------------- 1 | """ 2 | Wheel command line tool (enable python -m wheel syntax) 3 | """ 4 | 5 | import sys 6 | 7 | 8 | def main(): # needed for console script 9 | if __package__ == '': 10 | # To be able to run 'python wheel-0.9.whl/wheel': 11 | import os.path 12 | path = os.path.dirname(os.path.dirname(__file__)) 13 | sys.path[0:0] = [path] 14 | import wheel.cli 15 | sys.exit(wheel.cli.main()) 16 | 17 | 18 | if __name__ == "__main__": 19 | sys.exit(main()) 20 | -------------------------------------------------------------------------------- /JAVA/Leccion07/JavaBeans/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | file:/C:/Users/renzo/Desktop/UTN/chacoDevsTeam-3Semestre/JAVA/Leccion07/JavaBeans/src/domain/Persona.java 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /PYTHON/Archivos/Leccion02/ManejoArchivos.py: -------------------------------------------------------------------------------- 1 | class ManejoArchivos: 2 | def __init__(self, nombre): 3 | self.nombre = nombre 4 | 5 | def __enter__(self): 6 | print('Obtengo el Recurso'.center(50, '-')) 7 | self.nombre = open(self.nombre, 'r', encoding='utf8') # Encapsulamos el metodo 8 | return self.nombre 9 | 10 | def __exit__(self, tipo_exception, valor_exception, traza_error): 11 | print('Cerramos el recurso'.center(50, '-')) 12 | if self.nombre: 13 | self.nombre.close() # Cerramos el archivo -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/requests/__version__.py: -------------------------------------------------------------------------------- 1 | # .-. .-. .-. . . .-. .-. .-. .-. 2 | # |( |- |.| | | |- `-. | `-. 3 | # ' ' `-' `-`.`-' `-' `-' ' `-' 4 | 5 | __title__ = 'requests' 6 | __description__ = 'Python HTTP for Humans.' 7 | __url__ = 'https://requests.readthedocs.io' 8 | __version__ = '2.26.0' 9 | __build__ = 0x022600 10 | __author__ = 'Kenneth Reitz' 11 | __author_email__ = 'me@kennethreitz.org' 12 | __license__ = 'Apache 2.0' 13 | __copyright__ = 'Copyright 2020 Kenneth Reitz' 14 | __cake__ = u'\u2728 \U0001f370 \u2728' 15 | -------------------------------------------------------------------------------- /JAVA/Leccion07/JavaBeans/src/test/TestJavaBeans.java: -------------------------------------------------------------------------------- 1 | 2 | package test; 3 | 4 | import domain.Persona; 5 | 6 | public class TestJavaBeans { 7 | public static void main(String[] args){ 8 | Persona persona = new Persona(); 9 | persona.setNombre("Juan"); 10 | persona.setApellido("Perez"); 11 | System.out.println("persona = " + persona); 12 | 13 | System.out.println("Persona nombre: "+persona.getNombre()); 14 | System.out.println("Persona apellido: "+persona.getApellido()); 15 | 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /PYTHON/Archivos/Leccion02/archivos_con_with.py: -------------------------------------------------------------------------------- 1 | from ManejoArchivos import ManejoArchivos 2 | 3 | # MANEJO DE CONTEXTO WITH: sintaxis simplificada, abre y cierra el archivo 4 | with open("prueba.txt", "r", encoding="utf8") as archivo: 5 | print(archivo.read()) 6 | # No hace falta ni el try, ni el finally 7 | # en el contexto de with lo que se ejecuta de manera automatica 8 | # Utiliza diferentes métodos: __enter__ este es el que abre 9 | # Ahora el siguiente método es el que cierra: __exit__ 10 | 11 | with ManejoArchivos("prueba.txt") as archivo: 12 | print(archivo.read()) -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/vendor.txt: -------------------------------------------------------------------------------- 1 | CacheControl==0.12.6 # Make sure to update the license in pyproject.toml for this. 2 | colorama==0.4.4 3 | distlib==0.3.3 4 | distro==1.6.0 5 | html5lib==1.1 6 | msgpack==1.0.2 7 | packaging==21.0 8 | pep517==0.12.0 9 | platformdirs==2.4.0 10 | progress==1.6 11 | pyparsing==2.4.7 12 | requests==2.26.0 13 | certifi==2021.05.30 14 | chardet==4.0.0 15 | idna==3.2 16 | urllib3==1.26.7 17 | resolvelib==0.8.0 18 | setuptools==44.0.0 19 | six==1.16.0 20 | tenacity==8.0.1 21 | tomli==1.0.3 22 | webencodings==0.5.1 23 | -------------------------------------------------------------------------------- /JAVA/Leccion01/MundoPC/MundoPC/src/ar/com/system2023/mundopc/Raton.java: -------------------------------------------------------------------------------- 1 | 2 | package ar.com.system2023.mundopc; 3 | 4 | 5 | public class Raton extends DispositivoEntrada { 6 | private final int idRaton; 7 | private static int contadorRaton; 8 | 9 | public Raton(String tipoEntrada, String marca) { 10 | super(tipoEntrada, marca); 11 | this.idRaton=++Raton.contadorRaton; 12 | } 13 | 14 | @Override 15 | public String toString() { 16 | return "Raton{idRaton: " + idRaton + ", " + super.toString()+ " } "; 17 | } 18 | 19 | 20 | } 21 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools/command/upload.py: -------------------------------------------------------------------------------- 1 | from distutils import log 2 | from distutils.command import upload as orig 3 | 4 | from setuptools.errors import RemovedCommandError 5 | 6 | 7 | class upload(orig.upload): 8 | """Formerly used to upload packages to PyPI.""" 9 | 10 | def run(self): 11 | msg = ( 12 | "The upload command has been removed, use twine to upload " 13 | + "instead (https://pypi.org/p/twine)" 14 | ) 15 | 16 | self.announce("ERROR: " + msg, log.ERROR) 17 | raise RemovedCommandError(msg) 18 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/requests/certs.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # -*- coding: utf-8 -*- 3 | 4 | """ 5 | requests.certs 6 | ~~~~~~~~~~~~~~ 7 | 8 | This module returns the preferred default CA certificate bundle. There is 9 | only one — the one from the certifi package. 10 | 11 | If you are packaging Requests, e.g., for a Linux distribution or a managed 12 | environment, you can change the definition of where() to return a separately 13 | packaged CA bundle. 14 | """ 15 | from pip._vendor.certifi import where 16 | 17 | if __name__ == '__main__': 18 | print(where()) 19 | -------------------------------------------------------------------------------- /JAVA/Leccion03/ForEach/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | ForEach 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools/_distutils/py35compat.py: -------------------------------------------------------------------------------- 1 | import sys 2 | import subprocess 3 | 4 | 5 | def __optim_args_from_interpreter_flags(): 6 | """Return a list of command-line arguments reproducing the current 7 | optimization settings in sys.flags.""" 8 | args = [] 9 | value = sys.flags.optimize 10 | if value > 0: 11 | args.append("-" + "O" * value) 12 | return args 13 | 14 | 15 | _optim_args_from_interpreter_flags = getattr( 16 | subprocess, 17 | "_optim_args_from_interpreter_flags", 18 | __optim_args_from_interpreter_flags, 19 | ) 20 | -------------------------------------------------------------------------------- /JAVA/Leccion01/MundoPC/MundoPC/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | MundoPC 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /JAVA/Leccion05/ClaseObject/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | ClaseObject 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /JAVA/Leccion06/Interfaces/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | Interfaces 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /JAVA/Leccion07/JavaBeans/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | JavaBeans 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools/command/register.py: -------------------------------------------------------------------------------- 1 | from distutils import log 2 | import distutils.command.register as orig 3 | 4 | from setuptools.errors import RemovedCommandError 5 | 6 | 7 | class register(orig.register): 8 | """Formerly used to register packages on PyPI.""" 9 | 10 | def run(self): 11 | msg = ( 12 | "The register command has been removed, use twine to upload " 13 | + "instead (https://pypi.org/p/twine)" 14 | ) 15 | 16 | self.announce("ERROR: " + msg, log.ERROR) 17 | 18 | raise RemovedCommandError(msg) 19 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Scripts/deactivate.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | set VIRTUAL_ENV= 4 | 5 | REM Don't use () to avoid problems with them in %PATH% 6 | if not defined _OLD_VIRTUAL_PROMPT goto ENDIFVPROMPT 7 | set "PROMPT=%_OLD_VIRTUAL_PROMPT%" 8 | set _OLD_VIRTUAL_PROMPT= 9 | :ENDIFVPROMPT 10 | 11 | if not defined _OLD_VIRTUAL_PYTHONHOME goto ENDIFVHOME 12 | set "PYTHONHOME=%_OLD_VIRTUAL_PYTHONHOME%" 13 | set _OLD_VIRTUAL_PYTHONHOME= 14 | :ENDIFVHOME 15 | 16 | if not defined _OLD_VIRTUAL_PATH goto ENDIFVPATH 17 | set "PATH=%_OLD_VIRTUAL_PATH%" 18 | set _OLD_VIRTUAL_PATH= 19 | :ENDIFVPATH 20 | -------------------------------------------------------------------------------- /JAVA/Leccion02/Enumeraciones/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | Enumeraciones 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /JAVA/Leccion04/InstanceOf/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | Sobreescritura 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /JAVA/Leccion06/Interfaces/src/test/TestInterfaces.java: -------------------------------------------------------------------------------- 1 | package test; 2 | 3 | import accesodatos.IAccesoDatos; 4 | import accesodatos.ImplementacionMySql; 5 | import accesodatos.ImplementacionOracle; 6 | 7 | 8 | public class TestInterfaces { 9 | public static void main(String[] args) { 10 | IAccesoDatos datos = new ImplementacionMySql(); 11 | //datos.listar(); 12 | //imprimir(datos); 13 | datos = new ImplementacionOracle(); 14 | //datos.listar(); 15 | imprimir(datos); 16 | } 17 | public static void imprimir(IAccesoDatos datos){ 18 | datos.listar(); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /JAVA/Leccion03/AutoBoxinUnboxin/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | AutoBoxinUnboxin 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /JAVA/Leccion04/Sobreescritura/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | Sobreescritura 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /JAVA/Leccion05/ClasesAbstractas/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | ClasesAbstractas 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /JAVA/Leccion01/MundoPC/MundoPC/src/ar/com/system2023/mundopc/Teclado.java: -------------------------------------------------------------------------------- 1 | package ar.com.system2023.mundopc; 2 | 3 | public class Teclado extends DispositivoEntrada{ 4 | 5 | private final int idTeclado; 6 | private static int contadorTeclados; 7 | 8 | 9 | public Teclado(String tipoEntrada, String marca){ 10 | super(tipoEntrada, marca); 11 | this.idTeclado = ++Teclado.contadorTeclados; 12 | 13 | } 14 | 15 | @Override 16 | public String toString() { 17 | return "Teclado{" + "idTeclado=" + idTeclado + ", "+super.toString()+'}'; 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /JAVA/Leccion05/ConversionObjetos/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | ConversionObjetos 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /JAVA/Leccion08/ManejoExcepciones1/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | ManejoExcepciones1 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /JAVA/Leccion12/SistemaEstudiantes/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /JAVA/Leccion02/ArgumentosVariables/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | ArgumentosVariables 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /JAVA/Leccion02/BloquesInicializacion/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | BloquesInicialización 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /JAVA/Leccion03/ModificadoresAcceso/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | ModificadoresAcceso 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /JAVA/Leccion03/ModificadoresAcceso/src/paquete1/Clase2.java: -------------------------------------------------------------------------------- 1 | package paquete1; 2 | 3 | public class Clase2 { 4 | String atributoDefault = "Valor del atributo default"; 5 | 6 | /*Clase2(){ 7 | System.out.println("Constructor Default"); 8 | }*/ 9 | 10 | public Clase2(){ 11 | super(); 12 | this.atributoDefault = "Modificacion del atributo default"; 13 | System.out.println("atributo default = "+ this.atributoDefault); 14 | this.metodoDefault(); 15 | } 16 | 17 | void metodoDefault(){ 18 | System.out.println("Metodo default"); 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/urllib3/util/queue.py: -------------------------------------------------------------------------------- 1 | import collections 2 | 3 | from ..packages import six 4 | from ..packages.six.moves import queue 5 | 6 | if six.PY2: 7 | # Queue is imported for side effects on MS Windows. See issue #229. 8 | import Queue as _unused_module_Queue # noqa: F401 9 | 10 | 11 | class LifoQueue(queue.Queue): 12 | def _init(self, _): 13 | self.queue = collections.deque() 14 | 15 | def _qsize(self, len=len): 16 | return len(self.queue) 17 | 18 | def _put(self, item): 19 | self.queue.append(item) 20 | 21 | def _get(self): 22 | return self.queue.pop() 23 | -------------------------------------------------------------------------------- /JAVA/Leccion03/ForEach/src/test/TestForEach.java: -------------------------------------------------------------------------------- 1 | 2 | package test; 3 | 4 | import domain.Persona; 5 | 6 | public class TestForEach { 7 | public static void main(String[] args) { 8 | int edades[] = {5, 6, 8, };//Sintaxis resumida 9 | for (int edad: edades){ //Sintaxis del ForEach 10 | System.out.println("edad = " + edad); 11 | } 12 | 13 | Persona personas[] = {new Persona("Ludmila"), new Persona("Kevin"), new Persona("Juani")}; 14 | 15 | //ForEach 16 | for(Persona persona: personas){ 17 | System.out.println("persona = " + persona); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/packaging/__init__.py: -------------------------------------------------------------------------------- 1 | # This file is dual licensed under the terms of the Apache License, Version 2 | # 2.0, and the BSD License. See the LICENSE file in the root of this repository 3 | # for complete details. 4 | 5 | from .__about__ import ( 6 | __author__, 7 | __copyright__, 8 | __email__, 9 | __license__, 10 | __summary__, 11 | __title__, 12 | __uri__, 13 | __version__, 14 | ) 15 | 16 | __all__ = [ 17 | "__title__", 18 | "__summary__", 19 | "__uri__", 20 | "__version__", 21 | "__author__", 22 | "__email__", 23 | "__license__", 24 | "__copyright__", 25 | ] 26 | -------------------------------------------------------------------------------- /JAVA/Leccion06/Interfaces/src/accesodatos/ImplementacionMySql.java: -------------------------------------------------------------------------------- 1 | 2 | package accesodatos; 3 | 4 | public class ImplementacionMySql implements IAccesoDatos{ 5 | 6 | @Override 7 | public void insertar() { 8 | System.out.println("Insertar desde MySqul"); 9 | } 10 | 11 | @Override 12 | public void listar() { 13 | System.out.println("Insertar desde MySqul"); 14 | } 15 | 16 | @Override 17 | public void actualizar() { 18 | System.out.println("Insertar desde MySqul"); 19 | } 20 | 21 | @Override 22 | public void eliminar() { 23 | System.out.println("Insertar desde MySqul"); 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools/_vendor/packaging/__init__.py: -------------------------------------------------------------------------------- 1 | # This file is dual licensed under the terms of the Apache License, Version 2 | # 2.0, and the BSD License. See the LICENSE file in the root of this repository 3 | # for complete details. 4 | 5 | from .__about__ import ( 6 | __author__, 7 | __copyright__, 8 | __email__, 9 | __license__, 10 | __summary__, 11 | __title__, 12 | __uri__, 13 | __version__, 14 | ) 15 | 16 | __all__ = [ 17 | "__title__", 18 | "__summary__", 19 | "__uri__", 20 | "__version__", 21 | "__author__", 22 | "__email__", 23 | "__license__", 24 | "__copyright__", 25 | ] 26 | -------------------------------------------------------------------------------- /JAVA/Leccion03/ModificadoresAcceso/src/paquete1/TestDefault.java: -------------------------------------------------------------------------------- 1 | 2 | package paquete1; 3 | 4 | import paquete2.Clase4; 5 | 6 | 7 | public class TestDefault { 8 | public static void main(String[] args) { 9 | ClaseHija2 claseH2 = new ClaseHija2(); 10 | claseH2.atributoDefault = "Cambio dessde la prueba"; 11 | System.out.println("claseH2 atributo default = " + claseH2.atributoDefault); 12 | 13 | Clase4 clase4 = new Clase4("Publico"); 14 | System.out.println(clase4.getAtributoPrivate()); 15 | clase4.setAtributoPrivate("Cambio"); 16 | System.out.println("clase4 = " + clase4.getAtributoPrivate()); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /JAVA/Leccion06/Interfaces/src/accesodatos/ImplementacionOracle.java: -------------------------------------------------------------------------------- 1 | 2 | package accesodatos; 3 | 4 | public class ImplementacionOracle implements IAccesoDatos { 5 | 6 | @Override 7 | public void insertar() { 8 | System.out.println("Insertar desde Oracle"); 9 | } 10 | 11 | @Override 12 | public void listar() { 13 | System.out.println("Listar desde Oracle"); 14 | } 15 | 16 | @Override 17 | public void actualizar() { 18 | System.out.println("Actualizar desde Oracle"); 19 | } 20 | 21 | @Override 22 | public void eliminar() { 23 | System.out.println("Eliminar desde Oracle"); 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /PYTHON/Archivos/Leccion02/manejo_archivos.py: -------------------------------------------------------------------------------- 1 | # Declaramos una variable 2 | try: 3 | archivo = open("prueba.txt", "w") # La "W" es de Write, que significa "Escribir" 4 | archivo.write("Programamos con diferentes tipos de archivos, ahora en txt.\n") 5 | archivo.write("Con esto terminamos") 6 | archivo.write('las letras son: \nr read leer, \na append anexa, \nw write escribir,\nx excepcion crea un archivo') 7 | archivo.write('\nt esta es para texto o text, \nb archivos binarios, \nw+ lee y escribe son iguales a r+\n') 8 | except Exception as e: 9 | print(e); 10 | finally: # Siempre se ejecuta 11 | archivo.close() # Con esto se debe cerrar el archivo 12 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pkg_resources/_vendor/packaging/__init__.py: -------------------------------------------------------------------------------- 1 | # This file is dual licensed under the terms of the Apache License, Version 2 | # 2.0, and the BSD License. See the LICENSE file in the root of this repository 3 | # for complete details. 4 | 5 | from .__about__ import ( 6 | __author__, 7 | __copyright__, 8 | __email__, 9 | __license__, 10 | __summary__, 11 | __title__, 12 | __uri__, 13 | __version__, 14 | ) 15 | 16 | __all__ = [ 17 | "__title__", 18 | "__summary__", 19 | "__uri__", 20 | "__version__", 21 | "__author__", 22 | "__email__", 23 | "__license__", 24 | "__copyright__", 25 | ] 26 | -------------------------------------------------------------------------------- /JAVA/Leccion03/ModificadoresAcceso/src/paquete1/Clase1.java: -------------------------------------------------------------------------------- 1 | 2 | package paquete1; 3 | 4 | 5 | public class Clase1 { 6 | public String atributoPublic = "Valor atributo public"; 7 | protected String atributoProtected="valor atributo protected"; 8 | 9 | public Clase1() { 10 | System.out.println("Constructor Publico"); 11 | } 12 | protected Clase1(String atributoPublic){ 13 | System.out.println("Constructor protected"); 14 | } 15 | public void metodoPublico(){ 16 | System.out.println("Método Public"); 17 | } 18 | protected void metodoProtected(){ 19 | System.out.println("Metodo protected"); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /JAVA/Leccion10/Persona.uxf: -------------------------------------------------------------------------------- 1 | 10Space for diagram notesUMLClass1050210330Persona 2 | -- 3 | -id: int 4 | -nombre:String 5 | -tel:String 6 | -email:String 7 | _-numeroPersonas: int_ 8 | -- 9 | +getId() 10 | +setId() 11 | +getNombre() 12 | +setNombre(nombre:String) 13 | +getTel() 14 | +setTel(tel:String) 15 | +getEmail() 16 | +setEmail(email:String) 17 | +toString() 18 | -- 19 | Responsibilities 20 | -- Creacion de objetos del tipo 21 | Persona -------------------------------------------------------------------------------- /JAVA/Leccion12/SistemaEstudiantes/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | !**/src/main/**/target/ 4 | !**/src/test/**/target/ 5 | 6 | ### IntelliJ IDEA ### 7 | .idea/modules.xml 8 | .idea/jarRepositories.xml 9 | .idea/compiler.xml 10 | .idea/libraries/ 11 | *.iws 12 | *.iml 13 | *.ipr 14 | 15 | ### Eclipse ### 16 | .apt_generated 17 | .classpath 18 | .factorypath 19 | .project 20 | .settings 21 | .springBeans 22 | .sts4-cache 23 | 24 | ### NetBeans ### 25 | /nbproject/private/ 26 | /nbbuild/ 27 | /dist/ 28 | /nbdist/ 29 | /.nb-gradle/ 30 | build/ 31 | !**/src/main/**/build/ 32 | !**/src/test/**/build/ 33 | 34 | ### VS Code ### 35 | .vscode/ 36 | 37 | ### Mac OS ### 38 | .DS_Store -------------------------------------------------------------------------------- /JAVASCRIPT/TSLeccion07/Empleado.js: -------------------------------------------------------------------------------- 1 | class Empleado extends Persona{ 2 | 3 | static contadorEmpleados = 0; 4 | 5 | constructor(nombre, apellido, edad, sueldo){ 6 | super(nombre, apellido, edad); 7 | this._idEmpleado = ++Empleado.contadorEmpleados; 8 | this._sueldo = sueldo; 9 | } 10 | 11 | get idEmpleado(){ 12 | return this._idEmpleado; 13 | } 14 | 15 | get sueldo(){ 16 | this._sueldo; 17 | } 18 | 19 | get sueldo(){ 20 | this._sueldo = sueldo; 21 | } 22 | 23 | toString(){ 24 | return ` 25 | ${super.toString()} 26 | ${this._idEmpleado} 27 | ${this._sueldo}`; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/pep517/in_process/__init__.py: -------------------------------------------------------------------------------- 1 | """This is a subpackage because the directory is on sys.path for _in_process.py 2 | 3 | The subpackage should stay as empty as possible to avoid shadowing modules that 4 | the backend might import. 5 | """ 6 | from os.path import dirname, abspath, join as pjoin 7 | from contextlib import contextmanager 8 | 9 | try: 10 | import importlib.resources as resources 11 | 12 | def _in_proc_script_path(): 13 | return resources.path(__package__, '_in_process.py') 14 | except ImportError: 15 | @contextmanager 16 | def _in_proc_script_path(): 17 | yield pjoin(dirname(abspath(__file__)), '_in_process.py') 18 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools/_distutils/__init__.py: -------------------------------------------------------------------------------- 1 | """distutils 2 | 3 | The main package for the Python Module Distribution Utilities. Normally 4 | used from a setup script as 5 | 6 | from distutils.core import setup 7 | 8 | setup (...) 9 | """ 10 | 11 | import sys 12 | import importlib 13 | 14 | __version__ = sys.version[:sys.version.index(' ')] 15 | 16 | 17 | try: 18 | # Allow Debian and pkgsrc (only) to customize system 19 | # behavior. Ref pypa/distutils#2 and pypa/distutils#16. 20 | # This hook is deprecated and no other environments 21 | # should use it. 22 | importlib.import_module('_distutils_system_mod') 23 | except ImportError: 24 | pass 25 | -------------------------------------------------------------------------------- /JAVA/Leccion04/InstanceOf/src/domain/Gerente.java: -------------------------------------------------------------------------------- 1 | package domain; 2 | 3 | 4 | public class Gerente extends Empleado{ 5 | private String departamento; 6 | 7 | public Gerente(String nombre, double sueldo, String departamento) { 8 | super(nombre, sueldo); 9 | this.departamento = departamento; 10 | } 11 | @Override 12 | public String obtenerDetalles(){ 13 | return super.obtenerDetalles() + ", Departamento: "+this.departamento; 14 | } 15 | 16 | public String getDepartamento() { 17 | return departamento; 18 | } 19 | 20 | public void setDepartamento(String departamento) { 21 | this.departamento = departamento; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_internal/__init__.py: -------------------------------------------------------------------------------- 1 | from typing import List, Optional 2 | 3 | import pip._internal.utils.inject_securetransport # noqa 4 | from pip._internal.utils import _log 5 | 6 | # init_logging() must be called before any call to logging.getLogger() 7 | # which happens at import of most modules. 8 | _log.init_logging() 9 | 10 | 11 | def main(args: (Optional[List[str]]) = None) -> int: 12 | """This is preserved for old console scripts that may still be referencing 13 | it. 14 | 15 | For additional details, see https://github.com/pypa/pip/issues/7498. 16 | """ 17 | from pip._internal.utils.entrypoints import _wrapper 18 | 19 | return _wrapper(args) 20 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_internal/vcs/__init__.py: -------------------------------------------------------------------------------- 1 | # Expose a limited set of classes and functions so callers outside of 2 | # the vcs package don't need to import deeper than `pip._internal.vcs`. 3 | # (The test directory may still need to import from a vcs sub-package.) 4 | # Import all vcs modules to register each VCS in the VcsSupport object. 5 | import pip._internal.vcs.bazaar 6 | import pip._internal.vcs.git 7 | import pip._internal.vcs.mercurial 8 | import pip._internal.vcs.subversion # noqa: F401 9 | from pip._internal.vcs.versioncontrol import ( # noqa: F401 10 | RemoteNotFoundError, 11 | RemoteNotValidError, 12 | is_url, 13 | make_vcs_requirement_url, 14 | vcs, 15 | ) 16 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/resolvelib/__init__.py: -------------------------------------------------------------------------------- 1 | __all__ = [ 2 | "__version__", 3 | "AbstractProvider", 4 | "AbstractResolver", 5 | "BaseReporter", 6 | "InconsistentCandidate", 7 | "Resolver", 8 | "RequirementsConflicted", 9 | "ResolutionError", 10 | "ResolutionImpossible", 11 | "ResolutionTooDeep", 12 | ] 13 | 14 | __version__ = "0.8.0" 15 | 16 | 17 | from .providers import AbstractProvider, AbstractResolver 18 | from .reporters import BaseReporter 19 | from .resolvers import ( 20 | InconsistentCandidate, 21 | RequirementsConflicted, 22 | Resolver, 23 | ResolutionError, 24 | ResolutionImpossible, 25 | ResolutionTooDeep, 26 | ) 27 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_internal/resolution/base.py: -------------------------------------------------------------------------------- 1 | from typing import Callable, List, Optional 2 | 3 | from pip._internal.req.req_install import InstallRequirement 4 | from pip._internal.req.req_set import RequirementSet 5 | 6 | InstallRequirementProvider = Callable[ 7 | [str, Optional[InstallRequirement]], InstallRequirement 8 | ] 9 | 10 | 11 | class BaseResolver: 12 | def resolve( 13 | self, root_reqs: List[InstallRequirement], check_supported_wheels: bool 14 | ) -> RequirementSet: 15 | raise NotImplementedError() 16 | 17 | def get_installation_order( 18 | self, req_set: RequirementSet 19 | ) -> List[InstallRequirement]: 20 | raise NotImplementedError() 21 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/pkg_resources/py31compat.py: -------------------------------------------------------------------------------- 1 | import os 2 | import errno 3 | import sys 4 | 5 | from pip._vendor import six 6 | 7 | 8 | def _makedirs_31(path, exist_ok=False): 9 | try: 10 | os.makedirs(path) 11 | except OSError as exc: 12 | if not exist_ok or exc.errno != errno.EEXIST: 13 | raise 14 | 15 | 16 | # rely on compatibility behavior until mode considerations 17 | # and exists_ok considerations are disentangled. 18 | # See https://github.com/pypa/setuptools/pull/1083#issuecomment-315168663 19 | needs_makedirs = ( 20 | six.PY2 or 21 | (3, 4) <= sys.version_info < (3, 4, 1) 22 | ) 23 | makedirs = _makedirs_31 if needs_makedirs else os.makedirs 24 | -------------------------------------------------------------------------------- /JAVA/Leccion04/Sobreescritura/src/test/TestSobreescritura.java: -------------------------------------------------------------------------------- 1 | package test; 2 | 3 | import domain.*; 4 | 5 | 6 | 7 | public class TestSobreescritura { 8 | public static void main(String[] args) { 9 | Empleado empleado1 = new Empleado("Juan", 10000); 10 | imprimir(empleado1); 11 | //System.out.println("empleado1 =" + empleado1.obtenerDetalles()); 12 | empleado1 = new Gerente("Jose", 5000, "Sistemas"); 13 | imprimir(empleado1); 14 | //System.out.println("gerente1 =" + gerente1.obtenerDetalles()); 15 | } 16 | public static void imprimir(Empleado empleado){ 17 | String detalles = empleado.obtenerDetalles(); 18 | System.out.println("detalles = " + detalles); 19 | } 20 | } 21 | 22 | 23 | -------------------------------------------------------------------------------- /JAVA/Leccion05/ClaseObject/src/domain/Gerente.java: -------------------------------------------------------------------------------- 1 | 2 | package domain; 3 | 4 | 5 | public class Gerente extends Empleado{ 6 | private String departamento; 7 | 8 | public Gerente(String nombre, double sueldo, String departamento) { 9 | super(nombre, sueldo); 10 | this.departamento = departamento; 11 | } 12 | @Override 13 | public String obtenerDetalles(){ 14 | return super.obtenerDetalles() + ", Departamento: "+this.departamento; 15 | } 16 | 17 | public String getDepartamento() { 18 | return departamento; 19 | } 20 | 21 | public void setDepartamento(String departamento) { 22 | this.departamento = departamento; 23 | } 24 | 25 | 26 | } 27 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/distlib/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # 3 | # Copyright (C) 2012-2019 Vinay Sajip. 4 | # Licensed to the Python Software Foundation under a contributor agreement. 5 | # See LICENSE.txt and CONTRIBUTORS.txt. 6 | # 7 | import logging 8 | 9 | __version__ = '0.3.3' 10 | 11 | class DistlibException(Exception): 12 | pass 13 | 14 | try: 15 | from logging import NullHandler 16 | except ImportError: # pragma: no cover 17 | class NullHandler(logging.Handler): 18 | def handle(self, record): pass 19 | def emit(self, record): pass 20 | def createLock(self): self.lock = None 21 | 22 | logger = logging.getLogger(__name__) 23 | logger.addHandler(NullHandler()) 24 | -------------------------------------------------------------------------------- /JAVA/Leccion05/ConversionObjetos/src/domain/Gerente.java: -------------------------------------------------------------------------------- 1 | 2 | package domain; 3 | 4 | 5 | public class Gerente extends Empleado{ 6 | private String departamento; 7 | 8 | public Gerente(String nombre, double sueldo, String departamento) { 9 | super(nombre, sueldo); 10 | this.departamento = departamento; 11 | } 12 | @Override 13 | public String obtenerDetalles(){ 14 | return super.obtenerDetalles() + ", Departamento: "+this.departamento; 15 | } 16 | 17 | public String getDepartamento() { 18 | return departamento; 19 | } 20 | 21 | public void setDepartamento(String departamento) { 22 | this.departamento = departamento; 23 | } 24 | 25 | 26 | } 27 | -------------------------------------------------------------------------------- /JAVA/Leccion05/ClasesAbstractas/src/domain/FiguraGeometrica.java: -------------------------------------------------------------------------------- 1 | 2 | package domain; 3 | 4 | 5 | public abstract class FiguraGeometrica { 6 | protected String tipoFigura; 7 | 8 | protected FiguraGeometrica (String tipoFigura){ 9 | this.tipoFigura = tipoFigura; 10 | } 11 | //metodo abstracto 12 | public abstract void dibujar(); 13 | //Agregamos el get y set 14 | public String getTipoFigura() { 15 | return tipoFigura; 16 | } 17 | public void setTipoFigura (String tipoFigura) { 18 | this.tipoFigura = tipoFigura; 19 | } 20 | 21 | @Override 22 | public String toString() { 23 | return "FiguraGeometrica{" + "tipoFigura=" + tipoFigura + "}"; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools/command/launcher manifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /PYTHON/Leccion03/catalogo_peliculas/servicio/catalogo_peliculas.py: -------------------------------------------------------------------------------- 1 | import os 2 | 3 | class CatalogoPeliculas: 4 | 5 | ruta_archivo = 'peliculas.txt' 6 | 7 | @classmethod 8 | def agregar_peliculas(cls, pelicula): 9 | with open(cls.ruta_archivo, 'a', encoding='utf8') as archivo: 10 | archivo.write(f'{pelicula.nombre}\n') 11 | 12 | @classmethod 13 | def listar_peliculas(cls): 14 | with open(cls.ruta_archivo, 'r', encoding='utf8') as archivo: 15 | print(f'Catalogo de peliculas'.center(50, '-')) 16 | print(archivo.read()) 17 | 18 | 19 | @classmethod 20 | def eliminar_peliculas(cls): 21 | os.remove(cls.ruta_archivo) 22 | print(f'Archivo eliminado: {cls.ruta_archivo}') -------------------------------------------------------------------------------- /PYTHON/Leccion04/BD/actualizar_registro.py: -------------------------------------------------------------------------------- 1 | import psycopg2 # Esto es para poder conectarnos a Postgre 2 | 3 | conexion = psycopg2.connect(user='postgres', password='admin', host='127.0.0.1', port='5432', database='test_bd') 4 | try: 5 | with conexion: 6 | with conexion.cursor() as cursor: 7 | sentencia = 'UPDATE persona SET nombre=%s, apellido=%s, email=%s WHERE id_persona=%s' 8 | valores = ('Juan Carlos', 'Roldan', 'rcarlos@mail.com', 1) 9 | cursor.execute(sentencia, valores) 10 | registros_actualizados = cursor.rowcount 11 | print(f'Los registros actualizados son: {registros_actualizados}') 12 | 13 | except Exception as e: 14 | print(f'Ocurrio un error {e}') 15 | finally: 16 | conexion.close() -------------------------------------------------------------------------------- /PYTHON/Leccion07/capa_datos_persona/logger_base.py: -------------------------------------------------------------------------------- 1 | import logging as log 2 | 3 | 4 | #docs.python.org/3/howto/logging.html 5 | log.basicConfig(level=log.DEBUG, 6 | format='%(asctime)s:%(levelname)s[%(filename)s:%(lineno)s] %(message)s', 7 | datefmt='%I:%M:%S %p', 8 | handlers=[ 9 | log.FileHandler('capa_datos.log'), 10 | log.StreamHandler() 11 | ]) 12 | 13 | 14 | # Llamamos una configuracion basica 15 | if __name__ == "__main__": 16 | log.basicConfig(level=log.DEBUG) 17 | log.debug("Mensaje a nivel debug") 18 | log.info("Mensaje a nivel info") 19 | log.warning("Mensaje a nivel warning") 20 | log.error("Mensaje a nivel error") 21 | log.critical("Mensaje a nivel critical") -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools/command/saveopts.py: -------------------------------------------------------------------------------- 1 | from setuptools.command.setopt import edit_config, option_base 2 | 3 | 4 | class saveopts(option_base): 5 | """Save command-line options to a file""" 6 | 7 | description = "save supplied options to setup.cfg or other config file" 8 | 9 | def run(self): 10 | dist = self.distribution 11 | settings = {} 12 | 13 | for cmd in dist.command_options: 14 | 15 | if cmd == 'saveopts': 16 | continue # don't save our own options! 17 | 18 | for opt, (src, val) in dist.get_option_dict(cmd).items(): 19 | if src == "command line": 20 | settings.setdefault(cmd, {})[opt] = val 21 | 22 | edit_config(self.filename, settings, self.dry_run) 23 | -------------------------------------------------------------------------------- /JAVA/Leccion02/Enumeraciones/src/enumeraciones/Continentes.java: -------------------------------------------------------------------------------- 1 | package enumeraciones; 2 | 3 | public enum Continentes { 4 | AFRICA(53,"1.2 billones"), 5 | EUROPA(46,"1.1 billones"), 6 | ASIA(44,"1.9 billones"), 7 | AMERICA(34,"150.2 billones"), 8 | OCEANIA(14,"1.2 billones"); 9 | 10 | private final int paises; 11 | private String habitantes; 12 | 13 | Continentes(int paises, String habitantes){ 14 | this.paises = paises; 15 | this.habitantes=habitantes; 16 | } 17 | //metodo get,para recuperar valores encapsulados 18 | public int getPaises(){ 19 | return this.paises; 20 | } 21 | public String getHabitantes(){ 22 | return this.habitantes; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/requests/packages.py: -------------------------------------------------------------------------------- 1 | import sys 2 | 3 | # This code exists for backwards compatibility reasons. 4 | # I don't like it either. Just look the other way. :) 5 | 6 | for package in ('urllib3', 'idna', 'chardet'): 7 | vendored_package = "pip._vendor." + package 8 | locals()[package] = __import__(vendored_package) 9 | # This traversal is apparently necessary such that the identities are 10 | # preserved (requests.packages.urllib3.* is urllib3.*) 11 | for mod in list(sys.modules): 12 | if mod == vendored_package or mod.startswith(vendored_package + '.'): 13 | unprefixed_mod = mod[len("pip._vendor."):] 14 | sys.modules['pip._vendor.requests.packages.' + unprefixed_mod] = sys.modules[mod] 15 | 16 | # Kinda cool, though, right? 17 | -------------------------------------------------------------------------------- /PYTHON/Leccion04/BD/transacciones.py: -------------------------------------------------------------------------------- 1 | import psycopg2 as bd # Esto es para poder conectarnos a Postgre 2 | 3 | conexion = bd.connect( 4 | user='postgres', 5 | password='admin', 6 | host='127.0.0.1', 7 | port='5432', 8 | database='test_bd' 9 | ) 10 | try: 11 | # conexion.autocommit = False # Esto directamente no deberia estar 12 | cursor = conexion.cursor() 13 | sentencia = "INSERT INTO persona(nombre, apellido, email)VALUES(%s, %s, %s)" 14 | valores = ("Marcos", "Rojo", "rojomar@gmail.com") 15 | cursor.execute(sentencia, valores) 16 | conexion.commit() # Hacemos el commit manualmente 17 | print("Termina la transaccion") 18 | except Exception as e: 19 | conexion.rollback() 20 | print(f"Ocurrió un error, se hizo un rollback: {e}") 21 | finally: 22 | conexion.close() -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/wheel/cli/unpack.py: -------------------------------------------------------------------------------- 1 | from __future__ import print_function 2 | 3 | import os.path 4 | import sys 5 | 6 | from ..wheelfile import WheelFile 7 | 8 | 9 | def unpack(path, dest='.'): 10 | """Unpack a wheel. 11 | 12 | Wheel content will be unpacked to {dest}/{name}-{ver}, where {name} 13 | is the package name and {ver} its version. 14 | 15 | :param path: The path to the wheel. 16 | :param dest: Destination directory (default to current directory). 17 | """ 18 | with WheelFile(path) as wf: 19 | namever = wf.parsed_filename.group('namever') 20 | destination = os.path.join(dest, namever) 21 | print("Unpacking to: {}...".format(destination), end='') 22 | sys.stdout.flush() 23 | wf.extractall(destination) 24 | 25 | print('OK') 26 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/packaging/__about__.py: -------------------------------------------------------------------------------- 1 | # This file is dual licensed under the terms of the Apache License, Version 2 | # 2.0, and the BSD License. See the LICENSE file in the root of this repository 3 | # for complete details. 4 | 5 | __all__ = [ 6 | "__title__", 7 | "__summary__", 8 | "__uri__", 9 | "__version__", 10 | "__author__", 11 | "__email__", 12 | "__license__", 13 | "__copyright__", 14 | ] 15 | 16 | __title__ = "packaging" 17 | __summary__ = "Core utilities for Python packages" 18 | __uri__ = "https://github.com/pypa/packaging" 19 | 20 | __version__ = "21.0" 21 | 22 | __author__ = "Donald Stufft and individual contributors" 23 | __email__ = "donald@stufft.io" 24 | 25 | __license__ = "BSD-2-Clause or Apache-2.0" 26 | __copyright__ = "2014-2019 %s" % __author__ 27 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools/_vendor/packaging/__about__.py: -------------------------------------------------------------------------------- 1 | # This file is dual licensed under the terms of the Apache License, Version 2 | # 2.0, and the BSD License. See the LICENSE file in the root of this repository 3 | # for complete details. 4 | 5 | __all__ = [ 6 | "__title__", 7 | "__summary__", 8 | "__uri__", 9 | "__version__", 10 | "__author__", 11 | "__email__", 12 | "__license__", 13 | "__copyright__", 14 | ] 15 | 16 | __title__ = "packaging" 17 | __summary__ = "Core utilities for Python packages" 18 | __uri__ = "https://github.com/pypa/packaging" 19 | 20 | __version__ = "21.2" 21 | 22 | __author__ = "Donald Stufft and individual contributors" 23 | __email__ = "donald@stufft.io" 24 | 25 | __license__ = "BSD-2-Clause or Apache-2.0" 26 | __copyright__ = "2014-2019 %s" % __author__ 27 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pkg_resources/_vendor/packaging/__about__.py: -------------------------------------------------------------------------------- 1 | # This file is dual licensed under the terms of the Apache License, Version 2 | # 2.0, and the BSD License. See the LICENSE file in the root of this repository 3 | # for complete details. 4 | 5 | __all__ = [ 6 | "__title__", 7 | "__summary__", 8 | "__uri__", 9 | "__version__", 10 | "__author__", 11 | "__email__", 12 | "__license__", 13 | "__copyright__", 14 | ] 15 | 16 | __title__ = "packaging" 17 | __summary__ = "Core utilities for Python packages" 18 | __uri__ = "https://github.com/pypa/packaging" 19 | 20 | __version__ = "21.2" 21 | 22 | __author__ = "Donald Stufft and individual contributors" 23 | __email__ = "donald@stufft.io" 24 | 25 | __license__ = "BSD-2-Clause or Apache-2.0" 26 | __copyright__ = "2014-2019 %s" % __author__ 27 | -------------------------------------------------------------------------------- /JAVA/Leccion04/InstanceOf/src/domain/Empleado.java: -------------------------------------------------------------------------------- 1 | 2 | package domain; 3 | 4 | public class Empleado { 5 | protected String nombre; 6 | protected double sueldo; 7 | 8 | public Empleado(String nombre, double sueldo){ 9 | this.nombre = nombre; 10 | this.sueldo = sueldo; 11 | } 12 | 13 | //Método para la sobreescritura 14 | public String obtenerDetalles(){ 15 | return "Nombre: "+this.nombre+", Sueldo: "+this.sueldo; 16 | } 17 | 18 | public String getNombre() { 19 | return nombre; 20 | } 21 | 22 | public void setNombre(String nombre) { 23 | this.nombre = nombre; 24 | } 25 | 26 | public double getSueldo() { 27 | return sueldo; 28 | } 29 | 30 | public void setSueldo(double sueldo) { 31 | this.sueldo = sueldo; 32 | } 33 | 34 | } -------------------------------------------------------------------------------- /JAVA/Leccion04/Sobreescritura/src/domain/Empleado.java: -------------------------------------------------------------------------------- 1 | 2 | package domain; 3 | 4 | public class Empleado { 5 | protected String nombre; 6 | protected double sueldo; 7 | 8 | public Empleado(String nombre, double sueldo){ 9 | this.nombre = nombre; 10 | this.sueldo = sueldo; 11 | } 12 | 13 | //Método para la sobreescritura 14 | public String obtenerDetalles(){ 15 | return "Nombre: "+this.nombre+", Sueldo: "+this.sueldo; 16 | } 17 | 18 | public String getNombre() { 19 | return nombre; 20 | } 21 | 22 | public void setNombre(String nombre) { 23 | this.nombre = nombre; 24 | } 25 | 26 | public double getSueldo() { 27 | return sueldo; 28 | } 29 | 30 | public void setSueldo(double sueldo) { 31 | this.sueldo = sueldo; 32 | } 33 | 34 | } -------------------------------------------------------------------------------- /JAVA/Leccion05/ClaseObject/src/domain/Escritor.java: -------------------------------------------------------------------------------- 1 | 2 | package domain; 3 | 4 | 5 | public class Escritor extends Empleado{ 6 | final TipoEscritura tipoEscritura; 7 | 8 | public Escritor(String nombre, double sueldo, TipoEscritura tipoEscritura){ 9 | super(nombre,sueldo); 10 | this.tipoEscritura = tipoEscritura; 11 | } 12 | 13 | //Metodo para sobreescribir 14 | @Override 15 | public String obtenerDetalles(){ 16 | return super.obtenerDetalles()+", Tipo Escritura: "+tipoEscritura.getDescripcion(); 17 | } 18 | 19 | @Override 20 | public String toString() { 21 | return "Escritor{" + "tipoEscritura=" + tipoEscritura + '}'+" "+super.toString(); 22 | } 23 | 24 | public TipoEscritura getTipoEscritura() { 25 | return this.tipoEscritura; 26 | } 27 | 28 | 29 | } 30 | -------------------------------------------------------------------------------- /PYTHON/Leccion04/BD/prueba_bd.py: -------------------------------------------------------------------------------- 1 | import psycopg2 # Esto es para poder conectarnos a Postgresql 2 | 3 | conexion = psycopg2.connect(user='postgres', password='admin', host='127.0.0.1', port='5432', database='test_bd') 4 | 5 | try: 6 | with conexion: 7 | with conexion.cursor() as cursor: 8 | sentencia = 'SELECT * FROM persona WHERE id_persona = %s' # PlaceHolder 9 | id_persona = input('Digite un número para el id_persona: ') 10 | cursor.execute(sentencia, (id_persona,)) # De esta manera ejecutamos la sentencia 11 | registros = cursor.fetchone() # Este metodo permite recuperar todos los registros de la sentencia 12 | print(registros) 13 | except Exception as e: 14 | print(f'Ocurrio un error {e}') 15 | finally: 16 | conexion.close() 17 | 18 | # https://www.psycopg.org/docs/usage.html 19 | -------------------------------------------------------------------------------- /JAVA/Leccion05/ConversionObjetos/src/domain/Escritor.java: -------------------------------------------------------------------------------- 1 | 2 | package domain; 3 | 4 | 5 | public class Escritor extends Empleado{ 6 | final TipoEscritura tipoEscritura; 7 | 8 | public Escritor(String nombre, double sueldo, TipoEscritura tipoEscritura){ 9 | super(nombre,sueldo); 10 | this.tipoEscritura = tipoEscritura; 11 | } 12 | 13 | //Metodo para sobreescribir 14 | @Override 15 | public String obtenerDetalles(){ 16 | return super.obtenerDetalles()+", Tipo Escritura: "+tipoEscritura.getDescripcion(); 17 | } 18 | 19 | @Override 20 | public String toString() { 21 | return "Escritor{" + "tipoEscritura=" + tipoEscritura + '}'+" "+super.toString(); 22 | } 23 | 24 | public TipoEscritura getTipoEscritura() { 25 | return this.tipoEscritura; 26 | } 27 | 28 | 29 | } 30 | -------------------------------------------------------------------------------- /JAVASCRIPT/TSLeccion07/Cliente.js: -------------------------------------------------------------------------------- 1 | class Cliente extends Persona{ 2 | static contadorClientes = 0; 3 | 4 | constructor(nombre, apellido, edad, fecharegistro){ 5 | super(nombre, apellido, edad); 6 | this._idCliente = ++Cliente.contadorClientes; 7 | this._fechaRegistro = fecharegistro; 8 | 9 | } 10 | get idCliente(){ 11 | return this._idCliente; 12 | } 13 | get fecharegistro(){ 14 | return this._fechaRegistro; 15 | } 16 | 17 | set fecharegistro(fecharegistro){ 18 | this._fechaRegistro = fecharegistro; 19 | } 20 | toString(){ 21 | return ` 22 | ${super.toString()} 23 | ${this._idCliente} 24 | ${this._fechaRegistro}`; 25 | } 26 | } 27 | 28 | cliente1 = new Cliente("Natalia","Gutierrez",35, new Date()); 29 | console.log(cliente1); 30 | 31 | -------------------------------------------------------------------------------- /JAVA/Leccion01/MundoPC/MundoPC/src/ar/com/system2023/mundopc/TestOrden.java: -------------------------------------------------------------------------------- 1 | package ar.com.system2023.mundopc; 2 | 3 | 4 | public class TestOrden { 5 | public static void main(String[] args) { 6 | 7 | Monitor monitor1 = new Monitor("LG","15 pulgadas"); 8 | Raton raton1 = new Raton("GENIUS","USBC"); 9 | Teclado teclado1= new Teclado("Genius","USBC"); 10 | Computadora computadora1= new Computadora("HP",monitor1,teclado1,raton1); 11 | Orden orden1= new Orden(); 12 | 13 | Monitor monitor2 = new Monitor("HP Super","20 pulgadas"); 14 | Raton raton2 = new Raton("GENIUS Super","USBA"); 15 | Teclado teclado2= new Teclado("Genius Super","USBA"); 16 | Computadora computadora2= new Computadora("HP Super",monitor2,teclado2,raton2); 17 | 18 | orden1.agregarComputadora(computadora1); 19 | orden1.agregarComputadora(computadora2); 20 | 21 | 22 | orden1.mostrarOrden(); 23 | } 24 | } -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools/_distutils/command/py37compat.py: -------------------------------------------------------------------------------- 1 | import sys 2 | 3 | 4 | def _pythonlib_compat(): 5 | """ 6 | On Python 3.7 and earlier, distutils would include the Python 7 | library. See pypa/distutils#9. 8 | """ 9 | from distutils import sysconfig 10 | if not sysconfig.get_config_var('Py_ENABLED_SHARED'): 11 | return 12 | 13 | yield 'python{}.{}{}'.format( 14 | sys.hexversion >> 24, 15 | (sys.hexversion >> 16) & 0xff, 16 | sysconfig.get_config_var('ABIFLAGS'), 17 | ) 18 | 19 | 20 | def compose(f1, f2): 21 | return lambda *args, **kwargs: f1(f2(*args, **kwargs)) 22 | 23 | 24 | pythonlib = ( 25 | compose(list, _pythonlib_compat) 26 | if sys.version_info < (3, 8) 27 | and sys.platform != 'darwin' 28 | and sys.platform[:3] != 'aix' 29 | else list 30 | ) 31 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/cachecontrol/wrapper.py: -------------------------------------------------------------------------------- 1 | from .adapter import CacheControlAdapter 2 | from .cache import DictCache 3 | 4 | 5 | def CacheControl( 6 | sess, 7 | cache=None, 8 | cache_etags=True, 9 | serializer=None, 10 | heuristic=None, 11 | controller_class=None, 12 | adapter_class=None, 13 | cacheable_methods=None, 14 | ): 15 | 16 | cache = DictCache() if cache is None else cache 17 | adapter_class = adapter_class or CacheControlAdapter 18 | adapter = adapter_class( 19 | cache, 20 | cache_etags=cache_etags, 21 | serializer=serializer, 22 | heuristic=heuristic, 23 | controller_class=controller_class, 24 | cacheable_methods=cacheable_methods, 25 | ) 26 | sess.mount("http://", adapter) 27 | sess.mount("https://", adapter) 28 | 29 | return sess 30 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/cachecontrol/compat.py: -------------------------------------------------------------------------------- 1 | try: 2 | from urllib.parse import urljoin 3 | except ImportError: 4 | from urlparse import urljoin 5 | 6 | 7 | try: 8 | import cPickle as pickle 9 | except ImportError: 10 | import pickle 11 | 12 | 13 | # Handle the case where the requests module has been patched to not have 14 | # urllib3 bundled as part of its source. 15 | try: 16 | from pip._vendor.requests.packages.urllib3.response import HTTPResponse 17 | except ImportError: 18 | from pip._vendor.urllib3.response import HTTPResponse 19 | 20 | try: 21 | from pip._vendor.requests.packages.urllib3.util import is_fp_closed 22 | except ImportError: 23 | from pip._vendor.urllib3.util import is_fp_closed 24 | 25 | # Replicate some six behaviour 26 | try: 27 | text_type = unicode 28 | except NameError: 29 | text_type = str 30 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/html5lib/treeadapters/__init__.py: -------------------------------------------------------------------------------- 1 | """Tree adapters let you convert from one tree structure to another 2 | 3 | Example: 4 | 5 | .. code-block:: python 6 | 7 | from pip._vendor import html5lib 8 | from pip._vendor.html5lib.treeadapters import genshi 9 | 10 | doc = 'Hi!' 11 | treebuilder = html5lib.getTreeBuilder('etree') 12 | parser = html5lib.HTMLParser(tree=treebuilder) 13 | tree = parser.parse(doc) 14 | TreeWalker = html5lib.getTreeWalker('etree') 15 | 16 | genshi_tree = genshi.to_genshi(TreeWalker(tree)) 17 | 18 | """ 19 | from __future__ import absolute_import, division, unicode_literals 20 | 21 | from . import sax 22 | 23 | __all__ = ["sax"] 24 | 25 | try: 26 | from . import genshi # noqa 27 | except ImportError: 28 | pass 29 | else: 30 | __all__.append("genshi") 31 | -------------------------------------------------------------------------------- /JAVA/Leccion03/ModificadoresAcceso/src/paquete2/Clase4.java: -------------------------------------------------------------------------------- 1 | 2 | package paquete2; 3 | 4 | public class Clase4 { 5 | private String atributoPrivate = "atributo Privado"; 6 | 7 | private Clase4(){ 8 | System.out.println("Constructor privado"); 9 | } 10 | 11 | //Creamos un constructor public para poder crear objetos 12 | public Clase4(String argumento){ //Aquí se puede llamar al constructor vacío 13 | this(); 14 | System.out.println("Constructor publico"); 15 | } 16 | 17 | //Método private 18 | private void metodoPrivado(){ 19 | System.out.println("Método privado"); 20 | } 21 | 22 | public String getAtributoPrivate() { 23 | return atributoPrivate; 24 | } 25 | 26 | public void setAtributoPrivate(String atributoPrivate) { 27 | this.atributoPrivate = atributoPrivate; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/manejo_excepciones.py: -------------------------------------------------------------------------------- 1 | from NumerosIgualesException import NumerosIgualesException 2 | resultado = None 3 | try: 4 | a = int(input('Digite el primero numero: ')) 5 | b = int(input('Digite el segundo numero: ')) 6 | if a == b: 7 | raise NumerosIgualesException('Son iguales') 8 | resultado = a / b # modificamos 9 | except TypeError as e: 10 | print(f'TypeError - Ocurrio un error: {type(e)}') 11 | except ZeroDivisionError as e: 12 | print(f'ZeroDivision - Ocurrio un error: {type(e)}') 13 | except Exception as e: 14 | print(f'Exception - Ocurrio un error: {type(e)}') 15 | else: 16 | print('No se arrojo ninguna excepcion') # es opcional se ejecuta cuando no hay excepciones 17 | finally: 18 | print('Ejecucion de este bloque finally') # siempre se va a ejecutar 19 | 20 | print(f'El resultado es: {resultado}') 21 | print('seguimos...') 22 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_internal/utils/filetypes.py: -------------------------------------------------------------------------------- 1 | """Filetype information. 2 | """ 3 | 4 | from typing import Tuple 5 | 6 | from pip._internal.utils.misc import splitext 7 | 8 | WHEEL_EXTENSION = ".whl" 9 | BZ2_EXTENSIONS: Tuple[str, ...] = (".tar.bz2", ".tbz") 10 | XZ_EXTENSIONS: Tuple[str, ...] = ( 11 | ".tar.xz", 12 | ".txz", 13 | ".tlz", 14 | ".tar.lz", 15 | ".tar.lzma", 16 | ) 17 | ZIP_EXTENSIONS: Tuple[str, ...] = (".zip", WHEEL_EXTENSION) 18 | TAR_EXTENSIONS: Tuple[str, ...] = (".tar.gz", ".tgz", ".tar") 19 | ARCHIVE_EXTENSIONS = ZIP_EXTENSIONS + BZ2_EXTENSIONS + TAR_EXTENSIONS + XZ_EXTENSIONS 20 | 21 | 22 | def is_archive_file(name: str) -> bool: 23 | """Return True if `name` is a considered as an archive file.""" 24 | ext = splitext(name)[1].lower() 25 | if ext in ARCHIVE_EXTENSIONS: 26 | return True 27 | return False 28 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools/windows_support.py: -------------------------------------------------------------------------------- 1 | import platform 2 | import ctypes 3 | 4 | 5 | def windows_only(func): 6 | if platform.system() != 'Windows': 7 | return lambda *args, **kwargs: None 8 | return func 9 | 10 | 11 | @windows_only 12 | def hide_file(path): 13 | """ 14 | Set the hidden attribute on a file or directory. 15 | 16 | From http://stackoverflow.com/questions/19622133/ 17 | 18 | `path` must be text. 19 | """ 20 | __import__('ctypes.wintypes') 21 | SetFileAttributes = ctypes.windll.kernel32.SetFileAttributesW 22 | SetFileAttributes.argtypes = ctypes.wintypes.LPWSTR, ctypes.wintypes.DWORD 23 | SetFileAttributes.restype = ctypes.wintypes.BOOL 24 | 25 | FILE_ATTRIBUTE_HIDDEN = 0x02 26 | 27 | ret = SetFileAttributes(path, FILE_ATTRIBUTE_HIDDEN) 28 | if not ret: 29 | raise ctypes.WinError() 30 | -------------------------------------------------------------------------------- /PYTHON/Leccion04/BD/delete_registro.py: -------------------------------------------------------------------------------- 1 | import psycopg2 # Esto es para poder conectarnos a Postgre 2 | 3 | conexion = psycopg2.connect( 4 | user = 'postgres', 5 | password = 'admin', 6 | host = '127.0.0.1', 7 | port = '5432', 8 | database = 'test_bd' 9 | ) 10 | 11 | try: 12 | with conexion: 13 | with conexion.cursor() as cursor: 14 | sentencia ='DELETE FROM persona WHERE id_persona=%s' 15 | entrada = input('Digite el número de registro a eliminar: ') 16 | valores = (entrada,) # Es una tupla de valores 17 | cursor.execute(sentencia, valores) #De esta manera ejecutamos la sentencia 18 | registros_eliminados = cursor.rowcount 19 | print(f'Los registros eliminados son: {registros_eliminados}') 20 | 21 | except Exception as e: 22 | print(f'Ocurrio un error: {e}') 23 | finally: 24 | conexion.close() -------------------------------------------------------------------------------- /JAVA/Leccion02/ArgumentosVariables/src/test/TestArgumentosVariables.java: -------------------------------------------------------------------------------- 1 | package test; 2 | 3 | public class TestArgumentosVariables { 4 | public static void main(String[] args) { 5 | imprimirNumeros(3,4,5); 6 | imprimirNumeros(1,2); 7 | variosParametros("Juan","Perez",7,8,9); 8 | } 9 | //si tenemos varios parametros, el parametro variable ponemos al final 10 | private static void variosParametros(String nombre,String apellido, int ...numeros){ 11 | System.out.println("Nombre: "+nombre+", Apellido: "+apellido); 12 | imprimirNumeros(numeros); 13 | } 14 | //internamente se trata como un arreglo 15 | //numeros es un arreglo 16 | private static void imprimirNumeros(int ...numeros){ 17 | for(int i = 0; i< numeros.length;i++){ 18 | System.out.println("Elementos: "+numeros[i]); 19 | } 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /PYTHON/Leccion04/BD/v_registros.py: -------------------------------------------------------------------------------- 1 | import psycopg2 # Esto es para poder conectarnos a Postgresql 2 | 3 | conexion = psycopg2.connect(user='postgres', password='admin', host='127.0.0.1', port='5432', database='test_bd') 4 | 5 | try: 6 | with conexion: 7 | with conexion.cursor() as cursor: 8 | sentencia = 'SELECT * FROM persona WHERE id_persona IN %s' # PlaceHolder 9 | entrada = input('Digite los id_persona a buscar(separados por coma):') 10 | llaves_primarias = (tuple(entrada.split(',')),) 11 | cursor.execute(sentencia,llaves_primarias) # De esta manera ejecutamos la sentencia 12 | registros = cursor.fetchall() 13 | for registro in registros: 14 | print(registro) 15 | except Exception as e: 16 | print(f'Ocurrio un error {e}') 17 | finally: 18 | conexion.close() 19 | 20 | # https://www.psycopg.org/docs/usage.html -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_internal/distributions/installed.py: -------------------------------------------------------------------------------- 1 | from pip._internal.distributions.base import AbstractDistribution 2 | from pip._internal.index.package_finder import PackageFinder 3 | from pip._internal.metadata import BaseDistribution 4 | 5 | 6 | class InstalledDistribution(AbstractDistribution): 7 | """Represents an installed package. 8 | 9 | This does not need any preparation as the required information has already 10 | been computed. 11 | """ 12 | 13 | def get_metadata_distribution(self) -> BaseDistribution: 14 | from pip._internal.metadata.pkg_resources import Distribution as _Dist 15 | 16 | assert self.req.satisfied_by is not None, "not actually installed" 17 | return _Dist(self.req.satisfied_by) 18 | 19 | def prepare_distribution_metadata( 20 | self, finder: PackageFinder, build_isolation: bool 21 | ) -> None: 22 | pass 23 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_internal/models/scheme.py: -------------------------------------------------------------------------------- 1 | """ 2 | For types associated with installation schemes. 3 | 4 | For a general overview of available schemes and their context, see 5 | https://docs.python.org/3/install/index.html#alternate-installation. 6 | """ 7 | 8 | 9 | SCHEME_KEYS = ["platlib", "purelib", "headers", "scripts", "data"] 10 | 11 | 12 | class Scheme: 13 | """A Scheme holds paths which are used as the base directories for 14 | artifacts associated with a Python package. 15 | """ 16 | 17 | __slots__ = SCHEME_KEYS 18 | 19 | def __init__( 20 | self, 21 | platlib: str, 22 | purelib: str, 23 | headers: str, 24 | scripts: str, 25 | data: str, 26 | ) -> None: 27 | self.platlib = platlib 28 | self.purelib = purelib 29 | self.headers = headers 30 | self.scripts = scripts 31 | self.data = data 32 | -------------------------------------------------------------------------------- /PYTHON/Leccion04/BD/delete_varios_registros.py: -------------------------------------------------------------------------------- 1 | import psycopg2 # Esto es para poder conectarnos a Postgre 2 | 3 | conexion = psycopg2.connect( 4 | user='postgres', 5 | password='admin', 6 | host='127.0.0.1', 7 | port='5432', 8 | database='test_bd' 9 | ) 10 | try: 11 | with conexion: 12 | with conexion.cursor() as cursor: 13 | sentencia = "DELETE FROM persona WHERE id_persona IN %s" 14 | entrada = input("Digite los numeros de registros a eliminar (separados por coma): ") 15 | valores = (tuple(entrada.split(",")),) # Tupla de tuplas 16 | cursor.execute(sentencia, valores) # De esta manera ejecutamos la sentencia 17 | registros_eliminados = cursor.rowcount 18 | print(f"Los registros eliminados son: {registros_eliminados}") 19 | 20 | except Exception as e: 21 | print(f"Ocurrió un error: {e}") 22 | finally: 23 | conexion.close() -------------------------------------------------------------------------------- /JAVA/Leccion05/ConversionObjetos/src/test/TestConversionObjetos.java: -------------------------------------------------------------------------------- 1 | 2 | package test; 3 | 4 | import domain.*; 5 | 6 | 7 | public class TestConversionObjetos { 8 | public static void main(String[] args) { 9 | Empleado empleado; 10 | empleado = new Escritor("Juan", 5000, TipoEscritura.CLASICO); 11 | //System.out.println("empleado ="+empleado); 12 | System.out.println(empleado.obtenerDetalles()); //Si queremos acceder a emtodos Escritor 13 | //empleado.getTipoEscritura(); No se puede hacer 14 | //Downcasting 15 | //((Escritor)empleado).getTipoEscritura();//Tenemos 2 opciones: Esta es una 16 | Escritor escritor = (Escritor)empleado; //Esta es la segunda opcion 17 | escritor.getTipoEscritura(); 18 | 19 | //Upcasting 20 | Empleado empleado2 = escritor; 21 | System.out.println(empleado2.obtenerDetalles()); 22 | } 23 | } 24 | 25 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_internal/cli/command_context.py: -------------------------------------------------------------------------------- 1 | from contextlib import ExitStack, contextmanager 2 | from typing import ContextManager, Iterator, TypeVar 3 | 4 | _T = TypeVar("_T", covariant=True) 5 | 6 | 7 | class CommandContextMixIn: 8 | def __init__(self) -> None: 9 | super().__init__() 10 | self._in_main_context = False 11 | self._main_context = ExitStack() 12 | 13 | @contextmanager 14 | def main_context(self) -> Iterator[None]: 15 | assert not self._in_main_context 16 | 17 | self._in_main_context = True 18 | try: 19 | with self._main_context: 20 | yield 21 | finally: 22 | self._in_main_context = False 23 | 24 | def enter_context(self, context_provider: ContextManager[_T]) -> _T: 25 | assert self._in_main_context 26 | 27 | return self._main_context.enter_context(context_provider) 28 | -------------------------------------------------------------------------------- /PYTHON/Leccion04/BD/actualizar_varios_reg.py: -------------------------------------------------------------------------------- 1 | import psycopg2 # Esto es para poder conectarnos a Postgresql 2 | 3 | conexion = psycopg2.connect(user='postgres', password='admin', host='127.0.0.1', port='5432', database='test_bd') 4 | try: 5 | with conexion: 6 | with conexion.cursor() as cursor: 7 | sentencia = 'UPDATE persona SET nombre=%s, apellido=%s, email=%s WHERE id_persona=%s' 8 | valores = ( 9 | ('Juan', 'Perez', 'jperez@mail.com', 4), 10 | ('Romina', 'Ayala', 'ayala@mail.com', 5) 11 | ) # Es una tupla de tuplas 12 | cursor.executemany(sentencia, valores) # De esta manera ejecutamos la sentencia 13 | registros_actualizados = cursor.rowcount 14 | print(f'Los registros actualizados son: {registros_actualizados}') 15 | 16 | except Exception as e: 17 | print(f'Ocurrio un error {e}') 18 | finally: 19 | conexion.close() 20 | -------------------------------------------------------------------------------- /PYTHON/Leccion04/BD/i_registros.py: -------------------------------------------------------------------------------- 1 | import psycopg2 # Esto es para poder conectarnos a Postgresql 2 | 3 | conexion = psycopg2.connect(user='postgres', password='admin', host='127.0.0.1', port='5432', database='test_bd') 4 | try: 5 | with conexion: 6 | with conexion.cursor() as cursor: 7 | sentencia = 'INSERT INTO persona (nombre, apellido, email) VALUES (%s, %s, %s)' 8 | valores = ('Carlos', 'Lara', 'clara@gmail.com') # esto es una tupla 9 | cursor.execute(sentencia, valores) # De esta manera ejecutamos la sentencia 10 | # conexion.commit() esto se utiliza para guardar los cambio en la base de datos 11 | registros_insertados = cursor.rowcount 12 | print (f'Los registros insertados son:{registros_insertados}') 13 | 14 | except Exception as e: 15 | print(f'Ocurrio un error {e}') 16 | finally: 17 | conexion.close() 18 | 19 | # https://www.psycopg.org/docs/usage.html -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/requests/hooks.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | """ 4 | requests.hooks 5 | ~~~~~~~~~~~~~~ 6 | 7 | This module provides the capabilities for the Requests hooks system. 8 | 9 | Available hooks: 10 | 11 | ``response``: 12 | The response generated from a Request. 13 | """ 14 | HOOKS = ['response'] 15 | 16 | 17 | def default_hooks(): 18 | return {event: [] for event in HOOKS} 19 | 20 | # TODO: response is the only one 21 | 22 | 23 | def dispatch_hook(key, hooks, hook_data, **kwargs): 24 | """Dispatches a hook dictionary on a given piece of data.""" 25 | hooks = hooks or {} 26 | hooks = hooks.get(key) 27 | if hooks: 28 | if hasattr(hooks, '__call__'): 29 | hooks = [hooks] 30 | for hook in hooks: 31 | _hook_data = hook(hook_data, **kwargs) 32 | if _hook_data is not None: 33 | hook_data = _hook_data 34 | return hook_data 35 | -------------------------------------------------------------------------------- /PYTHON/Leccion04/BD/transsacciones_tres.py: -------------------------------------------------------------------------------- 1 | import psycopg2 as bd # Esto es para poder conectarnos a Postgre 2 | 3 | conexion = bd.connect( 4 | user='postgres', 5 | password='admin', 6 | host='127.0.0.1', 7 | port='5432', 8 | database='test_bd' 9 | ) 10 | try: 11 | with conexion: 12 | with conexion.cursor() as cursor: 13 | sentencia = "INSERT INTO persona(nombre, apellido, email)VALUES(%s, %s, %s)" 14 | valores = ("Alex", "Rojas", "arojas@gmail.com") 15 | cursor.execute(sentencia, valores) 16 | 17 | 18 | sentencia = 'UPDATE persona SET nombre=%s, apellido=%s, email=%s WHERE id_persona=%s' 19 | valores = ('Juan Carlos', 'Roldan', 'jcroldan@mail.com', 1) 20 | cursor.execute(sentencia, valores) 21 | 22 | 23 | except Exception as e: 24 | print(f"Ocurrió un error, se hizo un rollback: {e}") 25 | finally: 26 | conexion.close() 27 | 28 | 29 | print("Termina la transaccion") -------------------------------------------------------------------------------- /JAVA/Leccion01/MundoPC/MundoPC/src/ar/com/system2023/mundopc/DispositivoEntrada.java: -------------------------------------------------------------------------------- 1 | 2 | package ar.com.system2023.mundopc; 3 | 4 | 5 | public class DispositivoEntrada { 6 | private String tipoEntrada; 7 | private String marca; 8 | 9 | public DispositivoEntrada(String tipoEntrada,String marca){ 10 | this.tipoEntrada=tipoEntrada; 11 | this.marca=marca; 12 | } 13 | 14 | public String getTipoEntrada() { 15 | return this.tipoEntrada; 16 | } 17 | 18 | public void setTipoEntrada(String tipoEntrada) { 19 | this.tipoEntrada = tipoEntrada; 20 | } 21 | 22 | public String getMarca() { 23 | return this.marca; 24 | } 25 | 26 | public void setMarca(String marca) { 27 | this.marca = marca; 28 | } 29 | 30 | @Override 31 | public String toString() { 32 | return "DispositivoEntrada{" + "tipoEntrada=" + tipoEntrada + ", marca=" + marca + '}'; 33 | } 34 | 35 | } 36 | -------------------------------------------------------------------------------- /JAVA/Leccion08/ManejoExcepciones1/src/test/TestExcepciones.java: -------------------------------------------------------------------------------- 1 | 2 | package test; 3 | 4 | import static aritmetica.Aritmetica.division; 5 | import excepciones.OperacionExcepcion; 6 | 7 | public class TestExcepciones { 8 | public static void main(String[] args) { 9 | int resultado = 0; 10 | try{ 11 | resultado = division(10, 0); 12 | }catch(OperacionExcepcion e){ 13 | System.out.println("Ocurrió un error de tipo OperacionExcepcion"); 14 | System.out.println(e.getMessage()); 15 | } catch(Exception e){ 16 | System.out.println("Ocurrió un Error"); 17 | e.printStackTrace(System.out); //Se conoce como la pila de excepciones 18 | System.out.println(e.getMessage()); 19 | } 20 | finally{ 21 | System.out.println("Se reviso la division entre cero"); 22 | } 23 | System.out.println("La variable del resultado tiene como valor:"+resultado); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools/_distutils/command/__init__.py: -------------------------------------------------------------------------------- 1 | """distutils.command 2 | 3 | Package containing implementation of all the standard Distutils 4 | commands.""" 5 | 6 | __all__ = ['build', 7 | 'build_py', 8 | 'build_ext', 9 | 'build_clib', 10 | 'build_scripts', 11 | 'clean', 12 | 'install', 13 | 'install_lib', 14 | 'install_headers', 15 | 'install_scripts', 16 | 'install_data', 17 | 'sdist', 18 | 'register', 19 | 'bdist', 20 | 'bdist_dumb', 21 | 'bdist_rpm', 22 | 'bdist_wininst', 23 | 'check', 24 | 'upload', 25 | # These two are reserved for future use: 26 | #'bdist_sdux', 27 | #'bdist_pkgtool', 28 | # Note: 29 | # bdist_packager is not included because it only provides 30 | # an abstract base class 31 | ] 32 | -------------------------------------------------------------------------------- /PYTHON/Leccion03/catalogo_peliculas/test_catalogo_peliculas.py: -------------------------------------------------------------------------------- 1 | from dominio.Pelicula import Pelicula 2 | from servicio.catalogo_peliculas import CatalogoPeliculas as cp 3 | 4 | opcion = None 5 | while opcion != 4: 6 | try: 7 | print("Opciones: ") 8 | print("1. Agregar Pelicula") 9 | print("2. Listar las peliculas") 10 | print("3. Eliminar catalogo de peliculas") 11 | print("4. Salir") 12 | opcion = int(input("Digite una opcion del menu (1-4): ")) 13 | if opcion == 1: 14 | nombre_pelicula = input('Digite el nombre de la pelicula: ') 15 | pelicula = Pelicula(nombre_pelicula) 16 | cp.agregar_peliculas(pelicula) 17 | elif opcion == 2: 18 | cp.listar_peliculas() 19 | elif opcion == 3: 20 | cp.eliminar_peliculas() 21 | except Exception as e: 22 | print(f"Ocurrio un error de tipo: {e}") 23 | opcion = None 24 | else: 25 | print("Salimos del programa") -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_internal/distributions/__init__.py: -------------------------------------------------------------------------------- 1 | from pip._internal.distributions.base import AbstractDistribution 2 | from pip._internal.distributions.sdist import SourceDistribution 3 | from pip._internal.distributions.wheel import WheelDistribution 4 | from pip._internal.req.req_install import InstallRequirement 5 | 6 | 7 | def make_distribution_for_install_requirement( 8 | install_req: InstallRequirement, 9 | ) -> AbstractDistribution: 10 | """Returns a Distribution for the given InstallRequirement""" 11 | # Editable requirements will always be source distributions. They use the 12 | # legacy logic until we create a modern standard for them. 13 | if install_req.editable: 14 | return SourceDistribution(install_req) 15 | 16 | # If it's a wheel, it's a WheelDistribution 17 | if install_req.is_wheel: 18 | return WheelDistribution(install_req) 19 | 20 | # Otherwise, a SourceDistribution 21 | return SourceDistribution(install_req) 22 | -------------------------------------------------------------------------------- /JAVA/Leccion05/ClaseObject/src/domain/Empleado.java: -------------------------------------------------------------------------------- 1 | 2 | package domain; 3 | 4 | 5 | public class Empleado { 6 | protected String nombre; 7 | protected double sueldo; 8 | 9 | public Empleado(String nombre, double sueldo){ 10 | this.nombre = nombre; 11 | this.sueldo = sueldo; 12 | } 13 | //Metodo para la sobreescritura 14 | public String obtenerDetalles(){ 15 | return "Nombre: "+this.nombre+", Sueldo: "+this.sueldo; 16 | } 17 | 18 | public String getNombre() { 19 | return nombre; 20 | } 21 | 22 | public void setNombre(String nombre) { 23 | this.nombre = nombre; 24 | } 25 | 26 | public double getSueldo() { 27 | return sueldo; 28 | } 29 | 30 | public void setSueldo(double sueldo) { 31 | this.sueldo = sueldo; 32 | } 33 | 34 | @Override 35 | public String toString() { 36 | return "Empleado{" + "nombre=" + nombre + ", sueldo=" + sueldo + '}'; 37 | } 38 | 39 | 40 | } 41 | -------------------------------------------------------------------------------- /JAVA/Leccion07/JavaBeans/src/domain/Persona.java: -------------------------------------------------------------------------------- 1 | 2 | package domain; 3 | 4 | import java.io.Serializable; 5 | 6 | public class Persona implements Serializable{ 7 | private String nombre; 8 | private String apellido; 9 | 10 | //Constructor vacío: esto es obligatorio 11 | public Persona(){ 12 | 13 | } 14 | public Persona(String nombre , String apellido){ 15 | this.nombre = nombre; 16 | this.apellido = apellido; 17 | } 18 | 19 | public String getNombre() { 20 | return nombre; 21 | } 22 | 23 | public void setNombre(String nombre) { 24 | this.nombre = nombre; 25 | } 26 | 27 | public String getApellido() { 28 | return apellido; 29 | } 30 | 31 | public void setApellido(String apellido) { 32 | this.apellido = apellido; 33 | } 34 | 35 | @Override 36 | public String toString() { 37 | return "Persona{" + "nombre=" + nombre + ", apellido=" + apellido + '}'; 38 | } 39 | 40 | } 41 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools/launch.py: -------------------------------------------------------------------------------- 1 | """ 2 | Launch the Python script on the command line after 3 | setuptools is bootstrapped via import. 4 | """ 5 | 6 | # Note that setuptools gets imported implicitly by the 7 | # invocation of this script using python -m setuptools.launch 8 | 9 | import tokenize 10 | import sys 11 | 12 | 13 | def run(): 14 | """ 15 | Run the script in sys.argv[1] as if it had 16 | been invoked naturally. 17 | """ 18 | __builtins__ 19 | script_name = sys.argv[1] 20 | namespace = dict( 21 | __file__=script_name, 22 | __name__='__main__', 23 | __doc__=None, 24 | ) 25 | sys.argv[:] = sys.argv[1:] 26 | 27 | open_ = getattr(tokenize, 'open', open) 28 | with open_(script_name) as fid: 29 | script = fid.read() 30 | norm_script = script.replace('\\r\\n', '\\n') 31 | code = compile(norm_script, script_name, 'exec') 32 | exec(code, namespace) 33 | 34 | 35 | if __name__ == '__main__': 36 | run() 37 | -------------------------------------------------------------------------------- /JAVA/Leccion05/ConversionObjetos/src/domain/Empleado.java: -------------------------------------------------------------------------------- 1 | 2 | package domain; 3 | 4 | 5 | public class Empleado { 6 | protected String nombre; 7 | protected double sueldo; 8 | 9 | public Empleado(String nombre, double sueldo){ 10 | this.nombre = nombre; 11 | this.sueldo = sueldo; 12 | } 13 | //Metodo para la sobreescritura 14 | public String obtenerDetalles(){ 15 | return "Nombre: "+this.nombre+", Sueldo: "+this.sueldo; 16 | } 17 | 18 | public String getNombre() { 19 | return nombre; 20 | } 21 | 22 | public void setNombre(String nombre) { 23 | this.nombre = nombre; 24 | } 25 | 26 | public double getSueldo() { 27 | return sueldo; 28 | } 29 | 30 | public void setSueldo(double sueldo) { 31 | this.sueldo = sueldo; 32 | } 33 | 34 | @Override 35 | public String toString() { 36 | return "Empleado{" + "nombre=" + nombre + ", sueldo=" + sueldo + '}'; 37 | } 38 | 39 | 40 | } 41 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_internal/utils/inject_securetransport.py: -------------------------------------------------------------------------------- 1 | """A helper module that injects SecureTransport, on import. 2 | 3 | The import should be done as early as possible, to ensure all requests and 4 | sessions (or whatever) are created after injecting SecureTransport. 5 | 6 | Note that we only do the injection on macOS, when the linked OpenSSL is too 7 | old to handle TLSv1.2. 8 | """ 9 | 10 | import sys 11 | 12 | 13 | def inject_securetransport() -> None: 14 | # Only relevant on macOS 15 | if sys.platform != "darwin": 16 | return 17 | 18 | try: 19 | import ssl 20 | except ImportError: 21 | return 22 | 23 | # Checks for OpenSSL 1.0.1 24 | if ssl.OPENSSL_VERSION_NUMBER >= 0x1000100F: 25 | return 26 | 27 | try: 28 | from pip._vendor.urllib3.contrib import securetransport 29 | except (ImportError, OSError): 30 | return 31 | 32 | securetransport.inject_into_urllib3() 33 | 34 | 35 | inject_securetransport() 36 | -------------------------------------------------------------------------------- /JAVA/Leccion12/SistemaEstudiantes/src/main/java/UTN/conexion/Conexion.java: -------------------------------------------------------------------------------- 1 | package UTN.conexion; 2 | 3 | import java.sql.Connection; 4 | import java.sql.DriverManager; 5 | import java.sql.SQLException; 6 | 7 | public class Conexion { 8 | public static Connection getConnection() { 9 | Connection conexion = null; 10 | //Variables para conectarnos a la base de datos 11 | var baseDatos = "estudiantes"; 12 | var url = "jdbc:mysql://localhost:3306/" + baseDatos; 13 | var usuario = "root"; 14 | var password = "admin"; 15 | 16 | //cargamos la clase del driver de mysql en memoria 17 | try { 18 | Class.forName("com.mysql.cj.jdbc.Driver"); 19 | conexion = DriverManager.getConnection(url, usuario, password); 20 | } catch (ClassNotFoundException | SQLException e) { 21 | System.out.println("Ocurrio un error en la conexion: " + e.getMessage()); 22 | }//Fin Catch 23 | return conexion; 24 | }//Fin metodo Connection 25 | } -------------------------------------------------------------------------------- /JAVASCRIPT/TSLeccion07/Persona.js: -------------------------------------------------------------------------------- 1 | class Persona{ 2 | 3 | static contadorPersonas = 0; 4 | 5 | constructor(nombre, apellido, edad){ 6 | this._idPersona = ++Persona.contadorPersonas; 7 | this._nombre = nombre; 8 | this._apellido = apellido; 9 | this._edad = edad; 10 | } 11 | 12 | get idPersona(){ 13 | return this._idPersona; 14 | } 15 | 16 | get nombre(){ 17 | this._nombre; 18 | } 19 | 20 | set nombre(nombre){ 21 | this._nombre = nombre; 22 | } 23 | 24 | set apellido(apellido){ 25 | this._apellido = apellido; 26 | } 27 | 28 | get edad(){ 29 | return this._edad; 30 | } 31 | 32 | set edad(edad){ 33 | this._edad = edad; 34 | } 35 | 36 | toString(){ 37 | return ` 38 | ${this._idPersona} 39 | ${this._nombre} 40 | ${this._apellido} 41 | ${this._edad}`; 42 | } 43 | } 44 | 45 | persona1 = new Persona("Federico","Valdez",30); 46 | console.log(persona1) -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/cachecontrol/cache.py: -------------------------------------------------------------------------------- 1 | """ 2 | The cache object API for implementing caches. The default is a thread 3 | safe in-memory dictionary. 4 | """ 5 | from threading import Lock 6 | 7 | 8 | class BaseCache(object): 9 | 10 | def get(self, key): 11 | raise NotImplementedError() 12 | 13 | def set(self, key, value): 14 | raise NotImplementedError() 15 | 16 | def delete(self, key): 17 | raise NotImplementedError() 18 | 19 | def close(self): 20 | pass 21 | 22 | 23 | class DictCache(BaseCache): 24 | 25 | def __init__(self, init_dict=None): 26 | self.lock = Lock() 27 | self.data = init_dict or {} 28 | 29 | def get(self, key): 30 | return self.data.get(key, None) 31 | 32 | def set(self, key, value): 33 | with self.lock: 34 | self.data.update({key: value}) 35 | 36 | def delete(self, key): 37 | with self.lock: 38 | if key in self.data: 39 | self.data.pop(key) 40 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools/logging.py: -------------------------------------------------------------------------------- 1 | import sys 2 | import logging 3 | import distutils.log 4 | from . import monkey 5 | 6 | 7 | def _not_warning(record): 8 | return record.levelno < logging.WARNING 9 | 10 | 11 | def configure(): 12 | """ 13 | Configure logging to emit warning and above to stderr 14 | and everything else to stdout. This behavior is provided 15 | for compatibilty with distutils.log but may change in 16 | the future. 17 | """ 18 | err_handler = logging.StreamHandler() 19 | err_handler.setLevel(logging.WARNING) 20 | out_handler = logging.StreamHandler(sys.stdout) 21 | out_handler.addFilter(_not_warning) 22 | handlers = err_handler, out_handler 23 | logging.basicConfig( 24 | format="{message}", style='{', handlers=handlers, level=logging.DEBUG) 25 | monkey.patch_func(set_threshold, distutils.log, 'set_threshold') 26 | 27 | 28 | def set_threshold(level): 29 | logging.root.setLevel(level*10) 30 | return set_threshold.unpatched(level) 31 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py: -------------------------------------------------------------------------------- 1 | from __future__ import division 2 | 3 | from datetime import datetime 4 | from pip._vendor.cachecontrol.cache import BaseCache 5 | 6 | 7 | class RedisCache(BaseCache): 8 | 9 | def __init__(self, conn): 10 | self.conn = conn 11 | 12 | def get(self, key): 13 | return self.conn.get(key) 14 | 15 | def set(self, key, value, expires=None): 16 | if not expires: 17 | self.conn.set(key, value) 18 | else: 19 | expires = expires - datetime.utcnow() 20 | self.conn.setex(key, int(expires.total_seconds()), value) 21 | 22 | def delete(self, key): 23 | self.conn.delete(key) 24 | 25 | def clear(self): 26 | """Helper for clearing all the keys in a database. Use with 27 | caution!""" 28 | for key in self.conn.keys(): 29 | self.conn.delete(key) 30 | 31 | def close(self): 32 | """Redis uses connection pooling, no need to close the connection.""" 33 | pass 34 | -------------------------------------------------------------------------------- /JAVA/Leccion12/SistemaEstudiantes/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 4.0.0 6 | 7 | UTN 8 | estudiante 9 | 1.0-SNAPSHOT 10 | 11 | 12 | 13 | 14 | com.mysql 15 | mysql-connector-j 16 | 8.0.33 17 | 18 | 19 | 20 | 21 | 20 22 | 20 23 | UTF-8 24 | 25 | 26 | -------------------------------------------------------------------------------- /JAVASCRIPT/TSLeccion02/02-03-arreglos.js: -------------------------------------------------------------------------------- 1 | //let autos = new Array('Ferrari','Renault','BMW'); Esta es la sintaxis vieja 2 | const autos = ['Ferrari','Renault','BMW']; 3 | console.log(autos); 4 | 5 | //Recorremos los elementos de un arreglo 6 | console.log(autos[0]); 7 | console.log(autos[2]); 8 | 9 | for(let i = 0;i < autos.length;i++){ 10 | console.log(i + " : " + autos[i]); 11 | } 12 | 13 | //Modificamos los elementos del arreglo 14 | autos[1]='Volvo'; 15 | console.log(autos[1]); 16 | 17 | //Agregar nuevos valores al arreglo 18 | autos.push('Audi');//Agregamos el elemento al final del arreglo 19 | console.log(autos); 20 | 21 | //otras formas de agregar elementos al arreglo 22 | autos[autos.length]= 'Porche'; 23 | console.log(autos) 24 | 25 | //Tercera forma de agregar elementos teniendo cuidado 26 | autos[6]='Renault'; 27 | console.log(autos); 28 | 29 | //Como preguntar si es un Array o Arreglo 30 | console.log(Array.isArray(autos));// Devuelve un booleano 31 | 32 | console.log(autos instanceof Array);// Preguntamos si la variable es una instancia de la clase Array 33 | -------------------------------------------------------------------------------- /PYTHON/Leccion04/BD/transacciones_dos.py: -------------------------------------------------------------------------------- 1 | import psycopg2 as bd # Esto es para poder conectarnos a Postgre 2 | 3 | conexion = bd.connect( 4 | user='postgres', 5 | password='admin', 6 | host='127.0.0.1', 7 | port='5432', 8 | database='test_bd' 9 | ) 10 | try: 11 | conexion.autocommit = False # Esto directamente no debería estar, inicia la transacción 12 | cursor = conexion.cursor() 13 | sentencia = "INSERT INTO persona(nombre, apellido, email)VALUES(%s, %s, %s)" 14 | valores = ("Jorge", "Prol", "jprol@gmail.com") 15 | cursor.execute(sentencia, valores) 16 | 17 | sentencia = 'UPDATE persona SET nombre=%s, apellido=%s, email=%s WHERE id_persona=%s' 18 | valores = ('Juan Carlos', 'Perez', 'jcperez@mail.com', 1) 19 | cursor.execute(sentencia, valores) 20 | 21 | conexion.commit() # Hacemos el commit manualmente, se cierra la transacción 22 | print("Termina la transaccion") 23 | except Exception as e: 24 | conexion.rollback() 25 | print(f"Ocurrió un error, se hizo un rollback: {e}") 26 | finally: 27 | conexion.close() 28 | -------------------------------------------------------------------------------- /JAVA/Leccion05/ClaseObject/src/test/TestClaseObject.java: -------------------------------------------------------------------------------- 1 | 2 | package test; 3 | 4 | import domain.*; 5 | 6 | 7 | public class TestClaseObject { 8 | public static void main(String[] args) { 9 | Empleado empleado1 = new Empleado("Juan", 5000); 10 | Empleado empleado2 = new Empleado("Juan", 5000); 11 | 12 | if(empleado1 == empleado2){ 13 | System.out.println("Tienen la misma referencia en memoria"); 14 | } 15 | else{ 16 | System.out.println("Tienen distinta referencia en memoria"); 17 | } 18 | if(empleado1.equals(empleado2)){ 19 | System.out.println("Los objetos son iguales en contenido"); 20 | } 21 | else{ 22 | System.out.println("Los objetos son distintos en contenido"); 23 | } 24 | if(empleado1.hashCode() == empleado2.hashCode()){ 25 | System.out.println("El valor hashCode es igual"); 26 | } 27 | else{ 28 | System.out.println("El valor hashCode es diferente"); 29 | } 30 | 31 | } 32 | } 33 | 34 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/idna/__init__.py: -------------------------------------------------------------------------------- 1 | from .package_data import __version__ 2 | from .core import ( 3 | IDNABidiError, 4 | IDNAError, 5 | InvalidCodepoint, 6 | InvalidCodepointContext, 7 | alabel, 8 | check_bidi, 9 | check_hyphen_ok, 10 | check_initial_combiner, 11 | check_label, 12 | check_nfc, 13 | decode, 14 | encode, 15 | ulabel, 16 | uts46_remap, 17 | valid_contextj, 18 | valid_contexto, 19 | valid_label_length, 20 | valid_string_length, 21 | ) 22 | from .intranges import intranges_contain 23 | 24 | __all__ = [ 25 | "IDNABidiError", 26 | "IDNAError", 27 | "InvalidCodepoint", 28 | "InvalidCodepointContext", 29 | "alabel", 30 | "check_bidi", 31 | "check_hyphen_ok", 32 | "check_initial_combiner", 33 | "check_label", 34 | "check_nfc", 35 | "decode", 36 | "encode", 37 | "intranges_contain", 38 | "ulabel", 39 | "uts46_remap", 40 | "valid_contextj", 41 | "valid_contexto", 42 | "valid_label_length", 43 | "valid_string_length", 44 | ] 45 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools/dep_util.py: -------------------------------------------------------------------------------- 1 | from distutils.dep_util import newer_group 2 | 3 | 4 | # yes, this is was almost entirely copy-pasted from 5 | # 'newer_pairwise()', this is just another convenience 6 | # function. 7 | def newer_pairwise_group(sources_groups, targets): 8 | """Walk both arguments in parallel, testing if each source group is newer 9 | than its corresponding target. Returns a pair of lists (sources_groups, 10 | targets) where sources is newer than target, according to the semantics 11 | of 'newer_group()'. 12 | """ 13 | if len(sources_groups) != len(targets): 14 | raise ValueError( 15 | "'sources_group' and 'targets' must be the same length") 16 | 17 | # build a pair of lists (sources_groups, targets) where source is newer 18 | n_sources = [] 19 | n_targets = [] 20 | for i in range(len(sources_groups)): 21 | if newer_group(sources_groups[i], targets[i]): 22 | n_sources.append(sources_groups[i]) 23 | n_targets.append(targets[i]) 24 | 25 | return n_sources, n_targets 26 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/urllib3/packages/ssl_match_hostname/__init__.py: -------------------------------------------------------------------------------- 1 | import sys 2 | 3 | try: 4 | # Our match_hostname function is the same as 3.10's, so we only want to 5 | # import the match_hostname function if it's at least that good. 6 | # We also fallback on Python 3.10+ because our code doesn't emit 7 | # deprecation warnings and is the same as Python 3.10 otherwise. 8 | if sys.version_info < (3, 5) or sys.version_info >= (3, 10): 9 | raise ImportError("Fallback to vendored code") 10 | 11 | from ssl import CertificateError, match_hostname 12 | except ImportError: 13 | try: 14 | # Backport of the function from a pypi module 15 | from backports.ssl_match_hostname import ( # type: ignore 16 | CertificateError, 17 | match_hostname, 18 | ) 19 | except ImportError: 20 | # Our vendored copy 21 | from ._implementation import CertificateError, match_hostname # type: ignore 22 | 23 | # Not needed, but documenting what we provide. 24 | __all__ = ("CertificateError", "match_hostname") 25 | -------------------------------------------------------------------------------- /JAVA/Leccion02/BloquesInicializacion/src/domain/Persona.java: -------------------------------------------------------------------------------- 1 | package domain; 2 | 3 | public class Persona { 4 | private final int idPersona; 5 | private static int contadorPersonas; 6 | 7 | static{//Bloque de Inicialización estático 8 | System.out.println("Ejecución del bloque estatico"); 9 | ++Persona.contadorPersonas; 10 | //idPersona = 10; No es estatico un atributo, por esto tenemos un error 11 | } 12 | 13 | {//Bloque de inicialización No estático(contexto dinámico) 14 | System.out.println("Ejecución del bloque no estático"); 15 | this.idPersona = Persona.contadorPersonas++;//Incrementamos el atributo 16 | } 17 | 18 | //Los bloques de inicialización se ejecutan antes del contructor 19 | public Persona(){ 20 | System.out.println("Ejecución del contructor"); 21 | } 22 | 23 | public int getIdPersona(){ 24 | return this.idPersona; 25 | } 26 | 27 | @Override 28 | public String toString() { 29 | return "Persona{" + "idPersona=" + idPersona + '}'; 30 | } 31 | 32 | 33 | } 34 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/html5lib/filters/alphabeticalattributes.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import, division, unicode_literals 2 | 3 | from . import base 4 | 5 | from collections import OrderedDict 6 | 7 | 8 | def _attr_key(attr): 9 | """Return an appropriate key for an attribute for sorting 10 | 11 | Attributes have a namespace that can be either ``None`` or a string. We 12 | can't compare the two because they're different types, so we convert 13 | ``None`` to an empty string first. 14 | 15 | """ 16 | return (attr[0][0] or ''), attr[0][1] 17 | 18 | 19 | class Filter(base.Filter): 20 | """Alphabetizes attributes for elements""" 21 | def __iter__(self): 22 | for token in base.Filter.__iter__(self): 23 | if token["type"] in ("StartTag", "EmptyTag"): 24 | attrs = OrderedDict() 25 | for name, value in sorted(token["data"].items(), 26 | key=_attr_key): 27 | attrs[name] = value 28 | token["data"] = attrs 29 | yield token 30 | -------------------------------------------------------------------------------- /PYTHON/Leccion04/BD/i_v_registros.py: -------------------------------------------------------------------------------- 1 | import psycopg2 # Esto es para poder conectarnos a Postgre 2 | 3 | conexion = psycopg2.connect( 4 | user='postgres', 5 | password='admin', 6 | host='127.0.0.1', 7 | port='5432', 8 | database='test_bd' 9 | ) 10 | try: 11 | with conexion: 12 | with conexion.cursor() as cursor: 13 | sentencia = 'INSERT INTO persona (nombre, apellido, email)VALUES (%s, %s, %s)' 14 | valores = ( 15 | ("Kevin", "LaRocca", "rocca@gmail.com"), 16 | ("Juani", "Valladares", "juan12@gmail.com"), 17 | ("Renzo", "Gira", "renzoG@gmail.com") 18 | ) # Es una tupla de tuplas 19 | cursor.executemany(sentencia, valores) # De esta manera ejecutamos la sentencia 20 | # conexion.commit() esto se utiliza para guardar los cambios en la base de datos 21 | registros_insertados = cursor.rowcount 22 | print(f"Los registros insertados son: {registros_insertados}") 23 | 24 | except Exception as e: 25 | print(f"Ocurrió un error: {e}") 26 | finally: 27 | conexion.close() -------------------------------------------------------------------------------- /PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/domain/solicitud.py: -------------------------------------------------------------------------------- 1 | class Solicitud: 2 | def __init__(self, libro_id, socio_id, fecha_solicitud, estado): 3 | self._libro_id = libro_id 4 | self._socio_id = socio_id 5 | self._fecha_solicitud = fecha_solicitud 6 | self._estado = estado 7 | 8 | @property 9 | def libro_id(self): 10 | return self._libro_id 11 | 12 | @libro_id.setter 13 | def libro_id(self, libro_id): 14 | self._libro_id = libro_id 15 | 16 | @property 17 | def socio_id(self): 18 | return self._socio_id 19 | 20 | @socio_id.setter 21 | def socio_id(self, socio_id): 22 | self._socio_id = socio_id 23 | 24 | @property 25 | def fecha_solicitud(self): 26 | return self._fecha_solicitud 27 | 28 | @fecha_solicitud.setter 29 | def fecha_solicitud(self, fecha_solicitud): 30 | self._fecha_solicitud = fecha_solicitud 31 | 32 | @property 33 | def estado(self): 34 | return self._estado 35 | 36 | @estado.setter 37 | def estado(self, estado): 38 | self._estado = estado 39 | 40 | -------------------------------------------------------------------------------- /JAVA/Leccion03/AutoBoxinUnboxin/src/test/TestAutoboxinUnboxing.java: -------------------------------------------------------------------------------- 1 | package test; 2 | 3 | public class TestAutoboxinUnboxing { 4 | public static void main(String[] args){ 5 | //Clases envolventes o Wrapper 6 | /* 7 | Clases envolventes de tipos primitivos 8 | 1-int = la clase envolvente es Integer 9 | 2-long = la clase envolvente es Long 10 | 3-float = la clase envolvente es Float 11 | 4-double = la clase envolvente es Double 12 | 5-boolean = la clase envolvente es Boolean 13 | 6-byte = la clase envolvente es Byte 14 | 7-char = la clase envolvente es Character 15 | 8-short = la clase envolvente Short 16 | */ 17 | 18 | int enteroPrim = 10; //Tipo primitivo 19 | System.out.println("enteroPrim = " + enteroPrim); 20 | Integer entero = 10; //Tipo object con la clase interger 21 | System.out.println("entero = " + entero.doubleValue()); //AutoBoxing 22 | 23 | int entero2 = entero; //Unboxing 24 | System.out.println("entero2 = " + entero2); 25 | 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools/command/dist_info.py: -------------------------------------------------------------------------------- 1 | """ 2 | Create a dist_info directory 3 | As defined in the wheel specification 4 | """ 5 | 6 | import os 7 | 8 | from distutils.core import Command 9 | from distutils import log 10 | 11 | 12 | class dist_info(Command): 13 | 14 | description = 'create a .dist-info directory' 15 | 16 | user_options = [ 17 | ('egg-base=', 'e', "directory containing .egg-info directories" 18 | " (default: top of the source tree)"), 19 | ] 20 | 21 | def initialize_options(self): 22 | self.egg_base = None 23 | 24 | def finalize_options(self): 25 | pass 26 | 27 | def run(self): 28 | egg_info = self.get_finalized_command('egg_info') 29 | egg_info.egg_base = self.egg_base 30 | egg_info.finalize_options() 31 | egg_info.run() 32 | dist_info_dir = egg_info.egg_info[:-len('.egg-info')] + '.dist-info' 33 | log.info("creating '{}'".format(os.path.abspath(dist_info_dir))) 34 | 35 | bdist_wheel = self.get_finalized_command('bdist_wheel') 36 | bdist_wheel.egg2dist(egg_info.egg_info, dist_info_dir) 37 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools-60.2.0.dist-info/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright Jason R. Coombs 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to 5 | deal in the Software without restriction, including without limitation the 6 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or 7 | sell copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 18 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 19 | IN THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/setuptools/unicode_utils.py: -------------------------------------------------------------------------------- 1 | import unicodedata 2 | import sys 3 | 4 | 5 | # HFS Plus uses decomposed UTF-8 6 | def decompose(path): 7 | if isinstance(path, str): 8 | return unicodedata.normalize('NFD', path) 9 | try: 10 | path = path.decode('utf-8') 11 | path = unicodedata.normalize('NFD', path) 12 | path = path.encode('utf-8') 13 | except UnicodeError: 14 | pass # Not UTF-8 15 | return path 16 | 17 | 18 | def filesys_decode(path): 19 | """ 20 | Ensure that the given path is decoded, 21 | NONE when no expected encoding works 22 | """ 23 | 24 | if isinstance(path, str): 25 | return path 26 | 27 | fs_enc = sys.getfilesystemencoding() or 'utf-8' 28 | candidates = fs_enc, 'utf-8' 29 | 30 | for enc in candidates: 31 | try: 32 | return path.decode(enc) 33 | except UnicodeDecodeError: 34 | continue 35 | 36 | 37 | def try_encode(string, enc): 38 | "turn unicode encoding into a functional routine" 39 | try: 40 | return string.encode(enc) 41 | except UnicodeEncodeError: 42 | return None 43 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/wheel/util.py: -------------------------------------------------------------------------------- 1 | import base64 2 | import io 3 | import sys 4 | 5 | 6 | if sys.version_info[0] < 3: 7 | text_type = unicode # noqa: F821 8 | 9 | StringIO = io.BytesIO 10 | 11 | def native(s, encoding='utf-8'): 12 | if isinstance(s, unicode): # noqa: F821 13 | return s.encode(encoding) 14 | return s 15 | else: 16 | text_type = str 17 | 18 | StringIO = io.StringIO 19 | 20 | def native(s, encoding='utf-8'): 21 | if isinstance(s, bytes): 22 | return s.decode(encoding) 23 | return s 24 | 25 | 26 | def urlsafe_b64encode(data): 27 | """urlsafe_b64encode without padding""" 28 | return base64.urlsafe_b64encode(data).rstrip(b'=') 29 | 30 | 31 | def urlsafe_b64decode(data): 32 | """urlsafe_b64decode without padding""" 33 | pad = b'=' * (4 - (len(data) & 3)) 34 | return base64.urlsafe_b64decode(data + pad) 35 | 36 | 37 | def as_unicode(s): 38 | if isinstance(s, bytes): 39 | return s.decode('utf-8') 40 | return s 41 | 42 | 43 | def as_bytes(s): 44 | if isinstance(s, text_type): 45 | return s.encode('utf-8') 46 | return s 47 | -------------------------------------------------------------------------------- /PYTHON/TrabajoFinal3Semestre/GestionBiblioteca/domain/autor.py: -------------------------------------------------------------------------------- 1 | from domain.persona import Persona 2 | 3 | 4 | class Autor(Persona): 5 | def __init__(self, nombre=None, apellido=None, dni=0, celular=0, domicilio=None, email=None, anio_nacimiento=None, 6 | nacionalidad=None): 7 | super().__init__(nombre, apellido, dni, celular, domicilio, email) 8 | self._anio_nacimiento = anio_nacimiento 9 | self._nacionalidad = nacionalidad 10 | 11 | def __str__(self): 12 | return f'Autor: Datos: nombre: {super().nombre} apellido: {super().apellido} ' \ 13 | f'Año Nacimiento: {self._anio_nacimiento} ' \ 14 | f'Nacionalidad: {self._nacionalidad} ' 15 | 16 | @property 17 | def anio_nacimiento(self): 18 | return self._anio_nacimiento 19 | 20 | @anio_nacimiento.setter 21 | def anio_nacimiento(self, fecha_nacimiento): 22 | self._anio_nacimiento = fecha_nacimiento 23 | 24 | @property 25 | def nacionalidad(self): 26 | return self._nacionalidad 27 | 28 | @nacionalidad.setter 29 | def nacionalidad(self,nacionalidad): 30 | self._nacionalidad = nacionalidad 31 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/urllib3/contrib/_appengine_environ.py: -------------------------------------------------------------------------------- 1 | """ 2 | This module provides means to detect the App Engine environment. 3 | """ 4 | 5 | import os 6 | 7 | 8 | def is_appengine(): 9 | return is_local_appengine() or is_prod_appengine() 10 | 11 | 12 | def is_appengine_sandbox(): 13 | """Reports if the app is running in the first generation sandbox. 14 | 15 | The second generation runtimes are technically still in a sandbox, but it 16 | is much less restrictive, so generally you shouldn't need to check for it. 17 | see https://cloud.google.com/appengine/docs/standard/runtimes 18 | """ 19 | return is_appengine() and os.environ["APPENGINE_RUNTIME"] == "python27" 20 | 21 | 22 | def is_local_appengine(): 23 | return "APPENGINE_RUNTIME" in os.environ and os.environ.get( 24 | "SERVER_SOFTWARE", "" 25 | ).startswith("Development/") 26 | 27 | 28 | def is_prod_appengine(): 29 | return "APPENGINE_RUNTIME" in os.environ and os.environ.get( 30 | "SERVER_SOFTWARE", "" 31 | ).startswith("Google App Engine/") 32 | 33 | 34 | def is_prod_appengine_mvms(): 35 | """Deprecated.""" 36 | return False 37 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_internal/utils/pkg_resources.py: -------------------------------------------------------------------------------- 1 | from typing import Dict, Iterable, List 2 | 3 | from pip._vendor.pkg_resources import yield_lines 4 | 5 | 6 | class DictMetadata: 7 | """IMetadataProvider that reads metadata files from a dictionary.""" 8 | 9 | def __init__(self, metadata: Dict[str, bytes]) -> None: 10 | self._metadata = metadata 11 | 12 | def has_metadata(self, name: str) -> bool: 13 | return name in self._metadata 14 | 15 | def get_metadata(self, name: str) -> str: 16 | try: 17 | return self._metadata[name].decode() 18 | except UnicodeDecodeError as e: 19 | # Mirrors handling done in pkg_resources.NullProvider. 20 | e.reason += f" in {name} file" 21 | raise 22 | 23 | def get_metadata_lines(self, name: str) -> Iterable[str]: 24 | return yield_lines(self.get_metadata(name)) 25 | 26 | def metadata_isdir(self, name: str) -> bool: 27 | return False 28 | 29 | def metadata_listdir(self, name: str) -> List[str]: 30 | return [] 31 | 32 | def run_script(self, script_name: str, namespace: str) -> None: 33 | pass 34 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Scripts/activate.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | set "VIRTUAL_ENV=C:\Users\renzo\Desktop\3Semestre\chacoDevsTeam-3Sem\PYTHON\Leccion01" 4 | 5 | if defined _OLD_VIRTUAL_PROMPT ( 6 | set "PROMPT=%_OLD_VIRTUAL_PROMPT%" 7 | ) else ( 8 | if not defined PROMPT ( 9 | set "PROMPT=$P$G" 10 | ) 11 | if not defined VIRTUAL_ENV_DISABLE_PROMPT ( 12 | set "_OLD_VIRTUAL_PROMPT=%PROMPT%" 13 | ) 14 | ) 15 | if not defined VIRTUAL_ENV_DISABLE_PROMPT ( 16 | if "" NEQ "" ( 17 | set "PROMPT=() %PROMPT%" 18 | ) else ( 19 | for %%d in ("%VIRTUAL_ENV%") do set "PROMPT=(%%~nxd) %PROMPT%" 20 | ) 21 | ) 22 | 23 | REM Don't use () to avoid problems with them in %PATH% 24 | if defined _OLD_VIRTUAL_PYTHONHOME goto ENDIFVHOME 25 | set "_OLD_VIRTUAL_PYTHONHOME=%PYTHONHOME%" 26 | :ENDIFVHOME 27 | 28 | set PYTHONHOME= 29 | 30 | REM if defined _OLD_VIRTUAL_PATH ( 31 | if not defined _OLD_VIRTUAL_PATH goto ENDIFVPATH1 32 | set "PATH=%_OLD_VIRTUAL_PATH%" 33 | :ENDIFVPATH1 34 | REM ) else ( 35 | if defined _OLD_VIRTUAL_PATH goto ENDIFVPATH2 36 | set "_OLD_VIRTUAL_PATH=%PATH%" 37 | :ENDIFVPATH2 38 | 39 | set "PATH=%VIRTUAL_ENV%\Scripts;%PATH%" 40 | -------------------------------------------------------------------------------- /PYTHON/Leccion07/capa_datos_persona/cursor_del_pool.py: -------------------------------------------------------------------------------- 1 | from logger_base import log 2 | from conexion import Conexion 3 | 4 | 5 | class CursorDelPool: 6 | def __init__(self): 7 | self._conexion = None 8 | self._cursor = None 9 | 10 | def __enter__(self): 11 | log.debug(f'Inicio del método with y __enter__') 12 | self._conexion = Conexion.obtenerConexion() 13 | self._cursor = self._conexion.cursor() 14 | return self._cursor 15 | 16 | def __exit__(self, tipo_exception, valor_exception, detalle_exception): 17 | log.debug('se ejecuta el método exit') 18 | if valor_exception: 19 | self._conexion.rollback() 20 | log.debug(f'Ocurrio una excepcion: {valor_exception}') 21 | else: 22 | self._conexion.commit() 23 | log.debug(f'Commit de la transacción') 24 | self._cursor.close() 25 | Conexion.liberarConexion(self._conexion) 26 | 27 | 28 | if __name__ == '__main__': 29 | with CursorDelPool() as cursor: 30 | log.debug('Dentro del bloque with') 31 | cursor.execute('SELECT * FROM persona') 32 | log.debug(cursor.fetchall()) 33 | 34 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_internal/models/candidate.py: -------------------------------------------------------------------------------- 1 | from pip._vendor.packaging.version import parse as parse_version 2 | 3 | from pip._internal.models.link import Link 4 | from pip._internal.utils.models import KeyBasedCompareMixin 5 | 6 | 7 | class InstallationCandidate(KeyBasedCompareMixin): 8 | """Represents a potential "candidate" for installation.""" 9 | 10 | __slots__ = ["name", "version", "link"] 11 | 12 | def __init__(self, name: str, version: str, link: Link) -> None: 13 | self.name = name 14 | self.version = parse_version(version) 15 | self.link = link 16 | 17 | super().__init__( 18 | key=(self.name, self.version, self.link), 19 | defining_class=InstallationCandidate, 20 | ) 21 | 22 | def __repr__(self) -> str: 23 | return "".format( 24 | self.name, 25 | self.version, 26 | self.link, 27 | ) 28 | 29 | def __str__(self) -> str: 30 | return "{!r} candidate (version {} at {})".format( 31 | self.name, 32 | self.version, 33 | self.link, 34 | ) 35 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_internal/models/index.py: -------------------------------------------------------------------------------- 1 | import urllib.parse 2 | 3 | 4 | class PackageIndex: 5 | """Represents a Package Index and provides easier access to endpoints""" 6 | 7 | __slots__ = ["url", "netloc", "simple_url", "pypi_url", "file_storage_domain"] 8 | 9 | def __init__(self, url: str, file_storage_domain: str) -> None: 10 | super().__init__() 11 | self.url = url 12 | self.netloc = urllib.parse.urlsplit(url).netloc 13 | self.simple_url = self._url_for_path("simple") 14 | self.pypi_url = self._url_for_path("pypi") 15 | 16 | # This is part of a temporary hack used to block installs of PyPI 17 | # packages which depend on external urls only necessary until PyPI can 18 | # block such packages themselves 19 | self.file_storage_domain = file_storage_domain 20 | 21 | def _url_for_path(self, path: str) -> str: 22 | return urllib.parse.urljoin(self.url, path) 23 | 24 | 25 | PyPI = PackageIndex("https://pypi.org/", file_storage_domain="files.pythonhosted.org") 26 | TestPyPI = PackageIndex( 27 | "https://test.pypi.org/", file_storage_domain="test-files.pythonhosted.org" 28 | ) 29 | -------------------------------------------------------------------------------- /PYTHON/Leccion01/Lib/site-packages/pip/_vendor/distlib/_backport/misc.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # 3 | # Copyright (C) 2012 The Python Software Foundation. 4 | # See LICENSE.txt and CONTRIBUTORS.txt. 5 | # 6 | """Backports for individual classes and functions.""" 7 | 8 | import os 9 | import sys 10 | 11 | __all__ = ['cache_from_source', 'callable', 'fsencode'] 12 | 13 | 14 | try: 15 | from imp import cache_from_source 16 | except ImportError: 17 | def cache_from_source(py_file, debug=__debug__): 18 | ext = debug and 'c' or 'o' 19 | return py_file + ext 20 | 21 | 22 | try: 23 | callable = callable 24 | except NameError: 25 | from collections import Callable 26 | 27 | def callable(obj): 28 | return isinstance(obj, Callable) 29 | 30 | 31 | try: 32 | fsencode = os.fsencode 33 | except AttributeError: 34 | def fsencode(filename): 35 | if isinstance(filename, bytes): 36 | return filename 37 | elif isinstance(filename, str): 38 | return filename.encode(sys.getfilesystemencoding()) 39 | else: 40 | raise TypeError("expect bytes or str, not %s" % 41 | type(filename).__name__) 42 | --------------------------------------------------------------------------------