Category: 07. Python

  • Python Comments

    Creating a Comment Comments starts with a #, and Python will ignore them: ExampleGet your own Python Server Comments can be placed at the end of a line, and Python will ignore the rest of the line: Example A comment does not have to be text that explains the code, it can also be used to…

  • Python Syntax

    Execute Python Syntax As we learned in the previous page, Python syntax can be executed by writing directly in the Command Line: On this page Execute Python SyntaxPython IndentationPython VariablesPython CommentsExercises Or by creating a python file on the server, using the .py file extension, and running it in the Command Line: Python Indentation Indentation…

  • Python Getting Started

    Python Install Many PCs and Macs will have python already installed. To check if you have python installed on a Windows PC, search in the start bar for Python or run the following on the Command Line (cmd.exe): To check if you have python installed on a Linux or Mac, then on linux open the…

  • Python Introduction

    What is Python? Python is a popular programming language. It was created by Guido van Rossum, and released in 1991. It is used for: What can Python do? Why Python? Good to know Python Syntax compared to other programming languages ExampleGet your own Python Server