Skip to main content
 首页 » 编程设计

python之***在Python -3中是什么意思

2025年05月04日22yyy_WW

我正在浏览 http://www.ma.iup.edu/~hedonley/python/ 提供的图像处理 Python 脚本并遇到了运算符 ***。

这是什么意思?我知道 * 表示乘法,** 表示求幂。

请您参考如下方法:

没有任何意义:

Python 3.6.4 (default, Feb 27 2018, 22:13:22) 
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.2)] on darwin 
Type "help", "copyright", "credits" or "license" for more information. 
>>> foo = *** 
  File "<stdin>", line 1 
    foo = *** 
           ^ 
SyntaxError: invalid syntax 
>>> 

很可能,在 article you linked 的上下文中, 它旨在成为一个占位符。