You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right in your Terminal or Command Prompt, you can create files by _redirecting output_ of command line programs:
214
214
215
215
```text
216
-
$ python main.py > products.html
216
+
python main.py > products.html
217
217
```
218
218
219
219
If you want to use Python instead, it offers several ways how to create files. The solution below uses [pathlib](https://docs.python.org/3/library/pathlib.html):
0 commit comments