[ Django? ]
- web Framework to make Back End API, Front End using only Python
[Argument, Keyword argument?]
- *args : infinite positional arguements (>>take tuple)
- **kwargs : infinite keyword arguements ( >>take dictionary)
[ Method ]
- functions inside of a class
- โ method ! ๋ชจ๋ ๋ฉ์๋์ ์ฒซ๋ฒ์งธ argument๋ ๋ฉ์๋๋ฅผ ํธ์ถํ๋ ์๊ธฐ์์ (instance)์ด์ผ
ํ์ด์ฌ์ ๋ฉ์๋๋ฅผ ํธ์ถํ ๋ ๊ทธ ๋ฉ์๋์ ์ธ์คํด์ค๋ฅผ ์ฒซ๋ฒ์งธ ์๊ท๋จผํธ๋ก ์ฌ์ฉํด
- ๋ด์ฅํจ์
dir(class) : ํด๋์ค์ ์กด์ฌํ๋ ๋ชจ๋ properties๋ฅผ list๋ก ๋ฐํ
[inheritance]
there is no 'extends' keyword > USING ARGUMENT WHEN U MAKE A CHILD CLASS
e.g.) class Child_class_name(Parents_class_name)
- overload : can deal with different arguments
- override : can define everything
if u wanna keep original functions and add something, should use super()
'Python > [Nomad] Web Scrapper' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[EXTENDING] put Web Scrapper in Server (0) | 2020.08.06 |
---|---|
[Building a Job Scrapper] How to make Web Scrapper? (0) | 2020.08.04 |
[Introduction&Theory] Python_basic (0) | 2020.08.03 |
๋๊ธ