comments's People
comments's Issues
Python 中的闭包 | JonasM
https://xumingmeng.com/2020/11/26/closure-in-python/
问题假设我们有一个log函数用于向终端输出一条信息。 12345678910111213def log(msg): print(msg)def task1(): log('processing task') ...def task2(): log('processing task') ...task1() # processing tasktask2() # proc
about | JonasM
码农一个。现居挪威。目前主要使用 Python 和 JavaScript(React)。
Python 中的装饰器 | JonasM
https://xumingmeng.com/2020/11/27/decorator-in-python/
Python 中的装饰器首先,假设我们有一个函数get_remote_resource接受一个参数res_id并且返回要获取取的后台资源。有一个函数get_resource_x_png,获取一个名为x.png的图片。 123456def get_remote_resource(res_id): ...def get_resource_x_png(): res_id = 'x.png'
关于我 | JonasM
https://xumingmeng.com/2019/11/24/about/
码农一个。目前主要使用 Python 和 JavaScript(React)。
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.