Tagged Questions
0
votes
1answer
45 views
Parsing a string from CSV with different values each time
I'm currently working with poteto's ipgeolocation script but am changing it slightly to suit my own needs.
below is what I have
def get_batch(batch_filename):
# "Creates list containing all the ...
0
votes
2answers
123 views
How to keep track of multiple concurrent subprocesses created by a loop in Python
I have written a Python script for tiling imagery using the GDAL open source library and the command line utilities provided with that library. First, I read an input dataset that tells me each tile ...
6
votes
5answers
1k views
What's the equivalent of Python's Celery project for Java?
I am trying to find an equivalent of Celery project for Java environment, I have looked at Spring Batch, but are there any better alternatives for distributed task queues.
Thanks.
2
votes
2answers
512 views
Is it possible to use HTML5 canvas API to batch generate images non-interactively via script?
Currently, when I need to create some images for scientific visualization (generally, from CSV files or other data-container), I use Python as scripting language, and Cairo as drawing API. It allows ...
1
vote
1answer
231 views
Iterate a command of a ArcGIS extension: batch using Python
I am trying to iterate in ArcGIS for a number of shapefiles a function, which is loaded as a small extension (one single function in the extension):
http://www.jennessent.com/arcgis/conefor_inputs.htm ...
5
votes
5answers
267 views
Pickup directories: How not to pickup files that are still being written?
I have a Python script that checks on a pickup directory and processes any files that it finds, and then deletes them.
How can I make sure not to pickup a file that is still being written by the ...
0
votes
3answers
388 views
Executing an xmgrace batch with subprocess.Popen()
I have to make graphs from several files with data. I already found a way to run a simple command
xmgrace -batch batch.bfile -nosafe -hardcopy
in which batch.bfile is a text file with grace ...
5
votes
4answers
2k views
Python library for job scheduling, ssh
I'd like to find a user-space tool (preferably in Python - barring that, in anything I could easily modify if it doesn't already do what I need it to) to replace a short script I've been using that ...
1
vote
1answer
79 views
What is the best way to write a Batch script in?
I am having around 20 scripts, each produce one output file as the output which is fed back as input to the next file. I want to now provide the user with an option to restart the batch script from ...
1
vote
1answer
208 views
Taskqueue set exact/approximate excution time
Is it possible to set exact or at least approximate execution time of scheduled task on GAE that will execute at rate specified (5/s, 100/h)?
0
votes
1answer
1k views
Executing several SQL queries with MySQLdb
How would you go about executing several SQL statements (script mode) with python?
Trying to do something like this:
import MySQLdb
mysql = MySQLdb.connect(host='host...rds.amazonaws.com', ...
1
vote
2answers
622 views
Is it possible to submit batch processing requests with the Python Youtube API?
I'm writing an application using Python that adds videos to a user's playlist on Youtube. Doing this one at a time causes Youtube to start throttling my requests.
There is a batch processing API that ...
1
vote
13answers
2k views
Hashing Multiple Files
Problem Specification:
Given a directory, I want to iterate through the directory and its non-hidden sub-directories,
and add a whirlpool hash into the non-hidden
file's names.
If the ...