;
>>> str(reversed('abc'))
''
So, a str doesn't "construct" like tuple/list...it's a call to
__str__().
It's designated as a "friendly print out" (that's my phrasing).
>>> list('abc')
['a',
am not sure how to interprete this, in the interactive mode:
3>0 is True
False
(3>0) is True
True
3> (0 is True)
True
Why did I get the first 'False'? I'm a little confused.
Thanks in advance for anybody who shed some light on this.
YL
--
Jon Siddle, Cor
t, but how do I use the above to replace 1 with 11?
Obviously I can't use r'\11' because there is no group 11. I know I
can use a function to do it, but it seems to me there must be a way
without. Can I escape r'\11' somehow so that it's group 1 with a '1'
a
On 17 Sep, 19:59, Peter Otten <__pete...@web.de> wrote:
> Jon Clements wrote:
> > (I reckon this is probably a question for MRAB and is not really
> > Python specific, but anyhow...)
>
> > Absolutely basic example: re.sub(r'(\d+)', r'\1', '
It is great that Fredrik Lundh's ElementTree is now a part of the
Python Standard Library.
However, Is it correct that if you want to use xml.etree.ElementTree
to parse an HTML Document that you will have to install a separate
HTMLTreeBuilder (e.g. TidyHTMLTreeBuilder) and that the only
TreeBuilde
On 12 Oct, 16:10, Roy Smith wrote:
> PEP 249 says about executemany():
>
> Prepare a database operation (query or command) and then
> execute it against all parameter sequences or mappings
> found in the sequence seq_of_parameters.
>
> are there any plans to update the api
On 12 Oct, 18:32, Roy Smith wrote:
> On Oct 12, 1:20 pm, Jon Clements wrote:
>
> > On 12 Oct, 16:10, Roy Smith wrote:
>
> > > PEP 249 says about executemany():
>
> > > Prepare a database operation (query or command) and then
> > >
On 12 Oct, 18:53, Jon Clements wrote:
> On 12 Oct, 18:32, Roy Smith wrote:
>
>
>
> > On Oct 12, 1:20 pm, Jon Clements wrote:
>
> > > On 12 Oct, 16:10, Roy Smith wrote:
>
> > > > PEP 249 says about executemany():
>
> > > >
On 12 Oct, 20:21, "J. Gerlach" wrote:
> Am 12.10.2010 17:10, schrieb Roy Smith:
>
> > [A]re there any plans to update the api to allow an iterable instead of
> > a sequence?
>
> sqlite3 (standard library, python 2.6.6., Windows 32Bit) does that already::
>
> import sqlite3 as sql
>
> connection =
rogram created a sub-folder under the new server, did the
processing, and injected the results to that folder, the client could
then drag 'n' drop to whatever folder they personally used for filing
their end.
They felt in control, and I didn't have to bugger about with maildir/
mbox/pst/eml, whether it was outlook/thunderbird/evolution etc...
If you're only doing "an email here or email there" and don't want to/
can't go full blown mail server route, then a possible option would be
to mock an imap server (most likely using the twisted framework) that
upon an 'APPEND' processes the 'received' email appropriately... (kind
of a server/procmail route...)
Just a couple of ideas.
Cheers,
Jon.
--
http://mail.python.org/mailman/listinfo/python-list
ut later on
have to kill the process as other higher-priority processes need RAM
-- that's fine.
Cheers,
Jon.
--
http://mail.python.org/mailman/listinfo/python-list
On 21 Oct, 16:45, Nobody wrote:
> On Thu, 21 Oct 2010 02:34:15 -0700, Jon Clements wrote:
> > I'm after something that says: "I want 512mb of physical RAM, I don't
> > want you to page/swap it, if you can't do that, don't bother at all".
> >
will never see it. Later on in the program I will get unexpected
behavior because the module never successfully imported. I want the
program to fail if the extension module fails to import, but continue
if the module doesn't exist. Is there a correct way to handle this?
Jon
--
andle_extension_magic_module()
>
It seems less than ideal to tie my program's behavior to what
essentially boils down to a documentation string. Is this the
preferred way to handle this?
Jon
--
http://mail.python.org/mailman/listinfo/python-list
ered a
bug I wasn't previously seeing because now the program was failing
early! :)
I hope there isn't a hidden naivete in using this pattern.
Thanks,
Jon
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, Nov 9, 2010 at 4:30 AM, Roy Smith wrote:
> In article ,
> Lawrence D'Oliveiro wrote:
>
>> In message , Roy Smith wrote:
>>
>> > On the other hand, if your module's bug is that it in turn imports some
>> > other module, which doesn't exist, you'll also get an ImportError.
>>
>> Does it re
On Mon, Nov 8, 2010 at 11:35 PM, Lawrence D'Oliveiro
wrote:
> In message , Roy Smith wrote:
>
>> On the other hand, if your module's bug is that it in turn imports some
>> other module, which doesn't exist, you'll also get an ImportError.
>
> Does it really matter? Either way, the module is unusab
On Wed, Nov 10, 2010 at 1:50 AM, Lawrence D'Oliveiro
wrote:
> In message , Jon
> Dufresne wrote:
>
>> On Mon, Nov 8, 2010 at 11:35 PM, Lawrence D'Oliveiro ...
>
> I see that you published my unobfuscated e-mail address on USENET for all to
> see. I obfuscated it
On 2017-02-27, Vincent Vande Vyvre wrote:
> Le 27/02/17 à 14:09, Chris Angelico a écrit :
>> The message is a little confusing, but the error comes from the fact
>> that literal_eval permits a very few legal operations, and calling a
>> function isn't one of them. So when you try to evaluate the "
On 2017-02-27, Chris Angelico wrote:
> On Tue, Feb 28, 2017 at 1:18 AM, Jon Ribbens
> wrote:
>> "execution" isn't really the right way to describe literal_eval().
>> It isn't an code executor or even an expression evaluator, all it
>> does is turns a
On 2017-02-27, Chris Angelico wrote:
> On Tue, Feb 28, 2017 at 3:17 AM, Jon Ribbens
> wrote:
>> On 2017-02-27, Chris Angelico wrote:
>>> Actually it does execute, as you can see from the source code.
>>
>> I'm not sure what you mean by that. I was looking
On 2017-02-27, Chris Angelico wrote:
> On Tue, Feb 28, 2017 at 3:58 AM, Jon Ribbens
> wrote:
>> Seeing as most of it is code along the lines of "is this an integer
>> constant? if so the value is that constant": no, I think "execution"
>> is a mislead
On 2017-02-28, Chris Angelico wrote:
> On Tue, Feb 28, 2017 at 11:35 AM, Jon Ribbens
> wrote:
>> Sorry, I must have missed something here. What are you talking about?
>> "lambda: [1,2,3]" is not acceptable input to ast.literal_eval(), it
>> will throw an exc
On 2017-03-14, Chris Angelico wrote:
>> (The bash rm command will ask you before deleting, but Python's os.remove
>> just removes it.)
>
> (And the rm command won't ask if you say "-f".)
rm does not ask before deleting. However some Linux distributions
take it upon themselves to put "alias rm='rm
On 2017-03-14, Chris Angelico wrote:
> On Wed, Mar 15, 2017 at 12:30 AM, Jon Ribbens
> wrote:
>> rm does not ask before deleting. However some Linux distributions
>> take it upon themselves to put "alias rm='rm -i'" in /etc/profile.
>
> I have no such
On 2017-03-14, Frank Millman wrote:
> If I type 'alias' at the console, it lists current aliases. 'root' shows
> exactly what Jon quoted above. 'frank' shows no alias for 'rm'.
>
> I had a quick look to see what was setting it, but there is n
On 2017-03-14, Lele Gaifax wrote:
> Jon Ribbens writes:
>>>Otherwise, if a file is unwritable, standard input is a terminal, and
>>>the -f or --force option is not given, or the -i or --interac‐
>>>tive=always option is given, rm prompts
On 2017-03-16, Robin Becker wrote:
> On 15/03/2017 13:53, Steve D'Aprano wrote:
>> You probably can't make a whale fly just by changing the class to bird. It
>> will need wings, and feathers, at the very least.
>
> the whale in the Hitchhiker's Guide found itself flying without
> feathers or wings
On 2017-03-18, Grant Edwards wrote:
> On 2017-03-18, Mikhail V wrote:
>> How would one come to the idea to use spaces for indentation at all?
>
> Because tabs are a major security vulnerability and should be outlawed
> in all source code.
You forgot to mention that tabs are carcinogenic, can be
On 2017-03-19, breamore...@gmail.com wrote:
> On Sunday, March 19, 2017 at 9:54:52 PM UTC, Larry Hudson wrote:
>> A trivial point (and irrelevant)... The thing I find annoying
>> about an editor set to expand tabs to spaces is that it takes one
>> keypress to indent but four (or whatever) to unin
On 2017-03-19, Erik wrote:
> On 19/03/17 22:29, Jon Ribbens wrote:
>> Not to mention plenty of editors (e.g. vim) will unindent when you
>> press backspace.
>
> I don't think that's strictly true. If you have just indented with a tab
> character, then backsp
On 2017-03-21, Michael Torrie wrote:
> On 03/21/2017 08:15 AM, Mikhail V wrote:
>> Didn't want to say this, but you know it was quite predictable from
>> the beginning that the arguments will end up somewhere in "linux
>> console is the center of the universe, e-macs is mother of all apps
>> and m
On 2017-03-22, Thomas Nyberg wrote:
> I can't speak for the maintainers, but I don't think that providing such
> a list is super reasonable considering that there are many different OSs
> which have sometimes have slightly different library package names
> (though of course one could argue that
On 2017-03-22, Grant Edwards wrote:
> On 2017-03-22, Thomas Nyberg wrote:
>> On 03/22/2017 03:22 PM, Jon Ribbens wrote:
>>> A simple table with a list of the library names, the debian package
>>> names, and the rpm names would provide the information in a way that
>
On 2017-04-10, jorge.conr...@cptec.inpe.br wrote:
> I installed the Pillow in my computer. The I did:
>
> import Image, ImageMath
>
> ImportError: No module named Image
Try:
from PIL import Image, ImageMath
--
https://mail.python.org/mailman/listinfo/python-list
On 2017-04-19, Matt wrote:
> I have a number of simple scripts I run with cron hourly on Centos
> linux. I want the script to check first thing if its already running
> and if so exit.
>
> In perl I did it with this at the start of every script:
>
> use Fcntl ':flock';
> INIT {
>
On 2017-04-20, Cameron Simpson wrote:
> Others have pointed the way to an exact implementation.
>
> For myself, I like mkdir. It is portable. It is atomic. It fails if
> the target exists. It works over NFS etc. It is easy.
>
> os.mkdir('lock')
> ... do stuff ...
> os.rmdir('lock')
One dow
On 2017-04-24, CFK wrote:
> Long version: I'm trying to write bindings for python via ctypes to control
> a library written in C that uses the bdwgc garbage collector (
> http://www.hboehm.info/gc/). The bindings mostly work, except for when
> either bdwgc or python's garbage collector decide to
On 2017-05-28, Bill Deegan wrote:
> As a follow up to a discussion on IRC #python channel today.
>
> Assuming the same order of insertions of the same items to a dictionary
> would the iteration of a dictionary be the same (not as the order of
> insertion, just from run to run) for Python 2.7 up t
On 2017-05-28, Steve D'Aprano wrote:
> What exactly did you think I got wrong?
3.6 does preserve the dict order. It isn't a guarantee so may change
in future versions, but it is what 3.6 actually does.
>> If you're asking "given a fixed Python version, and where appropriate
>> PYTHONHASHSEED=0,
On 2017-05-29, Peng Yu wrote:
> I got the following error when I try to eval the following code with
> def. Does anybody know what is the correct way to evaluation python
> code that contains `def`? Thanks.
exec
--
https://mail.python.org/mailman/listinfo/python-list
On 2017-05-30, Skip Montanaro wrote:
> Assuming the underlying database supports transactions, is there any
> difference between calling the commit() method on the connection and
> calling the execute method on the cursor with the "commit transaction"
> statement? It seems a bit asymmetric to me t
On 2017-05-30, Joseph L. Casale wrote:
>> There's no difference I'm aware of in the implementations I've used,
>> but having a consistent API does allow for constructions such as:
>>
>> try:
>> do_stuff(conn)
>> except:
>> conn.rollback()
>> finally:
>> conn.commit()
>
> So you always
On 2017-05-30, Dennis Lee Bieber wrote:
> On Tue, 30 May 2017 13:42:14 - (UTC), Jon Ribbens
> declaimed the following:
>>On 2017-05-30, Skip Montanaro wrote:
>>> Assuming the underlying database supports transactions, is there any
>>> difference between call
On 2017-05-30, Dennis Lee Bieber wrote:
> On Tue, 30 May 2017 15:12:55 - (UTC), Jon Ribbens
> declaimed the following:
>>I can't make head nor tail of what they are trying to say there.
>>Mind you, it doesn't help that the DB-API concept of cursors seems
>>to
On 2017-05-30, Ian Kelly wrote:
> On Tue, May 30, 2017 at 1:27 PM, Jon Ribbens
> wrote:
> A cursor is just a control structure for traversing over a result set.
Exactly - so it makes no sense at all to have one when there is no
result set. It makes even less sense to require one in
On 2017-05-31, Ian Kelly wrote:
> On Tue, May 30, 2017 at 4:57 PM, Jon Ribbens
> wrote:
>> A DB-API "cursor" is a database connection
>
> Baloney. Creating a cursor does not spawn a new connection to the
> database. Cursors created from a connection share that co
On 2017-05-31, Skip Montanaro wrote:
> I'm kind of stuck with the database API I have. ("Love the child you
> have, not the one you wish you had?") Given that I have the choice to
> execute those three statements to bound a transaction, is there any
> reason not to use them instead of
>
> (conn or
On 2017-05-31, Peter Otten <__pete...@web.de> wrote:
> Jon Ribbens wrote:
>> You would do:
>>
>> cur.execute("SELECT ...")
>> for row1 in cur.fetchall():
>> cur.execute("SELECT ...")
>> for row2 in cur.fet
On 2017-05-31, DFS wrote:
> On 5/31/2017 6:26 AM, Jon Ribbens wrote:
>> Yes, this is indeed a problem with DB-API - you have to keep *two*
>> objects around all the time (the connection and the cursor) and pass
>> them to functions, etc, when in any sensible system as
On 2017-05-31, Peter Otten <__pete...@web.de> wrote:
> Jon Ribbens wrote:
>> Indeed. I think this would not work, in general. For example, I think
>> with MySQLdb it would work if you use a standard Cursor class, as that
>> downloads the entire result set as soon as
On 2017-05-31, Pavol Lisy wrote:
> But althoug return from execute is undefined (
> https://www.python.org/dev/peps/pep-0249/#id16 ), you could iterate
> over cursor ( https://www.python.org/dev/peps/pep-0249/#iter )
... which is also optional.
--
https://mail.python.org/mailman/listinfo/python-
On 2017-05-31, Chris Angelico wrote:
> On Thu, Jun 1, 2017 at 12:10 AM, Jon Ribbens
> wrote:
>> ... unless you want to call .commit() or .rollback().
>> Which is where we came in.
>
> Technically you CAN commit from the cursor:
>
> cur.connection.commit()
On 2017-05-31, Ian Kelly wrote:
> On Wed, May 31, 2017 at 4:26 AM, Jon Ribbens
> wrote:
>> Baloney yourself - I didn't say it was a *new* connection. In DB-API,
>> a Connection is basically nothing - you can do nothing at all with it.
>> A Cursor is actually what an
On 2017-06-01, Gregory Ewing wrote:
> Is there any serious work being done on a DB API 3.0?
> If there is, I'd be interested in helping with the design.
There are a bunch of existing APIs in other languages that can easily
be copied ;-) The good news is of course that since the DB-API
'Connection
On 2017-06-02, Frank Millman wrote:
> "Frank Millman" wrote in message news:ogr3ff$sg1$1...@blaine.gmane.org...
>
>> By default, psycopg2 uses 'autocommit', which means that even a SELECT is
>> preceded by a 'BEGIN' statement internally. I never changed the default, so
>> all of the following ass
On 2017-06-02, Dennis Lee Bieber wrote:
> Connector/Python (MySQL) [guess it is time for me to finally upgrade to
> Python 3.x -- it was the delay in getting mysqldb ported that held me back]
> does allow for turning on autocommit -- which is documented as issuing an
> implicit commit after
On 2017-06-02, Chris Angelico wrote:
> On Sat, Jun 3, 2017 at 2:45 AM, Jon Ribbens wrote:
>> Bewaare - MyISAM tables have no transactions for DML but they do have
>> transactions for DDL. Insane but true.
>
> Not insane; not all DBMSes have transactional DDL, and of the
On 2017-06-02, Chris Angelico wrote:
> On Sat, Jun 3, 2017 at 5:31 AM, Jon Ribbens wrote:
>> I'm not saying that transactional DDL is insane (it isn't), but MyISAM
>> tables having transactions *only* for DDL is... surprising. Especially
>> when it suddenly appeare
ord 'object' because an object has
a specific meaning in Python.
Am I on the right track here?
Cordially,
Jon Forrest
--
https://mail.python.org/mailman/listinfo/python-list
n
> object).
The distinction between an "object" and "element" is key here. (This
might be seen as pedantic, but I think it's important to be clear,
especially in a book intended for beginners, as I am.
> Hope this helps.
Thanks for taking the time to reply.
On 6/3/2017 5:03 PM, Ben Finney wrote:
Jon Forrest writes:
I'm learning about Python. A book I'm reading about it
Can you say which book, and where in the book it says this?
With all due respect, I'd rather not. The author has been very
responsive when I raised this iss
nce,
but in this case it's clear that each element of a list is an object.
Jon
--
https://mail.python.org/mailman/listinfo/python-list
On 6/3/2017 5:23 PM, Steve D'Aprano wrote:
On Sun, 4 Jun 2017 05:10 am, Jon Forrest wrote:
We can fix the book's statement by changing it to:
A sequence is an ordered collection of *elements* ...
That's exactly what I was thinking, but then there'd have to
be a
On 2017-06-05, Mahmood Naderan wrote:
> Maybe... But specifically in my case, the excel file is exported
> from a web page. I think there should be a way to read the content
> as a pure text.
I have a vague memory that Excel stores dates as integers,
so if you were to read the raw data you would
On 2017-06-06, Peter Otten <__pete...@web.de> wrote:
> ...but not the empty string:
>
float("")
> Traceback (most recent call last):
> File "", line 1, in
> ValueError: could not convert string to float:
>
> Maybe there were some backward compatibility concerns that I lack the
> fantasy t
On 2017-06-06, Thomas Nyberg wrote:
> My changes feel a bit hacky. I wanted to just drop a straight repr() in,
> but I didn't want to change the code too much since I assume the string
> formatting is already there for a reason (e.g. "%.200s").
Just change the '%.200s' to '%.200R' and it should w
On 2017-06-06, Thomas Nyberg wrote:
> On 06/06/2017 11:46 AM, Jon Ribbens wrote:
>> On 2017-06-06, Thomas Nyberg wrote:
>>> My changes feel a bit hacky. I wanted to just drop a straight repr() in,
>>> but I didn't want to change the code too much since I ass
On 2017-07-10, John Black wrote:
> While you're at it, throw these rules in and the group will appear very
> clean and on topic.
>
> Subject contains "PEDOFILO"
> Or
> Subject contains "MAI"
> Or
> Subject contains "SEGRETO"
[snip >100 lines of rules]
Or just "subject does not contain any lower-
On 2017-07-09, Michael Torrie wrote:
> I'm sure Google could filter them if it chose. Behind the group,
> though, is the Usenet newsgroup, which is unmoderated and decentralized,
> and you can't filter there.
... unless the group were changed to be moderated, which it really
ought to be, being a
On 2017-07-10, John Black wrote:
> In article ,
> jon+use...@unequivocal.eu says...
>> On 2017-07-10, John Black wrote:
>> > While you're at it, throw these rules in and the group will appear very
>> > clean and on topic.
>> >
>> > Subject c
ction decorators would never work. (I'm not 100% sure
my understanding of function decorators is correct since I'm
still learning about them).
What's the right way to think about this?
Cordially,
Jon Forrest
--
https://mail.python.org/mailman/listinfo/python-list
utable. So what
would be the point to recreate such object every time the function is
called ?
This was just an example program, not meant to do anything
meaningful. I would think that the same object behavior would
occur if I dynamically created an object in that function.
Jon
e reference count ever go to zero?
Jon
--
https://mail.python.org/mailman/listinfo/python-list
On 2017-08-08, Chris Angelico wrote:
> On Wed, Aug 9, 2017 at 2:57 AM, Larry Martell wrote:
>> Yeah, it does not throw for 'A|B|' - but mysql chokes on it with empty
>> subexpression for regexp' I'd like to flag it before it gets to SQL.
>
> Okay, so your definition of validity is "what MySQL wil
On 2017-08-09, Cameron Simpson wrote:
> On 08Aug2017 17:31, Jon Ribbens wrote:
>>On 2017-08-08, Chris Angelico wrote:
>>> On Wed, Aug 9, 2017 at 2:57 AM, Larry Martell
>>> wrote:
>>>> Yeah, it does not throw for 'A|B|' - but mysql chokes on
On 2017-08-10, Cameron Simpson wrote:
> On 09Aug2017 10:46, Jon Ribbens wrote:
>>On 2017-08-09, Cameron Simpson wrote:
>>> On 08Aug2017 17:31, Jon Ribbens wrote:
>>>>... but bear in mind, there have been ways of doing denial-of-service
>>>>attacks wit
On 2017-08-22, Skip Montanaro wrote:
> I'm using the requests module with timeouts to fetch URLs, for example:
>
> response = requests.get("http://www.google.com/";, timeout=10)
>
> I understand the timeout value in this case applies both to creating the
> connection and fetching the remote co
On 2017-08-22, Chris Angelico wrote:
> On Wed, Aug 23, 2017 at 2:58 AM, Jon Ribbens
> wrote:
>> Yes. There is no timeout feature that can be used to limit the total
>> time a 'requests' request takes. Some people might think that this is
>> a serious flaw in th
On 2017-08-22, Chris Angelico wrote:
> The low-level timeout will distinguish between those. If you want a
> high-level timeout across the entire job, you can do that too, but
> then you have to figure out exactly how long is "too long". Let's say
> you set a thirty-second timeout. Great! Now some
On 2017-08-22, Chris Angelico wrote:
> On Wed, Aug 23, 2017 at 5:06 AM, Jon Ribbens
> wrote:
>> I have no idea what you mean here. The only sane way to implement the
>> request timeout is to provide both types of timeout.
>
> You could provide both, but since on
On 2017-08-23, Chris Angelico wrote:
> On Wed, Aug 23, 2017 at 9:10 PM, Jon Ribbens
> wrote:
>> I am interested to learn what you mean by "with a thread". How would
>> one execute a requests, er, request in a thread with a proper timeout?
>
> Assuming that b
On 2017-08-23, Chris Angelico wrote:
> On Wed, Aug 23, 2017 at 10:52 PM, Jon Ribbens
> wrote:
>> Yes, what I was interested to learn was how the monitoring thread can
>> "cut off" the requesting thread.
>
> Ah, I see. That partly depends on your definition o
On 2017-08-23, Chris Angelico wrote:
> Yes and no. If requests provided a 'cancel query' feature, it would
> play nicely with everything else, but (a) the entire concept here is
> that the request has stalled, so you COULD just ignore the pending
> query and pretend it's failed without actually ca
On 2017-08-23, Chris Angelico wrote:
> On Thu, Aug 24, 2017 at 8:54 AM, Jon Ribbens
> wrote:
>> On 2017-08-23, Chris Angelico wrote:
>>> Yes and no. If requests provided a 'cancel query' feature, it would
>>> play nicely with everything else, but (a)
On 2017-08-24, Chris Angelico wrote:
> On Thu, Aug 24, 2017 at 9:43 PM, Jon Ribbens
> wrote:
>> Where did you explain how it can be done without help? As far as I'm
>> aware, you can't close the socket without help since you can't get
>> access to it, and
On 2017-08-24, Chris Angelico wrote:
> On Fri, Aug 25, 2017 at 12:17 AM, Jon Ribbens
> wrote:
>> On 2017-08-24, Chris Angelico wrote:
>>> On Thu, Aug 24, 2017 at 9:43 PM, Jon Ribbens
>>> wrote:
>>>> Where did you explain how it can be done without
On 2017-08-25, Chris Angelico wrote:
> That looks like an exception to me. Not a "process is now terminated".
> That's what happened when I pressed Ctrl-C (the IP address was
> deliberately picked as one that doesn't currently exist on my network,
> so it took time).
Ok yes, so ctrl-C is sending
On 2017-08-25, dieter wrote:
> This may no longer work. Long ago, I have often been plagued
> by such EINTR exceptions, and I have wished heavily that in those
> cases the IO operation should be automatically resumed. In recent time,
> I have no longer seen such exceptions - and I concluded that m
On 2017-08-25, Chris Angelico wrote:
> On Sat, Aug 26, 2017 at 1:47 AM, Jon Ribbens
> wrote:
>> On 2017-08-25, Chris Angelico wrote:
>>> That looks like an exception to me. Not a "process is now terminated".
>>> That's what happened when I presse
On 2017-08-25, Chris Angelico wrote:
> On Sat, Aug 26, 2017 at 5:40 AM, Jon Ribbens
> wrote:
>> On 2017-08-25, Chris Angelico wrote:
>>> On Sat, Aug 26, 2017 at 1:47 AM, Jon Ribbens
>>> wrote:
>>>> On 2017-08-25, Chris Angelico wrote:
>>>&g
On 2017-08-25, Chris Angelico wrote:
> On Sat, Aug 26, 2017 at 6:16 AM, Jon Ribbens
> wrote:
>> I said it in the majority of the posts I've made in this thread.
>> I said it in the post you were responding to just now. I'm using
>> threads. Now I've said i
27;ll check out the FOR Loop in python and see how it is
different from the WHILE Loop.
________
From: nelson jon kane
Sent: Sunday, January 28, 2018 6:05:04 PM
To: python-list@python.org
Subject: Re: Welcome to the "Python-list" mailing list (Digest mode)
W
When I enter the word python in the search box on my Chrome Windows 10, this is
what comes up. Can you tell me what each of these "types" of Python mean? Thank
you.
[cid:aa3fd74d-d71d-42c0-b063-4f20c463987b]
From: Python-list on
behalf of python-list-requ...@p
"Caleb Hattingh" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL
PROTECTED]>...
> STILL...Having a Delphi-like IDE for Python would make me giddy.I know
> there are several ever-improving options out there already...I guess I am
> waiting to see which one floats to the surface. I also
** All the posts found in google are old. I'm assuming new improvements have
been made to both IDEs. **
Please correct me if I'm wrong, I'm a newbie.
1. Which one of them requires fewer lines to accomplish the same thing?
from what I understand QT it's just like Borland J-Builder. Meaning, you
I want to create a simple script that dials my modem to whatever number I
specify.
Any tips on modules to be used? google didn't help much this time.
Platform: SuSE 10.1 Linux 2.6.x (but since it will be done in Python, I'm
assuming it doesn't matter what platform I'm using right?)
thanks in ad
On Feb 7, 2008 8:52 AM, <[EMAIL PROTECTED]> wrote:
> I try to install Python in a Dell D620 with XP PRO version 5.1.2600
> and I am getting this error. I assume that some dlls are missing but I
> installed form a fresh python-2.5.1.msi without errors msg.
>
> Thanks
>
> Roberto
>
>
Sounds like a
On Feb 11, 2008 9:21 PM, W. Watson <[EMAIL PROTECTED]> wrote:
> ... that is free for use without advertising that I can use on my web pages?
> I have no idea is suitable for this. My knowledge of Python is somewhat
> minimal at this point. Maybe Java is better choice.
>
> --
>
On Fri, Feb 15, 2008 at 9:55 AM, W. Watson <[EMAIL PROTECTED]> wrote:
> Is there a library that contains a pop-up menu class from a mouse click on a
> graphics image?
> --
> Wayne Watson (Nevada City, CA)
>
> Web Page:
> --
> http://mail.python
901 - 1000 of 1223 matches
Mail list logo