Re: can't assign to literal

2008-06-14 Thread TheSaint
On 17:06, venerdì 13 giugno 2008 Dennis Lee Bieber wrote: > -=-=-=-=-=-=- (make sure you have a fixed width client) > Very good indeed :) Specially to do with block reformatting. I just post my script to demonstrate my thoughts in what I meant as justifying. Specially considering that I meant ch

Re: can't assign to literal

2008-06-13 Thread TheSaint
On 15:11, giovedì 12 giugno 2008 Dennis Lee Bieber wrote: > Word spaced line justification is only feasible if one is using a > fixed width font and have a line length defined in "characters/line". ===8<==8<==8<==8<==8<==8<==8<==8<==8<==8< line= 'fixed width f

Re: can't assign to literal

2008-06-12 Thread Ethan Furman
TheSaint wrote: On 01:37, giovedì 12 giugno 2008 Ethan Furman wrote: Do you mean indenting, or wrapping? I mean fill the line by increasing spaces between words in order to get a paragraph aligned both side, left and right on the page. So if the width is 78 chars it wouldn't have jig saw end

Re: can't assign to literal

2008-06-11 Thread Chris
On Jun 12, 8:03 am, TheSaint <[EMAIL PROTECTED]> wrote: > On 01:37, giovedì 12 giugno 2008 Ethan Furman wrote: > > > Do you mean indenting, or wrapping? > > I mean fill the line by increasing spaces between words in order to get a > paragraph aligned both side, left and right on the page. > So if t

Re: can't assign to literal

2008-06-11 Thread TheSaint
On 01:37, giovedì 12 giugno 2008 Ethan Furman wrote: > Do you mean indenting, or wrapping? I mean fill the line by increasing spaces between words in order to get a paragraph aligned both side, left and right on the page. So if the width is 78 chars it wouldn't have jig saw end to the right side,

Re: can't assign to literal

2008-06-11 Thread Ethan Furman
TheSaint wrote: On 00:15, giovedì 12 giugno 2008 Ethan Furman wrote: I like Vim (Vi Improved) What about justifying text ? Do you mean indenting, or wrapping? Vim has excellent indenting support, and Python files already included that support proper indenting, syntax coloring, etc. I

Re: can't assign to literal

2008-06-11 Thread TheSaint
On 00:15, giovedì 12 giugno 2008 Ethan Furman wrote: > I like Vim (Vi Improved) What about justifying text ? -- Mailsweeper Home : http://it.geocities.com/call_me_not_now/index.html -- http://mail.python.org/mailman/listinfo/python-list

Re: can't assign to literal

2008-06-11 Thread Ethan Furman
MRAB wrote: On Jun 10, 10:57 pm, "Steven Clark" <[EMAIL PROTECTED]> wrote: for 1 in oids, vals head_oids: SyntaxError: can't assign to literal -- 1 is a literal, you can't assign it to something. Are you trying to use it as a variable name? Slightly OT, but is there an editor that can disp

Re: can't assign to literal

2008-06-11 Thread TheSaint
On 16:47, mercoledì 11 giugno 2008 Chris wrote: > SciTE and Notepad++ Pype, spe, just to point it out. Jedit, but rather a bloatware. I'd like to know which is the litest multi platform and indipendent. Pype is very good when compiled in exe, but not doing in Linux in that way. -- Mailsweeper Ho

Re: can't assign to literal

2008-06-11 Thread Lie
On Jun 11, 2:53 am, maehhheeyy <[EMAIL PROTECTED]> wrote: > this is stopping my program from running properly. is there something > wrong in my code when that happens? That simply means you did something like this: 'hello' = 'another' 123 = 'kilo' [12, 'asd] = 123 Sometimes it's not that obvious

Re: can't assign to literal

2008-06-11 Thread Lie
On Jun 11, 3:32 pm, MRAB <[EMAIL PROTECTED]> wrote: > On Jun 10, 10:57 pm, "Steven Clark" <[EMAIL PROTECTED]> wrote: > > > > for 1 in oids, vals head_oids: > > > SyntaxError: can't assign to literal > > > -- > > > 1 is a literal, you can't assign it to something. Are you trying to > > use it as a v

Re: can't assign to literal

2008-06-11 Thread Chris
On Jun 11, 10:32 am, MRAB <[EMAIL PROTECTED]> wrote: > On Jun 10, 10:57 pm, "Steven Clark" <[EMAIL PROTECTED]> wrote: > > > > for 1 in oids, vals head_oids: > > > SyntaxError: can't assign to literal > > > -- > > > 1 is a literal, you can't assign it to something. Are you trying to > > use it as a

Re: can't assign to literal

2008-06-11 Thread MRAB
On Jun 10, 10:57 pm, "Steven Clark" <[EMAIL PROTECTED]> wrote: > > for 1 in oids, vals head_oids: > > SyntaxError: can't assign to literal > > -- > > 1 is a literal, you can't assign it to something. Are you trying to > use it as a variable name? Slightly OT, but is there an editor that can displa

Re: can't assign to literal

2008-06-10 Thread Larry Bates
maehhheeyy wrote: On Jun 10, 1:21 pm, Matimus <[EMAIL PROTECTED]> wrote: On Jun 10, 12:53 pm, maehhheeyy <[EMAIL PROTECTED]> wrote: this is stopping my program from running properly. is there something wrong in my code when that happens? yes Post your code, or at least the full error message

Re: can't assign to literal

2008-06-10 Thread Steven Clark
> > for 1 in oids, vals head_oids: > SyntaxError: can't assign to literal > -- 1 is a literal, you can't assign it to something. Are you trying to use it as a variable name? -- http://mail.python.org/mailman/listinfo/python-list

Re: can't assign to literal

2008-06-10 Thread Steven Clark
On Tue, Jun 10, 2008 at 5:30 PM, maehhheeyy <[EMAIL PROTECTED]> wrote: > On Jun 10, 1:21 pm, Matimus <[EMAIL PROTECTED]> wrote: >> On Jun 10, 12:53 pm, maehhheeyy <[EMAIL PROTECTED]> wrote: >> >> > this is stopping my program from running properly. is there something >> > wrong in my code when that

Re: can't assign to literal

2008-06-10 Thread maehhheeyy
On Jun 10, 1:21 pm, Matimus <[EMAIL PROTECTED]> wrote: > On Jun 10, 12:53 pm, maehhheeyy <[EMAIL PROTECTED]> wrote: > > > this is stopping my program from running properly. is there something > > wrong in my code when that happens? > > yes > > Post your code, or at least the full error message if y

Re: can't assign to literal

2008-06-10 Thread Matimus
On Jun 10, 12:53 pm, maehhheeyy <[EMAIL PROTECTED]> wrote: > this is stopping my program from running properly. is there something > wrong in my code when that happens? yes Post your code, or at least the full error message if you want more details. Matt -- http://mail.python.org/mailman/listinf