The first line i enter in IDLE is
from foundation import FormParameters
And i get a error like this
>>> from foundation import FormParameters
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
from foundation import FormParameters
File "C:\Python32\lib\foundation\FormParameters.py", line 19
con_str = StringIO()
^
TabError: inconsistent use of tabs and spaces in indentation
As it is a standard library can i change it? or is there any other way round??
You can just open the referenced File (“C:\Python32\lib\foundation\FormParameters.py”) and edit it – in this case I would suggest replacing tabs with spaces, as tabs and python are an evil combination.
As some others commented, this is NOT a part of the standard library – but even if it were, the same rules would apply – find the file and you’re free to edit it (you probably shouldn’t though if you intend to run your programs on other machines with an unmodified standard library). For C extensions this pörocess is somewhat more complicated as you would need to compile them.