Python Extension Programming

In Python script sometimes if there is any code written using compiled languages such as C, C++, or java, is known as Extension. A Python Extension programming Module is known as a normal C library. To Create Python Extension Programming, code should be grouped in 4 main parts: First is the Header file of extension … Read more

Python Multithreaded Programming

Before going to Python Multithreaded Programming, let’s understand what is the thread? A thread is an entity within a process that can be scheduled for execution. It’s the smallest unit of processing that can be performed in an Operating System. A thread can be defined as a sequence of such instructions within a program that can be executed independently … Read more

Python Sending E-mail

In python sending e-mail can be done by using a protocol named Simple Mail Transfer Protocol (SMTP), which handles sending e-mail and routing e-mail between mail servers. Python provides another module called smtplib module, which defines an SMTP client session object that can be used to send mail to any Internet machine with an SMTP or ESMTP … Read more

Python Network Programming

In Python Network Programming there are two levels of access to network services. Low level access and High level access. At a low level, the basic socket support can be accessed in the underlying operating system. It allows you to implement clients and servers for both connection-oriented and connectionless protocols. Higher level libraries provide access … Read more

Python DataBase Access

The database is a collection of tables related to each other via columns. For most real-world projects, a database is very important. To create, access, and manipulate data we can use SQL (Structured Query Language).To avoid redundancy of data we can also use normalization. For Python database Access programming, Python supports many database servers such … Read more

Python XML Processing

Python XML Processing is another advanced python processing. XML Extensible Markup Language is a markup language that allows developers to develop applications that can be read by other applications. XML is a portable, open-source language. It encodes documents by defining a set of rules in both machine-readable and human-readable format. Extended from SGML Standard Generalized … Read more

GUI-Geometry Management

In Python, Tkinter widgets allow access to specific GUI-geometry management methods. These geometry management methods used to organize widgets throughout the parent widget area. Widgets can be arranged by determining the size and position of components. The geometry managers always set the positioning and sizing. There are 3 main GUI-Geometry Management given below: The pack( … Read more

Difference between Python 2 and Python 3

From the time Python was first released till now it has come with variant and advanced versions. Every version is better than earlier. In this section, we are going to review the Difference between Python 2 and Python 3. For better understanding of Python 2 and Python 3 version have a look on these tables. … Read more

List count(obj) Method

In Python Built-In List count(obj) method is used to returns the count of how many times obj occurs in the given list. Syntax: There is 1 Parameter used in list count(obj) method: obj Shows the object to be counted in the list. Example:

List append(obj) Method

In Python Built-In List append(obj) method is used to append a passed obj into the existing list. Syntax: There is 1 Parameter used in list append(obj) method: obj Shows the object to be appended in the list. Example: