Here's the summary: 1. Know how to code on whiteboard/white paper. 2. know the control flow in python like loops, if statement, switch statement etc 3. Know the basic built-in data structure like list, tuple, dictionary also know how and when to use them. 4. Be able to discuss how you've used python in your projects 5. Fundamental problems in python(based on data structures and algorithms) 6. Know how to use list comprehension, why it is fast? 7. Know how to use generators(Why generators are efficient?) 8. Learn basics of Object Oriented Programming. 9. Prepare some question for the interviewer. 10. Know some other fundamental technologies like git etc.
@Anvesh20135 жыл бұрын
switch?
@cup-of-char5 жыл бұрын
@@Anvesh2013 Kind of like an if/if else/if else/if else/...
@Anvesh20135 жыл бұрын
@@cup-of-char Yeah. there isn't a switch in python... but, there's a nice way using dicts.. { 'a' : func_a, 'b': func_b }.get(case, func_default)()
@girishadevan24114 жыл бұрын
how to write the code with tuple in python?
@rainbowVax4 жыл бұрын
thanks for saving me 20 minutes
@DomenicoTanzarella4 жыл бұрын
It would be good to have a 2020 edition of this video. Few things changed in the last 5 years ;-)
@8cyber.muse84 жыл бұрын
I agree.
@skullkidn644 жыл бұрын
I concur
@zn8jt4 жыл бұрын
which things exactly?
@electronicjo14 жыл бұрын
@@zn8jt Looks like he's using python27. There have been syntax changes and improvements. xrange, for example, has different behavior in python27. By defaullt in Python3, range() returns a generator object.
@rahulpatel47014 жыл бұрын
yes
@shuvra032 жыл бұрын
This guy rocks. I also want to add more. Interviewers has a tendency to ask from Python Advanced topics: Iterators, Generators(why very good), lambda function, decorators, class properties, yield, deep/shallow copy etc. You must read them before interview.
@sumizoheb8887 Жыл бұрын
All of us would like to have an 2023 version of this video, this is such a great resource. Thanks a lot for putting it out there!
@PavelKarateev9 жыл бұрын
`try/except` and `with` are also useful to know
@coreyms9 жыл бұрын
+Pavel Karateev Great suggestions. Exception handling and context managers would definitely come in handy.
@xitaris59814 жыл бұрын
0:37 #1 Know how to write code on a whiteboard or paper 1:30 #2 Know basic python control flow 2:52 #3 Be able to discuss how you've used python 4:48 #4 Know how to solve common interview problems 8:45 #5 Know basic python datatypes and when to use them 11:08 #6 Know how to use list comprehension 12:39 #7 Know how to use generators 15:00 #8 Know the basics of OOP 1800: #9 Have Python related questions ready to ask your interviewer 19:47 #10 Know the basics of other technologies
@pjbrito3 жыл бұрын
00:37 #1 Know how to write code on a whiteboard or paper 01:30 #2 Know basic python control flow 02:52 #3 Be able to discuss how you've used python 04:48 #4 Know how to solve common interview problems 08:45 #5 Know basic python datatypes and when to use them 11:08 #6 Know how to use list comprehension 12:39 #7 Know how to use generators 15:00 #8 Know the basics of OOP 18:00 #9 Have Python related questions ready to ask your interviewer 19:47 #10 Know the basics of other technologies
@Marcus0012 жыл бұрын
Thanks
@evolutionisnear6 жыл бұрын
(Summary for future reference, great video btw!) 1. Know how to write your code on whiteboard/piece of paper 2. Know basic flow control (for loops, while loops, else, elif) 3. Be able to discuss how you've used Python in the past (If you haven't wrotten one do one, gives example of web scrapping) 4. Know how to solve common interview questions (ex. Fizz Buzz- Looping through #'s, Fibonacci Sequence, google python interview questions) 5. Know basic data types and when to use them (strings, tuples, dictionaries, lists, sets) - Ex. Why use a tuple over a list? Bonus: Understanding data structure and functionality of what these data types do; ex. dictionary being a hastable 6. Know how to use list comprehensions ( view video on Comprehensions) 7. Know ho to use generators (when to use generators and when not to use them) 8. Know the basics of OOP (get sample file/sample program and write hem over and over again until it feels natural, Also be able to explain the components like what self means and how to make an instance of a class, how to override methods) 9. Have python related questions to ask the interviewer (ex.whether they use python 2 or 3, be able to answer their followup questions, ex. databases, unittesting) 10. Know the basics of other technologies (ex. version control-git, linux commands, databases work) Just know the basics (T shaped skillset example) Search for other interview resources, don't take just one persons advice!
@finalfantasy78207 жыл бұрын
I haven't seen "xrange" before and did a quick research. It does the same job what "range" does in Python3. So you no longer worry about memory management using range in Python3.
@coreyms7 жыл бұрын
That's correct. Python 3 has done a great job of changing a lot of their built-ins over to be more performant, but it's still good to know how to use these generators yourself so that you can loop through your own data efficiently.
@dr.drakon39287 жыл бұрын
Yeah same thing i did when saw xrange.
@olee_72775 жыл бұрын
thank you for this I was about to get mad after trying it and getting all these errors. I hope my interviewer is going to be on py3 lol
@cagataysunal11305 жыл бұрын
You should definetly read a documentation about the differences between python3 and python27. Pretty much essential. Besides there's not that many differences and it should take you a day at max.
@mherify6 жыл бұрын
I like how you prefer making HTML presentations rather than Powerpoint or Keynote ;)
@MichaelYells5 жыл бұрын
He has to get that Flask practice in!
@surkewrasoul4711 Жыл бұрын
2023 edition would be super helpful, I am pretty sure I will come back to this in less than 6 months time and see if I can improve my skills on some of the topics mentioned in the video. Thank you.
@Amankhan-cl1dq3 жыл бұрын
For people who is preparing for interviews to get a job into IT companies follow these tips: 1. Brush up your programming skills use platforms like hackersearth for practicing problems. 2. Topics like data structures and algorithms, DBMS, computer networking, OS, software engineering etc should be at your finger tips. You have to be really good in those subjects specially in DSA. 3. Go through interview questions and give mock interviews.
@traveling_exile5 жыл бұрын
Xrange() is now deprecated as of python 3.
@dragosmanailoiu95445 жыл бұрын
Michael O'Brien just put range
@ganeshkashyap85738 жыл бұрын
This 23 min (approx) video was just what I need a day before. Thanks for the time and patience for explaining it. For freshers, python is like a huge ocean, just make sure you get your feet wet before going for interview because, you will have all the opportunity to learn during the training and Job. Again to Corey Schafer, thanks for the help.
@nw30522 жыл бұрын
Your comment is a relic of the past really. Nowadays you need much more than "wet feet" to get a job it feels like.
@marek_mv Жыл бұрын
Great video Corey. I agree with the latest comments that it would be great to do updated version of this video since this was recorded 7 years ago.
@Grinwa2 жыл бұрын
Dude this Guy really knows what he talking about, 3:38 that's actually my first project using python and i intently loved it i have faced different issues i managed to solve them i learned so much, and just this morning i had this idea 4:20 of writing a script that prints files in specific folder and be able to filter the files extension you want i really needed it because am dealing with a whole lot of files and some of them are duplicate but i had no idea how to do it but now i can do it so thank you so so much You are a legend to me ❤️ And i really feel great when playing around with python
@oleksandrromanchenko54364 жыл бұрын
Thank you Corey! I've watched your video and guess what 1st question I got at coding interview? - "write the function which generates Fibonacci sequence with the use of generator yield"! Many thanks, man, your video helped me to answer this question!
@sudhirsharma68075 жыл бұрын
The info is gold. I just ran thru this and it was a piece of cake cracking my google interview. Thanks Corey.
@dannymurphy28236 жыл бұрын
Corey i know this video is from 2015, but its great to see this and get prepared ahead of time..thanks again for helping all of us all out
@amandaperez75026 жыл бұрын
I had the ping pong question a few months ago, I thought it was rather an interesting question and gave me perspective to myself. This was a question for a non developer position too! interviews are scary no matter what kind of job you are looking for. Always dress to impress! and don't go on an empty stomach. I thought this video gave some great insight and was well laid out. Thank you!
@justinc2633 Жыл бұрын
You should make an updated version of this especially with remote work, and maybe with some pointers for people who are self taught
@elllot_7 жыл бұрын
Great stuff! One thing to note though: a Dictionary would be considered a HashMap rather than a HashTable. Sets would be more in line with a HashTable. I guess you can argue that the implementation for a HashMap would most likely be a HashTable, but I just wanted to make that distinction in terminology.
@sawirusj42306 жыл бұрын
at 13:14 def fib(n): a,b = 0,1 for i in range(n): yield a a,b = b, a + b for item in fib(10): print(item)
@21subho2 жыл бұрын
I must say, all the points you said are absolutely on the point. Writing code old school style (i.e., using paper ) is must. I failed an interview due to that.
@sethhardenn3 жыл бұрын
This REALLy helped me a ton! You broke down a few concepts that were really straining my brain. Thank you
@pjbrito3 жыл бұрын
00:37 Know how to write code on a whiteboard or paper 01:30 Know basic python control flow 02:52 Be able to discuss how you've used python 04:48 Know how to solve common interview problems 08:45 Know basic python datatypes and when to use them 11:08 Know how to use list comprehension 12:39 Know how to use generators 15:00 Know the basics of OOP 18:00 Have Python related questions ready to ask your interviewer 19:47 Know the basics of other technologies
@maniven19764 жыл бұрын
Hi Corey, Great job in sharing your thoughts and experience. Appreciate your good intentions to get the starters up to speed. Nobody gives this for free. Thanks again ! This will be relevant for all seasons and times !! Thanks!
@dzik18152 жыл бұрын
It would be good to have a 2022 (almost 2023) edition of this video. Few things changed in the last 7 years :)
@newsjuice74042 жыл бұрын
I am extremely grateful to you Sir I am absolutely obsessed with python coz I understand it after watching your tutorials May Allah bless you (Ameen)
@SambitAcharya1219 жыл бұрын
This was a wonderful refresher video Corey. Please make one more covering the advanced concepts.
@PoYoTheWild3 жыл бұрын
I believe it is beneficial to know basics of Stacks too nowadays, also basic functions like push, pop, peek
@McEw8 жыл бұрын
Thank you man! I'm a freshman in college and I'm sure this will help out in the future.
@teslyai4 жыл бұрын
😳
@glokta14 жыл бұрын
@@lalitjoshi97 He dropped out of college and has his own custom cleats company
@teslathemukemmel27324 жыл бұрын
@@glokta1 really? 😀
@sarychewa4 жыл бұрын
are you a programmer after 4 years ?
@J_prath4 жыл бұрын
Lol
@activestate4 жыл бұрын
Great ideas all around, especially with past projects, good luck to all of the interviewees!
@marcc11794 жыл бұрын
Haha, I am happy to find that I am familiar with most of the topics that you mentioned....I have just learned Python and Django for 4 month!!!
@mattyice11514 жыл бұрын
Great information man KZbin solves any problem
@Badosoft6 жыл бұрын
Thank you Corey Schafer, you are simply a blessing to this generation. will contact soon
@Acecool4 жыл бұрын
For #3, good ideas are simple games using existing packages, such as pyglet... being able to create a game, even if it is simple, such as one I did in college - it turned out to be the most advanced in the class which was kind of sad, but... it took a background, of any size, and a crosshair stuck to the center until you are at the edges then it unlocked. The camera was separate and you'd shoot at birds. There was a reload sequence with proper mechanics. ie: reload an empty gun and get 7 rounds, or 6+1. reload the magazine and you get 7+1. simple animations for flying, for dying, etc. -- there was music, bullet spread, and other mechanics in place. ie: A lot was demonstrated and it also demonstrated that you can look up documentation, interpret them correctly, and implement your own ideas. Another one is integrating package contents into one of your projects. This can be anything. Another one I did was to create photoshop style filters, and image manipulations using jython, I think it was... such as simple desaturation, to stretching / transforming in various directions, to drawing a border of little boxes which don't delete the image, just alter the color, another one with static - with or without removing detail... and more. I've done so much, it's hard to list them all - but so far all of your suggestions are good - I'll continue from 3. For #9, it should be general questions... Programming questions... ie: Does your company have a set coding standard, if not - why not. If so, what are some of the specifications... UpperCamelCase, lowerCamelCase, airy( coding ), or(not), do you use tabs or spaces. My preference is tabs because it can take a 1MB file down to 100KB ( real world situation and it is massive in terms of waste ) despite the 'guidelines' from PEP8 say to use 4 spaces.... If no coding standard - evaluate the code, and come up with one - because maintaining code that looks like it was written by 50 different people is ugly, hard to read, etc... Ask if they like to repeat code, or if they create building blocks so they only have to update in one place vs hundreds. You'd be surprised how many people code this way and duplicate code - find a tiny issue such as gui code and accidentally didn't consider that the screen starts at 0, 0 and have a 1px discrepancy and have to now fix that in all of their gui code instead of just the functions. It is always good to know SQL - but writing SQL can be very tedious especially the more advanced stuff... I ended up writing something in Lua, for a game framework I was working on - and I plan on porting it to a few other languages, which generates SQL based on very simple instructions. It can generate queries that are pages long - stuff ranging from simple 1 line queries, to joins, pivots, and more by just typing out a few lines of code such as new query. add where, join.. update vs retrieve - etc... The downside to writing these systems that write SQL for you, even if you designed it and it works flawlessly is the fact that it works flawlessly... Because you now use it for everything - you no longer write SQL. If you can generate a 3 page query with a few lines of simple calls - why waste time writing a 3 page query? Practice - obviously, but if you are working on a project, time matters... Python properties are useful to know about. Dynamically generating functions, etc.. also very useful.
@lepidoptera93373 жыл бұрын
I have been programming Python for like 25 years now on a regular basis and I still don't know how print formatting works. I guess I would fail an entry level Python interview. :-) Thank god I can architect and develop entire embedded systems on my own (using C, C++, Python, Javascript, VHDL, Verilog, printed circuit board design tools, analog circuit simulation tools and mechanical CAD software, not to mention that I taught myself the use CNC machines now) and so I don't have to do freaking interviews any longer. Just shows you that experience can't actually be tested with language syntax questions. What you really want to do in an interview is to task the applicant with something that he or she has not seen, yet, and see how he or she reacts. That is what really happened at all my interviews. With regards to computer languages I told them that I suck at remembering language syntax and that what I will write on the board will probably cause a syntax error, so they should treat it more like pseudocode. And even with that true statement I always got hired on Engineer IV positions. This was right out of school, mind you, I never had to do supervised engineer I-III work in my entire life.
@MrVineet095 жыл бұрын
RE (regular expressions) also good to know !!!
@НиколайГабриэль-ф9ш7 жыл бұрын
Thanks for the video. Your English is very easy to understand.
@zma3141252 жыл бұрын
Thank you man. You're a really good teacher. Learn a lot in all your videos.
@raphaelpz5 жыл бұрын
As usual an amazingly clear and useful video, thanks a lot
@yl95 Жыл бұрын
This video is gold ❤❤❤
@r-algoengineeringbigdata58635 жыл бұрын
Great tips on interviews! Learning both Python2 and Python3 can play a big role in the success of the interview.
@WinchesterD3 жыл бұрын
Thanks for the video. If these are the questions for an interview, I defenitely have a chance to get on a June's position.
@kiplimocollins4 жыл бұрын
Thank you. Went through this yesterday and a couple of hours just before my interview, hope I get it!
@kiplimocollins4 жыл бұрын
@Bum Bum I did thank you for asking, it really helped me out.
@nsaagent43498 жыл бұрын
I love your Videos. They helped me a lot to get more detailed explanations about the different Python programming concepts :)
@eudo814 жыл бұрын
Thanks for the Cntrl + Space shortcut.!
@theegreatestever24202 жыл бұрын
Thank you a lot! Love from South Africa
@salyoshkin5 жыл бұрын
What you write in python in 1 line, in R you write that in couple of sympols. The best language!
@akhmet2745 жыл бұрын
This guy is really good cause a lot of lack video going on here especially with terrible undistinguished accents
@JonathanKarr333 жыл бұрын
I really enjoy your videos, and I hope that your channel continues to grow. I just subscribed, and it's amazing to see that we have a very similar passion for teaching others to code on KZbin.
@gobindpunjabi1355 жыл бұрын
Sir .. i love your.video... you're so clear and crisp... thank you so much
@eastwardape98414 жыл бұрын
Corey, you're the best!
@DucaTech6 жыл бұрын
I would also suggest looking into f-string or the string interpolation, e.g. print(f'I am {name}'). I've went into a lot of interviews where they test you on your cleanliness of code, and DSA aka data structures & algorithms. You're given 40 - 60min per question and they're intense; need to understand time & space complexity.
@bikkikumarsha7 жыл бұрын
22 minues? totally worth it !!! thanks..
@Beny1235 жыл бұрын
The gold standard question these days is what project/s have you been working on? Some kind of automation and web dev seem to be the bare minimum. I have seen some applicants having a few games under their belts. A portfolio website does most of the above things in one blow .
@abhirup20034 жыл бұрын
You are awesome! Thanks so much.
@totpotator7 жыл бұрын
I started to learn python 3 month ago and know most of these stuff. Man, that's relife
@hectormoreno-bravo83996 жыл бұрын
Great video man! Thanks for making this
@such60283 жыл бұрын
06:18 weed out is a strong word.
@Poex112 жыл бұрын
Interviewer: How did you learn Python? Me: Corey Schafer Interviewer: Youre hired
@edwardCYHsu2 жыл бұрын
Very good advices. I thank you very much!
@BrendanMetcalfe5 жыл бұрын
Clear explanation of some core skills - nice vid!
@sirknumbskull34182 жыл бұрын
I once was questioned about how to define a class. I had a total blackout. Like I just realised, that python can have those.
@CristiNeagu5 жыл бұрын
The biggest issue with examiners asking those "typical" questions is not that they are not representative of the real world, but that if the examiner has to resort to asking those types of questions they probably aren't qualified enough to evaluate the applicant properly.
@varungm71722 жыл бұрын
Truly helped. Thank you
@DMSAProductions6 жыл бұрын
Thank you so much! great code examples exactly what i was looking for to be prepared!
@anuraagch90483 жыл бұрын
Thanks a lot brother.This video helped me a lot.
@allanalex50065 жыл бұрын
Love you bro. One of the Best Explanation 😍.
@FilterYT6 жыл бұрын
Thanks Corey, that was a thoughtful video.
@Theoneandonly88able5 жыл бұрын
After you finished the beginner tutorials 1 through 9 what videos would you recommend watching after those videos? I just finished video 9 for the python tutorial beginners section and I'm not sure what to watch next. thanks for you response.
@skrclips994 жыл бұрын
Great advice. Thank you so much
@XPrinco3 жыл бұрын
Really good advices! They are very sensate and usefull!
@huruimeng48805 жыл бұрын
Thanks for sharing!!!! lesson learned!
@ac2italy3 жыл бұрын
xrange is deprecated in Python3
@satoshinakamoto1714 жыл бұрын
Please make 2020 version of this...
@hirekaanmanasseh46922 жыл бұрын
This was really useful thanks alot
@Einstine19847 жыл бұрын
That's an awesome list! Thanks
@dalsunkim3297 жыл бұрын
Comprehensive advice.
@michalmikulasi51937 жыл бұрын
i am glad you made this video because i can at least repeat the most basic concepts. however its like trying to apply for a job as a plumber and knowing barely what a pipe is. this cant be enough. if anyone with this amount of skill gets a job i will eat my shoe
@coreyms7 жыл бұрын
This isn't really meant to be an all-encompassing video showing everything you need to know in order to get a job, but rather how to prepare for an interview and what to touch up on beforehand.
@michalmikulasi51937 жыл бұрын
i dont even know why i am criticising since i should be actually thankful for what you have taught me
@coreyms7 жыл бұрын
No worries... it's definitely a valid criticism. I've changed my opinions somewhat since making this video and plan to do a more in-depth video in the future about the best data structures and algorithms to understand in order to solve problems efficiently, and perhaps tie that into a new preparation video. I appreciate the feedback. Honestly.
@christinichka5 жыл бұрын
Thank you! This information is super helpful!
@xekis5 жыл бұрын
Also, now that it's 2019 you should use python3 in interviews if given the choice though there is still a lot of python2 still out in the wild.
@toddntasha5 жыл бұрын
This is great information and I am just learning Python online with Codecademy. Great advice.
@skillfulactor095 жыл бұрын
Todd & Tasha Vlogs is codeacdemy good
@coolvideos97734 жыл бұрын
Have you finished with your python? I am thinking to start learning it to get a better job.
@the_original_dreamer8 жыл бұрын
great start here for sure *subscribed
@shaktib57887 жыл бұрын
Well written doc.
@shivajohari22497 жыл бұрын
Very comprehensive and researched list (y)
@josephbenadam7 жыл бұрын
God bless you Thanks for sharing your experience. I use to think that I had to be an expert on each topic but I forgot that we are humans and not computers.
@LGseeker4 жыл бұрын
This was very helpful, thank you!
@sharukhshaik74763 жыл бұрын
Thanks! it helps a lot
@amortalbeing2 жыл бұрын
Please note that tips such as the one mentioned in 14:33 no longer holds for Python3 as in in Python 3 items() returns an iterator and never builds a list fully unlike Python2.x
@pavankumargurrala72165 жыл бұрын
You are Amazing.
@ermiasgio8 жыл бұрын
Great video Corey, thanks.
@haoyangrocks7 жыл бұрын
Great advice! Thank you for all the super useful tips
@fsa1572 жыл бұрын
Great video!
@esteban-alvino Жыл бұрын
Thanks, preparing for interview, I think your advice apply for any job offer, thanks, just one can update to this time. Thanks
@rebiiahmed78367 жыл бұрын
Thank you very much Corey !!!! I'am preparing job interviews in Tunisia and France :)
@georgepark4234 жыл бұрын
Thanks Corey!!!!
@brahimboughanem2083 жыл бұрын
thank you schafer
@uncoil9 жыл бұрын
Hey Corey. What's your experience in Python/CS/interviewing? Do you regularly interview candidates? Etc. just for some context. Cheers
@coreyms9 жыл бұрын
+Tabletop I sit in on many interviews, but I do not conduct them myself at the moment. I've also been through the interview process several times specifically for companies hiring Python developers. This list is composed from personal experience as a candidate and also as someone who has sat in while candidates are interviewed. Good question. Thanks. I should have mentioned that in the video.
@mhovmark6 жыл бұрын
You rock Corey!
@ShawkingIT9 жыл бұрын
Fantastic video! Very informative and I found it to be very helpful.