Cerca
Heus ací els resultats de la cerca.
Noms de pàgina coincidents:
Resultats de text complet:
- 2.3 A small lexicon of widgets - Part 3 @info:cursos:pue:python-pcpp1:m3
- ain menu item: an empty (as far) submenu sub_menu_file = tk.Menu(main_menu) main_menu.add_cascade(label="File", menu=sub_menu_file) # 2nd main menu item: a simple callback sub_menu_help = tk.Menu(main_menu) main_... at strange dashed line visible when you click the File main menu item? Don’t worry, this it’s normal. W
- Módulo 4 (Intermedio): Archivos @info:cursos:netacad:python:pe2m4
- ubicado en el directorio dir, y con el nombre de file. Supongamos también que deseas asignar a una cad... e la siguiente manera: <code python> name = "/dir/file" </code> Pero si intentas codificarlo para el sistema Windows: <code python> name = "\dir\file" </code> Obtendrás una sorpresa desagradable: Py... la siguiente manera: <code python> name = "\\dir\\file" </code> Afortunadamente, también hay una soluci
- 3.1 The CSV module in Python @info:cursos:pue:python-pcpp1:m5
- parated Values) format is one of the most popular file formats used to store and transfer data between d... r data import and export in this format. The CSV file is a plain text file with the .csv extension. A typical file contains comma-separated values, but other separators such as s
- 4.2 Serialization of Python objects using the pickle module @info:cursos:pue:python-pcpp1:m1
- ay to persist outcomes is to generate a flat text file and to write your outcomes. It’s a very simple th... e into a stream of bytes to store the object in a file or database, or to transmit it via a network. Thi... u run the code presented in the right pane, a new file should be created. Remember to run the code local... 100, 1000]] with open('multidata.pckl', 'wb') as file_out: pickle.dump(a_dict, file_out) pickle
- ficheros y openssl @info:cursos:udemy:ansible:modulos
- hero de configuración desde fragmentos * blockinfile : Inserta/Actualiza/Elimina un bloque de texto de... * fetch : copiar del nodo remoto al servidor * file : establece atributos a ficheros * find : devue... a listsa de ficheros a partir de un patrón * inifile : manejo de ficheros INI * iso_extract : extrae ficheros de una imagen ISO * lineinfile : asegura que una línea está en un fichero o reem
- Ethical Hacker : sesión 4 @info:cursos:pue:ethical-hacker
- mand injection * shell * html * file * LDAP injection * XSS en comentarios (ti... mple list] section, click the Load… button. - A file selection window appears; navigate to the locatio... eb Applications/Wordlist, select the username.txt file, and click the Open button.{{:info:cursos:pue:eth... ?500}} - Observe that the selected username.txt file content appears under the Payload settings [Simpl
- 5.1 The configparser module @info:cursos:pue:python-pcpp1:m5
- e. A better solution is to use the configuration file, which will be read by the code. In Python, this ... t familiarize ourselves with the structure of the file in which they're stored. Are you curious how this is done? == What does the configuration file look like? The structure of the configuration file is very similar to Microsoft Windows INI files. It c
- DevOps Sesión 12 (2022-03-21) @info:cursos:pue:devops2022
- html]] * <code yaml; playbooks_resueltos/modulo_file.yml>--- - name: Ejemplos de modulos de ficheros y... backup=yes - name: Propiedades Fichero file: path="/tmp/ejemplo-master.txt" backup=yes mode="... mode: '0644' backup: yes ... </code> === file * mcedit (paquete mc) * crea directorio **/va... gs del journal entre arranques <code yaml; modulo_file_directorio.yml> --- - name: Ejemplos de modulos d
- Curso python udemy @info:cursos:udemy
- :pasted:20241009-022827.png?300}} == Cheatsheet: File Processing * You can read an existing file with Python:<code python> with open("file.txt") as file: content = file.read() </code> * You can create a new file with Python and write s
- LPIC2 2021 Sesión 9 (2021-03-02) @info:cursos:pue:lpic2-2021
- fy {192.168.2.152;}; }; zone "." { type hint; file "named.ca"; }; zone "curso.esp"{ type master; allow-update { 192.168.2.0/24; }; file "db.curso"; }; zone "2.168.192.IN-ADDR.ARPA"{ t... pe master; allow-update { 192.168.2.0/24; }; file "db.192.168.2"; }; </code> <code; db.curso> $ORIG... urso.esp. </code> <code; named.ca> ; This file holds the information on root name servers needed
- Dockerfile @info:cursos:altran:docker
- = Dockerfile fichero de scripting para generar un contenedor <sxh; title:Dockerfile> FROM debian:latest RUN apt-get update && apt-get... rno (modificar PATH) * ARG : variables de Dockerfile (no en el contenedor) * COPY : copiar ficheros ... ","-g","daemon off;"] </sxh> === COPY * ''COPY file /path/to/file'' : copia **file** en **/path/to/**
- Sesión 6 : ansible @info:cursos:pue:devops
- : true - name: Set authorized key taken from file authorized_key: user: operador state: present key: "{{ lookup('file', '/home/devops/.ssh/id_ed25519.pub') }}" b... me: check centos correct suoders line lineinfile: path: /etc/sudoers state: presen... : true - name: Set authorized key taken from file authorized_key: user: operador
- 4.1 Logging in Python @info:cursos:pue:python-pcpp1:m5
- ifferent places. Most often it's in the form of a file, but it can also be an output stream, or even an ... ur DEBUG message')</code> Result in ''prod.log'' file: <code>CRITICAL:root:Your CRITICAL message</code>... ument, all logs will be directed to the specified file. In addition, passing the last ''filemode'' argu... ode) means that new logs will be appended to this file. If you'd like to change this mode, you can use o
- [Docker SecDevOps] Capítulo 2 : Dockerfile @info:libros:docker-sec-dev-ops
- = [Docker SecDevOps] Capítulo 2 : Dockerfile * ''#'' comentarios o directivas * ''INSTRUCCIÓN argum... _imagen>[:tag]'' * ''-f <nombre_fichero_Dockerfile>'' == directivas * antes de la instrucción **F... **escape** : caracter de escape en ficheros Dockerfile. Soporta %%\%% y %%`%% == ENV * variables de e... endemos es excluirlo * se puede excluir //Dockerfile// también, pero solo se ignorará en las instrucci
- Windows @info:cursos:udemy:ansible:modulos
- win_feature : activar/des características * win_file : crear/eliminar ficheros/directorios * win_get... * win_group: gestión grupos locales * win_lineinfile: verifica la existencia de una línea en un ficher... nfig.txt dest: c:\config.txt </code> === win_file [[https://docs.ansible.com/ansible/latest/modules/win_file_module.html#win-file-module]] * requerido *
- LPIC2 2021 Sesión 3 (2021-02-09) - procesos, kernel, systemd/systemv, modulos @info:cursos:pue:lpic2-2021