A
A
Alexander2016-07-13 08:59:38
Python
Alexander, 2016-07-13 08:59:38

Where can I find texts of Python programs to improve the skills of understanding someone else's code?

Good afternoon.
I am learning Python and now I want to improve my skills in reading and understanding other people's code.
In this regard, the question arose - where to get code texts for parsing?
I am aware of the existence of such projects as github. But from all the code presented there, how do I find one that would suit me? I would like to take not just any code, but something with an interesting structure, a variety of algorithms and approaches used, and written in a good pythonic style.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
V
Vladimir Kuts, 2016-07-13
@fireSparrow

Go here:
https://github.com/vinta/awesome-python
choose the topic you are interested in, go to the appropriate repository, and see how it works.
Or install some popular package - the same django, go to the folder of the installed framework - and parse it.

A
Anatoliy Mikhailov, 2016-07-13
@yamaoto

Select projects on github / gitlab according to the topic of interest, you may be able to find a project that you use yourself. Well, according to the fork - pull request algorithm

Y
yourihdx, 2016-07-21
@yourihdx

govnokod.ru/python - it is especially valuable to read the comments.

D
DzenRoamer, 2016-07-21
@DzenRoamer

Isn't it better to study the source code of your working framework? Or favorite frameworks? Rather than just looking for code that could be studied.

D
Dmitry BPW, 2016-08-04
@Dmitry_BPW

It is better to take any program that you like and start. At first, nothing is clear, and then you will thank yourself for the time spent. You need to immediately open your mouth to something that you can’t eat. But without fanaticism, of course. So you will grow faster.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question