Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the useful gadgets for python?

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly shows you "what are the good gadgets for python". The content is simple and clear. I hope it can help you solve your doubts. Let the editor lead you to study and learn what are the good gadgets for python.

Useful gadgets

1. One-click web service sharing

In Python, you can enable a HTTP server with one click of http.server, which is a very convenient sharing tool:

Python-m http.server

Open a server on the default listening port of 8000. You can customize the port, such as 8888.

Python-m http.server 8888

The code automatically completes the Jedi

Jedi is a library for automatic completion of Python code and static analysis. Jedi allows us to tap the code efficiently.

At present, Jedi has provided most of the editor plug-ins, including Vim (jedi-vim), VSC,Emacs,Sublime,Atom and so on.

two。 Beautify abnormal output pretty-errors

The default error output of Python is very messy, with a large head and poor readability. At this point, you need to use pretty-errors as an error beautification tool.

The above is all the contents of the article "what are the good gadgets for python". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report