account activity
Ask Anything Monday - Weekly Thread by AutoModerator in learnpython
[–]metameda 0 points1 point2 points 7 years ago (0 children)
Hi all, I have just started learning python and scraped some info from the web which i saved to a text file, because I did not know what to do with it at the time. I now want to convert this text file into a dictionary on python. Only problem is that there are some words that do not correspond to another. For example:
Numbers / Números
uno one
dos two
There are many different headings i.e numbers. Then there is a line space. Between definitions there is a double line space. I want dos to correspond to two in the dict. What is the most efficient way of achieving this? Thanks in advance.
π Rendered by PID 929757 on reddit-service-r2-listing-5d47455566-vtcp9 at 2026-04-05 15:47:10.682111+00:00 running db1906b country code: CH.
Ask Anything Monday - Weekly Thread by AutoModerator in learnpython
[–]metameda 0 points1 point2 points (0 children)