Jump to content
  • Advertisement

Recommended Posts

I was looking for a library to make a server/clients program.  I was thinking there would be easy tutorials for Javascript or Java.  What I ran across that is interesting is a Python tutorial for teens that looks pretty easy.     https://www.raywenderlich.com/38732/multiplayer-game-programming-for-teens-with-python

I don't know too much about Python though and I am wondering if the language is worthwhileIs it supported?  Also, I am interested in the possible use of a relational database, of which I found :  PostgreSQL.

If you know Python could you please give me a recommendation.  Its future, use, popularity, IDE, Database suggested?  From what I see it looks like an understandable language.

One of the highly recommended IDEs called Pycharm has no database support, so I stopped here and thought I'd bring it up in this forum.

 

I'm interested in any free versions too,

EDIT: Pygame is a download needed :   https://www.raywenderlich.com/24252/beginning-game-programming-for-teens-with-python

Thank you; maybe you have alternate suggestions?

Josheir

Edited by Josheir

Share this post


Link to post
Share on other sites
Advertisement

Yes.  Python is one of the main languages that runs the internet.  It is widely support.  It is worthwhile to be familiar with and a joy to use to program in.

The Python standard library has support for RDBMs and key-value databases.  I can't recommend an IDE (because I don't recommend using an IDE) but the one that ships with Python itself is IDLE.

Share this post


Link to post
Share on other sites

Yep, python is a great language. It’s very popular and some huge projects use it (Eve online, i think). 

You can also write bindings for it in C or C++. 

As for an IDE, there are plenty out there. Both Eclipse and Visual Studio have python plug-ins. 

It can also make you fly

Share this post


Link to post
Share on other sites

I agree with Bregma and ChaosEngine. Besides, i'd like to recommand VSCode as your Python IDE, which is the future of code editor IMO.

 

Share this post


Link to post
Share on other sites
On ‎2‎/‎2‎/‎2018 at 10:09 PM, Xinzhen Chen said:

I agree with Bregma and ChaosEngine. Besides, i'd like to recommand VSCode as your Python IDE, which is the future of code editor IMO.

 

Do you have any suggestions for extensions for VSCode ?  Lint, or anything else great for a beginner?

Thank you,

Josheir

Share this post


Link to post
Share on other sites

In my experience, particularly considering you are learning, you are going to use the Python reference documentation more intensely than an IDE; I wouldn't bother with linters and the like. 

Within the official reference documentation, which on Windows comes conveniently compiled in a CHM help file, I recommend:

  • The first few chapters of "The Python Tutorial" as a gentle tutorial.
  • "The Python Language Reference" for fundamental and theoretical concepts (e.g. name lookup rules) and syntax doubts
  • "The Python Standard Library" for how to do something specific; it includes "Built-in Functions" and "Built-in Types", covering the core of the language, and many chapters about specific standard library modules.
  • "What's new in Python" for the embedded PEPs. Thanks to their purpose of convincing the community to adopt them, Python Enhancement Proposals provide a very focused description of new language and library features in a formal and detailed but readable style.

Share this post


Link to post
Share on other sites

As Python (but eg Lua too) is a dynamic language, it's quite impossible to decide on semantics of some code until runtime. Checkers can catch a few things but not everything.

If you still want linters, there is pylint (https://www.pylint.org/) which is mostly checking PEP8, the defacto-standard code style. There is also pyflakes (https://pypi.python.org/pypi/pyflakes) which is more oriented to finding real errors.

pypi.python.org is btw a useful resource for random packages that you might need, pretty much anything you need already exists.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!