Create Javascript Generator function, to sum up, numbers

In this example, let us create a Javascript generator function, to sum up, numbers. A Javascript generator is an iterator under ES6 and the generator function will have the * in it. In the below program, a generator function will take in two-parameter, the bottom, and the top value which will later be used, to […]

Continue Reading

Create a javascript function, to sum up all the numbers within a list

In this example, let us create a javascript function which will sum up all the numbers within a list. A list is an iterable object which will return an iterator object through iterable’s iterator method [Symbol.iterator](), this iterator object which has a next method will keep on return an iteration result object with a value […]

Continue Reading

Create the UI of Calculator with Tkinter

Simple Calculator is a python project which I have uploaded to Github under the repository name mustcoded/simplecalculator. In the above repository, you can find the UI framework of this calculator under the main.py file. I will continue to add more files into this repository that include the module to do the calculation, the module to […]

Continue Reading

Create a comment spam filter with Javascript which will turn the URL into ordinary text – Part Two

In the previous javascript article, we have created a javascript function that serves as a spam filter that will turn a URL in the comment box into ordinary text and leave other text untouched. However, that javascript program will only work if the user has entered a single URL into the comment box, therefore, in […]

Continue Reading

Retrieve data from the sqlite3 database and display it on the message box with Python

In this article let us continue to develop our previous python Tkinter application by creating a search box and a button to allow the user to search for a particular symbol on the database and display it with the Tkinter message box! If the symbol which the user has entered is under the red zone […]

Continue Reading

Create the database table to save data with python and Tkinter

In the previous Tkinter code example, I have created an interface with Tkinter which will receive the input from the user and print it out on the label part of that interface. And in this example, I will further create the database table with python to save all those data for future usage. First of […]

Continue Reading

Create a comment spam filter with Javascript which will turn the URL into ordinary text

In this article, let us create a function that serves as a spam filter that will turn a URL in the comment box into ordinary text and leave other text untouched! This javascript program will use a regular expression to search for the text which contains a URL and take out the HTTP:// part and […]

Continue Reading

Create a python program that will show the entry word as well as the word’s color

In this python program, I will write a simple Tkinter UI program that does the following:- when a user clicks on the submit button after entering word and select either the word will appear in red or green the top label will show the word as well as the word’s color. As you can see […]

Continue Reading