M
maehhheeyy
this is stopping my program from running properly. is there something
wrong in my code when that happens?
wrong in my code when that happens?
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
for 1 in oids, vals head_oids:
SyntaxError: can't assign to literal
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 display digits in a
different colour to letters?
Slightly OT, but is there an editor that can display digits in a
different colour to letters?
Pype, spe, just to point it out. Jedit, but rather a bloatware.SciTE and Notepad++
this is stopping my program from running properly. is there something
wrong in my code when that happens?
What about justifying text ?I like Vim (Vi Improved)
MRAB said:Slightly OT, but is there an editor that can display digits in a
different colour to letters?
TheSaint said:What about justifying text ?
I mean fill the line by increasing spaces between words in order to get aDo 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,
unless applying some word hyphenation.
This feature would be nice for writing here and some plain documentation
plain text. Beside that it might doing for Python scripts as well.
TheSaint said: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,
unless applying some word hyphenation.
This feature would be nice for writing here and some plain documentation
plain text. Beside that it might doing for Python scripts as well.
Word spaced line justification is only feasible if one is using a
fixed width font and have a line length defined in "characters/line".
You should strip all extraneous white space from code though.
Very good indeed Specially to do with block reformatting.-=-=-=-=-=-=- (make sure you have a fixed width client)
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.