Forum Archive

Licence/proper use of code etc Pythonista built in code like dialogs.py

Phuket2

@omz, I have no idea about the new age idea of software Licences such as gnu etc...
But this question is very specific to Pythonista.
If I go in and copy portions of your code, example the dialogs.py.
First, is it ok to do that?
Secondly If it's ok, do I need to put a specific string at the top of my module?

But at the moment I am copying portions of your code. I would like to do it the right way! If I am suppose to at all.

omz

No problem, as far as I'm concerned, you can do pretty much what you want with the included sample code and my custom modules (for third-party modules, different licenses may apply of course).

It might make it easier for others to understand your code if you include a short note about the origins of the different parts though.

Phuket2

@omz , 0k thanks. I normally try to mention something. Example if I copy a function from stackflow answer. I don't mention the author, I just say I copied from stackflow. I will do my best, but gets more difficult when modifying the code. But maybe just I can just say portions copied and modified from x.

Will probably take me 2 years , but I am going to improve on your dialogs.py 😛😈💋

Lol, following your style about controllers, contentview etc, but I hope to make it more flexible with cells. But trying is the operative word. I will not bet my house on it just now 😭