Simple Python Coder - File text into Python Dictionary

Published: 26 January 2020
on channel: Dr Codie
23,597
201

How to open and read a python file into a dictionary or a data structure of your choice. Watch this simple explanation of how to read file text using the Python programming language. Each line contains two values separated by a comma, in this video the data can go into a dictionary, lists or a list of tuples.

#python #pythonprogramming #pythontutorials #coding #computerprogramming

00:00 start
01:13 code testing
03:36 problem of missing data
04:48 alternatives
07.58 difference of alternatives

Website: http://www.drcodie.com/
Twitter:   / prepare15978094  
Pinterest:   / drcodie  
Instagram:   / drcodiecoder  

Simple Python series:

Playlist    • Simpe Python  

First video    • Python Coder | Simple | How to open |...  

Videos:
how to open & read a file    • Python Coder | Simple | How to open |...  
what is a dictionary?    • Python Coder | Simple | What is a Dic...  
file, data & dictionary    • Simple Python Coder - File text into ...  
data structures    • Python Coder | Simple | Data Structur...  
data structures 2    • Python Coder | Simple | Data Structur...  
libraries, packages & modules    • Python Coder | Simple | Libraries | P...  
objects & classes    • Python Coder | Simple | Learn | Objec...  
database menu & connection    • Python Coder | Simple | Menu | Connec...  
database update    • Python Coder | Simple | Database | Up...  
precision & recall    • Python Coder | Simple | Similar | Pre...  
N-grams challenge    • Python Coder | Simple | Similar | Ngr...  
N-grams    • Python Coder | Simple  | Similar | Ng...  
alignment    • Python Coder Simple Align – Python Co...  
alignment 2    • Python Coder Align II – Python Code E...  

If you want to learn to code, these Python tutorials are for you. Hi, my name is Dr Codie and I am the python coder. Codie means ‘helpful person’ and we want to help you not just learn python but to enjoy learning python.

In my experience, success with coding comes down to getting the fundamentals right. You can then move onto advanced programming concepts and skills. You will understand how to do simple coding tasks and then we will show you the simple methods of putting lines or blocks of code together using this knowledge. Practice is essential for your skills to grow but again do not fear we will help you practice as well.
Learn to understand the logic and design aspects needed to become a good programmer, let us help you practice to keep improving and don’t forget the bonus of seeing first hand how to build the code and possible stumbling blocks when we explain the answers to the tasks set within the tutorial. You do not need to watch the whole video but if you do you will improve as a python coder!
SUBSCRIBE and you will know when the videos are available! Good luck!


On this page of the site you can watch the video online Simple Python Coder - File text into Python Dictionary with a duration of hours minute second in good quality, which was uploaded by the user Dr Codie 26 January 2020, share the link with friends and acquaintances, this video has already been watched 23,597 times on youtube and it was liked by 201 viewers. Enjoy your viewing!