Windows 7

Interaction code changes / Komodo + Python


I'm doing pretty well with Komodo now but have one thing I haven't been able to figure out: When I'm running the debugger and I hit a breakpoint, sometimes I want to change the code. But the only way I seem to be able to get this to work is to stop and restart from the top. Is there a way to change code and resume execution using the changes in a running program?


How to program an on save macro?

I just want to know the syntax that says when a file is saved do this:

I thought it would be:

onSave : function() {

   //do stuff


But it's not.

32-bit operation on 64-bit windows 7


I'm working with Komodo 7 and Python 2.7 on Windows 7, 64-bit.

My application makes use of ODBC and it appears that Python is defaulting to 64-bit operation requiring 64-bit odbc drivers. Problem is that I have MS Office that is also using odbc but it's 32-bit. Getting both 32 and 64 bit drivers working on the same platform doesn't seem very feasible.

So the question is, how can I get Komodo and P2.7 to configure themselves as 32 bit only?


Serial port access under Perl 5.14 for 64bit?

I've installed

C:\Perl64\my.programs>perl -v

This is perl 5, version 14, subversion 2 (v5.14.2) built for MSWin32-x64-multi-t
(with 1 registered patch, see perl -V for more detail)

Copyright 1987-2011, Larry Wall

Binary build 1402 [295342] provided by ActiveState
Built Oct  7 2011 15:19:36

Error: unpack requires a bytes object of length 4

Uses ActivePython Community edition 32bit on Windows 7 64b

On fresh install of ActivePython I tried to PyPM install packages numpy and scipy.

Downloading fine from repo, but on installing the as runtime, PyPM gives the error message that "unpack requires a bytes object of length 4", and shuts down

What is the problem here?

How do I suppress debugger bringing up libraries when single stepping?


I'm gradually figuring out Python and Komodo. Slow going for me. One thing I can't figure out: When I single step through my code, the debugger wants to single step me through the code of every library that's used as part of executing each line of my code. It opens each library as they are apparently referenced. Is there some way to suppress this so that I'm only walking single step through my own code?


Solved - How to install pymsql for Komodo python 2.7?

Newbie here.

Using Komodo 7 for Windows 7

Trying to install pymysql from Installer complains that Py2.7 not installed but it is. Happy to not use an installer and drop the library into the proper directory but don't know what/where to grab or where to put.



Bug with cyrillic characters in file paths

I installed Komodo Edit 7.0 (at Win7). When I try to open some file by right-click menu ( with — Komodo Edit) it causes an error: "The file G:/*********/test/test.html does not exist. Do you want to create it?" (screenshot — ) Where ***** is cyrillic characters in the folder's name.

Drag'n'drop file into Komodo window work fine at same time. And in older version of Komodo Edit was no bugs like this.

How to fix it?

Debugging Django 1.4 on Python 2.7 with Komodo IDE 7

I am trying to use Komodo IDE 7 with Django 1.4 using Python 2.7 and I have some serious problems setting breakpoints.

I have read *anything* on the web regards that and I just cant fix this.
I am using the following command to run my server with Komodo :

set KOMODO_PATH="%ProgramFiles%\ActiveState Komodo IDE 7\lib\support\dbgp\bin"
c:\python27\python %KOMODO_PATH%\ -d localhost:9000 runserver --noreload

load modules each time the python shell is started

Is there a way (not debugging mode) to load modules each time an interactive python shell is started? Thanks.