[BlindMath] Python, question
Taksan
taksantong at gmail.com
Tue Feb 23 12:42:43 UTC 2021
Hello Hedvig to better understand your problem we need to see a sample of
the text file. I am going to assume you can first put that text file as a
CSV file, something like:
1,word
2,another text
3,extra text
Then, it is just a matter of search in google something like "read CSV with
python" and you will lots of examples.
If you are getting more into programming there is also a list where blind
programmers hangout and you can subscribe in this link
https://www.freelists.org/list/program-l
Taksn
On Mon, Feb 22, 2021 at 7:05 PM Hedvig Jung via BlindMath <
blindmath at nfbnet.org> wrote:
> Dear Blindmath community members,
>
>
>
> I am Hedvig Jung. I work with screenreader JAWS for Windows 2020.
>
> I use Python 3.8 programming language in PyCharm.
>
> I would like convert txt file in dictionary in Python. There are
> numbers and texts in this txt file.
> Keys of dictionary would be numbers. Values of dictionary would be strings.
>
> I would like to ask you, that how can I convert the txt file in
> dictionary in Python?
>
> Which programming codes can I use in this case?
>
> Where can I read programming codes to create the dictionary from txt file?
>
> I would like to kindly ask you to send me please your answer to my
> e-mail address.
>
> My e-mail address:
> hedvig.jung at gmail.com
>
>
> Thank you very much for your help and for your
> answer in advance!
> Kind regards,
> Hedvig Jung
>
> _______________________________________________
> BlindMath mailing list
> BlindMath at nfbnet.org
> http://nfbnet.org/mailman/listinfo/blindmath_nfbnet.org
> To unsubscribe, change your list options or get your account info for
> BlindMath:
>
> http://nfbnet.org/mailman/options/blindmath_nfbnet.org/taksantong%40gmail.com
> BlindMath Gems can be found at <
> http://www.blindscience.org/blindmath-gems-home>
>
More information about the BlindMath
mailing list