Ilias Lazaridis wrote:
>
> You need just 2 active contributors - and the python community, not
> more
Hmm, this number does not say much. It really depends on the required
service level and how much time these two people can spend for
maintaining the tracker service.
Ciao, Michael.
--
http://ma
Dustan wrote:
> Neil Cerutti wrote:
>
>>On 2006-10-05, Dustan <[EMAIL PROTECTED]> wrote:
>>
>>>Steve Holden wrote:
>>>
Dustan wrote:
>I'm hiding some of the details here, because I don't want to
>say what I'm actually doing.
>[...]
I have the answer to your problem bu
On 5 Oct 2006 23:43:50 -0700, MonkeeSage <[EMAIL PROTECTED]> wrote:
>
>
> On Oct 6, 1:28 am, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> > when did you last look at the spec?
>
> I'm fairly versed in JS objects, having written 10 or so extensions for
> firefox; but I've only used YAML for trivial ta
On Oct 6, 1:28 am, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> when did you last look at the spec?
I'm fairly versed in JS objects, having written 10 or so extensions for
firefox; but I've only used YAML for trivial tasks like config files.
So I can't really say how they stack up in "the big pict
Ranjitha wrote:
> Fredrik Lundh wrote:
>
> > Ranjitha wrote:
> >
> > > I want to store my data in a database on the disk. I also want to be
> > > able to reload the tables into the RAM whenever I have a lot of disk
> > > accesses and commit the changes back to the database.
> >
> > using the cache
On 10/6/06, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> hanumizzle wrote:
>
> > I guess I'll keep an open mind. But I like editing YAML for the same
> > reason that I like editing Python.
>
> JSON is almost identical to Python's expression syntax, of course, while
> YAML isn't even close.
Getting t
Blair P. Houghton wrote:
> But they do about 10 things totally wrong with Google groups that
> I'd've fixed in my spare time in my first week if they'd hired me back
> when I was interviewing with them.
>
> So if they want it to work, they know where to find me.
Doesn't seem likely, does it? But
hanumizzle wrote:
> I guess I'll keep an open mind. But I like editing YAML for the same
> reason that I like editing Python.
JSON is almost identical to Python's expression syntax, of course, while
YAML isn't even close.
--
http://mail.python.org/mailman/listinfo/python-list
On 10/6/06, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> MonkeeSage wrote:
>
>
> > YAML is a little more complex
>
> a little? when did you last look at the spec?
>
> > and a little more mature.
>
> than JavaScript's expression syntax? are you sure you're not confusing
> libraries with standards he
On 5 Oct 2006 16:21:50 -0700, Eddie <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am looking for a method to profile memory usage in my python program.
> The program provides web service and therefore is intended to run for a
> long time. However, the memory usage tends to increase all the time,
> until i
MonkeeSage wrote:
> YAML is a little more complex
a little? when did you last look at the spec?
> and a little more mature.
than JavaScript's expression syntax? are you sure you're not confusing
libraries with standards here? (has anyone even managed to write a YAML
library that's small a
On 5 Oct 2006 23:19:18 -0700, MonkeeSage <[EMAIL PROTECTED]> wrote:
>
>
> On Oct 6, 1:06 am, hanumizzle <[EMAIL PROTECTED]> wrote:
> > I'm happy with my Pythonesque YAML syntax, thank you. :)
>
> YAML is a little more complex, and a little more mature. But JSON
> should not be ruled out. I actually
On Oct 6, 1:06 am, hanumizzle <[EMAIL PROTECTED]> wrote:
> I'm happy with my Pythonesque YAML syntax, thank you. :)
YAML is a little more complex, and a little more mature. But JSON
should not be ruled out. I actually like JSON personally.
Regards,
Jordan
--
http://mail.python.org/mailman/lis
SpreadTooThin wrote:
> but why is it every time I try to do something with 'stock' python I
> need another package?
it's well known that all problems known to man can be solved by down-
loading Twisted, PyParsing, the Stream Editor, or that other programming
language that cannot be named.
--
Fredrik Lundh wrote:
> Ranjitha wrote:
>
> > I want to store my data in a database on the disk. I also want to be
> > able to reload the tables into the RAM whenever I have a lot of disk
> > accesses and commit the changes back to the database.
>
> using the cache_size and synchronous pragmas sou
On 5 Oct 2006 22:54:46 -0700, MonkeeSage <[EMAIL PROTECTED]> wrote:
> hanumizzle wrote:
> > Why a subset?
>
> I don't think JSON is a subset of YAML.
Apparent slip of the fingers by OP. From JSON website:
JSON (JavaScript Object Notation) is a lightweight data-interchange
format. It is easy for h
SpreadTooThin wrote:
> Jean-Paul many thanks for this and your effort.
> but why is it every time I try to do something with 'stock' python I
> need another package?
Twisted has it's fan, but you don't "need" it. Your code had a few
specific problems, and fixing them has little or nothing to do wi
hanumizzle wrote:
> Why a subset?
I don't think JSON is a subset of YAML.
Regards,
Jordan
--
http://mail.python.org/mailman/listinfo/python-list
On 5 Oct 2006 22:25:58 -0700, Paddy <[EMAIL PROTECTED]> wrote:
> You might try picking the data with a different pickle formatter that
> your Java can use. Maybe an XML pickler
> (http://www.gnosis.cx/download/Gnosis_Utils.More/Gnosis_Utils-1.2.1.ANNOUNCE
> untested by me).
> You might also use a
On 10/4/06, Bruno Desthuilliers <[EMAIL PROTECTED]> wrote:
> has wrote:
> > Python's type/class
> > distinction
>
> Which "type/class" distinction ?
I think he means pre 2.2. (?)
--
http://mail.python.org/mailman/listinfo/python-list
virg wrote:
> Hi,
> i have client-server application which is written in python using
> XMLRPC protocol. The existing client is a command line. Now client
> application we are converting it as Web UI using java. I have seen some
> problems in writing a java client. At the server for each reque
On 10/4/06, Wildemar Wildenburger <[EMAIL PROTECTED]> wrote:
> Jorgen Grahn wrote:
> > - the wildcard object, which compares equal to everything else
> > - infinite xrange()s
> > - the black hole function 'def f(*args): pass'
> > - the identity function 'def f(x): return x'
>
> Any use cases for th
On 5 Oct 2006 21:52:56 -0700, virg <[EMAIL PROTECTED]> wrote:
> Hi,
> i have client-server application which is written in python using
> XMLRPC protocol. The existing client is a command line. Now client
> application we are converting it as Web UI using java. I have seen some
> problems in w
On 5 Oct 2006 21:45:47 -0700, Jia,Lu <[EMAIL PROTECTED]> wrote:
> Hi all
> I write a program to detect key press,but , why there is a *space*
> before the character I typed.??
Puzzles me too, but I know this is really easy in Curses (on top of
that, it isn't specific to Linux; curses works on ma
[EMAIL PROTECTED] wrote:
> Thanks all for the answers. Yup, i think i will use dicts/tuples/lists
> instead...
Even though you should be using some kind of container, you can still
do what you origianlly asked for with relative ease...you just have to
use the evil eval function (gasp!):
for i in
Hi,
i have client-server application which is written in python using
XMLRPC protocol. The existing client is a command line. Now client
application we are converting it as Web UI using java. I have seen some
problems in writing a java client. At the server for each request from
client, the se
On 4 Oct 2006 06:09:21 -0700, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Hi guys,
> this is my first post. my "programming" background is perlish scripting
> and now I am learning python. I need to create a dictionary of list
> from a file. Normally in perl I use to do like:
You may wish to co
Hi all
I write a program to detect key press,but , why there is a *space*
before the character I typed.??
#!/usr/bin/env python
import sys
import tty
import termios
i = sys.stdin.fileno()
o = sys.stdout.fileno()
backup = termios.tcgetattr(i)
def loop():
while 1:
ch =
On 5 Oct 2006 14:56:54 -0700, Jim <[EMAIL PROTECTED]> wrote:
> * You need a DEBUG variable:
> from defaults import DEBUG
> :
> if DEBUG:
>..
WADR, there is a more formal way to do this:
http://docs.python.org/ref/assert.html
Use -O to remove the assert statements, essentiall
On 10/5/06, Gregory Piñero <[EMAIL PROTECTED]> wrote:
> Thanks guys, putting it twice is all it took!
This rule holds true for a lot of string formatting conventions. (such
as in regexes)
-- Theerasak
--
http://mail.python.org/mailman/listinfo/python-list
Aahz wrote:
> In article <[EMAIL PROTECTED]>,
> Blair P. Houghton <[EMAIL PROTECTED]> wrote:
> >
> >But they do about 10 things totally wrong with Google groups that
> >I'd've fixed in my spare time in my first week if they'd hired me back
> >when I was interviewing with them.
>
> Only ten?
I'm g
In article <[EMAIL PROTECTED]>,
Blair P. Houghton <[EMAIL PROTECTED]> wrote:
>
>But they do about 10 things totally wrong with Google groups that
>I'd've fixed in my spare time in my first week if they'd hired me back
>when I was interviewing with them.
Only ten?
--
Aahz ([EMAIL PROTECTED])
Thanks for all the help guys ... in almost every way using a metaclass
seems to be the right solution for what I'm trying to do here. I say
almost because there is one thing that is still confusing me: what is
the most elegant way to provide base-class implementations of methods
that are expected
Juho Schultz wrote:
> Juho Schultz wrote:
>> Cameron Walsh wrote:
>>> Hi,
>>>
>>> I'm writing a python program to analyse and export volumetric data. To
>>> make development and extension easier, and to make it more useful to the
>>> public when it is released (LGPL), I would like to enable users
Fredrik Lundh wrote:
> [EMAIL PROTECTED] wrote:
>
> > say i have variables like these
> >
> > var1 = "blah"
> > var2 = "blahblah"
> > var3 = "blahblahblah"
> > var4 = ""
> > var5 = "..."..
> >
> > bcos all the variable names start with "var", is there a way to
> > conveniently print
On Oct 5, 9:47 pm, [EMAIL PROTECTED] wrote:
> hi
> say i have variables like these
>
> var1 = "blah"
> var2 = "blahblah"
> var3 = "blahblahblah"
> var4 = ""
> var5 = "..."..
>
> bcos all the variable names start with "var", is there a way to
> conveniently print those variables out...
> eg prin
Tuomas wrote:
> Cameron Walsh wrote:
>> Hi,
>>
>> I'm writing a python program to analyse and export volumetric data.
>> To make development and extension easier, and to make it more useful
>> to the public when it is released (LGPL), I would like to enable users
>> to place their own python fi
[EMAIL PROTECTED] wrote:
> hi
> say i have variables like these
>
> var1 = "blah"
> var2 = "blahblah"
> var3 = "blahblahblah"
> var4 = ""
> var5 = "..."..
>
> bcos all the variable names start with "var", is there a way to
> conveniently print those variables out...
> eg print var* ??
> i don't
[EMAIL PROTECTED] wrote:
> say i have variables like these
>
> var1 = "blah"
> var2 = "blahblah"
> var3 = "blahblahblah"
> var4 = ""
> var5 = "..."..
>
> bcos all the variable names start with "var", is there a way to
> conveniently print those variables out...
do you often (or alwa
[EMAIL PROTECTED] wrote:
> hi
> say i have variables like these
>
> var1 = "blah"
> var2 = "blahblah"
> var3 = "blahblahblah"
> var4 = ""
> var5 = "..."..
>
> bcos all the variable names start with "var", is there a way to
> conveniently print those variables out...
> eg print var* ??
> i don'
[EMAIL PROTECTED] wrote:
> say i have variables like these
>
> var1 = "blah"
> var2 = "blahblah"
> var3 = "blahblahblah"
> var4 = ""
> var5 = "..."..
>
> bcos all the variable names start with "var", is there a way to
> conveniently print those variables out...
do you often (or always) trea
On Fri, 6 Oct 2006 02:22:23 GMT, Bakker A <[EMAIL PROTECTED]> wrote:
>In article <[EMAIL PROTECTED]>,
>goyatlah wrote:
>>
>>I think that you need a superclass above the M2Crypto one, and change
>>the open_https method back to the urllibs one.
>>
>
>I'm not sure I get your suggestion. What the M2C
hi
say i have variables like these
var1 = "blah"
var2 = "blahblah"
var3 = "blahblahblah"
var4 = ""
var5 = "..."..
bcos all the variable names start with "var", is there a way to
conveniently print those variables out...
eg print var* ??
i don't want to do :
print var1, var2, var3, var4 .
On 2006-10-06, MonkeeSage <[EMAIL PROTECTED]> wrote:
> wesley chun wrote:
>> from the performance standpoint, i believe that #4 (list join)
>> from scott is the fastest. #1 (string formatting) is next
>> preferred only because #3 (string concat) is the worst [think
>> "realloc()"]. #2 is useful fo
Ben Finney wrote:
> Perhaps you meant something other than "if the documentation doesn't
> explicitly say that something is a keyword argument, it isn't", then.
I'm sure it's perfectly possibly to use your foot as a door stop, but
does that really mean that it is one?
--
http://mail.python.o
In article <[EMAIL PROTECTED]>,
goyatlah wrote:
>
>I think that you need a superclass above the M2Crypto one, and change
>the open_https method back to the urllibs one.
>
I'm not sure I get your suggestion. What the M2Crypto module does is:
import m2urllib
in its __init__.py, which bl
Steve Menard wrote:
> So my question is, how to replicate new.instance() functionality with new
> classes?
class A(object):
def __init__(self):
print "Class A"
A()
A.__new__(A) # <- this one
Regards,
Jordan
--
http://mail.python.org/mailman/listinfo/python-list
Ps. For readability you can also roll your own sprintf function:
def format(s, *args, **kwargs):
if args:
return s % args
elif kwargs:
return s % kwargs
else:
return s
s = 'I like %s and %s.'
print format(s, 'ham', 'cheese')
s = 'I like %(b)s and %(c)s.'
print format(s, b='butt
Ben Finney wrote:
> "Ilias Lazaridis" <[EMAIL PROTECTED]> writes:
>
> > I admit it is difficult to detect that this post is in-topic.
> > But it is.
>
> Really, it's not. If you want a voice, you already have your
> website. Mailing lists and other discussion forums have conventions
> about "topic"
I have a need to create class instance without invokking the class' __init__
method.
Were I using old-style classes, I'd use new.instance() function. However, I
am using new-style classes and new.instance() complain "TypeError:
instance() argument 1 must be classobj, not type" ...
So my quest
wesley chun wrote:
> from the performance standpoint, i believe that #4 (list join) from
> scott is the fastest. #1 (string formatting) is next preferred only
> because #3 (string concat) is the worst [think "realloc()"]. #2 is
> useful for when you have users who aren't as comfortable with #1.
I
Thanks for the great response!
I'm positive there's something extremely funky going on underneath
that's causing the problem when cyclic garbage collection is turned on.
Unfortunately I haven't got access to the code for the module that
appears to be causing the trouble.
It really appears to
[David Hirschfield]
> Question from a post to pygtk list...but it probably would be better
> answered here:
>
> I encountered a nasty problem with an external module conflicting with
> my python threads recently, and right now the only fix appears to be to
> turn off garbage collection while the cr
Question from a post to pygtk list...but it probably would be better
answered here:
I encountered a nasty problem with an external module conflicting with
my python threads recently, and right now the only fix appears to be to
turn off garbage collection while the critical code of the thread is
On Oct 5, 9:05 am, Tor Erik Soenvisen <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I need to export an Oracle database to a DDL-formated file. On the Web, I
> found a Python script that did exactly this for a MS Access database, but
> not one for Oracle databases.
>
> Does anyone know of such a tool or P
Tim Roberts wrote:
> Although it might be mirrored on a web site somewhere, this is a Usenet
> newsgroup. It is impossible to "close" a thread. The concept simply does
> not exist.
Google, the new de facto website of record for Usenet, disagrees.
But they do about 10 things totally wrong with
At Thursday 5/10/2006 18:52, alf wrote:
according to rfc2046, line breaks in MIME are CRLF. However python just
uses LF like in the following example:
The comments inside generator.py say CRLF everywhere, but the code
simply uses print >>f
You should file a bug report at http://sourceforge.n
[EMAIL PROTECTED] wrote:
> > > >>> excel_date = 38938.0
> > > >>> python_date = datetime.date(1900, 1, 1) +
> > > >>> datetime.timedelta(days=excel_date)
> > > >>> python_date
> > > datetime.date(2006, 8, 11)
> >
> > Err, that's the wrong answer, isn't it? Perhaps it shoud be
> > datetime.date(190
Currently ctypes can't play well with any C code that requires use of setjmp
as part of its API.
libpng is one of those libraries.
Can anyone think of a reasonable solution to this? Perhaps ctypes might be
patched to offer setjmp support in foreign function definitions?
Richard
--
http://
Hi,
I am looking for a method to profile memory usage in my python program.
The program provides web service and therefore is intended to run for a
long time. However, the memory usage tends to increase all the time,
until in a day or two the system cannot handle it any more and starts
to do const
> Following a discussion with an associate at work about various ways to
build strings from variables in python, I'd like to hear your opinions
and preferred methods.
from the performance standpoint, i believe that #4 (list join) from
scott is the fastest. #1 (string formatting) is next preferred
as fredrik and others have mentioned, '%%' in a format string gives
you the single '%' in the string as desired.
however, in your specific application (database), it's best to avoid
using Python's string formatting unless that is the default provided
by your database adapter for the reasons that c
"Ilias Lazaridis" <[EMAIL PROTECTED]> writes:
> I admit it is difficult to detect that this post is in-topic.
> But it is.
Really, it's not. If you want a voice, you already have your
website. Mailing lists and other discussion forums have conventions
about "topic" for a good reason.
> http://ca
[EMAIL PROTECTED] wrote:
> Is there any library in Python which has implementation of graph
> theoretic algorithms and models ?
>
I don't know much about graph theory, but a coworker who does a lot of
it mentioned something about boost:
http://www.boost.org/libs/graph/doc/python.html
Ilias Lazaridis wrote:
> please relax and do not speak for all current and future readers
> (archives).
He may not be speaking for all of them, but he's speaking for the vast
majority. You are a consummate pest.
--
Erik Max Francis && [EMAIL PROTECTED] && http://www.alcyone.com/max/
San Jos
Paul Boddie wrote:
> Perhaps, although I imagine that Trac would have a lot more uptake if
> it handled more than just Subversion repositories.
It handles some other kinds of repositories now (bzr, I think?). From
what I understand fully abstracting out the repository format seems to
still be a w
Paul McGuire wrote:
> "Ilias Lazaridis" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> >
> here whatsoever>
>
> WHAT IS THIS CRAP DOING ON THIS NEWSGROUP???!!! IT IS UNWANTED AND
> UNWELCOME!!!
>
> If you want to make some sort of public notice of your aggrievement with
> Assembl
Neil Cerutti wrote:
> On 2006-10-05, Dustan <[EMAIL PROTECTED]> wrote:
> >
> > Steve Holden wrote:
> >> Dustan wrote:
> >> > I'm hiding some of the details here, because I don't want to
> >> > say what I'm actually doing.
> >> > [...]
> >>
> >> I have the answer to your problem but I don't actuall
Hi,
according to rfc2046, line breaks in MIME are CRLF. However python just
uses LF like in the following example:
from email.MIMEMultipart import MIMEMultipart
from email.MIMEText import MIMEText
msg = MIMEMultipart()
msg['Subject'] = 'Our family reunion'
msg['From'] = '[EMAIL PROTECTED]'
msg
On 2006-10-05, Dustan <[EMAIL PROTECTED]> wrote:
>
> Steve Holden wrote:
>> Dustan wrote:
>> > I'm hiding some of the details here, because I don't want to
>> > say what I'm actually doing.
>> > [...]
>>
>> I have the answer to your problem but I don't actually want to
>> tell you what it is.
>
> T
Nicko wrote:
> I note that in both of those tests you didn't actually ever realise the
> concatenated string. Can you give us figures for these tests having
> forced the concatenated string to be computed?
Sure, good call. And bad news.
All these benchmarks were with functions taking N argument
[EMAIL PROTECTED] wrote:
> Thanks for your quick reply. Since I have not read the documentation, I
> was wondering if you can generate random graph and analyze some
> peroperties of it like clustering coefficient or graph density. I am a
> graph theory student and want to use python for developmen
Fredrik Lundh <[EMAIL PROTECTED]> writes:
> Gabriel Genellina wrote:
>
> >> > the general rule is that if the documentation doesn't
> >> > explicitly say that something is a keyword argument, it isn't,
> >> > and shouldn't be treated as such.
>
> you guys need to look up the words "should" and "no
In article <[EMAIL PROTECTED]>,
Steve Holden <[EMAIL PROTECTED]> wrote:
>Franz Steinhaeusler wrote:
>> Hello NG,
>>
>> I'm asking this, (although I know a mailing list on gmane
>> gmane.comp.python.tkinter and there is so little traffic
>> compared to the mailing list of wxPython also mirrored
>>
Steve Holden wrote:
> Dustan wrote:
> > I'm hiding some of the details here, because I don't want to say what
> > I'm actually doing.
> > [...]
>
> I have the answer to your problem but I don't actually want to tell you
> what it is.
That's great, seeing as I already figured out the answer, as I
Clodoaldo Pinto Neto wrote:
> I'm just building a Python CGI Tutorial and would appreciate any
> feedback from the many experts in this list.
I'm not an expert, but I have written a lot of these and I have a
couple of $0.02's.
* All code you put in your writing needs to be correct. That is, on
th
[EMAIL PROTECTED]:
>I was wondering if you can generate random graph and analyze some
> peroperties of it like clustering coefficient or graph density.
There are many kinds of random graphs, in that Graph lib I have added
few random generators, but you can add many more yourself, it's easy
(Then i
"Ilias Lazaridis" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> .
>
--
http://lazaridis.com
WHAT IS THIS CRAP DOING ON THIS NEWSGROUP???!!! IT IS UNWANTED AND
UNWELCOME!!!
If you want to make some sort of public notice of your aggrievement with
Assembla, Breakout, Mr. Si
At Thursday 5/10/2006 13:53, [EMAIL PROTECTED] wrote:
Has anyone ever think about a set wich references its elements weakly ?
The *easy* solution would provide a WeakSet class with the following
behavior:
>>>s=set([a, b])
>>>ws=WeakSet([b,c])
>>>(ws&s).__class__() is WeakSet
True
>>>s&ws
TypeErr
[EMAIL PROTECTED] wrote:
> Are there any visualization tool which would depict the random graph
> generated by the libraries.
Google for DOT (.DOT format w/ renders to a variety of output formats).
--
--Scott David Daniels
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-li
On Thu, 2006-10-05 at 16:15, John Salerno wrote:
> But I think SQL has other recommended methods. At least with SQLite, it
> is recommended you not use Python's %s formatter but instead the "?"
> formatter.
While I wholeheartedly agree with the sentiment, calling the "?" a
formatter only blurs t
Larry Bates wrote:
> So what is going to be holding the "network drive" if it isn't a server?
> And what is MySQL running on?
The network drives are on a filer (a NAS array, I believe). The filer
will not execute any code, it just serves data by whatever protocols
(example: CIFS, NFS) it is set
[For some reason, the newsgroup server seems to not have distributed
the messages yet. Thus posting via groups-google now. first message was
from 2006-09-27, second message from 2006-09-28, both with a CC to Andy
Singleton]
Ilias Lazaridis wrote:
> Ilias Lazaridis wrote:
>> CC to : Andy Singl
EP wrote:
> I need to build a fairly simple application that will reside on remote
> storage, not on a server, and I am looking for any best practices and
> approaches that have worked for others. I believe py2exe may be part
> of the solution. Here's what I need to build:
>
> -- A database app
Tim Chase schrieb:
>> Access might really be the best solution. It is pretty good
>> for what it is supposed to do, and the quick prototyping and
>> UI-designing are strong arguments for it, especially if there
>> already is a bias towards it.
>>
>> I also _think_ that the whole "db on a shared vol
Thanks guys, putting it twice is all it took!
--
http://mail.python.org/mailman/listinfo/python-list
Thanks for your quick reply. Since I have not read the documentation, I
was wondering if you can generate random graph and analyze some
peroperties of it like clustering coefficient or graph density. I am a
graph theory student and want to use python for development. Somebody
told me that Python ha
> Access might really be the best solution. It is pretty good
> for what it is supposed to do, and the quick prototyping and
> UI-designing are strong arguments for it, especially if there
> already is a bias towards it.
>
> I also _think_ that the whole "db on a shared volume" thing
> works compa
Gregory Piñero wrote:
> How do I put % in a format sting?
>
> For example I want this to work:
>
sql_template="""SELECT ENTRY FROM LOOKUP WHERE FIELDNAME LIKE '%s%V'"""
sql_template % 'userdef103'
> Traceback (most recent call last):
> File "", line 1, in ?
> TypeError: not enough argu
[EMAIL PROTECTED]:
> Is there any library in Python which has implementation of graph
> theoretic algorithms and models ?
There are many of them, like:
https://networkx.lanl.gov/
Mine:
http://sourceforge.net/projects/pynetwork/
...and some other.
Bye,
bearophile
--
http://mail.python.org/mailma
Gregory Piñero wrote:
> How do I put % in a format sting?
write it twice.
--
http://mail.python.org/mailman/listinfo/python-list
How do I put % in a format sting?
For example I want this to work:
>>> sql_template="""SELECT ENTRY FROM LOOKUP WHERE FIELDNAME LIKE '%s%V'"""
>>> sql_template % 'userdef103'
Traceback (most recent call last):
File "", line 1, in ?
TypeError: not enough arguments for format string
--
Gregor
> -- A database application on a network drive
> -- A variety of users will access the database application at various
> times
> -- All computing is done on the client machines (Windows XP), as there
> is no server
> -- I'll not be able to install a database program, or Python, on the
> client
Is there any library in Python which has implementation of graph
theoretic algorithms and models ?
--
http://mail.python.org/mailman/listinfo/python-list
> > >>> excel_date = 38938.0
> > >>> python_date = datetime.date(1900, 1, 1) +
> > >>> datetime.timedelta(days=excel_date)
> > >>> python_date
> > datetime.date(2006, 8, 11)
>
> Err, that's the wrong answer, isn't it? Perhaps it shoud be
> datetime.date(1900, 1, 29)?
Actually was about to post sa
I need to build a fairly simple application that will reside on remote
storage, not on a server, and I am looking for any best practices and
approaches that have worked for others. I believe py2exe may be part
of the solution. Here's what I need to build:
-- A database application on a network
Juho Schultz wrote:
> Cameron Walsh wrote:
> > Hi,
> >
> > I'm writing a python program to analyse and export volumetric data. To
> > make development and extension easier, and to make it more useful to the
> > public when it is released (LGPL), I would like to enable users to place
> > their own
On 10/5/06, Simon Brunning <[EMAIL PROTECTED]> wrote:
> On 5 Oct 2006 10:25:37 -0700, Matimus <[EMAIL PROTECTED]> wrote:
> > > the date( 8/9/2006 ) in Excel file, i am getting the value as 38938.0,
> > > which I get when I convert date values to general format in Excel. I
> > > want the actual date
Cameron Walsh kirjoitti:
> Hi,
>
> I'm writing a python program to analyse and export volumetric data. To
> make development and extension easier, and to make it more useful to the
> public when it is released (LGPL), I would like to enable users to place
> their own python files in a "user_exten
Martin> The regular admin tasks likely include stuff like this:
Martin> - the system is unavailable, bring it back to work
Martin> This is really the worst case, and a short response time
Martin> is the major factor in how users perceive the service
Martin> - the system is
1 - 100 of 224 matches
Mail list logo