Python Daily
2.57K subscribers
1.48K photos
53 videos
2 files
38.9K links
Daily Python News
Question, Tips and Tricks, Best Practices on Python Programming Language
Find more reddit channels over at @r_channels
Download Telegram
how do you prevent this human error before deploy?

often I need to change some code in order to access a part of my app I wouldn't otherwise be able to reach (e.g. access a payment fail view by hand coding in success is always False). It is super easy to forget to correct such changes before commit or even push to server.

How do you catch these human errors? I guess an option is writing a unit test to explicitly make sure you undo the mods. Seems a bit overkill though.

I find myself wanting to be able to label my change (eg #hack) and then detect for any such labels on deploy to stop deploy. Again, perhaps overkill?


/r/django
https://redd.it/8r1gha
Sparx automation hacks

It’s probably unlikely but i was wondering if anyone here could create a code that would automate your sparx homework and do it for you I’m not very technical in coding and i don’t know how but it would be something like from this yt video https://youtu.be/uu3VSDdSKCg?si=SlejJH9-soJ9Jydn

/r/Python
https://redd.it/1ix77t8