• Free

Ace Python Interviews

Prepare for your next Python job interview with 50 questions, answered in six hours of live-coding screencasts. The course is 100% free of charge!

Contents

Introduction

00 Introduction
  • 2 mins
  • 60.9 MB
jupyter-notebooks.zip
  • 68.1 KB

Section 1: Beginner-level questions

01 Mutable vs immutable
  • 8 mins
  • 170 MB
02 Highest square
  • 7 mins
  • 286 MB
03 *args and **kwargs
  • 7 mins
  • 161 MB
04 Lists vs. tuples
  • 8 mins
  • 165 MB
05 PEP 8
  • 8 mins
  • 180 MB
06 Local vs. global variables
  • 5 mins
  • 207 MB
07 Modules
  • 6 mins
  • 138 MB
08 Lists vs. arrays
  • 5 mins
  • 107 MB
09 What is __init__?
  • 6 mins
  • 139 MB
10 .py vs .pyc files
  • 11 mins
  • 256 MB
11 Different types of quotes
  • 6 mins
  • 122 MB
12 Docstrings
  • 6 mins
  • 140 MB
13 Swapping variables
  • 5 mins
  • 114 MB
14 break vs. continue
  • 6 mins
  • 133 MB
15 What is PyPI?
  • 6 mins
  • 121 MB
16 What are Python's basic data structures, and how are they used?
  • 7 mins
  • 164 MB
17 How do you iterate over a dict?
  • 5 mins
  • 95.9 MB
18 Counting vowels in a file
  • 9 mins
  • 197 MB
19 Adding to a dict
  • 6 mins
  • 125 MB
20 UnboundLocalError
  • 5 mins
  • 101 MB

Section 2: Intermediate-level questions

21 read_n
  • 8 mins
  • 171 MB
22 Fibonacci
  • 8 mins
  • 175 MB
23 What is self?
  • 7 mins
  • 154 MB
24 Sorting with lambda
  • 6 mins
  • 125 MB
25 Defaults
  • 6 mins
  • 138 MB
26 Static and class methods
  • 7 mins
  • 161 MB
27 Listing module functions
  • 10 mins
  • 215 MB
28 Memory management in Python
  • 9 mins
  • 207 MB
29 The "else" clause for loops
  • 8 mins
  • 166 MB
30 Context managers
  • 14 mins
  • 318 MB
31 Call by reference or call by value?
  • 8 mins
  • 167 MB
32 What is a closure?
  • 13 mins
  • 298 MB
33 What is the iterator protocol?
  • 12 mins
  • 277 MB
34 What is __name__?
  • 8 mins
  • 167 MB
35 str vs. bytes
  • 8 mins
  • 181 MB
36 Operator overloading
  • 11 mins
  • 255 MB
37 Whitespace separated numbers
  • 6 mins
  • 125 MB
38 Checking for palindromes
  • 7 mins
  • 163 MB

Section 3: Advanced questions

39 Mean square error
  • 8 mins
  • 174 MB
40 Type annotations
  • 6 mins
  • 130 MB
hello.py
  • 139 Bytes
41 Recursive directory listing
  • 9 mins
  • 208 MB
42 String-only arguments
  • 10 mins
  • 225 MB
43 Class attributes
  • 9 mins
  • 205 MB
44 What is the GIL?
  • 10 mins
  • 228 MB
45 Apply a function to a directory
  • 5 mins
  • 106 MB
46 is vs ==
  • 5 mins
  • 114 MB
47 mychain
  • 6 mins
  • 120 MB
48 myrange
  • 7 mins
  • 148 MB
49 full_name property
  • 7 mins
  • 149 MB
50 Speed descriptor
  • 12 mins
  • 265 MB

Section 4: Conclusion

Conclusion
  • 2 mins
  • 11.8 MB

FAQs

Who is this course aimed at?

Anyone planning to interview for a job involving Python coding. I obviously cannot predict which questions you will be asked, but it's more than likely that you'll be asked some questions similar to these — so you can think of them as practice questions, to prepare you for the interview.

What level are the questions?

I've tried to divide the questions into beginner, intermediate, and advanced level topics. I obviously couldn't cover everything, and I tried to stay close to core language features (rather than delve into Web development, devops, or data science), so your specific professional needs might not come up.

What version of Python do you use?

3.7. But everything I do should work in both 3.6 and 3.8.

For how long will this course be free?

Forever.  I don't intend to charge for this course.

Do you offer any discounts for this course?

Um, it's free. Tell ya what, I'll take 10% off of the price, just because I like you.

For how long can I access the course?

For as long as you want. No limit.