💾 Archived View for chirale.org › 2016-10-24_2083.gmi captured on 2024-05-12 at 15:21:01. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

How to start programming in Python on Windows

To develop in Django can be confusing for a new Python developer but using Windows to develop in Django can be a major obstacle too.

How to choose the right IDE for Windows and how to find and install Python libraries? Below six fundamental resources to program with Python on Windows.

Bitnami Django Stack

For developer using Windows, Bitnami Django Stack is a life-saver. It raises you to the need of installing and configuring many libraries and simply create a Python / Django environment on your system. Even if you don’t want to use Django, it can be a great starting point to install Python and fundamental libraries you can extend via PyCharm.

Bitnami Django Stack

PyCharm

Screenshot: official website

JetBrains’ PyCharm is the multiplatform IDE to develop in Python. You can forget about the indentation issue and focus on programming. The autocomplete dropdown, the Python console, the easy management of DVCS systems (Git, Mercurial), the easy access to Python packages repositories will make it the tools for Python programming, especially in Windows where there are few alternatives than Linux. On Windows, rely on the Bitnami Django Stack you’re using to load the right libraries.

JetBrains’ PyCharm

Git

Mercurial

PyPI – Cheese Shop

PyPI is the repository of Python packages. Since the PyPI is nearly unpronounceable, you can call it Cheese Shop. Python was named by Guido van Rossum after the British comedy group Monty Python and the Cheese Shop is this sketch:

Monty Python

Contrary on the poor guy in the sketch, you will find all sort of cheese you need in the cheese shop.

Pip

Pip is the definitive tool for installing Python packages from Cheese shop on your environment. pip install package-name and you’ll get the package ready and running. Even more interesting is the pip install -r requirements.txt feature. It will install all the packages listed in the requirements.txt text file usually shipped with a package having some dependencies.

PgAdmin

Screenshot: official website

Django and PostgreSQL DBMS are a powerful couple. If you have to use a PostgreSQL database, the best interface you can use is PgAdmin.

PostgreSQL

Django Packages

Django Packages is the Hitchhiker guide to the cheese shop. You’ve to choose a REST framework but you don’t want to marry with a unreliable partner? You need a good photo gallery and you want to get the best django app to implement in your django application? Django packages will guide you to the best solution for your needs.

Django Packages

django-packages

Any feature has a comparison matrix, where all projects are listed in columns where these criterion, elaborated from Github, are contemplated:

If you’re coming from a CMS like Drupal here some tips to how to approach a Model-View-Controller like Django, starting from the Entity-Relationship model.

tips to how to approach a Model-View-Controller like Django, starting from the Entity-Relationship model

Personal note: Back in the 1998 I start to develop application for the web using ASP and PHP and dependencies weren’t an issue since these languages are for the web. Developing in Python is more challenging and really more fun than programming in PHP. You have a powerful multipurpose language with a ton of libraries competing in a far larger arena than the web development. Not surprising, Google use this language extensively as of some popular web services like Pinterest and Instagram: these last two are using Django.

Read also on the same topic: Django development on Virtualbox: step by step setup

Django development on Virtualbox: step by step setup

https://web.archive.org/web/20161024000000*/https://bitnami.com/stack/django

https://web.archive.org/web/20161024000000*/https://chirale.wordpress.com/2016/10/24/django-fundamental-tools-for-new-python-developers/complexlook2x/

https://web.archive.org/web/20161024000000*/https://www.jetbrains.com/pycharm/

https://web.archive.org/web/20161024000000*/https://git-scm.com/

https://web.archive.org/web/20161024000000*/https://www.mercurial-scm.org/

https://web.archive.org/web/20161024000000*/https://en.wikipedia.org/wiki/Monty_Python

https://web.archive.org/web/20161024000000*/https://www.youtube.com/embed/Hz1JWzyvv8A?version=3&rel=1&showsearch=0&showinfo=1&iv_load_policy=1&fs=1&hl=en&autohide=2&wmode=transparent

https://web.archive.org/web/20161024000000*/https://chirale.wordpress.com/2016/10/24/django-fundamental-tools-for-new-python-developers/pgadmin4-properties/

https://web.archive.org/web/20161024000000*/https://www.postgresql.org/

https://web.archive.org/web/20161024000000*/https://djangopackages.org/

https://web.archive.org/web/20161024000000*/https://chirale.wordpress.com/2016/10/24/django-fundamental-tools-for-new-python-developers/django-packages/

https://web.archive.org/web/20161024000000*/https://chirale.org/2016/01/22/from-drupal-to-django-how-to-migrate-contents/

https://web.archive.org/web/20161024000000*/https://www.python.org/

https://web.archive.org/web/20161024000000*/https://engineering.instagram.com/web-service-efficiency-at-instagram-with-python-4976d078e366