add exercise, presentation and tutorials

This commit is contained in:
Mara Karagianni
2024-11-29 14:26:43 +01:00
parent 6304fb4def
commit 79fa977d72
7 changed files with 34 additions and 14258 deletions

2
python/EXERCISE.md Normal file
View File

@@ -0,0 +1,2 @@
L'étudiant.e s'engage dans une recherche créative en faisant un commentaire, une réflexion ou un detournement des plateformes culturelles, ou des débats politiques, qui sont médiatisés numériquement (par example en ligne). Cet exercice doit avoir un élément artistique et faire appel à Python en tout, ou en partie dans son exécution. Vous pouvez consulter le matériel pertinent de la classe python, tel que les diapositives de présentation, les exemples de code et les références de tutoriels, à l'adresse suivante:
https://git.erg.school/P039/art_num_2024/src/branch/main/python

View File

@@ -1,6 +1,36 @@
git repo for art num
## Python course
videogrep:
### install pip3 or pip
Windows/Linux: [Installation](https://pip.pypa.io/en/stable/installation/)
MacOS: Install Homebrew, see [howto](https://brew.sh/). After installation you may need to add homebrew to your PATH. Exectute the code, line by line, from the messages at the end of the homebrew installation in your terminal. Or read the steps [here](https://usercomp.com/news/1130946/add-homebrew-to-path).
Verify brew is installed with `brew --version`. If not errors, then install pip with `brew install pip`.
Depending on your system, you may have pip or pip3. Execute `pip --version` or `pip3 --version` and see which one works for you.
### virtualenv
Windows/Linux: (Installation)[https://virtualenv.pypa.io/en/latest/installation.html]
MacOS: Execute `brew install virtualenv`
How to use it for all systems -> [User Guide](https://virtualenv.pypa.io/en/latest/user_guide.html)
### videogrep
tutorial: https://lav.io/notes/videogrep-tutorial/
code: https://github.com/antiboredom/videogrep/tree/master
videos: https://antiboredom.github.io/videogrep/
### python tutorials here
[python basics](./introduction/README.md)
[python scraping](./scrape/README.md)
### python tutorials online
RealPython => need to create free account
[HOW TO work with python in the terminal or with a code editor](https://realpython.com/interacting-with-python/)
[Variables](https://realpython.com/python-variables/)
[User input from terminal/keyboard](https://realpython.com/python-keyboard-input/)
[if/elif/else](https://realpython.com/courses/python-conditional-statements/)
[Adding strings](https://realpython.com/python-string-concatenation/)
[Data types](https://realpython.com/python-data-types/)
### artisitc references
[presentation - slides](./presentation_en.pdf)

Binary file not shown.

BIN
python/presentaion-en.pdf Normal file

Binary file not shown.

File diff suppressed because it is too large Load Diff

BIN
python/videos/queercut.mp4 Normal file

Binary file not shown.