import openpyxl
from openpyxl.styles import PatternFill, Border, Side, Alignment, Protection, Font
import os.path
import datetime
from shutil import copyfile
import contaDA
import sendFileByEmail
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
********************** | |
Windows PowerShell transcript start | |
Start time: 20210307213636 | |
Username: JumpBox\cyberadmin | |
RunAs User: JumpBox\cyberadmin | |
Configuration Name: | |
Machine: JumpBox (Microsoft Windows NT 10.0.19041.0) | |
Host Application: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | |
Process ID: 7908 | |
PSVersion: 5.1.19041.610 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
********************** | |
Windows PowerShell transcript start | |
Start time: 20210307124721 | |
Username: JumpBox\cyberadmin | |
RunAs User: JumpBox\cyberadmin | |
Configuration Name: | |
Machine: JumpBox (Microsoft Windows NT 10.0.19041.0) | |
Host Application: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | |
Process ID: 6000 | |
PSVersion: 5.1.19041.610 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import subprocess | |
# Contatori orari ie 9-10 | |
def getOrario(query_day, query_hour): | |
myCmd = 'contatori_orario.bat' + ' ' + query_day + ' ' + query_hour | |
return getContatori(myCmd) | |
# Contatori totali 9-19 | |
def getGiornaliero(query_day): | |
myCmd = 'contatori_giornaliero.bat' + ' ' + query_day |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package example.micronaut | |
import io.micronaut.context.ApplicationContext | |
import io.micronaut.http.annotation.Controller | |
import io.micronaut.http.annotation.Get | |
@Controller("/hello") | |
class HelloController { | |
@Inject ApplicationContext ctx |