{
  "schemaVersion": "0.11.0",
  "canonical": "https://www.pystone.net/notes/python-miscellaneous-tips/",
  "atlas": "https://www.pystone.net/?node=python-miscellaneous-tips#knowledge-atlas",
  "markdown": "https://www.pystone.net/notes/python-miscellaneous-tips.md",
  "context": "https://www.pystone.net/notes/python-miscellaneous-tips.context.json",
  "knowledgeVersion": "224c990773de.5fa8af6e39fa",
  "build": {
    "siteCommit": "224c990773de166d23a886306577dd90379529ce",
    "notesCommit": "5fa8af6e39fa3891d1b9b4832bfa6c4e0ecaaf0a",
    "builtAt": "1970-01-01T00:00:00.000Z",
    "version": "224c990773de.5fa8af6e39fa"
  },
  "id": "note:python-miscellaneous-tips",
  "slug": "python-miscellaneous-tips",
  "title": "【python】零碎知识",
  "type": "note",
  "visibility": "public",
  "idStability": "rename-stable",
  "author": {
    "name": "Perrin Yong",
    "profile": "https://www.pystone.net/profile/"
  },
  "publisher": {
    "name": "Perrin Yong",
    "profile": "https://www.pystone.net/profile/"
  },
  "aliases": [],
  "summary": "【python】零碎知识",
  "contentRole": "unspecified",
  "isMoc": false,
  "mocRecognition": "none",
  "generated": false,
  "attribution": "unspecified",
  "domain": "10-计算机、信息技术与工程",
  "tags": [],
  "mocs": [],
  "contentHash": "d91fcf5df62040dd217cbf4c0cb5b1f73147bdcd9f3dcdc314a17bb635bce9d5",
  "assets": [],
  "headings": [
    {
      "depth": 1,
      "text": "【python】零碎知识",
      "anchor": "python零碎知识",
      "citation": "https://www.pystone.net/notes/python-miscellaneous-tips/#python%E9%9B%B6%E7%A2%8E%E7%9F%A5%E8%AF%86"
    },
    {
      "depth": 2,
      "text": "foo, bar",
      "anchor": "foo-bar",
      "citation": "https://www.pystone.net/notes/python-miscellaneous-tips/#foo-bar"
    }
  ],
  "claims": [],
  "outgoing": [],
  "incoming": [
    {
      "id": "note:software-engineering-and-quality",
      "title": "软件工程与质量保障",
      "url": "https://www.pystone.net/notes/software-engineering-and-quality/",
      "atlas": "https://www.pystone.net/?node=software-engineering-and-quality#knowledge-atlas",
      "label": "软件工程与质量保障",
      "origin": "explicit",
      "humanReviewed": true,
      "context": "CI-CD与质量保障/CI-CD工具链中的“【python】零碎知识”导航项",
      "citation": "https://www.pystone.net/notes/software-engineering-and-quality/#ci-cd%E4%B8%8E%E8%B4%A8%E9%87%8F%E4%BF%9D%E9%9A%9Cci-cd%E5%B7%A5%E5%85%B7%E9%93%BE"
    }
  ],
  "contentMarkdown": "# 【python】零碎知识\n\n﻿# 【python】零碎知识\n\n> 创建时间：2021/8/30 15:17\n\n* foo, bar\n\n## foo, bar\n\nUsed very generally as a **sample name for absolutely anything** , esp. programs and files (esp. scratch files).\nFirst on the standard list of **metasyntactic variables** used in syntax examples (bar, baz, qux, quux, corge, grault, garply, waldo, fred, plugh, xyzzy, thud). [JARGON]\n\nfoo is used as a **place-holder** name, usually in example code to signify that the object being named, or the choice of name, is not part of the crux of the example. foo is often followed by bar, baz, and even bundy, if more than one such name is needed. Wikipedia calls these names Metasyntactic Variables. Python programmers supposedly use spam, eggs, ham, instead of foo, etc.\n\n> I have also seen foo used when the programmer can't think of a meaningful name (as a substitute for tmp, say)\n\nRef: https://stackoverflow.com/questions/53609/what-does-foo-really-mean\n"
}
