Timeline for Periodic Table - Python and tkinter
Current License: CC BY-SA 4.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 11, 2022 at 9:06 | vote | accept | Delrius Euphoria | ||
| Jan 11, 2022 at 8:49 | comment | added | ades |
Just start with the constants.py for now - the reason I didn't say to make a json-file for that data is because it would make the packaging a little bit more tricky; you'd have to define that the json-file also should be packaged, and then you need to know how to refer to its installed location.
|
|
| Jan 11, 2022 at 2:44 | comment | added | Delrius Euphoria |
Great explanation, I think this is the professional way of releasing packages because I have seen such formats on many big GitHub repos. I will look into these and implement these. And also, about the if __name__ == '__main__': part, I said those not for it to be the entry point, but just as for testing, just running that file will give a way on how each of those widgets would look. And got a bit confused, should I make a json file or put the data inside constants.py? Thanks for the answer :)
|
|
| Jan 10, 2022 at 20:22 | history | edited | ades | CC BY-SA 4.0 |
added 7 characters in body
|
| Jan 10, 2022 at 20:15 | history | answered | ades | CC BY-SA 4.0 |