Python Forum
how to put text file in a dictionary
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to put text file in a dictionary
#3
I didn't read through that whole thing but it looks like you just copy-pasted your homework. We're not going to do it for you, but we would love to help. What you need to do is give it a try, and then when you get stuck, post your code (in code tags) along expected vs. actual output (hard-coded any relevant inputs). Usually no more than 5-10 lines are needed to demonstrate a problem, even for large code. The more simplified your question, the more likely you'll get a speedy and helpful reply.
Reply


Messages In This Thread
RE: how to put text file in a dictionary - by micseydel - Jan-06-2019, 04:43 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  dictionary output to text file (beginner) Delg_Dankil 2 1,206 Jul-12-2023, 11:45 AM
Last Post: deanhystad
  Using dictionary to find the most sent emails from a file siliusu 6 7,617 Apr-22-2021, 06:07 PM
Last Post: siliusu
  Updating dictionary in another py file tommy_voet 1 4,922 Mar-28-2021, 07:25 PM
Last Post: buran
  Making a dictionary from a file instyabam 0 1,520 Oct-27-2020, 11:59 AM
Last Post: instyabam
  how can i create a dictionary of dictionaries from a file Astone 2 2,280 Oct-26-2020, 02:40 PM
Last Post: DeaD_EyE
  Convert all actions through functions, fill the dictionary from a file Astone 3 2,455 Oct-26-2020, 09:11 AM
Last Post: DeaD_EyE
  Convert text from an image to a text file Evil_Patrick 5 4,310 Jul-30-2019, 07:57 PM
Last Post: DeaD_EyE
  reading text file and writing to an output file precedded by line numbers kannan 7 10,469 Dec-11-2018, 02:19 PM
Last Post: ichabod801
  Dictionary to .txt or .csv file stanthaman42 9 4,709 Aug-08-2018, 03:37 PM
Last Post: Vysero
  dictionary from file Zatoichi 5 3,863 Feb-11-2018, 07:15 PM
Last Post: j.crater

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020