0%
Loading ...

Python how and why

Setup environment

  1. Install python.
  2. Install VS Code

Leaning resources

Tools

  • Gradio is the fastest way to demo your machine learning model with a friendly web interface so that anyone can use it, anywhere!
  • GitBook brings all your technical knowledge together in a single, centralized knowledge base. So you can access and add to it in the tools you use every day — using code, text or even your voice.

How to

  • Add packages
    • pip install [package name]
    • Example:
      • pip install numpy
  • Find package version
    • pip show [package name]
  • Find python version
    • Open command prompt
    • write:
      • python -V
  • Comments
    • Single line of code #
    • few lines of code “”” and then end with “””