• Welcome to the new forums! Server IP: smp.hometownmc.com
Hello There, Guest! Login Register


Poll: Would you be interested in a program to search chat logs?
I am not interested
I am happy to install python and use the python code
I would like a proper program that doesn't require me to understand code
[Show Results]
 
Note: This is a public poll, other users will be able to see what you voted for.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Chatlog search program
#11
So today at work I had to compile one of my python scripts into an executable...

So since I now know how to do that, I'll be able to make a windows executable that searches through the chat logs.

I'll probably write that tonight and post here again :>

Also, for linux and *shudder* mac, I _may_ be able to make a version for you guys too
[Image: NwK3xJO.png]
 
Reply
#12
yay! glad to hear it
Promoted to Elite - 7/29/19
No-one truly knows anything, so explore the world. - Cil
 
Reply
#13
Looking forward!!


[Image: 7bNhSIS.png]
 
Reply
#14
I may or may not have forgotten how to open gzip files and it's taking a little longer than expected. On the brightside, the config file is working properly and it is iterating through the chatlogs quite nicely.

TODOs:

- Get gzip extraction working properly
- Check for "results" folder, or create one.
- Write search results into a text file inside results folder (or overwrite a previous search for the same term)
- (possibly) allow refinement of search by before and after dates
- (possibly) allow more complex searching by implementing regex matching

actually, wait. regex matching is super easy in python. I'll put that in tomorrow
[Image: NwK3xJO.png]
 
Reply
#15
OK guys I finally made this program.

You can download it from onedrive here
[Image: NwK3xJO.png]
 
Reply
#16
Yay!
Promoted to Elite - 7/29/19
No-one truly knows anything, so explore the world. - Cil
 
Reply
#17
(07-28-2019, 03:18 AM)Penguin Wrote: OK guys I finally made this program.

You can download it from onedrive here

Can I get the python source code? Just for fun and learning
 
Reply
#18
(07-28-2019, 02:37 PM)EspInquisition Wrote: Can I get the python source code? Just for fun and learning

Code is now available on github
[Image: NwK3xJO.png]
 
Reply
  


Forum Jump:


Browsing: 1 Guest(s)