Skip to content

xXAI-botXx/Python-Reference

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Python-Reference

This Project tries to collect some basic and advanced knowledge about Python. From basic syntax, file i/o, it security, networking, GUI and rendering. Python is a awesome language and therefore this repo tries to collect most important knowledge about Python for reference during work and projects.
Of course this repo can't cover everything and the topic artificial intelligence (including plotting and stuff) is intentionally ignored, since I already have an repo for AI (also for PyTorch and TensorFlow).
Also see the helper repo which is kinda the toplevel repo for such reference repos.

This repo consists of multiple notebooks which covers the given topics. The notebooks have the advantage that you can see my results and also provide textual information beside code.




Installation

Python can be installed through the offical website, but I recommend installing and using anaconda, since it manages different Python versions much better. A little tutorial for anaconda can be found here: https://github.com/xXAI-botXx/Project-Helper#anaconda. Another way is to use Docker and installing and using python in a container (virtual environment), all important informations can be found here: https://github.com/xXAI-botXx/Docker.

Your python environment with anaconda just needs IPython and an ipykernel package through the usage of notebooks.

conda create -n ref python=3.12 pip -y 
conda activate ref
pip install ipykernel ipython pygame moderngl moderngl-window graphviz astmonkey matplotlib

Also go this website and install graphviz -> https://graphviz.org/download/.

Documentation/help can be found on the official website https://docs.python.org/3/ or the documentation website of the module/library you use. And which mostlikely works is the built-in function help. For example:

print(help(my_module.func))
print(help(print))

The outside print is not always needed. The help function return a string and therefore it need no print around when using in the interactive mode or in a notebook cell.




Topics

About

This Project tries to collect some basic and advanced knowledge about Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published