Tagged Questions
0
votes
1answer
250 views
python script to click button
I have this cod working for long time for a game web site but now they changed the way it should be clicked :-
def formRaid():
#print formerID
one = 1
while one == 1:
try:
...
0
votes
1answer
180 views
Cross platform build script that can call MSBuild or Xbuild depending on environment?
I have a simple .Net console app which has only framework dependencies. It can compile fine with either MSBuild on windows or Mono/XBuild on linux. It is part of a larger project, which has a python ...
0
votes
1answer
80 views
Where to store custom objects?
I'm confused about where to store custom python objects (of not just basic type -- so cannot be stored as blender properties).
What I'm trying to achieve is this: I want to accomplish a heavy ...
0
votes
1answer
88 views
Python-brisa works in Eclipse but not in the shell
The next python-brisa code works in Eclipse but gets stuck if I execute it from the shell. I think that the problem is in reactor.main(). Because if I comment it and I create a infinite loop the ...
0
votes
1answer
454 views
How to reverse a transformation by matrix in Blender?
I have a selected mesh (creatively called 'selected') which I want to work with in its local space so I use the following:
tmesh = NMesh.GetRawFromObject(selected.name)
...
-1
votes
1answer
46 views
Loading scripting languages files at modules in Python
I need some libraries to run code written in JavaScript, Ruby and other scrinting languages inside my application written in Python. I don't want to use converters or local webservice as solution.
-1
votes
1answer
34 views
extending scripting integration to an existing lib
I found swig can generate script wrapper for various scripting languages.
I've a 3rd party static library, a header file and a lib.
How can I use swig so that I can call functions from that library ...
1
vote
0answers
132 views
Scripts to parse stackoverflow data dump
I downloaded the stackoverflow data dump but currently trying to parse them. I was wondering if someone has already done some tutorial on this. My approach is to start in Python. But I am open for any ...
1
vote
0answers
182 views
List of open QtiPlot windows
I'm writing a plugin for QtiPlot using Python. Within the GUI of this plugin I'd like to display a dropdown that holds a list of all open windows of one sort of window (plots, tables, notes, etc.). On ...
1
vote
0answers
322 views
Python script in /cgi-bin/ won't execute, but a Perl script will: how can I make the Python script execute?
I'm trying to run a basic Python CGI script on my Apache server. I have my hola.py script in my /cgi-bin/ directory, I changed the file's permissions to make it executable, and I changed the owner of ...
0
votes
0answers
34 views
Windows console application testing script
We have a windows exe file, app.exe, that we like to install the app automatically using a script and test the installation steps.
To install app.exe, we have to type app.exe -i console
This will ...
0
votes
0answers
126 views
ArcGis 10.1 arcpy.env.rasterStatistics = “NONE” does not work?
Doing a python tool for ArcMap 10.1. Basically it takes some mosaic raster clips out some of it many times. Each times it saves the clipped raster in tif-format. I don't need the "compute statistics ...
0
votes
0answers
264 views
using variable with adb shell ls command through python
As a follow up on "Executing Android commands through Python and storing the result in a list", I want to use something as follows:
My-var=/sys/local/prop
This My-var keeps changing dynamically.
I ...
0
votes
0answers
89 views
Does the ScriptEngine for Python implement Invocable?
I'm currently reading Java Scripting Programmer's Guide
in order to try to call scripts from Java. I'd like to use Python. At the following point in the guide (calling methods) it says that the ...
0
votes
0answers
182 views
How does the gtk.main() sequence in Python work?
I wished to create a GTK frontend for a set of installation scripts for a project. Unfortunately, the labels don't get set when any particular .sh script executes. Instead, the front dialog appears ...