malkarouri [EMAIL PROTECTED] writes:
FWIW, I find #1 more interesting for me personally.
As a monad-challenged person, I find it much easier to develop
components using pure functional programming in a language like
Haskell and do all my I/O in Python than having it the other way
round.
On Mar 28, 5:38 am, [EMAIL PROTECTED] wrote:
dict = {'M':3, 'R':0, 'S':2}
print dict
{'S': 2, 'R': 0, 'M': 3}
now if I wanted sorted values in list, i am not able to do this print
dict.values().sort()
None
it returns None instead of [0, 2, 3]
The sort method works by sorting 'in
Michaâ Janeczek [EMAIL PROTECTED] writes:
I wasn't aware of the runtime issues, these can be things to watch out
for. However, the type of embedding that I imagined would be mostly
pure functions, since Python can deal with IO rather well. It'd also
be applicable in situations where we want to
To ankit:
Well, sort() doesn't return the sorted list. It returns None. Why not
this straightforward way?
dvals = dict.values()
dvals.sort()
print dvals
--
http://mail.python.org/mailman/listinfo/python-list
Does anyone have some design ideas ( or can point me at the right
design pattern, because I can't find it. ) for having a plugin being
able to access a parent's state?
For example, let's say I have a class that receives some commands.
When it gets a command, it checks which of the registered
[EMAIL PROTECTED] schrieb:
Does anyone have some design ideas ( or can point me at the right
design pattern, because I can't find it. ) for having a plugin being
able to access a parent's state?
For example, let's say I have a class that receives some commands.
When it gets a command, it
Gary Herron a écrit :
(snip)
One other word of warning. It is best to not use a variable named
string as Python has a builtin type of that name which would become
inaccessible if you redefine.
Good advice, except that the builtin string type is actually named
'str', not 'string' !-)
--
Although I am experiencing this problem using a specific domain
library (pjsip). Googling this issue show that it is happening to many
libraries in python on mac.
I was wondering whether anyone solved this or alike in the past and
might share what steps were taken.
Note: this python lib works
Hi,
i am trying to fit Eclipse/Pydev in my needs/preference, so i want
to ask this:
As it is now, i see all my projects in that TreeView (PyDev Package
Explorer). I would rather want this to behave like a more normal IDE
where you Open one project and if you want close it and Open another,
just
On Mar 28, 1:58 am, Diez B. Roggisch [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] schrieb:
Does anyone have some design ideas ( or can point me at the right
design pattern, because I can't find it. ) for having a plugin being
able to access a parent's state?
For example, let's say I
A, and another one: If i set a custom builder for a pydev project, is
there a way for this builder to automatically be assigned to every
(pydev) project i will create from now on or i have to re-define it
for every new one ?
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 28, 6:39 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
On Mar 28, 1:58 am, Diez B. Roggisch [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] schrieb:
Does anyone have some design ideas ( or can point me at the right
design pattern, because I can't find it. ) for having a plugin
On Mar 25, 11:03 am, Tim Chase [EMAIL PROTECTED] wrote:
Any good genetic algorithms involving you-split, i-pick?
I've always heard it as you divide, I decide...
That said, I'm not sure how that applies in a GA world. It's
been a while since I've done any coding with GAs, but I don't
Can anyone do a simple pygame render of a rollercoaster in first-
person? I'll do the generator. Just for fun for free. (Ha see
pythaagh. He bothered to carve it. Have a nice day.)
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, Mar 27, 2008 at 4:13 PM, [EMAIL PROTECTED] wrote:
My dynamic code failed at this site http://playwide1.extra.hu/, need
some help thank you.
http://catb.org/~esr/faqs/smart-questions.html
--
Cheers,
Simon B.
[EMAIL PROTECTED]
http://www.brunningonline.net/simon/blog/
GTalk:
On Mar 28, 1:57 am, raj [EMAIL PROTECTED] wrote:
To ankit:
Well, sort() doesn't return the sorted list. It returns None. Why not
this straightforward way?
dvals = dict.values()
dvals.sort()
print dvals
Why not sorted( dict.values() ).
Can it return the right things from the right things
On Mar 28, 5:14 am, Simon Brunning [EMAIL PROTECTED] wrote:
On Thu, Mar 27, 2008 at 4:13 PM, [EMAIL PROTECTED] wrote:
My dynamic code failed at this sitehttp://playwide1.extra.hu/, need
some help thank you.
http://catb.org/~esr/faqs/smart-questions.html
I almost clicked on that *plonk*.
Hi,
normally you just have to select your top level project folder in the
Package
Explorer and then from the menu bar choose Project - Close Project
(also accessible by the popup menu assigned to the right button of
your mouse).
HTH,
Olivier.
--
[EMAIL PROTECTED] wrote:
On Mar 28, 1:57ÿam, raj [EMAIL PROTECTED] wrote:
To ankit:
Well, sort() doesn't return the sorted list. It returns None. Why not
this straightforward way?
dvals = dict.values()
dvals.sort()
print dvals
Why not sorted( dict.values() ).
If you are going to do
André a écrit :
On Mar 28, 6:39 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
On Mar 28, 1:58 am, Diez B. Roggisch [EMAIL PROTECTED] wrote:
(snip)
But to be honest: you are thinking much to far there - after all, it's
all *your* code, and inside one interpreter. A real isolation isn't
On Mar 28, 5:44 am, [EMAIL PROTECTED] wrote:
**
When you make a Web page available offline, you
can read its content when your computer is not
connected to the Internet. For example, you can
view Web pages on your laptop computer
hello python users,
could you point me to a very simple (single file is best) web-server?
I want to serve a few web-forms and run some shell scripts when the
forms are submitted. I might add Ajax later (this is not a
requirement, if it only supports forms it's OK).
Longer story:
I would like
I don't known pjsip but this problem generally occurs when the library
(dylib) on which the file (.so) depends is not the good one
Googling this issue show that it is happening to many
libraries in python on mac.
?? I am working in python on mac since a lot of time I seldom have
such
Duncan Booth:
Both this and raj's suggestion create a single sorted list. Your suggestion
creates two lists: the unsorted one and a separate sorted one. In most
cases the difference is probably insignificant, but if you have a *lot* of
values it might make a difference.
The good thing of
On Wed Mar 26 15:13:09 CET 2008, wrightee wrote:
My server gives me a string y[0]: 20080327, which I convert to a
QDateTime object using:
x=QDateTime.fromString(y[0],mmdd)
Printing x.toString(dd-mm-) gives me what I would expect -
27-03-2008
Strange. You should really be using
On Fri, 2008-03-28 at 12:53 +0100, Pavol Murin wrote:
hello python users,
could you point me to a very simple (single file is best) web-server?
I want to serve a few web-forms and run some shell scripts when the
forms are submitted. I might add Ajax later (this is not a
requirement, if it
With a.py containing this:
== a.py ===
#!/usr/bin/env python
import b
g = 0
def main():
global g
g = 1
b.callb()
if __name__ == __main__:
main()
==
...and b.py containing...
= b.py =
import a, sys
def callb():
On Mar 27, 6:00 pm, John Machin [EMAIL PROTECTED] wrote:
...The Python csv module emulates Excel in delivering garbage silently in
cases when the expected serialisation protocol has (detectably) not
been followed
Fine, but I'd say the heuristic adopted produces
bizarre and surprising
En Fri, 28 Mar 2008 07:14:17 -0300, Simon Brunning
[EMAIL PROTECTED] escribió:
On Thu, Mar 27, 2008 at 4:13 PM, [EMAIL PROTECTED] wrote:
My dynamic code failed at this site http:///, need
some help thank you.
http://catb.org/~esr/faqs/smart-questions.html
I assumed it was just spam,
I'm using a md5 hash encoded with base64.urlsafe_b64encode as a
parameter of a URL used to confirm a registration in a site. It has
been working great.
The url is like this:
http://example.com/ce?i=878h=kTfWSUaby5sBu9bIfoR87Q==
Now i need to match that URL in a certain text and i realized that
I'm trying to make something that once it is disconnected will
automatically try to reconnect. I'll add some more features in later so
it doesn't hammer the server but right now I just want to keep it simple
and get that part working. The problem is that when I use sock.close I
get an error
[EMAIL PROTECTED] wrote:
With a.py containing this:
== a.py ===
#!/usr/bin/env python
import b
g = 0
def main():
global g
g = 1
b.callb()
if __name__ == __main__:
main()
==
...and b.py containing...
= b.py
Pavol Murin schrieb:
hello python users,
could you point me to a very simple (single file is best) web-server?
I want to serve a few web-forms and run some shell scripts when the
forms are submitted. I might add Ajax later (this is not a
requirement, if it only supports forms it's OK).
If
En Fri, 28 Mar 2008 08:53:15 -0300, Pavol Murin [EMAIL PROTECTED]
escribió:
could you point me to a very simple (single file is best) web-server?
I want to serve a few web-forms and run some shell scripts when the
forms are submitted. I might add Ajax later (this is not a
requirement, if it
Did you take a look at web.py? That one looks terribly small and
efficient :)
We use CherryPy coupled with compiled Cheetah Templates for
every web server based projects at my workplace and we've been really
satisfied with it so far.
On 28 mar, 07:53, Pavol Murin [EMAIL PROTECTED] wrote:
hello
I'm having trouble explaining the benefits and tradeoffs of threads to my
coworkers and countering their misconceptions about Python's threading model
and facilities. They all come from C++ and are used to thinking of
multithreading as a way to harness multiple CPU cores for compute-bound
That clears it up. Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
I have an extension module that gets initialized multiple
times because I am using threads.
How can this module access global state (not per-thread state) ?
It needs to create a singleton.
Simon.
--
http://mail.python.org/mailman/listinfo/python-list
Did you try just creating a new socket every time you do a connect ?
On Mar 28, 10:01 am, Jason Kristoff deevine-removethis-
[EMAIL PROTECTED] wrote:
I'm trying to make something that once it is disconnected will
automatically try to reconnect. I'll add some more features in later so
it
Peter == Peter Otten [EMAIL PROTECTED] writes:
Peter [EMAIL PROTECTED] wrote:
[snip]
...can someone explain why invoking a.py prints 0?
I would have thought that the global variable 'g' of module 'a' would
be set to 1...
Peter When you run a.py as a script it is put into the sys.modules
This is what I've got right now:
#! /usr/bin/env python
import socket, string
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
def doconn():
sock.connect((localhost, 1234))
def dodiscon():
sock.close()
doconn()
doconn()
while (1):
buffer =
I've just started PyQt programming and I've run into this little
problem. When I set the text of one cell in my table, all the other
cells fill with that value.
All I wanted to do was run a loop, printing in each cell the row and
column number.
Here's the code.
--
En Fri, 28 Mar 2008 10:54:49 -0300, Clodoaldo [EMAIL PROTECTED]
escribió:
I'm using a md5 hash encoded with base64.urlsafe_b64encode as a
parameter of a URL used to confirm a registration in a site. It has
been working great.
The url is like this:
Leo 4.4.8 beta 3 is available at:
http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106
This version features a new ipython plugin that provides a two-way bridge
between Leo and IPython. See
http://webpages.charter.net/edreamleo/IPythonBridge.html
Leo is a text editor,
hello,
Passing all kinds of data between objects,
I'm looking for an elegant (and simple) way to pack the data.
Now it looks to me that both the class and the inherited list,
performs equally well.
Till now, the most elegant way (in my view) is the list inheritance,
mainly because you don't need
En Fri, 28 Mar 2008 11:51:10 -0300, [EMAIL PROTECTED] escribió:
I have an extension module that gets initialized multiple
times because I am using threads.
And do you want thread local variables?
How can this module access global state (not per-thread state) ?
It needs to create a
I am trying separate a script that users pexpect into
various functions within the same expect session. The
problem is that the function does not return control
back Main. Any insight into this issue would be
greatly appreciated. Below is sample code of the
problem.
Thanks,
Paul
The code is pretty legible as it is now. Anyway, using min() and a
generator:
hi
is this calculated distance really Euclidean distance? When i checked
wikipedia http://en.wikipedia.org/wiki/Euclidean_distance
it shows a calculation involving sum of squares of the differences of
elements.Here
En Fri, 28 Mar 2008 12:01:01 -0300, Constantly Distracted
[EMAIL PROTECTED] escribió:
I've just started PyQt programming and I've run into this little
problem. When I set the text of one cell in my table, all the other
cells fill with that value.
def filltable(self):
On Mar 28, 11:14 am, Gabriel Genellina [EMAIL PROTECTED]
wrote:
En Fri, 28 Mar 2008 11:51:10 -0300, [EMAIL PROTECTED] escribió:
I have an extension module that gets initialized multiple
times because I am using threads.
And do you want thread local variables?
no
How can this module
En Fri, 28 Mar 2008 12:15:45 -0300, Stef Mientki [EMAIL PROTECTED]
escribió:
Passing all kinds of data between objects,
I'm looking for an elegant (and simple) way to pack the data.
Now it looks to me that both the class and the inherited list,
performs equally well.
Till now, the most
Is there a Python module comparable in functionality to the PEAR
Cache_Lite package for PHP?
I've been doing some Googling to little avail. I'm experimenting with
Python CGI to learn various techniques at a low level and I'm adapting a
model that uses PHP.
Any info about application-level
1) I have this simple cgi server:
import CGIHTTPServer
import BaseHTTPServer
class MyRequestHandler(CGIHTTPServer.CGIHTTPRequestHandler):
cgi_directories = ['/my_cgi_scripts']
server = BaseHTTPServer.HTTPServer(
('', 8111),
MyRequestHandler
)
server.serve_forever()
2)
On Mar 28, 11:14 am, Gabriel Genellina [EMAIL PROTECTED]
wrote:
C global variables are global, not per-thread.
aha, a static pointer gets initialized to NULL, so I
can check if it's not NULL in the module initializer.
Thanks for jogging my brain,
Simon.
--
Gabriel Genellina
--
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] wrote:
I'm having trouble explaining the benefits and tradeoffs of threads to my
coworkers and countering their misconceptions about Python's threading model
and facilities. They all come from C++ and are used to thinking of
multithreading as a
On Friday 28 March 2008, Constantly Distracted wrote:
I've just started PyQt programming and I've run into this little
problem. When I set the text of one cell in my table, all the other
cells fill with that value.
...because you have only created a single QTableWidgetItem instance, rather
En Fri, 28 Mar 2008 12:15:48 -0300, harryos [EMAIL PROTECTED]
escribió:
The code is pretty legible as it is now. Anyway, using min() and a
generator:
hi
is this calculated distance really Euclidean distance? When i checked
wikipedia http://en.wikipedia.org/wiki/Euclidean_distance
it
Gabriel Genellina wrote:
That's what I said in another paragraph. sum of coordinates is using a
different distance definition; it's the way you measure distance in a city
with square blocks. I don't know if the distance itself has a name, but
I think it is called Manhattan distance in
En Fri, 28 Mar 2008 12:25:55 -0300, [EMAIL PROTECTED] escribió:
On Mar 28, 11:14 am, Gabriel Genellina [EMAIL PROTECTED]
wrote:
En Fri, 28 Mar 2008 11:51:10 -0300, [EMAIL PROTECTED] escribió:
How can this module access global state (not per-thread state) ?
It needs to create a singleton.
En Fri, 28 Mar 2008 12:38:45 -0300, 7stud [EMAIL PROTECTED]
escribió:
After I start the server script, load the html page in my browser, and
click on the link, I get the desired output in my browser, but the
server script outputs the following in my terminal:
localhost - - [28/Mar/2008
thanks Gabriel,
Gabriel Genellina wrote:
En Fri, 28 Mar 2008 12:15:45 -0300, Stef Mientki [EMAIL PROTECTED]
escribió:
Passing all kinds of data between objects,
I'm looking for an elegant (and simple) way to pack the data.
Now it looks to me that both the class and the inherited list,
On 2008-03-28, Laszlo Nagy [EMAIL PROTECTED] wrote:
while (1):
buffer = sock.recv(1024)
if not buffer:
dodiscon()
sock.recv(1024) can return zero bytes of data indicating that no data
arrived yet.
No, it can't.
It does not mean that you have been disconnected.
[EMAIL PROTECTED] schrieb:
I have an extension module that gets initialized multiple
times because I am using threads.
How can this module access global state (not per-thread state) ?
It needs to create a singleton.
The question is very unclear.
If you are after *not* initializing your
On Mar 28, 12:09 pm, Gabriel Genellina [EMAIL PROTECTED]
wrote:
En Fri, 28 Mar 2008 10:54:49 -0300, Clodoaldo [EMAIL PROTECTED]
escribió:
I'm using a md5 hash encoded with base64.urlsafe_b64encode as a
parameter of a URL used to confirm a registration in a site. It has
been working
On 27 Mar 2008 23:49:46 -0700, Paul Rubin
http://phr.cx@nospam.invalid wrote:
Michaâ Janeczek [EMAIL PROTECTED] writes:
However, the type of embedding that I imagined would be mostly
pure functions, since Python can deal with IO rather well. It'd also
be applicable in situations where we
Yes, that is exactly what it means.
From the recv() man page:
RETURN VALUE
These calls return the number of bytes received, or -1 if an error
occurred. The return value will be 0 when the peer has performed an
orderly shutdown.
Mea cupla. :-)
What about
En Fri, 28 Mar 2008 13:17:44 -0300, Diez B. Roggisch [EMAIL PROTECTED]
escribió:
[EMAIL PROTECTED] schrieb:
I have an extension module that gets initialized multiple
times because I am using threads.
How can this module access global state (not per-thread state) ?
It needs to create a
[EMAIL PROTECTED] writes:
I'm having trouble explaining the benefits and tradeoffs of threads
to my coworkers and countering their misconceptions about Python's
threading model and facilities. They all come from C++ and are used
to thinking of multithreading as a way to harness multiple CPU
On 2008-03-28, Laszlo Nagy [EMAIL PROTECTED] wrote:
Yes, that is exactly what it means.
From the recv() man page:
RETURN VALUE
These calls return the number of bytes received, or -1 if an
error
occurred. The return value will be 0 when the peer has performed an
En Fri, 28 Mar 2008 13:22:06 -0300, Clodoaldo [EMAIL PROTECTED]
escribió:
On Mar 28, 12:09 pm, Gabriel Genellina [EMAIL PROTECTED] wrote:
En Fri, 28 Mar 2008 10:54:49 -0300, Clodoaldo
[EMAIL PROTECTED] escribió:
What i need to know is where can an equal char appear in a
On 3月27日, 下午7时22分, Tim Golden [EMAIL PROTECTED] wrote:
lialie wrote:
[... snip slightly confused indication that reading back a
binary item using GetChunk appears to double its length ...]
Well I don't know why this should be happening, but I do at
least have a few suggestions:
1) Try
On Mar 28, 10:01 am, Jason Kristoff deevine-removethis-
[EMAIL PROTECTED] wrote:
I'm trying to make something that once it is disconnected will
automatically try to reconnect. I'll add some more features in later so
it doesn't hammer the server but right now I just want to keep it simple
and
On Mar 28, 1:56 pm, Gabriel Genellina [EMAIL PROTECTED]
wrote:
En Fri, 28 Mar 2008 13:22:06 -0300, Clodoaldo [EMAIL PROTECTED]
escribió:
On Mar 28, 12:09 pm, Gabriel Genellina [EMAIL PROTECTED] wrote:
En Fri, 28 Mar 2008 10:54:49 -0300, Clodoaldo
[EMAIL PROTECTED] escribió:
What i
systems. (In theory, file input/output should also be available as
asynchronous code, but async IO is low-level and not available in
Python.) While threads shouldn't be considered a replacement for
I suggest you tell that the twisted-guys. And the ones from the built-in
asyncore-module.
On 28 Mar, 15:52, [EMAIL PROTECTED] wrote:
I'm having trouble explaining the benefits and tradeoffs of threads to my
coworkers and countering their misconceptions about Python's threading model
and facilities.
Python's threading module is modelled on Java's thread model. There
are some
class super_list(list):
pass
def kwadraat ( value ) :
return value * value
x={}
x['frequency']=33
x['functie']=kwadraat
print x['functie'](2)
y = super_list()
y.frequency = 33
y.functie = kwadraat
print y.functie(3)
You don't use y as a list at all - you might as
On 27 Mar, 15:19, Diez B. Roggisch [EMAIL PROTECTED] wrote:
[Psyco maintenance and further development]
Nope, but I heard through the grapevine that while it won't be supported for
all times to come, a new version is in the making.
But ultimately, the author says that the approach is
In what library would I find gif.save(path), where path is the name and path
of a file, and the method would produce a file in a gif format?
Is there a fits.save(path) somewhere? fits is commonly used in astronomical
work.
--
Wayne Watson (Nevada City, CA)
Paul Rubin wrote:
Andrew McLean [EMAIL PROTECTED] writes:
I would like to write a web (http) proxy which I can instrument to
automatically extract information from certain web sites as I browse
them. Specifically, I would want to process URLs that match a
particular regexp. For those URLs I
In article [EMAIL PROTECTED],
Diez B. Roggisch [EMAIL PROTECTED] wrote:
systems. (In theory, file input/output should also be available as
asynchronous code, but async IO is low-level and not available in
Python.) While threads shouldn't be considered a replacement for
I suggest you
On Mar 28, 8:41 am, Gabriel Genellina [EMAIL PROTECTED]
wrote:
En Fri, 28 Mar 2008 07:14:17 -0300, Simon Brunning
[EMAIL PROTECTED] escribió:
On Thu, Mar 27, 2008 at 4:13 PM, [EMAIL PROTECTED] wrote:
My dynamic code failed at this site http:///, need
some help thank you.
I am trying to install the twitter python wrapper...I got that
installed just fine, but am having serious troubles getting the
simplejson package to install. I need help diagnosing where this is
failing. I am trying to use:
http://pypi.python.org/pypi/simplejson
and I run python setup.py build
On Mar 17, 1:49 am, Diez B. Roggisch [EMAIL PROTECTED] wrote:
I doubt that. AFAIK both arrays and lists are continuous memory-areas,
that double (at least to a certain threshold or so) when reaching the
capacity limit.
For what it's worth, lists over-allocate by ~1/8, and arrays by ~1/16.
Gabriel Genellina wrote:
En Thu, 27 Mar 2008 20:28:27 -0300, Praveena B
[EMAIL PROTECTED] escribió:
Can anyone help me out??
Still lacking details... PIL has a ImageGrab module, Windows only.
For Windows, Alt Prtscn usually copies
the image to a clipboard.
Colin W.
--
On Mar 28, 10:15 am, harryos [EMAIL PROTECTED] wrote:
The code is pretty legible as it is now. Anyway, using min() and a
generator:
hi
is this calculated distance really Euclidean distance? When i checked
wikipediahttp://en.wikipedia.org/wiki/Euclidean_distance
it shows a calculation
Hello,
I would like to write a script that would enumerate all running
processes and return the full path to the EXE of each running
process. However, I can't seem to find any good info on how to do
this..any help is greatly appreciated. Thanks.
T
--
I am facing a strange problem when I am trying to retrieve multipart mail from
POP server with attachments.
The task is to write a script which will retrieve mail with specific 'from'
field. Get the subject, body and attachments if any and reuse this info to send
mail with different format to
Hi,
this is probably a trivial problem, but a google search for python
and unicode and format string gives too many hits: If I specify
e.g. %20s in a format string and the string value contains UTF-8
stuff (differing number of bytes per character), the length of the
resulting string (in
Why does Python2.5 do not include the amalgamation source code of
sqlite3?
At the moment it is not possible to build the system out of the box
with the Visual Studio project.
I don't think this is good. The amalgamation version is exactly for
this purpose.
Is there a 2.5.3 release on the way?
--
W. Watson wrote:
In what library would I find gif.save(path), where path is the name and path
of a file, and the method would produce a file in a gif format?
Is there a fits.save(path) somewhere? fits is commonly used in astronomical
work.
You may want to install PIL (the Python Image
On Fri, 28 Mar 2008 21:13:00 +0100, Hans Martin wrote:
this is probably a trivial problem, but a google search for python
and unicode and format string gives too many hits: If I specify
e.g. %20s in a format string and the string value contains UTF-8
stuff (differing number of bytes per
En Fri, 28 Mar 2008 16:14:07 -0300, [EMAIL PROTECTED] escribió:
I am trying to install the twitter python wrapper...I got that
installed just fine, but am having serious troubles getting the
simplejson package to install. I need help diagnosing where this is
failing. I am trying to use:
I want to regression a signal. It's NN, not necessarily, sine wave.
What kind of numbers of harmonic simultaneous sounds are we looking
at? How close to an A 440 can a human make?
I want recognition to alert me. As a sine wave is coming in:
for t in [ ( 200* sin( x*2 ), 200* cos( x*2 ) ) for
Hi,
Generally, it involves SQL statement such as
follow
INSERT INTO tablename(field1,field2,...fieldn) VALUES
('abc','def'...)
If I have data taken from Apache Server Log,let say 100 lines which
is printed output of 8 fields such
as:
data 1
IP: 61.5.65.101
Date: 26/Sep/2007
the norm from which it is derived is called norm-1, or L1; the usual
euclidean distance is derived from norm-2.
If you only want to see if two things are close enough, this provides a
faster measure than the euclidean distance.
thanks Gabriel for the detailed explanation..
if i were to
llothar wrote:
Why does Python2.5 do not include the amalgamation source code of
sqlite3? [...]
First, at the time Python grew the sqlite3 module, there was no
amalgamation yet.
My reasoning:
So that Python doesn't need to release a security release, should a
security bug in SQLite be found.
On 2008-03-28, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Did everyone take the course on computer architecture?
No.
I personally know dozens of people who didn't.
And I know others who took a course on computer architecture
but not the course on computer architecture.
--
Grant Edwards
Sorry,
although the code example was correct,
the question was wrong.
Stef Mientki
Stef Mientki wrote:
hello,
Passing all kinds of data between objects,
I'm looking for an elegant (and simple) way to pack the data.
Now it looks to me that both the class and the inherited list,
performs
[EMAIL PROTECTED] wrote:
Hello,
I would like to write a script that would enumerate all running
processes and return the full path to the EXE of each running
process. However, I can't seem to find any good info on how to do
this..any help is greatly appreciated. Thanks.
I have this
[EMAIL PROTECTED] writes:
Did everyone take the course on computer architecture?
Yow! Does your SPEED QUEEN have CABLE?
--
http://mail.python.org/mailman/listinfo/python-list
1 - 100 of 209 matches
Mail list logo