8000 RobinsonOrregoT (Robinson Orrego T) · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
View RobinsonOrregoT's full-sized avatar

Block or report RobinsonOrregoT

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. determina fecha actual, dia correspo... determina fecha actual, dia correspondiente a la semana y agrega un nuevo dia habil [Python]
    1
    from datetime import date , datetime, timedelta
    2
    
                  
    3
    def calcula_fecha():
    4
     hoy = date.today()
    5
     dia_semana = hoy.weekday() # 0 = lunes, 1 = martes ,2=miercoles , 3=jueves, 4=viernes  +++++++ 5=sabado, 6 =domingo. ++++++++++
  2. Ping a host - Windows + Python Ping a host - Windows + Python
    1
    import os, platform, subprocess
    2
    from dotenv import load_dotenv
    3
    
                  
    4
    load_dotenv() #Carga de archivo ".env", con formato equipos=xxx.xxx.xxx.001,xxx.xxx.xxx.002
    5
    lista_ips = os.getenv("equipos").split(',')
0