On 21 abr, 02:43, David Boddie <[EMAIL PROTECTED]> wrote:
> On Thursday 19 April 2007 22:38, Marcpp wrote:
>
> > Hi, I'm introducing to program in python + pyqt.
> > I have a main window that call a second window (to introduce a info
> > with textedit)
> > when press the second window button I need
On 21 abr, 02:43, David Boddie <[EMAIL PROTECTED]> wrote:
> On Thursday 19 April 2007 22:38, Marcpp wrote:
>
> > Hi, I'm introducing to program in python + pyqt.
> > I have a main window that call a second window (to introduce a info
> > with textedit)
> > when press the second window button I need
Hi,
I am using File I/O to input an xml file form user and parse it.I
have used something like this:
file_input = raw_input("Enter The ODX File Path:")
odx_file_output = raw_input("Enter the output file path : ")
log_file_output = raw_input("Enter the path for LogFile : ")
saveout = sys.std
What's this?
It's a Python library that enables interaction with artist/album/tracks
metadata on Last.fm. This library tries to recreate complete
functionality of LastFM Client when it comes to metadata (not streams).
What's this good for?
The code in this library allows performing standard operat
On 23 Apr 2007 21:12:45 -0700, [EMAIL PROTECTED] wrote:
>http://www.911blogger.com/node/8053
>
>Senator John Kerry was questioned concerning 9/11 during an appearance
>at Book People in Austin, Texas. Members of Austin 9/11 Truth Now
>asked Kerry about the officially unexplained collapse of WTC Bu
[EMAIL PROTECTED] wrote:
> Hey,
>
> I am helping to develop a project that displays images based on user
> input. One possible way of implementing this is via a widget that
> when it is run, would read in the users input from an input text field
> (probably from a blog), and replace it with the
Chris wrote:
> ... Quitting by typing 'sys.exit()' in the interpreter
> also works fine. Only quitting via the GUI seems to cause the
> problem.
As previously stated, I know nothing about Tkinter,
but it definitely looks like there is some cleanup being skipped
on a GUI exit that is in fac
There is discussion by the Python Software Foundation of offering cash
bounties or perhaps periodic awards to the "best of" for magazine articles,
video/screencast clips and such.
If YOU would be swayed to get involved in producing content in exchange for
cash, please speak up on the advocacy mail
Hi,
I'm wondering if there is a way to get a python script to write text
to an input box in a window of another program that is running? For
example a text box in a web browser window?
Thanks!
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> file_input = raw_input("Enter The ODX File Path:")
> odx_file_output = raw_input("Enter the output file path : ")
> log_file_output = raw_input("Enter the path for LogFile : ")
>
> saveout = sys.stdout
> try:
> f_open=open(odx_file_output, 'w')
> except:
> prin
On Apr 24, 2007, at 1:39 AM, Antoon Pardon wrote:
> On 2007-04-23, Michael Bentley <[EMAIL PROTECTED]> wrote:
>>
>> On Apr 23, 2007, at 7:38 AM, Antoon Pardon wrote:
>>
>>> The following is part of the explanation on slices in the
>>> tutorial:
>>>
>>> The best way to remember how slices work is
On 2007-04-24, Michael Bentley <[EMAIL PROTECTED]> wrote:
>
> On Apr 24, 2007, at 1:39 AM, Antoon Pardon wrote:
>
>> I suspect that if you give this explanation to someone and explain
>> that there is also a step parameter, chances are he will answer
>> correctly if you ask him, what he thinks the
On Apr 24, 2007, at 4:47 AM, Antoon Pardon wrote:
> On 2007-04-24, Michael Bentley <[EMAIL PROTECTED]> wrote:
>>
>> On Apr 24, 2007, at 1:39 AM, Antoon Pardon wrote:
>>
>>> I suspect that if you give this explanation to someone and explain
>>> that there is also a step parameter, chances are he w
Hello guys,
Not got much experience with working with minidom, but I'm looking to parse
this XML and retrieve the 'name' value from the xml.
Think Blue
0x1002
1
I've got as far as parsing the XML using self.doc =
xml.dom.minidom.parse(self.filepath) but that's as far as I've
Andy wrote:
> On 23 Apr 2007 21:12:45 -0700, [EMAIL PROTECTED] wrote:
>
>> http://www.911blogger.com/node/8053
>>
>> Senator John Kerry was questioned concerning 9/11 during an appearance
>> at Book People in Austin, Texas. Members of Austin 9/11 Truth Now
>> asked Kerry about the officially unexp
Jeff Rush wrote:
> There is discussion by the Python Software Foundation of offering cash
> bounties or perhaps periodic awards to the "best of" for magazine articles,
> video/screencast clips and such.
>
> If YOU would be swayed to get involved in producing content in exchange for
> cash, please
sophie_newbie <[EMAIL PROTECTED]> wrote:
> I'm wondering if there is a way to get a python script to write text
> to an input box in a window of another program that is running? For
> example a text box in a web browser window?
>
Yes there is, but the solution depends on the operating system
and
On Apr 24, 4:52 pm, Tim Roberts <[EMAIL PROTECTED]> wrote:
> placid <[EMAIL PROTECTED]> wrote:
> >On Apr 23, 1:01 am, Adrian Smith <[EMAIL PROTECTED]> wrote:
> >> On Apr 22, 10:09 pm, placid <[EMAIL PROTECTED]> wrote:
>
> >> > i just tried it and its working. here it is
>
> >> >http://yallara.cs.rm
Hi,
How do i right adjust my output using python.I need a output
something like this:
DID= 0x01,0x02,0x03,0x05,0x06,0x07,0x2B,0x30,0x31,0x4D,0x4E,
0x51,0x52,0x53,0x55,
minlength= 3, 3, 4, 2, 10, 10, 40, 2, 150, 4, 1,
2, 2, 1, 2, 1, 6, 3, 17, 1,
maxlength=
[EMAIL PROTECTED] wrote:
> Hi,
> How do i right adjust my output using python.I need a output
> something like this:
> DID= 0x01,0x02,0x03,0x05,0x06,0x07,0x2B,0x30,0x31,0x4D,0x4E,
> 0x51,0x52,0x53,0x55,
> minlength= 3, 3, 4, 2, 10, 10, 40, 2, 150, 4, 1,
> 2, 2, 1,
[EMAIL PROTECTED] wrote:
> How do i right adjust my output using python.
http://docs.python.org/lib/typesseq-strings.html
> minlength= 3, 3, 4, 2, 10, 10, 40, 2, 150, 4, 1,
> 2, 2, 1, 2, 1, 6, 3, 17, 1,
Something like:
>>> def write_sequence(label, sequence
On 2007-04-24, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi,
> How do i right adjust my output using python.I need a output
> something like this:
> DID= 0x01,0x02,0x03,0x05,0x06,0x07,0x2B,0x30,0x31,0x4D,0x4E,
> 0x51,0x52,0x53,0x55,
> minlength= 3, 3, 4, 2, 10, 10, 40, 2
John Nagle wrote:
> Does setting "socket.setdefaulttimeout" affect the timeout in MySQLdb
> for connections to the database? I'm getting database connection timeouts on
> a local (same machine) connnection, and I've been setting
> "socket.setdefaulttimeout" to 15 seconds so web page opens don
Hi Anton,
Thanks again. This is what I need!
my problem already solved.
Ray
Anton Vredegoor wrote:
> Ray wrote:
>
>> hi, I have a question about how to use .grid_forget (in python/TK)
>>
>> I need to work on grid repeatly. everytime when a button is pressed,
>> the rows of grid is different. su
On 2007-04-24, Michael Bentley <[EMAIL PROTECTED]> wrote:
>
> On Apr 24, 2007, at 4:47 AM, Antoon Pardon wrote:
>
>> On 2007-04-24, Michael Bentley <[EMAIL PROTECTED]> wrote:
>>>
>>> On Apr 24, 2007, at 1:39 AM, Antoon Pardon wrote:
>>>
I suspect that if you give this explanation to someone an
Ross Ridge <[EMAIL PROTECTED]> writes:
> The Unicode standard doesn't require that you support surrogates,
> or any other kind of character, so no you wouldn't be lying.
+1 on Ross Ridge's contributions to this thread.
If Unicode is processed using UTF-8 or UTF-32 encoding forms then
there are
Hi group :)
I have this standard line:
export = open(self.exportFileName , 'w')
'exportFileName' is a full path given by the user. If the user gives an
illegal path or filename the following exception is raised:
"IOError: [Errno 2] No such file or directory: /some/path/file.txt"
So at
En Tue, 24 Apr 2007 06:15:51 -0300, sophie_newbie <[EMAIL PROTECTED]>
escribió:
> I'm wondering if there is a way to get a python script to write text
> to an input box in a window of another program that is running? For
> example a text box in a web browser window?
You could use pyWinAuto on W
Hello,
Does anyone know of an example, however modest, of a screenscraper
authored in python? I am using Firefox.
Basically, I am answering problems via my browser and being scored for
each problem. I have a tendency to go past my peak for training
efficiency, so I would like to scrape the res
Tina I schrieb:
> Now, this works but of course it catches every IOError, and I can not
> figure out how to restrict it to only catch the "[Errno 2]"?
There's an example that uses the error number:
http://docs.python.org/tut/node10.html#SECTION001030
Thomas
--
sinature: http://
On Apr 21, 7:28 pm, R Wood <[EMAIL PROTECTED]> wrote:
> I know nothing about Python except that it interests me and has interested me
> since I first learned the Rekall database frontend (Linux) runs on it. I just
> ordered Learning Python and if that works out satisfactorily I'm going to go
> bac
On Apr 21, 7:28 pm, R Wood <[EMAIL PROTECTED]> wrote:
> To me this was a natural task for Perl. Turns out however, there's a catch.
> Apple exports the file in UTF-16 to ensure anyone with Chinese characters in
> their addressbook gets a legitimate Vcard file.
Here's a function that, given a `s
En Tue, 24 Apr 2007 08:44:05 -0300, Tina I <[EMAIL PROTECTED]>
escribió:
> Hi group :)
>
> I have this standard line:
>
> export = open(self.exportFileName , 'w')
>
> 'exportFileName' is a full path given by the user. If the user gives an
> illegal path or filename the following exceptio
The Real Andy wrote:
> Makes me wonder about the credibility of any statement Dr Gideon Polya
> makes.
.
I never thought that I would feel the urge to call someone an
edelweiss-eating Tanzanian devil, but Dr. Polya proved that I lacked
imagination.
(Note that "Tanzanian" is pronounced Tan.zan._ee_
Thomas Krüger wrote:
> Tina I schrieb:
>> Now, this works but of course it catches every IOError, and I can not
>> figure out how to restrict it to only catch the "[Errno 2]"?
>
> There's an example that uses the error number:
> http://docs.python.org/tut/node10.html#SECTION001030
On Apr 24, 2007, at 6:35 AM, Antoon Pardon wrote:
> On 2007-04-24, Michael Bentley <[EMAIL PROTECTED]> wrote:
>>
>> On Apr 24, 2007, at 4:47 AM, Antoon Pardon wrote:
>>
>>> On 2007-04-24, Michael Bentley <[EMAIL PROTECTED]> wrote:
On Apr 24, 2007, at 1:39 AM, Antoon Pardon wrote:
>
On Apr 24, 2007, at 11:50 AM, James Stroud wrote:
> Hello,
>
> Does anyone know of an example, however modest, of a screenscraper
> authored in python? I am using Firefox.
>
> Basically, I am answering problems via my browser and being scored for
> each problem. I have a tendency to go past my pe
On Tue, Apr 24, 2007 at 04:40:11AM -, Grant Edwards wrote:
> On 2007-04-24, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> > Anyone knows if its possible to get scan codes ???
>
> What hardware? What OS?
Debian Sarge/Etch, i386..
:P
Molte grazie.
Andres M.
>
> > I tried with getch ()
On 2007-04-24, Michael Bentley <[EMAIL PROTECTED]> wrote:
>
> On Apr 24, 2007, at 6:35 AM, Antoon Pardon wrote:
>
>> People don't read tutorials in a strictly linear fashion. They can
>> continue to later subjects and then come back here to see how things
>> tie together. So the fact that it is onl
Antoon Pardon wrote:
>> Submit a patch if you want it changed. I'm sure your valuable
>> insights will greatly improve the quality of the python documentation.
>
> Fat chance, if they reason like you.
I don't think that Michael Bentley is the documents maintainer. Are you
trying to pick a fi
On 2007-04-24, Michael Hoffman <[EMAIL PROTECTED]> wrote:
> Antoon Pardon wrote:
>
>>> Submit a patch if you want it changed. I'm sure your valuable
>>> insights will greatly improve the quality of the python documentation.
>>
>> Fat chance, if they reason like you.
>
> I don't think that Micha
On Thu, 19 Apr 2007 20:39:57 -0700, Alex Martelli <[EMAIL PROTECTED]> wrote:
> Steve Holden <[EMAIL PROTECTED]> wrote:
>
>> A long time ago Greg Stein produced a patch that removed the need for
>> the GIL, but nobody seemed to want to pay the penalty it extracted in
>> speed reduction, so it langui
Andrew --- Saw your thread on implementing DomainKeys in Python. Could
you offer me some insight into your implementation?
Thanks,
Mike
On 20 Apr, 15:58, Andrew Veitch <[EMAIL PROTECTED]> wrote:
> --- Andrew Veitch <[EMAIL PROTECTED]> wrote:
>
> > In Perl I would just use Crypt:RSA which has
[Michael Hoffman]
>> Personally, I do not think of slices in the way this tutorial suggests,
>> but I think taking it out without replacement would not help. If you
>> want to add a more accurate replacement, I think that would be better
>> received than just saying that the section should be re
Jeff Rush wrote:
> There is discussion by the Python Software Foundation of offering cash
> bounties or perhaps periodic awards to the "best of" for magazine articles,
> video/screencast clips and such.
>
> If YOU would be swayed to get involved in producing content in exchange for
> cash, please
[EMAIL PROTECTED] wrote:
> On Tue, Apr 24, 2007 at 04:40:11AM -, Grant Edwards wrote:
>> On 2007-04-24, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>
>> > Anyone knows if its possible to get scan codes ???
>>
>> What hardware? What OS?
>
> Debian Sarge/Etch, i386..
>
> :P
Gret.
Diez B. Roggisch wrote:
> [EMAIL PROTECTED] wrote:
>
>> On Tue, Apr 24, 2007 at 04:40:11AM -, Grant Edwards wrote:
>>> On 2007-04-24, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>>
Anyone knows if its possible to get scan codes ???
>>> What hardware? What OS?
>> Debian Sarge/Etch, i386
Diez B. Roggisch wrote:
> [EMAIL PROTECTED] wrote:
>
>> On Tue, Apr 24, 2007 at 04:40:11AM -, Grant Edwards wrote:
>>> On 2007-04-24, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>>
Anyone knows if its possible to get scan codes ???
>>> What hardware? What OS?
>> Debian Sarge/Etch, i386
On Apr 24, 5:47 am, Michael Hoffman <[EMAIL PROTECTED]> wrote:
> Jeff Rush wrote:
> > There is discussion by the Python Software Foundation of offering cash
> > bounties or perhaps periodic awards to the "best of" for magazine articles,
> > video/screencast clips and such.
>
> > If YOU would be swa
On Tue, Apr 24, 2007 at 09:32:29AM -0500, Larry Bates wrote:
> Diez B. Roggisch wrote:
> > [EMAIL PROTECTED] wrote:
> >
> >> On Tue, Apr 24, 2007 at 04:40:11AM -, Grant Edwards wrote:
> >>> On 2007-04-24, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >>>
> Anyone knows if its possible to
Jorgen Grahn wrote:
> On Thu, 19 Apr 2007 20:39:57 -0700, Alex Martelli <[EMAIL PROTECTED]> wrote:
>> Steve Holden <[EMAIL PROTECTED]> wrote:
>>
>>> A long time ago Greg Stein produced a patch that removed the need for
>>> the GIL, but nobody seemed to want to pay the penalty it extracted in
>>> sp
On Apr 23, 7:39 pm, [EMAIL PROTECTED] wrote:
> Anyone knows if its possible to get scan codes ???
> I tried with getch () but with no success, just keycodes.
> May be using the something in the sys.stdin module ??
>
> Pleasee, any help would be very appreciated.
>
> --
> Andrés M.
> ---
I am trying to write a user defined exception that will catch for
failed dependencies when a rpm is installed
try:
rpm -ivh xxx.rpm --force;
except RPMError:
print RPM failed dependency
Can some one tell me how to define this RPMError. I looked at python
docs but they were not useful.
-
Jorgen Grahn <[EMAIL PROTECTED]> wrote:
...
> > Perhaps the current wave of dual-core and quad-core CPUs in cheap
> > consumer products would change people's perceptions -- I wonder...
>
> Maybe it would change /perceptions/, but would normal users suddenly
> start running things that are (a) p
On Apr 24, 8:00 pm, placid <[EMAIL PROTECTED]> wrote:
> oops...i did read the problem description, but i when i tried the code
> it worked for me and when i put spaces into the TextArea it wasn't
> reflected correctly back. So i thought this was the problem.
>
> Adrian, can you still try replacing
CSUIDL PROGRAMMEr wrote:
> I am trying to write a user defined exception that will catch for
> failed dependencies when a rpm is installed
>
> try:
> rpm -ivh xxx.rpm --force;
> except RPMError:
>print RPM failed dependency
>
>
> Can some one tell me how to define this RPMError. I looke
Steve Holden <[EMAIL PROTECTED]> wrote:
...
> used to provide incentives to improve the available information about
> Python, and possibly even the software that's available in Python. I
> have undertaken to make a proposal to the PSF Board for an incentive
> scheme. So please let me have your
On Apr 23, 6:36 pm, 7stud <[EMAIL PROTECTED]> wrote:
> On Apr 23, 5:04 pm, Kevin Haynes <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hello
>
> > I was a python newbie just a month ago and found the following books a great
> > help.
>
> > Beginning Python: From Novice to Professional (Beginning: From Novice
On Apr 23, 9:52 pm, Klaas <[EMAIL PROTECTED]> wrote:
> On Apr 21, 5:14 pm, Fuzzyman <[EMAIL PROTECTED]> wrote:
>
> > Additionally, extending IronPython from C# is orders of magnitude
> > easier than extending CPython from C.
>
> Given the existence of Pyrex, that statement is pretty difficult to
>
Hi all,
I am using pexpect to drive another tool. Some of the data I get back
would be better suited as a list and I want to know a simple way to
parse the data to push it into a list.
For example
I get the following string back. I want to convert this to a list:
'("." ".." "cdslib_cleanup.py
Alex Martelli wrote:
> Steve Holden <[EMAIL PROTECTED]> wrote:
>...
>> used to provide incentives to improve the available information about
>> Python, and possibly even the software that's available in Python. I
>> have undertaken to make a proposal to the PSF Board for an incentive
>> schem
On 24 avr, 02:39, [EMAIL PROTECTED] wrote:
> Anyone knows if its possible to get scan codes ???
> I tried with getch () but with no success, just keycodes.
> May be using the something in the sys.stdin module ??
>
> Pleasee, any help would be very appreciated.
>
> --
> Andrés M.
> -
In article <[EMAIL PROTECTED]>,
Grant Edwards <[EMAIL PROTECTED]> wrote:
>I need to be able to generate a PDF report which consists
>mostly of vector images (which I can generate as encapsulated
>Postscript, PDF, or SVG). What I need is a way to combine
>these figures into a single PDF document.
2007/4/24, Steve Holden <[EMAIL PROTECTED]>:
> and I was more looking for a way to reward authors of excellence, as
> judged by some subset of the Python community - this might have to be
> the PSF membership given the impracticality of running a meaningful poll
> with a larger set of voters.
Why
Hi folks
I am trying to write a program that will install RPM.
IS there any built in Exception in python that will catch the faied
dependencies in python.
Also if not how can i write one ??
thanks
--
http://mail.python.org/mailman/listinfo/python-list
Michael Bentley wrote:
> Possibly the easiest thing will be to read from firefox' cache.
> Otherwise I think your only real options are to either build a proxy
> or sniff the wire...
Maybe another way would be to write a firefox addon/plugin. I believe python
is now supported...
--
Jeremy Sander
Hi, i need to "compile" a python source (2.3.6) to make it standalone
on Solaris 9.
I get this warning on freezing my source:
"Warning: unknown modules remain: _locale _random _socket array
binascii cStringIO datetime fcntl math pwd select strop termios time"
in the source i have: "import os, sta
Angelina Joli Paris HiltonMARISA MILLER
www.alphasearch.gr --
http://mail.python.org/mailman/listinfo/python-list
I'm new to python and I seem to get different behavior depending on...
well who knows what. Here's my question concerning importation of
packages/modules.
I want to use scipy. So at the prompt (using iPython, installed with
Enthought edition on Windows XP) I type:
ln [1]: from scipy import *
N
I'm working on tkinter paint program, mostly to learn tkinter canvas.
I have method which create buttons for oval, rectangle, line, polygon etc.
How to make oval button to be sunken when i click it and to remain sunken until
i click on another button (like rectangle and than is another button sunk
On Tue, Apr 24, 2007 at 07:41:38AM -0700, [EMAIL PROTECTED] wrote:
> On Apr 23, 7:39 pm, [EMAIL PROTECTED] wrote:
> > Anyone knows if its possible to get scan codes ???
> > I tried with getch () but with no success, just keycodes.
> > May be using the something in the sys.stdin module ??
> >
> > Pl
Hi,
OK, I'm trying to figure out how to use the ODE solver
(scipy.integrate.ode.ode). Here's what I'm doing (in iPython)
y0 = [0,1,1]
dt = 0.01
tEnd = 12
t0 = 0
Y = zeros([tEnd/dt, 3])
As an aside, I've used this assignment for Y in the past and it
worked. When I tried it this morning I got a
On 23 Apr 2007 13:52:52 -0700, Klaas <[EMAIL PROTECTED]> wrote:
> On Apr 21, 5:14 pm, Fuzzyman <[EMAIL PROTECTED]> wrote:
>
>> Additionally, extending IronPython from C# is orders of magnitude
>> easier than extending CPython from C.
>
> Given the existence of Pyrex, that statement is pretty diffic
On 2007-04-24, Cameron Laird <[EMAIL PROTECTED]> wrote:
[...]
>>I've looked at ReportLab's documentation, but although it
>>appears to be able to use bitmap images (e.g jpeg) it doesn't
>>appear to be able to use vector images (EPS/PDF/SVG).
>>
>>Is there a PDF generation library that can place EP
Cameron Laird wrote:
> In article <[EMAIL PROTECTED]>,
> Grant Edwards <[EMAIL PROTECTED]> wrote:
>> I need to be able to generate a PDF report which consists
>> mostly of vector images (which I can generate as encapsulated
>> Postscript, PDF, or SVG). What I need is a way to combine
>> these fig
On Apr 24, 2:09 pm, Quadibloc <[EMAIL PROTECTED]> wrote:
> The Real Andy wrote:
> > Makes me wonder about the credibility of any statement Dr Gideon Polya
> > makes.
>
> .
> I never thought that I would feel the urge to call someone an
> edelweiss-eating Tanzanian devil, but Dr. Polya proved that I
In article <[EMAIL PROTECTED]>,
Michael Bentley <[EMAIL PROTECTED]> wrote:
>
>On Apr 24, 2007, at 11:50 AM, James Stroud wrote:
>
>> Hello,
>>
>> Does anyone know of an example, however modest, of a screenscraper
>> authored in python? I am using Firefox.
>>
>> Basically, I am answering problems v
Occasionally someone posts to this group complaining about the lack of
"repeat ... until" in python. I too have occasionally wished for such
a construct, and after some thinking, I came up with the class below.
I'm hoping to get some feedback here, and if people besides me think
they might use it
Facundo Batista wrote:
> 2007/4/24, Steve Holden <[EMAIL PROTECTED]>:
>
>> and I was more looking for a way to reward authors of excellence, as
>> judged by some subset of the Python community - this might have to be
>> the PSF membership given the impracticality of running a meaningful poll
>> wi
Hi folks
I am new to python
I am trying to write a program that will install rpm
using rpm -ivh xxx.rpm
I want to know if python has in-built exceptions to catch no-
dependencies error.
If not how can i build them
thanks
--
http://mail.python.org/mailman/listinfo/python-list
T.Crane wrote:
> I'm new to python and I seem to get different behavior depending on...
> well who knows what. Here's my question concerning importation of
> packages/modules.
>
> I want to use scipy. So at the prompt (using iPython, installed with
> Enthought edition on Windows XP) I type:
>
>
Occasionally people post complaining about the lack of a
"repeat...until" structure in python. I thought about it and came up
with this recipe that I like. The only ugly thing is having to use
lambdas, otherwise it's very terse and readable. Tell me what you
think, and if anyone besides me think
Frank Stajano wrote:
> A simple unicode question. How do I print?
>
> Sample code:
>
> # -*- coding: utf-8 -*-
> s1 = u"héllô wórld"
> print s1
> # Gives UnicodeEncodeError: 'ascii' codec can't encode character
> # u'\xe9' in position 1: ordinal not in range(128)
>
>
> What I actually want to
Steve Holden wrote:
> John Nagle wrote:
> [socket.error bug report]
>
>>>
>>> Where did you get this information? If true it would certainly need
>>> to be logged as a bug, but under Windows on 2,4 I see
>>>
>>> >>> issubclass(socket.gaierror, Exception)
>>> True
>>> >>>
>>>
>>> and the same un
T.Crane wrote:
> I'm new to python and I seem to get different behavior depending on...
> well who knows what. Here's my question concerning importation of
> packages/modules.
>
> I want to use scipy. So at the prompt (using iPython, installed with
> Enthought edition on Windows XP) I type:
>
>
On 2007-04-24, Steve Holden <[EMAIL PROTECTED]> wrote:
>>> I've looked at ReportLab's documentation, but although it
>>> appears to be able to use bitmap images (e.g jpeg) it doesn't
>>> appear to be able to use vector images (EPS/PDF/SVG).
>>>
>>> Is there a PDF generation library that can place
T.Crane wrote:
> Hi,
>
> OK, I'm trying to figure out how to use the ODE solver
> (scipy.integrate.ode.ode).
You will get more help from the scipy-user list than you will here.
http://www.scipy.org/Mailing_Lists
> Here's what I'm doing (in iPython)
>
> y0 = [0,1,1]
> dt = 0.01
> tEnd = 12
>
On Tue, 24 Apr 2007 09:00:56 -0700, bill.sloman wrote:
> On Apr 24, 2:09 pm, Quadibloc <[EMAIL PROTECTED]> wrote:
>> The Real Andy wrote:
>> > Makes me wonder about the credibility of any statement Dr Gideon Polya
>> > makes.
>> .
>> I never thought that I would feel the urge to call someone an
>>
P:
I am using python 2.5.1 on windows. I have the following code:
conn = sqlite3.connect('.\optiondata')
c = conn.cursor()
try:
c.execute('''create table options (ssymbol text, strike real,
osymbol text, bid real, mpp real, upp real)''')
except sqlite3.OperationalError:
pass
I am hoping
John Nagle wrote:
> Steve Holden wrote:
>> John Nagle wrote:
>> [socket.error bug report]
>>
Where did you get this information? If true it would certainly need
to be logged as a bug, but under Windows on 2,4 I see
>>> issubclass(socket.gaierror, Exception)
True
>>>
On Mon, 23 Apr 2007 21:12:45 -0700, lemnitzer wrote:
> WHAT THE HELL|?| Are you saying that building was wired that day? Or
> well in advance? 'Splain, please.
No, you idiot. That was the Murrah building in OK city.
Cheers!
Rich
--
http://mail.python.org/mailman/listinfo/python-list
Grant Edwards wrote:
> On 2007-04-24, Steve Holden <[EMAIL PROTECTED]> wrote:
>
I've looked at ReportLab's documentation, but although it
appears to be able to use bitmap images (e.g jpeg) it doesn't
appear to be able to use vector images (EPS/PDF/SVG).
Is there a PDF gene
I'm looking for some assistance extending the TreeListCtrl class to
include the check box ability of the CustomTreeCtrl as well as 3-state
check boxes.
Main Column Column1
--
[o] Child1
|-[ ]Child1.1
|-[ ]Ch
Thomas Nelson wrote:
> Occasionally someone posts to this group complaining about the lack of
> "repeat ... until" in python. I too have occasionally wished for such
> a construct, and after some thinking, I came up with the class below.
> I'm hoping to get some feedback here, and if people beside
Hello Guys,
I'm Looking to build a quick if/else statement that checks a dictionary for
a key like follows.
If myDict contains ThisKey:
Do this...
Else
Do that...
Thats the best way of doing this?
Thanks,
Rob
--
http://mail.python.org/mailman
rh0dium <[EMAIL PROTECTED]> wrote:
> I am using pexpect to drive another tool. Some of the data I get back
> would be better suited as a list and I want to know a simple way to
> parse the data to push it into a list.
>
> For example
>
> I get the following string back. I want to convert t
On Apr 24, 7:17 am, Michael Bentley <[EMAIL PROTECTED]> wrote:
> On Apr 24, 2007, at 11:50 AM, James Stroud wrote:
>
>
>
> > Hello,
>
> > Does anyone know of an example, however modest, of a screenscraper
> > authored in python? I am using Firefox.
>
> > Basically, I am answering problems via my br
On Apr 24, 2007, at 12:28 PM, Robert Rawlins - Think Blue wrote:
Hello Guys,
I’m Looking to build a quick if/else statement that checks a
dictionary for a key like follows.
If myDict contains ThisKey:
Do this...
Else
Do that...
Thats the best way o
On Tue, 2007-04-24 at 18:28 +0100, Robert Rawlins - Think Blue wrote:
> Hello Guys,
>
>
>
> I’m Looking to build a quick if/else statement that checks a
> dictionary for a key like follows.
>
>
>
> If myDict contains ThisKey:
>
> Do this...
>
> Else
>
> Do
Alex Martelli wrote:
> Jorgen Grahn <[EMAIL PROTECTED]> wrote:
>...
>
>>>Perhaps the current wave of dual-core and quad-core CPUs in cheap
>>>consumer products would change people's perceptions -- I wonder...
> IronPython would appear to be coming along nicely and getting acceptance
> in the
1 - 100 of 186 matches
Mail list logo