Hello everyone,
I understand that urllib and urllib2 serve as really simple page
request libraries. I was wondering if there is a library out there
that can get the HTTP requests for a given page.
Example:
URL: http://www.google.com/test.html
Something like: urllib.urlopen('http://www.google.com
Hello,
I was getting an error in Cocreate instance while trying to
access "Outlook" using python script. The python script looks like:
from win32com.client import Dispatch
session = Dispatch("MAPI.session")
session.Logon('OUTLOOK') # MAPI profile name
inbox = session.Inbox
W
"Martin v. Löwis" <[EMAIL PROTECTED]> writes:
> > Is there some policy document or release management guide that could
> > be updated for release teams to follow on this without needing to have
> > this discussion every time?
>
> It's in PEP 101.
Thank you.
> If it matters to you, please submit
> Is there some policy document or release management guide that could
> be updated for release teams to follow on this without needing to have
> this discussion every time?
It's in PEP 101. If it matters to you, please submit a patch to that
document (which is in subversion) to bugs.python.org. I
Not that I particularly have anything against Ruby or Rails, but your
post isn't quite germane to this mailinglist, which is about Python,
not Ruby.
Though they are similar languages, your post is entirely devoid of
even any reference to Python and thus is not at all relevant.
Cheers,
Chris
--
Fo
I'm working on a small curses application that opens an external
editor occasionally; in the current case I'm testing its running vi.
Once I exit vi and return to the curses application I lose the
background color, window frames, and any text I had on the screen
before I opened vi. I can still see
On Wed, Oct 8, 2008 at 10:40 AM, Gabriel Genellina
<[EMAIL PROTECTED]> wrote:
> web.archive.org contains the site history:
> http://web.archive.org/web/*re_/http://www.unununium.org
> Going back to Jan 2007 is enough to discover that their repository was at
> http://www.unununium.org/darcs/ - and i
What could be cooler than Ruby and Rails authors, experts, and
hundreds of professionals that work with Ruby on a daily basis – all
together in one location for great discussions and debates? That’s
what will happen at the Voices That Matter: Professional Ruby
Conference coming to Boston, November
On Oct 7, 8:13 pm, Luis Zarrabeitia <[EMAIL PROTECTED]> wrote:
> On Tuesday 07 October 2008 05:33:18 pm George Sakkis wrote:
>
> > Not an answer to your actual question, but you can keep the 'for' loop
> > instead of rewriting it with 'while' using the iter(function,
> > sentinel) idiom:
>
> > for
In message <[EMAIL PROTECTED]>, Gabriel
Rossetti wrote:
> If I look at my clock, it's 16:59 (4:59pm), if I type "date" in a
> terminal, it says the same thing.
Try this:
date
gives local time, while
TZ=UTC date
gives UTC time.
> I'm wanting to write a simple NTP-type server/client (i
hai,
i am srinu from india. i am sending a blog url for yours use.
click on the blog and get more information to choose yours job.
the blog url is:
http://earnmonthlyincome.blogspot.com/
goodluck
--
http://mail.python.org/mailman/listinfo/python-list
En Tue, 07 Oct 2008 23:15:54 -0300, Pat <[EMAIL PROTECTED]> escribió:
Dennis Lee Bieber wrote:
On Mon, 06 Oct 2008 19:45:07 -0400, Pat <[EMAIL PROTECTED]> declaimed the
following in comp.lang.python:
I can't figure out how to set up a Python data structure to read in
data that looks something
En Tue, 07 Oct 2008 21:43:41 -0300, Samuel A. Falvo II
<[EMAIL PROTECTED]> escribió:
I have a shell script script.sh that launches a Java process in the
background using the &-operator, like so:
#!/bin/bash
java ... arguments here ... &
In my Python code, I want to invoke this shell script
Lawrence D'Oliveiro wrote:
[...]
> Is that why Dimdows device drivers are so crap? Because they're written by
> people like you, who think they know better than Microsoft?
Why the hostility? Dimdows device drivers are crap because they live in
a crap operating system. Which the majority of compute
Lawrence D'Oliveiro wrote:
> In message <[EMAIL PROTECTED]>, Thorsten Kampe
> wrote:
>
>> * Lawrence D'Oliveiro (Mon, 06 Oct 2008 23:18:10 +1300)
>>
>>> In message <[EMAIL PROTECTED]>, Thorsten Kampe
>>> wrote:
* Lawrence D'Oliveiro (Sun, 05 Oct 2008 22:13:46 +1300)
> In message <[EM
Am 08.10.2008 um 06:59 schrieb Hendrik van Rooyen:
"Blubaugh, David A." wrote:
I have done some additional research into the possibility of
utilizing
Python for hard real time development. I have seen on various
websites
where this has been discussed before on the internet. However, I was
sa6113 wrote:
> I use this code :
>
>
> import paramiko
> import socket
>
> hostname = "192.168.1.4"
> username = "test"
> port = 22
> password = ''123456"
>
> # now connect
> try:
> sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
> sock.connect((hostname, port))
> except Excep
I have a shell script script.sh that launches a Java process in the
background using the &-operator, like so:
#!/bin/bash
java ... arguments here ... &
In my Python code, I want to invoke this shell script using the
Subprocess module. Here is my code:
def resultFromRunning_(command):
"""I
[EMAIL PROTECTED] wrote:
> I have a large body of Python code which runs on many different (Unix)
> machines concurrently. Part of the code lives in one place, but most
> of it lives in directories which I find at runtime. I only have one
> copy of each Python source file and I think I'm hitting
En Tue, 07 Oct 2008 19:30:24 -0300, James Mills
<[EMAIL PROTECTED]> escribió:
On Tue, Oct 7, 2008 at 4:02 PM, Gabriel Genellina
<[EMAIL PROTECTED]> wrote:
There was an experiment ("Unununium"), now abandoned:
http://unununium.org/
Yeah does anyone have or know where one
can get the source
On Tuesday 07 October 2008 05:12:28 pm Lawrence D'Oliveiro wrote:
> In message <[EMAIL PROTECTED]>, Luis
>
> Zarrabeitia wrote:
> > I have a problem with this piece of code:
> >
> >
> > import sys
> > for line in sys.stdin:
> > print "You said!", line
> >
> >
> > Namely, it seems that
George Sakkis <[EMAIL PROTECTED]> writes:
> On Oct 7, 10:15 pm, Pat <[EMAIL PROTECTED]> wrote:
> > I don't understand why I need a database when it should just be a
> > matter of defining the data structure.
>
> Picking an appropriate data structure depends on the kind of
> functionality you want
En Tue, 07 Oct 2008 12:21:40 -0300, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> escribió:
I have a large body of Python code which runs on many different (Unix)
machines concurrently. Part of the code lives in one place, but most
of it lives in directories which I find at runtime. I only have one
On Tuesday 07 October 2008 05:33:18 pm George Sakkis wrote:
> Not an answer to your actual question, but you can keep the 'for' loop
> instead of rewriting it with 'while' using the iter(function,
> sentinel) idiom:
>
> for line in iter(sys.stdin.readline, ""):
> print "You said!", line
You're
On Oct 7, 10:15 pm, Pat <[EMAIL PROTECTED]> wrote:
> Dennis Lee Bieber wrote:
> > On Mon, 06 Oct 2008 19:45:07 -0400, Pat <[EMAIL PROTECTED]> declaimed the
> > following in comp.lang.python:
>
> >> I can't figure out how to set up a Python data structure to read in data
> >> that looks something l
On Tue, Oct 7, 2008 at 7:27 PM, Kurt Mueller <[EMAIL PROTECTED]> wrote:
> To be more helpful, we should know what you mean by "HARD REAL TIME".
> Do you mean:
> - Handle at least 70 interrupt per second("SPEED")
> - If one fails, this is catastrophic for the application ("HARD")
On Tue, Oct 7, 2008 at 6:42 PM, <[EMAIL PROTECTED]> wrote:
> AFAIK, the requirement for hard real time, is that response time have
> to be predictable, rather than
> generally 'fast'.
> Very high level languages like python use many features which are by
> their nature unpredictable or
> difficult
On Tue, Oct 7, 2008 at 4:02 PM, Gabriel Genellina
<[EMAIL PROTECTED]> wrote:
> There was an experiment ("Unununium"), now abandoned: http://unununium.org/
Yeah does anyone have or know where one
can get the source code and any other
materials relating to Unununium ? It not only
seems to be abando
On Oct 2, 1:06 pm, lkcl <[EMAIL PROTECTED]> wrote:
> On Sep 3, 10:02 pm, [EMAIL PROTECTED] wrote:
>
> > Berco Beute:
>
> > > I wonder what it would take to implement Python in JavaScript so it
>
> it's been done. http://pyjamas.sf.net
>
That's hardly an implementation of Python in Javascript - i
On Oct 7, 2:29 am, Terry Reedy <[EMAIL PROTECTED]> wrote:
> Fuzzyman wrote:
> > On Oct 6, 7:02 pm, Terry Reedy <[EMAIL PROTECTED]> wrote:
> >> fuzzyman wrote:
> >>> Doesn't sound like a particularly *good* solution to me. :-)
> >> From what you posted, 'type object at' should work.
>
> > It's stil
En Tue, 07 Oct 2008 13:25:01 -0300, Terry Reedy <[EMAIL PROTECTED]>
escribió:
Lawrence D'Oliveiro wrote:
In message <[EMAIL PROTECTED]>,
Gabriel Genellina wrote:
Usually it's more efficient to create all the MAX_THREADS at once, and
continuously feed them with tasks to be done.
Given that
In message <[EMAIL PROTECTED]>, Thorsten Kampe
wrote:
> * Lawrence D'Oliveiro (Mon, 06 Oct 2008 23:18:10 +1300)
>
>> In message <[EMAIL PROTECTED]>, Thorsten Kampe
>> wrote:
>>>
>>> * Lawrence D'Oliveiro (Sun, 05 Oct 2008 22:13:46 +1300)
>>>
In message <[EMAIL PROTECTED]>, Michel Claveau -
>>
In message <[EMAIL PROTECTED]>, Tim Roberts wrote:
> Lawrence D'Oliveiro <[EMAIL PROTECTED]> wrote:
>
>>In message <[EMAIL PROTECTED]>, Thorsten Kampe
>>wrote:
>>
>>> * Lawrence D'Oliveiro (Sun, 05 Oct 2008 22:13:46 +1300)
>>>
In message <[EMAIL PROTECTED]>, Michel Claveau -
NoSpam SVP
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:python-
> [EMAIL PROTECTED] On Behalf Of Pat
> Sent: Tuesday, October 07, 2008 10:16 PM
> To: python-list@python.org
> Subject: Re: Array of dict or lists or ?
>
>
> The Perl routine works fine and I'd like to emulate that behavi
En Tue, 07 Oct 2008 10:34:44 -0300, Michele Simionato
<[EMAIL PROTECTED]> escribió:
On Oct 3, 9:23 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote:
Ok, but then you have to explicitely decorate every method. To avoid
this,
you may use a metaclass; this article by Michael Foord explains
Luis Zarrabeitia wrote:
> I have a problem with this piece of code:
>
>
> import sys
> for line in sys.stdin:
> print "You said!", line
>
>
> Namely, it seems that the stdin buffers the input, so there is no reply until
> a huge amount of text has bin written. The iterator returned by
Boris Borcic a écrit :
Bruno Desthuilliers wrote:
Boris Borcic a écrit :
Given the ABC innovation, maybe an infix syntax for isinstance() would
be good.
Possibilities :
- stealing "is" away from object identity. As a motivation, true use
cases for testing object identity are rare;
"x is No
Terry Reedy <[EMAIL PROTECTED]> writes:
> Ben Finney wrote:
> > Can I request, in the interest of reducing confusion, that any
> > announcements of pre-release versions of 2.5.3 (or any other
> > Python release) be announced *without* saying “RELEASED: A
> > not-really-release version of Python”.
On Oct 7, 3:52 pm, Erik Max Francis <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> (e.g., man-day-widgets for
> questions like, "If it takes one man three days to make two widgets, how
> many widgets can five men make in two weeks?").
Wouldn't that be 'widgets per man-day'?
--
http://mail
In message <[EMAIL PROTECTED]>, Luis
Zarrabeitia wrote:
> I have a problem with this piece of code:
>
>
> import sys
> for line in sys.stdin:
> print "You said!", line
>
>
> Namely, it seems that the stdin buffers the input, so there is no reply
> until a huge amount of text has bi
In message <[EMAIL PROTECTED]>, Martin Geisler wrote:
> Take a look at the -W command line option to python. From the man page:
>
> -W argument
>
> The simplest form of argument is one of the following action
> strings (or a unique abbreviation): ignore to ignore all warn-
[EMAIL PROTECTED] wrote:
I also wrote a units package which I'm using for a project of my own
(a spiking neural network simulator package called 'Brian'), released
separately as a package called Piquant which you can get at
sourceforge:
http://sourceforge.net/projects/piquant
I'm also looking
Brett C.:
> There are two things to realize about the tuple unpacking that acted
> as motivation. One is supporting them in the compiler is a pain.
> ...
> Second, tuple unpacking in parameters breaks introspection horribly.
Are there ways to re-implement from scratch similar native pattern-
match
Why is it important to see Obama's college records? Because the media
has created fantasies around Obama on every issue. You should start
dispelling them with the easiest one, i.e. the fantasy of Obama's
"academic degrees and honors".
Obama has been fighting desperately to block all access to his
On Oct 5, 9:13 am, Terry Reedy <[EMAIL PROTECTED]> wrote:
> Martin Geisler wrote:
> > Steven D'Aprano <[EMAIL PROTECTED]> writes:
> >>> From reading the PEP-3113 I got the impression that the author
> >>> thought that this feature was unused and didn't matter.
>
> And that there were good alternati
I have a problem with this piece of code:
import sys
for line in sys.stdin:
print "You said!", line
Namely, it seems that the stdin buffers the input, so there is no reply until
a huge amount of text has bin written. The iterator returned by xreadlines
has the same behavior.
The
> Just to emphasize this, "changes" means "bugfixes". (I'm mentioning this
> mainly because of the people who joined for 2.6/3.0.) For more info,
> see PEP6 about bugfix releases:
> http://www.python.org/dev/peps/pep-0006/
Thanks for clarifying this. For the last 2.5.x release in particular, we
I also wrote a units package which I'm using for a project of my own
(a spiking neural network simulator package called 'Brian'), released
separately as a package called Piquant which you can get at
sourceforge:
http://sourceforge.net/projects/piquant
I'm also looking for people to help improve i
On Tue, Oct 7, 2008 at 2:50 PM, <[EMAIL PROTECTED]> wrote:
> Why is this not working ?
>
> bla = 'hondenriem'
> print bla[0:4] # correct ! (= hond)
> print bla[3:2] # nothing ! (= en)
Why do you think the right answer is 'en'? bla[3:2] is asking for the
slice starting at position 3, ending bef
gcmartijn> Why is this not working ?
gcmartijn> bla = 'hondenriem'
gcmartijn> print bla[0:4] # correct ! (= hond)
gcmartijn> print bla[3:2] # nothing ! (= en)
gcmartijn> print bla[6:3] # nothing ! (= riem)
gcmartijn> Why don't bla[3:2] and bla[6:3] won't work ?
Because
[EMAIL PROTECTED] wrote:
Why is this not working ?
bla = 'hondenriem'
print bla[0:4] # correct ! (= hond)
print bla[3:2] # nothing ! (= en)
print bla[6:3] # nothing ! (= riem)
Why don't bla[3:2] and bla[6:3] won't work ?
I use this version:
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [
hi,
On Oct 7, 3:24 am, Bas <[EMAIL PROTECTED]> wrote:
> I have heard about some python package which overloads numbers and
> calculations to include units (quick google found unum, not sure if
> that is the only one). I guess that unless you are dealing with life-
> critical equipment or are using
Why is this not working ?
bla = 'hondenriem'
print bla[0:4] # correct ! (= hond)
print bla[3:2] # nothing ! (= en)
print bla[6:3] # nothing ! (= riem)
Why don't bla[3:2] and bla[6:3] won't work ?
I use this version:
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit
(Intel)]
Gabriel Rossetti was kind enough to say:
> I'm a UTC/GMT +1, I tried obtaining the UTC time, it says it's 2 hours
> earlier than the current time (14:59). I tried various other methods, I
> still get the wrong time. Does anyone have an idea with what is wrong?
I don't see your IP since I'm read
On Oct 7, 2:40 pm, sa6113 <[EMAIL PROTECTED]> wrote:
> I use this code :
>
> import paramiko
> import socket
>
> hostname = "192.168.1.4"
> username = "test"
> port = 22
> password = ''123456"
>
> # now connect
> try:
> sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
> sock.connect
Orestis Markou wrote:
On Tue, Oct 7, 2008 at 5:39 PM, Terry Reedy <[EMAIL PROTECTED]> wrote:
Orestis Markou wrote:
Hello,
I'm the developer of PySmell ( http://github.com/orestis/pysmell ), a
static analysis/intellisense provider for Python. I am targeting
Python 2.4 code so I'm using the comp
On Tue, 07 Oct 2008 14:12:06 -0400, Terry Reedy <[EMAIL PROTECTED]> wrote:
Peter Otten wrote:
Grant Edwards wrote:
I'm getting awfully tired of constant warnings about what's
going to happen at some point in the future.
Warnings like this:
./surfplot.py:313: Warning: 'with' will become a rese
Thanks for posting this to the tracker mattias - as soon as I can
steal some time, I'll dig into it and see if I can get it teed up for
the patch release.
On Tue, Oct 7, 2008 at 6:24 AM, brasse <[EMAIL PROTECTED]> wrote:
> On Oct 6, 10:16 am, brasse <[EMAIL PROTECTED]> wrote:
>> Hello!
>>
>> I am
[EMAIL PROTECTED] wrote:
If you package your apps using setup, pyc should be automatically
generated. Don't know if it can apply to your problem. But surely I'd go
this way (ie : automating pyc creation one way or another).
Yeah, I don't package up my code, it's all integrated into my build
sys
Peter Otten wrote:
Grant Edwards wrote:
I'm getting awfully tired of constant warnings about what's
going to happen at some point in the future.
Warnings like this:
./surfplot.py:313: Warning: 'with' will become a reserved keyword in
Python 2.6
The "with" and "as" warnings bypass the warnin
On Oct 7, 1:56 pm, Christian Heimes <[EMAIL PROTECTED]> wrote:
> exiquio wrote:
> > I am trying to figure out if there is a way to make an object in
> > python callable, modules in particular. I wrongly assume that defining
> > '__call__' in the the objects __dict__ would work. Any help would be
>
On Oct 7, 1:56 pm, Christian Heimes <[EMAIL PROTECTED]> wrote:
> exiquio wrote:
> > I am trying to figure out if there is a way to make an object in
> > python callable, modules in particular. I wrongly assume that defining
> > '__call__' in the the objects __dict__ would work. Any help would be
>
2008/10/7 Peter Wang <[EMAIL PROTECTED]>:
> "gita ziabari" <[EMAIL PROTECTED]> writes:
>
>> All,
>>
>> I wanna use python to automatically insert text in ms-word properties.
>> Anyone could help me?
> Why not use VBA for that work?
Why use VBA?
It's actually not a straight choice. VBA is pretty m
On Oct 7, 12:40 pm, Thorsten Kampe <[EMAIL PROTECTED]> wrote:
> * Lawrence D'Oliveiro (Mon, 06 Oct 2008 23:18:10 +1300)
>
> > In message <[EMAIL PROTECTED]>, Thorsten Kampe
> > wrote:
> > > * Lawrence D'Oliveiro (Sun, 05 Oct 2008 22:13:46 +1300)
>
> > >> In message <[EMAIL PROTECTED]>, Michel Clave
exiquio wrote:
I am trying to figure out if there is a way to make an object in
python callable, modules in particular. I wrongly assume that defining
'__call__' in the the objects __dict__ would work. Any help would be
appreciated.
No, that doesn't work. Several magic methods (__*__) aren't lo
* Lawrence D'Oliveiro (Mon, 06 Oct 2008 23:18:10 +1300)
> In message <[EMAIL PROTECTED]>, Thorsten Kampe
> wrote:
> > * Lawrence D'Oliveiro (Sun, 05 Oct 2008 22:13:46 +1300)
> >
> >> In message <[EMAIL PROTECTED]>, Michel Claveau -
> >> NoSpam SVP ; merci wrote:
> >>
> >> > Another way is to de-ac
Ben Finney wrote:
"Martin v. Löwis" <[EMAIL PROTECTED]> writes:
Within a few weeks, we will release Python 2.5.3.
I'm glad to see this. Thank you to all involved in the ongoing work of
coordinating Python releases.
Can I request, in the interest of reducing confusion, that any
announcements
I am trying to figure out if there is a way to make an object in
python callable, modules in particular. I wrongly assume that defining
'__call__' in the the objects __dict__ would work. Any help would be
appreciated.
--
http://mail.python.org/mailman/listinfo/python-list
"Blubaugh, David A." wrote:
>I have done some additional research into the possibility of utilizing
>Python for hard real time development. I have seen on various websites
>where this has been discussed before on the internet. However, I was
>wondering as to how successful anyone has truly be
"Petr Jakeš" <[EMAIL PROTECTED]> wrote:
>"Leon Zhang" <[EMAIL PROTECTED]> wrote:
>
>>
>> I am not an expert, but why not to use time.sleep(5)?
>> If you are using wxPython, you may also try wx.Timer, in which you could
>> set its interval.
>>
>>
>Thanks for your reply.
>During the 5s period my sc
On 7 Ekim, 19:50, Jason Scheirer <[EMAIL PROTECTED]> wrote:
> On Oct 7, 9:28 am, mhangman <[EMAIL PROTECTED]> wrote:
>
>
>
> > On 7 Ekim, 18:57, Mike Driscoll <[EMAIL PROTECTED]> wrote:
>
> > > On Oct 7, 10:42 am, mhangman <[EMAIL PROTECTED]> wrote:
>
> > > > On 7 Ekim, 18:34, Mike Driscoll <[EMAIL
On Tue, Oct 7, 2008 at 5:39 PM, Terry Reedy <[EMAIL PROTECTED]> wrote:
> Orestis Markou wrote:
>>
>> Hello,
>>
>> I'm the developer of PySmell ( http://github.com/orestis/pysmell ), a
>> static analysis/intellisense provider for Python. I am targeting
>> Python 2.4 code so I'm using the compiler pa
Grant Edwards wrote:
> I'm getting awfully tired of constant warnings about what's
> going to happen at some point in the future.
>
> Warnings like this:
>
> ./surfplot.py:313: Warning: 'with' will become a reserved keyword in
> Python 2.6
The "with" and "as" warnings bypass the warning mechani
Grant Edwards wrote:
/usr/lib/python2.5/site-packages/scipy/linalg/__init__.py:32:
DeprecationWarning: NumpyTest will be removed in the next release;
please update your code to use nose or unittest
I'm also not using "the next release" of scipy, I'm using
_this_ release of scipy. I've no
On Tue, Oct 7, 2008 at 10:58 AM, Joe Strout <[EMAIL PROTECTED]> wrote:
> On Oct 7, 2008, at 8:43 AM, Benjamin Kaplan wrote:
>
> I believe that all (or nearly all) Unix variants come with Python
>> preinstalled. Ubuntu, at least, has a lot of system programs written in
>> Python. Even Mac OS X req
On Oct 7, 5:24 am, Bas <[EMAIL PROTECTED]> wrote:
> On Oct 7, 8:36 am, Lawrence D'Oliveiro <[EMAIL PROTECTED]
>
> central.gen.new_zealand> wrote:
> > In message <[EMAIL PROTECTED]>, Gabriel
>
> > Genellina wrote:
> > > As an example, in the oil industry here in my country there is a mix of
> > > me
> If you package your apps using setup, pyc should be automatically
> generated. Don't know if it can apply to your problem. But surely I'd go
> this way (ie : automating pyc creation one way or another).
Yeah, I don't package up my code, it's all integrated into my build
system,
not an actual del
On Oct 7, 9:28 am, mhangman <[EMAIL PROTECTED]> wrote:
> On 7 Ekim, 18:57, Mike Driscoll <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Oct 7, 10:42 am, mhangman <[EMAIL PROTECTED]> wrote:
>
> > > On 7 Ekim, 18:34, Mike Driscoll <[EMAIL PROTECTED]> wrote:
>
> > > > On Oct 7, 10:13 am, mhangman <[EMAIL PRO
[EMAIL PROTECTED] a écrit :
I have a large body of Python code which runs on many different (Unix)
machines concurrently. Part of the code lives in one place, but most
of it lives in directories which I find at runtime. I only have one
copy of each Python source file and I think I'm hitting a r
On Oct 7, 10:21 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I have a large body of Python code which runs on many different (Unix)
> machines concurrently. Part of the code lives in one place, but most
> of it lives in directories which I find at runtime. I only have one
> copy of each P
On Oct 7, 10:16 am, "Barak, Ron" <[EMAIL PROTECTED]> wrote:
> Would the following be suitable data structure:
> ...
> struct = {}
> struct["Nebraska"] = "Wabash"
> struct["Nebraska"]["Wabash"] = "Newville"
> struct["Nebraska"]["Wabash"]["Newville"]["topics"] = "Math"
> struct["Nebraska"]["Wabash"][
Orestis Markou wrote:
Hello,
I'm the developer of PySmell ( http://github.com/orestis/pysmell ), a
static analysis/intellisense provider for Python. I am targeting
Python 2.4 code so I'm using the compiler package.
I've been toying around yesterday with the ast module in Python 2.6
and it seems
"gita ziabari" <[EMAIL PROTECTED]> writes:
> All,
>
> I wanna use python to automatically insert text in ms-word properties.
> Anyone could help me?
Why not use VBA for that work?
>
> Thanks
> --
> http://mail.python.org/mailman/listinfo/python-list
--
http://mail.python.org/mailman/listinfo/pyt
On 7 Ekim, 18:57, Mike Driscoll <[EMAIL PROTECTED]> wrote:
> On Oct 7, 10:42 am, mhangman <[EMAIL PROTECTED]> wrote:
>
>
>
> > On 7 Ekim, 18:34, Mike Driscoll <[EMAIL PROTECTED]> wrote:
>
> > > On Oct 7, 10:13 am, mhangman <[EMAIL PROTECTED]> wrote:
>
> > > > how can we send keys to keyboard? i wan
Lawrence D'Oliveiro wrote:
In message <[EMAIL PROTECTED]>, Gabriel
Genellina wrote:
Usually it's more efficient to create all the MAX_THREADS at once, and
continuously feed them with tasks to be done.
Given that the bottleneck is most likely to be the internet connection, I'd
say the "prematu
On Oct 7, 11:11 am, "Richard Brodie" <[EMAIL PROTECTED]> wrote:
> "Gabriel Rossetti" <[EMAIL PROTECTED]> wrote in message
>
> news:[EMAIL PROTECTED]
> .
>
> > I'm a UTC/GMT +1, I tried obtaining the UTC time, it says it's 2 hours
> > earlier than the
> > current time (14:59). I tried various other
> See also http://bugs.python.org/issue3439
> where there's a proposal to expose the _PyLong_NumBits method. This
> would give an O(1) solution.
> > In every case I can think of, I've wanted (0).numbits() to be 0.
Here is surely the wrong place to respond to
http://bugs.python.org/msg71384
but
"Gabriel Rossetti" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
.
> I'm a UTC/GMT +1, I tried obtaining the UTC time, it says it's 2 hours
> earlier than the
> current time (14:59). I tried various other methods, I still get the wrong
> time. Does
> anyone have an idea with wha
On Oct 7, 10:42 am, mhangman <[EMAIL PROTECTED]> wrote:
> On 7 Ekim, 18:34, Mike Driscoll <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Oct 7, 10:13 am, mhangman <[EMAIL PROTECTED]> wrote:
>
> > > how can we send keys to keyboard? i want to write a script that will
> > > push keyboard buttons and do what
[EMAIL PROTECTED] wrote:
I have a large body of Python code which runs on many different (Unix)
machines concurrently. Part of the code lives in one place, but most
of it lives in directories which I find at runtime. I only have one
copy of each Python source file and I think I'm hitting a race
On Oct 7, 10:05 am, Gabriel Rossetti <[EMAIL PROTECTED]>
wrote:
> Hello everyone!
>
> I trying to work with time and I a bit confused... If I look at my
> clock, it's 16:59 (4:59pm), if I type "date" in a terminal, it says the
> same thing. I'm wanting to write a simple NTP-type server/client (it's
On 2008-10-07, Martin Geisler <[EMAIL PROTECTED]> wrote:
> Grant Edwards <[EMAIL PROTECTED]> writes:
>
>> I'm getting awfully tired of constant warnings about what's
>> going to happen at some point in the future.
>>
>> Warnings like this:
>>
>> ./surfplot.py:313: Warning: 'with' will become a re
On 7 Ekim, 18:34, Mike Driscoll <[EMAIL PROTECTED]> wrote:
> On Oct 7, 10:13 am, mhangman <[EMAIL PROTECTED]> wrote:
>
> > how can we send keys to keyboard? i want to write a script that will
> > push keyboard buttons and do what i want. its for a macro prog. there
> > are some kinds at c++ and at
Grant Edwards <[EMAIL PROTECTED]> writes:
> I'm getting awfully tired of constant warnings about what's
> going to happen at some point in the future.
>
> Warnings like this:
>
> ./surfplot.py:313: Warning: 'with' will become a reserved keyword in
> Python 2.6
>
> And this:
>
> /usr/lib/pyth
On Oct 7, 10:13 am, mhangman <[EMAIL PROTECTED]> wrote:
> how can we send keys to keyboard? i want to write a script that will
> push keyboard buttons and do what i want. its for a macro prog. there
> are some kinds at c++ and at java. for example actools prog. but i
> want to this in python...
>
>
Grant> In the meantime, how do I get rid of this useless warning?
I thought something like this would work:
% python2.5 -W 'ignore:.*:Warning:.*:0'
Python 2.5.3a0 (release25-maint:66627M, Sep 26 2008, 14:40:24)
[GCC 4.2.2] on sunos5
Type "help", "copyright", "credits" or "lice
I have a large body of Python code which runs on many different (Unix)
machines concurrently. Part of the code lives in one place, but most
of it lives in directories which I find at runtime. I only have one
copy of each Python source file and I think I'm hitting a race
condition where two hosts
Would the following be suitable data structure:
...
struct = {}
struct["Nebraska"] = "Wabash"
struct["Nebraska"]["Wabash"] = "Newville"
struct["Nebraska"]["Wabash"]["Newville"]["topics"] = "Math"
struct["Nebraska"]["Wabash"]["Newville"]["Math"]["Max Allowed Students"] = 20
struct["Nebraska"]["Wabas
On Mon, 6 Oct 2008 08:18:14 -0700 (PDT), [EMAIL PROTECTED] wrote:
> has anyone written a gif creator program purely in python that doesn't
> require PIL or tons of other claptrap?
If you would be interested in an old and simpleminded Python
program for manipulating PNM files, contact me by email.
On Oct 6, 2:05 pm, Steve Holden <[EMAIL PROTECTED]> wrote:
> I'm giving a talk at LISA this year, and while the slides are ready I
> would like to go armed with as many examples of good system
> administration code as possible.
>
> If you have a favorite administration tool that you wouldn't mind m
1 - 100 of 167 matches
Mail list logo