无论如何要做到这一点?我找了那个问题,只有我发现是在MAC OS上.我正在使用Ubuntu 14.04.
我的配置:
我已经通过浏览器完成了Moodle 3.0的安装,并且没有加载css或javascript.这是NGINX错误日志:
2017/04/24 20:48:23 [error] 3277#0: *601 open() "/var/www/html/moodle/theme/image.php/clean/core/1493057621/moodlelogo" failed (20: Not a directory), client: 10.0.2.2, server: localhost, request: "GET /theme/image.php/clean/core/1493057621/moodlelogo HTTP/1.1", host: "localhost:8080", referrer: "http://localhost:8080/index.php"
2017/04/24 20:48:23 [error] 3277#0: *601 open() "/var/www/html/moodle/lib/javascript.php/1493057621/lib/requirejs/require.min.js" failed (20: Not a directory), client: 10.0.2.2, server: localhost, request: "GET /lib/javascript.php/1493057621/lib/requirejs/require.min.js HTTP/1.1", host: "localhost:8080", referrer: "http://localhost:8080/index.php"
2017/04/24 20:48:23 [error] 3277#0: *601 open() "/var/www/html/moodle/theme/javascript.php/clean/1493057621/footer" failed (20: Not a directory), client: 10.0.2.2, server: localhost, request: "GET /theme/javascript.php/clean/1493057621/footer HTTP/1.1", host: …Run Code Online (Sandbox Code Playgroud) Python 3.7引入了数据类来存储数据。我正在考虑采用这种新方法,该方法比命令更井井有条。
但是我有一个疑问。Python将键转换为dict上的哈希,这使得查找键和值的速度更快。数据类实现类似的东西吗?
哪一个更快?为什么?
ubuntu-14.04 ×2
css ×1
dictionary ×1
javascript ×1
moodle ×1
nginx ×1
path ×1
python ×1
python-3.7 ×1
sublimetext3 ×1