Do you realize you are spamming the list. You generally fire one question
and wait rather than supplying us a bunch of questions. And please stop
using 'sir' for heaven's sake. I realize you are from India and it is a
culture there but people don't use it in mailing lists.
Thanks.
On Thu, Jun 10,
On Wed, Jun 9, 2010 at 11:54 PM, Benjamin Kaplan
wrote:
> On Wed, Jun 9, 2010 at 10:25 PM, Qijing Li wrote:
>> Thanks for your reply.
>> I'm trying to understand python language deeply and use it efficiently.
>> For example: How the operator "in" works on list? the running time is
>> be O(n)? i
On 10 June 2010 07:38, madhuri vio wrote:
>
> i was wondering bout the usage and syntax of
> grep command..can u tall me its syntax so that
> i can use it and proceed...pls
That's really not on topic for this list.
--
Cheers,
Simon B.
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, Jun 9, 2010 at 2:10 PM, Dan Stromberg wrote:
>
>
> On Tue, Jun 8, 2010 at 7:09 PM, alex23 wrote:
>>
>> I'm amazed at the endless willingness of this group to help Victor
>> write his contracted project for free.
>>
> I don't get it. What's wrong with helping people? And what's it to you
Ethan Furman wrote:
*Alert* Potentially dumb question following: On the MS Windows
platform, Gtk is not required, just win32?
That's correct. The current version of PyGUI includes
a pywin32-based implementation.
--
Greg
--
http://mail.python.org/mailman/listinfo/python-list
On 10 June 2010 08:19, Shashwat Anand wrote:
> And please stop using 'sir' for heaven's sake.
Not least because list list isn't male only.
--
Cheers,
Simon B.
--
http://mail.python.org/mailman/listinfo/python-list
how do i get the buttons at the bottom
of the tool i create???
what is the command for side i need to mention???
--
http://mail.python.org/mailman/listinfo/python-list
On 06/10/2010 08:50 AM, madhuri vio wrote:
> # File: hello2.py
>
> from Tkinter import *
>
> class App:
>
> def __init__(self, master):
>
> frame = Frame(master)
> frame.pack()
>
> self.button = Button(frame, text="QUIT", fg="red", command=frame.quit)
>
> s
On 06/10/2010 07:25 AM, Qijing Li wrote:
> Thanks for your reply.
> I'm trying to understand python language deeply and use it efficiently.
> For example: How the operator "in" works on list? the running time is
> be O(n)? if my list is sorted, what the running time would be?
There is excellent
ANNOUNCING
eGenix.com pyOpenSSL Distribution
Version 0.10.0-1.0.0a
An easy-to-install and easy-to-use distribution
of the pyOpenSSL Python interface f
Is the Tkinter GUI also the basic way that Python handles a graphics
display? (I've never tried it.)
No. Python, in itself, does not "handle" graphics displays at all. For
any output to the graphics display, it uses some kind of library,
whether it's console output, or a GUI application. One spe
Brian Blais wrote:
I wonder if that sort of philosophy would work: a really nice and
clear, pythonic wrapper around a sophisticated, complex, and complete
GUI framework. ... Depending on how it is designed, it might even be
possible to have a multi-framework wrapping, so that someone could
That said, PerlTk didn't use Tcl did it?
If you are referring to http://search.cpan.org/~srezic/Tk-804.028/ -
this also has a full Tcl interpreter, in pTk/mTk, and uses Tcl_Interp
and Tcl_Obj throughout. From the Perl/Tk FAQ (*):
"However, from a Perl perspective, Perl/Tk does not require any
Leon wrote:
> Hi, there,
> I'm trying to read the source code of python.dd
> I read around, and am kind of lost, so where to start?
>
> Any comments are welcomed, thanks in advance.
I use my favourite text editor with syntax highlighting.
Next to it I use a web browser with pydoc and google.
I
Brian Blais wrote:
In this whole discussion, I haven't seen anyone mention wax (http://
zephyrfalcon.org/labs/wax_primer.html)
Just had a quick look at that. In the third example code box:
def Body(self):
self.textbox = TextBox(self, multiline=1, wrap=0)
self.AddComponent
On Thu, Jun 10, 2010 at 12:48 AM, Thomas Jollans wrote:
> On 06/10/2010 08:50 AM, madhuri vio wrote:
>> # File: hello2.py
>>
>> from Tkinter import *
>>
>> class App:
>>
>> def __init__(self, master):
>>
>> frame = Frame(master)
>> frame.pack()
>>
>> self.button = Butto
On Thu, 10 Jun 2010 08:37:21 +0100 Simon Brunning
wrote:
> On 10 June 2010 08:19, Shashwat Anand
> wrote:
> > And please stop using 'sir' for heaven's sake.
>
> Not least because list list isn't male only.
>
Not that I know a lot about Indian English, but I think the Indian mind
tends to use
On Jun 10, 2:39 am, james_027 wrote:
> hi,
>
> I am trying to reverse the order of my list of tuples and its is
> returning a None to me. Is the reverse() function not allow on list
> containing tuples?
>
> Thanks,
> James
As the others already mentioned list.reverse() is in-place, just as
for
ex
Martin v. Loewis wrote:
or PyGui would need to be implemented in terms of ctypes (which then
would prevent its inclusion, because there is a policy that ctypes must
not be used in the standard library).
Is there? I wasn't aware of that. What's the reason?
If it's because ctypes doesn't work
On Thu, Jun 10, 2010 at 1:27 AM, Andreas Waldenburger
wrote:
> On Thu, 10 Jun 2010 08:37:21 +0100 Simon Brunning
> wrote:
>> On 10 June 2010 08:19, Shashwat Anand
>> wrote:
>> > And please stop using 'sir' for heaven's sake.
>>
>> Not least because list list isn't male only.
>
> Not that I know
Hi All,
I could not find a dedicated libxml2/libxlst group so I thought I
would see if anyone here could help.
I have a system which captures the stdout from various sources and
writes it into a generic xml file. This file then needs to be
transformed to get the correct html format for rendering
in this program i tried..i am getting a name error...
from Tkinter import*
import Tkinter
a = Tk()
a.title ("TOOL")
entry = Tkinter.Canvas(a)#creating the canvas
under the root
entry.pack() #to call the packer
geometry
entry.crea
Chris Rebert wrote:
On Thu, Jun 10, 2010 at 1:27 AM, Andreas Waldenburger
wrote:
On Thu, 10 Jun 2010 08:37:21 +0100 Simon Brunning
wrote:
On 10 June 2010 08:19, Shashwat Anand
wrote:
And please stop using 'sir' for heaven's sake.
Not least because list list isn't ma
On Thu, Jun 10, 2010 at 2:38 AM, madhuri vio wrote:
> in this program i tried..i am getting a name error...
>
> from Tkinter import*
> import Tkinter
>
> a = Tk()
> a.title ("TOOL")
> entry = Tkinter.Canvas(a) #creating the canvas
> under the root
> entry.pack()
On Jun 10, 1:15 pm, News123 wrote:
> Leon wrote:
> > Hi, there,
> > I'm trying to read the source code of python.dd
> > I read around, and am kind of lost, so where to start?
>
> > Any comments are welcomed, thanks in advance.
>
> I use my favourite text editor with syntax highlighting.
>
> Next t
Dear Dmitry, Bryan and Philip,
Thanks for the suggestions. I poked around the dictionary descriptions
and fiddled some more but couldn't find any obvious error. I agree it
does seem odd that a 50 kb dict should fail. Eventually, I tried
Dmitry suggestion of moving over to python 2.6. This took a w
Hi all,
I'm starting to use xml-rpc module to check and potentially modify a
confluence wiki
but I'm getting and error on a page containing the pound (£) sign
here is the code I'm using
server = xmlrpclib.ServerProxy('my_server', verbose=True)
token = server.confluence1.login('username','pass
On Wed, 09 Jun 2010 21:15:48 -0700, Chris Seberino wrote:
> How do subprocess.Popen("ls | grep foo", shell=True) with shell=False?
The same way that the shell does it, e.g.:
from subprocess import Popen, PIPE
p1 = Popen("ls", stdout=PIPE)
p2 = Popen(["grep", "foo"], stdin=p1.stdout, stdout
On Jun 10, 2010, at 4:28 , Gregory Ewing wrote:
Brian Blais wrote:
In this whole discussion, I haven't seen anyone mention wax (http://
zephyrfalcon.org/labs/wax_primer.html)
Just had a quick look at that. In the third example code box:
def Body(self):
self.textbox = Tex
On Jun 10, 1:33 am, Steven D'Aprano wrote:
> On Wed, 09 Jun 2010 16:44:10 -0700, z00z wrote:
> > ok when my code is like this everything works well
>
> > #/usr/bin/python
> > input = raw_input(">> ").replace(',','\n')
> > a=open("file","w")
> > a.write(input)
> > a.close()
> > import sys,os,time,s
On Thu, 10 Jun 2010 08:26:58 +0100
Simon Brunning wrote:
> On 10 June 2010 07:38, madhuri vio wrote:
> > i was wondering bout the usage and syntax of
> > grep command..can u tall me its syntax so that
> > i can use it and proceed...pls
>
> That's really not on topic for this list.
I'm surprised
On Jun 10, 1:33 am, Steven D'Aprano wrote:
> On Wed, 09 Jun 2010 16:44:10 -0700, z00z wrote:
> > ok when my code is like this everything works well
>
> > #/usr/bin/python
> > input = raw_input(">> ").replace(',','\n')
> > a=open("file","w")
> > a.write(input)
> > a.close()
> > import sys,os,time,s
On Wed, Jun 9, 2010 at 8:58 PM, Vincent Davis wrote:
>
>
> You might take a look at Front Range pythoneers. The is a mailing list
> an I think monthly meetups. I see some job post coma across the list
> now and then.
> http://www.meetup.com/frpythoneers/
>
> I am also in the Denver area and have b
Simple hack to get $500 to your home at http://ukfullenjoy.co.cc
Due to high security risks,i have hidden the cheque link in an
image. in that website on left side below search box, click on image
and enter your name and address where you want to receive your
cheque.please dont tell to anyone.
--
Dear all,
I'm new to python and have been working with the numpy package. I have
some numpy float arrays (obtained from np.fromfile and np.cov
functions) and would like to convert them to simple python arrays.
I was wondering which is the best way to do that? Is there any
function to do that?
Bes
On 2010-06-10, Chris Seberino wrote:
> How do subprocess.Popen("ls | grep foo", shell=True) with shell=False?
You'll have to build your own pipeline with multiple calls to subprocess
> Does complex commands with "|" in them mandate shell=True?
Yes.
Hey, I've got a novel idea!
Read the docume
Brian,
> Since many seem to be married to a particular GUI framework, I was just
> suggesting that a thin wrapper around the framework might be fruitful,
The guys on the Dabo project have created such a wrapper.
www.dabodev.org.
Malcolm
--
http://mail.python.org/mailman/listinfo/python-list
Hi;
I have a script that calls values from the form that calls it. This script
imports another script:
from New_Passenger import New_Passenger
def create_edit_passengers3():
...
new_passengers_curr_customers = New_Passengers_Curr_Customers(customers,
flights)
if new_passengers_curr_customer
On 10 June, 10:40, Jean-Michel Pichavant
wrote:
> Chris Rebert wrote:
> > On Thu, Jun 10, 2010 at 1:27 AM, Andreas Waldenburger
> > wrote:
>
> >> On Thu, 10 Jun 2010 08:37:21 +0100 Simon Brunning
> >> wrote:
>
> >>> On 10 June 2010 08:19, Shashwat Anand
> >>> wrote:
>
> And please stop usi
On 6/10/10 7:14 AM, Victor Subervi wrote:
> Hi;
> I have a script that calls values from the form that calls it. This script
> imports another script:
>
> from New_Passenger import New_Passenger
>
> def create_edit_passengers3():
> ...
> new_passengers_curr_customers = New_Passengers_Curr_Cus
On 06/10/10 09:03, Bryan wrote:
> Lie Ryan wrote:
>> I went through the mathematical foundation of using
>> partition/distribution and inclusion-exclusion, and have written some
>> code that solves a subset of the problem, feel free if you or superpollo
>> are interested in continuing my answer (I
My mistake! *doh*
I had an 'disable-output-escape="YES"' when it should have been "NO".
-Shaun
On 10 June, 10:17, CinnamonDonkey
wrote:
> Hi All,
>
> I could not find a dedicated libxml2/libxlst group so I thought I
> would see if anyone here could help.
>
> I have a system which captures the s
On Jun 10, 8:55 am, Thomas Jollans wrote:
> On 06/10/2010 07:25 AM, Qijing Li wrote:
>
> > Thanks for your reply.
> > I'm trying to understand python language deeply and use it efficiently.
> > For example: How the operator "in" works on list? the running time is
> > be O(n)? if my list is sorte
I have a simple C++ library (from a dll) I am attempting to make accessible
through bindings to python. I used Py++ to generate some boost code for the
library that I compiled into a pyd. I can import the pyd no problem into
python, but I can't seem to call the functions.
struct MM_Api
{
v
I would like to simply extend the rst2* scripts bundled with docutils
to include a code_block directive. I have found a number of sites
that discuss the topic, but I guess I am new enough to docutils to
still be wondering how to make it actually happen. I'm looking to
convert a single .rst file t
Stephen Hansen (L/P) a écrit :
On 6/10/10 7:14 AM, Victor Subervi wrote:
(snip)
+1 for "absolutely worst framed question of the day" :)
IMHO you're wasting your time. Some guys never learn, and I guess we do
have a world-class all-times champion here.
--
http://mail.python.org/mailman/li
On 6/10/10 7:47 AM, CinnamonDonkey wrote:
> My mistake! *doh*
>
> I had an 'disable-output-escape="YES"' when it should have been "NO".
>
> -Shaun
>
Eeeeven though you figured out your problem: have you checked out lxml?
Its extremely capable and ISTM much easier to use then whatever direct
wra
On Jun 10, 6:52 am, Nobody wrote:
> Without the p1.stdout.close(), if the reader (grep) terminates before
> consuming all of its input, the writer (ls) won't terminate so long as
> Python retains the descriptor corresponding to p1.stdout. In this
> situation, the p1.wait() will deadlock.
>
> The c
On 06/10/10 21:52, Nobody wrote:
> Spawning child processes to perform tasks
> which can easily be performed in Python is inefficient
Not necessarily so, recently I wrote a script which takes a blink of an
eye when I pipe through cat/grep to prefilter the lines before doing
further complex filteri
On 06/10/2010 05:15 PM, Murrgon wrote:
> I have a simple C++ library (from a dll) I am attempting to make
> accessible through bindings to python. I used Py++ to generate some
> boost code for the library that I compiled into a pyd. I can import the
> pyd no problem into python, but I can't seem
On 06/10/10 04:41, quoth Marco Nawijn:
> On Jun 10, 2:39 am, james_027 wrote:
>> hi,
>>
>> I am trying to reverse the order of my list of tuples and its is
>> returning a None to me. Is the reverse() function not allow on list
>> containing tuples?
>>
>> Thanks,
>> James
>
> As the others already
On Jun 10, 3:28 am, Gregory Ewing wrote:
> Brian Blais wrote:
> > In this whole discussion, I haven't seen anyone mention wax (http://
> > zephyrfalcon.org/labs/wax_primer.html)
>
> Just had a quick look at that. In the third example code box:
>
> def Body(self):
>
> self.textb
On Jun 10, 3:52 am, Gregory Ewing wrote:
> Pywin32 does seem to have grown rather haphazardly. Some
> functionality is wrapped in two different ways in different
> modules, for no apparently good reason, and some other
> things are wrapped incompletely or not at all. A well
> thought out replacem
On Jun 9, 11:03 pm, rantingrick wrote:
> On Jun 9, 4:29 pm, lkcl wrote:
>
> > um, please don't ask me why but i foundgrail, the python-based web
> >browser, and have managed to hack it into submission sufficiently to
> > view e.g.http://www.google.co.uk. out of sheer apathy i happened to
> > hav
On Jun 9, 10:58 pm, Thomas Jollans wrote:
> give us a copy then, just for the laughs. ^^ Post it on bitbucket,
> maybe? (or send me a copy and I'll do it)
http://github.com/lkcl/grailbrowser
remember it only works on python2.4 or less right now!
--
http://mail.python.org/mailman/listinfo/pyt
On Jun 10, 4:40 am, Jean-Michel Pichavant
wrote:
> Internet rule, number 30:
>
> "There are no girls on the internet"
Well i hope at least your bedroom door does not still have that sign
hanging...
#
#* *#
# NO GIRLS ALLOWED! #
#*
On Jun 9, 11:03 pm, rantingrick wrote:
> On Jun 9, 4:29 pm, lkcl wrote:
>
> > um, please don't ask me why but i foundgrail, the python-based web
> >browser, and have managed to hack it into submission sufficiently to
> > view e.g.http://www.google.co.uk. out of sheer apathy i happened to
> > hav
On Thu, Jun 10, 2010 at 10:30 AM, Stephen Hansen (L/P) wrote:
> On 6/10/10 7:14 AM, Victor Subervi wrote:
> > Hi;
> > I have a script that calls values from the form that calls it. This
> script
> > imports another script:
> >
> > from New_Passenger import New_Passenger
> >
> > def create_edit_pa
2010/6/10 Leon :
> Hi, there,
> I'm trying to read the source code of python.
> I read around, and am kind of lost, so where to start?
>
> Any comments are welcomed, thanks in advance.
> --
> http://mail.python.org/mailman/listinfo/python-list
>
If you're interested in understanding Python interna
On 6/10/10 10:11 AM, Victor Subervi wrote:
> On Thu, Jun 10, 2010 at 10:30 AM, Stephen Hansen (L/P) pyt...@ixokai.io> wrote:
>>
>> But what does "cannot be called" mean? "Cannot" usually means "an error
>> happened" -- in which case you shouldn't really even mention it unless
>> you're gonna back
No, I think you've misunderstood because while I thought I was being clear I
probably was not. So here is the complete code of
create_edit_passengers3.py:
#!/usr/bin/python
import cgitb; cgitb.enable()
import cgi
import sys,os
sys.path.append(os.getcwd())
import MySQLdb
from login import login
im
On 6/10/10 10:48 AM, Victor Subervi wrote:
> Now, create_edit_passengers3() is called by the form/submit button in (you
> guessed it) create_edit_passengers2.py, the latter containing a var in it
> which *should* be accessible to create_edit_passengers3.py, one would think.
Wait, wait, wait.
If a
lkcl wrote:
On Jun 9, 11:03 pm, rantingrick wrote:
On Jun 9, 4:29 pm, lkcl wrote:
um, please don't ask me why but i foundgrail, the python-based web
browser, and have managed to hack it into submission sufficiently to
view e.g.http://www.google.co.uk. out of sheer apathy i happened to
have
Hi!
I tried with this:
import sqlite3
pdb = sqlite3.connect("./copied4.sqlite")
pcur = pdb.cursor()
pcur.execute("PRAGMA page_size = 65536;")
pdb.commit()
pcur.execute('VACUUM;')
pdb.commit()
pcur.execute("PRAGMA page_size")
rec = pcur.fetchone()
print rec
pdb.close()
But never I got bigger page
or PyGui would need to be implemented in terms of ctypes (which then
would prevent its inclusion, because there is a policy that ctypes
must not be used in the standard library).
Is there? I wasn't aware of that. What's the reason?
ctypes is inherently unsafe. It must be possible to remove it
On Thu, Jun 10, 2010 at 12:25 PM, durumdara wrote:
> Hi!
>
> I tried with this:
>
> import sqlite3
> pdb = sqlite3.connect("./copied4.sqlite")
> pcur = pdb.cursor()
> pcur.execute("PRAGMA page_size = 65536;")
> pdb.commit()
> pcur.execute('VACUUM;')
> pdb.commit()
> pcur.execute("PRAGMA page_size"
On 6/10/2010 9:34 AM rantingrick said...
Like it not (And i'm talking directly to all the Unix hackers here!)
Win32 is here to stay! You should have realized that years ago!
Frankly, I'm dropping clients that insist on windows only and am
actively migrating clients to ubuntu/openoffice/firefo
On 6/10/10 9:34 AM, rantingrick wrote:
> Like it not (And i'm talking directly to all the Unix hackers here!)
> Win32 is here to stay! You should have realized that years ago! And
> likewise, like it or not, GUI is here to stay. You should have also
> realized that years ago (although we may be sup
You do realize that this is a python and not Java usenet group right?
You'd be better off checking out comp.lang.python
--
http://mail.python.org/mailman/listinfo/python-list
On 10/06/2010 23:24, Stephen Hansen wrote:
[snip]
P.S. Considering I almost never use tkinter, I'm confused how I somehow
suddenly became a Champion of Tkinter Inclusiveness.
FWIW I've never used any GUI in Python. I'd see your involvement on
this thread as being more like a Champion of Comm
On Thu, Jun 10, 2010 at 3:24 PM, Stephen Hansen
wrote:
> On 6/10/10 3:17 PM, geremy condra wrote:
>> I mostly agree with you, but as Stephen points out you can't exactly
>> count on it being present now either, which more or less renders any
>> guarantee of backwards compatibility moot IMO. Whats
On Jun 10, 5:17 pm, geremy condra wrote:
> Whats the practical
> difference between telling somebody that either tkinter works out of
> the box or they'll have to satisfy an extra dependency and just telling
> them that they'll have to satisfy an additional dependency in the first
> place?
BIG +
On Jun 10, 2010, at 9:58 AM, Javier Montoya wrote:
Dear all,
I'm new to python and have been working with the numpy package. I have
some numpy float arrays (obtained from np.fromfile and np.cov
functions) and would like to convert them to simple python arrays.
I was wondering which is the best
On 6/10/10 1:14 PM, Ethan Furman wrote:
> Stephen Hansen wrote:
>> Another thing you can look at is QT/PyQT. If you're doing GPL'd
>> software, that might be a very good solution for you-- you can design
>> your whole app in the beautiful QTDesigner, and the .ui files can be
>> used in any language
On Thu, Jun 10, 2010 at 9:34 AM, rantingrick wrote:
> On Jun 10, 3:52 am, Gregory Ewing wrote:
>
>> Pywin32 does seem to have grown rather haphazardly. Some
>> functionality is wrapped in two different ways in different
>> modules, for no apparently good reason, and some other
>> things are wrapp
On Jun 10, 10:00 am, rantingrick wrote:
> On Jun 10, 4:40 am, Jean-Michel Pichavant
> wrote:
>
> > Internet rule, number 30:
>
> > "There are no girls on the internet"
>
> Well i hope at least your bedroom door does not still have that sign
> hanging...
>
> #
> #*
On Thu, Jun 10, 2010 at 3:57 PM, rantingrick wrote:
> On Jun 10, 5:17 pm, geremy condra wrote:
>
>> Whats the practical
>> difference between telling somebody that either tkinter works out of
>> the box or they'll have to satisfy an extra dependency and just telling
>> them that they'll have to s
On 6/10/10 8:35 AM, Bruno Desthuilliers wrote:
> Stephen Hansen (L/P) a écrit :
>> On 6/10/10 7:14 AM, Victor Subervi wrote:
> (snip)
>>
>> +1 for "absolutely worst framed question of the day" :)
>
> IMHO you're wasting your time. Some guys never learn, and I guess we do
> have a world-class all-t
On 10/06/2010 22:51, Pascal J. Bourguignon wrote:
bolega writes:
Which is the best implementation of LISP family of languages for real
world programming ?
What's the real world?
What's real world programming?
What's this doing on c.l.py?
Regards.
Mark Lawrence.
--
http://mail.python.or
Hi,
I am using ubuntu lucid and i have started to learn python(vrs 3.1). I
am trying to make a tutorial code(see below) work but when i run the
code, open a terminal window and connect as client with telnet and
type somethings and hit enter, give me error below...(the terminal
says connection clos
On Jun 10, 6:17 pm, MRAB wrote:
> lkcl wrote:
> > On Jun 9, 11:03 pm, rantingrick wrote:
> >> On Jun 9, 4:29 pm, lkcl wrote:
>
> >>> um, please don't ask me why but i foundgrail, the python-based web
> >>>browser, and have managed to hack it into submission sufficiently to
> >>> view e.g.http://
On Jun 10, 1:52 pm, Emile van Sebille wrote:
> After 15 years, I don't see that MS has gotten it right yet and I'm
> tired of fixing stupid windows boxes. Talk about time sinks!
And i 100% agree Emille. Just for the record i hate windows, I hate
win32 programming, i hate MS office, and I hate VB
On Jun 10, 1:56 pm, Stephen Hansen wrote:
> So... uh, why again are we including it? Those people who need it, have
> ready access.
But what if Mark decided one day he no longer wants to support Python
or Win32? How many years will it be before someone writes another?
> Why not include wxPython
Anthony Papillion wrote:
Someone helped me with some code yesterday and I'm trying to
understand it. The way they wrote it was
subjects = (info[2] for info in items)
Perhaps I'm not truly understanding what this does. Does this do
anything different than if I wrote
for info[2] in items
subj
On 6/10/10 12:34 PM, Evan Plaice wrote:
> This is my first foray into usenet and f*** the signal to crap
> ratio in here is ridiculous. I can't believe that there are 150+
> answers and little or no useful information yet
That's because the question wasn't really a question. Its a political
rallyi
Hi!
In the prev. week I tested my home Python projects with KinterBasDB
embedded, PsyCOPG, and SQLite.
All of them worked well, and everything was good.
But the database blob table deletion was slow in SQLite, so I thought
I will try this with FireBird and PGSQL.
Today I tried to copy the SQLit
On jún. 10, 20:39, Ian Kelly wrote:
> On Thu, Jun 10, 2010 at 12:25 PM, durumdara wrote:
> > Hi!
>
> > I tried with this:
>
> > import sqlite3
> > pdb = sqlite3.connect("./copied4.sqlite")
> > pcur = pdb.cursor()
> > pcur.execute("PRAGMA page_size = 65536;")
> > pdb.commit()
> > pcur.execute('VAC
On 6/10/10 12:36 PM, rantingrick wrote:
> On Jun 10, 1:56 pm, Stephen Hansen wrote:
>
>> So... uh, why again are we including it? Those people who need it, have
>> ready access.
>
> But what if Mark decided one day he no longer wants to support Python
> or Win32? How many years will it be before
Which is the best implementation of LISP family of languages for real
world programming ?
http://wiki.alu.org/Implementation
Kindly pick one from commercial and one from open-source .
The criteria is :
libraries, gui interface and builder, libraries for TCP, and evolving
needs.
Please compare
On 10/06/2010 23:51, Pascal J. Bourguignon wrote:
bolega writes:
Which is the best implementation of LISP family of languages for real
world programming ?
What's the real world?
What's real world programming?
I guess somebody's just enjoying flame wars too much.
Pascal
--
My website: ht
On Thu, Jun 10, 2010 at 3:02 PM, Mark Lawrence wrote:
> On 10/06/2010 22:20, rantingrick wrote:
> [snip most of it]
>
>> Free up pydev and send Tkinter to the bitbucket!
>
> Great idea, but lets take this further. I don't personally like module xyz,
> so let's free up pydev and send xyz to the bi
On Jun 10, 11:13 pm, Anthony Papillion wrote:
> Thank you Emile and Thomas! I appreciate the help. MUCH clearer now.
Also at a guess I think perhaps you wrote the syntax slightly wrong
(square brackets)...you might want to look up "list comprehension"
Martin
--
http://mail.python.org/mailman/li
bolega wrote:
Which is the best implementation of LISP family of languages for real
world programming ?
http://wiki.alu.org/Implementation
Kindly pick one from commercial and one from open-source .
ACL and SBCL
The criteria is :
libraries, gui interface and builder, libraries for TCP, and
On 10/06/2010 22:20, rantingrick wrote:
[snip most of it]
Free up pydev and send Tkinter to the bitbucket!
Great idea, but lets take this further. I don't personally like module
xyz, so let's free up pydev and send xyz to the bitbucket because I say
so. To hell with anyone elses' views, an
On 6/10/2010 1:47 PM Anthony Papillion said...
Someone helped me with some code yesterday and I'm trying to
understand it. The way they wrote it was
subjects = (info[2] for info in items)
Perhaps I'm not truly understanding what this does. Does this do
anything different than if I wrote
for in
On Jun 10, 9:02 pm, Philip Semanchuk wrote:
> On Jun 10, 2010, at 9:58 AM, Javier Montoya wrote:
>
> > Dear all,
>
> > I'm new to python and have been working with the numpy package. I have
> > some numpy float arrays (obtained from np.fromfile and np.cov
> > functions) and would like to convert t
MySQLdb won't connect to my MySQL 5.1 on on Windows 7.
This worked on Windows 2000, but of course I've had to
reinstall everything.
The MySQL command line client, "mysql", connects
to the database without problems.
Installed:
ActiveState Python 2.6 (Win32)
"mysql-essential-5.1.47.win32.
On Jun 10, 8:45 pm, durumdara wrote:
> ne 91, in fixed_conv_out_precise
> from decimal import Decimal
> ImportError: cannot import name Decimal
Is it possible that you've got another file called decimal.py
somewhere in Python's path? What happens if you start Python manually
and type 'from d
bolega writes:
> Which is the best implementation of LISP family of languages for real
> world programming ?
What's the real world?
What's real world programming?
--
__Pascal Bourguignon__ http://www.informatimago.com/
--
http://mail.python.org/mailman/listinfo/python-list
On 6/10/10 3:17 PM, geremy condra wrote:
> I mostly agree with you, but as Stephen points out you can't exactly
> count on it being present now either, which more or less renders any
> guarantee of backwards compatibility moot IMO. Whats the practical
> difference between telling somebody that eith
1 - 100 of 139 matches
Mail list logo