Python + Flask - Part 4 - Remote Database

Oct 19, 2019 2 min.

This is the fourth and last part of a series about the Flask framework, a common tool used to create web applications with Python. Objectives The part 4 will focus on connecting the web API with a remote database. The full example is available here: Python-Flask. Topics Remote Database Remote Database Let’s connect with a remote MySQL database now. Follow the instructions in this article or in this repository to create a database and get the connection string.

Python + Flask - Part 3 - Local Database

Oct 19, 2019 1 min.

This is the third part of a series about the Flask framework, a common tool used to create web applications with Python. Objectives The part 3 will focus on connecting the web API with a local database. The full example is available here: Python-Flask. Topics Local Database Local Database Create another Python file inside the api folder called _dbapi and write this code: The functions below must be created as well:

Python + Flask - Part 2 - HTTP Methods

Oct 19, 2019 2 min.

This is the second part of a series about the Flask framework, a common tool used to create web applications with Python. Objectives The part 2 will focus on creating HTTP methods to our web API. The full example is available here: Python-Flask. Topics GET POST PUT DELETE GET Create a dictionary called _usersdict to be returned after a GET request: Access the URL below and see the result:

Python + Flask - Part 1 - Web API

Oct 19, 2019 2 min.

This is the first part of a series about the Flask framework, a common tool used to create web applications with Python. Objectives In this series you will learn how to create a web API in Python, make requests and connect it with local and remote databases. The part 1 will focus on the virtual environment to install Flask and how to run a web API. The full example is available here: Python-Flask.

.Net Core web API - Part 3 - Heroku

Oct 16, 2019 2 min.

NetCore3-Heroku Deploying a .Net Core 3 web API to Heroku by using Docker. Technologies .Net Core 3 Docker Heroku Before start This guide is directed for those who have a mininum experience with Docker and a proper environment to run it. Topics Heroku .Net Core 3 Docker Heroku Heroku is a cloud platform that allows applications be hosted at will. It’s mostly used for web APIs.

Python for Beginners - Part 6 - Web API connection, Dictionary, Environment Variable and Decorator

Oct 15, 2019 2 min.

Last part of articles about the Microsoft’s Python for Beginners series. You can read the part 5 here. All the examples from the playlist are available in this GitHub repository: Python Examples. Objective You will learn how to make connect with web APIs, manipulate dictionaries, read environment variables and use decorators. A Python file was created to demonstrate each example. Topics api/post.py dictionary.py keys.py decorators.py api/post.py Making a POST request to a web API.

Python for Beginners - Part 5 - Function, Module and Virtual Environment

Oct 15, 2019 2 min.

Fifth part of articles about the Microsoft’s Python for Beginners series. You can read the part 4 here. All the examples from the playlist are available in this GitHub repository: Python Examples. Objective You will learn how to create functions, importing modules and creating virtual environments. A Python file was created to demonstrate each example. Topics function.py module.py venv.py function.py Creating functions. Executing the command below: python .

Python for Beginners - Part 4 - Conditional logic, Collection and Loop

Oct 15, 2019 1 min.

Fourth part of articles about the Microsoft’s Python for Beginners series. You can read the part 3 here. All the examples from the playlist are available in this GitHub repository: Python Examples. Objective You will learn how to work with conditional logics, collections and loops. A Python file was created to demonstrate each example. Topics conditional.py collection.py loop.py conditional.py Conditional logic examples. Running the example: python .\examples\conditional.py The result:

Python for Beginners - Part 3 - Number, Date and Error Handling

Oct 15, 2019 1 min.

Third part of articles about the Microsoft’s Python for Beginners series. You can read the part 2 here. All the examples from the playlist are available in this GitHub repository: Python Examples. Objective You will learn about the operations with numbers, dates and how to handle errors. A Python file was created to demonstrate each example. Topics number.py date.py error_handling.py number.py Ex: Testing math operations with numbers and numeric strings .

Python for Beginners - Part 2 - Input, Error and String

Oct 13, 2019 2 min.

Second part of articles about the Microsoft’s Python for Beginners series. You can read the part 1 here. All the examples from the playlist are available in this GitHub repository: Python Examples. Objective You will learn about the input function, runtime error and operations with string. A Python file was created to demonstrate each example. Topics input.py error.py strings.py input.py If you want the user interaction to obtain a value, use the input function.