On Oct 22, 9:47 pm, Ohmster <[EMAIL PROTECTED]> wrote:
> I am trying to use this cool script that some MIT guy wrote and it just
> does not work, I get a stream of errors when I try to run it. It is
> supposed to visit a URL and snag all of the pictures on the site. Here is
> the script:http://web.
On Oct 22, 9:06 pm, [EMAIL PROTECTED] wrote:
> hi everyone, i'm very new to python and to this forum. i'm actually
> just trying to work through the tutorial on webpy.org. so far, so
> good, but as i tried to incorporate a postgresql database into the
> demo web app i'm receiving this error print
On Wed, 2007-10-24 at 16:54 +, chris wrote:
> I need to maintain a list of subscribers to an email list for a
> "newsletter" that will be sent via a web form probably once a month.
> I anticipate low numbers--tens to maybe one hundred subscribers at the
> most. Just curious what the best way t
te__ )
Of course this is imperfect as a user can simply bypass the
__getattribute__ call too and access __dict__ directly, but it's
closer to what I was thinking. The problem is the return value for
functions is not bound - how do I bind these to the associated
instance?
(Caveat - I am
27;m', 'l', 'o', 'n', 'q', 'p',
> 's', 'r', 'u', 't', 'w', 'v', 'y', 'x', 'z']
> s1 = "".join(ch for ch in s1 if ch in
.
>>> x = X()
>>> set_x.__get__( x, X )( 5 )
>>> x.x
5
The logical next question then is how does one best add a new method
to this class so that future references to x.set_x() and X.set_x will
properly resolve? It seems the answer would be to somehow add to
X.__dict__
Thank you all for the detailed replies, I appreciate it. I only read
up on this yesterday morning, but I feel I've gotten a lot of insight
in a short time thanks to your contributions to this thread. Useful
all around!
Adam
On Oct 26, 2:50 am, Bruno Desthuilliers wrote:
> Chris Mellon
This has been on Cheese Shop for a few weeks now, being updated now and
then, but I never really announced it. I just now put up a real web
page for it, so I thought I'd take the opportunity to mention it here.
ZestyParser is my attempt at a flexible toolkit for creating concise,
precise, and Pyth
Thanks for the responses; you're right, and I have now posted the
examples online. I just released version 0.6.0, by the way, which has
several worthwhile improvements and much better documentation. It also
includes an example for parsing RDF Notation3, to demonstrate a parsing
task a bit more comp
Calvin Spealman wrote:
> On 1/15/07, Steven D'Aprano <[EMAIL PROTECTED]> wrote:
>> On Mon, 15 Jan 2007 17:50:56 -0500, Calvin Spealman wrote:
>>
>>> assert foo(0x10) == 0 # Assertions are much better tests than prints :-)
>> I dispute that assertion (pun intended).
>
> Hah!
>
>> Firstly, print s
Steven D'Aprano wrote:
> On Mon, 15 Jan 2007 21:01:35 -0600, Ron Adam wrote:
>
>
>> There have been times where I would like assert to be a little more
>> assertive
>> than it is. :-)
>>
>> ie.. not being able to turn them off with the -0/-00 switc
Carl Banks wrote:
> Ron Adam wrote:
>> There have been times where I would like assert to be a little more assertive
>> than it is. :-)
>>
>> ie.. not being able to turn them off with the -0/-00 switches, and having
>> them
>> generate a more verbose traceb
Neil Cerutti wrote:
> On 2007-01-16, Ron Adam <[EMAIL PROTECTED]> wrote:
>> I have to admit that part of why assert seems wrong to me is
>> the meaning of the word implies something you shouldn't be able
>> to ignore. While warnings seem like somet
Is there a function to find a filename from a dotted module (or package) name
without importing it?
The imp function find_module() doesn't work with dotted file names. And it
looks like it may import the file as it raises an ImportError error exception
if
it can't find the module. (Shouldn
Ron Adam wrote:
> Is there a function to find a filename from a dotted module (or package) name
> without importing it?
>
> The imp function find_module() doesn't work with dotted file names. And it
> looks like it may import the file as it raises an ImportError error exc
from __future__ import absolute_import
Is there a way to check if this is working? I get the same results with or
without it.
Python 2.5 (r25:51908, Sep 19 2006, 09:52:17)
[MSC v.1310 32 bit (Intel)] on win 32
_Ron
--
http://mail.python.org/mailman/listinfo/python-list
Peter Otten wrote:
> Ron Adam wrote:
>
>> from __future__ import absolute_import
>>
>> Is there a way to check if this is working? I get the same results with
>> or without it.
>>
>> Python 2.5 (r25:51908, Sep 19 2006, 09:52:17)
>> [MS
Peter Otten wrote:
> Ron Adam wrote:
>
>>
>> work
>> |
>> |- foo.py# print "foo not in bar"
>> |
>> `- bar
>> |
>> |- __init__.py
>> |
>> |- foo.py# print "foo in
Stef Mientki wrote:
>> Do you mean something like that?
>>
> import some_module
>> Traceback (most recent call last):
>> File "", line 1, in ?
>> ImportError: No module named some_module
> import sys
> sys.path.append("..")
> import some_module
> Rob,
> thank you very much,
> that
Peter Otten wrote:
> Ron Adam wrote:
>
>> Peter Otten wrote:
>>> Ron Adam wrote:
>>>
>>>> work
>>>> |
>>>> |- foo.py# print "foo not in bar"
>>>> |
>>>> `- bar
now2
1194790069.0
... etc. If you're starting the other direction, change the format string
passed to strptime to match the pattern of your existing strings. The standard
docs for the time module has all the details.
- Adam
From: [EMAIL PROTECTED] o
ified site locally. Including
images, but you could probably limit it to HTML easily enough.
I haven't used either extensively, but they appear to work as advertised. It
should be easy to modify one and tie it into the MySQLdb extensions:
http://sourceforge.net/projects/mysql-pyth
with execfile in the embedded interpreter, there's no
sys.argv to look at. Is there another way to get the current script's
full pathname?
Thanks in advance.
- Adam
--
http://mail.python.org/mailman/listinfo/python-list
other types (int, list, etc) need only __cmp__.
Code which uses <= to compare sets would be assumed to want subset
operations. Generic containers should use cmp() exclusively.
[1] http://mail.python.org/pipermail/python-3000/2007-October/011072.html
--
Adam Olsen, aka Rhamphoryncus
--
http://mail.python.org/mailman/listinfo/python-list
f any free tools for building MSIs, but I'd love to find
one.
- Adam
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
Behalf
> Of sturlamolden
> Sent: Wednesday, November 14, 2007 9:54 AM
> To: [email protected]
> Subject: Re: Crea
That works well, thank you!
- Adam
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of Gabriel Genellina
> Sent: Wednesday, November 14, 2007 12:34 AM
> To: [email protected]
> Subject: Re: current script path via execfile
datetime also has the strftime method:
import datetime
datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')
- Adam
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
Behalf
> Of [EMAIL PROTECTED]
> Sent: Thursday, November 15, 2007
I'm using to using Pod::Usage in my Perl programs (a snipped example
is shown below, if you're interested) to generate a little man page
when they are called with the -h option.
Is there an equivalent in Python?
Thanks,
Adam
##
use Pod::Usage;
getopts("ha:b:c&qu
On 2007-12-08, Neil Cerutti wrote:
> On 2007-12-08, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:
>> On Fri, 7 Dec 2007 20:12:21 +, Adam Funk <[EMAIL PROTECTED]>
>> declaimed the following in comp.lang.python:
>>
>>> I'm using to using Pod::Usag
On 2007-12-08, Dennis Lee Bieber wrote:
> On Fri, 7 Dec 2007 20:12:21 +0000, Adam Funk <[EMAIL PROTECTED]>
> declaimed the following in comp.lang.python:
>
>> I'm using to using Pod::Usage in my Perl programs (a snipped example
>> is shown below, if you're
On 2007-12-10, sturlamolden wrote:
> We have seen several examples that 'dynamic' and 'interpreted'
> languages can be quite efficient: There is an implementation of Common
> Lisp - CMUCL - that can compete with Fortran in efficiency for
> numerical computing. There are also versions of Lisp than
On 2007-12-10, Nick Craig-Wood wrote:
> That said, python does a good job of turning doc strings and class
> descriptions into man pages even without any special markup, if you
> wrote docstrings everywhere. Try pydoc on any bit of python (without
> the .py) and you'll see what I mean
>
> As for
.
Is it possible to configure this to pass each line of input into line
as it comes?
Thanks,
Adam
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, 2007-12-18 at 19:25 +, Fabian Braennstroem wrote:
> Hi to all,
>
> thanks, I'll try your suggestions...
>
> Regards!
> Fabian
>
> Brian Munroe schrieb am 12/15/2007 07:10 PM:
> > Well, If you wish to go that route, I believe you will have to reverse
> > engineer the Notes Database bi
On 2007-12-18, Jonathan Gardner wrote:
>> As a test, I tried this:
>>
>>for line in fileinput.input():
>> print '**', line
>>
>> and found that it would print nothing until I hit Ctl-D, then print
>> all the lines, then wait for another Ctl-D, and so on (until I pressed
>> Ctl-D twice in
On 2007-12-20, Tim Roberts wrote:
>>As a test, I tried this:
>>
>> for line in fileinput.input():
>> print '**', line
>>
>>and found that it would print nothing until I hit Ctl-D, then print
>>all the lines, then wait for another Ctl-D, and so on (until I pressed
>>Ctl-D twice in succession
Alex Martelli wrote:
> "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
>
>> Alex Martelli wrote:
>>> As suggested to me by David Rushby 10 hours ago,
>>>
>>> http://www.microsoft.com/downloads/details.aspx?FamilyId=272BE09D-40BB-4
>>> 9FD-9CB0-4BFA122FA91B&displaylang=en
>>>
>>> does work.
>> Can you
Alex Martelli wrote:
> Ron Adam <[EMAIL PROTECTED]> wrote:
>...
>> I still get the following with the tinyurl link:
>>
>> ~~~
>> The download you requested is unavailable. If you continue to see this
>> message when trying to access this download, go
Hello, I'm writing a physics simulator back-end with a built-in,
threaded server that for the moment is quite simple. I've faced a few
problems in writing this code, however, as it's the first time I've
played with threading. For the moment, everything works decently, but I
need (or rather, want) a
Rony Steelandt wrote:
>
> "One problem is that python tools suck," he wrote. Wallace compared the
> various IDEs and other developer tools available to Microsoft's freely
> available Visual Studio Express and called them "toys."
>
>
>
> What s wrong with VI ??? :)
User error, evidently. Someti
Ken Tilton wrote:
> Alexander Schmolck wrote:
> > [trimmed groups]
> >
> > Ken Tilton <[EMAIL PROTECTED]> writes:
> >
> >
> >>yes, but do not feel bad, everyone gets confused by the /analogy/ to
> >>spreadsheets into thinking Cells /is/ a spreadsheet. In fact, for a brief
> >>period I swore off th
Without any more information I would say the biggest contributor to
this dissimilarity is your experience. Having spent an additional five
years writing code you probably are better now at programming than you
were then. I am fairly confident that if you were to take another crack
at these same pro
Just as a note, TurboGears has added a lot that would change the
scoring on this. The project has been moving pretty quickly towards 1.0
lately, and I would advise anyone interested in a comparison to check
out the recent changes before making a final decision. The same will
probably hold true for
I'm having some cross platform issues with timing loops. It seems
time.time is better for some computers/platforms and time.clock others, but
it's not always clear which, so I came up with the following to try to
determine which.
import time
# Determine if time.time is better than t
John Machin wrote:
> On Jan 14, 7:05 am, Ron Adam <[EMAIL PROTECTED]> wrote:
>> I'm having some cross platform issues with timing loops. It seems
>> time.time is better for some computers/platforms and time.clock others, but
>
> Care to explain why it seems
Fredrik Lundh wrote:
> John Machin wrote:
>
>> AFAICT that was enough indication for most people to use time.clock on
>> all platforms ...
>
> which was unfortunate, given that time.clock() isn't even a proper clock
> on most Unix systems; it's a low-resolution sample counter that can
> happi
[EMAIL PROTECTED] wrote:
> Hi Python list,
>
> I have been struggleling with this before, but have never been able to
> find a good solution.
> The thing I dont understand is, I follow the guide here:
> http://docs.python.org/tut/node8.html#SECTION00842
> And have the same setup
t;
message come up, I get a keyerror instead:
Traceback (most recent call last):
File "C:\Users\Adam\Desktop\ddd.py", line 26, in
if int(webPage.headers['Content-Length']) == existSize:
File "C:\Python25\lib\rfc822.py", line 384, in __getitem__
return se
02_game_scripting_in_python.php
<http://www.gamasutra.com/view/feature/2963/gdc_2002_game_scripting_in_python.php>
--
Adam Pletcher
Technical Art Director
Volition/THQ
www.volition-inc.com
From: [EMAIL PROTECTED] on behalf of t3chn0n3rd
Sent: Sun 2/3/20
I did a stupid thing and "wrote in" under the advance key
bindings section, and after hitting apply I got a load of exceptions.
Now my shell wont open and my IDEL wont start anymore I
uninstalled and reinstalled Python with no luck, the whacked settings
must be lingering around somewhere. I
Tried running IDEL from the command prompt to get this:
Traceback (most recent call last):
File "c:\Python25\Lib\idlelib\idle.pyw", line 21, in
idlelib.PyShell.main()
File "c:\Python25\lib\idlelib\PyShell.py", line 1404, in main
shell = flist.open_shell()
File "c:\Python25\lib\idlel
, Chris <[EMAIL PROTECTED]> wrote:
> On Feb 5, 7:05 pm, "Adam W." <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Tried running IDEL from the command prompt to get this:
>
> > Traceback (most recent call last):
> > File "c:\Python2
import subprocess
proc = subprocess.Popen(r'C:\example.bmp', shell=True)
- Adam
From: [EMAIL PROTECTED] on behalf of E-Lo
Sent: Tue 2/5/2008 6:34 PM
To: [email protected]
Subject: Running files with the associated program...
Hello all,
How c
I know there is an easy way to do this, but I can't figure it out, how
do I get the color of a pixel? I used the ImageGrab method and I want
to get the color of a specific pixel in that image. If you know how
to make it only grab that pixel, that would also be helpful.
Basically I'm trying to mak
I'm at the last stage of my project and the only thing left to do is
trigger a mouse click. I did some searching around for example code
and stumped upon SendInput
http://msdn2.microsoft.com/en-us/library/ms646310.aspx
. However I was not able to find example code for python USING
SendInput, and
I have Python 2.5 and win32 extensions on Vista at work, no problems. I have
to ask the obvious question... did you download the right win32 installer?
There's different ones for Python 2.4 vs. 2.5, etc.
- Adam
From: [EMAIL PROTECTED] on behalf of [
I am using the xml.sax package, and I'm running into a little
problem. When I use the parse(url, ContentHandler()) method, I don't
know what parse() is naming the instance of ContentHandler.
I have a sub-class of ContentHandler make a dictionary of what it
parses, but the problem is I don't know
On Feb 17, 6:12 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> It's a bit hard to get what you are after, but maybe this solves your
> problem?
>
> handler = FeedHandler()
>
> parse(handler)
>
> print handler.my_instance_variable_of_choice
>
> The above assumes that my_instance_variable_of_cho
open windows and reran it, and it recompiled the pyc and the code
"worked". But now there is a new problem. I added a print statement
to the except clause to make sure it was executing, and something
funny happen, it printed 3 times and then spat this out:
File "C:\Users\Adam\Deskt
:
self.data.append('No habla la Unicode')
And the exception:
File "C:\Users\Adam\Desktop\XMLWorkspace.py", line 65, in characters
try:
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2026' in
position 83: ordinal not in ra
Hi,
I've got a python web-application being served by apache via
mod_python, in which the users sessions are tracked via the mod_python
Session module.
Some of websites generated contain a java-script function which starts
a jsonrpc call to the same server and gets further data or stores
something
Hi,
I've got a python web-application being served by apache via
mod_python, in which the users sessions are tracked via the mod_python
Session module.
Some of websites generated contain a java-script function which starts
a jsonrpc call to the same server and gets further data or stores
something
On Feb 21, 10:48 am, [email protected] (Aahz) wrote:
> In article <[email protected]>,
>
> =?ISO-8859-15?Q?=22Martin_v=2E_L=F6wis=22?= wrote:
> >> Yes, I know that. But every concrete representation of a unicode string
> >> has to have an encoding associated with it, including unic
I call a function get_items() which returns a list of items.
However, in some cases, it returns just one item.
It returns the item as an object though, not as a list containing one object.
In other cases it simply returns None.
What is the cleanest way to iterate over the return value of this func
2008/11/27 Stefan Behnel <[EMAIL PROTECTED]>:
> adam carr wrote:
>> I call a function get_items() which returns a list of items.
>> However, in some cases, it returns just one item.
>> It returns the item as an object though, not as a list containing one object.
>>
Denis kindly provided the following code which does this well:
def mkiter( x ):
""" list -> list, el -> [el], None -> []
usage: for x in mkiter( func returning list or
singleton ): ...
"""
return (x if hasattr( x, "__iter__" ) # list tuple ...
else [] if x is None
el
I have read in my copy of Programming Python that all strings will be
Unicode and there will be a byte type.
This is mentally keeping me from upgrading to 2.6 .
I'm curious, but are there still some who prefer Python 2.5?
I don't mind constructive criticsm.
--
http://mail.python.org/mailman/listi
conratulatios..
Here's my dear friend largest mobile library programs
All you care programs :
Witness all the programs in the modern world Alkmiotr
Honored by your visit
You'll see in the blogger
1.If you are suffering from a virus protection programs most important
to you
AVG Anti-Virus Free
conratulatios..
Here's my dear friend largest mobile library programs
All you care programs :
Witness all the programs in the modern world Alkmiotr
Honored by your visit
You'll see in the blogger
1.If you are suffering from a virus protection programs most important
to you
AVG Anti-Virus Free
conratulatios..
Here's my dear friend largest mobile library programs
All you care programs :
Witness all the programs in the modern world Alkmiotr
Honored by your visit
You'll see in the blogger
1.If you are suffering from a virus protection programs most important
to you
AVG Anti-Virus Free
e copies of shared
> bytecode, likely, and maybe also a compilation performance savings. So it
> sounds like a win, but it is a win that can deferred for initial simplicity,
> to prove the concept is or is not workable.
>
> A monitor allows a single thread to run at a time; that is the same
> situation as the present GIL. I guess I don't fully understand your model.
To use your terminology, each monitor is a context. Each thread
operates in a different monitor. As you say, most C functions are
already thread-safe (reentrant). All I need to do is avoid letting
multiple threads modify a single mutable object (such as a list) at a
time, which I do by containing it within a single monitor (context).
--
Adam Olsen, aka Rhamphoryncus
--
http://mail.python.org/mailman/listinfo/python-list
, or more blocks of shared memory created more easily. On the other
> hand, the creation of shared memory blocks shouldn't be a high-use operation
> in a program that has sufficient number crunching to do to be able to
> consume multiple cores/CPUs.
>
>> Or use safethread. It impose
We would like to announce that this Saturday November 15th from 3 to 6pm is
the Chicago Lug code review meeting.
If you're stuck on a piece of code, looking to learn a few tricks, or just
wanna hang out with some nerds, then come by.
We will have people with knowledge in C, Python, Django, Ruby,
On Feb 23, 7:18 pm, bvdp wrote:
> Gabriel Genellina wrote:
> > En Mon, 23 Feb 2009 23:31:20 -0200, bvdp escribió:
> >> Gabriel Genellina wrote:
> >>> En Mon, 23 Feb 2009 22:46:34 -0200, bvdp escribió:
> Chris Rebert wrote:
> > On Mon, Feb 23, 2009 at 4:26 PM, bvdp wrote:
>
> > [pro
On Feb 27, 9:55 am, Falcolas wrote:
> If order did matter, and the list itself couldn't be stored in memory,
> I would personally do some sort of hash of each item (or something as
> simple as first 5 bytes, last 5 bytes and length), keeping a reference
> to which item the hash belongs, sort and i
On Apr 6, 3:02 pm, George Sakkis wrote:
> For example, it is common for a function f(x) to expect x to be simply
> iterable, without caring of its exact type. Is it ok though for f to
> return a list for some types/values of x, a tuple for others and a
> generator for everything else (assuming it'
On Apr 8, 8:09 am, George Sakkis wrote:
> On Apr 7, 3:18 pm, Adam Olsen wrote:
>
> > On Apr 6, 3:02 pm, George Sakkis wrote:
>
> > > For example, it is common for a function f(x) to expect x to be simply
> > > iterable, without caring of its exact type. Is it
On Apr 13, 8:39 pm, Grant Edwards wrote:
> On 2009-04-13, Peter Otten <[email protected]> wrote:
>
> > But there's a cache. A change of file contents may go
> > undetected as long as the file stats don't change:
>
> Good point. You can fool it if you force the stats to their
> old values after you
On Apr 15, 11:04 am, Nigel Rantor wrote:
> The fact that two md5 hashes are equal does not mean that the sources
> they were generated from are equal. To do that you must still perform a
> byte-by-byte comparison which is much less work for the processor than
> generating an md5 or sha hash.
>
> I
On Apr 15, 12:56 pm, Nigel Rantor wrote:
> Adam Olsen wrote:
> > The chance of *accidentally* producing a collision, although
> > technically possible, is so extraordinarily rare that it's completely
> > overshadowed by the risk of a hardware or software failure produci
On Apr 16, 3:16 am, Nigel Rantor wrote:
> Adam Olsen wrote:
> > On Apr 15, 12:56 pm, Nigel Rantor wrote:
> >> Adam Olsen wrote:
> >>> The chance of *accidentally* producing a collision, although
> >>> technically possible, is so extraordinarily rare that
On Apr 16, 8:59 am, Grant Edwards wrote:
> On 2009-04-16, Adam Olsen wrote:
> > I'm afraid you will need to back up your claims with real files.
> > Although MD5 is a smaller, older hash (128 bits, so you only need
> > 2**64 files to find collisions),
>
> You don&
On Apr 16, 11:15 am, SpreadTooThin wrote:
> And yes he is right CRCs hashing all have a probability of saying that
> the files are identical when in fact they are not.
Here's the bottom line. It is either:
A) Several hundred years of mathematics and cryptography are wrong.
The birthday problem
On Apr 16, 4:27 pm, "Rhodri James"
wrote:
> On Thu, 16 Apr 2009 10:44:06 +0100, Adam Olsen wrote:
> > On Apr 16, 3:16 am, Nigel Rantor wrote:
> >> Okay, before I tell you about the empirical, real-world evidence I have
> >> could you please accept that hashe
On Apr 17, 5:30 am, Tim Wintle wrote:
> On Thu, 2009-04-16 at 21:44 -0700, Adam Olsen wrote:
> > The Wayback Machine has 150 billion pages, so 2**37. Google's index
> > is a bit larger at over a trillion pages, so 2**40. A little closer
> > than I'd like, but th
On Apr 17, 9:59 am, norseman wrote:
> The more complicated the math the harder it is to keep a higher form of
> math from checking (or improperly displacing) a lower one. Which, of
> course, breaks the rules. Commonly called improper thinking. A number
> of math teasers make use of that.
Of cou
On Apr 17, 9:59 am, SpreadTooThin wrote:
> You know this is just insane. I'd be satisfied with a CRC16 or
> something in the situation i'm in.
> I have two large files, one local and one remote. Transferring every
> byte across the internet to be sure that the two files are identical
> is just n
Any idea why I didn't see this reply on my ng? I only see the reply from
Marco. Can't help but wonder if there is more that is not getting through
here.
Would someone mind forwarding me any other replies?
FWIW I'm using news.east.cox.net.
Thanks,
-Adam
> Mike Driscoll wrot
Wow, thanks Nick! This is just what I was looking for!
Thanks to Peter as well. And as for your suggestion that I probably
shouldn't mess with things I don't understand and learn the basics first...
well, that is probably sound advice, but I figured out years ago that I
learn things best by a)
I second this.
I am very interested in PyCard having just discovered it in your message
here. I know I'll run in to this same problem in my application that will
run test routines that must have a mechanism to abort.
Sorry for the lack of any help here...
-Adam
"daved170" w
I am a bit confused as too when, if ever, it is not appropriate to prepend
'self' to objects in a class. All of the examples of how to use 'self' that
I find seem to be short and very simple (as examples tent to be). I
appologize if I am asking an ignorant question here, but I want to get off
o
Thanks a lot everyone! This really cleared it up for me! :)
"Adam Gaskins" wrote in message
news:[email protected]...
>I am a bit confused as too when, if ever, it is not appropriate to prepend
>'self' to objects in a class. All of the examples of
n the
documentation to explain how to do this. Also some people said to use
tksnack snack, but the one example I found to do this didn't do anything
on my machine, no error or sounds. I'd like this to be cross platform,
but at this point I just want to do it any way I can.
Thanks,
-A
On May 19, 5:05 am, [email protected] wrote:
> Thanks for explaining a few things to me. So it would seem that
> replacing the GIL with something which allows better scalability of
> multi-threaded applications, would be very complicated. The paper by
> Jesse Nolle which I referen
david odey wrote:
I write to inform you that the reason I subscribed to this web page
is not been met.
I want to be sent sample codes in programming languages especially
python and an email tutorial on C#. I will be happy if these demands
are met.
Thanks in anticipation.
ALWAYS THERE F
We have a situation where we want a Swig-generated Python class to
have a different base (not object). It doesn't appear that we can
coerce Swig into generating the class we want at present (but we are
still enquiring).
Is it possible to dynamically change the base class to something else?
Initial
On Jul 7, 9:11 am, George Sakkis <[EMAIL PROTECTED]> wrote:
> On Jul 7, 9:31 am, "Adam C." <[EMAIL PROTECTED]> wrote:
>
>
>
> > We have a situation where we want a Swig-generated Python class to
> > have a different base (not object). It doesn't
On Jul 7, 4:04 pm, Carl Banks <[EMAIL PROTECTED]> wrote:
> On Jul 7, 9:31 am, "Adam C." <[EMAIL PROTECTED]> wrote:
>
>
>
> > We have a situation where we want a Swig-generated Python class to
> > have a different base (not object). It doesn't app
On Jul 7, 10:44 pm, Michele Simionato <[EMAIL PROTECTED]>
wrote:
> On Jul 7, 8:08 pm, "Adam C." <[EMAIL PROTECTED]> wrote:
>
> > Thanks. I think we would want new-style classes, and 6-year-old
> > patches strike me as maybe a little out of the desired path
So I wrote a little video podcast downloading script that checks a
list of RSS feeds and downloads any new videos. Every once in a while
it find a character that is out of the 128 range in the feed and my
script blows up:
Traceback (most recent call last):
File "C:\Users\Adam\Desktop\Re
901 - 1000 of 1390 matches
Mail list logo