Interest in Python

Started by
7 comments, last by Alberth 6 years, 2 months ago

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

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.

Stephen M. Webb
Professional Free Software Developer

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

if you think programming is like sex, you probably haven't done much of either.-------------- - capn_midnight

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.

 

A game server engineer...

JetBrains (the makers of IntelliJ) also produce a dedicated Python IDE. Use the free community edition.

Tristam MacDonald. Ex-BigTech Software Engineer. Future farmer. [https://trist.am]

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

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.

Omae Wa Mou Shindeiru

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.

This topic is closed to new replies.

Advertisement