-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPy_HelloPython1.py
More file actions
29 lines (23 loc) · 1017 Bytes
/
Py_HelloPython1.py
File metadata and controls
29 lines (23 loc) · 1017 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import os
#import msvcrt
#import win32gui, win32con
#import pythoncom
#hwnd = win32gui.GetForegroundWindow()
#win32gui.ShowWindow(hwnd, win32con.SW_MAXIMIZE)
print("Willkommen bei Python in Visual Studio Code (Welcome to the Python in Visual Studio Code)\n")
intSize = os.get_terminal_size()
print("Aktuelle Breite:" , intSize.columns, " - Aktuelle Höhe: ", intSize.lines)
input("Drücken Sie die ENTER-Taste, um fortzufahren...")
intSize = os.get_terminal_size()
print("Aktuelle Breite:" , intSize.columns, " - Aktuelle Höhe: ", intSize.lines)
input("Drücken Sie die ENTER-Taste, um fortzufahren...")
intSize = os.get_terminal_size()
print("Aktuelle Breite:" , intSize.columns, " - Aktuelle Höhe: ", intSize.lines)
input("Zum Beenden drücken Sie die ENTER-Taste...")
print("Zum Verlassen eine beliebige Taste druecken (Press ANY key to exit):", end='')
#pythoncom.PumpWaitingMessages()
#key = msvcrt.getch()
key = input()
#print('\033[3A')
#print('\033[2A')
#print('\033[2F')