Skip to content

Databricks Python interview setup instructions

Notifications You must be signed in to change notification settings

dataecstasy/python-interview

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Python Interview Question

To make sure we properly evaluate your programming ability, we strongly encourage you to bring your own laptop which is set up with a toolchain that you are familiar with. In case this is not possible, Databricks can provide an MacBook laptop set up with PyCharm, iTerm2, zsh, and other standard tools.

Prerequisites

These should be installed / created before starting the question.

This task will be done in Python. You do not need to be fully fluent with enterprise production Python, but you should be comfortable with general syntax and patterns e.g. try/except.

It will be helpful to have your IDE of choice set up with syntax highlighting for Python.

  1. Make sure you have Python 2.7 installed. To check run python --version.
  2. Install Virtualenv. You should be able to get it with pip install virtualenv
  3. Install + configure git locally: https://help.github.com/articles/set-up-git/
  4. Set up the development environment for flask.
    • git clone https://github.com/pallets/flask.git
    • cd flask
    • Create a virtualenv with virtualenv env.
    • Activate the virtualenv with source env/bin/activate.
    • Install the pinned dependencies included at requirements.txt in this repository by running pip install -r requirements.txt
    • Install the flask development dependencies pip install -e ".[dev]"
    • Make sure your IDE is set up to navigate and make code changes to the flask repository.
  5. Familiarize yourself with flask. A great way is to read through the "A Minimal Application" and "Routing" sections of http://flask.pocoo.org/docs/1.0/quickstart/. A deep understanding of Flask will not be necessary for completing this task, and you will be able to reference the documentation, so there is no need to memorize anything.

About

Databricks Python interview setup instructions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published