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/>

Reply via email to