Python in telecommunications (in 7 minutes)

  • 7,410 views
Uploaded on

apresentação de Helio Loureiro no 7Masters - Encontro iMasters de Especialistas em Python - abril/2012.

apresentação de Helio Loureiro no 7Masters - Encontro iMasters de Especialistas em Python - abril/2012.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
7,410
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
15
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Pythonin telecommunications in 7 minutes
  • 2. About me
  • 3. Helio loureiro› Working in BSS (Business Support System)› Rating area (prepaid)› Linux advocate› Used to other *nixes flavors (Solaris, FreeBSD, etc)› Skills on network/broadband (ADSL, routing, etc)› C, C++ programmer› PHP, Awk, Perl and Shell programmer too› Python user and programmer (and passionated)› Since python-1.5
  • 4. Beauty of python› Fast prototyping› Batteries included (very important!!!)› Scripts working from 2.1 to 2.7 (so far)› Scripts or OOP, you decide› Complex programs or simple scripts› Bytecode generation› Binary creation (via freeze)
  • 5. BATTERIESINCLUDED
  • 6. WhatS telecom from BSS view? › Solaris and Linux systems › Oracle, MySQL and Sybase databases › LDAP, XML-rpc, SOAP › Binary executables, Perl, Java, Shell scripts and... › PYTHON!!!
  • 7. 12108 Column 1 Column 26 Column 34 › A complex world, but easy to20 deploy and understand Row 1 Row 2 Row 3 Row 4
  • 8. Python in action› Backup scripts› Subscribers migration› Software adaptations› Testing drive tools› Applications GUIs (TkInter, Gtk and Qt)› Subscriber provisioning› Simulators
  • 9. PyQt + qtdesigner def ShowUI(self): self.u = ui self.vcs = uic.load(“mygui.ui”) self.uil.show() QtDesigner = RAD
  • 10. Easy callback mapping
  • 11. XML-rpc
  • 12. XML-rpc
  • 13. Parsing responsecode as dictionary
  • 14. Threads supported
  • 15. Can I replace other languagesby python?
  • 16. Real example of usage› A script to update subscriber accounts› Seeking information into 3.5 M subscribers database› Comparing account expiration dates› Updating accordingly required accounts› Using XML-rpc for updating› Started in Perl, but perlcc crashed› Moved to Python, compiled with
  • 17. Perl code
  • 18. Python code
  • 19. Python everywhere › You can use python everywhere › From simple scripts to complex and multi- threaded solutions › You can avoid external modules/library › No “framework” excuse