Skip to content

advaymansingka/python-interview-prep

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python Interview Preparation

Thanks for interviewing at Stripe. To make sure that we can use our time best in the interviews, we'd like to have you do some setup on your laptop in advance. If you don't have a laptop, let your recruiter know and they will supply you with a loaner laptop for your in-person interviews.

First, clone or download this repository to your computer via the links on the right (creating a fork of the repository is not necessary).

Note, we will be working with Python 3 (Python 3.6 or later). See the RealPython installation guide, if you haven't installed Python 3 yet.

We'll create a virtual environment with venv and install some requirements that will be useful in your interviews.

If for some reason you must use Python 2.7, use virtualenv to create the virtual environment.

Create a new Python 3 environment called interview_env and activate it (bash compatible shells on Mac or Linux):

$ python3 -m venv ./interview_env
$ source ./interview_env/bin/activate # or source ./interview_env/bin/activate.fish if you're using fish shell

On Windows (assuming cmd.exe):

> python -m venv .\interview_env
> .\interview_env\Scripts\activate

Next, install some requirements into the activated virtual environment:

(interview_env) $ pip install -r interview_requirements.txt

Finally, in that activated virtual environment, verify that your environment supports TLS 1.2:

(interview_env) $ ./verify_tls.py
TLS 1.2 supported, no action required.

If you see a response that begins with Error, follow the instructions it provides.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%