Skip to content

Python3 support, autopep8 formatting, fix for os.startfile()#11

Open
skypeachblue wants to merge 4 commits into
sherlly:PCRT-python3from
skypeachblue:master
Open

Python3 support, autopep8 formatting, fix for os.startfile()#11
skypeachblue wants to merge 4 commits into
sherlly:PCRT-python3from
skypeachblue:master

Conversation

@skypeachblue

Copy link
Copy Markdown

New pull request for the correct branch

Converted to Python3
Formatted the code with autopep8
os.startfile() is a windows-only function, I created the startfile() function which checks the platform and calls the correct function to make this work on Linux

Tested with the example files on Manjaro Linux Python 3.10

@sherlly

sherlly commented Aug 31, 2022

Copy link
Copy Markdown
Owner

Can you test this version on Python 3.8 or Python 3.6? I think they are more popular one for users.

@Zeecka

Zeecka commented Jan 5, 2026

Copy link
Copy Markdown
  File "/home/user/Desktop/PCRT.py", line 68
    except IOError,e:
           ^^^^^^^^^
SyntaxError: multiple exception types must be parenthesized

@Zeecka Zeecka mentioned this pull request Jan 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants