Python Forum
How get attributes of maps from loop statement
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How get attributes of maps from loop statement
#3
In the code you posted the maps are just strings, like 'mask_MO1.map'. I'm assuming this points to some sort of file with map data? If so, you'd have to load that data into Python somehow, and how you accessed the information for each map would depend on how it was loaded into Python.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
RE: How get attributes of maps from loop statement - by ichabod801 - Aug-21-2018, 02:53 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Help with nested maps Unkovic 10 1,490 Nov-01-2023, 03:45 PM
Last Post: Unkovic
Photo Python code: While loop with if statement HAMOUDA 1 629 Sep-18-2023, 11:18 AM
Last Post: deanhystad
  Multiply and Addition in the same loop statement with logic. joelraj 2 1,076 Feb-02-2023, 04:33 AM
Last Post: deanhystad
  Compare each element of an array in a logic statement without using a for loop leocsmith 3 5,954 Apr-01-2021, 07:57 PM
Last Post: deanhystad
  how to create pythonic codes including for loop and if statement? aupres 1 1,952 Jan-02-2021, 06:10 AM
Last Post: Gribouillis
  if statement in for loop researcher123 6 2,664 Oct-01-2020, 05:07 PM
Last Post: deanhystad
  Help: list comprehension for loop with double if statement mart79 3 2,482 May-04-2020, 06:34 AM
Last Post: buran
  Best way to map trajectory data on Google Maps Gduffley 1 2,705 Feb-05-2020, 12:36 AM
Last Post: scidam
  Can't visualize maps using Gmaps mPlummers 0 3,582 Sep-11-2019, 02:38 PM
Last Post: mPlummers
  Why doesn't my loop work correctly? (problem with a break statement) steckinreinhart619 2 3,252 Jun-11-2019, 10:02 AM
Last Post: steckinreinhart619

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020