Python

Como Utilizar APIs Web no Python 3 — step-by-step Python tutorial on Progressive Robot

Como Utilizar APIs Web no Python 3

Uma API, ou Interface de Programação de Aplicações, torna fácil para os desenvolvedores integrar um app com outro. Elas expõem alguns dos funcionamentos internos de um programa de maneira limitada. Você pode utilizar APIs para obter informações de outros programas ou para…

Read more
How to Read Properties File in Python? — step-by-step Python tutorial on Progressive Robot

How to Read Properties File in Python?

URL: https://www.progressiverobot.com/python-read-properties-file/ We can use jproperties module to read properties file in Python. A properties file contains key-value pairs in each line. The equals (=) works as the delimiter between the key and value. A line that starts with # is treated as a comment. Installing jproperties Library This module is not part of the […]

Read more
How To Use Python-Markdown to Convert Markdown Text to HTML — step-by-step Python tutorial on Progressive Robot

How To Use Python-Markdown to Convert Markdown Text to HTML

Markdown is a markup language commonly used to simplify the process of writing content in an easy-to-read text format, which a software tool or programming library can convert into HTML to display in a browser or another writing program. In this tutorial, you will install the Python-Markdown library, use it to convert Markdown strings to HTML, convert Markdown files to HTML files, and use the Python-Markdown command line interface to convert Markdown to HTML.

Read more
Python slice string — step-by-step Python tutorial on Progressive Robot

Python slice string

URL: https://www.progressiverobot.com/python-slice-string/ Python string supports slicing to create substring. Note that Python string is immutable, slicing creates a new substring from the source string and original string remains unchanged. Python slice string Python slice string syntax is: str_object[start_pos:end_pos:step] The slicing starts with the start_pos index (included) and ends at end_pos index (excluded). The step parameter […]

Read more
Python sum() — step-by-step Python tutorial on Progressive Robot

Python sum()

URL: https://www.progressiverobot.com/python-sum/ Python sum() function is used to get the sum of numbers of an iterable. Python sum() Python sum() function syntax is: sum(iterable[, start]) start is an optional number with default value of 0. If start is provided, then the sum of start and all the numbers in the iterable is returned. Python sum() […]

Read more
Building a REST API With Django REST Framework — step-by-step Python tutorial on Progressive Robot

Building a REST API With Django REST Framework

Let’s get our hands dirty and build some APIs! With a browsable API, robust authentication policies, and object serialization, the Django REST framework is a powerful toolkit that offers an amazing experience for rapidly creating RESTful APIs on top of the popular Python framework Django.

Read more
How to scrape Amazon Product Information using Beautiful Soup — step-by-step Python tutorial on Progressive Robot

How to scrape Amazon Product Information using Beautiful Soup

URL: https://www.progressiverobot.com/scrape-amazon-product-information-beautiful-soup/ Web Scraping is the programming-based technique for extracting relevant information from websites and storing it in the local system for further use. In modern times, web scraping has a lot of applications in the fields of Data Science and Marketing. Web scrapers across the world gather tons of information for either personal or […]

Read more
CHAT