473,383 Members | 1,963 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,383 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 1232
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...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.