Pradeep Elance has Published 417 Articles

OS Path module in Python

Pradeep Elance

Pradeep Elance

Updated on 28-Dec-2020 11:11:29

10K+ Views

The os.path module is a very extensively used module that is handy when processing files from different places in the system. It is used for different purposes such as for merging, normalizing and retrieving path names in python . All of these functions accept either only bytes or only string ... Read More

Oracle Database Connection in Python

Pradeep Elance

Pradeep Elance

Updated on 28-Dec-2020 11:10:19

2K+ Views

Python can connect to oracle using a python package called cx_Oracle. Oracle is one of the famous and widely used database and python’s data processing features are leverages well using this connectivity. In this article we will see how we can connect to oracle database and query the DB.Installing cx_OracleWe ... Read More

The netrc file processing using Python

Pradeep Elance

Pradeep Elance

Updated on 28-Dec-2020 11:08:34

1K+ Views

The netrc class in python is used to read the data from the .netrc file presnt in unix systems in user’s home firectory. These are hidden files containing user’s login credential details. This is helpful for tool slike ftp, curl etc to successfully read the ,netrc file and use it ... Read More

Encode and decode XDR data using Python xdrlib

Pradeep Elance

Pradeep Elance

Updated on 28-Dec-2020 11:04:10

604 Views

Encoders and decoders for the External Data Representation (XDR). When we transport data between different external sources, this is the commonly used format that is used. It useful for creation and transfer of complex data structures. XDR provides a service associated with the OSI Presentation Layer.In the below program we ... Read More

Encode and decode uuencode files using Python

Pradeep Elance

Pradeep Elance

Updated on 28-Dec-2020 10:57:25

1K+ Views

It is a common requirement during file transfers to encode and decode them for various reasons like encryption, compression or just because they are going to be processed by different OS or file reading programs. The uuencode module helps us on both encoding and decoding files as shown below.Encode the ... Read More

Encode and decode MIME quoted-printable data using Python

Pradeep Elance

Pradeep Elance

Updated on 28-Dec-2020 10:55:16

2K+ Views

Many times we need to deal with data which not always has the regular ASCII characters. For example, an email in a different language other than English. Python has mechanism to deal with such characters by using MIME (Multipurpose Internet Mail Extensions) based module. In this article we will see ... Read More

Python - Button Action in Kivy

Pradeep Elance

Pradeep Elance

Updated on 28-Dec-2020 10:53:23

601 Views

Kivy is an open source Python library for rapid development of applications that make use of innovative user interfaces, such as multi-touch apps. It is used to develop the Android application, as well as Desktops applications. In this article we will see how to use events when a button is ... Read More

Python - BoxLayout widget in Kivy

Pradeep Elance

Pradeep Elance

Updated on 28-Dec-2020 10:51:13

721 Views

Kivy is an open source Python library for rapid development of applications that make use of innovative user interfaces, such as multi-touch apps. It is used to develop the Android application, as well as Desktops applications. In this article we will see how to use the BoxLayout widget to create ... Read More

Python - AnchorLayout in Kivy

Pradeep Elance

Pradeep Elance

Updated on 28-Dec-2020 10:47:44

653 Views

Kivy is an open source Python library for rapid development of applications that make use of innovative user interfaces, such as multi-touch apps. It is used to develop the Android application, as well as Desktops applications. In this article we will see how to use the anchor layout positioning.Using AnchorLayouts ... Read More

Python - Convert list of nested dictionary into Pandas Dataframe

Pradeep Elance

Pradeep Elance

Updated on 28-Dec-2020 10:39:57

5K+ Views

Many times python will receive data from various sources which can be in different formats like csv, JSON etc which can be converted to python list or dictionaries etc. But to apply the calculations or analysis using packages like pandas, we need to convert this data into a dataframes. In ... Read More

Previous 1 ... 3 4 5 6 7 ... 42 Next
Advertisements