jackpopc / advance-python Goto Github PK
View Code? Open in Web Editor NEWPython Advanced Tutorial.
Home Page: https://github.com/Jackpopc/advance-python
Python Advanced Tutorial.
Home Page: https://github.com/Jackpopc/advance-python
抽象基类总的来说和接口类似,是一个“不完整的”类,因为其内部可以有已经实现的方法,也有需要子类重新写的方法。但是我也可以定义一个父类,在父类中定义一个方法,但是只是定义,然后在方法中使用如下代码抛出异常,当子类中没有定义该方法的时候就会报错,提示子类中必须提供该方法,这种和抽象基类的应用是否存在冲突呢?或者说是都能实现,只是方式不同罢了?
raise NotImplementedError(
'subclasses of SiteBase must provide an find() method')
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.