Tag Archives: Python

Python – How to create a RESTful service

By | 14/01/2020

In this post, we will see how to create a RESTful service for handling data of some Dogs, with Python and Flask. First of all, what Flask is?From Wikipedia:“Flask is a micro web framework written in Python. It is classified as a microframework because it does not require particular tools or libraries.It has no database abstraction layer, form validation, or any… Read More »

Python – Set

By | 30/09/2019

Set is an unordered collection of comma separated unique elements inside curly braces. The order of element is undefined and it is possible to add and delete elements and, it is possible to perform standard operations on sets like union, intersection and difference.In this post, we will see how to manage Set in Python. CREATE… Read More »

Python – Tuple

By | 13/09/2019

In this post, we will see how to manage Tuples in Python.But first of all, what is a Tuple?A tuple is a collection of immutable objects separated by commas. CREATE A TUPLE CONCATENATION NESTING GET VALUES DELETE A TUPLE UPDATE SEARCH TUPLE IN ACTION

Python – Class

By | 23/08/2019

In this post, we will see how to define a Class from scratch and how to inherit from an existing in Python. DEFINE A CLASS Define a Class called Person: Now, we create a Python script, where we will use the class Person: [TEST2.PT] If we run the program, this will be the result: INHERIT… Read More »