Skip to content

thebrowsercompany/bcny-interview-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

The Browser Company of New York

Welcome to Python interview environment prep!

Thank you for your interest. This is meant to prepare your environment prior to your coding exercise.

Requirements

  • Latest Python 3 installed. Get it here
  • Download or clone this repo.

Optional

  • Your choice of IDE.

Environment prep

  1. Launch command line terminal win+r then cmd.exe or launch Terminal in macOS.

  2. Enter where this directory is located cd path\to\dir\bcny-interview-python

  3. Verify Python is installed
    Windows Example:
    C:\bcny-interview-python> python --version
    Python 3.12.3
    * Note that your environment command may be python3 --version instead.

  4. Create a virtual environment
    Windows Example:
    C:\bcny-interview-python> python -m venv .venv

  5. Enter the virtual environment
    Windows Example:
    C:\bcny-interview-python> C:\bcny-interview-python\.venv\Scripts\activate
    (venv) C:\bcny-interview-python>
    If you've opened PowerShell instead of Windows command line, you can enter venv this way:
    Windows PowerShell Example:
    C:\bcny-interview-python> .\.venv\Scripts\activate
    (venv) C:\bcny-interview-python>
    Linux / macOS Example:
     ~/bcny-interview-python$ .venv/bin/activate
    (venv) bcny-interview-python$
  6. Verify Python can run
    Windows Example:
    (venv) C:\bcny-interview-python> python hello_world.py
    Hello Arc!
    Linux / macOS Example:
    (venv) bcny-interview-python$ python hello_world.py
    Hello Arc!

PyCharm setup

  1. Download and install Pycharm here

  2. Launch PyCharm

  3. Select Open
  4. Navigate to the downloaded bcny-interview-python folder and open it.

  5. Click on the file hello_world.py in the Sidebar

  6. Click on top corner run menu and select Edit Configurations...

  7. Click the plus button + and choose Python

  8. Enter hello_worldas name, verify Run is on the Python venv that was created earlier, script is set to the hello_world.py path and working directory is set to the current directory. Press OK

  9. Click the green play button. Verify script is run and Hello Arc! is printed

About

Interview prep for live coding test with Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages