Tag: automation

  • How to assert 2 simple functions return the same value in Python?

    How to assert 2 simple functions return the same value in Python?

    by

    in

    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

    Automatic WordPress analytics reports to the Twitter bot

    by

    in

    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.…

  • Create a GitHub bot for automatic contributions

    Create a GitHub bot for automatic contributions

    Have you ever wondered how non-tech guys have such impressive contribution stats on their Github profiles? Yes, they have set up a GitHub bot that uploads the same file over and over again to the GitHub repo. This piece of content is a part of my “automation” manifesto, which I declare here: I would automate everything…

  • I would automate everything with Python from now on.

    I would automate everything with Python from now on.

    by

    in

    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…