View Single Post
  #3   Spotlight this post!  
Unread 28-08-2010, 03:21
AustinSchuh AustinSchuh is offline
Registered User
FRC #0971 (Spartan Robotics) #254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 1999
Location: Los Altos, CA
Posts: 802
AustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond repute
Re: Im doing something wrong here (python)

What does your "./Scouting/Robot" file look like normally? It's hard to just read your code and provide feedback without seeing the data format.

Also, have you looked at "pickling" your data instead of using eval and repr? Pickled data should be faster to load and more secure than eval (which is a giant security hole...). And easier to get working.