commit message from python script

This commit is contained in:
2023-11-13 15:19:46 +01:00
parent 29d421924c
commit 8b62cc0af0
3 changed files with 62 additions and 1 deletions

26
create_wireguard_os_simple/default_server.py Normal file → Executable file
View File

@@ -1 +1,25 @@
#! /usr/bin/env python3
#! /usr/bin/env python3.11
import os
class create_server:
def create_config(self):
pass
def create_unit(self):
pass
if __name__ == "__main__":
####Test_block
def get_file(name):
try:
return open(name)
except FileNotFoundError as NoFile:
print(NoFile.strerror)
print("File wird angelegt")
return False
test = get_file(name="test.ymll")
print(test)