First WebApp

Let’s create our first Web application in python using pyWebIO library. I am creating a simple calculator that will accept two numbers as inputs and based on the selected operation (i.e., addition, subtraction, multiplication or division), it will display the output. Let’s create a new file, to our existing project. Right click on the projectContinue reading “First WebApp”

Create First Project in Visual Studio

Open Visual studio and create a new Project. Search for Python in the templates. Select Python web project and click on “Next“. Then, click “Create“ This creates a new Python project and can be viewed under “Solution Explorer“. Let’s install a python library called Flask. Expand Python Environments, you should be able to see theContinue reading “Create First Project in Visual Studio”

Functions Again

ArgumentsConsider our previous function that was created that takes two parameters, num1 and num2. So, while calling the function we need to pass the same number of parameters i.e., if the function definition has two parameters, we need to pass two values, if the function definition has three parameters, we need to pass three values.Continue reading “Functions Again”

Data Types

Datatypes are common concepts across every language. The data that is stored in a variable determines the data types. For Example: a variable that stores a text has string as a data type, similarly, variable storing number has int, float or complex as data type depending on the complexity of the number. Let’s understand fewContinue reading “Data Types”

Hello World from Python

Create Project via PyCharm Open PyCharm and click on “Click New Project“ Specify the location of the project. Click on “Project Interpreter” settings, it will automatically populate the values of the interpreter and then click “Create“. The project will be created as shown. Once the project is created, right click on the project name, selectContinue reading “Hello World from Python”

Design a site like this with WordPress.com
Get started