Blog Posts

Python Threading – Part 2

Python threading

Python Threading In the previous article, you have seen the threading methods. In this article, you will see daemon threads and locks. Daemon Thread: So far, we have created the non-daemon thread. What is the daemon thread? When the main thread exits, it attempts to terminate all of its daemonic child threads. Consider an example of GUI as shown below Consider, by GUI input some calculation is being performed in the background and the calculation is taking its time. If you

Read more

Python Thread – Part 1

Python Thread

Python Thread A Python thread is like a process, and may even be a process, depending on the Python thread system. In fact, Python threads are sometimes called “lightweight” processes, because threads occupy much less memory, and take less time to create than do processes. Threads allow applications to perform multiple tasks at once. Multi-threading is important in many applications. In python, threading module is used to create the threads. In order to create threads, threading modules can be used

Read more

What is Python Enumerate?

Python Enumerate

Python Enumerate : python enumerate() is basically a python built in function. During certain situations where we deal with lot of iterators we also need to keep count of iterations, in these type of situations python built in function Enumerate comes handy. It helps to add counter to the iterable and returns an enumerate object. The basic syntax :- enumerate(iterable, start=0) The enumerate() function takes two parameters namely : iterable – It is a sequence, an iterator or objects which

Read more

Machine Learning and Artificial Intelligence

Machine Learning and Artificial Intelligence

Machine Learning and Artificial Intelligence Difference between Machine Learning and Artificial Intelligence : Okay Google! What’s Up? Could you play my favourite track or Book a Cab from Palace Road to MG Road. Alexa, What time it is? Wake me up at 5AM. Could you please tell my tomorrow meetings. These are the perfect combination of Machine Learning and Artificial Intelligence. Machine learning: Machine learning is a method of data analysis that automates analytical model building. Machine learning is a

Read more

Python Time

python time

Python Time :  In this article, we’ll see how to use Python’s modules which are related to the time and date. In this python time article we will cover lots of problem like current time, previous time, time gap, epoch time etc. Let us start with the python time first module time. Python Time – Time: First import the time module. Then we will study some important functions of time modules. The time() function The time() function returns the float

Read more

Python modules related to datetime

python datetime

Python datetime modules: In this article, we will see the Python datetime module. We will learn how to create current time, how to calculate the time gap and how to produce time difference?According to Python docs “The python datetime module supplies classes for manipulating dates and times in both simple and complex ways”. So,python datetime modules contains several classes. Let us discuss one by one. Python datetime Modules – The Datetime.datetime Let us discuss the useful methods of datetime.datetime class.

Read more

Big Data and Artificial Intelligence

Big Data vs. Artificial Intelligence

Big Data vs. Artificial Intelligence – Introduction: Big Data: The growth of the world is impulsive in all ways, likewise the data. Data size across the world is huge, so technically increase in the data constitute the name Big Data. The time of spread sheet is over, A google search, Passport scan,  a barcode reading in supermarket, your online shopping history, An EKG reading, CCTV footage, A photo of a sandwich, a voice message, A tweet, all of this contains

Read more

Data Visualization and Business Intelligence

Data Visualization vs. Business Intelligence

Data Visualization vs. Business Intelligence – Introduction: Data Visualization vs. Business Intelligence – Everyday data is piling up. Very large amount of Data. It’s very difficult to maintain and process these data. These data are in different formats and structure. Companies are coming up with different tools and software’s to process these data and to monetize from these data. Data Visualization: Let me explain this term in layman word, It is to tell story from your data. Anyone can understand

Read more

5 Industries the Blockchain Technology is All Set to Disrupt

blockchain

Remember how bitcoins turned people into overnight millionaires. While the era fizzled as abruptly as it erupted, it is the underlying technology of bitcoins – Blockchain – that left a lasting impression. Blockchain is hailed as the best invention since the Internet, by many. It is believed to have the potential to change the world as we know it. It is already showing how the technology can disrupt industries, making them more secure, agile and fit for the digital era.

Read more

Python Dictionary

Python Dictionary

Python Dictionary : A Python dictionary is a sequence of key/value or item pairs separated by commas. A Python dictionary is created by using curly braces ( { } ). Syntax to create empty dictionary. < variable-name > = {} Or < variable-name > = dict() Syntax to create Python dictionary with items <variable-name> = { key : value , key : value } The pair of key and value is called item, key and value are separated by colon ( :

Read more

Site Footer