web scraping using python
webbrowser Comes with Python and opens a browser to a specific page. Requests Downloads files and web pages from the Internet. Beautiful Soup Parses HTML, the format that web pages … Read More
webbrowser Comes with Python and opens a browser to a specific page. Requests Downloads files and web pages from the Internet. Beautiful Soup Parses HTML, the format that web pages … Read More
String There are three ways you can declare a string in Python: single quotes (‘), double quotes (“), and triple quotes (“””). You can use quotation marks within strings by … Read More
Catching exceptions Whenever a runtime error occurs, it creates an exception object. The program stops running at this point and Python prints out the traceback, which ends with a message … Read More
Files Note: Take care of Indentation in codes. While a program is running, its data is stored in random access memory (RAM). RAM is fast and inexpensive, but it is … Read More
Numpy NumPy is the fundamental package for scientific computing with Python. It contains among other things: a powerful N-dimensional array object sophisticated (broadcasting) functions tools for integrating C/C++ and Fortran … Read More
The following snippet counts the number of decimal digits in a positive integer: n = 40265 count = 0 while n != 0: count = count + 1 n = … Read More
Django comes with a built-in administration interface that is very useful for editing content. The Django admin site is built dynamically by reading your model metadata and providing a production-ready … Read More
Let’s create your first Django application. I am going to show you how to create a blog App. From your project’s root directory, run the following command: python3 manage.py startapp … Read More
Let’s open the settings.py file and take a look at the configuration of our project. DEBUG is a boolean that turns on/off the debug mode of the … Read More
If you have already installed Django, you can skip and jump directly to Creating your first project. If you haven’t installed Django yet, here is a quick guide to … Read More