Logfile Viewer in PyQt5
This is a tiny Python Qt5 experiment. The main purpose is to practice with these technologies and realize a generic Log Viewer able to parse and display LogFiles of any size.
(This procedure is based on Python 2.7)
-
Install Python 2.7
-
From the cmd prompt, type:
c:\Python27\python.exe -m pip install python-qt5
-
Install Python 2.7
-
From the shell, type:
pip install python-qt5
-
From the cmd prompt, type (inside the project folder):
c:\Python27\python.exe EuLog.py
-
From the shell, type (inside the project folder):
python2 EuLog.py
Inside the testing folder the '''create_log.py''' script can be used to generate a random Logfile that can be imported using the default setup.
create_log.py <FILENAME> <LINES>
(This procedure is based on Python 2.7, py2exe[0.6.9])
-
Install Python 2.7
-
Install py2exe
-
From the cmd prompt, type:
c:\Python27\python.exe -m pip install python-qt5
-
Run build.win.bat
The dist folder will contain the executable and all the required files