This page is just a collection of useful resources that may help you
String Formatting
Usingf"""
to quickly concatenate variables into strings in a potentially easier manner
Importing Modules
Modules are imported using the syntax ofimport modulename
or importing specific items from a module viafrom modulename import moduleitem
.
For some modules that are not included with your Python installation, you may have to manually install them yourself via methods such aspip install tk
for tkinter.
Importing Functions From Python Files
Looking to declutter your files, and move classes and functions into separate files? Good! Utilising imports from your own files can massively reduce clutter and make your code much more manageable.
It uses the same syntax as importing from Python Modules, just this time it is your own files, functions and classes being imported.
The Random Module
This particular module allows for the generation of random numbers. Really useful for generating quick sample data.
Plotting Via Matplotlib
For the purposes of plotting out data. This module allows for easy creation and display of plots of data. Particularly useful when attempting to perform data analysis