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”
Tag Archives: 3.8version of python
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”
SETs
Basic explanation of usage of sets in Python
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”
Python via Visual Studio Code
Visual studio code is free and available for all type of Operating System. First step would be to install visual studio code. Download visual studio code from the link below and click on the corresponding button based on your Operating System. https://code.visualstudio.com/download I am downloading the windows installer. An .exe file like shown below willContinue reading “Python via Visual Studio Code”
Start with Python
First step to start learning Python is to install python. Go to the site ” https://www.python.org/” and click on “Downloads” -> “All releases” The latest version of python is 3.8.1 when writing this. It downloads the exe file as shown below. Double click on python-3.8.1.exe to run the file. It will open an installation window.Continue reading “Start with Python”