Writing to Files | Python | Tutorial 29
Вставка
- Опубліковано 27 сер 2024
- Source Code - www.giraffeacad... This video is one in a series of videos where we'll be looking at programming in python. The course is designed for new programmers, and will introduce common programming topics using the python language.
Throughout the course we'll be looking at various topics including variables, lists, tuples, loops, conditionals, object orientation, and much more.
I can see that you are a fan of "The Office" 😂😂 . Your tutorials have been extremely helpful. Keep up the great work.
Love this content Mike! Better than most of the paid courses on the internet! You’re the best!
thank you guys ,you are really helping us a lot please keep it up ,your lecture is a lot to us specially in my area of east africa, you are helping a lot of computer science students ,your lecture is awesome,once again thank you guys.
Awesome video! It saves my awful python class at college
I’m so glad he added toby
114k on first video of this playlist, 11k on this one. Less than 10% made it here. Congrats
What about "r+" How would you handle adding new lines, removing lines, etc.?
sweet thanks, used this to ping every ipv4 addres and write the ones that are up to a file.
Hey how do we select relevant results of the username from a file? Results of different school projects
how can we add new atom coordinates into a .pdb file using python?
Hello, how can I add user input in 'employee_file.write' ?
all you have to do is write:
employee_file.write(input( ))
this site is awesome
Hi! How would you append a certain text to ALL the files in a folder instead of to a single file? Thank you!
Great content Mike. You are the best
Please how do I perform this task in Jupyter Notebook?
what if we have to add values to file?
top stuff brother
Bro i wish u would reach more than 5 million sub
Thank you! :D
very cooolllll
thank you soooo much
I’m a new student and need help to do this project:
I have a port scanner script it works properly; it works in Pycharm using python3.9.
I have to make a file and I call this file (Example.txt).
On this example file, I have to do this:
3. If the Ports is open, it should create a file and add an entry for port number
4. In case of any exception for instance “host is not available”, “host name could not be resolved” or
due to any other error, you need to write that exception into the same file.
I’m not asking for you to do the project for me, I'm only asking ware I need to work or used in my script to accomplish this because it is my first time doing this and working with python too, and I have been struggling with this part one very bad. I can even send you the code, so you can look and only tell me what I’m doing bad and is not working.
Or try to make one day a video about this because I have search for this subject and I have not seen anything showing how to do these things in a script.
Wow wow wow
thank you i could kiss you im gonna pass my module
You started the previous tutorial with a txt file, but you didn't show how to put it in. Then you ended this tutorial showing how to make a file. It seems more helpful to have the end of this tutorial at the beginning of the previous tutorial.
He's got an entire video showing us how to create that previous file. Check Lesson 28 if his Python | Playlist