Replacing spreadsheets by Python and the browser

2011-10-02 Thread markolopa
Hello, Could you please recommend me a Python tool that could help me to get rid of the messy information and scripts I have in spreadsheets? Spreadsheets are great for having simple things done quickly. But as the needs grow their limitations can be quite frustrating. I would like to use the bro

Recommendations for household finance scripting?

2011-07-18 Thread markolopa
Hello! I would like to find a good system to keep track of my household finance. Do Python programmers have suggestions on that? Do you use Python to help on this task? I am considering a large set of solutions: - Pure spreadsheet - Easy to start, but I know I will soon feel blocked by the lack

Re: How to use optparse without the command line?

2011-04-13 Thread markolopa
On Apr 8, 11:58 pm, Karim wrote: > On 04/07/2011 10:37 AM, markolopa wrote: > > > Is there support/idioms/suggestions for usingoptparsewithout a > >commandline? > > > I have a code which used to be called through subprocess. The whole > > flow of the code

How to use optparse without the command line?

2011-04-07 Thread markolopa
Hello, Is there support/idioms/suggestions for using optparse without a command line? I have a code which used to be called through subprocess. The whole flow of the code is based on what 'options' object from optparse contains. Now I want to call this code without subprocessing. What I did firs

Re: Creating a local variable scope.

2009-12-01 Thread markolopa
Hi Roger, > > That is what I do regularly...8-> > > Well really dude, you need to stop doing that. It's not a language > problem, it's a memory problem (human not RAM!). You guessed quite correctly!...:-) I can't recognise my code sometimes after a single week. That's why I spend a lot of time cl

Re: Creating a local variable scope.

2009-12-01 Thread markolopa
Hi Dave, Since you feel like discussing my weird idea of Python reform :-) lets go... On 30 Nov, 11:29, Dave Angel wrote: > Somehow you seem to think there's some syntax for "creating" avariable.  In > fact, what's happening is you're binding/rebinding a name > to an object.  And if you forbid

Re: Creating a local variable scope.

2009-11-30 Thread markolopa
On Nov 30, 4:46 am, Dave Angel wrote: > markolopa wrote: > > Antoher 15 minutes lost because of that Python "feature"... Is it only > > me??? > > Yep, I think so. Not very consoling but thanks anyway!...:- > You're proposing a much more complex scop

Re: Creating a local variable scope.

2009-11-30 Thread markolopa
Hi Steve! On Nov 30, 1:46 am, Steve Howell wrote: > I occasionally make the error you make, but I think the real problem > you are having is lack of attention to detail.  If name collisions are > a common problem for you, consider writing shorter methods Yes, this could be a solution, though I b

Re: Creating a local variable scope.

2009-11-29 Thread markolopa
Hi Lie! On Nov 29, 11:11 pm, Lie Ryan wrote: > here is another bug you might have if python have an "even-more-local" > scope: > > while True: >      s = raw_input("enter something: ") >      if s not in ('q', 'quit', 'exit'): break > print s > > if the while block has become its own namespace; p

Re: Creating a local variable scope.

2009-11-29 Thread markolopa
Hi, On 18 Sep, 10:36, "markol...@gmail.com" wrote: > On Sep 11, 7:36 pm, Johan Grönqvist wrote: > > I find several places in my code where I would like tohavea variable > > scope that is smaller than the enclosing function/class/module definition. > > This is one of the single major frustrations

Re: advice needed for lazy evaluation mechanism

2009-11-09 Thread markolopa
On Nov 9, 1:34 am, MRAB wrote: > markolopa wrote: > > Hi again, > > > I put a copy of the message and the tarball of the code here (because > > of the problem of line breaks): > > >http://python-advocacy.wikidot.com/comp-lang-python-question > > Here's

Re: advice needed for lazy evaluation mechanism

2009-11-08 Thread markolopa
Hi again, I put a copy of the message and the tarball of the code here (because of the problem of line breaks): http://python-advocacy.wikidot.com/comp-lang-python-question Thanks! Marko -- http://mail.python.org/mailman/listinfo/python-list

advice needed for lazy evaluation mechanism

2009-11-08 Thread markolopa
Hi, Could you please give me some advice on the piece of code I am writing? My system has several possible outputs, some of them are not always needed. I started to get confused with the code flow conditions needed to avoid doing unnecessary work. So I am trying to restructure it using lazy evalu

python equivalent of java technologies

2009-03-18 Thread markolopa
Hello, When comparing python and java with a colleague who is fan of java, she challenged me to find in python the equivalent to the following technologies. Could you please help telling if we have something equivalent in python or not and how they compare to the java solutions? - persistance fra

python alternative to java rapid ajax platform (RAP)?

2009-02-01 Thread markolopa
Hi, Do you know a python alternative to rapid ajax platform (RAP)? For the development of a user interface for mathematical models someone suggested to use eclipse and that tool: http://www.eclipse.org/rap/ http://www.eclipse.org/rap/about.php If I understand correctly it allows you to design v