python gurus please help to do this

Archived from the original Sajha.com — preserved as posted, replies can no longer be added here.
Start a New Discussion
Archived Post

none Last edited: 05-Aug-12 11:11 PM

young_man · Aug 4, 2012 8:50 PM · 17,571 views

8 Replies

Any website to learn python for Beginner ? I am looking for one.  sorry i can't help you for the answer

pokhrelikanchi · Aug 4, 2012 9:51 PM

 I genuinely thought you were on a lookout for a biologist who specialized on pythons. Man, I feel like a sheep. 

riddle · Aug 4, 2012 9:57 PM

 Codeacademy.com is a free website which just started doing Python classes.

maxpayne · Aug 5, 2012 10:40 AM

deleted! Last edited: 06-Aug-12 12:41 PM

samaebajii · Aug 5, 2012 5:38 PM

 I am spoon feeding you this because this is a little tough for beginner. Not the program part but the wiring part (command line arguments). So here it goes. import sys def dress_me(shirts, ties, suits): for shirt in shirts: for tie in ties: for suit in suits: print [shirt,tie,suit]   args=sys.argv _shirts=eval(args[1]) _ties=eval(args[2]) _suits=eval(args[3]) dress_me(_shirts,_ties,_suits) save it in dressme.py and  python dressme.py ['white','blue'] ['purple','yellow'] ['grey','blue'] you cant have space after comma in the list. Well, you can have but this program cannot comprehend such sabotage. You may dig and find a way to do it.  

divdude · Aug 5, 2012 10:25 PM

 This is a good book : http://www.diveintopython.net/... the beginners.

iinception · Aug 6, 2012 2:14 AM

Thanks @Maxpayne , Samaebajii & inception . I might be asking you Questions later if you don't mind .

pokhrelikanchi · Aug 6, 2012 8:08 AM

can you also try the following (if it might interest you)- http://www.learnpython.org/ http://www.tutorialspoint.com/... ~GoodLuck

no_more_crush · Aug 7, 2012 12:08 AM

This conversation is preserved exactly as it was on the original Sajha.com and can't accept new replies.

Start a New Discussion