Skip to content

Instantly share code, notes, and snippets.

@JohannesGolf
JohannesGolf / gist:ae1f5ca13d881e487011
Last active August 29, 2015 14:01
Informationen per Ping-Befehl
import subprocess
subprocess.os.system("sudo arp -a -d")
print " "
print "###################"
print "Programm Start"
print "###################"
print " "
import subprocess
print "###################"
print "Das folgene kann ignoriert werden:"
subprocess.os.system("sudo arp -a -d")
print "###################"
print " "
print "###################"
import os, datetime, zipfile
def showProgramInformation():
print " "
print "#######################################################"
print "Python Log-Packer.py Ver. 1.4"
print "Search for files, separate the .log fils, compress them"
print "and delete the origin file"
print "log-File = Files with '.log' in name"
print "#######################################################"