CamDavidsonPilon / Probabilistic-Programming-and-Bayesian-Methods-for-Hackers

aka "Bayesian Methods for Hackers": An introduction to Bayesian methods + probabilistic programming with a computation/understanding-first, mathematics-second point of view. All in pure Python ;)
http://camdavidsonpilon.github.io/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/
MIT License
26.55k stars 7.85k forks source link

print() is a function in Python 3 #410

Open cclauss opened 5 years ago

cclauss commented 5 years ago

flake8 testing of https://github.com/CamDavidsonPilon/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers on Python 3.7.0

$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics

./Chapter3_MCMC/github_pull.py:78:28: E999 SyntaxError: invalid syntax
    print " -------------- "
                           ^
./sandbox/Chapter10_/github_datapull.py:16:55: E999 SyntaxError: invalid syntax
    print "Scrapping data from Github. Sorry Github..."
                                                      ^
./Chapter2_MorePyMC/daft_plot.py:9:41: E999 SyntaxError: invalid syntax
    print "python library Daft required."
                                        ^
3     E999 SyntaxError: invalid syntax
3