XML & ElementTree || Python Tutorial || Learn Python Programming
VloĆŸit
- Äas pĆidĂĄn 2. 06. 2021
- đđ©đđź đđŁ đ©đđ đĄđ€đ€đ„ đđđđđđđđđđ: snu.socratica.com/python Python's ElementTree is the ideal module for working with XML data. It gives you the most commonly used functions and classes in a "Pythonic" way. We will show you how to load, add/edit/delete, and save XML data using the ElementTree.
We were able to bring you this video thanks to our generous Kickstarter backers! Find their names hidden (okay, not very hidden) in the video!
â§â§â§â§â§
Subscribe to Socratica + bell for notifications:
bit.ly/SocraticaSubscribe
Find our programming playlists here:
Python programming: bit.ly/PythonSocratica
SQL programming: bit.ly/SQL_Socratica
â§â§â§â§â§
We recommend:
How to Be a Great Student
ebook: amzn.to/2Lh3XSP
Paperback: amzn.to/3t5jeH3
Kindle Unlimited: amzn.to/3atr8TJ
Python Cookbook, 3rd edition
amzn.to/3goRmbG
The Mythical Man Month - Essays on Software Engineering & Project Management
amzn.to/2tYdNeP
Shop Amazon Used Textbooks - Save up to 90%
amzn.to/2pllk4B
â§â§â§â§â§
Join this channel to get access to perks:
/ @socratica
Support Socratica on Patreon:
/ socratica
â§â§â§â§â§
Python instructor: Ulka Simone Mohanty (@ulkam on Twitter)
Written & Produced by Michael Harrison (@mlh496 on Twitter)
#Python #Programming #XML
Wear a Socratica Python shirt for good luck coding: shop.socratica.com/products/python-by-socratica
I really miss her simple but amusing lectures. After binge-watching her Python videos, I'm sure I'll earn a lot of...MONEY!!!
She's back. đđđđ
same feeling bro.....!
,đ€đ€
Itâs been so long nice to have you back.
I have been programming with Python for years, and yet I watch every single Python video. And by the end of each video, I've finished watching that video.
By the end of this video, you will have finished watching itđđđ
đđđ
Every 60 seconds a minute passes in Africa.
"Why did they not call it EML?"
"There are a lot of letters at the top, but one is missing; YAML must feel neglected"
"Now it's time to ask yourself: Self, what do I expect to see when this code is run"
Amazing delivery :D
For me, she is the best! And all those jokes... just amusing! Love this series
2 years later........... another amazing video
We have finally switched over to an alternate timeline where she's still publishing Python videos
I Googled this to send a link to someone else who wanted to know how to work with XML in Python. Rather than trying to explain in detail, I figured it's easier to explain the basics verbally then send them a link. Did not expect to get sucked into the tutorial myself! I absolutely love your presentation style and your humor. You explain the concepts incredibly well and manage to have me genuinely laughing at the same time. Absolutely brilliant! Subscribed. Thanks!
A wise man once said:
"ET phone home? No. ET parse data!"
Socratica it's knowledge
Socratica it's passion
Socratica it's love
THX socratica for coming back
This might genuinely be the best Python video I've ever seen. The comedic delivery is genius
Your way of teaching is just awesome. I really would love to see more:-)!
she is back now I understand why she once said " go and subscribe to Socratica because you never know when there's something you should but don't know but could know if you had only subscribed "
Finally! So happy to see you back!
your python stuff is back! i missed it so much~
It's so nice to see you back, hope to see a new vid in less then a few years ;)
lolđ
Yay! I wondered if we'll ever see new ones of these. I laughed so hard throughout the whole episode, AND learned some things! Superior writing and execution! (no pun intended)
Thank you so much for having the courage to use your time on making more Python programming tutorials, again!
I legitimately NEVER noticed it should be EML đ€Ż
I love Ulka! I know she does not write the scripts but she makes them good every single time, props to whomever chose her for this course!
She's beautifully back with more useful content!
The "hodlers.xml" file used in the video is available in Socratica's GitHub repository: github.com/socratica/python
Thank you for coming back
- Why do they not call it EML?
me: expecting cool explanation
- I dont care.
me: LOL
It's not an explanation, no. But still cool (as in sensible).
Welcome back! I just never get enough of you! Thanks.
We, the fans, hereby attest to see more Python tutorials.
Thank you,
Everyone.
I find this series to be the best Python programming/scripting tutorials. Thank you
Probably the best tutorial I have found so far
Iâm so excited we are back!!!
Patience is rewarded!
Good job on explaining XML module.
Hooorraaaayyy! I was patient and here my reward!
Legends! So glad to have you back.
Welcome back. We missed you a lot. Please please please keep making more videos like these.
It's been so long , Nice to see you again !, your vidéos are from an other planet! , really really dope python vidéos.
happy to see you back with old style videos!
I want to comment with a gif, a man crying with words "you areeee backkkkkk"
OMG, she's back!!!!!! Love you!
yay! thought you left us forever, welcome back!
everything worked as expected. i'm chuffed
This is a great start to the new series.
Mmmmm... Amazing... Good thing they are back!
You have a unique style. I love the sarcasm without sacrificing the quality of the explanation.
Finally, another python video! Thank you!
Super nice!
In Italy almost all the invoices are now XML files.
Good.
Welcome back! I really missed this humour and great content!!!
Love these videos! Thank you for the upload.
Thank you for the easy to follow visual guides and the color scheme.
Please please please keep doing what you are doing and donât stop doing something you are already doing.
Love love love these â€
I can't believe Ulka (and her majestic voice) is back on Socratica. Liked an odd number of times)
These videos are so awesome. For other topics: a simple way to make a standalone executable from your python project.
Hi there,
I used to dislike your video format, but recently I decided to give it a chance.
The way you explain everything is so clear that it convinces me to subscribe to your channel.
welcome back and much much love 1!
I joined today because she's back. I have a course of study online, read books and then I watch her videos to top it off. I think it's a great way to reinforce your knowledge.
We're so happy to have your support!! Thanks for your kind message, Socratica Friend! đđŠ
Glad to see you making vids again!
Loving your lessons! Greetintgs from Brazil.
Omg, it's been such a long time!
Wow, nice to see you again!
Wow. She is back!
totally love this!
I've been waiting so long for this new python series. I thought it wouldn't be. But now I am grateful. Thank you !
Her new costume is beautiful.
This is a beautiful opportunity to animate it and make it look like moving, lines or circles. She is such an alien.
I've missed these!
I don't even need to know XML right now. I'm just here because
Yes! Missed these Python videos!... More!
She is back..yeah!!
Such a long wait :) thank you!!!
Yeeeeah the first advanced lecture
Long long ComeBack..... we want more đ„° LOVE
so much happy to see you back ULKA..
feels like am learning from another worldđđđâ„ïž
I love this instructor shes so cool
She is back! đ
yes!! welcome back!!
Yay!! Back with another python videođđ
OMG this is wonderful!
Very happy to see you again.
Finally! She is the best.
So long, Socratica. Keep up the great workđđđđ
"...and by the end of the video...you would have finished watching it" :D made my day :)
Thanks for the video. Love your python tutorials
I'm very happy to see you again!!! Very good xml video !!! :D
Lets gooooo we back in the game with ulka â€ïžâ€ïžâ€ïžâ€ïžâ€ïž Socratica is the bessssttttt
Best and funniest teacher, your jokes are so fun. Love from Brazil!
I know it's a bit late, but you can correct the XML layout after adding a new subelement by using the Indent method of ElementTree. This refreshes the automatic indent for the whole tree (or element). You may need to specify "space = ' '" (4 spaces) to override the default setting, to match the default layout for the dump method.
ET.indent (tree, space = ' ') # for entire tree
ET.indent (elm, space = ' ', level = 1) # for just the element
although I did have problems with inconsistent spacing trying to just indent the element!! :O
The presentation of your lectures is out of this world. đ
Whoooa, what?! This tutorial series is getting revived??
IT IS!! We're back in the studio filming, thanks to the generous support of our Kickstarter backers! đđŠ STAY TUNED.
Felling happy to see you again...keep going
so great, as always, thanks!
I am just imagining Socratica for Julia programming!!
One can wish ...!!
in fact your presentation is outstanding... sooo soo soooo perfect, remarkable and impressive. woooow
Yay, new video!
Mouse skills is indeed come in handy...
That has to be the funniest tutorial I have ever watched on CZcams!
Brilliant !!!!!!
lol first time listening to one of your instructional videos. They are awesome. Thank you!
Great work!
nice to see you back đ»đ»đ»
She's AWESOME!!!
Excellent content. Very useful to me.