[IronPython] profiling in IronPython error

Pablo Dalmazzo pablodalma93 at hotmail.com
Thu Aug 12 16:58:08 CEST 2010


Hi guys, 

Im trying to run this test I had in cPython in IronPython 2.6 in asp.net. 

   from profile import *



    class Prueba(object):                                                          

        @staticmethod

        def probarvelocidad():

            lista = ['a','b','c']

            for x in lista: pass



    run("Prueba.probarvelocidad()","C:\melia")

It doesnt work, i get this 

Mensaje de error del analizador: No module named 
__main__

Error de código fuente:  (Line 454, import __main__ )





Línea 452:
Línea 453:    def run(self, cmd):
Línea 454:        import __main__

Any ideas? can I give any more useful information to know which the problem is?

 
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20100812/e82a87f7/attachment.html>


More information about the Ironpython-users mailing list