Zum Inhalt springen
_CORE
AI & Agentic Systems Core Information Systems Cloud & Platform Engineering Data Platform & Integration Security & Compliance QA, Testing & Observability IoT, Automation & Robotics Mobile & Digital Banking & Finance Insurance Public Administration Defense & Security Healthcare Energy & Utilities Telco & Media Manufacturing Logistics & E-commerce Retail & Loyalty
Referenzen Technologien Blog Know-how Tools
Über uns Zusammenarbeit Karriere
CS EN DE
Lassen Sie uns sprechen

Perl vs. Python pro admin skripty

26. 11. 2013 1 Min. Lesezeit CORE SYSTEMSdevelopment
Perl vs. Python pro admin skripty

Nase admin skripty jsou historicky v Perlu. S novymi cleny tymu, kteri Perl neovladaji, a rostouci popularitou Pythonu standardizujeme.

Perl — silne stranky

Regularni vyrazy jako first-class citizen. CPAN. One-liners. Existujici Nagios pluginy.

Python — proc prechazime

Citelnost — po roce stale rozumite. Standardni knihovna pokryva vetsinu potreb. Novy tym Python umi. Budoucnost — ekosystem roste.

Rozhodnuti

Nove skripty v Pythonu 2.7. Existujici Perl nemigrujeme. Postupna migrace, ne big bang.

Python best practices

argparse, logging modul, subprocess, try/except, shebang, virtualenv. 30 radku citelneho kodu misto 50 radku Perl.

Zaverem

Python pro nove skripty — citelnost a dostupnost. Perl skripty nechavame. Bash pro jednoduche tasky.

perlpythonscriptingautomatizace
Teilen:

CORE SYSTEMS

Stavíme core systémy a AI agenty, které drží provoz. 15 let zkušeností s enterprise IT.

Brauchen Sie Hilfe bei der Implementierung?

Unsere Experten helfen Ihnen bei Design, Implementierung und Betrieb. Von der Architektur bis zur Produktion.

Kontaktieren Sie uns