Splitting, Joining, Trimming

python text manipulation(Splitting)

Text Manipulation Strings in Python are objects, and because of Python's strong operator support, simple tasks like concatenating two strings together can be done easily...
data manipulation in python examples

data manipulation in python examples

Most applications involve some form of data manipulation, whether it's simply adding a few numbers together or extracting the individual fields from a log...
interfacing the os in python

interfacing the os in python

The most basic operation of any programming language is to interact with the operating system under which it is running. With a command-line-based operating...
in-built functions in python(full details)

in-built functions in python(full details)

The bulk of functionality that Python provides in its standard form is handled by a series of external modules. These modules cover everything from...
Rolling Your Own Exceptions in python

Rolling Your Own Exceptions in python

You can roll your own exceptions by creating a new exception class, which you should inherit from one of the system exception classes. Alternatively,...
built in exception in python

built in exception in python

Built-In Exceptions As you've already seen, Python comes with a number of base exceptions and exception classes. All of these exceptions can be used and...
exception handling in python with example

exception handling in python with example

 Exception Handling The exception process uses the try statement in two different forms: the try...except...else statement and the try...finally statement. You've already seen a few...
what is exception in python (python exception)

what is exception in python (python exception)

Up until now this book has carefully avoided the problems of trapping errors. This is because we've concentrated on the fundamentals of the language...
python is object oriented programming language

python is object oriented programming language

Object orientation  Object-oriented programming is a mechanism that allows you to create intelligent variables-called objects-that can be used to store complex structures that not on...
Import module in Python with Examples

Import module in Python with Examples (Modules of Python)

As programs get larger and larger, it makes more and more sense to split one large file into a number of smaller files. This...