Time Series Forecasting in Python – info
Time Series Forecasting in Python
Time Series Forecasting in Python
pyenv egy népszerű eszköz a Python verziók kezelésére
Managing Multiple Python Versions With pyenv
https://realpython.com/intro-to-pyenv/
################################
A pip freeze egy parancs a Python világában, amit a pip csomagkezelő biztosít, és az a célja, hogy kilistázza az összes telepített Python csomagot a verziójukkal együtt – pontosan abban a formában, ahogy azt egy requirements.txt fájlba írnád.
################################
A Pydantic egy Python könyvtár (csomag), amelyet arra használnak, hogy adatszerkezeteket definiáljunk és validáljunk típusellenőrzéssel.
################################
A Poetry egy modern csomagkezelő és build rendszer Pythonhoz
izolált virtuális környezetet hoz létre automatikusan.
Kezeli a projekted verzióját, függőségeit és metainformációit.
################################
pytest , tesztelésre, Egyszerű, olvasható, nagyon népszerű
################################
Egy Python linter egy olyan eszköz, amely elemzi a Python-kódot
################################
Think Python
Think Python is an introduction to Python for people who have never programmed before – or for people who have tried and had a hard time.
https://allendowney.github.io/ThinkPython/index.html

The Big Book of Small Python Projects
https://inventwithpython.com/bigbookpython/

Automate the Boring Stuff with Python
https://automatetheboringstuff.com/
![]()
projekt folder indítása:
cd /home/zsolt/Python_projects/anaconda/tensorflow1/
conda activate /home/zsolt/Python_projects/anaconda/tensorflow1/env
jupyter notebook
############################################################
mkdir -p ~/miniconda3
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
rm ~/miniconda3/miniconda.sh
Anaconda, Jupyter telepítés: Quick command line install
https://docs.anaconda.com/miniconda/install/#quick-command-line-install
$: python –version
Python 3.12.8
/home/zsolt/Python_projects/anaconda:
conda create –prefix /home/zsolt/Python_projects/anaconda/tensorflow1/env
conda activate /home/zsolt/Python_projects/anaconda/tensorflow1/env
conda deactivate
sudo apt install python3-pip
cd /home/zsolt/Python_projects/anaconda/tensorflow1/
install notebook: conda install jupyter
start: jupyter notebook
Install TensorFlow with pip
https://www.tensorflow.org/install/pip
python3 -m pip install 'tensorflow[and-cuda]'
# Verify the installation:
python3 -c "import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"
python -c “import tensorflow as tf; print(tf.config.list_physical_devices(‘GPU’))”
pip install --upgrade pip
pip install tensorflow[and-cuda]
Verify:
python3 -c "import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"
############################################################
cd /home/zsolt/Python_projects/anaconda/tensorflow1/
conda activate /home/zsolt/Python_projects/anaconda/tensorflow1/env
jupyter notebook
############################################################
uninstall TensorFlow:
(ezzel töröltem /home/zsolt/miniconda3/ a duplán installált TensorFlow-t
pip uninstall tensorflow
pip uninstall tensorflow-gpu
############################################################
NEM így!
pip install tensorflow-hub
A Jupyter Notbook-ban futtatni, mert különben máshova telepíti:
!pip install tensorflow-hub
With Open in Python – With Statement Syntax Example
https://www.freecodecamp.org/news/with-open-in-python-with-statement-syntax-example/