-2
votes
0answers
33 views

subprocess.Popen.communicate not effient with large data sets? [migrated]

I understand communicate() will wait for the process to finish, store data in memory buffer and return. I was thinking the below code will not be efficient as I want to query all interesting rpms and ...
1
vote
3answers
229 views

What is the best way to store configurations of shell/script code to execute later?

I am working on a tool (Python, may or may not be important) that will allow a user to maintain a configuration file containing arbitrary shell and/or language code to be executed on particular events ...
3
votes
1answer
2k views

Is it possible to use python as a shell replacement? [duplicate]

Recently I was looking at python's shutil and subprocess etc... And I started wondering: wouldn't it be ok to use python instead of e.g. bash? What am I missing?
3
votes
6answers
547 views

Is it a bad practice to write shell script with many if-else statment and for loops?

I am maintaing several data process shell scripts which are full of if-else statements and for loops . I try to make the scritps tidy and easy to debug. When I read some suggestions about shell code ...
6
votes
3answers
2k views

Difference between a REPL and interactive shell

Noob question. I am not quite able to tell the difference between a REPL and an interactive shell just by reading the definitions on Wikipedia. Wiki notes that REPL is a particular kind of ...
0
votes
3answers
753 views

How to set-up a simple subversion workflow

I am trying to set-up a simple SVN workflow at home. I am new to subversion (and programming) so I have been reading the official PDF documentations but still not sure about how to set-up my ...