Welcome to DellaModa.com, Leader in: Authentic Designer Handbags,
Designer bags, Designer Shoes, Designer Sunglasses, Designer Brands -
Gucci, Prada, Fendi, Tods, Christian Dior, YSL, Cesare Paciotti, Dolce
& Gabbana, Bvlgari, Chanel, Marc Jacobs, Ferragamo& more. Visit :
http://www.dellamoda.com
-
On Oct 3, 4:15 pm, flebber wrote:
> On Oct 3, 9:58 am, John Bokma wrote:
>
>
>
> > flebber writes:
> > > On Oct 2, 4:24 pm, Steven D'Aprano > > cybersource.com.au> wrote:
> > >> On Fri, 01 Oct 2010 21:05:09 -0700, flebber wrote:
> > >> > On Oct 2, 9:27 am, MRAB wrote:
> > >> >> On 01/10/2010 2
On Oct 3, 9:58 am, John Bokma wrote:
> flebber writes:
> > On Oct 2, 4:24 pm, Steven D'Aprano > cybersource.com.au> wrote:
> >> On Fri, 01 Oct 2010 21:05:09 -0700, flebber wrote:
> >> > On Oct 2, 9:27 am, MRAB wrote:
> >> >> On 01/10/2010 23:29, Burton Samograd wrote:>
> >> >> flebber writes:
On 2010-10-03, Steven D'Aprano wrote:
> On Sat, 02 Oct 2010 12:50:02 -0700, Dennis Lee Bieber wrote:
>> Well... We could maybe borrow from REXX... and
>> use || for concatenation.
>|| for concatenation? What's the connection between the pipe character
> and concatenation?
Th
On Sat, 02 Oct 2010 12:50:02 -0700, Dennis Lee Bieber wrote:
> Well... We could maybe borrow from REXX... and
> use || for concatenation.
|| for concatenation? What's the connection between the pipe character
and concatenation? I realise that, ultimately, every symbol was
On 03/10/2010 03:29, Hidura wrote:
2010/10/2, Niklasro:
Hello
Getting a web same page with 2 or more possible "states" eg business
part, private part or all parts, can you recommend a way to represent
the states via HTTP GET? Feasible way could be ?business=business, ?
type=business, ?business=t
On Sat, 02 Oct 2010 13:17:02 -0700, Carey Tilden wrote:
> Have you profiled an application and found string concatenation to be
> a performance bottleneck? I would be surprised, but it's always
> possible. If not, I'd suggest you choose the technique that is most
> clear and concise, and worry a
Be more specific but i recommend you, use a way in what you be very
explicit eg:part='bussiness' a bool for 3 options it's very diffcult
to handle.
2010/10/2, Niklasro :
> Hello
> Getting a web same page with 2 or more possible "states" eg business
> part, private part or all parts, can you recomm
On Sat, 02 Oct 2010 14:09:15 -0700, geremy condra wrote:
> I'd actually love the ability to overload this, although I'm not sold on
> the itertools.chain thing. To me it looks a lot like the 'is isomorphic'
> operator from graph theory, and we could really use that in Graphine.
You can overload t
On Sat, 02 Oct 2010 14:12:39 -0700, Dennis Lee Bieber wrote:
> I'd prefer to see it used for floating point comparison in the two
> character:
> x ~= y
> though one might need to set up some system parameter to define what the
> permissible delta would be...
>
> sys.fl
Hello
Getting a web same page with 2 or more possible "states" eg business
part, private part or all parts, can you recommend a way to represent
the states via HTTP GET? Feasible way could be ?business=business, ?
type=business, ?business=true or others. Should I minimize casting the
variable? Whic
On Sat, 2 Oct 2010 19:13:11 -0400
Philip Semanchuk wrote:
>
> On Oct 2, 2010, at 6:58 PM, Tim Chase wrote:
>
> > On 10/02/10 17:06, Seebs wrote:
> >> On 2010-10-02, Ravi wrote:
> >>> The documentation of the sqlite module at
> >>> http://docs.python.org/library/sqlite3.html says:
> >>
> >>> ".
On Sat, 02 Oct 2010 23:35:01 +0200
"Jonas H." wrote:
>
> This WSGI application:
>
>def app(env, start_response):
>start_response('200 alright', [])
>try:
>a
>except:
>import sys
>sys.exc_info()
>return ['hello']
>
>impo
On Oct 2, 2010, at 6:58 PM, Tim Chase wrote:
> On 10/02/10 17:06, Seebs wrote:
>> On 2010-10-02, Ravi wrote:
>>> The documentation of the sqlite module at
>>> http://docs.python.org/library/sqlite3.html says:
>>
>>> "...allows accessing the database using a nonstandard
>>> variant of the SQL...
On 02 Oct 2010 22:06:58 GMT
Seebs wrote:
> I would agree that the word "nonstandard" seems to be a little strong and
> discouraging. sqlite is a source of joy, a small bright point of decent
> and functional software in a world full of misbehaving crap. While it
> does omit a few bits of SQL fun
flebber writes:
> On Oct 2, 4:24 pm, Steven D'Aprano cybersource.com.au> wrote:
>> On Fri, 01 Oct 2010 21:05:09 -0700, flebber wrote:
>> > On Oct 2, 9:27 am, MRAB wrote:
>> >> On 01/10/2010 23:29, Burton Samograd wrote:>
>> >> flebber writes:
>>
>> >> >> But where is this saving the imported f
On 10/02/10 17:06, Seebs wrote:
On 2010-10-02, Ravi wrote:
The documentation of the sqlite module at
http://docs.python.org/library/sqlite3.html says:
"...allows accessing the database using a nonstandard
variant of the SQL..."
I would agree that the word "nonstandard" seems to be a little
On Oct 2, 4:24 pm, Steven D'Aprano wrote:
> On Fri, 01 Oct 2010 21:05:09 -0700, flebber wrote:
> > On Oct 2, 9:27 am, MRAB wrote:
> >> On 01/10/2010 23:29, Burton Samograd wrote:>
> >> flebber writes:
>
> >> >> But where is this saving the imported file and under what name?
>
> >> > Looks like s
On 02/10/2010 22:12, Dennis Lee Bieber wrote:
On Sat, 02 Oct 2010 21:24:19 +0100, MRAB
declaimed the following in gmane.comp.python.general:
How about "~", which is currently has only a unary form:
>>> "foo" ~ "bar"
'foobar'
>>> [1, 2, 3] ~ [4, 5, 6]
[1, 2, 3, 4, 5, 6]
Think of it as me
On 2010-10-02, Ravi wrote:
> The documentation of the sqlite module at
> http://docs.python.org/library/sqlite3.html
> says:
> "...allows accessing the database using a nonstandard variant of the
> SQL..."
> But if you see SQLite website they clearly say at
> http://sqlite.org/omitted.html
> t
Hello list,
I have a really weird reference problem with `sys.exc_info`, and, if I'm
right, function frames.
The software in question is bjoern, a WSGI web server written in C,
which you can find at http://github.com/jonashaag/bjoern.
This WSGI application:
def app(env, start_response):
Carey,
> Have you profiled an application and found string concatenation to be a
> performance bottleneck? I would be surprised, but it's always possible.
The "application" is very simple - its essentially a finite state
machine that parses complex RTF files. We read char by char and do lots
of
Ravi wrote:
> The documentation of the sqlite module
> at http://docs.python.org/library/sqlite3.html
> says:
>
> "...
> allows accessing the database
> using a nonstandard variant of the SQL..."
>
> But if you see SQLite website they clearly say
> at http://sqlite.org/omitted.html that onl
On 2010-10-02, Sandy wrote:
> I want to find how much free memory (RAM) is available in my system
> using python.
The question is essentially incoherent on modern systems. You'd have to
define terms. Consider that on a given system, it's quite possible that
gigabytes of space are being used to
On Sat, Oct 2, 2010 at 1:24 PM, MRAB wrote:
> On 02/10/2010 20:50, Dennis Lee Bieber wrote:
>>
>> On 02 Oct 2010 04:38:16 GMT, Steven D'Aprano
>> declaimed the following in
>> gmane.comp.python.general:
>>
>>
>>> If so, then we haven't gained anything, and the only thing that would
>>> satisfy s
On 02/10/2010 20:50, Dennis Lee Bieber wrote:
On 02 Oct 2010 04:38:16 GMT, Steven D'Aprano
declaimed the following in
gmane.comp.python.general:
If so, then we haven't gained anything, and the only thing that would
satisfy such people would be for every function name and operator to be
uniqu
Emile,
> Your times will improve when not burdened by the repeated method lookups and
> element-wise list creation.
Excellent point!!
Here's updated timings for each technique followed by copy and paste
source code for anyone that wants to fiddle with these tests. I've
placed your name above yo
On Sat, Oct 2, 2010 at 12:09 PM, wrote:
> My understanding is that appending to a list and then joining this list when
> done is the fastest technique for string concatenation. Is this true?
Have you profiled an application and found string concatenation to be
a performance bottleneck? I would
The documentation of the sqlite module at
http://docs.python.org/library/sqlite3.html
says:
"...allows accessing the database using a nonstandard variant of the
SQL..."
But if you see SQLite website they clearly say at http://sqlite.org/omitted.html
that only very few of the SQL is not implement
On 10/2/2010 12:09 PM pyt...@bdurham.com said...
Your times will improve when not burdened by the repeated method lookups
and element-wise list creation:
try with eg,
def testListAppend2():
output = list()
append = output.append
for char in source:
append( char )
outpu
My understanding is that appending to a list and then joining
this list when done is the fastest technique for string
concatenation. Is this true?
The 3 string concatenation techniques I can think of are:
- append to list, join
- string 'addition' (s = s + char)
- cStringIO
The code that follows
For reference to posterity, this is how I got it to work in the end:
PyObject* module = PyImport_ImportModule("__builtin__");
PyObject* obj = PyRun_String("1", Py_eval_input,
PyModule_GetDict(module), NULL);
Py_DECREF(module);
long d = PyLong_AsLong(obj);
printf("long:%ld\n", d);
Py_DE
On Sat, Oct 2, 2010 at 9:53 AM, Hugo Léveillé wrote:
> Hi
> let say I have a simple math apps that randomize number X and number Y.
> How would you randomize between '/','*','+', and '-' for that math
> operation
What does it mean to 'randomize' a number? Just pick a number at random.
Geremy Con
I think there is a bad import in /deditor/deditor.py. It says "import
wx.aui" and this makes the program fail. At least for me, anyway. Something
might be messed up with my computer.
On Sat, Oct 2, 2010 at 12:56 PM, Kruptein wrote:
> Hey, I released the 0.2.1 version of my text-editor written
On Sat, 2010-10-02 at 07:06 -0700, Sandy wrote:
> Hi all,
> I want to find how much free memory (RAM) is available in my system
> using python. I tried psutil, parsing /proc/meminfo, top output etc
> but not satisfied. For example my gnome-system-monitor gui shows I am
> using 1GB (25%) of my RAM w
use the add, sub, div, and mul functions in the operator module. Stick
them in a list, and then randomly pull one out.
On Sat, Oct 2, 2010 at 12:53 PM, Hugo Léveillé wrote:
> Hi
> let say I have a simple math apps that randomize number X and number Y.
> How would you randomize between '/','*','+
Hey, I released the 0.2.1 version of my text-editor written for linux
in python using the wxPython toolkit.
I would like to know whether it is good/bad and what could be changed/
added
this version added
-syntax-highlighting for 78 languages
-Tab completion in the filepath bar
-Shortcut customiz
Hi
let say I have a simple math apps that randomize number X and number Y.
How would you randomize between '/','*','+', and '-' for that math
operation
--
Hugo Léveillé
hu...@fastmail.net
--
http://mail.python.org/mailman/listinfo/python-list
On 02/10/2010 04:13, AON LAZIO wrote:
Hi python pals,
I need this help, say I have
h = "Hello \n World"
How would I create a regular expression that match only "Hello
World"? (ignore \n in the middle)
Thanks in advance
\s matches any whitespace, so:
Hello\s+World
--
http:/
On Oct 1, 9:38 pm, Steven D'Aprano wrote:
> If so, then we haven't gained anything, and the only thing that would
> satisfy such people would be for every function name and operator to be
> unique -- something which is impossible in practice, even if it were
> desirable.
That is the ideal, yes, a
The results was that, i can upload all the data normally comes as an byte
code and looks like this:
\\n\\x1a\\n\\x00\\x00\\x00IHDR\\x00\\x00\\x05U\\x00\\x00\\x026\\x08\\x06\\x00\\x00\\x00P]h\\xc5\\x00\\x00\\x00\\x01sRGB\\x00\\xae\\xce\\x1c\\xe9\\x00\\x00\\x00\\x06bKGD\\x00\\xff\\x00\\xff\\x00\\
On Sat, 2 Oct 2010 07:06:37 -0700 (PDT)
Sandy wrote:
> Hi all,
> I want to find how much free memory (RAM) is available in my system
> using python.
Take a look at http://www.selenic.com/smem/
It's written in Python.
Regards
Antoine.
--
http://mail.python.org/mailman/listinfo/python-list
Hi all,
I want to find how much free memory (RAM) is available in my system
using python. I tried psutil, parsing /proc/meminfo, top output etc
but not satisfied. For example my gnome-system-monitor gui shows I am
using 1GB (25%) of my RAM while /proc/meminfo, top, psutil says around
2GB is used. I
"Mailing List" writes:
> Was including a input check on a function argument which is expecting a
> datetime.date. When running unittest no exception was raised when a
> datetime.datetime instance was used as argument. Some playing with the
> console lead to this:
>
import datetime
>
dt1
On Saturday 02 October 2010, it occurred to AON LAZIO to exclaim:
> Hi python pals,
>I need this help, say I have
>h = "Hello \n World"
>How would I create a regular expression that match only "Hello World"?
> (ignore \n in the middle)
What exactly are you looking for? One way to solve
On Sat, Oct 2, 2010 at 5:12 AM, Mailing List wrote:
> Was including a input check on a function argument which is expecting a
> datetime.date. When running unittest no exception was raised when a
> datetime.datetime instance was used as argument. Some playing with the
> console lead to this:
>
>>>
On Sat, Oct 2, 2010 at 4:58 AM, jimgardener wrote:
> hi
> while trying out urllib.urlopen ,I wrote this code to read a url and
> return the data length
>
> import datetime,time,urllib
>
> def get_page_size(pageurlstr):
> h=urllib.urlopen(pageurlstr)
> data=h.read()
> return len(data)
>
>
Was including a input check on a function argument which is expecting a
datetime.date. When running unittest no exception was raised when a
datetime.datetime instance was used as argument. Some playing with the
console lead to this:
>>> import datetime
>>> dt1 = datetime.datetime(2010, 10, 2)
>>>
hi
while trying out urllib.urlopen ,I wrote this code to read a url and
return the data length
import datetime,time,urllib
def get_page_size(pageurlstr):
h=urllib.urlopen(pageurlstr)
data=h.read()
return len(data)
while True:
print 'reading url www.google.com
at',datetime
http://www.dating4url.blogspot.com
--
http://mail.python.org/mailman/listinfo/python-list
On 1 Oct, 19:33, RG wrote:
> In article ,
> Seebs wrote:
> > On 2010-10-01, RG wrote:
> > >> Those goal posts are sorta red shifted at this point.
[...]
> > > Red shifted?
>
> > Moving away fast enough that their color has visibly changed.
doppler shift for instance or one of them cosmologi
On 1 Oct, 11:02, p...@informatimago.com (Pascal J. Bourguignon) wrote:
> Seebs writes:
> > On 2010-09-30, Ian Collins wrote:
> >> Which is why agile practices such as TDD have an edge. If it compiles
> >> *and* passes all its tests, it must be right.
>
> > So far as I know, that actually just
Chris Rebert writes:
> On Fri, Oct 1, 2010 at 11:13 PM, wrote:
>> Hello, i control the problem of the data what is uploaded by the POST
>> method, in the web if the file is a text theres no problem
>> but the trouble comes when it's an enconded file as a Picture or other what
>> the when the sy
tekion writes:
> All,
> I have the following xml tag:
>
>
> httpRequest
> HTTP://cmd.wma.ibm.com:80/
> GET
> 200
>
>
>
> I am interested in:
>httpRequest
> HTTP://cmd.wma.ibm.com:80/
> GET
> 200
> as well as the upper layer tag. How do I ge
On Oct 1, 11:19 pm, Paul Rubin wrote:
> Steven D'Aprano writes:
> > Incorrect. bools *are* ints in Python, beyond any doubt.
>
> Python 2.6.2 (r262:71600, Jun 4 2010, 18:28:58)
> >>> type(3)==type(True)
> False
>>> -1 < False < True < 2
True
>>> True + True
2
>>> hex(True)
'0x1'
55 matches
Mail list logo