Tag: automation with python
-
How to assert 2 simple functions return the same value in Python?
To test that two functions return the same value, you can use the assert statement in Python. Here’s an example of how to do it: def function1(): return 5 def function2(): return 5 assert function1() == function2() In this example, we have two functions function1 and function2 that both return the integer value 5. We…
-
Automatic WordPress analytics reports to the Twitter bot
Do you want to share your WordPress blog analytics with Twitter followers automatically and get users engaged? Now you can do it with “Automatic WordPress analytics reports to the Twitter bot”. I will show you how easily it can be done with the powers of Python programming language, Selenium library, GeckoDriver, BeautifulSoup parser and Tweepy.…
-
I would automate everything with Python from now on.
Automating the boring stuff is part of my manifesto. I’ve decided to automate my daily work as much as possible with Python. Have you ever tracked how many times you lost by checking the same item at online shops over and over in the hope to spot a good deal? For me, it is 10…