- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我在 Python 3.8 中收到以下错误,而在 Python 3.6 中没有收到该错误。我怎样才能让它与 Python 3.8 一起工作?为了重现错误,请按照此处操作:https://github.com/davidstutz/mesh-fusion/issues/7
[3645:3637 0:2090] 11:04:08 Tue Jan 12 [mona@goku:pts/0 +1] ~/mesh-fusion/libfusiongpu
$ python setup.py build_ext --inplace
Added OpenMP
running build_ext
skipping 'cyfusion.cpp' Cython extension (up-to-date)
building 'cyfusion' extension
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/mona/venv/tsdf/lib/python3.8/site-packages/numpy/core/include -I/home/mona/venv/tsdf/include -I/usr/include/python3.8 -c cyfusion.cpp -o build/temp.linux-x86_64-3.8/cyfusion.o -ffast-math -msse -msse2 -msse3 -msse4.2 -fopenmp
In file included from /home/mona/venv/tsdf/lib/python3.8/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822,
from /home/mona/venv/tsdf/lib/python3.8/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from /home/mona/venv/tsdf/lib/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from cyfusion.cpp:531:
/home/mona/venv/tsdf/lib/python3.8/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
17 | #warning "Using deprecated NumPy API, disable it with " \
| ^~~~~~~
cyfusion.cpp: In function ‘PyObject* PyInit_cyfusion()’:
cyfusion.cpp:22866:32: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22866 | __pyx_type_8cyfusion_PyViews.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
cyfusion.cpp:22866:32: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22866 | __pyx_type_8cyfusion_PyViews.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
cyfusion.cpp:22866:32: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22866 | __pyx_type_8cyfusion_PyViews.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
cyfusion.cpp:22871:33: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22871 | __pyx_type_8cyfusion_PyVolume.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
cyfusion.cpp:22871:33: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22871 | __pyx_type_8cyfusion_PyVolume.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
cyfusion.cpp:22871:33: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22871 | __pyx_type_8cyfusion_PyVolume.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
cyfusion.cpp:22878:26: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22878 | __pyx_type___pyx_array.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
cyfusion.cpp:22878:26: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22878 | __pyx_type___pyx_array.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
cyfusion.cpp:22878:26: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22878 | __pyx_type___pyx_array.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
cyfusion.cpp:22883:32: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22883 | __pyx_type___pyx_MemviewEnum.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
cyfusion.cpp:22883:32: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22883 | __pyx_type___pyx_MemviewEnum.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
cyfusion.cpp:22883:32: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22883 | __pyx_type___pyx_MemviewEnum.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
cyfusion.cpp:22895:31: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22895 | __pyx_type___pyx_memoryview.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
cyfusion.cpp:22895:31: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22895 | __pyx_type___pyx_memoryview.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
cyfusion.cpp:22895:31: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22895 | __pyx_type___pyx_memoryview.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
cyfusion.cpp:22905:36: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22905 | __pyx_type___pyx_memoryviewslice.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
cyfusion.cpp:22905:36: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22905 | __pyx_type___pyx_memoryviewslice.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
cyfusion.cpp:22905:36: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22905 | __pyx_type___pyx_memoryviewslice.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
cyfusion.cpp: In function ‘void __Pyx__ExceptionSave(PyThreadState*, PyObject**, PyObject**, PyObject**)’:
cyfusion.cpp:24028:21: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
24028 | *type = tstate->exc_type;
| ^~~~~~~~
| curexc_type
cyfusion.cpp:24029:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
24029 | *value = tstate->exc_value;
| ^~~~~~~~~
| curexc_value
cyfusion.cpp:24030:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
24030 | *tb = tstate->exc_traceback;
| ^~~~~~~~~~~~~
| curexc_traceback
cyfusion.cpp: In function ‘void __Pyx__ExceptionReset(PyThreadState*, PyObject*, PyObject*, PyObject*)’:
cyfusion.cpp:24037:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
24037 | tmp_type = tstate->exc_type;
| ^~~~~~~~
| curexc_type
cyfusion.cpp:24038:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
24038 | tmp_value = tstate->exc_value;
| ^~~~~~~~~
| curexc_value
cyfusion.cpp:24039:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
24039 | tmp_tb = tstate->exc_traceback;
| ^~~~~~~~~~~~~
| curexc_traceback
cyfusion.cpp:24040:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
24040 | tstate->exc_type = type;
| ^~~~~~~~
| curexc_type
cyfusion.cpp:24041:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
24041 | tstate->exc_value = value;
| ^~~~~~~~~
| curexc_value
cyfusion.cpp:24042:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
24042 | tstate->exc_traceback = tb;
| ^~~~~~~~~~~~~
| curexc_traceback
cyfusion.cpp: In function ‘int __Pyx__GetException(PyThreadState*, PyObject**, PyObject**, PyObject**)’:
cyfusion.cpp:24112:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
24112 | tmp_type = tstate->exc_type;
| ^~~~~~~~
| curexc_type
cyfusion.cpp:24113:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
24113 | tmp_value = tstate->exc_value;
| ^~~~~~~~~
| curexc_value
cyfusion.cpp:24114:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
24114 | tmp_tb = tstate->exc_traceback;
| ^~~~~~~~~~~~~
| curexc_traceback
cyfusion.cpp:24115:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
24115 | tstate->exc_type = local_type;
| ^~~~~~~~
| curexc_type
cyfusion.cpp:24116:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
24116 | tstate->exc_value = local_value;
| ^~~~~~~~~
| curexc_value
cyfusion.cpp:24117:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
24117 | tstate->exc_traceback = local_tb;
| ^~~~~~~~~~~~~
| curexc_traceback
cyfusion.cpp: In function ‘void __Pyx__ExceptionSwap(PyThreadState*, PyObject**, PyObject**, PyObject**)’:
cyfusion.cpp:24354:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
24354 | tmp_type = tstate->exc_type;
| ^~~~~~~~
| curexc_type
cyfusion.cpp:24355:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
24355 | tmp_value = tstate->exc_value;
| ^~~~~~~~~
| curexc_value
cyfusion.cpp:24356:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
24356 | tmp_tb = tstate->exc_traceback;
| ^~~~~~~~~~~~~
| curexc_traceback
cyfusion.cpp:24357:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
24357 | tstate->exc_type = *type;
| ^~~~~~~~
| curexc_type
cyfusion.cpp:24358:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
24358 | tstate->exc_value = *value;
| ^~~~~~~~~
| curexc_value
cyfusion.cpp:24359:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
24359 | tstate->exc_traceback = *tb;
| ^~~~~~~~~~~~~
| curexc_traceback
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
19149/31772MB(tsdf)
我有:
$ pip --version
pip 20.3.3 from /home/mona/venv/tsdf/lib/python3.8/site-packages/pip (python 3.8)
19149/31772MB(tsdf)
[3645:3637 0:2092] 11:06:58 Tue Jan 12 [mona@goku:pts/0 +1] ~/mesh-fusion/libfusiongpu
$ python
Python 3.8.5 (default, Jul 28 2020, 12:59:40)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cython
>>> cython.__version__
'0.29.21'
>>> quit()
19149/31772MB(tsdf)
[3645:3637 0:2093] 11:07:14 Tue Jan 12 [mona@goku:pts/0 +1] ~/mesh-fusion/libfusiongpu
$ lsb_release -a
LSB Version: core-11.1.0ubuntu2-noarch:security-11.1.0ubuntu2-noarch
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal
19365/31772MB(tsdf)
最佳答案
使用 -f
强制重建/重新生成 cythonized 文件(或 --force
),即:
python setup.py build_ext -i -f
或者如果使用
pip
:
pip install --global-option build --global-option --force .
大致可以理解为:安装前运行
build
(包括
build_ext
)与选项 ´--force`。
cyfusion.cpp
)不会使用 Py3.8+-headers 构建。
distutils
使用时间戳来决定文件是否应该重建/重新生成/再循环,就它而言,Cython 生成的
cyfusion.cpp
-file 是最新的 - 因为
cyfusion.pyx
一代后没有改变。完全不考虑整个不同的 Python/Cython 版本业务。
__reduce_cython__
(例如这个 post)cyfusion.cpp
- 来自发行版/git-repository 的文件并运行
python setup.py build_ext -i
然后。
关于python - 构建 Cython 扩展时出现错误 : ‘PyThreadState’ {aka ‘struct _ts’ } has no member named ‘exc_type’ ; did you mean ‘curexc_type’ ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65695724/
我有一堆字符串,其中包含以姓氏,名字格式命名的名称列表,并用逗号分隔,如下所示: names 序列化字符串中的“first name last name”,我们在Stack Overflow上找到一个
在尝试合并多个数据框时,我得到了一些非常奇怪的东西。帮助! 我需要通过“RID”和“VISCODE”列合并一堆数据框。这是它的外观示例: d1 = data.frame(ID = sample(9,
让我们尽可能简单地做第一个例子。 我想知道如何应用这个宏;像这里适用于例如printf("%s",macro(arg)); #include #include #include #define
以下2个bean声明之间有什么区别吗? @Bean(name = "bean1") public A getA() { return new A(); } @Bean @Quali
if(c.get_name(&name) && name && !strcmp(name, contName)) 谁能告诉我这行代码在 C++ 中的含义 最佳答案 如果 c 有一个名字并且它等于 co
我是 Rails 的初学者,在改进我的搜索查询时遇到了一些问题: 在我调用的 Controller 中: def index if params[:search] @persons = Pers
谁能帮我解决这段代码的最后一部分的编译错误它的说法创建构造函数请帮助 public class Officer { public static void main(String args[]
关闭。这个问题需要details or clarity .它目前不接受答案。 想改进这个问题吗? 通过 editing this post 添加细节并澄清问题. 关闭 8 年前。 Improve t
我创建了一个 Web 应用程序,它具有使用 JSF 技术的 createBook.xhtml 并且它使用托管 Bean。在此页面中,用户必须在输入字段中填写所需信息,然后点击提交按钮。然后应使用 do
嘿,我正在尝试弄清楚如何将在 mySQL 中工作的语句转换为 PostgreSQL 并且很好奇是否有人知道解决方案。 这是在 mySQL 中有效的语句: def self.by_name(keywor
如果我要创建所有类型的类型,而不是使用字符串和原始类型,那么最大的缺点是什么? 通常它看起来像: String name = person.getName(); int age = person.ge
我正在尝试从以下内容中提取郊区名称: 12 street name, suburb name, CTG 1234 在 PHP 中使用正则表达式。 街道和郊区名称都可以是任意数量的单词长度。 CTG 是
我有一个呈现个人详细信息组件的父组件,并且正在注入(inject)父组件的验证器范围。如果我使用 v-validate 指令和 this.$validator.validateAll() 或 this
现在,据我了解,name[] 声明中的 extern 告诉编译器它的定义在其他地方(在我的程序中,我定义了它低于我使用它的部分)。但是为什么 strlen() 和 sizeof 会有不同的结果?str
我一直在解决一个问题: "Design a program that asks the user for a series of names (in no particular order). Aft
我的 XML 如下所示: 我想使用 JAXB 来阅读该内容。 我知道我能做到 @XmlRootElement(name="thing") public class Thing{
对于字符串 name[],我们可以使用 strlen(name)+1 和 sizeof(name) 互换 在我们的代码中没有经过深思熟虑?他们不一样吗?我检查了一下,发现两者的返回类型都是相同的,si
我正在尝试从以下内容中提取郊区名称: 12 street name, suburb name, CTG 1234 在 PHP 中使用正则表达式。 街道和郊区名称的长度可以是任意数量。 CTG 是 st
关闭。这个问题需要details or clarity .它目前不接受答案。 想改进这个问题吗? 通过 editing this post 添加细节并澄清问题. 关闭 8 年前。 Improve t
bash 手册列出了 for 的语法。复合语句为for name [ [ in [ word ... ] ] ; ] do list ; done这意味着 do 之前的分号如果 in 是可选的子句省略
我是一名优秀的程序员,十分优秀!