Prasannatech - prasannatech.net - Techtalks

Latest News:

Creating a Bitarray in python 1 Jul 2012 | 05:37 pm

This code shows an implementation of bitarray in python using the bytearray built-in function, it can set/unset and fetch a bit from a given array index location, in the below example we create a bita...

A quick reference to HTML/URL escape/unescape methods in python 1 Jul 2012 | 05:33 pm

This code briefs about some of the escape/unescape methods in python available for HTML special characters and also ways to quote/unquote characters using urllib methods, though obvious, this is one o...

Finding a missing number in an array using XOR logic 1 Jul 2012 | 05:27 pm

This python program illustrates the way to find a missing number in an array (list) using XOR logic. .hll { background-color: #ffffcc } .c { color: #408080; font-style: italic } /* Comment */ .err { ...

How to create a dictionary/list/tuple from a string in python 1 Jul 2012 | 05:22 pm

I often wondered about the easiest way to create a dictionary, tuple or a list from it's string representation in python, found out that the eval built-in function can be used to do the same, in the b...

Towers of Hanoi explained in python 1 Jul 2012 | 05:13 pm

This code illustrates the Towers of Hanoi problem solution with it's simple logic - to move 'n' number of discs from source(A) to destination(B) using an intermediate rod (B), recursively move n-1 dis...

MS&E 252 Decision Analysis I course in Stanford - an organized approach to decision analysis 1 Jul 2012 | 05:01 pm

An year before I took the MS&E 252 Decision Analysis course in Stanford, thought it would be worthwhile to share how important a formal decision analysis process is in making better decisions and how ...

Comparing the type of two objects in python 1 Jul 2012 | 04:56 pm

This code illustrates how to compare the type of any two objects in python with a simple example. .hll { background-color: #ffffcc } .c { color: #408080; font-style: italic } /* Comment */ .err { bor...

An easy to understand solution to the eight queens problem in python 1 Jul 2012 | 04:50 pm

This is a simplified version of the famous eight queens problem, often I wondered on how I could I write recursive code for this which would exactly simulate the way one would place the queens on the ...

Textwrangler Connection unexpectedly lost error - Solution 1 Jul 2012 | 04:30 pm

When I was using TextWrangler text editor for MAC to connect to a remote Linux system to edit some text files there, once I got an error like the one shown below "The server operation couldn't be com...

How to avoid automatic windows reboots after updates 1 Jul 2012 | 04:07 pm

Many a times it may be not be a pleasant experience when Windows 7 automatically reboots after installing updates without the user explicitly wanting to do it, to avoid automatic reboots after install...

Related Keywords:

socket programming, python socket, c socket tutorial, c socket programming, tkinter input, socket programming in c, hacking for beginners, how to write techno, division algorithm code, best book to learn python

Recently parsed news:

Recent searches: