Software Development Tutorial Index

Simple dictionary use

Here's a simple tutorial on dictionaries in Python: Dictionaries: Dictionaries are similar to other compound types except that they can use any immutable type as an index. One way to create a dictionary is to start with the empty dictionary and add items. The empty dictionary is denoted {}:... (Read More)
1

SIMPLE threading tutorial

!USING PYTHON 3.1! Hello DaniWeb! Today I'm going to be posting a simple threading tutorial. First of all, what is threading? Well, threading is just another way of doing a side task without interrupting the main program. Now here's a simple example. Let's say we are going to make a simple... (Read More)
2

Useful input trick

!USING PYTHON 3.1! Hello DaniWeb! Today I'm going to teach you a cool variable trick that I learned. So here's an example: a, b, c = input('?x?x?: ').split('x') Now let's input something like: (Read More)

Simple Regex tutorial

Regex is one of the more complicated modules that you can use in python. Once you have learnt it though you can use it many different programming languages, so its a useful tool for using with strings. So first to use regex you must import it import re This loads the module for us to use. ... (Read More)
1

Multimedia: introducing the webbrowser module

Probably the simplest way to get into multimedia with Python is the webbrowser module. This works with both Windows and Unix systems, and selects the default browser you have installed. But that is not all: if you give it the name of a multimedia file it will select the default viewer or player,... (Read More)
C++
1

User Input: Strings and Numbers [C++]

User input/output is a key component in the programs you write, yet most online tutorials just provide a quick-and-dirty method of grabbing data. In other words, it works right up until the point the user does something unexpected. In this tutorial you will learn how to avoid the common mistakes... (Read More)
2

An introduction to algorithms

There is little doubt that one of the most daunting tasks in all of computer programming is that of developing your own algorithms. Indeed, it is here where the term Computer Science comes to the fore as it is virtually a step-by-step process, so intricate and precise it truly is a science to... (Read More)

An introduction to Test Driven Development

Test Driven Development (TDD) is the amalgam of two programming techniques: Test-First Development (TFD) and Refactoring. Looking at the first of these, TFD literally means that before you write some functional code (in whatever programming language you happen to favor) you first write a small... (Read More)
C
3

User Input: Strings and Numbers [C]

Very early on when attempting to learn programming in C, you often do exercises that read in and print out strings and numbers. Now you might assume that C has a simple function that will get user input, and indeed it does, but there are a couple of gotchas that can easily trip up those new to... (Read More)

Automating Office applications

One of the most important things to understand when automating office, is that it's heavily OOP, and therefore you are forced to work with objects. In order to create an object that is external to your application (for example an office application, whereas a button or textbox would be internal to... (Read More)

Forum Tools


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC