JohnHammond / vbe-decoder

A Python3 script to decode an encoded VBScript file, often seen with a .vbe file extension
184 stars 30 forks source link

Syntax error on any command #3

Open alex47 opened 3 years ago

alex47 commented 3 years ago

The error message says:

File ".\vbe-decoder.py", line 47
    result :list = []

Please see the attached image for more info

image

JohnHammond commented 3 years ago

I believe type hinting was released in Python 3.5 -- if you upgrade your Python version that error should go away. I can update the README and instructions to reflect using a Python version >= 3.5

On Thu, Oct 14, 2021 at 5:21 AM Alex Nemeth @.***> wrote:

The error message says:

File ".\vbe-decoder.py", line 47 result :list = []

Please see the attached image for more info

[image: image] https://user-images.githubusercontent.com/10761683/137289231-d0f2e001-dcc1-44bd-ace5-7eaaaebeddf5.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/JohnHammond/vbe-decoder/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABP7KUTKGCLS4XR6WLRYVX3UG2OLHANCNFSM5F7FPBOQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

alex47 commented 3 years ago

oops, my bad then. I saw it needs python3 so I downloaded it from here: https://www.python.org/download/releases/3.0/

maybe a "download python3 from here" url would be nice too.