
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 10476 Articles for Python

199 Views
The flower dataset would have given a certain percentage of accuracy when a model is created. If it is required to configure the model for performance, the buffer prefetch is used along with the Rescaling layer. This layer is applied using the Keras model, on the dataset, by making the rescaling layer a part of the Keras model.Read More: What is TensorFlow and how Keras work with TensorFlow to create Neural Networks?We will be using the flowers dataset, which contains images of several thousands of flowers. It contains 5 sub-directories, and there is one sub-directory for every class.We are using the ... Read More

8K+ Views
IntroductionDjango is a Python web framework that is both free and open source.Why Use Django?It’s very fast.Comes with a lot of pre-existing features like user authentication, site maps, RSS feeds.It is very secure and prevents a lot of security mistakes like SQL Injection, cross−site scripting, clickjacking etc.It is very scalable and thus can be used even when the network traffic is exceedingly high.Now that you know why we would be using Django to build our web application. Let us start setting up the ground work for it.Setting up an environmentWhile building our web application, we will be using various packages ... Read More

176 Views
Data standardization refers to the act of scaling the dataset to a level so that all the features can be represented using equivalent units. The rescaling layer is built using the ‘Rescaling’ method which is present in Keras module. The layer is applied to the entire dataset using the ‘map’ method.Read More: What is TensorFlow and how Keras work with TensorFlow to create Neural Networks?We will be using the flowers dataset, which contains images of several thousands of flowers. It contains 5 sub-directories, and there is one sub-directory for every class. We are using the Google Colaboratory to run the ... Read More

705 Views
IntroductionBeing a programmer it is essential to learn to use databases in our applications to store, retrieve, manipulate, and delete data with ease. Python comes with the SQLite package preinstalled with it, using which we can create and manipulate SQLite databases.SQLite databases are written in a single file and are hence are easier to use and access. You can easily manipulate the data within and hence is very easy for data analysis. It is very simple and easy to setup and use.Getting StartedNow that you know, what SQLite is and why we use it, let us get started with how ... Read More

259 Views
The flower dataset can be visualized with the help of the ‘matplotlib’ library. The ‘imshow’ method is used to display the image on the console. The entire dataset is iterated over, and only the first few images are displayed.Read More: What is TensorFlow and how Keras work with TensorFlow to create Neural Networks?We will be using the flowers dataset, which contains images of several thousands of flowers. It contains 5 sub-directories, and there is one sub-directory for every class. We are using the Google Colaboratory to run the below code. Google Colab or Colaboratory helps run Python code over the ... Read More

203 Views
We will be using the flowers dataset, which contains images of several thousands of flowers. It contains 5 sub-directories, and there is one sub-directory for every class. Read More: What is TensorFlow and how Keras work with TensorFlow to create Neural Networks?Once the flower dataset has been downloaded using the ‘get_file’ method, it will be loaded into the environment to work with it. The loader parameters are explicitly mentioned and the loaded data is split into training and validation set.We are using the Google Colaboratory to run the below code. Google Colab or Colaboratory helps run Python code over the ... Read More

880 Views
IntroductionIn Python, we use the tkinter library to create GUI components and craft better user interface.In this article you will learn methods to build a simple GUI based calculator application.Getting startedBefore we jump into it, there are a few things we need to get organised first.Let us start by downloading Python’s imaging library that we will be using to get images from our local system. In order to install PIL(Pillow), launch you terminal and type the command below.pip install PillowNow that you have the package installed. You will have to download icons needed for the calculator.You can go on Google ... Read More

444 Views
IntroductionThe time library in Python is used to obtain time in the real world and perform various tasks related to it. You can even manipulate execution time using this module.Getting StartedThe time module comes packaged with Python. This means you do not have to install it separately using the PIP package manager.In order to use its various functions and methods, you must first import it.import timePrinting current local timeIn order to print the current local time, we will be using the ctime() function.But firstly, we must obtain the number of seconds since epoch. That is, the number of seconds since ... Read More

7K+ Views
IntroductionThe pydoc module automatically generates documentation from Python modules. The documentation can be saved as pages of text on the console, displayed on the web browser, or even as HTML files.In this article you will be learning methods to view these documentations in various cases and even learn about docstrings that help you create your own documentation for your python scripts.Now that you know the use of pydoc, let us get started.Getting StartedThe pydoc module comes packaged along with Python, which means you don’t have to download and install it separately.In order to access pydoc, you can must first import ... Read More

2K+ Views
IntroductionWe will be using the pyperclip module in order to copy and paste content to the clipboard. It is cross−platform and works on both Python 2 and Python 3.Copying and pasting from and to the clipboard could be very useful when you want the output of the data to be pasted elsewhere in a different file or software.Getting StartedThe pyperclip module does not come packaged with Python. In order to access it, you must first download and install it. You can do this using the PIP package manager.Launch your terminal and type the command below to install pyperclippip install pyperclipOnce ... Read More