Modules vs Packages vs Libraries in Python

The terms ‘module’, ‘package’ & ‘library’ are defined differently by different programming languages. This may cause some confusion for programmers switching from one language to another. Here’s how these three terms are used in context of python: Module: Simply put, a module in python is a .py file that defines one or more function/classes which […]

Python, Tkinter GUI Practical Examples Tutorial

Tkinter is a simple to use, cross-platform(Linux/Windows/OSx) GUI program – the only built-in GUI packaged with Python. It is designed on Tcl/Tk -a popular open-source GUI scripting language for a wide range of programming languages ( c, C++, Perl, PHP, Ruby etc.). Here’s how to get started with Tkinter: Example 1: Introducing Root Window Tkinter […]

Tkinter._test() does not work. NameError: name ‘Tkinter’ is not defined

Maricela Bruss Asks: Hello, I am trying to get started with Tkinter.  I checked ‘import _tkinter’ and ‘import Tkinter’ – and they seem to be fine with no error whatsoever. I am getting stuck in the third test, >>> Tkinter._test() >>> tkinter._test() The error  message: Traceback (most recent call last): File “<stdin>”, line 1, in <module> NameError: […]

Fastest way to Learn any Programming Language

As computer programmer has to often learn different programming languages for different projects. Even a single project may require two or more programs to interact. A programmer is often faced with the challenge of learning new programs in short period of time. So how does one go about updating skills to pick up a new […]

Java programming Best for What Use ?

Question: What kind of work is Java program best suited or used for ? Answer: Java is deployed in many places. 1) It is the market leader in the enterprise servers (grid servers, legacy severs & more)  & network computing. 2) It is the most common desktop environment for finance sector software. Most of the […]

Run .java or .jar Program in Windows 7, XP, MAC & Linux

Contrary to what many blogs seem to suggest – you need not and perhaps should not install any third party software for running a .java or .jar program on Windows 7, MAC & Linux. The process is similar for all the three operating systems. Lets get started.   1)  Step I: Download & Install Java SE […]

2 min. Website makeover with @font-face

Not until a few years back – choosing a web-safe font was a major decision for a developers.   To ensure comaptibility between the browser and the operating systems, a developer would have to stick to the basic set of fonts like  Arial, Courier, Times New Roman, Comic Sans, Impact, Georgia, Trebuchet and Verdana. And […]

Plotting Functions on Google 3d

Did you know you could use the google search box as a calculator. Yes go ahead and type and large mathematical sum into the search box and viola – you get the answer. Wish this was around – when i was a school going kid ! Earlier in the year,  google had extended its calculating […]

Shell Extension: Meaning, Risks & Removal

Before we try to understand the term “shell extension”, it is imperative to know a bit about the terms “shell” & “kernel”. The term Kernel, refers to the core program of the operating system. The kernel is what actually does the hardware access, sharing of CPU time, allocation of process IDs to each process, process […]

Configuring MTS Blaze Mobile Broadband on Ubuntu

For installing & configuring MTS Blaze Mobile broadband Internet connection on Ubuntu, complete the following steps. Contrary to what is mentioned at many places, you do not need to download or install any software. Nor do you need to touch the command line for the purpose of using MTS Blaze in Ubuntu. Just follow the […]