[SOLUCIONADO] Como ejecutar HolaMundo.py ?

Iniciado por KiddArabic, Septiembre 05, 2017, 09:13:23 AM

Tema anterior - Siguiente tema

0 Miembros y 1 Visitante están viendo este tema.

Septiembre 05, 2017, 09:13:23 AM Ultima modificación: Septiembre 10, 2017, 12:01:23 PM por xyz
Hola a todos.

Me gustaria que me ayudaran en un problema que tengo con python, lo instale y va bien solo cuando intento abrir el el programa que cree por ejemplo You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login y lo guarda en mi escritorio me abre pero se cierra rapido

¿Alguien me podria ayudar?

Ejecútalo desde consola.

>>cd ubicación
>>python You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
RollthBuen hacker mejor You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login/You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login

no bro no me funciono tampoco  :-\

Proba agregandole una pausa a tu script al final

raw_input("Pulsa una tecla para continuar...")

Así alcanzas a ver que tira la consola

Saludos,
ANTRAX


You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
no bro no me funciono tampoco  :-\

No puede ser que se te cierre si lo ejecutas desde consola.
Puedes pasar el código?
También puedes probar lo que dice ANTRAX.
RollthBuen hacker mejor You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login/You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login

Buenas!

Conseguiste solucionar el problema?

Debería funcionar si lo ejecutas desde consola...

Un saludo.



es probable que no tengas permisos de ejecucion. si estas en linux prueba desde consola
chmod 744 You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
busca ayuda de chmod y los permisos de linux, es fundamental.

y luego lo ejecutas con>
python You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login

Ya lo solucione para los que preguntaban cual era el codigo que estaba usando para imprimirlo en pantalla era el mas facil haha, print("hello")

solo lo solucione guardando el archivo You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login en escritorio y abriendolo con cmd