r/learnpython • • Jun 17 '20

My first python script that works.

Started on the 1st of June, after 2 weeks of "from zero to hero" video course I decided to try something "heroic". Asked my wife yesterday "what can I do to simplify your work?". She is a translator and one of the client has most of works in PPT. For some reason PPT word count is never accurate, well at least for invoicing purpose.
So they agree to copy and paste contents in word and count.

I just write a script that read all the text contents in PPT and save them in a text file. So she can easily count the words there.

Although it took me almost 4 hours for only 25 lines of code, but I am still happy that I can apply what I've learned so far.

743 Upvotes

102 comments sorted by

View all comments

Show parent comments

1

u/i_suckatjavascript Jun 17 '20

I feel like if I uploaded a code or a project from a code along, it’s plagiarizing... I’m scared someone will call me out on it.

7

u/hollammi Jun 17 '20

There's literally a button which says "copy this person's work and add it to my own GitHub". It's actively encouraged. As the above commenter said, the term for this is "forking".

3

u/irrelevantPseudonym Jun 17 '20

Just because it's on github doesn't mean you can always copy it. You can put things up with very restrictive licences.

Vast majority of the time it wouldn't be on github of that was the case though.

2

u/hollammi Jun 17 '20

Huh, thanks for pointing this out. Prompted me to find this list of licenses used on GitHub: https://help.github.com/en/github/creating-cloning-and-archiving-repositories/licensing-a-repository

But yeah, it seems strange to me also. How is it viable to host your code publicly, then declare that it's off-limits to the public?

→ More replies (0)