/pyg/ Python general
Help and discussions about the Python language, libraries, homework etc.
>Language tutorial
https://docs.python.org/3/tutorial/
>Web development frameworks
http://flask.pocoo.org/
https://www.djangoproject.com/
>SQL
http://www.sqlalchemy.org/
>Plotting
http://matplotlib.org/
>Machine Learning / Scientific calculations
http://www.numpy.org/
http://pandas.pydata.org/
https://www.tensorflow.org/
http://scikit-learn.org/
>Astronomy
https://github.com/astropy/astropy
>Python Package Index (PyPi)
https://pypi.python.org/pypi
What are you working on, /g/?
Anyone know if Pygame works for Python 3?
The only copies of it I've seen were for Mac. I'm looking to run it in Ubuntu.
I've got Pygame running already, but for Python 2, which ain't too modern.
>>57871646
Python 2 is for sure modern. no need to switch to 3 unless you have autism.
>>57871674
Python 3 is present and future, anon. Python 2 is the past.
>>57871646
It should work on Python 3. The setup.py in the pygame's package on PyPI includes specific setup instructions for Python 3
>>57871646
>>57871788
They definitely support Python 3 - pygame has a separate branch for it on Travis
https://travis-ci.org/illume/pygame
>>57871893
I apologize for my retardation, but I'm unaware of how to use that link.
>>57871788
Alright thanks, I'll look at the tar.gz one on the bottom there (https://pypi.python.org/pypi/Pygame).
>>57872558
For starters, open it in you browser.
Travis is a CI service, which integrates with a Git repository and runs tests every time a commit is made to the repo. This allows to know when a build is good or bad, i.e., usable or not. Since most software has to support more than one configurations or versions, then want to run all the tests in all the configurations / setups they officially support.
From the link above, you can see that Pygame runs all their tests on Python 2.7, 3.4 & 3.5 on Linux.
Then once you have a passing build, you can automate this further and build a package which is ready to be deployed to production / published to users, so that automates the release process and makes your life easier.