Python Made Easy! Learn Automation & Let Python Do All Your Work!

preview_player
Показать описание
For 5G performance and user experience, Samsung S21/S21 Ultra series is pretty good!
In case you want to buy this phone, please check out following links.
"As an Amazon Associate, I earn from qualifying purchases."
Disclosure: #CommissionsEarned

#ourtechplanet #ourtechnologyplanet #technologyplanet
Python Made Easy! Learn Automation & Let Python Do All Your Work!

In this session, we cover many concepts including parsing of text files and searching for specific data from them using Python Regular Expressions (RE commands or Regex). It also shows how to create plots and dashboards with the help of MatPlotLib in Python. So, this is not limited to Telecom only as it is something that is helpful in handling of big files and large amounts of data that would be difficult to parse manually.
I am also putting a sample of logfile below that you can copy in a text file to re-create your own data for this example.

sfn=300, slot=0, rsrp=-100, sinr=10, Throughput=355, PCI=100
sfn=300, slot=1, pktdropped=0, pktdiscarded=0, pktOOW=0, pktoutOfOrder=0
sfn=302, slot=0, rsrp=-101, sinr=9, Throughput=327, PCI=100
sfn=302, slot=1, pktdropped=0, pktdiscarded=0, pktOOW=0, pktoutOfOrder=0
sfn=304, slot=0, rsrp=-102, sinr=9, Throughput=333, PCI=100
sfn=304, slot=1, pktdropped=0, pktdiscarded=0, pktOOW=0, pktoutOfOrder=0
sfn=306, slot=0, rsrp=-103, sinr=8, Throughput=311, PCI=100
sfn=306, slot=1, pktdropped=0, pktdiscarded=0, pktOOW=0, pktoutOfOrder=0

0:00 Start
0:14 How To Import A Text File In Python
1:29 Parse The Text File For The Required Information
3:00 How To Use Regex In Python?
5:07 Split A String Using Python
8:19 Using Lists In Python
11:05 How To Handle Negative Integers?
13:34 How To Make Charts & Plots In Python?
20:00 Create A Performance Dashboard By Using Sub-Plots!
----------------------------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------------------------

Practical Python Use Cases (Session 1): How To Create Basic 5G Interactive Tools

Python (Session 2): Practical 5G Throughput Simulation with Python

5G Call Flows & Signaling: How a 5G UE performs Initial Access

5G Call Flows (Session 2): 5G Intra-gNB & Inter-gNB Mobility Overview

BGP Interview Questions and Answers - Learn to Ace a Job Interview
Рекомендации по теме
Комментарии
Автор

For practical Python 5G use cases, check out the complete playlist below :)

🌐Python Practical 5G Sessions

OurTechPlanet
Автор

Thanks . re module is truly powerfull
request to share vid to parse wireshark pcap files for lte/SIP protocols with python

oooRainman
Автор

May you be blessed with many more. COOL and Awesome.

AMIR_ABEER
Автор

Thanks to upload Video, that is very informative !!!

TheAnmlra
Автор

Please keep posting videos like this sir.. Very informative
Thank you

irfanetrx
Автор

Really it's amazing with aw examples :)

shaikyaseen
Автор

Hi, waiting for Python Session 4... Is it uploaded ??

nishatkhan
Автор

Thanks, very well presented & quite useful, appreciated

alimadanin
Автор

Professional explanation with a fruitful examples,
Keep going

mohamedgabal
Автор

When r u going to publish the next video in the python series?

abhilekhbhardwaj
Автор

Sir do you provide any trainings please let us know

venkatasaikrishnayarabolu
Автор

sfn=300, slot=0, rsrp=-100, sinr=10, Throughput=355, PCI=100

sfn=300, slot=1, pktdropped=0, pktdiscarded=0, pktOOW=0, pktoutOfOrder=0 How did you get this in this format

vextelllc
Автор

Can you share from which DT tool you got this 5G DT log ? Nemuoutdoor, keysight, wind catcher? please i need this info

vextelllc
Автор

SFN ? is sub frame number from SIB1 OR MIB1? or just frame number in log file can i generate it by myself ? sfn=300, slot=0, rsrp=-100, sinr=10, Throughput=355, PCI=100

vextelllc
Автор

fileimport=open("5glogs.txt", "RT")
for line in fileimport:
if "RSRP" in line:
print ("found RSRP")

get this error:
File Scripts\log.py", line 4
print ("found RSRP")
IndentationError: expected an indented block

ahmedelnashrty
Автор

Can you share the 5gLog.txt as well? Thank you!

DAHLIA-nwek
Автор

how to parse 3GPP .trp file in python?

ayeshasiddiqua
Автор

File "C:\Users\Munzir\Desktop\parse.py", line 3, in <module>
FileImport=open("Jazzpingfile.txt", "rt")
FileNotFoundError: [Errno 2] No such file or directory: 'Jazzpingfile.txt'

Getting this error, both files are saved on desktop

coolmunzir