Display line #s in editorial python editor
robopu last edited by
so it took me awhile to get used to the editor in the editorial python console but i've learned to live with some shortcomings due to the power python scripting gives me on my handheld.
that said, just thought i'd check if there's some way to get some extra functionality
- is there a way to either disply line number or goto a line number in the code?? or even just have the line number at the bottom of the screen like in vim?
debugging a program is a royal pita b/c though the console will spit out errors with line numbers, b/c there's no way to actually see them in my source , they're often kind of useless. i often have to constantly insert and remove put bogus statments in my code to break the code until i can narrow in on the offending original error line if that makes sense.
tell me there's a way to do this and i just don't know :)
- is there a way to organize python scripts in the console or my local folder, including saving them in type .py with py syntax so that i can easily access and reuse multiple scripts in the console? i don't see any documentation on this?
as of now, i work in the console editor and periodically have to copy paste back to another document in my local folder and vice versa to back up and get a new script into the console editor? that's very time consuming and prone to error! what's worse is that for some reason even if i open a new .txt file to paste my py scripts into, it wants to treat them as markdown and they're horrible to read and edit in the main editor..?
maybe there's a way to work with and share the local document files and current (and i think only single) python console editor buffered file that i just don't know about?
Webmaster4o last edited by
You should really get Pythonista. It provides this functionality. You can edit entire script files and run them all at once.
ccc last edited by ccc
I agree... Get Pythonista... It is GREAT! It will allow you to hack without worrying about your Editorial files getting messed up.
robopu last edited by
i finally bought it... will get around to putting it through it's paces in due time..thx for the help