What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Pec

satbuster

Member
Joined
Dec 19, 2014
Messages
93
Hi,

I have a question about the Python Execute Console.

I can do single line Python-type commands. I'm struggling with anything more complex that spans multiple lines.

e.g. Simple multi-line constructs such as...

Code:
for item in items:
    print item

I've read about IronPython but haven't found any useful hints.


-SB-
 
Here's an example.

Code:
for i in GameManager.Inventory.Bags.Items:
Log("Index %d\n%s\n" % (i.Index, i.Name))
 
Back
Top