0
votes
1answer
168 views

SSH could not create directory /home/USERNAME/.ssh

My script is executing the below command: command = os.system('rdiff-backup --exclude "**.dropbox**" --exclude "**.ini**" --remote-schema "ssh -o ...
0
votes
3answers
73 views

How to automatically copy randomly generated text from a website

I am not sure how best to ask this, as this my be a multi-pronged question, requiring different avenues of attack and my preconception of the solution is a basic input-function-output scenario. I am a ...
2
votes
1answer
917 views

How to automate Checkpoint firewalls rules implementation?

I HATE CP with a passion beyond belief... I mean, why, WHY you couldn't include a command line interface that allows me to grep a CSV file in which I'm requested rules, format them properly and then ...
0
votes
0answers
20 views

Execting python script inside Phrase Express

Is it possible to insert python scripts inside Phrase Express and get Phrase Express to execute the python script? Text Expander for Mac supports inserting AppleScript Snippets and Shell Script ...
0
votes
0answers
109 views

Raspberry Pi, how to execute program as a SU and stop loop in bootup

I have a script python.py and wish to execute the program after the boot-up sequence, one problem is it needs SU access in order to have the write function inside the program. Without the SU, the ...
0
votes
0answers
24 views

Windows: Scriptable “zoom in” possible?

I am wanting to automate "zooming in" to a specific area on the screen. For instance, there is a windows application that can not be resized or made full screen. I would like to "zoom in" to this ...
2
votes
3answers
1k views

Run python script from Finder rather than edit?

Max OS X. When I double-click on a python script it opens in the default editor. How might I make it so that when I double-click, or choose the script from Applications, it executes from the python ...
1
vote
1answer
302 views

Running script on boot

I'm trying to run a Python script on startup on a Raspberry Pi. I know that this can be accomplished by adding to various files. I plan to add to bashrc (worked previously, on similar attempts), but I ...
2
votes
1answer
160 views

Allowing a process in screen to restart itself

System is Debian Whezy x64. I currently use screen to start programs as user rather than root. It looks like this: In /etc/rc.local, I call su -c "/home/user/scripts/startup" user Then, in ...
0
votes
3answers
975 views

How to run a command from the terminal/a script without the need to wait until the program exits?

The problem is that if I execute a command (eg. a Python script), the terminal or script is waiting until the program return a exit status so that it can continue or return to terminal. Is there a way ...
2
votes
6answers
4k views

Is there a tool that helps me draw a venn diagram easily?

For some reason I have to draw a lot of venn diagrams and I hope I can just specify the sets and its elements and it emits the right image. I do not care about the blazonry. So is there any tool or ...
1
vote
2answers
546 views

How do I make a python script (including its dependencies) run on startup of an Ubuntu machine?

Well, I do know that for a single script the question is to just put the corresponding file in directory /etc/rc.local, right? But, what if this script depends on other files (i.e. a few scripts and a ...
0
votes
1answer
165 views

/usr/bin/python Replacement

If I've changed the target of /usr/bin/python from /usr/bin/python2.7 to /usr/bin/python3.2 (I realize this was an ABSOUTELY HORRIBLE idea) in Ubuntu 12.04.1 LTS. Afterwards, several applications, ...
2
votes
2answers
771 views

Permission Denied running python script from samba share

I'm trying to mount a samba share on a Ubuntu 12.04 desktop from a Fedora 17 desktop. I can create, edit and delete files with no problem but when I try to run python scripts on the share i get a ...
1
vote
2answers
34 views

Find script with early cutting branches on first occurences

It must exists, my problem is how to express my need. When I search for a given filename, Iwant the search stop searching the current branch when it finds a first occurence, BUT continue to search in ...
0
votes
4answers
11k views

How to manually stop a Python script that runs continuously on linux

I have a Python script that is running and continuously dumping errors into a log file. I want to edit the script and run it again, but don't know how to stop the script. I'm currently logged on ...
1
vote
1answer
1k views

How to run python script on startup with sudo permission on Mac OS

I have created a script with python that basically ping all servers found in my lists. I need this script to be run on startup with sudo permission. So the question is, How do you run the script on ...
1
vote
3answers
3k views

“No commands supplied” error when executing a Python script on Ubuntu

I checked out a SVN repository, and tried to python setup.py on my Ubuntu 10.04 terminal, which is a Python script, but I get the following error: abc@def:~/Downloads/a-read-only$ python setup.py ...
4
votes
7answers
11k views

How to convert .xlsx to .txt?

I want to know if there is a Linux tool or a script available to convert .xlsx file to .txt.
3
votes
0answers
609 views

Python and Google Sketchup

Is there any way of scripting Google Sketchup using Python rather than Ruby? I have had a look at SuPy but unforturnately I'm working with Python 2.6 rather than Python 2.5 which SuPy appears to ...
3
votes
4answers
10k views

How do I make a script run upon startup of the Ubuntu machine?

I want to run /home/myuser/go.py How do I make that run in the background, everytime my linux machine boots up?