redho home | products | services
Web Design Forums

Web Design Forums  


Web Hosting, Web Design, Software and Web Development Forums  
 FAQFAQ   MemberlistArchive  Log inLog in   RegisterRegister 
         

what is the better way to store?



 
Post new topic   Reply to topic    Web Design Forums -> Python programming forum
View previous topic :: View next topic  
Author Message
amoralis



Joined: 22 Jun 2006
Posts: 21
I am writing a code that would take in a lot of command line arguments some of them are switches et. al. What is the better way to store all those command line options and pass them between different functions and classes (a global variable [dictionry]) or a class and have member methods ?
  Reply with quote


Poolkop



Joined: 01 Jun 2006
Posts: 123
amoralis, depends on the situation. both have downsides and conveniences.
  Reply with quote
WarChild



Joined: 24 Feb 2006
Posts: 46
A class would be better for testing/manipilating but would require some more time to be implemented.
  Reply with quote
Page 1 of 1
Post new topic   Reply to topic    Web Design Forums -> Python programming forum


Dubai Forums - Expat Help | Vegan Chat | Java Programming | Free 3D tutorials and 3d textures | Paris Forum | EU Forum
Free Dubai Classifieds | Free London Classifieds | Jobs in London

High Quality, Custom 3d animation and Web Design solutions Royal Quality Web Hosting Services Vegetarian and Animal Rights news

Powered by phpBB © 2001, 2005 phpBB Group