Setting up Python environment on windows Writing your first Python 3 Program Defining Functions in Python 3 Using Modules in Python Lists in Python While loop in Python Defining a class in Python Working with files in Python
Python
Python interview questions and answers
What are the key features of Python? Python is a object-oriented,open source programming language It runs on different platforms like Windows, Linux,Macintosh etc. It is easy to read as it has a clean syntax It can be integrated with different languages such as Java,C,C++,C#. function A function is used to modularize application.Instead of defining application […]
Listening to Raspberry pi push button using Python
In this example we will see how to connect push button to raspberry pi.The push button will act as an input interface to raspberry pi. To implement the circuit fort the application we will need the following: breadboard jumper wires (2 male to female) push button raspberry pi (b+ in this example) set up the circuit […]
Best Python IDEs for Developers
IDE stands for integrated development environment is an application which provides several features that help developers in various tasks.It commonly consists of following: Source code editor compiler or interpreter debugger code completion syntax highlighting Python has several IDEs which are supported on Windows.Here we will look into some of these IDEs: Following are supported in […]
self parameter in Python
Class in Python is declared using the class keyword.To declare a simple class called Example you use the following statement class Example: pass we used pass since we are not declaring the class body. We can modify the above class to add a simple method called PrintHello.What this method will do is print a […]