Decorator

2014-03-20 Thread muru kessan
Hi guys, Is there a difference between accessing decorators via '@' symbol and hard coding that ? esp when the function passed to the decorator is a recursive one? See attachments result from deco_with@ is 1 1 0 1 1 0 1 1 0 result from deco_without@ is 1 1 2 3 5 8 13 21 34 1 1 0 3 5 0 13 21

unable to import rlcompleter readline

2014-03-19 Thread muru kessan
hi guys, i want the python interactive shell to be auto complete and i found that by adding the following lines in PYTHONSTARTUP file it is possible import rlcompleter, readline readline.parse_and_bind('tab: complete') but i get the following error in git bash shell Note: i run windows8 as