所有一切的前提是,你要相信这个世界上的所有逻辑和知识,都可以用一个函数来表示。Functions describe the world ! 比如输入物体的质量和加速度,根据牛顿第二定律,就可以得到物体施加的力,这就是人工智能早期的思路&am…
Lua语法
基本数据类型
number(包含整数和浮点数)、string、boolean、nil
基本语法
--注释
#字符串长度、table从1开始连续元素的长度
..字符串拼接
逻辑运算符 and or not
条件语句
if xxx then
elseif yyy then
else
end
循环语句
for i1…
python模块代码
import os
import json
import xml.etree.ElementTree as ET
from typing import List, Optional, Dict, Union
from pathlib import Path class DirectoryTreeExporter:def __init__(self,root_path: str,output_file: str,fmt: str txt,show_root: boo…