重点 1.对于用户操作的事件,是由事件系统控制的 2.事件系统的动作是通过输入模块定义的 3.对于那个对象发生事件,由光线投射判定。 2-3-1 事件系统概要事件系统通过场景中的“Event System”对象所附加的组件发挥功能 Standalone Input Module(独立输入模块)组件是 ...
分类:
其他好文 时间:
2020-03-29 21:02:54
阅读次数:
85
这回咱们用个pandas库 1.首先先看将列表存储到csv: 代码来自于:https://blog.csdn.net/weixin_43245453/article/details/90054820 import pandas as pd #a和b的长度必须保持一致,否则报错 a = [x for ...
分类:
编程语言 时间:
2020-03-29 12:58:33
阅读次数:
90
一、数据规模 二、集群处理数据的吞吐量 2.1 hdfs的读写测试 Hadoop自带一个测试用的jar包,可以运行它来得知集群处理数据的性能如何 hadoop jar /opt/module/hadoop-2.7.2/share/hadoop/mapreduce/hadoop-mapreduce-c ...
分类:
其他好文 时间:
2020-03-29 12:35:17
阅读次数:
225
[TOC] 一. 编译Python文件 为了提高加载模块的速度,强调强调强调:提高的是加载速度而绝非运行速度。python解释器会在__pycache__目录中下缓存每个模块编译后的版本,格式为:module.version.pyc。通常会包含python的版本号。例如,在CPython3.3版本下 ...
分类:
编程语言 时间:
2020-03-29 12:20:28
阅读次数:
75
webpack基本概念 1. webpack中的module,chunk 和 bundle module 就是一个js模块,就是被require或export的模块,例如 ES模块,commonjs模块,AMD模块chunk 是 代码块,是进行依赖分析的时候,代码分割出来的代码块,包括一个或多个mo ...
分类:
Web程序 时间:
2020-03-29 01:23:50
阅读次数:
335
import pyttsx3 as pyt engine = pyt.init() engine.say('这是一个练习') engine.runAndWait() No module named "pythoncom" 解决方法 pip install pypiwin32 ...
分类:
编程语言 时间:
2020-03-29 01:08:50
阅读次数:
415
genesis.mksls Convert an installation file/script to an SLS file. Currently supports , , and . CLI Examples: salt genesis.mksls kickstart /path/to/kic ...
分类:
其他好文 时间:
2020-03-28 22:00:07
阅读次数:
81
highstate_doc.read_file output the contents of a file: this is a workaround if the cp.push module does not work. https://github.com/saltstack/salt/iss ...
分类:
其他好文 时间:
2020-03-28 21:52:39
阅读次数:
86
iosconfig.diff_text Return the diff, as text, between the candidate and the running config. candidate_config The candidate configuration sent as text. ...
分类:
移动开发 时间:
2020-03-28 21:51:24
阅读次数:
82
grafana4.get_org Show a single organization. name Name of the organization. profile Configuration profile used to connect to the Grafana instance. Def ...
分类:
其他好文 时间:
2020-03-28 21:49:12
阅读次数:
80