Build Qt-VTK Project By Qt Creator And CMake

Develop environment: VTK-8.2.0 Qt Creator 4.9.0 Based on Qt 5.12.2 (MSVC 2017, 32 bit) CMake 3.14.3 CMake Generator: Visual Studio 16 2019 Configure compilers for my building kit C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.21.27702/bin/Hostx64/x64/cl.exe CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.21.27702/bin/Hostx64/x64/cl.exe More details are in the following image. We Read more…

Download Images With Python

Download image files from website with Python.The module request can help us to fetch contents of web page, we can use BeautifulSoup to parse the html string and collect all interesting elements, download images by relevant URLs which are filtered by our script. import requests, sys, webbrowser, bs4, urllib if Read more…

Add Log For Python Project

The log file is important for the developer to debug, it also ensures that the user will not be distracted by program message. Python provides module logging to help developers to complete the task conveniently, we can set customized format and different log levels for it. Developers can also turn Read more…

Tex To PDF
: convert the Latex file which suffix is tex to a PDF file

X