0

I have a self defined text editable (datafile) file format (which uses certain python types as dict, tuples, lists etc as well) for providing arguments data to my python scripts. These arguments are later used in my Main python script.

Currently, at the start of Main program, I am consolidating (using os.walk) all such datafiles and parsing them every time which takes a lot of time. This is my issue!

Is there a mechanism in eclipse to run a python script (independent like a parser) and use above "datafile" as argument to check for syntax errors immediately after I save the file. So that I will not bother to check for syntax errors while running Main program.

Is this possible?

I am using Eclipse IDE with pydev for my development work.

Regards,

2
  • You can add an Ant based builder to the project which can run your code: see the Eclipse help on Ant & external tools tutorial Commented Oct 7, 2015 at 9:31
  • Appreciate your inputs greg, thanks. Will take a look Commented Oct 7, 2015 at 9:49

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.