Python: C++ style cin, cout in Python

Ready to bring some flavor of C++ into python? If you like cout, cin in C++ and also a python programmer, you’d definitely like this snippet.
import sys
class ostream:
def __init__(self, file):
self.file = file

def __lshift__(self, obj):
[...]

Python: Working in Unicode

While working on unicode based characters in python, you’ll often come across this type error message (this cost me a while to fix).
UnicodeEncodeError: ‘ascii’ codec can’t encode characters in position 0-3: ordinal not in range(128)
This will happen if you do not set your character encoding in your python file to UTF-8. First you need to [...]

Website Security : Directory Listing Issue

Directory listing is a great security risk for websites. Anyone can see and download contents from the directory. It may reveal your website’s login and database information. It will definitely make the server side scripts public which puts website’s security at a stake. It may also reveal private contents like images or multimedia files to [...]

Hyperlink in actionscript 3

Regarding hyperlinks, there has been a significant change from Actionscript 2 to Actionscript 3.
In Actionscript 2, the following line of code would have sufficed to open a window in your default browser for this blog.

getURL("http://www.muktosoft.com/blog/");

But in Actionscript 3, you need to instantiate an URLRequest then call navigateToURL to (:) navigate to your target url. [...]