zunbeltz wrote: > > Has Python a #line directive like C preprocesor? The functionality you are looking for is probably included, but in a different way. Can you describe what you want to do with that information? Check whether a combination of sys._getframe() and the "inspect" or "traceback" modules might not do the job. -Peter