#learningpython
#learningpython
Replies
I would recommend pycharm or vscode for python development over xcode, even if xcode has some support for python, it's almost certainly lacking compared to these tools
On Mac, old version of Python (2.7) is already installed, so this will be a second installation that is called in terminal with python3. So following install steps when running python commands should always use python3
Pip installer is like Python's package manager, install it with this curl in terminal
use python venv module to setup a virtualenv
install #django
this is cool, you're documenting you learning process, and now you have a way to share it and remind yourself if you forget
#keywordarguments are like javascript taking an object as a prop with different named properties, so it solves the issue of having func(1, 2, 3) where the nature of the parameters is unclear by doing:
JS: func({ descriptiveName: 1, otherName: 2 }) with python keyword args, this functionality is built in: Python: func(descriptiveName=1, otherName=2)
python manage.py createsuperuser
pip freeze > requirements.txt pip install -r requirements.txt