Page 1 of 1

Nova API

Posted: Mon Jun 23, 2014 17:40
by Weslei
Poderia ter 1 API de Python :) porque eu não sei nada de LUA apesar de ja ter tentado aprender e python e muito mais fácil

Re: Nova API

Posted: Fri Jun 27, 2014 23:15
by RefletDeflet
Sim, não são bem APIs mas as suas finalidades são a mesma:

- Lunatic Python

- Lux

- Lupa

Fonte:
https://wiki.python.org/moin/Integratin ... guages#Lua

Re: Nova API

Posted: Sun Oct 11, 2015 13:41
by iangp
Eu apoio kkkkkkkkk
Python 4 Ever
mas depois vc pega o jeito da API em lua

Re: Nova API

Posted: Sun Oct 11, 2015 14:02
by iangp
Me inspirei cara...
Agora estou tentando fazer um Mod que permita usar o python...
Imagine procurar recursos na web na hora de fazer seus mods?
Isso é um pouco perigoso, reconheço, mas é bem legal...

Até agora consegui mandar o Hello World chamando o sistema

no arquivo init.lua:

os.execute("python /home/ian/.minetest/mods/pythonic/em.py")

no arquivo em.py:
print "Hello World!\n"*400

Resultado no console:
Hello World!
Hello World!
...

Re: Nova API

Posted: Sun Oct 11, 2015 19:00
by iangp
Ai ó o resultado...

viewtopic.php?f=9&t=13381

Se alguém aqui usa windows testa para mim por favor!