Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Python : The Indentation, How ?
Mathieu_021
post Dec 15 2004, 09:38 PM
Post #1


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 9
Joined: 15-December 04
Member No.: 1,769



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 biggrin.gif

Mathieu_021

Go to the top of the page
 
+Quote Post
thedevil
post Dec 16 2004, 06:10 AM
Post #2


Member - Active Contributor
Group Icon

Group: Members
Posts: 82
Joined: 17-November 04
Member No.: 1,392



QUOTE(Mathieu_021 @ Dec 16 2004, 03:08 AM)
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  biggrin.gif

Mathieu_021
*


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???
Go to the top of the page
 
+Quote Post
onstage
post Dec 16 2004, 06:35 PM
Post #3


Newbie [ Level 1 ]
Group Icon

Group: Banned
Posts: 7
Joined: 16-December 04
Member No.: 1,779



QUOTE(Mathieu_021 @ Dec 15 2004, 04:38 PM)
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  biggrin.gif

Mathieu_021
*


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



Go to the top of the page
 
+Quote Post
Mathieu_021
post Dec 18 2004, 07:58 PM
Post #4


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 9
Joined: 15-December 04
Member No.: 1,769



Thanks , thanks biggrin.gif

But i'd prefer to know the number of spaces tou need to put in the blocks to have a correct indentation cool.gif
Go to the top of the page
 
+Quote Post
onstage
post Dec 19 2004, 07:10 PM
Post #5


Newbie [ Level 1 ]
Group Icon

Group: Banned
Posts: 7
Joined: 16-December 04
Member No.: 1,779



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
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Python(5)
  2. Python (win32)(1)
  3. Python Versus Java ?(4)
  4. Prove Yourself As A Python Coder - Challenge Site(4)
  5. Pagerank Checksum Algo For Python(0)
  6. Lpt Port And Python(0)
  7. Localizing Python(1)
  8. Python Mysqldb Threading(0)


 



- Lo-Fi Version Time is now: 5th December 2008 - 11:27 AM