Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxError: invalid syntax #11

Open
Drjacky opened this issue Dec 17, 2021 · 2 comments
Open

SyntaxError: invalid syntax #11

Drjacky opened this issue Dec 17, 2021 · 2 comments

Comments

@Drjacky
Copy link

Drjacky commented Dec 17, 2021

python3 scripts/Algorithms/regression_models.py input output
  File "StockPricePrediction/scripts/Algorithms/regression_models.py", line 77
    except Exception, e:
                    ^
SyntaxError: invalid syntax

But, isn't the command like: python scripts/Algorithms/regression_models.py <input-dir> <output-dir>?

@AlphaVS-76
Copy link

It should be
except Exception as e:

@imsoumya18
Copy link

I have made a pull request. Let's see if he merges.

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

No branches or pull requests

3 participants