This shows you the differences between two versions of the page.
ii:labs:03:tasks:01 [2024/11/08 12:01] radu.mantu [01. [30p] Python environment] |
ii:labs:03:tasks:01 [2024/11/15 03:31] (current) alexandru.bala [01. [30p] Python environment] |
||
---|---|---|---|
Line 67: | Line 67: | ||
<note tip> | <note tip> | ||
- | This list of dependencies can be exported (together with the exact version) in a way that allows another user to install the __exact__ same modules in their own virtual environments. The file holding this information in named by convention //requirements.txt//: | + | This list of dependencies can be exported (together with the exact version) in a way that allows another user to install the __exact__ same modules in their own virtual environments. The file holding this information is named by convention //requirements.txt//: |
<code bash> | <code bash> | ||
Line 93: | Line 93: | ||
=== [0p] Task 1.5 - Debugging scripts === | === [0p] Task 1.5 - Debugging scripts === | ||
- | If you ever need to debug your python program, the best approach is to open up a shell and run your program u bit tedious (copy pasting each line of the program). However, there's a better method: | + | If you ever need to debug your python program, the best approach is to open up a shell and run your program a bit tedious (copy pasting each line of the program). However, there's a better method: |
<code python> | <code python> |