Nova API
Nova API
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
--------------- Brazil 5 world championships --------------------
============My Vote for an api in Python==================
============My Vote for an api in Python==================
- RefletDeflet
- Member
- Posts: 38
- Joined: Sun May 04, 2014 22:39
Re: Nova API
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
- Lunatic Python
- Lux
- Lupa
Fonte:
https://wiki.python.org/moin/Integratin ... guages#Lua
Last edited by RefletDeflet on Mon Nov 02, 2015 21:19, edited 1 time in total.
- iangp
- Member
- Posts: 114
- Joined: Sat May 31, 2014 19:26
- GitHub: 14NGiestas
- IRC: iangp
- In-game: iangp
- Location: Brasil - ES
Re: Nova API
Eu apoio kkkkkkkkk
Python 4 Ever
mas depois vc pega o jeito da API em lua
Python 4 Ever
mas depois vc pega o jeito da API em lua
God's not dead, He's surely alive!
エル プサイ コングルー
My mods (WIP):
エル プサイ コングルー
My mods (WIP):
- Time Travel: viewtopic.php?f=9&t=13672
- Star wars: viewtopic.php?f=9&t=10086
- Pythonic speaker: viewtopic.php?f=9&t=13381
- iangp
- Member
- Posts: 114
- Joined: Sat May 31, 2014 19:26
- GitHub: 14NGiestas
- IRC: iangp
- In-game: iangp
- Location: Brasil - ES
Re: Nova API
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!
...
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!
...
Last edited by iangp on Sun Oct 11, 2015 20:28, edited 1 time in total.
God's not dead, He's surely alive!
エル プサイ コングルー
My mods (WIP):
エル プサイ コングルー
My mods (WIP):
- Time Travel: viewtopic.php?f=9&t=13672
- Star wars: viewtopic.php?f=9&t=10086
- Pythonic speaker: viewtopic.php?f=9&t=13381
- iangp
- Member
- Posts: 114
- Joined: Sat May 31, 2014 19:26
- GitHub: 14NGiestas
- IRC: iangp
- In-game: iangp
- Location: Brasil - ES
Re: Nova API
God's not dead, He's surely alive!
エル プサイ コングルー
My mods (WIP):
エル プサイ コングルー
My mods (WIP):
- Time Travel: viewtopic.php?f=9&t=13672
- Star wars: viewtopic.php?f=9&t=10086
- Pythonic speaker: viewtopic.php?f=9&t=13381
Who is online
Users browsing this forum: No registered users and 2 guests