On 05/02/2013 06:14 PM, karthik.sha...@gmail.com wrote:
from pox.core import core import pox.openflow.libopenflow_01 as of import re import datetime
You're mixing tabs and space, so all bets are off. No promise that the compiler will interpret the indentations the same way you see them.
Use your editor to expand all the tabs to space, then check whether the code still makes sense to you. Then if you want to post a new question, show us the new version of code.
Also this time post the error traceback that matches the version of the code you're showing us.
And don't bother double-posting on tutor. -- DaveA -- http://mail.python.org/mailman/listinfo/python-list