How to Solve WebDriverException: Message: ‘geckodriver’ executable needs to be in PATH?

Did you get the “‘geckodriver’ executable needs to be in PATH?” error message when running your Python program? Are you searching for the answers in Q& A programming websites? But are you confused about the solutions provided on their websites? Are their solutions not working to rectify the issues? If your answer is YES. You … Read more

Python Black-Scholes Model and the Basics of Option Pricing

? Part I: Risk-neutral valuation, Monte Carlo integration vs. the Black-Scholes formula You can find the code in the GitHub repository for this article. The Black-Scholes (BS) pricing model is still a de facto standard method of pricing financial options. Even though there has been much research into improved and possibly more realistic models, the fact … Read more

Python Excel – Styling Your Worksheets

Part 6 in Working with Excel focuses on styling. Impress your customers by styling the Worksheet to match their brand by: adding in their unique logo, using their color scheme, using their preferred font style, formatting the Worksheet using their preferred report style. Taking the time to do this makes you stand above the crowd. … Read more

Python Excel – Sum, Average, Max, and Date Formulas

Part 5 in the Working with Excel series focuses on formulas.   Background After completing Part 4 of this series, you should be comfortable using Python and openpyxl to: add worksheets rename worksheets reorder worksheets delete Worksheets The j-greats.xlsx file should exist on your system.  If you do not have this particular file, click here … Read more

[Google Interview] The 3 Sum Problem

Company Tags: Google, Adobe, Amazon, Apple, Bloomberg, Facebook, Oracle, Microsoft, Tesla Problem Statement Given an integer array nums, return all the triplets [nums[i], nums[j], nums[k]] such that i != j, i != k, and j != k, and nums[i] + nums[j] + nums[k] == 0. Note: that the solution set must not contain duplicate triplets. … Read more

Massive Action — A Foolproof Way to Find Clients as a Freelance Programmer

How to really find clients on freelancing platforms such as Upwork, Fiverr, or Topcoder? Massive action! This article shows you a simple and statistically sound way of increasing your odds of finding new clients as a freelancer. I recently read the “10x” book by Grant Cardone. In his book, he invented the concept of taking … Read more

Python Dictionary clear()

In this blog post, you’ll learn about the Python Dictionary clear() method. But, before I cover the clear() method I would like to give a brief definition of what a Python Dictionary is. Definition: A Python dictionary data structure is a collection of key-value pairs that are unordered, and are accessed by a key instead … Read more