This tool allows the Python module to create and deploy highly interactive websites with less time than JSP/ASP, so Python is one of the best options, it is recommended that beginners learn programming from the Python module first.
PyDev will display a hyperlink, so that you can navigate between the source code of the import library or function. Note that to use this feature across modules in your own source code to link from one module to another), you must modify the PYTHONPATH environment variable and add these modules to it, in this way, the Python module can find them.
If Code cannot be executed, IDE is not very useful. To execute the Python code, select the feedparser. py file from the Navigator view, right-click it, and choose Python> Run. The STARTUP configuration window of Python is displayed.
In the startup configuration window of the Python module, you can define the current directory for script execution, the parameters passed to the script, and the Python interpreter used to run the script. Feedparser. py uses an rss url as a parameter. Therefore, you can enter a URL in the parameter field. For example, the output information is displayed in the Console window during script execution. If an error occurs, the stack trace information is displayed in the Console window. Each line of the trace information can be found through a hyperlink to the Python source code.
The Python debugger was recently added to the PyDev plug-in. To use the debugger, click on the left of the code line to be interrupted in the Python editor to set the breakpoint. In Figure 6, I set a breakpoint at row 1830 of feedparser. py.
In the Navigator view, right-click the Python module and choose "Python> Debug ...". A STARTUP configuration window similar to the preceding one is displayed. Click Debug to enter the Debug view and start the debugger.
- How to embed Python into C ++ applications?
- In-depth discussion of Ruby and Python syntax comparison
- Introduction to Python
- Python Learning Experience: version, IDE selection and coding Solutions
- Analysis of Python GIL and thread security