web development Versity Forum Topic 1: Intro & installation of Python
Topic 2: Variables and syntax
Topic 3: Data types in python
Course Topic 4: Working with Numbers
Contents Topic 5: Casting in Python
Topic 6: String and String methods
Topic 7: Booleans
Topic 8: Python Operators
By Versity ICT Solutions Course Contents 2
Topic 9: List, Tuples, Set and Dictionary
Topic 10: if, else and elseif (Conditional statement)
Topic 11: Loops (for loop, while loop)
Course Topic 12: Function
Contents Topic 13: Lambda
Topic 14: Arrays
Topic 15: Class and Object
Topic 16: Inheritance
By Versity ICT Solutions Course Contents 3
Topic 17: Iterators and Polymorphism
Topic 18: Try and Except
Topic 19: Scopes
Course Topic 20: Modules Contents Topic 21: Dates and Maths
Topic 22: JSON
Topic 23: Regular Expressions (RegX)
Topic 24: PIP
By Versity ICT Solutions Course Contents 4
Topic 25: User input
Topic 26: String Formatting
Topic 27: File Handling (Read, write/Create and Delete)
Course Topic 28: Introduction to python Frameworks for Website
Contents Topic 29: Flask minimal Application
Topic 30: URL Routing
Topic 31: Flask Variables rules
Topic 32: HTTP Methods
By Versity ICT Solutions Course Contents 5
Topic 33: Rendering HTML Templates
Topic 34: Static files (CSS, JS and Images)
Topic 35: Request Object and Sending Form Data to page
Course Topic 36: Cookies and Sessions
Contents Topic 37: Redirect and Errors
Topic 38: Message Flashing
Topic 39: File Uploading
Topic 40: Extensions
By Versity ICT Solutions Course Contents 6
Topic 41: Mail
Topic 42: WTF
Course Topic 43: SQL lite and SQL Alchemy
Contents Topic 44: Flask Sijax
Topic 45: Flask Deployment
Topic 46: FastCGI
By Versity ICT Solutions Course Contents 7
Topic one Introduction and Installation of python What is Python? • Python is a very popular free and open-source programming language, created by Guido van Rossum, and released in 1991. It is used for: • Back-end web development, • software development, • mathematics, • system scripting, • Data Science • Robotics
Python By Chinedu Nonyelu Versity ICT Solutions 9
Installation of python on Windows • Visit https://python.org/, hover your mouse on Downloads then choose the latest python and start downloading. • Once your download is finished, right click on the file to run as administrator, making sure you follow the images as guide. • Also be sure to check the option to add python to path.
By Nonyelu Chinedu Versity ICT Solutions 10
Python installation on Mac OS • Grab the latest release from the Python website. Unless you're on an older machine and have to use a previous version of macOS for some reason, you can download the 64-bit installer file.
• The download is the standard macOS .PKG
format. Click the installer file to proceed.
• The first screen provides some information on
the install. Click Continue to move along.
By Nonyelu Chinedu Versity ICT Solutions 11
Python installation on Mac OS • Click continue
• Select a destination for the install
on the following screen. You can click Install to place it on your main drive or click Customize to place it elsewhere.
• Now the installer starts copying the
files, and the progress bar tells you when it's complete.
By Nonyelu Chinedu Versity ICT Solutions 12
Confirming Python Installation
By Nonyelu Chinedu Emmanuel Versity ICT Solutions 13
Confirm python Installation • Go to your integrated terminal on Visual Studio Code and type the following command python –version python --version Python 3.7.4
• You will see a report like the: Python 3.7.4
Depending on your installed python version. If you didn’t see this, then you should re-install python again.
By Nonyelu Chinedu Versity ICT Solutions 14
• Presenter name: Nonyelu Chinedu
• Email address: nonyelurichard95@gmail.com
Thank you • Website: https://versityforum.com.ng