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?

 
                                          
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to