Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


python for scripting


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 MindCode   Members   -  Reputation: 122

Like
Likes
Like

Posted 27 March 2003 - 12:30 PM

I was looking into scripting languages recently to incorporate into my engine when I came across an interesting one called python (you''ve all heard of it). I''ve heard of python before but have never really looked into it. In fact I have never looked into many scripting languages before, but the features and flexibility that came with python just blew me away. I did what I found was necessary to get the python22.dll working with mingw, and it works and links and compiles and all that, but I was lost on where to go from there. How the heck do I execute scripts from this point? Now I''m not a newbie; I''ve been programming for awhile now (5 years). I just don''t have any experience with scripting languages. I''m making the assumption here that python has the ability to execute py scripts from within another language/program, and that it can also communicate with that language/program in order for the script to perform certain tasks. As far as I know that is the purpose of a scripting language. Am I wrong? I''ve been looking on the net, but tutorials on python are usually about the python language itself, and not how to interface it with another program. Anyone got some quick information for me here?

Sponsor:

#2 Arild Fines   Members   -  Reputation: 968

Like
Likes
Like

Posted 27 March 2003 - 01:09 PM

You should probably take a look at this: http://www.python.org/doc/current/ext/ext.html. This one will probably also come in handy: http://www.python.org/doc/current/api/api.html

As an alternative, you might find boost:ython interesting: http://www.boost.org/libs/python/doc/index.html



"If there is a God, he is a malign thug."
-- Mark Twain





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS