> (a) Running 'stat' is *not the same* as a system call.
Why do you say that? It is *exactly* the same, at least
on a POSIX system (on Windows, there is no stat, so the
implementation has to map that to several system calls).
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Hello Gille,
> I need to write a script to automate fetching data from a web site:
> 1. using the POST method, log on, with login/password saved as cookies
> 2. download page and extract relevent information using regexes
> 3. log off
> 4. wait for a random number of minutes, and GOTO 1
> ...
http
Right, I could use Pyro, but I don't need RPC, I just wanted an easy way to
send objects across the network. I'm sure both Pyro and Yami can do that and
I may end up using one of them. For the initial version pickle will work
because we have the networking issues figured out with it, just not the
On Jul 19, 5:59 am, brad <[EMAIL PROTECTED]> wrote:
> gravey wrote:
> > Hello.
>
> > Apologies if this is a basic question, but I want to open a HTML
> > file from my local drive (is generated by another Python script)
> > in Internet Explorer. I've had a look at the webbrowser module and
> > this
Arash Arfaee wrote:
> is there any way to check if "IndexError: list index out of
> range" happened or going to happen and stop program from terminating?
Use a try/except block to catch the IndexError
http://docs.python.org/tut/node10.html#SECTION001030
try:
do_something_0(M_l
Juergen Erhard wrote:
> On proving programs correct... from my CS study days I distinctly
> remember thinking "sure, you can prove it correct, but you cannot do
> actual useful stuff with it". We might have come a long way since
> then (late 80s :P), but I don't hold out much hope (especially sinc
On Jul 19, 5:11?pm, Zentrader <[EMAIL PROTECTED]> wrote:
> On Jul 17, 2:13 pm, "Dee Asbury" <[EMAIL PROTECTED]> wrote:
>
> > In multiplying a value of xe^-325 with ye^-4, Python is returning zero. How
> > do I get it to give me back my tiny value?
>
> > Thanks!
> > Dee
>
> Also, Python's decimal cl
Irmen de Jong wrote
> In what way would Pyro be overkill where Yaml (also a module that you need
> to install separately) wouldn't be?
Sure they are the same to install and sure pyro can do the job (pyro
is a nice package).
But I got the impression that the questioner wanted to do the
networking
On Thu, Jul 12, 2007 at 11:26:22AM -0700, Paul Rubin wrote:
>
> Guy Steele used to describe functional programming -- the evaluation
> of lambda-calculus without side effects -- as "separation of Church
> and state", a highly desirable situation ;-).
>
> (For non-FP nerds, the above is a pun refe
Hi,
I'm to the stage where I need to deploy the app I built with wxPython.
I've been able to successfully build it w/py2exe into a binary (about
10MB size in total).
What I'd like to do is create an automatic updater, so that I can have
users download updated versions of my *application code*
"Alex Mont" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I have a 2-dimensional Numeric array with the shape (2,N) and I want to
remove all duplicate rows from the array. For example if I start out
with:
[[1,2],
[1,3],
[1,2],
[2,3]]
I want to end up with
[[1,2],
[1,3],
[2,3]].
===
What's unexpected about it? Child processes inherit all of the open file
descriptors of their parent. A socket is simply another open file
descriptor. When your parent process exits, your child still holds a valid,
open file descriptor.
import sys
import socket
import os
import time
s = socket
Thx for the advise.
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I need a help with explaining following behavior. Although it is not
python issue per say, python helped me to write sample programs and
originally I encountered the issue using python software. So let's
assume we have two following programs:
[myhost] ~> cat ss.py
import socket
UDPSock=
Hello
I need to write a script to automate fetching data from a web site:
1. using the POST method, log on, with login/password saved as cookies
2. download page and extract relevent information using regexes
3. log off
4. wait for a random number of minutes, and GOTO 1
I'm a bit confused with ho
"Jeffrey Froman" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello All,
>
> I have two python versions installed, one in /usr/bin, and one in
> /usr/local/bin. However, when invoking python without a full path,
> I get the wrong executable with the right sys.executable string!
>
"Jeffrey Froman" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello All,
>
> I have two python versions installed, one in /usr/bin, and one in
> /usr/local/bin. However, when invoking python without a full path,
> I get the wrong executable with the right sys.executable string!
>
ervin ramonllari wrote:
> Hello everybody,
>
> I'm trying to read some tables from a MS Access database and dump them
> into a Postgres database.
> When I read the attributes data types, I get some numeric values, i.e.
> if the data type
> of an attribute is TEXT, I get a value 202. I don't know
> One way is to check the length of each dimension. Does any body
> know a simpler way?
No need to check the length of the list:
"""
>>> foo = [0, 1, 2, [3, 4, 5, 6, 7, [8, 9, 10]]]
>>> isInNested(0, foo)
True
>>> isInNested(11, foo)
False
>>> isInNested(3, foo)
True
>>> isInNested(8, foo)
True
""
Could you use a set of tuples?
set([(1,2),(1,3),(1,2),(2,3)])
set([(1, 2), (1, 3), (2, 3)])
Matt
On 7/19/07, Alex Mont <[EMAIL PROTECTED]> wrote:
I have a 2-dimensional Numeric array with the shape (2,N) and I want to
remove all duplicate rows from the array. For example if I start out wit
I have a 2-dimensional Numeric array with the shape (2,N) and I want to
remove all duplicate rows from the array. For example if I start out
with:
[[1,2],
[1,3],
[1,2],
[2,3]]
I want to end up with
[[1,2],
[1,3],
[2,3]].
(Order of the rows doesn't matter, although order of the two el
>How about "broke" instead of "deprecated":
>
>
> >>> class Old:
>... def __init__(self):
>... self._value = 'broke'
>... value = property(lambda self: self._value)
>...
How is this broken? Properties are not supported for old-style classes.
They may not support features introduced in n
"Nathan Harmston" <[EMAIL PROTECTED]> writes:
> I have being thinking about this and was wondering with built in types
> you can do things like
>
> float(1)
Calls the constructor for the 'float' type, passing the integer 1; the
constructor returns a new float object.
> str(200)
Calls the const
On 7/19/07, Gordon Airporte <[EMAIL PROTECTED]> wrote:
I have some code which relies on running each line of a file through a
large number of regexes which may or may not apply. For each pattern I
want to match I've been writing
gotit = mypattern.findall(line)
Try to use iterator function f
In article <[EMAIL PROTECTED]>,
James Stroud <[EMAIL PROTECTED]> wrote:
>Aahz wrote:
>> In article <[EMAIL PROTECTED]>,
>> Steven D'Aprano <[EMAIL PROTECTED]> wrote:
>>>
>>>It isn't wrong to use the old style, but it is deprecated, [...]
>>
>>
>> Really? Can you point to some official documen
Aahz wrote:
> In article <[EMAIL PROTECTED]>,
> Steven D'Aprano <[EMAIL PROTECTED]> wrote:
>
>>It isn't wrong to use the old style, but it is deprecated, [...]
>
>
> Really? Can you point to some official documentation for this? AFAIK,
> new-style classes still have not been integrated into t
On Jul 19, 8:35 am, Matthew Wilson <[EMAIL PROTECTED]> wrote:
> I want to write a function that each time it gets called, it returns a
> random choice of 1 to 5 words from a list of words.
>
> I can write this easily using for loops and random.choice(wordlist) and
> random.randint(1, 5).
>
> But I
On Jul 17, 2:13 pm, "Dee Asbury" <[EMAIL PROTECTED]> wrote:
> In multiplying a value of xe^-325 with ye^-4, Python is returning zero. How
> do I get it to give me back my tiny value?
>
> Thanks!
> Dee
Also, Python's decimal class allows theoretically unlimited
precision. I have extremely limited
On Thu, Jul 19, 2007 at 02:43:13PM -0700, Arash Arfaee wrote:
> One way is to check the length of each dimension. Does any body
> know a simpler way? is there any way to check if "IndexError: list
> index out of range" happened or going to happen and stop program
> from terminating?
If I understan
Is there any way to check if an item in specific location in a multiple
dimension nested exist? For example something like:
if M_list[line][row][d] exist:
do_something_0
else:
do_something_1
Certainly:
try:
M_list[line][row][d]
except IndexError:
do_something_1
else:
do_somethin
On Jul 19, 10:21 am, Falcolas <[EMAIL PROTECTED]> wrote:
> On Jul 18, 6:56 am, "Rustom Mody" <[EMAIL PROTECTED]> wrote:
>
> > This is shallow copy
> > If you want deep copy then
> > from copy import deepcopy
>
> What will a "deep copy" of a list give you that using the slice
> notation will not?
W
Hi All,
Is there any way to check if an item in specific location in a multiple
dimension nested exist? For example something like:
if M_list[line][row][d] exist:
do_something_0
else:
do_something_1
One way is to check the length of each dimension. Does any body know a
simpler way? is there
On Jul 18, 6:52 pm, Gordon Airporte <[EMAIL PROTECTED]> wrote:
> ...
> I've also been assuming that using the re functions that create match
> objects is slower/heavier than dealing with the simple list returned by
> findall(). I've profiled it and these matches are the biggest part of
> the runni
Hey all,
I have a script that takes numbers from XL and inserts them into an embedded
MSGRAPH dataset in PPT. The problem is that when I reopen the modified document
that has been saved as a new filename and activate the embedded datasheet the
new numbers that were inserted disappear and the old,
Rustom Mody wrote:
> Sure pyro may be the solution but it may also be overkill
> Why not use safe_load from the yaml module?
In what way would Pyro be overkill where Yaml (also a module that you need
to install separately) wouldn't be?
-irmen
--
http://mail.python.org/mailman/listinfo/python-lis
Nathan Harmston wrote:
> is there way I can define conversion functions like this:
>
> say i have a class A and a class B
>
> bobj = B()
> aobj = a(bobj)
>
> in a neater way than just defining a set of methods
>
> def a(object_to_convert)
> # if object_to_convert of type..
> # do s
Hello everybody,
I'm trying to read some tables from a MS Access database and dump them into
a Postgres database.
When I read the attributes data types, I get some numeric values, i.e. if
the data type
of an attribute is TEXT, I get a value 202. I don't know how to convert this
number into
a vali
thanks for the responses Nick and "AnonMail"
> I'm doing a similar thing, and I would imagine others are also.
>
> 1. In a python file, set up wrapper functions that the python user
> actually uses (e.g FunctionA). Each function corresponds to a
> particular C/C++ extension function that you are
On Jul 19, 7:09 am, Jean-Paul Calderone <[EMAIL PROTECTED]> wrote:
> On Thu, 19 Jul 2007 12:32:02 -, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
> >I am trying to send UDP broadcast packets over a specific interface
> >and I
> >am having trouble specifying the interface:
>
> >host='192.16
Hi,
I have being thinking about this and was wondering with built in types
you can do things like
float(1) or str(200)
is there way I can define conversion functions like this:
say i have a class A and a class B
bobj = B()
aobj = a(bobj)
in a neater way than just defining a set of methods
de
On Thu, Jul 19, 2007 at 03:29:35PM -0400, W3 wrote:
> Just a quick one... Is there such a thing?
Debian et al ship Python bindings[0] for file(1)[1]. file works by
using a file (/etc/magic) with 'magic' numbers in it to figure out
the type of a file. Googling 'python magic' will turn up a few
inte
Hi all,
Just a quick one... Is there such a thing?
Thanks,
/Walter
--
--
http://mail.python.org/mailman/listinfo/python-list
On Jul 19, 4:27 am, Hrvoje Niksic <[EMAIL PROTECTED]> wrote:
> Adrian Petrescu <[EMAIL PROTECTED]> writes:
> > I checked the online Python documentation
> > athttp://python.org/doc/1.5.2/lib/module-stat.html
> > but it just says to "consult the documentation for your system.".
>
> The page you're
beginner wrote:
>
> What I want to do is to reorganize it in groups, first by the middle
> element of the tuple, and then by the first element. I'd like the
> output look like this:
itertools.groupby has already been mentioned, but it has a very specific
and complex behavior which may not be exa
Hello All,
I have two python versions installed, one in /usr/bin, and one in
/usr/local/bin. However, when invoking python without a full path,
I get the wrong executable with the right sys.executable string!
[EMAIL PROTE
Josiah Carlson <[EMAIL PROTECTED]> wrote:
> Nick Craig-Wood wrote:
> > I'd dispute that. If you are communicating between threads use a
> > Queue and you will save yourself thread heartache. Queue has a non
> > blocking read interface Queue.get_nowait().
>
> If you have one producer and one co
In article <[EMAIL PROTECTED]>,
Steven D'Aprano <[EMAIL PROTECTED]> wrote:
>
>It isn't wrong to use the old style, but it is deprecated, [...]
Really? Can you point to some official documentation for this? AFAIK,
new-style classes still have not been integrated into the standard
documentation.
In article <[EMAIL PROTECTED]>,
Bruno Desthuilliers <[EMAIL PROTECTED]> wrote:
>
>To make a long story short: Python 2.2 introduced a new object model
>which is more coherent and more powerful than the original one. The old
>one was kept so far for compatibility reasons, but there's absolutely n
On 18 jul, 13:55, Stef Mientki <[EMAIL PROTECTED]>
wrote:
> better ask in the wx discussion group:
>[EMAIL PROTECTED]
>
> cheers,
> Stef Mientki
thks
--
http://mail.python.org/mailman/listinfo/python-list
I have seen this thread for a while and i do not see it on the wxpython list
so i am posting it there now and will post a reply if i still see this
later!
James
On 7/19/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
On Jul 18, 3:15 pm, Benjamin <[EMAIL PROTECTED]> wrote:
> Hello! I am writin
I am also having some issues. There is a post on the list that appeared 7
times because of this issue i think.
On 7/19/07, David H Wild <[EMAIL PROTECTED]> wrote:
In article <[EMAIL PROTECTED]>,
Adrian Petrescu <[EMAIL PROTECTED]> wrote:
> Maybe it has shown up and Google simply isn't showin
A slice still has some references to the old objects a deep copy is a
totally new object!
On 19 Jul 2007 17:04:00 GMT, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]>
wrote:
On Thu, 19 Jul 2007 09:21:54 -0700, Falcolas wrote:
> On Jul 18, 6:56 am, "Rustom Mody" <[EMAIL PROTECTED]> wrote:
>> This
On Thu, 19 Jul 2007 09:21:54 -0700, Falcolas wrote:
> On Jul 18, 6:56 am, "Rustom Mody" <[EMAIL PROTECTED]> wrote:
>> This is shallow copy
>> If you want deep copy then
>> from copy import deepcopy
>
> What will a "deep copy" of a list give you that using the slice
> notation will not?
Well, a d
Matthew Wilson schrieb:
> I want to write a function that each time it gets called, it returns a
> random choice of 1 to 5 words from a list of words.
>
> I can write this easily using for loops and random.choice(wordlist) and
> random.randint(1, 5).
>
> But I want to know how to do this using it
In article <[EMAIL PROTECTED]>,
Adrian Petrescu <[EMAIL PROTECTED]> wrote:
> Maybe it has shown up and Google simply isn't showing it yet. Can
> anyone confirm that a thread posted yesterday (July 18th, 2007) whose
> title was something like "interpreting os.lstat() output" exists or
> not?
Tha
On Jul 18, 6:50 am, Alex Popescu <[EMAIL PROTECTED]>
wrote:
> Sanjay gmail.com> writes:
>
>
>
> > Hi All,
>
> > I tried posting in this group twice since last week, but the messages
> > did not appear in the forum. Don't know why. Trying this message
> > again...
>
> > Sanjay
>
> Something similar
On Jul 18, 6:56 am, "Rustom Mody" <[EMAIL PROTECTED]> wrote:
> This is shallow copy
> If you want deep copy then
> from copy import deepcopy
What will a "deep copy" of a list give you that using the slice
notation will not?
--
http://mail.python.org/mailman/listinfo/python-list
Matthew Wilson wrote:
> I want to write a function that each time it gets called, it returns a
> random choice of 1 to 5 words from a list of words.
>
> I can write this easily using for loops and random.choice(wordlist) and
> random.randint(1, 5).
>
> But I want to know how to do this using iterto
Matthew Wilson a écrit :
> I want to write a function that each time it gets called, it returns a
> random choice of 1 to 5 words from a list of words.
>
> I can write this easily using for loops and random.choice(wordlist) and
> random.randint(1, 5).
>
> But I want to know how to do this using i
On Jul 18, 3:15 pm, Benjamin <[EMAIL PROTECTED]> wrote:
> Hello! I am writing a search engine with wxPython as the GUI. As the
> search thread returns items, it adds them to a Queue which is picked
> up by the main GUI thread calling itself recursively with
> wx.CallAfter. These are then added to a
> A little renaming of variables helps it be a bit more elegant I think ...
>
> def getgroups8(seq):
> groups = []
> iseq = iter(xrange(len(seq)))
> for start in iseq:
> if seq[start] & 0x80:
> for stop in iseq:
> if seq[stop] & 0x80:
>
On Thu, 2007-07-19 at 15:05 +, beginner wrote:
> Hi Everyone,
>
> I have a simple list reconstruction problem, but I don't really know
> how to do it.
>
> I have a list that looks like this:
>
> l=[ ("A", "a", 1), ("A", "a", 2), ("A", "a", 3), ("A", "b", 1), ("A",
> "b", 2), ("B", "a", 1), (
On Jul 18, 3:05 am, Sanjay <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I tried posting in this group twice since last week, but the messages
> did not appear in the forum. Don't know why. Trying this message
> again...
>
> Sanjay
I think I'm having the exact same problem. I posted a new thread last
n
I want to write a function that each time it gets called, it returns a
random choice of 1 to 5 words from a list of words.
I can write this easily using for loops and random.choice(wordlist) and
random.randint(1, 5).
But I want to know how to do this using itertools, since I don't like
manually d
Steve Holden wrote:
> Sean Davis wrote:
>> What are the alternatives for accessing an ODBC source from python
>> (linux 64-bit, python 2.5)? It looks like mxODBC is the only one
>> available?
>>
> There is, I understand, a pyodbc module as well. Having never used it I
> can't say how good it is.
Sean Davis wrote:
> What are the alternatives for accessing an ODBC source from python
> (linux 64-bit, python 2.5)? It looks like mxODBC is the only one
> available?
>
There is, I understand, a pyodbc module as well. Having never used it I
can't say how good it is.
regards
Steve
--
Steve Ho
Nick Craig-Wood wrote:
> Josiah Carlson <[EMAIL PROTECTED]> wrote:
>> Sending results one at a time to the GUI is going to be slow for any
>> reasonably fast search engine (I've got a pure Python engine that does
>> 50k results/second without breaking a sweat). Don't do that. Instead,
>> h
On Thu, 2007-07-19 at 15:05 +, beginner wrote:
> Hi Everyone,
>
> I have a simple list reconstruction problem, but I don't really know
> how to do it.
>
> I have a list that looks like this:
>
> l=[ ("A", "a", 1), ("A", "a", 2), ("A", "a", 3), ("A", "b", 1), ("A",
> "b", 2), ("B", "a", 1), (
Adrian Petrescu <[EMAIL PROTECTED]> wrote:
print os.stat.__doc__
>stat(path) -> stat result
>
>Perform a stat system call on the given path.
>
>I checked the online Python documentation at
>http://python.org/doc/1.5.2/lib/module-stat.html
Someone else has already pointed out that this is ho
beginner <[EMAIL PROTECTED]> wrote:
> Hi Everyone,
>
> I have a simple list reconstruction problem, but I don't really know
> how to do it.
>
> I have a list that looks like this:
>
> l=[ ("A", "a", 1), ("A", "a", 2), ("A", "a", 3), ("A", "b", 1), ("A",
> "b", 2), ("B", "a", 1), ("B", "b", 1)]
Hi Everyone,
I have a simple list reconstruction problem, but I don't really know
how to do it.
I have a list that looks like this:
l=[ ("A", "a", 1), ("A", "a", 2), ("A", "a", 3), ("A", "b", 1), ("A",
"b", 2), ("B", "a", 1), ("B", "b", 1)]
What I want to do is to reorganize it in groups, first
Hendrik van Rooyen <[EMAIL PROTECTED]> wrote:
> "ReTrY" <[EMAIL PROTECTED]> wrote:
>
> > I'm writing a program with Tkinter GUI, When the program is running it
> > need to be updated every five seconds (data comes from internet). How
> > should I do that ? How to make a function in main loop ?
>
On Thu, 19 Jul 2007 09:25:50 -0400, "Emin.shopper Martinian.shopper" <[EMAIL
PROTECTED]> wrote:
>After poking around the unittest source code, the best solution I could come
>up with was to do
import unittest; unittest.TestCase.run = lambda self,*args,**kw:
>unittest.TestCase.debug(self)
>
>be
On Jul 18, 4:43 pm, [EMAIL PROTECTED] (Aahz) wrote:
> In article <[EMAIL PROTECTED]>,
>
> ReTrY <[EMAIL PROTECTED]> wrote:
>
> >I'm writing a program with Tkinter GUI, When the program is running it
> >need to be updated every five seconds (data comes from internet). How
> >should I do that ? How
On Jul 16, 9:45 am, dmoore <[EMAIL PROTECTED]> wrote:
> Hi Folks:
>
> I have a question about the use of static members in Python/C
> extensions. Take the simple example from the "Extending and Embedding
> the Python Interpreter" docs:
>
> A simple module method:
>
> static PyObject *
> spam_system
Rohan <[EMAIL PROTECTED]> writes:
> Hello,
> I'm working on a script which collects some data and puts into a csv
> file which could be exported to excel.
> so far so good, I'm able to do what I described.
> When I run the script for the second time after a certain period of
> time the results sho
On Jul 18, 3:24 am, ReTrY <[EMAIL PROTECTED]> wrote:
> I'm writing a program with Tkinter GUI, When the program is running it
> need to be updated every five seconds (data comes from internet). How
> should I do that ? How to make a function in main loop ?
I'm pretty sure the book "Programming Pyt
After poking around the unittest source code, the best solution I could come
up with was to do
import unittest; unittest.TestCase.run = lambda self,*args,**kw:
unittest.TestCase.debug(self)
before running my tests. That patches things so that I can use pdb.pm() when
a test fails. Still, that s
On Jul 18, 5:50 am, Alex Popescu <[EMAIL PROTECTED]>
wrote:
> Sanjay gmail.com> writes:
>
>
>
> > Hi All,
>
> > I tried posting in this group twice since last week, but the messages
> > did not appear in the forum. Don't know why. Trying this message
> > again...
>
> > Sanjay
>
> Something similar
On Thu, 19 Jul 2007 12:32:02 -, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
>I am trying to send UDP broadcast packets over a specific interface
>and I
>am having trouble specifying the interface:
>
>host='192.168.28.255'
>sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
>sock.bind((
On Jul 18, 11:38 am, Benjamin <[EMAIL PROTECTED]> wrote:
> Hello! I am writing a search engine with wxPython as the GUI. As the
> search thread returns items, it adds them to a Queue which is picked
> up by the main GUI thread calling itself recursively with
> wx.CallAfter. These are then added to
I am trying to send UDP broadcast packets over a specific interface
and I
am having trouble specifying the interface:
host='192.168.28.255'
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
sock.bind(('',0))
sock.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1)
sock.setsockopt(socket.IP
On 2007-07-19, Steven D'Aprano <[EMAIL PROTECTED]> wrote:
> On Wed, 18 Jul 2007 19:32:35 +, George Sakkis wrote:
>
>> On Jul 16, 10:51 pm, Steven D'Aprano
>> <[EMAIL PROTECTED]> wrote:
>>> On Mon, 16 Jul 2007 16:55:53 +0200, Hrvoje Niksic wrote:
>>> > 2**19937 being a really huge number, it's i
Josiah Carlson <[EMAIL PROTECTED]> wrote:
> Sending results one at a time to the GUI is going to be slow for any
> reasonably fast search engine (I've got a pure Python engine that does
> 50k results/second without breaking a sweat). Don't do that. Instead,
> have your search thread create
On Jul 18, 3:20 am, gravey <[EMAIL PROTECTED]> wrote:
> Hello.
>
> Apologies if this is a basic question, but I want to open a HTML
> file from my local drive (is generated by another Python script)
> in Internet Explorer. I've had a look at the webbrowser module and
> this doesn't seem to be what
On Jul 18, 3:41 am, Benjamin <[EMAIL PROTECTED]> wrote:
> I'm writing a search engine in Python with wxPython as the GUI. I have
> the actual searching preformed on a different thread from Gui thread.
> It sends it's results through a Queue to the results ListCtrl which
> adds a new item. This work
On Thu, Jul 19, 2007 at 04:35:56AM -0500, Will Maier wrote:
> On Thu, Jul 19, 2007 at 09:52:36AM +0100, Robert Rawlins - Think Blue wrote:
> > I have a scheduled event which occurs every minute, i just need a
> > code solution to give me the systems current memory consumptions
> > details, is there
On Thu, Jul 19, 2007 at 09:52:36AM +0100, Robert Rawlins - Think Blue wrote:
> I have a scheduled event which occurs every minute, i just need a
> code solution to give me the systems current memory consumptions
> details, is there perhaps something in the os module?
I don't know of anything in th
Hello Guys,
I have an embedded application with a suspected memory leak which I'm trying
to confirm. You see, the application seems to crash unexpectedly and when
looking at the resource consumption after the crash system memory has crept
up to nearly 100%.
However this takes quite a long t
Adrian Petrescu <[EMAIL PROTECTED]> writes:
> I checked the online Python documentation at
> http://python.org/doc/1.5.2/lib/module-stat.html
> but it just says to "consult the documentation for your system.".
The page you're looking for is at
http://www.python.org/doc/current/lib/os-file-dir.ht
"ReTrY" <[EMAIL PROTECTED]> wrote:
> I'm writing a program with Tkinter GUI, When the program is running it
> need to be updated every five seconds (data comes from internet). How
> should I do that ? How to make a function in main loop ?
Short answer:
use the after method to set up a periodic s
Hello,
My name is Sandy Kontos and I have a Python/Jython role here in Boston for 3-6
months.
Should you have any interest in the Boston area please give either myself
and/or Mo Bitahi a call at 781 449 0600
Thank you
Sandy
Sandy Kontos
Overture Partners, LLC
75 Se
Murali <[EMAIL PROTECTED]> wrote:
> After some investigation, I found out that this problem had nothing to
> do with my GUI app not getting refreshed and I was able to reproduce
> this problem with normal python scripts. Here is one such script
>
> #File test.py
> from subprocess import Popen
On Thu, 19 Jul 2007 07:31:06 +, nvictor wrote:
> Hi,
>
> I'm not an experienced developer, and I came across this statement by
> reading a code. I search for explanation, but can't find anything
> meaningful. I read the entire document written by python's creator
> about the features of versi
Benjamin wrote:
> I'm writing a search engine in Python with wxPython as the GUI. I have
> the actual searching preformed on a different thread from Gui thread.
> It sends it's results through a Queue to the results ListCtrl which
> adds a new item. This works fine or small searches, but when the
>
Hi,
On Thu, 19 Jul 2007 09:40:24 +0200, Bruno Desthuilliers
<[EMAIL PROTECTED]> wrote:
> there's absolutely no reason to use it no more since "new-style" classes
> can do anything "Classic" classes did and much more. IOW, don't even
> bother with old-style classes.
Just for the records: the
nvictor a écrit :
> Hi,
>
> I'm not an experienced developer, and I came across this statement by
> reading a code. I search for explanation, but can't find anything
> meaningful. I read the entire document written by python's creator
> about the features of version 2.2 The one named unifying type
Hi,
I'm not an experienced developer, and I came across this statement by
reading a code. I search for explanation, but can't find anything
meaningful. I read the entire document written by python's creator
about the features of version 2.2 The one named unifying types and
classes. But This docume
Hello,
We have requirement for Sr.Software Engineer in San Jose CA with very
strong experinece in PYTHON AND LINUX . If your skills and experience
matches with the same, send me your resume asap with contact # and
rate to '[EMAIL PROTECTED]'. Locals only pls apply
TECHNICAL SKILLS REQUIREMENTS:
Hello,
We have requirement for Web Designer/Web Architect in bay area CA. The
person needs to have experience in building Commerce Site where Actual
Shopping has been done. If your skills and experience matches with the
same, send me your resume asap with contact # and rate to
'[EMAIL PROTECTED]'.
100 matches
Mail list logo