All Questions
6 questions
4
votes
2
answers
92
views
Pulling log messages from a MySQL table
I want to get this code reviewed for a function I wrote that pulls log messages from a MySQL table:
...
4
votes
2
answers
1k
views
Loop through database and run shell commands with Python and exiftool
Briefly, I'm looking at getting the code below to execute faster. I have 100k images to go through. I'm running a query against MySQL, looping through results and then running exiftool against an ...
5
votes
1
answer
289
views
MySQL/CUPS PDF printer for STAR TSP100 ECO
This is my very first attempt at Python and whilst the script works perfectly, I'd like to see if I'm missing anything obvious or doing anything particularly stupid. I think this runs on Python 2.7, ...
4
votes
1
answer
154
views
Migrate files from MySQL BLOBs to PostgreSQL largeobjects
As title says, this piece of code migrates files (binary and metadata) from a database to another one with different structure.
Currently my problem is that when I have to deal with a big database (...
3
votes
1
answer
2k
views
Scrape google apps page and store application details in database
Below is a python script which scrapes specific google apps url for example https://play.google.com/store/apps/details?id=com.mojang.minecraftpe and save the ...
1
vote
2
answers
2k
views
Class for multithreaded insert into database
Here I have class that supposed to take dictionaries of product objects and their articles (kind of unique identifier) from queue and insert or update them in database table.
Received dictionary ...