D
D
Dmitry2017-10-09 16:09:59
Python
Dmitry, 2017-10-09 16:09:59

Is it possible to upload a file to github using python?

Git has a public repository. Several times a day you need to update the file in it. The variant with calling git and passing the necessary parameters to it is not suitable. It is also possible to upload a file through the web interface. Maybe there is a ready-made library to load a file directly from a python script?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Kitaev, 2017-10-09
@deliro

The variant with calling git and passing the necessary parameters to it is not suitable.

Why?
Yes, and what makes you think that under the hood it does not call git?
subprocess and go

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question