How to find whether the string contains a substring in Python?
There are couple of different ways to find whether the string contains a substring in Python program. Let us see them.
Articles about Internet, web, web site development, html, java script, etc…
There are couple of different ways to find whether the string contains a substring in Python program. Let us see them.
Here I’ve used the SimpleXML XML manipulation function of PHP for reading XML file from PHP code.
A simple way to launch a PHP website on macOS using its in-built PHP server. This may not be a solution for someone to develop and debug PHP website.
There are several packages available for Python to import JSON files. I prefer using the pandas. Here is an example to import a JSON file to a variable.
There are several packages available for Python to import CSV files. I prefer using the pandas. Here is an example to import a csv file to a variable.
Now we will see how to execute a Stored Procedure from python. For the most part, executing a stored procedure is similar to a select statement.
In this article we will see how to connect SQL Server from a Python program on macOS using the Visual Studio Code as the development environment.
How to add key value pair to a dictionary in Python? You can add key value pairs to an existing dictionary by couple of methods. Let us see them in detail.
extend() vs append(): Pythons list or array methods extend() and append() appears similar, but they perform different operations on the list. Let’s see the differences between extend() and append() list methods.
Here is the simple method to check if the list is empty or not in python programming language.
Debugging is a vital part web development. In this article, you will read about basics of debugging Python Django web application in VS Code editor.
It will be a good practice to create a code snippet instead of copy paste the template code in several files. Creating code snippet for Python Django web app in VS Code.
Simple step by step illustrations for using database in Python Django website. Here we will be using SQLite database.
Adding images and other media files is same as adding other static files. Sometime you may need to segregate images in a separate folder.
Step by step instruction on how to use Python for website development using Django as the web framework, Visual Studio Code as the editor on macOS.
Here is a simple way to copy a file in Python programming using one of the copy methods in shutil library module.
There are several ways to get a sub-string from a string in Python programming. Here we will see a simple slicing techniques to get sub string.
Here is a simple method to find the current directory of the script file in Python programming using a method from the os module.
Sometime you may need to manually raise exception in Python programming instead of thrown automatically.
There are couple of simple ways to get the last element of a list in Python programming. Let us see both these methods with samples.