Quantcast
Channel: Programming – Truelogic Blog
Browsing all 135 articles
Browse latest View live

Python 2.7 – Fundamentals – Control Structures

Now that we have finished looking at data types, lets look at writing logic in Python. A control structure is a language construct which controls [...]

View Article


Python 2.7 – Fundamentals – Exceptions

Using Source Files Till now we have been using the python interpreter and entering code directly on the command line. From this point, we will [...]

View Article


Python 2.7 – Fundamentals – Files & Directories – Directory Management

Using import We have examined the basic concepts in core Python. Python has a lot more functionality apart from that. The extra functionality is divided [...]

View Article

Python 2.7 – Fundamentals – Functions

Sometimes you have some tasks in Python which are repetitive in nature. For instance the steps to calculate the sale price of a product requires [...]

View Article

Python 2.7 – Fundamentals – Classes & Objects – Basic Theory

What Is a Class Classes are ways of grouping data together so that they can be manipulated in code as a single unit. Imagine various [...]

View Article


Geocoding An Address With Google Maps API

OVERVIEW One of the most useful features of Google Maps its ability to locate an address on the map. Geocoding is the process of taking [...]

View Article

Python 2.7 – Working with MySQL databases

Overview Most modern applications need to interact with a database some time or the other. The most common databases in use are MySQL if its [...]

View Article

Python 2.7 – Working with MS-SQL Server databases

Overview In the previous post Working With MySql databases  we saw how Python can be used to work with databases. This post is going to [...]

View Article


Setup Django with Python 3 in Ubuntu 18.x

1.Install Python3 and PIP sudo apt-get install python3 python3-pip Check Python version by typing python3 -V Check PIP version by typing pip3 -V 2.Install Django [...]

View Article


WebRTC Video Chat with Peer.JS and Node.JS

OVERVIEW We shall look at setting up a functional WebRTC VideoChat server using the PeerJS Library. The application will be running on Node.js on a [...]

View Article

Setup a Django 3 project with Bootstrap 4

OVERVIEW This post looks at how to create a Django 3 project app and incorporate Bootstrap 4 files into it. This also looks at how [...]

View Article

Get MacOS System Information in Objective C

If you need to find system information using Objective C , there is no single library or framework which provides all the information. Generally it [...]

View Article

Using MIDI with NAudio

This is a quick and small program in C# to get started with MIDI programming using NAudio. There are other libraries for .NET which can [...]

View Article


Redirect http to https in Tomcat under Elastic BeanStalk

If you want to redirect all HTTP requests to HTTPS , then this is something that is done at the server level; in this case [...]

View Article

Setup wxWorks Library on Ubuntu 18.04

Since the official Ubuntu repository is likely to have a dated wxWorks version , the best option is to download the source code and compile [...]

View Article


Preventing interaction in wxVTKRenderWindowInteractor.py

wxVTKRenderWindowInteractor.py is a class which allows a VTK rendering in a wxPython window. This class is available here:...

View Article

Setting up a Landing Page with Email Capture – Spring 5 MVC

OVERVIEW Some days back I wanted to setup a landing page for a web app which I am planning to start soon. I wanted people [...]

View Article


Setting up a Landing Page with Email Capture – ASP.NET Core 2.1 with Razor Pages

OVERVIEW Some days back I wanted to setup a landing page for a web app which I am planning to start soon. I wanted people [...]

View Article

Setting up wxWidgets Environment for C++ in Ubuntu Linux

The objective here is to provide step by step instructions to setup wxWidgets for use in C++ applications under Linux. Setup Build Environment Ensure that [...]

View Article

6c. wxWidgets- Using Bind

OVERVIEW We take the example from the previous section and implement the same using Bind. SAMPLE CODE events-bind.h events-bind.cpp main.h main.cpp The output is shown [...]

View Article
Browsing all 135 articles
Browse latest View live