Re: Equivalent of 'wget' for python?

2008-12-11 Thread [EMAIL PROTECTED]
On Dec 11, 3:36 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On Dec 11, 2:36 pm, hrishy <[EMAIL PROTECTED]> wrote: > > > Hi > > > Please excuse my OOP but is my understanding correct > > > urllib.urlretrieve(url_of_zip_file,destination_o

Re: Equivalent of 'wget' for python?

2008-12-11 Thread [EMAIL PROTECTED]
On Dec 11, 2:36 pm, hrishy <[EMAIL PROTECTED]> wrote: > Hi > > Please excuse my OOP but is my understanding correct > > urllib.urlretrieve(url_of_zip_file,destination_on_local_filesystem) > > is urllib --->Static Class on which the method urlretrieve method is inv

filter iterable based on predicate take from another iterable

2008-12-10 Thread [EMAIL PROTECTED]
Hi, is there is a neat way to select items from an iterable based on predicates stored in another iterable without zipping? I can do something like this: import itertools foo = range(10) # select even numbers bar = map(lambda i: i%2, foo) foobarselected = itertools.ifilterfalse(lambda t: t[0], it

Symposium “Computational Methods in Image Analysis ” within the USNCCM X Congress – Announce & Call for Pap ers

2008-12-08 Thread [EMAIL PROTECTED]
regards, João Manuel R. S. Tavares (University of Porto, Portugal, [EMAIL PROTECTED]) Renato Natal Jorge (University of Porto, Portugal, [EMAIL PROTECTED]) Yongjie Zhang (Carnegie Mellon University, USA, [EMAIL PROTECTED]) Dinggang Shen (UNC-CH School of Medicine, USA, [EMAIL PROTECTED]) (Symposium

Re: Determining whether a variable is less/greater than a range.

2008-12-08 Thread [EMAIL PROTECTED]
On Dec 8, 11:12 am, Tim Chase <[EMAIL PROTECTED]> wrote: > > a = list(range(10, 21)) > > > b = 9 > > > c = 21 > > > How can I find out if b and c have values less or more than the values > > in list a? > > Sounds like a good use for 2.5's

Re: Determining whether a variable is less/greater than a range.

2008-12-08 Thread [EMAIL PROTECTED]
Wow. Thanks Eric and Peter. Very helpful indeed. -- http://mail.python.org/mailman/listinfo/python-list

Re: Determining whether a variable is less/greater than a range.

2008-12-08 Thread [EMAIL PROTECTED]
Found it. min and max functions. I thought that this would be implemented as a list method: a.min a.max I can see that the built in functions make sense. -- http://mail.python.org/mailman/listinfo/python-list

Determining whether a variable is less/greater than a range.

2008-12-08 Thread [EMAIL PROTECTED]
Hi. I'm having another go at learning Python so I'll probably be asking a few basic questions. Here is the first one. a = list(range(10, 21) b = 9 c = 21 How can I find out if b and c have values less or more than the values in list a? Thanks. -- http://mail.python.org/mailman/listinfo/pytho

Re: how to get a beep, OS independent ?

2008-12-07 Thread [EMAIL PROTECTED]
On Dec 7, 8:34 pm, Joe Strout <[EMAIL PROTECTED]> wrote: > On Dec 7, 2008, at 4:43 PM, Steven D'Aprano wrote: > > > Of course, if you're volunteering to write such a standard system beep > > for Python, I for one would be grateful. > > I am.  But where sho

Obtaining SMTP address of a sender and receiver of an outlook mail

2008-12-02 Thread [EMAIL PROTECTED]
in further complications. Is there any way to obtain the actual SMTP mail address ([EMAIL PROTECTED]) from the above object? I searched for it in the MSDN help but couldn't succeed. Thanks in advance, Venu -- http://mail.python.org/mailman/listinfo/python-list

Ideal girl dance WEBCAM ! Ideal boobs !

2008-12-02 Thread [EMAIL PROTECTED]
http://yeba.pl/show/movies/5257/Perfect_babe_-_Idealna_kobieta -- http://mail.python.org/mailman/listinfo/python-list

Re: Emacs vs. Eclipse vs. Vim

2008-12-01 Thread [EMAIL PROTECTED]
On Nov 29, 3:44 pm, Josh <[EMAIL PROTECTED]> wrote: > If you were a beginning programmer and willing to make an investment in > steep learning curve for best returns down the road, which would you pick? > > I know this topic has been smashed around a bit already, but 'l

Re: python 2.5.2 or Python 2.6 compilation problem on AIX 5.3

2008-12-01 Thread [EMAIL PROTECTED]
On Dec 1, 1:06 pm, Terry Reedy <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > Hello: > > I am trying to compile Python 2.5.2 on AIX 5.3 with gcc 4.2.3. I am > > getting following error. (I also tried Python 2.6 with same error) > > > creating build

python 2.5.2 or Python 2.6 compilation problem on AIX 5.3

2008-12-01 Thread [EMAIL PROTECTED]
Hello: I am trying to compile Python 2.5.2 on AIX 5.3 with gcc 4.2.3. I am getting following error. (I also tried Python 2.6 with same error) creating build/temp.aix-5.3-2.5/share/tmhsdsd2/tmp/Python-2.5.2/ Modules gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall - Wstrict-prototype

Re: tkinter question

2008-12-01 Thread [EMAIL PROTECTED]
On Oct 26, 7:02 am, "Chuckk Hubbard" <[EMAIL PROTECTED]> wrote: > Hello. > How about this?  I changed the if statements so the coordinates are > always updated, but only changed if within the right limits, otherwise > updated to the existing value.  Now if you drag

Re: tkinter question

2008-12-01 Thread [EMAIL PROTECTED]
On Oct 26, 7:02 am, "Chuckk Hubbard" <[EMAIL PROTECTED]> wrote: > Hello. > How about this?  I changed the if statements so the coordinates are > always updated, but only changed if within the right limits, otherwise > updated to the existing value.  Now if you drag

Cross platform desktop operations in Python

2008-11-30 Thread [EMAIL PROTECTED]
Hi I'm looking for a cross platform (Linux/Win/Mac) solution of common desktop operations like: * Getting system icon theme (icons for files, folders etc.) * Determine mimetype (better than mimetypes using mapped extension to mime) Under Unix/Linux there are freedesktop.org standards and pyxdg th

pydoc enforcement.

2008-11-30 Thread [EMAIL PROTECTED]
I've been thinking about implementing (although no idea yet *HOW*) the following features/extension for the python compile stage and would be interested in any thoughts/comments/flames etc. Basically I'm interested adding a check to see if: 1) pydoc's are written for every function/method. 2)

Unofficial Phone, , the most cheap mobile phones from china , 30 kinds today

2008-11-30 Thread [EMAIL PROTECTED]
Unofficial Phone, ,the most cheap mobile phones from china ,30 kinds today http://www.unofficialphone.cn/2008/11/android-phone-cottage-sciphone-dream-g2.html http://www.unofficialphone.cn/2008/11/unofficial-phone.html http://www.unofficialphone.cn/2008/11/amanilan.html http://www.unofficialphone.

Re: Emacs vs. Eclipse vs. Vim

2008-11-29 Thread [EMAIL PROTECTED]
On Nov 29, 12:44 pm, Josh <[EMAIL PROTECTED]> wrote: > If you were a beginning programmer and willing to make an investment in > steep learning curve for best returns down the road, which would you pick? > > I know this topic has been smashed around a bit already, but 'l

Problem with py2exe when using bundle_files and pygtk/pygobject

2008-11-27 Thread [EMAIL PROTECTED]
Hi, I am using py2exe with pygtk and everything works fine. But when I set bundle_files to 1 or 2, I get following exception, when starting the binary: Traceback (most recent call last): File "startup.py", line 1, in File "zipextimporter.pyc", line 82, in load_module File "foo.pyc", line 4

converting a string data to a float value for access database

2008-11-25 Thread [EMAIL PROTECTED]
Hi, I am trying to copy a sql database to a access database using python. I can copy all the fields, but the date. I can store a float value in access data object, ie http://en.wikibooks.org/wiki/JET_Database/Data_types#Dates_and_times So access uses a float for a date, and mysql databse uses t

ROGER DUBUIS WATCHES

2008-11-24 Thread [EMAIL PROTECTED]
http://www.flyingzg.com/roger-dubuis-watches-c-113.html Founded by Carlos Dias in 1995 as SOGEM SA (Socie`te` Genevoise des Montres), the company did not lay claim to its current title of Manufacture until 1999. In March 2001, he established the first building of the Manufacture ROGER DUBUIS in th

Accessing Modification Time of an Outlook Mail in Python

2008-11-24 Thread [EMAIL PROTECTED]
Hi all, I am writing a small application which reads the contents of an Outlook Mail using python. I am able to read the contents, subject along with senders and receivers of a mail using MAPI objects. But may I know how can I get access to the "modification time" or the receiving time of an

Re: Python image library issue: domain users cannot save files?

2008-11-20 Thread [EMAIL PROTECTED]
I have no problem with the python builtin open which we use dayly. Thanks for the hints. Best, V On Nov 19, 5:56 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Wed, 19 Nov 2008 13:43:07 -0200, [EMAIL PROTECTED]   > <[EMAIL PROTECTED]> escribió: > >

SOAPpy SyntaxError

2008-11-20 Thread [EMAIL PROTECTED]
Hello, I'm going through the SOAP Web Services portion of Mark Pilgrim's tutorial and I'm getting this error when trying to build: python setup.py build Traceback (most recent call last): File "setup.py", line 8, in from SOAPpy.version import __version__ File "/Users/username/Desktop/SOA

Re: credit kredite oesterreich ratenkredite online kredit ohne schufa in blitzkredite

2008-11-20 Thread [EMAIL PROTECTED]
On Nov 12, 2:06 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > credit kredite oesterreich ratenkredite online kredit ohne schufa in > blitzkredite > > + > + > + > + > +++ GUENSTIGE KREDITE ONLINE +++ KREDITE IM INTERNET OHNE SCHUFA +++ > + > h

Re: zope vs openACS

2008-11-19 Thread [EMAIL PROTECTED]
On Nov 19, 1:50 am, gavino <[EMAIL PROTECTED]> wrote: > what is nicer about each? Yes. -- http://mail.python.org/mailman/listinfo/python-list

Python image library issue: domain users cannot save files?

2008-11-19 Thread [EMAIL PROTECTED]
Hi, Has anyone try to use PIL in a windows domain environment? I am having a permission issue. If I am a domain user, even I have the permission to write a folder, when I tried to do simple things like Image.open ("foo.tif").save("bar.tif"), i am getting exception IOError ("0", "Error"). I tried to

Need help in understanding a python code

2008-11-15 Thread [EMAIL PROTECTED]
Hi, I am trying to understand the following line: # a is an integer array max([(sum(a[j:i]), (j,i)) Can you please tell me what that means, I think sum(a[j:i] means find the some from a[j] to a[i] But what is the meaning of the part (j,i)? -- http://mail.python.org/mailman/listinfo/python-list

The Best Way To earn Money From The Internet

2008-11-15 Thread [EMAIL PROTECTED]
http://bux.to/?r=mr-sk8er At Bux.to, you get paid to click on ads and visit websites. The process is easy! You simply click a link and view a website for 30 seconds to earn money. You can earn even more by Referring Friends. You'll get paid $0.01 for each website you personally view and $0.01 for

Re: special editor support for indentation needed.

2008-11-15 Thread [EMAIL PROTECTED]
On Nov 14, 9:01 pm, "Eric S. Johansson" <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > >  I don't understand. If you don't want to terminate the "if", why do > > you hit backspace? What is it that you would like to have happen? > &g

Re: special editor support for indentation needed.

2008-11-14 Thread [EMAIL PROTECTED]
On Nov 14, 5:27 pm, "Eric S. Johansson" <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > On Nov 14, 4:08 pm, "Eric S. Johansson" <[EMAIL PROTECTED]> wrote: > >> Almar Klein wrote: > >>> Hi Eric, > >>> First of all

Re: special editor support for indentation needed.

2008-11-14 Thread [EMAIL PROTECTED]
On Nov 14, 4:08 pm, "Eric S. Johansson" <[EMAIL PROTECTED]> wrote: > Almar Klein wrote: > > Hi Eric, > > > First of all, I like your initiative. > > there's nothing like self interest to drive one's initiative.  :-) 14 years > with > spe

Looking for traffic generating utility (like ping)

2008-11-14 Thread [EMAIL PROTECTED]
Hello, I am looking for a utility that will generate any number of pings per second, and allow me to check how many of the pings in the last X seconds have been dropped, while it is still running. The reason I can't use the built-in Unix ping is that 1) it does not provide overall feedback while i

Re: Installing packages

2008-11-13 Thread [EMAIL PROTECTED]
On Nov 13, 2:25 pm, Alan Baljeu <[EMAIL PROTECTED]> wrote: > I'm new to Python, and just downloaded Py2.6.  I also want to use Nose.  So I > downloaded the latest sources, but it's not at all clear what's the best way > to put this stuff into the Python

credit kredite oesterreich ratenkredite online kredit ohne schufa in blitzkredite

2008-11-12 Thread [EMAIL PROTECTED]
credit kredite oesterreich ratenkredite online kredit ohne schufa in blitzkredite + + + + +++ GUENSTIGE KREDITE ONLINE +++ KREDITE IM INTERNET OHNE SCHUFA +++ + + http://www.usd.edu/phys/courses/astronomy/bord/messages/19924.html http://www.usd.edu/phys/courses/astronomy/bord/messages/19924.html h

Re: Python 2.5 and sqlite

2008-11-12 Thread [EMAIL PROTECTED]
On Nov 12, 10:14 am, Thorsten Kampe <[EMAIL PROTECTED]> wrote: > * [EMAIL PROTECTED] (Wed, 12 Nov 2008 01:27:01 -0800 (PST)) > > > Python (2.5.1) was compiled from source on the webserver that I use, > > without an associated sqlite present on the machine, so trying &

Re: Python 2.5 and sqlite

2008-11-12 Thread [EMAIL PROTECTED]
clear if I can install a copy of sqlite on my local machine and get that to work with python on the webserver? Possibly via pysqlite? On Nov 12, 8:46 am, Thorsten Kampe <[EMAIL PROTECTED]> wrote: > * (Tue, 11 Nov 2008 17:58:15 -0500) > > > > > Can you ask them if sqlite3

Plot for sale

2008-11-10 Thread [EMAIL PROTECTED]
SELL OUT land area with 12,681 ha, located at the entrance to the town of Pazardzhik(Bulgaria) in city limits and has 106 meters individual . "Dimcho Debelyanov (Miryansko road). A plot in the new economic zone of the city - in the vicinity has built industrial enterprises, shops and warehouses. U

Re: disable ctrl-P in idle?

2008-11-10 Thread [EMAIL PROTECTED]
On Nov 10, 4:49 pm, RichardT <[EMAIL PROTECTED]> wrote: > On Mon, 10 Nov 2008 10:40:28 -0800 (PST), "timw.google" > > <[EMAIL PROTECTED]> wrote: > >Is there a way to disable ctrl-P (print window) in IDLE? I'm editing > >some python code in IDLE and

Re: Logging thread with Queue and multiple threads to log messages

2008-11-10 Thread [EMAIL PROTECTED]
Thank you guys, indeed, calling join() for each thread actually solved the problem. I misunderstood it and call join() right after start() so it didn't work the way I wanted. for i in range(args.threads): children[i].join() -- http://mail.python.org/mailman/listinfo/python-list

Python 2.5 and sqlite

2008-11-10 Thread [EMAIL PROTECTED]
Hi all, On a (sun) webserver that I use, there is python 2.5.1 installed. I'd like to use sqlite3 with this, however sqlite3 is not installed on the webserver. If I were able to compile sqlite using a sun machine (I normally use linux machines) and place this in my lunix home account would I be ab

Re: disable ctrl-P in idle?

2008-11-10 Thread [EMAIL PROTECTED]
On Nov 10, 3:27 pm, "timw.google" <[EMAIL PROTECTED]> wrote: > On Nov 10, 2:57 pm, Robert Singer <[EMAIL PROTECTED]> wrote: > > > > > On Mon, 10 Nov 2008 20:56:46 +0100, Robert Singer <[EMAIL PROTECTED]> > > wrote: > > > >On M

Re: C Module question

2008-11-10 Thread [EMAIL PROTECTED]
On Nov 10, 2:23 pm, Floris Bruynooghe <[EMAIL PROTECTED]> wrote: > Sorry, I probably should have mentioned you want to cast the object to > PyFileObject and then use the PyFile_AsFile() function to get the > FILE* handle. Yes, I figured that out by now. Sadly this doesn'

Re: C Module question

2008-11-10 Thread [EMAIL PROTECTED]
On Nov 10, 1:16 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > On Mon, 10 Nov 2008 03:11:06 -0800, [EMAIL PROTECTED] wrote: > > 1. How can I pass a file-like object into the C part? The PyArg_* > > functions can convert objects to all sort of

C Module question

2008-11-10 Thread [EMAIL PROTECTED]
Hello, I'm trying to write a Python extension module in C for the first time. I have two questions: 1. How can I pass a file-like object into the C part? The PyArg_* functions can convert objects to all sort of types, but not FILE*. 2. How can I preserve information needed in the C part between

Logging thread with Queue and multiple threads to log messages

2008-11-09 Thread [EMAIL PROTECTED]
I am trying to put up a queue (through a logging thread) so that all worker threads can ask it to log messages. However, the problem I am facing is that, well, the logging thread itself is running forever. It does not know when it should exit. Any suggestion? None of the worker threads knows for

plot for sale

2008-11-07 Thread [EMAIL PROTECTED]
SELL OUT land area with 12,681 ha, located at the entrance to the town of Pazardzhik(Bulgaria) in city limits and has 106 meters individual . "Dimcho Debelyanov (Miryansko road). A plot in the new economic zone of the city - in the vicinity has built industrial enterprises, shops and warehouses. U

plot for sale

2008-11-07 Thread [EMAIL PROTECTED]
SELL OUT land area with 12,681 ha, located at the entrance to the town of Pazardzhik(Bulgaria) in city limits and has 106 meters individual . "Dimcho Debelyanov (Miryansko road). A plot in the new economic zone of the city - in the vicinity has built industrial enterprises, shops and warehouses. U

Re: Can read() be non-blocking?

2008-11-06 Thread [EMAIL PROTECTED]
On Nov 7, 9:09 am, Lawrence D'Oliveiro <[EMAIL PROTECTED] central.gen.new_zealand> wrote: > In message <[EMAIL PROTECTED]>, Lawrence D'Oliveiro wrote: > > > In message <[EMAIL PROTECTED]>, Thomas > > Christensen wrote: > > >>  

Re: Weird behavior with lexical scope

2008-11-06 Thread [EMAIL PROTECTED]
On Nov 6, 9:57 pm, mrstevegross <[EMAIL PROTECTED]> wrote: > I ran into a weird behavior with lexical scope in Python. I'm hoping > someone on this forum can explain it to me. > > Here's the situation: I have an Outer class. In the Outer class, I > define a nes

CGI Python problem

2008-11-06 Thread [EMAIL PROTECTED]
Hi all, I'm trying to get python to work with cgi for a small intranet site, however even a simply "hello world test isn't working". Here is the test file: #!/usr/bin/python # -*- coding: UTF-8 -*- # enable debugging import cgitb; cgitb.enable() print "Content-Type: text/plain;charset=utf-8" pr

Re: Step-by-step exec

2008-11-06 Thread [EMAIL PROTECTED]
On Nov 6, 4:27 pm, [EMAIL PROTECTED] wrote: > Hi, > > I am using a small python file as an input file (defining constants, > parameters, input data, ...) for a python application. > The input file is simply read by an exec statement in a specific > dictionary, and then the applic

Re: subprocess and PPID

2008-11-06 Thread [EMAIL PROTECTED]
On Nov 6, 3:09 pm, Lawrence D'Oliveiro <[EMAIL PROTECTED] central.gen.new_zealand> wrote: > In message <[EMAIL PROTECTED]>, Michele Petrazzo wrote: > > > Lawrence D'Oliveiro wrote: > > >> See the prctl(2) man page. > > > Just seen. It c

Trying to set a date field in a access databse

2008-11-05 Thread [EMAIL PROTECTED]
Hi, I cannot get the following code to work import win32com.client import time engine = win32com.client.Dispatch("DAO.DBEngine.36") db=engine.OpenDatabase(r"testdate2.mdb") access = db.OpenRecordset("select * from test") access.AddNew() access.Fields("test").value=time.strptime('10:00AM', '%I:%M

Re: How to build the pysqlite? Where to find the "sqlite3.h"?

2008-11-05 Thread [EMAIL PROTECTED]
On Nov 5, 10:07 pm, "Shawn Milochik" <[EMAIL PROTECTED]> wrote: > On Wed, Nov 5, 2008 at 11:58 AM, [EMAIL PROTECTED] > > > > <[EMAIL PROTECTED]> wrote: > > On Nov 5, 9:22 pm, "Shawn Milochik" <[EMAIL PROTECTED]> wrote: > >> T

Re: How to build the pysqlite? Where to find the "sqlite3.h"?

2008-11-05 Thread [EMAIL PROTECTED]
On Nov 5, 9:22 pm, "Shawn Milochik" <[EMAIL PROTECTED]> wrote: > This is all useful and interesting stuff, but I don't think any of it > addresses the original poster's problem, which is that he has no root > access to a Linux or Unix box, and wants to get pysqli

Re: subprocess and PPID

2008-11-05 Thread [EMAIL PROTECTED]
On Nov 5, 5:12 pm, Michele Petrazzo <[EMAIL PROTECTED]> wrote: > Hi all, > I believe that this is a *nix question, but since I'm developing in > python, I'm here. > > I have a code that execute into a "Popen" a command (ssh). I need that, > if the pyth

Re: Raw socket when interface down.

2008-11-05 Thread [EMAIL PROTECTED]
On Nov 5, 8:37 pm, Mat <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to use raw sockets in python for a dhcp client. I write this code : > > soc = socket.socket(socket.PF_PACKET, socket.SOCK_RAW) > soc.bind(("eth0",0x0800)) > data = soc.recv(1024) > p

Re: How to build the pysqlite? Where to find the "sqlite3.h"?

2008-11-05 Thread [EMAIL PROTECTED]
On Nov 5, 12:29 pm, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > On Tue, 04 Nov 2008 21:58:17 -0500, [EMAIL PROTECTED] declaimed > the following in comp.lang.python: > > > Python depends upon Sqlite... which is weird... but it is what I > > discovered... > >  

Re: How to build the pysqlite? Where to find the "sqlite3.h"?

2008-11-04 Thread [EMAIL PROTECTED]
On Nov 5, 6:47 am, Kurda Yon <[EMAIL PROTECTED]> wrote: > Hi, > > I try to "build" and "install" pysqlite? After I type "python setup.py > build" I get a lot of error messages? The first error  is "src/ > connection.h:33:21: error: sqlite

Re: Sending multi-part MIME package via HTTP-POST

2008-11-04 Thread [EMAIL PROTECTED]
Sadly, there is no way to increase the log verbosity. On Oct 17, 2:42 am, Lawrence D'Oliveiro <[EMAIL PROTECTED] central.gen.new_zealand> wrote: > In message > <[EMAIL PROTECTED]>, > > > > [EMAIL PROTECTED] wrote: > > On Oct 15, 2:42 

Re: redirection in a file with os.system

2008-11-03 Thread [EMAIL PROTECTED]
On Nov 4, 12:06 am, TP <[EMAIL PROTECTED]> wrote: > Hi everybody, > > The following code does not redirect the output of os.system("ls") in a > file: > > import sys, os > saveout = sys.stdout > fd = open( 'toto', 'w' ) > sys.st

Re: Problem using urllib to download images

2008-11-03 Thread [EMAIL PROTECTED]
On Nov 3, 11:48 am, [EMAIL PROTECTED] wrote: > I am using Python 2.6 on Mac OS 10.3.9. > I have been trying to use: > image = urllib.URLopener() > image.retrieve(url, filename) > to download images from websites. I am able to do so, and end up with > the appropriate file. Howe

Dont miss... Just click...

2008-11-02 Thread [EMAIL PROTECTED]
http://www.sportstips8.blogspot.com/ -- http://mail.python.org/mailman/listinfo/python-list

storing a string data in access

2008-11-02 Thread [EMAIL PROTECTED]
Hi I have access.Fields("Time").value=t I would like t to be a string reprsenting a data. How can I do this? -- http://mail.python.org/mailman/listinfo/python-list

Shah Rukh kicks off Temptations Reloaded with style

2008-11-01 Thread [EMAIL PROTECTED]
Shah Rukh kicks off Temptations Reloaded with style http://dreamstoday.com/ -- http://mail.python.org/mailman/listinfo/python-list

Re: open a shell prompt froma python program

2008-10-30 Thread [EMAIL PROTECTED]
On Oct 30, 11:53 am, gaurav kashyap <[EMAIL PROTECTED]> wrote: > HI, > I am getting the following error: > > konsole: cannot connect to X server > > do i need to install the related files. Do you have an x-server running? I assume so, because you have a terminal window ope

Re: guenstige kredite

2008-10-29 Thread [EMAIL PROTECTED]
http://www.officeformac.com/ProductForums/WindowsMediaPlayerMac/275 - kredit ohne schufa ohne kredit ohne schufa ohne vorkosten http://www.officeformac.com/ProductForums/WindowsMediaPlayerMac/275 - kredit ohne schufa ohne kredit ohne schufa ohne vorkosten http://www.officeformac.com/ProductForums/W

Re: free IDE with removing import and refactoring

2008-10-29 Thread [EMAIL PROTECTED]
HI! Did you tried the ERIC python IDE? Rew pihentagy írta: > Hi! > > I am looking for a python IDE which can remove my unused imports, and > can do basic refactoring under windows. > > Can somebody advice me such an IDE? > > I have played with eclipse and netbeans, but I cannot find such a > func

Fastest way to convert sql result into a dict or list ?

2008-10-29 Thread [EMAIL PROTECTED]
x27;11'], [1, 3, 'email', '[EMAIL PROTECTED]'], [2, 1, 'address','something stree'], [2, 3, 'email','[EMAIL PROTECTED]']] the dict can be: dict={1:['something street

Re: Python memory usage

2008-10-29 Thread [EMAIL PROTECTED]
On Oct 21, 5:19 pm, Rolf Wester <[EMAIL PROTECTED]> wrote: > Hi, > > I have the problem that with long running Python scripts (many loops) > memory consumption increases until the script crashes. I used the > following small script to understand what might happen: > A

Re: Improving interpreter startup speed

2008-10-27 Thread [EMAIL PROTECTED]
27, 2008 at 5:46 PM, Gabriel Genellina <[EMAIL PROTECTED]> wrote: +1 This thread is stupid and pointless. Even for a so-called cold startup 0.5s is fast enough! I don't see the need to be rude. And I DO care for Python startup time and memory footprint, and others do too. Even if it

Re: Python 2.5.chm problem

2008-10-27 Thread [EMAIL PROTECTED]
This solve the problem: http://techrepublic.com.com/5208-11183-0.html?forumID=89&threadID=191474 regsvr32 %systemroot%\system32\hhctrl.ocx regsvr32 %systemroot%\system32\itss.dll [EMAIL PROTECTED]: Hi! When I try to open the 2.5 Python help, I got error message: "A fájl (mk:@MS

Re: using modules in destructors

2008-10-25 Thread [EMAIL PROTECTED]
It seems to me that deleting local instances before imported modules would solve the problem. Is it not possible for the interpreter to get this right? Or are there cases where this would break stuff. It seems rather unpythonic for the __del__() method to become unpredictable at exit. -- http://ma

using modules in destructors

2008-10-24 Thread [EMAIL PROTECTED]
Hi i have i have a class that makes temp folders to do work in. it keeps track of them, so that in the __del__() it can clean them up. ideally if the user of the module still has objects left at the end of their program, they should be automatically cleaned up. in my destructor i had a call to shu

Re: why would 'import win32com' fail?

2008-10-23 Thread [EMAIL PROTECTED]
On Oct 23, 3:21 pm, bill <[EMAIL PROTECTED]> wrote: > All, > > I am trying to access Excel from Python. Many of the examples started > with: > >       import win32com >       >       blah, blah > > I try that from my Python shell and it fails. What am I mis

Python Script Bug

2008-10-23 Thread [EMAIL PROTECTED]
Hello everyone, I would like to know what isn't good in my script. #!/usr/bin/python # -*- coding: iso-8859-15 -*- from time import strftime import datetime t = input(datetime.date) global t print t.strftime("Day %w of the week a %A . Day %d of the month (%B). ") print t.strftime("Day %j of the yea

Re: How to get the time of message Received of an outlook mail in python..

2008-10-23 Thread [EMAIL PROTECTED]
On Oct 23, 4:01 pm, Tzury Bar Yochay <[EMAIL PROTECTED]> wrote: > On Oct 23, 12:04 pm, "[EMAIL PROTECTED]" > > <[EMAIL PROTECTED]> wrote: > > Hi,, > >       How can we access the time of message received ( UTC time) of an > > outlook mail in pytho

How to get the time of message Received of an outlook mail in python..

2008-10-23 Thread [EMAIL PROTECTED]
Hi,, How can we access the time of message received ( UTC time) of an outlook mail in python? As far as I know the time which it displays in the mail is not the exact time... this UTC time will be present in MIME Header of an outlook mail. Any Help is appreciated..and thanks in advance,, Ven

Re: Module for creating a screenshot of a web page given a URL?

2008-10-23 Thread [EMAIL PROTECTED]
John J. Lee wrote: > > [EMAIL PROTECTED] writes: > >> > Untestetd, but I'm pretty sure something like this will do. >> > If you need more control, and on windows, try pywinauto >> >> I do need it to run on Windows. I'll check out pyw

Re: Append a new value to dict

2008-10-23 Thread [EMAIL PROTECTED]
Frank Niemeyer wrote: > >> However incrementing a non-existing key throws an exception. > > Right. And that's exactly what I would expect, according to the > "principle of least surprise" Python tries to obey. There's simply no > way to increment a non-existent value - not without performing s

Re: Snapshot+Clipboard

2008-10-23 Thread [EMAIL PROTECTED]
Claudio Grondi wrote: > > Yves Lange wrote: >> Hello, >> i'm searching a method to take a snapshot and save it in a jpg, bmp or >> gif file. I tried with win32api and win32con but it save the snapshot to >> the clipboard, so i tried to redirect this in a file but i have some >> problems whil

Python 2.5.chm problem

2008-10-22 Thread [EMAIL PROTECTED]
Hi! When I try to open the 2.5 Python help, I got error message: "A fájl (mk:@MSITStore:c:\Python25\Doc\Python25.chm) nem nyitható meg." The english translation is this: "Cannot open the file (mk:@MSITStore:c:\Python25\Doc\Python25.chm)" I not experienced this problem in the Python 2.4 the

execve error with the subprocess module

2008-10-21 Thread [EMAIL PROTECTED]
I have some code which runs on a number of different machines, however I see problems on one particular Solaris box. When I call Popen.wait(), the following exception is raised: . . . File "/basis/users/matt/Python-2.4.4/Lib/subprocess.py", line 558, in __init__ errread, errwrite) File "/ba

Big money in a simple program!!!

2008-10-19 Thread [EMAIL PROTECTED]
IT'S SIMPLE AND IT'S LEGAL!!! Who doesn’t want to make tons of money ridiculously easy? Read this letter follow the instructions, and like me you’ll never have to worry about money again. I was browsing through news groups just like you are right now and Came across a article similar to this sa

Re: What's the perfect (OS independent) way of storing filepaths ?

2008-10-19 Thread [EMAIL PROTECTED]
On Oct 19, 8:35 am, Stef Mientki <[EMAIL PROTECTED]> wrote: > I (again) wonder what's the perfect way to store, OS-independent, > filepaths ? I don't think there is any such thing. What problem are you trying to solve? -- http://mail.python.org/mailman/listinfo/python-list

Re: PythonWin --> drwatson

2008-10-18 Thread [EMAIL PROTECTED]
On Oct 18, 4:31 pm, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > On Sat, 18 Oct 2008 15:00:03 GMT, "Frank L. Thiel" <[EMAIL PROTECTED]> > declaimed the following in comp.lang.python: > > Thanks for your reply, Allan.  I am not sure what you mean by "the &g

Re: how to get the recipients addresses of an outlook mail in python...

2008-10-16 Thread [EMAIL PROTECTED]
On Oct 16, 5:22 pm, Miki <[EMAIL PROTECTED]> wrote: > >         Can some one help me in obtaining the set of recipients email > > addresses from an outlook mail? I tried various options like ... > > message["To"] > message["Cc"] > > HTH, >

how to get the recipients addresses of an outlook mail in python...

2008-10-16 Thread [EMAIL PROTECTED]
Hi all, Can some one help me in obtaining the set of recipients email addresses from an outlook mail? I tried various options like message.Recipient.Address message.To.Address message.Receiver.Address etc.. but I could get the senders address using message.Sender.Address. Thanks

writing emacs commands with your fav lang

2008-10-15 Thread [EMAIL PROTECTED]
Here's a little tutorial that lets you write emacs commands for processing the current text selection in emacs in your favorite lang. Elisp Wrapper For Perl Scripts http://xahlee.org/emacs/elisp_perl_wrapper.html plain text version follows. - Elisp Wrapper For

VipIMAGE 2009 – ECCOMAS Thematic Conference - FIRS T ANNOUNCE

2008-10-15 Thread [EMAIL PROTECTED]
expertise researches to have invited keynotes during their session and will participate in the review process of the submitted contributions. Proposals for Thematic Sessions should be submitted by email to the conference co-chairs ([EMAIL PROTECTED], [EMAIL PROTECTED]) Publications The proceedings

Re: Sending multi-part MIME package via HTTP-POST

2008-10-15 Thread [EMAIL PROTECTED]
On Oct 15, 2:42 am, Lawrence D'Oliveiro <[EMAIL PROTECTED] central.gen.new_zealand> wrote: > In message > <[EMAIL PROTECTED]>, > > [EMAIL PROTECTED] wrote: > > ... but I'm getting a very vague server error message ... > > Which is? In this case

Reading from stdin (in windows)

2008-10-14 Thread [EMAIL PROTECTED]
Hi! I wanna write a file processor in python (Windows XP). I wanna use pipe, and not parameters. When I write this: ... l = [] while 1: t = sys.stdin.read(1) if t == '': break l.append(t) t = "".join(l) ... and use code this: process.py http://mail.python.org/mailman/listi

Re: how to start thread by group?

2008-10-13 Thread [EMAIL PROTECTED]
On Oct 13, 6:54 am, Lawrence D'Oliveiro <[EMAIL PROTECTED] central.gen.new_zealand> wrote: > In message <[EMAIL PROTECTED]>, Gabriel > > > > Genellina wrote: > > En Tue, 07 Oct 2008 13:25:01 -0300, Terry Reedy <[EMAIL PROTECTED]> > > escribió: &g

Sending multi-part MIME package via HTTP-POST

2008-10-13 Thread [EMAIL PROTECTED]
This has got me somewhat stumped, so I'll throw it up here in hopes that someone has ran into this before. I'm trying to send a MIME package to Esko Backstage. I'm a bit confused as to how to send this to the server in a manner that it'll be able to get and de-code the MIME package in a valid way.

Re: Define a 2d Array?

2008-10-12 Thread [EMAIL PROTECTED]
On Oct 11, 9:30 pm, [EMAIL PROTECTED] wrote: >     Jill> How do I define a 2d list? > > Python doesn't truly have 2d lists in the way you might think of 2d arrays > in C or Fortran.  It has 1d lists which can contain any Python object, > including other lists.  If you want

class point in python

2008-10-11 Thread [EMAIL PROTECTED]
i am looking for a python implementation of this class, a point X,Y representation http://msdn.microsoft.com/en-us/library/system.drawing.point_methods.aspx is there any library that has this class? thanks -- http://mail.python.org/mailman/listinfo/python-list

how to acess mplayer with slavemode in python?

2008-10-11 Thread [EMAIL PROTECTED]
how to acess mplayer with slavemode in python? -- http://mail.python.org/mailman/listinfo/python-list

  1   2   3   4   5   6   7   8   9   10   >