Python 3

Django 3 : Installing Django 3

April 17th 2021, 7:44
What is Django? Django was born in 2003 in a press agency of Lawrence, Kansas. It is a web framework that uses Python to create websites. Its goal is to write very fast dynamic websites. In 2005, the agency decided to publish the Django source code in the BSD license....
338

Python Variables

April 17th 2021, 7:47
Variables in Python can reference values of different data types such as strings, integers, floating point values, Booleans, and different data types and data structures. Python, in contrast to statically typed languages such as Java or C++, doesn't require you to pre-declare a variable's data type. It determines the type...
292

Python : Writing and Running Simple Scripts

April 18th 2021, 2:21
Python allows you to run your instructions from a saved file. A file containing Python instructions is called a module. A script is a module that can be run. By convention, Python scripts should have the file extension .py. The filename should be a valid filename, as defined by your...
273

Python : Working with the Python Interactive Shell

April 18th 2021, 5:46
We are going to be writing our first program through the Python interactive shell. Before we begin, ensure that you have Python installed on your machine. Checking our Python Installation Step 1 : Open the terminal Step 2 : Type in the command python3 and press Enter. This should open...
278

How To Install Python 3 on Ubuntu 20.04

April 17th 2021, 7:42
Step 1 : To see which version of Python 3 you have installed, open a command prompt and run python3 --version Step 2 : To use a more current Python, we recommend using the deadsnakes PPA to install Python 3.9 sudo apt-get install software-properties-common sudo add-apt-repository ppa:deadsnakes/ppa Step 3 :...
374