Somehow I made it to Section 11 - Popular Python Packages.
I am confused about using VS Code with this. In the terminal I can run the app.py code BUT in the Terminal console, the folder is switched HelloWorld:
PS P:\Python\HelloWorld> & p:/Python/HelloWorld/env/Scripts/Activate.ps1
(env) PS P:\Python\HelloWorld> & p:/Python/HelloWorld/env/Scripts/python.exe p:/Python/PyYelp/app.py
{“error”: {“code”: “VALIDATION_ERROR”, “description”: “Please specify a location or a latitude and longitude”}}
(env) PS P:\Python\HelloWorld>
(env) PS P:\Python\HelloWorld> cd …
(env) PS P:\Python> cd pyyelp
(env) PS P:\Python\pyyelp> & p:/Python/HelloWorld/env/Scripts/python.exe p:/Python/PyYelp/app.py
{“error”: {“code”: “VALIDATION_ERROR”, “description”: “Please specify a location or a latitude and longitude”}}
(env) PS P:\Python\pyyelp> & p:/Python/HelloWorld/env/Scripts/python.exe p:/Python/PyYelp/app.py
{“error”: {“code”: “VALIDATION_ERROR”, “description”: “Please specify a location or a latitude and longitude”}}
(env) PS P:\Python\pyyelp>
So 1) Why the switched to the other folder?
PS P:\Python\HelloWorld> & p:/Python/HelloWorld/env/Scripts/Activate.ps1
(env) PS P:\Python\HelloWorld> & p:/Python/HelloWorld/env/Scripts/python.exe p:/Python/PyYelp/app.py