ide - Will there be any prompts when using from...impot... as when writing python in pycharm? Does this violate any regulations of PE8?
天蓬老师
天蓬老师 2017-05-18 10:56:33
0
1
824

python is 2.7

For example, like this: from defs import raiseApiEx as err
This line is directly gray. When err is used below, it is directly marked with a wavy line prompt.

There was no such thing in eclipse before. I heard that the syntax detection in pychram is relatively strict.
But isn't from defs import raiseApiEx as err supported by syntax?
What regulations are violated? Although it does not affect the operation, I would like to know why it is prompted.

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all (1)
刘奇

It is not recommended to use camel case in python

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!