10-23-2013
Over the top. You are making many assumptions and of course you are making several incorrect statements. With that said, nothing wrong with putting together your own "world"... as long as it works and is well supported. So if you believe a python workflows (or whatever) is the "right answer", certainly you are free to do that. If you believe a workflow paradigm is the way the world should be crafted (even if not python based)... again, you are free to do that. There are many ways to solve problems. So I have no problem with a workflow paradigm.... but solutions should be able to implement whatever style best fits the situation.
I will never tell someone to stop writing scripts. Python, shell or otherwise.
Btw, it's a valid argument to say that Python is a lower level language than (Bourne) shell script. Just saying.
This User Gave Thanks to cjcox For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I don't know anything about scripting, and I want help on writing a script, which can help me doing my research.
Actually I have some ASCII format files formatted in a way looks like this
6 lines of text that is not important for me
File_header_name_number_1 <--... (1 Reply)
Discussion started by: geoquest
1 Replies
2. Shell Programming and Scripting
I am very new to Unix. I need to write a script that will grep some files, etc. When I write the script, do I need to know what shell I am using? If so, how do I do that? (1 Reply)
Discussion started by: ssmiths001
1 Replies
3. Shell Programming and Scripting
Hi,
I just learnt the shell scripting and got working on that right now. I have one problem.
Here i am having a java application that needs to be start and stop using two shell scripts, i.e., starting the java application using one shell script and stopping the application using another... (1 Reply)
Discussion started by: sadha
1 Replies
4. Shell Programming and Scripting
What would happen if I didn't use "./" before writing a script? (4 Replies)
Discussion started by: ebethea27703
4 Replies
5. Shell Programming and Scripting
#Define the Start/Stop/Status Scripts to include
SSS_SCRIPTS=( prog1 prog2 prog3 etc...... )
#Start the scripts
StartScripts()
{
for SSS in ${SSS_SCRIPTS}
do
./$SSS start
done
}
#Stop the Scripts
StopScripts()
{
for SSS in ${SSS_SCRIPTS}
do
./$SSS stop #<---I... (1 Reply)
Discussion started by: madasafish
1 Replies
6. Shell Programming and Scripting
Dear All,
Pls find my scripts for Agent services strat & stop.
EAMSROOT=/opt/panaces
export EAMSROOT
cd $EAMSROOT
nohup ./OracleAgent.sh start &
nohup ./PFRAgent.sh start &
nohup ./PFR.sh start &
nohup ./SolarisOSAgent.sh start &
exit 0
EAMSROOT=/opt/panaces
export EAMSROOT
cd... (0 Replies)
Discussion started by: starnaresh
0 Replies
7. AIX
Hi
My hacmp version is 5.4 and it is a active passive cluster.
Where can I find the startup and stop scripts?
Please assist. Thanks. (2 Replies)
Discussion started by: samsungsamsung
2 Replies
8. Red Hat
Hi there,
I am wondering if I could add start/stop ksh scripts provided by 3rd party to cluster... I read that script must be ocf/lsb compliant, however, in AIX I can just set up two separate scripts for starting and stopping application. Can similar be done under RH Linux cluster?
Cheers,
c (1 Reply)
Discussion started by: cyjan
1 Replies
9. Shell Programming and Scripting
I have a question. Actually I want to make two scripts, one is startup.sh and other is stopscript.sh
so for example, I have 5 servers.
Each server has two instances :-
abc111 - Masters
-cra4
abc222 -middle tear
-cra
abc333 -middle tear
-cra1
abc444 -middle tear
... (1 Reply)
Discussion started by: siddharthjain
1 Replies
10. UNIX for Advanced & Expert Users
Is there a way to stop root from writing to a directory? I already tried chattr but that did not seem to work.
chattr +i directory (12 Replies)
Discussion started by: cokedude
12 Replies
LEARN ABOUT DEBIAN
pycentral
PYCENTRAL() PYCENTRAL()
NAME
pycentral - register and build utility for Python packages
SYNOPSIS
pycentral [-h] [-v] <cmd> [<cmd options>] [<args>]
DESCRIPTION
pycentral
provides support for installing python modules independent
of the current installed Python version and handling
byte-compilation and -removal tasks in installation scripts.
OPTIONS
-v, --version
Limit the output to the version numbers of the python versions.
-h, --help
Print a help text.
pycentral has the following sub commands. For fine grained help, call: pycentral <cmd>.
bccompile
Byte compile .py files in a package.
bcremove
Remove the byte compiled .py files.
list List all managed files.
pkginstall
Make a package available for all supported runtimes.
pkgprepare
Prepare a package for all supported runtimes.
pkgremove
Remove a package installed for all supported runtimes.
pkglist
List pycentral-managed files of a package for all supported runtimes.
rtinstall
Make installed packages available for this runtime.
rtremove
Remove packages installed for this runtime.
updatedefault
Update the default python version.
debhelper
move files to pycentral locaation, variable substitutions (called by dh_pycentral).
pycentraldir <package>
Show the installation directory used by pycentral for <package>.
showdefault
Show default python version number. Deprecated, use pyversions(1)
showsupported
Show the supported python versions. Deprecated, use pyversions(1)
showversions
Show version numbers of supported python versions. Deprecated, use pyversions(1) dh_pycentral, should not be called directly).
version
Show the pycentral version.
FILES
/etc/python/debian_config is searched for the attribute overwrite-local. If set to 1, or True, existing files in
/usr/lib/pythonX.Y/*-packages are overwritten with symbolic links to the pycentral install area. The default is to abort the installation
of a package, when files already exist. This behaviour may be useful, when python libraries were manually installed into this directory.
The attribute byte-compile can be set to a comma separated list of the values standard and optimze to indicate how files should be byte-
compiled.
SEE ALSO
pyversions(1), Python policy.
AUTHOR
Matthias Klose
PYCENTRAL()