[EMAIL PROTECTED] schrieb:
> I have taken the coments and think I have implemented most. My only
Unfortunately, no.
> question is how to use the enumerator. Here is what I did, I have tried
> a couple of things but was unable to figure out how to get the line
> number.
>
> def Xref(filename):
>
> You'll be surprised at how many XMLers agree that Web services are a
> pretty inept reinvention of CORBA. I was pretty much slain by this
> take:
>
> http://wanderingbarque.com/nonintersecting/2006/11/15/the-s-stands-for-simple
Thanks for that! Sums up nicely my experiences, and gave me a good
> OK I see that now. Thanks for pointing that out. So basically, I can't
> do what I want at all. That's a bit of a pain. Is there no way of
> tricking Qt into thinking I'm running it in the main thread?
Maybe you can either invert the thread-roles - that is, run your "main"
application in a threa
anders wrote:
>
> Diez B. Roggisch wrote:
>> > OK I see that now. Thanks for pointing that out. So basically, I can't
>> > do what I want at all. That's a bit of a pain. Is there no way of
>> > tricking Qt into thinking I'm running it in the ma
Patch / Bug Summary
___
Patches : 406 open (-10) / 3479 closed (+16) / 3885 total ( +6)
Bugs: 931 open ( +1) / 6349 closed (+16) / 7280 total (+17)
RFE : 245 open ( +1) / 244 closed ( +0) / 489 total ( +1)
New / Reopened Patches
__
Logging M
Victor Ng wrote:
> Subject line pretty much says it all - are those the only two editors
> that support running the symbolic debugger from inside the editor?
Nope, eric for example does as well. And I presume komodo will do that also.
Diez
--
http://mail.python.org/mailman/listinfo/python-list
srj wrote:
> i wish to develop an NFS server usin python from scratch( some wise guy
> told me i'ts easy!).
> can i get any kinda tutorial for this??
>
> any suggestions on how 2 begin?
Ask the wise guy. All others install an NFS server.
Diez
--
http://mail.python.org/mailman/listinfo/python-l
hollowspook schrieb:
> def aa():
> global b
> b=b+1
> print b
>
> b=1
> aa()
>
> The above code runs well in python shell.
>
> However I have a problem as follows.
>
> new a file named test.py
> --
Tommy Grav schrieb:
> Trying to update my ActivePython installation I mistakenly downloaded
> the Intel Mac version (rather than the PPC version) and tried to install
> it.
> The version did install but did not run of course. However, now trying
> to install the PPC version of Activepython or even
Craig schrieb:
> Fredrik Lundh wrote:
>
>> Craig wrote:
>>
>>> I'm only new to Python so please bear with me. I using ElementTree to
>>> generate an XML file that will reference a DTD and an XSL file. The
>>> header information I want at the start of the file is as follows:
>>>
>>>
>>>
>>>
>>
Edwin Gomez wrote:
> I'm a C# developer and I'm new to Python. I would like to know if the
> concept of Asynchronous call-backs exists in Python. Basically what I
> mean is that I dispatch a thread and when the thread completes it invokes
> a method from the calling thread. Sort event driven co
tsjuan schrieb:
> Hello python users,
>
> I am just learning on how to use xmlrpc and stumbled upon how to pass
> com object
> from server to client side.
>
> The client side complain about can't marshall the com object. I don't
> know what type
> of marshall command I should use to pass the obje
Gerard Brunick schrieb:
> Consider:
>
> >>> def negate(func):
> ... def wrapper(*args, **kwargs):
> ... return not func(*args, **kwargs)
> ... return wrapper
> ...
> >>> def f(x):
> ... return x > 10
> ...
> >>> g = negate(f)
> >>> g(20)
> False
> >>> g(5)
> True
>
> Now
Hi all,
I am a newbie as far as python is concerned ... I am trying to write a code
for playing bridge in obj oriented manner ..
Well ... i have this small problem:
class hand:
def __init__(self,set_of_cards=[]):
self.set_of_cards=set_of_cards
card_played_flag =0
def play(played_
Ron Garret schrieb:
> One of the things I find annoying about Python is that when you make a
> change to a method definition that change is not reflected in existing
> instances of a class (because you're really defining a new class when
> you reload a class definition, not actually redefining i
Patch / Bug Summary
___
Patches : 407 open ( +1) / 3484 closed ( +5) / 3891 total ( +6)
Bugs: 936 open ( +5) / 6363 closed (+14) / 7299 total (+19)
RFE : 246 open ( +1) / 244 closed ( +0) / 490 total ( +1)
New / Reopened Patches
__
sys.id()
> First off, i was wondering if this is a reasonable setup: The entire
> process would involve a server which manages which pc is processing
> which set of data (which may be a given text file or the like), and a
> client application which i would run on a few pc's locally when they
> aren't in us
> but am wondering exactly what 'resources' are left available when the
> r.close method is called in the __del__ method of RealTypeResourceCleaner.
>
> In particular, can I rely on the module globals of r still being present
> if the RealType instance is going away because the main script has
>
> Web-badges serve slightly different purpose than logos. It is more for
> the purpose of promotion, than representation. For the same reason,
> there are mascots. For example, Java the language, has a official logo
> of a smoking coffee cup, but also has a mascot of a penguin named
> “Duke”.
h
[EMAIL PROTECTED] wrote:
> Hi,
>
> Im totally new to Python so please bare with me.
>
> Data is entered into my program using the folling code -
>
> str = raw_input(command)
> words = str.split()
>
> for word in words:
> word = unicode(word,'latin-1')
> word.encode('utf8')
>
> This gives
kai rosenthal wrote:
> Hello,
>
> with ls -l on windows I get
> -rw-r--r-- 1 500 everyone 320 Nov 09 09:35 myfile
>
> How can I get on windows with a standard python 2.2 (without windows
> extensions) the information "500" and "everyone" (owner and group)?
> Also I cannot use popen('ls -l').
Ar
JKPeck schrieb:
> We are interested in building a module index for our libraries similar
> to the global module index on the Python site. Is there a tool/script
> available that builds something similar to that automatically? We
> would probably want the result to be an html document.
Several, e
Patch / Bug Summary
___
Patches : 413 open ( +6) / 3489 closed ( +5) / 3902 total (+11)
Bugs: 943 open ( +7) / 6364 closed ( +1) / 7307 total ( +8)
RFE : 246 open ( +0) / 244 closed ( +0) / 490 total ( +0)
New / Reopened Patches
__
popen() s
[EMAIL PROTECTED] wrote:
> I want to make a Python app that runs in the background, and when a
> user hits a key combination, for a function to run. This sounds simple
> enough, but all of the keypress detecting libraries I can find count on
> you creating a window and then detecting keypresses wh
>> I can't figure out if I want SOAP, or CORBA, or would it just be
> Unless you are talking to an existing CORBA interface, don't go there.
Can't agree to that. CORBA is by far better than SOAP. And writing an
IDL is actually a easy and straightforward thing to do - no tools
needed, as when wri
[EMAIL PROTECTED] wrote:
> Is there a way to run Excel macro's with jython? Similar to the
> win32com in python? Thank you.
I wish people using Jython would remember that whatever they desire the
runtime to do, they should investigate the Java options for their
problem - and then simply use that
Richard Jones schrieb:
> Diez B. Roggisch wrote:
>> Python has no notion of pointers
>
> See:
>
> http://docs.python.org/lib/module-ctypes.html
>
> In particular:
>
> http://docs.python.org/lib/ctypes-pointers.html
Certainly cool, yet not too helpful
avlee schrieb:
> Hello
>
> Is it possible to use in python variables with dynamicly created names ?
> How ?
In such cases, use a dictionary:
vars = {}
for some_name, some_value in some_values_generating_thing():
vars[some_name] = some_value
Diez
--
http://mail.python.org/mailman/listinf
> Is it redundant according to your criteria, yes I would say:
>
> a = {True: a, False: c}[condition]
>
> or
>
> a = [c, a][condition]
>
> would yield exactly the same even in one sentence
Obviously it is _not_ the exact same.
def fac(n):
return n * fac(n-1) if n else 1
Try that wit
cgi.py multipart/form-data (2006-12-07)
http://python.org/sf/1610654 opened by Chui Tey
\b in unicode regex gives strange results (2006-12-07)
CLOSED http://python.org/sf/1611131 opened by akaihola
os.path.exists("file/") failure on Solaris 9 (2006-12-07)
http://pyt
>
> Most values tend to work, but only because the SQL string representation
> happens to be the same as the Python representation. That may not apply to
> some float values, bool, perhaps others. I had hoped the tools would have
> solved those problems so I don't have to. In typed languages (J
vertigo schrieb:
>
> Hello
>
> I receive such error:
> File "p4.py", line 24, in PrintWordCountFloat
> print "%s %f" % (word,words[word])
> TypeError: list indices must be integers
>
> i call PrintWordCountFloat with hash table, keys are words(string) and
> values float.
> This part of the
>
> The advantage of static typing in this context is that the variable still
> holds the type even if the value happens to be null. Any value that has been
> exposed to user input comes back as a string and has to be validated and
> converted to the correct data type. Static typing provides a
manstey wrote:
> Hi,
>
> Is is possible to have two classes, ClassA and ClassB, and
> setattr(ClassA, 'xx',ClassB), AND to then have ClassA.xx store an
> integer value as well, which is not part of ClassB?
>
> e.g. If ClassB has two properties, name and address:
>
> ClassA.xx=10
> ClassA.xx.nam
Bruce wrote:
class A:
> ... def __init__(self):
> ... self.t = 4
> ... self.p = self._get_p()
> ... def _get_p(self):
> ... return self.t
> ...
a = A()
a.p
> 4
a.t += 7
a.p
> 4
>
> I would like to have it that when I ask for p, method _get_p is always
> called so
> I understand your elaborations.
>
> Possibly "sqlalchemy" should do the same, until it's fully functional
> and do not 'frustrate users'.
>
> And "Turbogears", too. And Django, as it's still not fully functional
> (mainly due to it's deficient ORM layer).
>
> Or all those projects remain open(
Hendrik van Rooyen wrote:
> "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
>
>> So - stop it, go away, and please, pretty please with sugar on top: don't
>> come back. Python doesn't need you, this NG doesn't need you, no FOSS
>> project n
Patch / Bug Summary
___
Patches : 420 open ( +6) / 3510 closed (+12) / 3930 total (+18)
Bugs: 944 open ( -5) / 6391 closed (+15) / 7335 total (+10)
RFE : 249 open ( +2) / 245 closed ( +0) / 494 total ( +2)
New / Reopened Patches
__
cp720 enc
Peter Wang wrote:
> Michele Simionato wrote:
>> The subject says it all, I would like a script to act differently when
>> called as
>> $ python script.py and when called as $ python -i script.py. I looked
>> at the sys module
>> but I don't see a way to retrieve the command line flags, where should
Patch / Bug Summary
___
Patches : 413 open ( -7) / 3521 closed (+11) / 3934 total ( +4)
Bugs: 946 open ( +2) / 6400 closed ( +9) / 7346 total (+11)
RFE : 248 open ( -1) / 246 closed ( +1) / 494 total ( +0)
New / Reopened Patches
__
Auto-comp
ne*
> can't be enough of a motivation for this? To me, it is far from
> self-evident what purpose function annotations would serve.
>
> I also wonder why a very obtrusive syntax addition is needed when it
> clearly is possible to annotate functions in today's Python. Why is
&
krishnakant Mane wrote:
> hello,
> I have read about zope and found it very good.
> but right now I am a bit confused about one project I have just procured.
> it is supposed to be a simple 3 tear application. the front end will
> be a thin client which we will develop using wxpython.
> We are us
homsky-0 (regular language) Grammar?
Nope.
LALR is a context free grammar parsing technique.
Regular expressions can't express languages like
a^n b^n
but something like
is ^2^2
Diez
--
http://mail.python.org/mailman/listinfo/python-list
gonzlobo schrieb:
> Greetings, and happyNewYear to all.
>
> I picked up Python a few weeks ago, and have been able to parse large
> files and process data pretty easily, but I believe my code isn't too
> efficient. I'm hoping dictionaries will help out, but I'm not sure the
> best way to implement
Helmut Jarausch schrieb:
> [EMAIL PROTECTED] wrote:
>> Way to go.
>> Try doing this.
>> x = MutableNumeric(42)
> ^^
> where is this defined?
In the OPs example.
Diez
--
http://mail.python.org/mailman/listinfo/python-list
mm wrote:
> (Yes, I konw whats an object is...)
> BTW. I did a translation of a pi callculation programm in C to Python.
> (Do it by your own... ;-)
Is that a question on how to optimize code you won't show us? If yes, I'm
sorry to tell you that crystal balls are short these days. Too much
new-ye
mm wrote:
>
> Is there a Perl to Python converter?
> Or in general: a XY to Python converter?
>
> Is see, that Python is much better then Perl anyway.
> But for beginners, they whant to konw how is this done with Python etc.
>
> Sure, there are some docus out there in the internet. But a conver
Dotan Cohen wrote:
> On 03/01/07, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
>> if you're unable to follow written instructions, how on earth did you
>> manage to subscribe to this list ?
>>
>>
>>
>
> Actually, I'm a compete idiot and I always post to the mailing list
> instead of RTFM or STFW. Wh
>
> I think that it *is* possible to do it, but a whole lot of work had to
> be done to achieve this. It is all about how many rules (like how to
> convert this block of unreadable code of language X into a readable
> python block) you are willing to find/program (and these are a lot). It
> is a
Patch / Bug Summary
___
Patches : 418 open ( +5) / 3522 closed ( +1) / 3940 total ( +6)
Bugs: 959 open (+13) / 6405 closed ( +5) / 7364 total (+18)
RFE : 250 open ( +2) / 245 closed ( -1) / 495 total ( +1)
New / Reopened Patches
__
update to
>> It is definitely _not_ possible. There are so many design decisions
>> that are differing based on what a language offers - e.g. generators,
>> garbage collection, precise control over memory layout and so on.
>
>Inter-language translators have been written. There's usually
> a performan
Sean O'Donnell schrieb:
> Hi,
>
> I can't seem to get MySQLdb/1.2.1p2 to install on Slackware/10.2, with
> Python/2.4.1, and MySQL/5.0.18.
>
> The following command:
>
> $ python setup.py build 2> setup.err
>
> returns the following errors:
>
> http://pastebin.com/851624
>
> Any suggestions?
[EMAIL PROTECTED] wrote:
> Hey Everyone,
>
> Was just wondering if anyone here could help me. I want to encode (and
> subsequently decode) email addresses to use in URLs. I believe that
> this can be done using MD5.
Are you by chance after a way to create URLs that contain an email which the
ser
king kikapu wrote:
>> Python code is normally deployed as straight source code.
>
> But isn't this a problem of its own ?? I mean, many people do not feel
> good if the know that their source code is lying around on other
> machines...
This has been discussed a bazillion times on this list - the
> I'm looking for a tool to take an actual .pdf file and display it in a
> window (I'm using wxwidgets at the moment)
No idea if there is a one-shot-kills-them-all solution out there - but
if you have a way to go for windows, you might checkout PyQt and PyKDE
to embed a kpfd-view in a window of
[EMAIL PROTECTED] schrieb:
> Coming from a C++ / C# background, the lack of emphasis on private data
> seems weird to me. I've often found wrapping private data useful to
> prevent bugs and enforce error checking..
>
> It appears to me (perhaps wrongly) that Python prefers to leave class
> data pu
vizcayno schrieb:
> Hello:
> Need your help in the "correct" definition of the next function. If
> necessary, I would like to know about a web site or documentation that
> tells me about best practices in defining functions, especially for
> those that consider the error exceptions management.
> I
vizcayno schrieb:
> Diez B. Roggisch ha escrito:
>
>> vizcayno schrieb:
>>> Hello:
>>> Need your help in the "correct" definition of the next function. If
>>> necessary, I would like to know about a web site or documentation that
>>> tells
[EMAIL PROTECTED] schrieb:
> Hi, I got confused when I learned the function datetime.today().
>
> So far I learned, unless an instance is created, it is not possible to
> call the class method. For example:
>
> class Foo:
> def foo(self):
> pass
>
> Foo.foo() # error: unbound method foo()
> Won't the following rules work when pasting complete Python statements
> and complete lines, after other lines in an editor:
>
> lets call the line after which the block is to be pasted the paste
> line, and the original indent of the first line of the copied block to
> be pasted the copy indent
> I can get the script to behave as expected when content's piped to it
> using sys.stdin but I'd like to know that there's data coming from
> stdin or fail and print the useage again. Is there a simple way to
> achieve this?
There are more experienced UNIXers here, but from my POV I don't see how
Patch / Bug Summary
___
Patches : 391 open ( +7) / 3028 closed (+12) / 3419 total (+19)
Bugs: 905 open ( -4) / 5519 closed (+19) / 6424 total (+15)
RFE : 207 open ( -1) / 197 closed ( +1) / 404 total ( +0)
New / Reopened Patches
__
Patch for
Patch / Bug Summary
___
Patches : 391 open ( +7) / 3028 closed (+12) / 3419 total (+19)
Bugs: 906 open ( -3) / 5519 closed (+19) / 6425 total (+16)
RFE : 207 open ( -1) / 197 closed ( +1) / 404 total ( +0)
New / Reopened Patches
__
Patch for
> However, if I do that I get errors saying that all args were not
> converted during string formatting. An escaped 'i' does not work
> either.
You need to format the string twice - first, to generate the float
formatting string, and then to format the string.
Like this:
num = 7.1234567890123
Danny wrote:
> Hello there.
>
> I'm creating a little text changer in Python. In the program there is a
> while loop. The problem is that a while loop will have 1 print statement
> and it will loop until it gets to the end of the text.
> Example:
>
> num = 5 // Set num to 5
> while num >= 1: /
Frank Millman wrote:
> Hi all
>
> I am using odbc from pywin32 to connect to MS SQL Server. I am changing
> my program from the old (incorrect) style of embedding values in the
> SQL command to the new (correct) style of passing the values as
> parameters. I have hit a problem.
>
> The following
> Unicode is one of those grey areas that I know I will have to try to
> understand one day, but I am putting off that day as long as possible!
I suggest you better start right away instead of stumbling over it all the
time. The most problems in that field don't come from the inherent
complexity o
>
> db=MySQLdb.connect(host = 'localhost', db = 'phone')
> cursor=db.cursor()
> cursor.execute("Select * from phone where name = name order by name")
You don't parametrize the query. The where-clause thus is a tautology,
as the name is always the name.
Do something like this:
cursor.execute("
> It's not what you are looking for here, but os.stat gives you access to
> lots of information about files. In Linux and Windows, though, the
> 'type' of a file is incorporated into its filename through an extension.
No, only in windows. Under linux/unix in general there might exist the
file-com
> As mentioned above this works quite well and I am happy with it, but I
> wonder if there is a more Pythonic way of doing this type of lookup?
I did a levenshtein-fuzzy-search myself, however I enhanced my version by
normalizing the distance the following way:
def relativ
Fredrik Lundh wrote:
> Diez B. Roggisch wrote:
>
>> The advantage becomes apparent when you try to e.g. compare
>>
>> "Angelina Jolie"
>>
>> with
>>
>> "AngelinaJolei"
>>
>> and
>>
>> "Bob&quo
Darcy schrieb:
> hi all, i have a newbie problem arising from writing-then-reading a
> unicode file, and i can't work out what syntax i need to read it in.
>
> the syntax i'm using now (just using quick hack tmp files):
> BEGIN
> f=codecs.open("tt.xml","r","utf8")
> fwrap=codecs.EncodedFile(f,"as
Terry Hancock schrieb:
> On 30 Jan 2006 08:52:04 -0800
> "kishkin" <[EMAIL PROTECTED]> wrote:
>> I just want to make window transparent. ;) At this moment
>> I've found only ideas of taking screenshots to make
>> background... Anything else?
>
> You are looking for "alpha" surfaces. In a full RGB
> channel = orb.getRootInterface(channelname)
> chadmin = channel.for_consumers()
> supplier = chadmin.obtain_push_supplier()
> listener = EventListener()
> supplier.connect_push_consumer(listener)
Not sure, but I guess you want a
listener._this()
here.
Diez
--
http://mail.python.org/mailman/
Steven Watanabe wrote:
> I know that the standard idioms for clearing a list are:
>
> (1) mylist[:] = []
> (2) del mylist[:]
>
> I guess I'm not in the "slicing frame of mind", as someone put it, but
> can someone explain what the difference is between these and:
>
> (3) mylist = []
>
>
Saizan wrote:
> In an event-driven application i'd like to keep the program alive
> regardless of any exceptions raised by the handlers, but still be able to
> debug them by reading the appropriate TraceBack from stderr. I can put
> something like:
See
sys.exc_info()
The you can do:
try:
.
Laurent wrote:
> Hi,
>
> here is the context:
>
> I'm coding a openGL API I will need for a project for my school.
> This API is quite simple:
>
> an ooglScene describe all needed to make an openGL, and inherits from a
> list. So an ooglScene is fundamentaly a list of ooglObjects (which is
> or
Laurent wrote:
> That is exactly what I do not want!!
>
> this is not transparent, I'm sure it is possible to make what I want:
> Scene = ooglScene()
> Scene.run()
> scene.append(ooglPoint())
Well, if you know so well what you want, why don't you know how to do it?
Besides: just using threads m
Flavio schrieb:
> Hi,
>
> I have a QListview widget that allows me to store a bunch of strings in
> it. This strings can be visualized, sorted, selected, etc.
>
> My Problem is that I cant find a way to get the user selected items
> back from it! I looked over the Qt documentation many times over
Flavio schrieb:
> Iterating over the items and checking if it is selected, sounds like a
> good idea, but there no obvious way to get a hold of the list of
> items!! The only way you can get an item is if you are in single
> selection mode and you call selectedItem(). But I have to use multiple
>
Flavio schrieb:
>> Who has created these items? Obviously you, so you _can_ store the list
>> of selected items.
>
> well yeah, but the Idea was to let the user select(through the widget)
> a subset of the original list and then access that subset...
>
>> Or you use the equally well documented QL
> AttributeError: 'Obj' object has no attribute
> '_Object__ls_demanded_links'
> --
>
> Perhaps I'll explain what's going on there. First, the objects' manager
> is created, and then also some objects are created. After doing that,
> the object calle
Brian Blais schrieb:
> Hello,
>
> I have a string input from the user, and want to parse it to a number,
> and would like to know how to do it. I would like to be able to accept
> arithmetic operations, like:
>
> '5+5'
> '(4+3)*2'
> '5e3/10**3'
>
> I thought of using eval, which will work, bu
ye juan schrieb:
> Hi,
>
> Anyone tries to use BeautifulSoup (
> http://www.crummy.com/software/BeautifulSoup/ ) in
> Jython? I can not run that ,the error that Jython
> gives me is: unpack sequence too long.
You've asked that on th jython mailing list and got a negative answer.
What makes you
Mark Fink schrieb:
> Hi there,
>
> unfortunately I am new to Jython and my "Jython Essentials" book is
> still in the mail. I looked into the Jython API Doc but could not find
> the information.
> I am porting a Python library to Jython and some parts are missing. My
> question basically is where
Mark Fink wrote:
> this is really funny...
> I tried to use eval(String) as an replacement. It works now but the
> calculation results from my tests are not as expected: 2 + 3 = 23 !!! 2
> - 3 = 2-3...
> I have the feeling that there is a really easy solution for this.
> Unfortunately I have no en
Mark Fink wrote:
> This is the original code section of the library including the
> comments:
> class AutoAdapter(TypeAdapter):
> """
> This adapter returns a type based on the format of the table cell
> contents, following python's rules for literals (plus a few
> others).
> We co
jason wrote:
> Hello:
>
> I am using the following versions of Python and packages on Windows XP
> (SP2):
>
> Python 2.4.2
> NumPy 0.9.4.win32-py2.4
> SciPy 0.4.4 for Python 2.4 and Pentium 4/SSE2
I fell for that yesterday. Cost me two hours. You have to install NumPy
0.9.2. Make sure you clea
> This is a standard response to a rather frequent question here. But I
> am not sure I ever understood. Scheme / Lisp are about as dynamic as
> Python. Yet they have quite efficient native compilers. Ex: Bigloo
> Scheme.
If you provide the necessary annotations for optimization. Not sure about
ru
from scipy.optimize import fmin
> Overwriting fft= from scipy.fftpack.basic (was
> from numpy.dft.fftpack)
> Overwriting ifft= from scipy.fftpack.basic (was
> from numpy.dft.fftpack)
>
> And then I get the following result:
>
xopt = fmin(rosen, x0)
> Optimization terminated successf
MackS schrieb:
> Hello!
>
> This question does not concern programming in python, but how to manage
> python processes. Is there a way to "name" a python process? At least
> on Linux, if I have two python programs running, they both run under
> the name "python"
>
> #pidof program1.py
> [empty li
rodmc wrote:
> Can anyone provide me with advice on how easy (or otherwise) it is to
> drive a Flash animation (stored locally but displaed in a browser) with
> a Python application. Basically information is getting streamed to a
> Python client and this is expected to update the Flash animation.
Patch / Bug Summary
___
Patches : 391 open ( +0) / 3038 closed (+10) / 3429 total (+10)
Bugs: 915 open ( +9) / 5540 closed (+21) / 6455 total (+30)
RFE : 209 open ( +2) / 197 closed ( +0) / 406 total ( +2)
New / Reopened Patches
__
difflib e
Thomas Girod wrote:
> Hello there.
>
> I recently started looking at turbogears and I found code such as :
>
> class Root(controllers.Root):
> @turbogears.expose(html="blog.templates.accueil")
> def index(self,**kw):
> return dict()
>
>
> What is this "@" ? I looked around
Tempo wrote:
> Why do you say that the bottleneck of the crawler will always be
> downloading the page? Is it becasue there isn't already a modual to do
> this and I will have to start from scratch? Or a bandwidth issue?
Because of bandwidth - not necessarily yours directly, but the maximum flow
Robin Haswell wrote:
> Hey there
>
> I'm doing some threading in python with Python 2.3 and 2.4 on Ubuntu and
> Debian machines, and I've noticed that if I open a lot of threads (say,
> 50), I get lots of python processes with individual PIDs, which consume a
> disproportionate amount of CPU. Doe
pdt wrote:
> Hello, i wanna know how to communicate my python program with my
> winmodem on PC...thanks!!!
Use pyserial.
Diez
--
http://mail.python.org/mailman/listinfo/python-list
Kyle Brooks schrieb:
> Wednesday, February 8th, 2006.
>
> Dear all,
>
> I hereby release Circe to the public domain.
>
> Our repo is at http://kbrooks.ath.cx/repos/circe.
This is the second post I read, followed the link, skimmed through some
sources and READMEs, and by now I got the impressi
errmaker schrieb:
> hi ! iam newbie on python.
> how i can make form1 visible ? form just crated by pyqt
>
>
>
> class Form1(QMainWindow):
> def __init__(self,parent = None,name = None,fl = 0):
> QMainWindow.__init__(self,parent,name,fl)
> self.statusBar()
>
>...
py wrote:
> I have two lists which I want to use to create a dictionary. List x
> would be the keys, and list y is the values.
>
> x = [1,2,3,4,5]
> y = ['a','b','c','d','e']
>
> Any suggestions? looking for an efficent
1301 - 1400 of 4465 matches
Mail list logo