Python-OS icon indicating copy to clipboard operation
Python-OS copied to clipboard

Please solve this error as soon as possible

Open ashn1234 opened this issue 1 year ago • 2 comments

This below error is coming when I am running this project

File "C:/Users/DELL/Desktop/Python-OS-main/OS.py", line 10, in from System.core.system import System File "C:\Users\DELL\Desktop\Python-OS-main\System\core\system.py", line 19, in from System.core.boot import boot_phase, set_boot, set_desktop_mode File "C:\Users\DELL\Desktop\Python-OS-main\System\core\boot.py", line 49 match boot_phase: ^ SyntaxError: invalid syntax

Process finished with exit code 1

ashn1234 avatar Jun 24 '23 15:06 ashn1234

It is considered to be a good practise to censor your Windows username in file paths, something like C:/Users//

WinFan3672 avatar Jul 09 '23 18:07 WinFan3672

It seems that match is not recognized in the python syntax, do you have python 3.10 installed?, anyway, I'm going to change that, since it's very restrictive

TheBigEye avatar Aug 24 '23 13:08 TheBigEye

On Python 3.8.9 it does not work with the same error

aofrue avatar Dec 27 '24 07:12 aofrue

With the latest commits from a few minutes ago that should already be solved

TheBigEye avatar Dec 27 '24 07:12 TheBigEye