In the Previous article, we talked about Python List. Here I will tell you more about the Python dictionary. Dictionaries are the key-value stores in Python. They enable a fast access to elements because of the hash-table like implementation and that the keys have to be unique. Keys and values are separated by a colon… Continue reading
In Previous article we talked about Python List. But what is Python 3 Set? A set is an unordered collection of unique items. Unordered means that this type of collection does not allow indexing and you cannot access their elements through an index like in the case of a list or a tuple.
We already know that a python list can be written as comma-separated values between square brackets and the elements don’t have to be from the same type. Naturally this latter can cause some confusion and errors if you tend to forget about this feature.
In this article we will have a look at Python 3 numbers and strings because they are the base of development with Python.
If you are using Windows you have to do some more configuration than using a Unix-like system (Linux, Mac).
After the introduction and installing Python let’s jump right ahead and write the first lines of code with Python 3. The first step is to fire up the interactive interpreter with the python3 command. The three arrow-heads (or greater signs) indicate the prompt where we can type in our commands for the interpreter. We will… Continue reading
In this article I will give you an introduction to Python 3. This will be the first article of a series about Python with the intention to give you a tutorial where you can start learning Python and have hands-on examples to ease your learning efforts.
In java you might face a situation where you need to split String, based on some criteria. To fulfill this requirement Java has already provided two in-built methods to achieve this.
What is ps command ps(process) command in linux is used to report the active process status.
We have arrived at a state with Hibernate 4 where we can change the database behind the system to go for production usage (so H2 databases are out of the question). Now it is time to look at connection pooling, because the default connection pooling mechanism of Hibernate is rudimentary and is provided only for… Continue reading