What is the difference between a Framework and a Python Library?

preview_player
Показать описание
Up vote your favorites.

The long term goal: build a search engine of technical and non-technical questions with concise video responses. The more questions that we get, the more answers we can research and respond with.

Рекомендации по теме
Комментарии
Автор

This was extremely helpful and easy to grasp. Thank you !

PhreakPhantom
Автор

very well explained! best youtube video for understanding clearly what a framework is.

rohithegde
Автор

Ah that was very helpful. I'm looking forward to learning the lingo!

janphillips
Автор

A frame work it a structure on how to do a task with openings to tweek it how you like. Like python mobile development and python website development. And a library is used interchangeable with framework, but i think means more like functions and modules to be used in python like python time module. Right?

philipjdry
Автор

It seems this leaves the distinction between framework and package somewhat fuzzy (and maybe that's the way it should be). E.g., is matplotlib a framework? Most would say no, but why, exactly? It gives you a bunch of coherent code that speeds up development for plotting. I think one thing is clear: all python frameworks are packages, but not all packages are frameworks. There are issues of scale (e.g., a three-function package that computes derivatives of polynomials is not a framework). I think also that core libraries are not frameworks, they are just part of Python (I guess you could say Python is a framework but that would be weird). Django unleased book defines a framework as "a large codebase, or collection of code, meant to provide universal, reusable behavior for a targeted project....Frameworks are different from other external codebases, such as libraries, because they feature *inversion of control*...Without a framework, the developer controls the flow of a program...By contrast, when using a framework, the developer adds or extends code in specific ways which is essentially the base of the program...In this way, the framework, not the developer, dictates control flow." I'm frankly not happy with this definition as it isn't actually that clear what this inversion of control amounts to. I think it is largely a matter of degree, and it is sort of like a lot of things: I can't define it, but I know it when I see it. But there are also grey areas.

neurochannels
Автор

so, all frameworks are the library but a library is not framework ? in python library is also called API that makes it super confusing, let me clear out what i'm asking: in framework things i had to build using library is easily available as already available, so my reach to library has been shortened and framework did that but still frameworks uses libraries to work on their own to reach libraries right?

YAakash
Автор

Change the video display image, it will get you more views. Anywho, interesting video, thanks !

chaoukimachreki
Автор

thank you for this explication it was very clear. i have some question, please reply to me. there are many functions in python but i know only some of basics, so how can i begin my application using python? how do i to know if a function exist or i have to develop it? and also a different new syntaxies that i meet in programs python?

karinekarine
Автор

So all python frameworks are also python libraries? But frameworks doens't have to be python specific (e.g. bootstrap). Is that correctly understood?

danielandreasen
Автор

What is the future of programming languages in the span of 20-25 years.... I mean which languages should one focus on for the next generation of interconnected devices and IoT also??

Abhishek-qdmc
Автор

python requests is a framework? i am confused there

bhoomi_d
Автор

so their both a collection of .... so how ...

en_coded
Автор

I watched the video and now im more confused :-) Have no idea what libraries are and what is the difference between framework and

lmeasychann
Автор

Does one of your eye have a kind of superpower?

fulanipride
Автор

I really appreciate your videos but can I politely suggest some daily exercise and a non-alcohol non-drug lifestyle? You seem to be under a lot of stress.

roeese