[Tutor] Excel com strange behavior

2008-08-29 Thread johan nilsson
Dear all, I have a problem with talking to Excel. Somehow the command Workbooks.Add() gives me problems? If I open a workbook in Excel, then I get the trace back below. I can not say that I quite understand why this does not work. Any insights would be highly appreciated. If I "manually" open the

[Tutor] RE expressions

2008-08-15 Thread Johan Nilsson
Hi all python experts I am trying to work with BeautifulSoup and re and running into one problem. What I want to do is open a webpage and get some information. This is working fine I then want to follow some of links on this page and proces them. I manage to get links that I am interested

Re: [Tutor] Windows problem with large(?) files

2006-02-02 Thread johan nilsson
Thanks Danny!that solved it.JohanOn 2/2/06, Danny Yoo <[EMAIL PROTECTED]> wrote: On Thu, 2 Feb 2006, johan nilsson wrote:> apparently the XP box thinks the file is alot shorter, and that can't be > as it is the same file from the same media (USB stick). What is going> wrong

[Tutor] Windows problem with large(?) files

2006-02-02 Thread johan nilsson
Dear group,I have a few files that contains data in IEEE 754 format. I need to transform them into a csv file, to be able to read these files in another program. Each file has 3 samples of I and Q. I did develop the attached script. I am sure not the best, but it worked at home on my Linux inst

[Tutor] How does import work?

2005-01-28 Thread Johan Nilsson
Hi all, I am rather new to python. I am trying to write a program using the scipy package. I have come across a problem that confuses me, and I hope that someone could give me an hint on how to solve this. Here is what I do Start idle >>> from scipy.signal.signaltools import * /Traceback (most r

Re: [Tutor] Advise...

2005-01-28 Thread Johan Nilsson
Jacob, Apart from all the other comments you received, here are my thoughts. I think you could do one more thing to speed up your calculations and that is to use a more efficient method. The Reimann sum is not a very efficient. One simple method that is rahter popular is Simpson's rule. The