Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


#Actualthok

Posted 26 April 2013 - 05:38 AM

For the database I will use MySQL and SQLAlchemy, and Twisted for the network. If you know any interesting library which can help me doing this thing, tell me please. That is, if you don't mind it.

 

The philosophy of Python's standard libraries is "batteries included", so pretty much everything you'll need exists in the standard lib (apart from things like Twisted and SQLAlchemy). So it depends on what you want to do. Google is your friend in this case. If you want to do some particular thing in your code, just search "python <particular thing>". This will tell you pretty quickly if there is a package in the standard lib to help you with this.

 

It would be pointless to suggest particular libraries with knowing exactly what you're building. However, being rather passionate about Python, I will suggest a few other subjects for further reading:

  1. Python style guide (PEP8) - http://www.python.org/dev/peps/pep-0008/  <--- read this twice
  2. pep8 tool (for automatically checking if your code meets style guidelines) - https://pypi.python.org/pypi/pep8
  3. Learn about unit testing and write tests for your code - http://docs.python.org/2/library/unittest.html
  4. From a command prompt, type this: python -c "import this". Read.

#1thok

Posted 26 April 2013 - 05:38 AM

For the database I will use MySQL and SQLAlchemy, and Twisted for the network. If you know any interesting library which can help me doing this thing, tell me please. That is, if you don't mind it.

 

The philosophy of Python's standard libraries is "batteries included", so pretty much everything you'll need exists in the standard lib (apart from things like Twisted and SQLAlchemy). So it depends on what you want to do. Google is your friend in this case. If you want to do some particular thing in your code, just search "python <particular thing>". This will tell you pretty quickly if there is a package in the standard lib to help you with this.

 

It would be pointless to suggest particular libraries with knowing exactly what you're building. However, being rather passionate about Python, I will suggest a few other subjects for further reading:

  1. Python style guide (PEP8) - http://www.python.org/dev/peps/pep-0008/  <--- read this twice
  2. pep8 tool (for automatically checking if your code meets style guidelines) - https://pypi.python.org/pypi/pep8
  3. Learn about unit testing and write tests for your code - http://docs.python.org/2/library/unittest.html
  4. From a command prompt, type this: `python -c "import this"`. Read.

PARTNERS