下面关于Python的高级扩展模块说法错误的是( ) 运行上述代码后再利用照片浏览器打开test.jpg时已经实现了模糊效果。

2023-04-20

下面关于Python的高级扩展模块说法错误的是( ) 运行上述代码后再利用照片浏览器打开test.jpg时已经实现了模糊效果。
为您查询到如下内容:

A、Flask是Python( )web开发框架的一种。

B、Pillow是对图像进行操作和处理的一个模块,可以实现缩略图、图像模糊等功能。

C、from( )PIL import image,ImageFilter

im=Image.open('test.jpg')

im.filter(ImageFilter.BLUR)

运行上述代码后再利用照片浏览器打开test.jpg时已经实现了模糊效果。

D、运行下述代码后,访问https://127.0.0.1:5000/可以看到返回一行文本:Python is( )the( )best( )language in the( )world!

from( )flask import( )Flask

app=Flask(__name__)

@app.route(/)( )def fun :

return( )Python is( )the( )best( )language in the( )world!

if( )__name__==__main__:

app.run()



参考答案:C