Feifeiyu Blog

Chance Favors Only the Prepared Mind


  • Home

  • Nodejs

  • Front

  • 基础

  • Python

  • Golang

  • Database

  • 随笔

  • About

PWA 简单实践分享

Posted on 2019-04-08   |  

渐进式网络应用程序, 英文名: Progressive Web App, 简称 PWA。 亲爹 - google,目前已经得到 Microsoft,Apple, Firefox 等大厂的支持,特别 Microsoft 更加激进直接将 PWA 应用设置为其应用商店的一等公民,而且必应爬虫找到符合质量的 PWA 应用直接加到应用商店。

Read more »

Fluent Python Study Notes - Object references, mutability and recycling

Posted on 2017-09-06   |   In python   |  

Identity, equality and aliases

In python, every object has an identity, a type and a value. An object’s identity never changes once it has been created; you may think of it as the object’s address in memory. The is operator compares the identify of two objects; the id() function returns an integer representing its identify. The real meaning of an object’s id is implementation-dependent.

Read more »

Fluent Python Study Notes - Function decorators and closures

Posted on 2017-08-23   |   In python   |  

Decorators

A decorator is a callable that takes another functions as argument (the decorated function). The decorator may perform some processing with the decorated function, and returns it or repalces it with another function or callable object.

Read more »

Fluent Python Study Notes - First-class Functions

Posted on 2017-07-27   |   In python   |  

First-class Objects

Functions in python area first-class objects:

  • created at runtime
  • assigned to a variable or element in a data structure
  • passed as an argument to function
  • returned as the result of a function
Read more »

Fluent Python Study Notes - Text versus Bytes

Posted on 2017-07-15   |   In python   |  

Character issues

The concept of “string” is simple enough: a string is a sequence of characters. In python 3 str are Unicode character, just like the items of a unicode object in python 2, while in python 2 str are the raw bytes.

Read more »
123…9
Feifeiyu

Feifeiyu

HTML/CSS/JS, Node.js, Python/Django, FPGA

41 posts
7 categories
13 tags
GitHub
Friendly Link
  • 邓世龙学习笔记
© 2016 - 2020 Feifeiyu
Powered by Hexo
Theme - NexT.Pisces