Code Monkey home page Code Monkey logo

Comments (7)

rudy-letote avatar rudy-letote commented on August 20, 2024 2

@OBKoro1 我写代码的过程中,发现了这个大写的UTF总警告,才测试了下,我这里本机已经修改成了py :""

from koro1fileheader.

OBKoro1 avatar OBKoro1 commented on August 20, 2024 1

@rudy-letote hey 哥们~ 谢谢你的感谢!

from koro1fileheader.

OBKoro1 avatar OBKoro1 commented on August 20, 2024

@saup007
插件刚刚更新了,已支持该功能
觉得不错的话,点个star给我吧,谢谢!

from koro1fileheader.

rudy-letote avatar rudy-letote commented on August 20, 2024

[对默认添加这个请求头提一些建议:

  1. 现在对于python程序默认的添加语句,我个人认为有点画蛇添足,因为无论使用 python a.py 还是python3 a.py 亦或 在ide 中执行代码,都是已经制定了python的解释器,添加这句话,完全起不到作用。只有在命令行中使用 "./a.py" 这时才需要指定解释器。感觉为了一小部分使用频率不高的写法,而在程序开头添加两句话,不合适。
  2. 就算退一步讲,作者添加这两行,也OK!,但是请将默认的coding =UTF-8 的UTF改为小写,否则我这里ide 总是提示红线,而且小写的utf才是标准的写法。

from koro1fileheader.

OBKoro1 avatar OBKoro1 commented on August 20, 2024

@rudy-letote 接受建议,下个版本将删除默认的py文件头,有需要的,可以自己添加。

PS:实际上,这个选项是可以去掉的,把py删掉,或者自己手动修改。就可以了。

from koro1fileheader.

rudy-letote avatar rudy-letote commented on August 20, 2024

@OBKoro1 顺遍说一句,您的这个功能很好用,感谢你的奉献

from koro1fileheader.

saup007 avatar saup007 commented on August 20, 2024

@rudy-letote 接受建议,下个版本将删除默认的py文件头,有需要的,可以自己添加。

PS:实际上,这个选项是可以去掉的,把py删掉,或者自己手动修改。就可以了。

已 start.
python 环境版本的不同,还是需要的。新环境已经上了 Docker还好。
但老环境有 2.6 的 Python、甚至会有 2.7 3.6

from koro1fileheader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.