First steps The following steps are based on a summary of the Django Tutorial Create project Create view Create view in app_base/views.py Add view to app_base/urls.py Add urls to project main/urls.py Create admin user Create data and database Create database model in app_base/models.py Activating models in main/settings.py Make app modifiable […]
Python
First Step: Hello World Sample The following steps at borrowed from the quick start tutorial. Download sample repository Create virtual environment Login zu Azure Deploy to App Service Create Django App with PostgreSQL Installation PostgreSQL on Mac OS Set user and passwords for postgres database Create database and user for […]
First steps The following steps are based on a summary of the Django Tutorial Create project Create view Create view in app_base/views.py Add view to app_base/urls.py Add urls to project main/urls.py Create admin user Create data and database Create database model in app_base/models.py Activating models in main/settings.py Make app modifiable […]
Part 1: Create a TDD Python Project Part 2: Use Jenkins to automatically test your App Part 1: Create a TTD Python Project Final source code is on Github. Introduction The task of creating an error free program is not easy. And, if your program runs free of errors, keeping it […]
Tutorial: Django-Polls App We start with this amazing tutorial in building a Django polls app. The final code of the tutorial is here. After this, we will extend the App with additional feature like Bootstrap and Angular 8. Starting with Django Installation with Pip Install from Source Tutorial https://docs.djangoproject.com/en/2.2/intro/tutorial02/ Configure […]
Cookbook Customize start dir Search for the following line in the file Replace by Free online Notebooks https://notebooks.azure.com/ https://nbviewer.jupyter.org/ https://colab.research.google.com/notebooks/welcome.ipynb
Introduction venv module virtualenv pipenv pipenv Introduction Pipenv — the officially recommended Python packaging tool from Python.org, free (as in freedom). Read here how to install in details Installation For Mac OS and brew package manager Prepare environment venv module Installation Nothing required. Module venv is part of the Python distribution […]
Possible Solutions plumbum Github XonSH Github (git clone https://github.com/xonsh/xonsh.git) IPython Sarge Source (hg clone https://bitbucket.org/vinay.sajip/sarge) sh Github (git clone https://github.com/amoffat/sh.git) Plumbum Install: pip install plumbum
Introduction iPython ist ein Kommandozeileninterpreter zum interaktiven Arbeiten mit der Programmiersprache Python. IDEs and Environments iPython Jupyter Anaconda Install Jupyter $ virtualenv --python python3 jupyter $ cd jupyter $ . bin/activate $ pip install --upgrade pip $ pip install jupyter Finally run jupyter jupyter notebook Anaconda $ virtualenv --python python3 anaconda $ cd anaconda […]