Skip to content

CodeFatherTech

Learn to Code. Shape Your Future

  • Blog
  • Courses

Python and Web Technologies

How can I check the availability of a domain with Python?

December 8, 2024May 4, 2024 by Claudio Sabato

To check if a domain is available you can call the whois command using Python and then parse the output returned by whois. This check can also be done using the nslookup or dig commands. The most common module to execute commands in Python is subprocess. Below you can see the syntax of the whois … Read more

Categories Blog Tags Python and Web Technologies Leave a comment

Working with JSONPath in Python: A Tutorial to Get Used to It

June 22, 2025July 2, 2022 by Claudio Sabato

Would you like to learn how to use JSONPath in Python to extract specific data from your JSON documents? You are in the right place. JSONPath is a query language that can extract data from JSON documents (e.g. a JSON string or a JSON file). One of the main implementations of JSONPath for Python is … Read more

Categories Blog Tags Python and Web Technologies 1 Comment

Opening a Web Browser With Python

June 22, 2025March 22, 2022 by Claudio Sabato

To open a web browser Python provides the webbrowser module. You can use the webbrowser module to open the default browser on your system using the webbrowser.open() function. You can select a specific browser to open using the function webbrowser.get(). After going through the basics on how to open a browser we will also build … Read more

Categories Blog Tags Python and Web Technologies Leave a comment

What is __name__ in Flask: Let’s Learn Python Together

December 8, 2024November 9, 2021 by Claudio Sabato

Have you ever asked yourself why when you create a Python Flask application you pass __name__ to the Flask class? I definitely did when I started working with Flask and in this tutorial, I want to make it clear to those of you who would like to know more about it. The variable __name__ is … Read more

Categories Blog Tags Python and Web Technologies Leave a comment

Validate an IP Address Using Python [Step-By-Step Guide]

December 8, 2024July 25, 2021 by Claudio Sabato

In your Python program you might want to validate an IP address. This can be a requirement if you write OS level programs and not only. To validate an IP address using Python you can use the ip_address() function of the ipaddress module. This works both for IPv4 and IPv6 addresses. You can also validate … Read more

Categories Blog Tags Python and Web Technologies Leave a comment

How Do You Use JSON in Python: Let’s Find Out

December 8, 2024May 23, 2021 by Claudio Sabato

The Python json module allows to use data in JSON format in your applications. Do you want to convert a Python object into JSON or viceversa? This is the right module to do that. The Python json module provides functions to convert a Python object into JSON (dump() and dumps()), this conversion is called serialization … Read more

Categories Blog Tags Python and Web Technologies Leave a comment

CONTACT US

Email: hello@codefather.tech

  • About Claudio Sabato
  • Privacy Policy
  • Terms and Conditions
  • Acceptable Use Policy
  • Affiliate Disclaimer
© 2025 CodeFatherTech

We are using cookies to give you the best experience on our website.

You can find out more about which cookies we are using or switch them off in .

CodeFatherTech
Powered by  GDPR Cookie Compliance
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Strictly Necessary Cookies

Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.