473,287 Members | 1,581 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

xmpfilter-a-like for python (code annotation)

http://eigenclass.org/hiki/xmpfilter
looks cool , anything like this for python? any reason that we culd
not do simmilar ?

Oct 27 '07 #1
3 1230
On Sat, 27 Oct 2007 17:10:13 +0000, th*************@gmail.com wrote:
http://eigenclass.org/hiki/xmpfilter
looks cool , anything like this for python? any reason that we culd
not do simmilar ?
I just read that page and am a little confused. This program adds
assertions based on the actual code, i.e. if the code is wrong it
nonetheless adds assertions that don't fail. I always thought one writes
assertions to test what the code should do and not what it actually does!?

Ciao,
Marc 'BlackJack' Rintsch
Oct 27 '07 #2
On Oct 27, 6:27 pm, Marc 'BlackJack' Rintsch <bj_...@gmx.netwrote:
On Sat, 27 Oct 2007 17:10:13 +0000, thattommyhal...@gmail.com wrote:
http://eigenclass.org/hiki/xmpfilter
looks cool , anything like this for python? any reason that we culd
not do simmilar ?

I just read that page and am a little confused. This program adds
assertions based on the actual code, i.e. if the code is wrong it
nonetheless adds assertions that don't fail. I always thought one writes
assertions to test what the code should do and not what it actually does!?

Ciao,
Marc 'BlackJack' Rintsch
Its more the inline annotation lie here http://eigenclass.org/hiki.rb?xmpfilter#l4
that I wanted

Oct 27 '07 #3
On Sat, 27 Oct 2007 17:57:06 +0000, th*************@gmail.com wrote:
On Oct 27, 6:27 pm, Marc 'BlackJack' Rintsch <bj_...@gmx.netwrote:
>On Sat, 27 Oct 2007 17:10:13 +0000, thattommyhal...@gmail.com wrote:
>http://eigenclass.org/hiki/xmpfilter
looks cool , anything like this for python? any reason that we culd
not do simmilar ?

I just read that page and am a little confused. This program adds
assertions based on the actual code, i.e. if the code is wrong it
nonetheless adds assertions that don't fail. I always thought one writes
assertions to test what the code should do and not what it actually does!?

Its more the inline annotation lie here http://eigenclass.org/hiki.rb?xmpfilter#l4
that I wanted
Can you give *useful* examples?

Ciao,
Marc 'BlackJack' Rintsch
Oct 27 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: beliavsky | last post by:
How do you keep Python code properly indented as you modify it? I use an Emacs-type editor that has a Python mode, so the initial indenting is easy. If I later want to put a 'for' loop (or an 'if'...
9
by: F. GEIGER | last post by:
I've dev'ed a Python prototype of an app, that besides the internals making it up has a gui. While test-driven dev'ing the app's internals in Python is fun as usual, dev'ing the GUI is not so...
6
by: nell | last post by:
Hi all, I've developed a testing application in python, and should supply it in a way that no one (lets say they are regular users) will understand it and edit it. The application source is all...
4
by: paritosh mahana | last post by:
Hi all, How can I call python code from my C# code. One thing is to make an ..exe file of the python program and then try to call it from my C# code. But I don't like that idea. Is there any...
7
by: Hansan | last post by:
Hi all, I hope you have time to help me out a little. My problem is that I want to combine some python code I have made with some html templates, I found a tutorial at dev shed:...
3
by: kaens | last post by:
Hey everyone, I'm relatively new to python - I actually picked it up to see how quickly I could start building non-trivial apps with it. Needless to say, I was quite pleased. Anyhow, I'm...
23
by: Python Maniac | last post by:
I am new to Python however I would like some feedback from those who know more about Python than I do at this time. def scrambleLine(line): s = '' for c in line: s += chr(ord(c) | 0x80)...
12
by: WaterWalk | last post by:
Hello. I wonder what's the effective way of figuring out how a piece of python code works. With C I often find it very useful to be able to run the code in step mode and set breakpoints in a...
2
by: John Nagle | last post by:
koblas wrote: PyPy was supposed to help, but that project has been dragging on for half a decade now. Personally, I think the Shed Skin approach is more promising. PyPy has too many different...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.