Linting python code...

2006-10-10 Thread Andrew Markebo
Alalalala lint.. alalalala lint... Ehm :-) Are there any python-code linter out there - or the code is so easy to write that it always is so perfekt? :-) /Andy -- Don't walk in front of me, I might be unable to follow you. Don't walk after me, I might be unable to lead you. Just w

Re: win32com, generating the cache programaticaly?

2005-10-12 Thread Andrew Markebo
| You can use win32com.client.gencache.EnsureDispatch | to automatically generate the makepy file for an object's library | when the object is created. Use the bForDemand option to | only generate the code for objects as needed. Drats, I get an: raise TypeError, "This COM object can not automa

Re: HELP: Searching File Manager written in Python

2005-10-12 Thread Andrew Markebo
Checked Total Commander? Has an sort of open API to plugins, and either do a python 'proxy' or maybe just execute a script. Next step might be using win32com or SWIG to set up the interface.. Just some ideas. /Andy -- Everything that was magical was just a way of describing the world in

win32com, generating the cache programaticaly?

2005-10-11 Thread Andrew Markebo
Hello! I am messing around with communicating between LabVIEW and Python, got it to work by a small 'fix' (grabbing the generated file, and importing it by hand) What I might want to do, is to automatically generate the data done by executing makepy.py and run by it. What I select in makepy.py

Debugging from within emacs!

2005-05-18 Thread Andrew Markebo
Argh.. How do I debug my python-code from the inside of emacs, throw some breakpoints? and fire up the session, check backtraces and so on? /Andy Experimenting I have come this far: I have put a pdb.bat in my path, containing: "c:\Program Files\Python23\python.exe" -u "c:\Program