in channels and mailing lists
Start working on task
and much more than that ...
Introduction to Python
Python comes pre-installed on fedora
Python3 by default
If you are working on a piece of Python software, you probably want to test it on multiple Python interpreters
You can use pip to install modules from PyPI
Python?
Python
django-admin startproject mysite
cd mysite
python3 manage.py runserver
Micro web framework for Python
from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello_world():
return "Hello World!"
if __name__ == "__main__":
app.run()
Matplotlib
graph plotting library
import matplotlib.pyplot as fwd
fwd.plot([1,2,3,4])
fwd.show()
fwd.title("Fedora Women's Day!")
fwd.ylabel("This is y-axis")
fwd.xlabel("This is x-axis")
NumPy
library providing fast multidimensional arrays
import numpy as np A = np.array([[1, 2], [3, 4]]) A+1
np.zeros((3,3))
np.ones((3,3))
SciPy
library providing routines for basic and special mathematical functions, numerical integration
import scipy.integrate
IPython
an enhanced interactive Python interpreter
sudo dnf install python3-ipython
Jupyter notebook
a web app that allows you to create and share live code
sudo dnf install notebook
jupyter notebook
https://labs.fedoraproject.org/en/python-classroom/
Make your class focus on mastering the language, not on preparing the environment! Get the Fedora Python Classroom Lab and have your class set up in no time.
https://fedoraproject.org/wiki/SIGs/Python
https://whatcanidoforfedora.org/en/#coding#python
Mailing list : python-devel
IRC : fedora-python