Well, I don't use it, but from what I'm told, emacs can do this. How
you'd set it up, or how well it works is unknown to me, but if you
want to go that route, let us know how it works out. I honestly have
no desire to use emacs, (I've managed to avoid using it for the last
25+ years, and I certainly have no desire to start using it now, so I
can't help you in that endeavour should you opt for it.
The only way I know of to get indentation working properly is to set
your tab stops in text edit to be the number of spaces you want each
indentation level to be, then just pound away on the tab key the
required number of times until you're at the indentation level desired.
I use a proprietary programming language to program diy hardware
projects, and it (like python) requires indentation to denote
execution levels, and it's a real pain for me to read someone else's
code, though writing my own is easy enough. At one point, I'd
considered writing a precompiler program that would go through my
source, and produce the proper indentation levels based on tags I'd
place in the code, but then I figured out it's easier (for me at
least) to just control the indentation levels myself, though I think
it may be useful for other people's code, so I may go ahead and write
the thing anyway, just so I can finally have a definite picture of
unknown code and indentation levels.
On Jan 12, 2014, at 5:08 AM, Sean Murphy wrote:
Travis,
I have managed to work out how to do proper debugging with in python
which means I don't necessarily have to have all those print
statements. Only thing I would like to find is a good editor that
would tell me the indents. Voice-Over doesn't give you this
information.
Sean
On 06/01/2014, at 3:42 AM, Travis Siegel <[email protected]> wrote:
Heh. Good luck with that.
Python isn't a programming language per se. It's really more of a
scripting language. As such, the typical tools used for debugging
(gdb and friends) won't work. Really, you need to approach it the
same way you would if you were programming in an interpreted basic
environment. Put print statements all over the place, and make it
tell you what the variables are at any given time. Php is like this
too, sometimes it's hard to know what's going on, especially if
it's a production environment, and error messages aren't printed
(for security purposes of course) The only thing you can do is
springle print statements liberally through out the code, and hope
they tell you what you need to know.
Not what you wanted to hear I'm sure, but it's the best you can do
under the circumstances.
On Jan 2, 2014, at 11:04 PM, Sean Murphy wrote:
All.
I am seeking for people who are programming in Python on the Mac.
I am trying to find a method of debugging Python script. Any help
on this is more then welcomed.
Sean
<--- Mac Access At Mac Access Dot Net --->
To reply to this post, please address your message to [email protected]
You can find an archive of all messages posted to the Mac-
Access forum at either the list's own dedicated web archive:
<http://mail.tft-bbs.co.uk/pipermail/mac-access/index.html>
or at the public Mail Archive:
<http://www.mail-archive.com/[email protected]/>.
Subscribe to the list's RSS feed from:
<http://www.mail-archive.com/[email protected]/maillist.xml>
As the Mac Access Dot Net administrators, we do our very best to
ensure that the Mac-Access E-Mal list remains malware, spyware,
Trojan, virus and worm-free. However, this should in no way
replace your own security strategy. We assume neither liability
nor responsibility should something unpredictable happen.
Please remember to update your membership preferences periodically
by visiting the list website at:
<http://mail.tft-bbs.co.uk/mailman/listinfo/mac-access/options/>
<--- Mac Access At Mac Access Dot Net --->
To reply to this post, please address your message to [email protected]
You can find an archive of all messages posted to the Mac-Access
forum at either the list's own dedicated web archive:
<http://mail.tft-bbs.co.uk/pipermail/mac-access/index.html>
or at the public Mail Archive:
<http://www.mail-archive.com/[email protected]/>.
Subscribe to the list's RSS feed from:
<http://www.mail-archive.com/[email protected]/maillist.xml>
As the Mac Access Dot Net administrators, we do our very best to
ensure that the Mac-Access E-Mal list remains malware, spyware,
Trojan, virus and worm-free. However, this should in no way
replace your own security strategy. We assume neither liability
nor responsibility should something unpredictable happen.
Please remember to update your membership preferences periodically
by visiting the list website at:
<http://mail.tft-bbs.co.uk/mailman/listinfo/mac-access/options/>
<--- Mac Access At Mac Access Dot Net --->
To reply to this post, please address your message to [email protected]
You can find an archive of all messages posted to the Mac-Access
forum at either the list's own dedicated web archive:
<http://mail.tft-bbs.co.uk/pipermail/mac-access/index.html>
or at the public Mail Archive:
<http://www.mail-archive.com/[email protected]/>.
Subscribe to the list's RSS feed from:
<http://www.mail-archive.com/[email protected]/maillist.xml>
As the Mac Access Dot Net administrators, we do our very best to
ensure that the Mac-Access E-Mal list remains malware, spyware,
Trojan, virus and worm-free. However, this should in no way replace
your own security strategy. We assume neither liability nor
responsibility should something unpredictable happen.
Please remember to update your membership preferences periodically
by visiting the list website at:
<http://mail.tft-bbs.co.uk/mailman/listinfo/mac-access/options/>
<--- Mac Access At Mac Access Dot Net --->
To reply to this post, please address your message to [email protected]
You can find an archive of all messages posted to the Mac-Access forum at
either the list's own dedicated web archive:
<http://mail.tft-bbs.co.uk/pipermail/mac-access/index.html>
or at the public Mail Archive:
<http://www.mail-archive.com/[email protected]/>.
Subscribe to the list's RSS feed from:
<http://www.mail-archive.com/[email protected]/maillist.xml>
As the Mac Access Dot Net administrators, we do our very best to ensure that
the Mac-Access E-Mal list remains malware, spyware, Trojan, virus and
worm-free. However, this should in no way replace your own security strategy.
We assume neither liability nor responsibility should something unpredictable
happen.
Please remember to update your membership preferences periodically by visiting
the list website at:
<http://mail.tft-bbs.co.uk/mailman/listinfo/mac-access/options/>