Downloading binary files - Python3

2009-03-21 Thread Anders Eriksson
Hello, I have made a short program that given an url will download all referenced files on that url. It works, but I'm thinking it could use some optimization since it's very slow. I create a list of tuples where each tuple consist of the url to the file and the path to where I want to save it.

Re: [NEWBIE] csv to excel format problem

2008-10-15 Thread Anders Eriksson
Hello Marco and welcome to the wonderful world of Python, Your problem is that the file is a text file so the values you are reading are text which you then write to the Excel sheet. So you need to convert the text value to a float value. Now the Big Cahonas has already been there so it's include

Re: I want to use a C++ library from Python

2008-09-10 Thread Anders Eriksson
Hello all and thanks for replying, > Diez B. Roggisch wrote: >> Which actually isn't really helpful, as a DLL itself says nothing about what >> language was used to create it - and sending the OP to e.g. ctypes makes no >> sense at all in the face of C++. > > The library - or more precisely the

I want to use a C++ library from Python

2008-09-10 Thread Anders Eriksson
Hello, I have a C++ library compiled as Windows DLL's. It consists of 32 .h and 1 .lib and 1 .dll files. I don't have the source code. How can I create a Python module from these files? // Anders -- English is not my first, or second, language so anything strange, or insulting, is due to the tr

Re: List all files using FTP

2008-03-07 Thread Anders Eriksson
On Thu, 6 Mar 2008 20:07:46 +, Simon Brunning wrote: > This might be of use: > > Nice, Just what I needed! Thank you! // Anders -- English is not my first, or second, language so anything strange, or insulting, is due to the translation. Please correct

List all files using FTP

2008-03-06 Thread Anders Eriksson
Hello, I need to list all the files on my FTP account (multiple subdirectories). I don't have shell access to the account. anyone that has a program that will do this? // Anders -- English is not my first, or second, language so anything strange, or insulting, is due to the translation. Please

Re: books: Dive into Python vs Beginning Python

2005-11-28 Thread Anders Eriksson
On Fri, 25 Nov 2005 11:25:43 +0100, Franz Mueller wrote: > Hi, > > which of the following books would you recommend: > "Dive into Python" or "Beginning Python: From Novice to Professional"? > Since "Dive into Python" is on the net, you can see for yourself if it's any good (which I think it is!)