![]() |
Retrieve variables from the log and send to the database - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: General (https://python-forum.io/forum-1.html) +--- Forum: Jobs (https://python-forum.io/forum-6.html) +--- Thread: Retrieve variables from the log and send to the database (/thread-37351.html) |
Retrieve variables from the log and send to the database - klanhar1425 - May-30-2022 Hi, I need to write a bit of a complicated script (at least for me). I need exactly this, on the path "C:\Users\pc\Documents\GTA San Andreas User Files\SAMP\" there is a file "chatlog.txt" and it contains a log (logical: D) and when the message of this the type in which the variables are marked (marked in green) and I need to get the variables that are marked in bold [15:40:10] Player Hailender won the $50,000,000 lottery with a lottery 13 and it would be better to put them in a mysql database where I have a pre-created database "won" with a table "won" and columns "ID" (AUTO_INCREMENT), "price" and "number". Please write for how much you are able to write to me. |