Hello everyone,
I've been working with some python scripts for few days now,
what editor i've been using? the answer is Notepad, but then
i move to Notepad++ which is the one i use to edit batch files
php files, and many other programming files formats, but just now
i'ma having a problem, i am getting a SyntaxError, the problem or
the error pointed to a Non-ASCII character in my file on line 22...
then i checked and everything looks okay, that line have two ## which
mean that the code is not reading, is just my description of that line
of code, but when i edited that line, i changed just two letters and a
space, and after that i started to get this syntax error.
Now from these two programs "Notepad++" and "EditPlus Text Editor"
which one is the best to edit and rewrite python files?
before i was thinking that to program python files and all of that,
most any text editor will do the job, but after having this problem,
i started to think diferent.
I learn that this is an operating system thing, not a Python thing.
but i am not sure, thats why i was wondering if i can get a hand on this.
A little more detail on my problem...
All i did is do some changes in my script and thats it,
something similar to editing the fallowing file...
#!/usr/bin/python
"""
"""
import os,struct,sys
## Print results
## print "[INFO] Then all i did is make this section smaller, thats all %x" % pos
and for what i know thats like when in Visual Basic we add a info line like this:
'This is the example of the code.
or like in batch files, we use this :This is the example of the code.
so python use ## This is the example of the code. and so on like any
other language, but i don't get it why python files are so delicated in this matter.
Any help will very appreciate.