bookmark - Python : The Indentation How ?

Python : The Indentation - How ?

 
 Discussion by Mathieu_021 with 5 Replies.
 Last Update: December 19, 2004, 7:10 pm
 
bookmark - Python : The Indentation How ?  
    
free web hosting
 
Hi everyone ,

I program python since one month , and I have trouble with indentation with ....

- Blocks with more than 1 conditions
- Blocks with lists
- And with caracters " strings "

I'd like you to give me some examples if possible and explane me the bases of indentation. I need to know it if I want to progress.

Thanks ^_^

Mathieu_021

Wed Dec 15, 2004    Reply    New Discussion   


QUOTE (Mathieu_021)

Hi everyone ,

I program python since one month , and I have trouble with indentation with ....

- Blocks with more than 1  conditions
- Blocks with lists
- And with caracters " strings "

I'd like you to give me some examples if possible and explane me the bases of indentation. I need to know it if I want to progress.

Thanks  ^_^

Mathieu_021
[post="10213"]<{POST_SNAPBACK}>[/post]

Ok any one tell me what is Python? i know its a programming language but still in confusion where to use it... ??is it like php of Visual basic???

Thu Dec 16, 2004    Reply    New Discussion   

QUOTE (Mathieu_021)

Hi everyone ,

I program python since one month , and I have trouble with indentation with ....

- Blocks with more than 1  conditions
- Blocks with lists
- And with caracters " strings "

I'd like you to give me some examples if possible and explane me the bases of indentation. I need to know it if I want to progress.

Thanks  ^_^

Mathieu_021
[post="10213"]<{POST_SNAPBACK}>[/post]

Blocks with more than 1 conditions = http://pathfinder.scar.utoronto.ca/~dyer/c...k_P/node13.html
Blocks with lists
http://www.a-a-p.org/exec/user-python.html
And with characters " strings "
http://freebooks.by.ru/view/RedHatLinux6Un...ed/rhl6u350.htm

ok I think this is what you was talking about, if not let me know and I will get the information you need

Thu Dec 16, 2004    Reply    New Discussion   

Thanks , thanks ^_^

But i'd prefer to know the number of spaces tou need to put in the blocks to have a correct indentation :D

Sat Dec 18, 2004    Reply    New Discussion   


Show me an example of something you are haveing a problem with , but off the top of my head I cant think of what you need as far as indention, my main lang is vb, lol but I know some python

Sun Dec 19, 2004    Reply    New Discussion   

Quickly Post to Python : The Indentation How ? w/o signup Share Info about Python : The Indentation How ? using Facebook, Twitter etc. email your friend about Python : The Indentation How ? Print
Reply / Comment Ask a Question? Share / Bookmark E-Mail a Friend Print

Python just some questions about it.  Python just some questions about it. (5) (2) Python (win32) Anyone Experienced?  Python (win32) Anyone Experienced?