Programming Language for Systems Administrator

  • Thread starter Kanthi Kiran Narisetti
  • Start date
U

Uwe Grauer

Kanthi said:
Hi All,

Thank You for your suggestions....I request you all to eloborate the
Uses(In Practical) for systems administrator.Some of my questions
regarding the same follows.

1)Can i build web applications in Python ? If so how. I am planning to
build a web application for intranet use which deals with workflow of
Internal office communication.
Look here:
http://www.python.org/moin/WebProgramming
2)Which is best opensource database to be used with Python ?
I personally think that Firebird is a very good Database:
http://www.firebirdsql.org/
http://kinterbasdb.sourceforge.net/
 
P

pythonUser_07

Python is great, but having much "admin" type experience, I've found
python to be less than Ideal when dealing with system calls and
standard Input Ouput.

For example, I've written complex tools that use perforce, I've taken
advantage of both regular IO and the perforce marshalled IO. Under
heavy load, some of the threads in my scripts experience IO hang (Linux
and WIndows) (solaris and BSD were fine). I did not get the same
behavior with Perl.

Having said that I still do 99% of my utilities in python. Just be
aware.
 
B

Bryan

pythonUser_07 said:
Python is great, but having much "admin" type experience, I've found
python to be less than Ideal when dealing with system calls and
standard Input Ouput.

For example, I've written complex tools that use perforce, I've taken
advantage of both regular IO and the perforce marshalled IO. Under
heavy load, some of the threads in my scripts experience IO hang (Linux
and WIndows) (solaris and BSD were fine). I did not get the same
behavior with Perl.

Having said that I still do 99% of my utilities in python. Just be
aware.

i've written some complex tools around perforce too, but i use the perforce
python module and get an order of magnitude better performance than when i use
popen to execute the same command (if that is what you are referring to by
"regular IO and marshalled IO". my app doesn't use threads, so i can't speak to
that, but i've never experienced an IO hang related to perforce.

bryan
 
G

Greg Ewing

Peter said:
This is only true for trivial bash scripts. I have seen bash scripts
which were quite hard to read especially for beginners.

I've seen shell scripts which are quite hard to read
even for experts!
 
V

Ville Vainio

zsolt> Python is great, but having much "admin" type experience,
zsolt> I've found python to be less than Ideal when dealing with
zsolt> system calls and standard Input Ouput.

Have you tried the 'subprocess' module to see whether it solves your
problems, new in 2.4?

That said, I've never had the problems you describe with normal popen*
calls either.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top