Tagged Questions
0
votes
1answer
357 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
182 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
90 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
475 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
vote
0answers
31 views
Running IronPython trace from C#
I am trying to run the IronPython programatic trace module from C#, but I can't seem to make it work.
My C# code:
using System;
using IronPython.Hosting;
using Microsoft.Scripting.Hosting;
...
1
vote
0answers
136 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
193 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
364 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
19 views
Python run a method in background
I have written a simple http server by extending BaseHTTPRequestHandler. I am able to start it and process requests successfully. However it runs in the foreground, and the only way I can think of ...
0
votes
0answers
35 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
138 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
279 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
93 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
186 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 ...