Message from Python discussions

November 2018

— Nope it's legal


I would like to achieve this: after a Django site is activated by runserver command, a custom script within the Django framework is also activated. I need such a script to run certain checks on my models.

— Hi

— Hii

— Guys

— Guys, I need to update the records in my SQL server with the values in my Excel sheet. How can I do that? Using python? Or any other tool?

Message permanent page

— That's up to you, I guess

— Ok admin. Any suggestions and resources which make it easy?

— I mean, if you want to use python, go ahead

— But if you're still unsure, I did a google search for you

Message permanent page

— Ty. I will make a quick research on it and proceed further

— Hi there. How can I filter my methods in a certain class by name using inspect.getmembers()?

I need something like inspect.getmembers(my_object, predicate=lambda m: m.get_name() == 'foo_bar')? (there is no m.get_name() unfortunately). Thanks.

Message permanent page