setup.java

来自「无线通信的主要编程软件,是无线通信工作人员的必备工具,关天相关教程我会在后续传上」· Java 代码 · 共 56 行

JAVA
56
字号
// Copyright (c) Corporation for National Research Initiativespackage org.python.modules;// This is sort of analogous to CPython's Modules/Setup file.  Use this to// specify additional builtin modules.public class Setup{    // Each element of this array is a string naming a builtin module to    // add to the system.  The string has the following allowable forms:    //    // name    //     The module name is `name' and the class name is    //     org.python.modules.name    //    // name:class    //     The module name is `name' and the class name is `class' where    //     class must be a fully qualified Java class name    //    // name:null    //     The module `name' is removed from the list of builtin modules    //    // That isn't very useful here, but you can add additional builtin    // modules by editing the JPython registry file.  See the property    // python.modules.builtin for details.    public static String[] builtinModules = {        "jarray",        "math",        "thread",        "operator",        "time",        "os",        "types",        "py_compile",        "pre:org.python.modules.re",        "_sre",        "synchronize",        "cPickle",        "cStringIO",        "struct",        "binascii",        "md5:org.python.modules.MD5Module",        "exceptions:org.python.core.exceptions",        "_codecs",        "imp",        "sha",        "ucnhash",        "_jython",        "new:org.python.modules.newmodule",        "_weakref",        "xreadlines",        "errno",    };}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?