Skip to content

IslandTropicaMan

Software, Pc Game and Programming Languages

TypeScript ?. syntax example

Posted on October 25, 2022October 26, 2022 By IslandT

In the previous article, I created an object whose properties will get summed up within the below function and the outcome will get returned and printed out on the console. What will happen if I have entered an undefined object into that function instead of the object itself as follows?:- Well, this is what you…

Read More “TypeScript ?. syntax example” »

Type-Script

wxPython Tutorial — Create File Dialog Box

Posted on October 24, 2022October 24, 2022 By IslandT

In this example tutorial of wxPython I am going to create a file dialog box on the previously created wxPython program. This dialog box will get created every time the user has clicked on the button thus the CreateFileDialog function will be put under the same ‘OnButton’ function as the CreateDialogBox function as follows:- Below…

Read More “wxPython Tutorial — Create File Dialog Box” »

Python, Python Tutorial

Tkinter Tutorial — Create Scrolled Text Widget

Posted on October 24, 2022 By IslandT

In this Tkinter example tutorial let us create a scrolled text widget on the previously created top-level window. First of all, the width and height of the scrolled text widget are as follows: Below is the entire python code which produced the scrolled text widget. You can refer to the previous article about Tkinter to…

Read More “Tkinter Tutorial — Create Scrolled Text Widget” »

Python, Python Tutorial

How to use if, elseif and else statement in PowerShell

Posted on October 24, 2022October 24, 2022 By IslandT

In PowerShell the if, else if, and else statement is almost the same as in other programming languages. This line will print the text in the first code block as the x value is greater than 4 but smaller than 6. Remember to hit enter after you have typed the $x=5 line into the PowerShell…

Read More “How to use if, elseif and else statement in PowerShell” »

Power Shell

Create object in TypeScript

Posted on October 24, 2022October 25, 2022 By IslandT

In this example, I am going to create an object in TypeScript and then add up the two properties within that object. First of all, let us create the object in TypeScript. The above object belongs to the loose type with two property values. Next, let us create the function to add up the two…

Read More “Create object in TypeScript” »

Type-Script

wxPython Tutorial — Create Dialog Box

Posted on October 23, 2022October 23, 2022 By IslandT

In this wxPython example tutorial, I will write the program to call a function which will then create a dialog box after a button has been clicked. First of all, from the previous program, I have to add the below line under the CreateButton function which will call another function after the button has been…

Read More “wxPython Tutorial — Create Dialog Box” »

Python, Python Tutorial

Conditional Expression in TypeScript

Posted on October 23, 2022 By IslandT

Conditional expression (?) is the shorthand method of the if else statement in TypeScript. In the below program, I will create an enum object and then find out which enum value the user has entered into the function and display the message accordingly with conditional expression. The conditional expression statement above makes the program simpler…

Read More “Conditional Expression in TypeScript” »

Type-Script

wxPython Tutorial — Create Combo Box

Posted on October 22, 2022 By IslandT

In this wxPython tutorial let us create a daily combo box beside the hello world button. I will not be going to repeat the previous program again thus if you want to look at the entire program you can refer to it in my previous wxPython article. The official page of the wxPython Combo Box…

Read More “wxPython Tutorial — Create Combo Box” »

Python, Python Tutorial

Set the foreground and background color of the output in Power Shell

Posted on October 22, 2022October 22, 2022 By IslandT

If you want to set the foreground and background color of the output in Power Shell, then you can use the below lines. The above two lines will set the output foreground as red and the background as black. Basically, you can set other elements of the Power Shell output as well with the above…

Read More “Set the foreground and background color of the output in Power Shell” »

Power Shell

Create Enum in TypeScript

Posted on October 22, 2022October 22, 2022 By IslandT

Enum is used to define a human-readable name for a specify number or string. The method to use an enum is to put its value into the switch statement. The below program will determine whether a light is on or off using Enum. The above enum has two values, the on and off state for…

Read More “Create Enum in TypeScript” »

Type-Script

Posts pagination

Previous 1 … 7 8 9 … 16 Next

IslandTropicaMan

↑ Grab this Headline Animator

Categories

  • C program
  • Gaming
  • Java
  • Java Collection
  • Java Game
  • Java Generic
  • Javascript
  • Kotlin
  • Power Shell
  • Python
  • Python Tutorial
  • Software
  • Swing
  • Type-Script

Get new posts by email

ArrayList button class combo box earning project enum for loop function interface Java javascript Javascript Iterable javascript iteration result object Javascript iterator Javascript promise kotlin Matplotlib message box Multitask power shell powershell powershell switch pycharm pygame pygame drawing pygame moving circle pygame project chess pygame rectangles pygame update method python python application python class python function python project python tutorial ShotCut.software Stockfish Swing tkinter tuple typescript typescript function visual studio code while loop wxPython

  • How to use case sensitive version of comparison in power shell
  • Create multiple assignments in PowerShell
  • How to compile and run c program in visual studio code
  • How to print numbers from a range in Kotlin
  • How to output words on a Power Shell screen?

Recent Comments

  1. Rainer on Python Example – Group telephone number using the re module
  2. Rainer Mansfeld on Python Example — Write a python program which will save the user inputs into a Pickle file
  3. Rainer Mansfeld on Python Example — Write a Python program to find the permutation of an event
  4. Rainer Mansfeld on Python Example — What is the total ASCII values of characters in the Hello World string
  5. Jules on Python Tutorial — Chapter 9

Copyright © 2025 IslandTropicaMan.

Powered by PressBook WordPress theme

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT