Quek a écrit :
Hi all,
I'm really new to Python and I've been reading up some texts on older
versions of Python (2.2 to be specific).
The text briefly mentioned new style and classic classes.
I'd really like to know in the current context of Python 2.5, besides
in the cases of multi-inheritanc
Terry Reedy a écrit :
Mensanator wrote:
(snip)
Lookup "Cartesian Product".
(snip)
for a in [True,False]:
for b in [True,False]:
for c in [1,2,3,4]:
print 'combined settings:',a,'\t',b,'\t',c
This has been added to itertools at least for 2.6/3.0
Great !
--
http://mail.python
Jonas Galvez wrote:
Not sure if it's been done before, but still...
from __future__ import with_statement
from xmlbuilder import builder, element
xml = builder(version="1.0", encoding="utf-8")
with xml.feed(xmlns='http://www.w3.org/2005/Atom'):
xml.title('Example Feed')
xml.link
No. It does not work.
def make_staticmethod(inst, methodname):
return getattr(inst, methodname)
def pickle_function(method):
return make_staticmethod, (method.im_self, method.im_func.__name__)
copy_reg.pickle(new.function, pickle_function, make_staticmethod)
- Original Message
srinivasan srinivas wrote:
Please don't top-post.
> No. It does not work.
That's what I said. Try
class A(object):
@staticmethod
def alpha():
print "Hello"
alpha = A.alpha
Peter
--
http://mail.python.org/mailman/listinfo/python-list
I know this is possible so someone out there should be able to help
me! Okay, I have a program that uses Tkinter, and BeautifulSoup. I
don't think it should be a problem. I want to create an exe of it. I
have py2exe but I don't really know how to work it. I read their
tutorial thing and did
On Jul 2, 8:13 pm, Tim Golden <[EMAIL PROTECTED]> wrote:
> In case it helps, there's a recipe just shown up
> on the Python Cookbook which at least illustrates
> DAO use:
>
> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/572165
>
> TJG
On Jul 2, 6:30 pm, "M.-A. Lemburg" <[EMAIL PROTECTED
from PIL import Image
import os
print os.path.exists('C:/Users/saftarn/Desktop/images/blob.jpg')
im2 = Image.open('C:/Users/saftarn/Desktop/images/blob.jpg')
im2.show()
first the command prompt pops up then the normal window to display
pictures but it doenst show a picture.
the prin os.path.exis
Alex Bryan a écrit :
I know this is possible so someone out there should be able to help me!
Okay, I have a program that uses Tkinter, and BeautifulSoup. I don't
think it should be a problem. I want to create an exe of it. I have
py2exe but I don't really know how to work it. I read their tutor
Hi all ,
I have large set of data computation and I want to break it into small batches
and assign it to different threads .I am implementing it in python only. Kindly
help what all libraries should I refer to implement the multithreading in
python.
Thanks ,
Abhishek
CAUTION -
For the Iphone lovers out there, The next generation of Iphone has been
released with the additional features. You guess it, now Iphone comes
with 3G. That ’s what we missed during the first release of Iphone which
turn it into major drawback for Iphone buyers wannabe. Even more good
news to th
Abhishek Asthana wrote:
Hi all ,
I have large set of data computation and I want to break it into
small batches and assign it to different threads .I am implementing it
in python only. Kindly help what all libraries should I refer to
implement the multithreading in python.
You should not
On Jul 3, 12:40 pm, Laszlo Nagy <[EMAIL PROTECTED]> wrote:
> Abhishek Asthana wrote:
>
> > Hi all ,
>
> > I have large set of data computation and I want to break it into
> > small batches and assign it to different threads .I am implementing it
> > in python only. Kindly help what all libraries s
On Jul 2, 5:53 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hello pythonistas.
>
> I'm a newbie to pretty much both programming and Python. I have a task
> that involves writing a test script for every possible combination of
> preference settings for a software I'm testing. I figured that
Stefan Behnel wrote:
Stefan Behnel wrote:
Jonas Galvez wrote:
Not sure if it's been done before, but still...
Obviously ;)
http://codespeak.net/lxml/tutorial.html#the-e-factory
... and tons of other tools that generate XML, check PyPI.
Although it might be the first time I see the with sta
Bruno Desthuilliers <[EMAIL PROTECTED]> wrote:
> > I try the staticmethod, it works fine. Very helpful.
> >
> > But i don't like it very much, it seems 'complicated' (python was
> > supposed to be simple).
>
> Try doing the same thing in C++ !-)
OK ;-)
I just ask myself what was the best metho
Pierre-Alain Dorange a écrit :
Bruno Desthuilliers <[EMAIL PROTECTED]> wrote:
I try the staticmethod, it works fine. Very helpful.
But i don't like it very much, it seems 'complicated' (python was
supposed to be simple).
Try doing the same thing in C++ !-)
OK ;-)
I just ask myself what was
On 2 jul 2008, at 20:21, Dikkie Dik wrote:
If it so fast growing, I'd rather wait for a stable release...
LOL
--
yeah compare to what's happening with iPhone and iPod...
--
http://mail.python.org/mailman/listinfo/python-list
On Jul 2, 8:40 pm, "Leo Lee" <[EMAIL PROTECTED]> wrote:
> I need a window's handle to be passed to external c++.
> Thanks in advance
Are you talking about a wxPython wx.Window object or an external
window handle? If the latter, then I recommend asking about that on
the PyWin32 user's group. Otherw
On Jul 3, 2:13�am, Bruno Desthuilliers wrote:
> Terry Reedy a �crit :
>
>
>
> > Mensanator wrote:
> (snip)
> >> Lookup "Cartesian Product".
> (snip)
> >> for a in [True,False]:
> >> � for b in [True,False]:
> >> � � for c in [1,2,3,4]:
> >> � � � print 'combined settings:',a,'\t',b,'\t',c
>
> > Th
i unzipped and put the folder in site-packages. when i run setup.py
install nothing happens.
when i do import pp from shell it complains it doesnt exist.
isnt placing the folder in site-packages enough?
these setup.py-files often dont work but normally it still works.
--
http://mail.python.
Hi all,
I'm debugging a Plone site in an AMD64 laptop. When I first tried to run
Zope, I got this exception:
OverflowError: signed integer is greater than maximum
In the archives I encounter no solutions. This is what I could find, so
I share with you all:
It seems that on 64bit platforms, sys.
On Jul 3, 9:11 am, defn noob <[EMAIL PROTECTED]> wrote:
> i unzipped and put the folder in site-packages. when i run setup.py
> install nothing happens.
>
> when i do import pp from shell it complains it doesnt exist.
What is "pp"? Parallel Python?
>
> isnt placing the folder in site-packages e
I write to inform you that the reason I subscribed to this web page
is not been met.
I want to be sent sample codes in programming languages especially
python and an email tutorial on C#. I will be happy if these demands
are met.
Thanks in anticipation.
ALWAYS THERE FOR YOU
___
I have a probably simple beginner's question -
I have a script that I am currently able to print its output. instead,
i want to write it into a file - I tried different versions of write()
but might have gotten the syntax wrong. the variable I want to write is
a line from a file I am reading
On Jul 3, 4:11 pm, defn noob <[EMAIL PROTECTED]> wrote:
> i unzipped and put the folder in site-packages. when i run setup.py
> install nothing happens.
>
> when i do import pp from shell it complains it doesnt exist.
>
> isnt placing the folder in site-packages enough?
>
> these setup.py-files oft
On Jul 3, 5:02 pm, Chris <[EMAIL PROTECTED]> wrote:
> On Jul 3, 4:11 pm, defn noob <[EMAIL PROTECTED]> wrote:
>
> > i unzipped and put the folder in site-packages. when i run setup.py
> > install nothing happens.
>
> > when i do import pp from shell it complains it doesnt exist.
>
> > isnt placing
defn noob a écrit :
i unzipped
what ?
and put the folder
which folder
in site-packages.
which one ? (remember that if you have more than one Python installation
on your machine, you'll have more than one site-packages too).
when i run setup.py
install nothing happens.
Well... usua
Walter Dörwald wrote:
> XIST has been using with blocks since version 3.0.
> [...]
> with xsc.Frag() as node:
> +xml.XML()
> +html.DocTypeXHTML10transitional()
> with html.html():
> [...]
Sweet! I don't like having to use the unary operator tho, I wanted
something as simple as possible, so I
david odey wrote:
I write to inform you that the reason I subscribed to this web page
is not been met.
I want to be sent sample codes in programming languages especially
python and an email tutorial on C#. I will be happy if these demands
are met.
Thanks in anticipation.
ALWAYS THERE F
On Thu, Jul 3, 2008 at 11:06 AM, Adam Lanier <[EMAIL PROTECTED]> wrote:
> david odey wrote:
>>
>> I write to inform you that the reason I subscribed to this web page is not
>> been met.
>>
>> I want to be sent sample codes in programming languages especially python
>> and an email tutorial on C#.
Ben Keshet a écrit :
I have a probably simple beginner's question -
I have a script that I am currently able to print its output. instead,
i want to write it into a file - I tried different versions of write()
but might have gotten the syntax wrong.
The syntax is:
fileobj.write(somethin
Hi, two comments.
Gerard flanagan gmail.com> writes:
> Nice! Here's a version that uses elementtree:
[...]
> def __call__(self, value='', **kargs):
> self.element.text = value
This should spell
def __call__(self, value=None, **kargs):
> class builder(element):
> def
Thanks Guilherme. That helped. I guess I was thinking that pysqlite would
automatically come with some version of sqlite. The fact that it doesn't is
what was causing me to get the strange results.
I downloaded the Windows version of the SQLite3.dll. I didn't know where to
put it so I first pu
defn noob wrote:
> i unzipped and put the folder in site-packages. when i run setup.py
> install nothing happens.
Don't do that. Remove it from there. Put it somewhere else (temp), and use
$ python setup.py install
Look into site-packages afterwards, and see if it got placed there.
Diez
--
htt
On Jul 2, 3:38 am, rocksportrocker <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I've got some problems with the following setup.py file.
> using "python setup.py install -f" it shows that wrap_ica.so is copied
> to /usr and not to /site-packages as I assumed.
> What am I doing wrong ? I'm using Python
well the reason i unzipped and placed it in site-packages was because
nothign happened when i ran setup.py(unzipped). this has worked with
other packages before.
--
http://mail.python.org/mailman/listinfo/python-list
I would like to write a python script which could take a movie file name
(avi, mov, mpg) along with a start and stop time as parameters, and
return to me a new movie file just containing that section of the
original which I'm interested in. Is there a Python library which could
already perform
On Jul 2, 9:33 am, Ali Servet Dönmez <[EMAIL PROTECTED]> wrote:
> On Jul 1, 12:15 am, Fuzzyman <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Jun 30, 10:46 pm, Ali Servet Dönmez <[EMAIL PROTECTED]> wrote:
>
> > > I don't want to be so mean here, but how hard it could be be writing a
> > > freesoftware whi
On Jul 2, 9:33 am, Ali Servet Dönmez <[EMAIL PROTECTED]> wrote:
> On Jul 1, 12:15 am, Fuzzyman <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Jun 30, 10:46 pm, Ali Servet Dönmez <[EMAIL PROTECTED]> wrote:
>
> > > I don't want to be so mean here, but how hard it could be be writing a
> > > freesoftware whi
On Jun 30, 11:25 pm, Ali Servet Dönmez <[EMAIL PROTECTED]> wrote:
> On Jul 1, 12:15 am, Fuzzyman <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Jun 30, 10:46 pm, Ali Servet Dönmez <[EMAIL PROTECTED]> wrote:
>
> > > I don't want to be so mean here, but how hard it could be be writing a
> > > freesoftware w
On Jul 3, 3:11 pm, Bruno Desthuilliers wrote:
> Quek a écrit :
>
> > Hi all,
>
> > I'm reallynewto Python and I've been reading up some texts on older
> > versions of Python (2.2 to be specific).
>
> > The text briefly mentionednewstyleand classic classes.
>
> > I'd really like to know in the curr
and yes it is parallel python.
and windows vista.
and the python GUI shell.
--
http://mail.python.org/mailman/listinfo/python-list
I would love the same thing. Dont know what you are doing but this
might be relevant even if it is not what you are asking for:
http://imdbpy.sourceforge.net/
library to take data from imdb.
--
http://mail.python.org/mailman/listinfo/python-list
First to admit I'm a newbie at Python, IMAP, or SSL. And it's been a
long time since I've posted anything to a Usenet group. But I've
spent countless hours spinning my wheels on this one, so I thought I'd
ask for help.
I'm trying write some Python code to connect to Gmail from work, where
I need
On 3 juil, 18:51, defn noob <[EMAIL PROTECTED]> wrote:
> well the reason i unzipped and placed it in site-packages was because
> nothign happened when i ran setup.py(unzipped).
What do you mean, "running setup.py unzipped" ???
The correct way to install a package is to:
- unzip (untar, whatever)
fizzi wrote:
> For the Iphone lovers out there,
Wrong group. No weirdos here.
--
http://mail.python.org/mailman/listinfo/python-list
Hi All,
I have a need (if at all possible) to create instance names using '['
and ']', i.e. [at]=ClassA0(), [at0001]=ClassB2(), etc.
Of course Python tries to unpack a sequence when I do that. Is there
anyway to do this?
I do have a workaround but it is an ugly, nasty URL mangling thing. :-
On Jul 3, 12:15 pm, Tim Grove <[EMAIL PROTECTED]> wrote:
> I would like to write a python script which could take a movie file name
> (avi, mov, mpg) along with a start and stop time as parameters, and
> return to me a new movie file just containing that section of the
> original which I'm interes
I have a closely related note. How do I write to a relative path with
python? Example,
source = open('/../../directory/subdirectory/file.extension')
What am I missing?
--
http://mail.python.org/mailman/listinfo/python-list
Dave schrieb:
First to admit I'm a newbie at Python, IMAP, or SSL. And it's been a
long time since I've posted anything to a Usenet group. But I've
spent countless hours spinning my wheels on this one, so I thought I'd
ask for help.
I'm trying write some Python code to connect to Gmail from wo
On Jul 3, 8:06 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> On 3 juil, 18:51, defn noob <[EMAIL PROTECTED]> wrote:
>
> > well the reason i unzipped and placed it in site-packages was because
> > nothign happened when i ran setup.py(unzipped).
>
> What do you mean, "running setup.py unzipped
Hi,
Walter Dörwald wrote:
> XIST has been using with blocks since version 3.0.
>
> Take a look at:
> http://www.livinglogic.de/Python/xist/Examples.html
>
>
> from __future__ import with_statement
>
> from ll.xist import xsc
> from ll.xist.ns import html, xml, meta
>
> with xsc.Frag() as node
Callie Bertsche wrote:
I have a closely related note. How do I write to a relative path with
python? Example,
source = open('/../../directory/subdirectory/file.extension')
What am I missing?
--
http://mail.python.org/mailman/listinfo/python-list
Leave off the beginning slash.
-Matt
--
http:/
i am developing an application using Tkinter where 'next' button
takes to another window and removes the first one from screen and
'back' button bring me back to previous window and so on.
though i am able to move from one window to another but is unable to
remove the previous one from the screen.
Tim Cook wrote:
Hi All,
I have a need (if at all possible) to create instance names using '['
and ']', i.e. [at]=ClassA0(), [at0001]=ClassB2(), etc.
Of course Python tries to unpack a sequence when I do that. Is there
anyway to do this?
I do have a workaround but it is an ugly, nasty URL
On Jul 3, 2:16 pm, varun chadha <[EMAIL PROTECTED]> wrote:
> i am developing an application using Tkinter where 'next' button
> takes to another window and removes the first one from screen and
> 'back' button bring me back to previous window and so on.
> though i am able to move from one window t
On Jul 2, 11:09 am, George Sakkis <[EMAIL PROTECTED]> wrote:
> On Jun 30, 3:16 pm, Mike <[EMAIL PROTECTED]> wrote:
>
> > On Jun 30, 1:41 pm, George Sakkis <[EMAIL PROTECTED]> wrote:
>
> > > Because _typically_ a web template consists of mostly HTML, with
> > > relatively little presentational logic
Mensanator wrote:
On Jul 3, 2:13�am, Bruno Desthuilliers wrote:
Terry Reedy a �crit :
This has been added to itertools at least for 2.6/3.0
Great !
Well, it will be great at some point in the future
when Python 2.6/3.0 have actually been released and
The betas 'have actually been rele
Hello,
> I'm working on spell suggestions for a list of places(~10^6) e.g pizza
> hut What data structure shall I use for max performance/efficiency?
>
> Typing pizza should yield something like
>
> pizza hut pizza corner<...<...
> ...
> ...
> ...
A trie? (http://en.wikipedia.org/wiki/Trie).
Goog
Hello,
> Hello. Been using the gnuplot lately. Program runs fine. And its plots
> as well. Now i want to make an exe file out of this program using
> py2exe. Cud some1 help me in telling me how this is done. Thnks
You probably mean the Python gnuplot bindings (otherwise you're in the
wrong mailing
On Thu, 2008-07-03 at 14:20 -0500, Larry Bates wrote:
> I suspect there is some "misunderstanding" here. Why exactly do you think
> you
> need to have your instances named with [] characters in them?
>
I often misunderstand. :-)
But, I am implementing specifications in Python that are alre
Manuel Vazquez Acosta wrote:
Hi all,
I'm debugging a Plone site in an AMD64 laptop. When I first tried to run
Zope, I got this exception:
In general, versions numbers for both Python and the app are helpful.
OverflowError: signed integer is greater than maximum
In the archives I encounter n
On Jul 3, 7:38 pm, Fuzzyman <[EMAIL PROTECTED]> wrote:
> On Jul 2, 9:33 am, Ali Servet Dönmez <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Jul 1, 12:15 am, Fuzzyman <[EMAIL PROTECTED]> wrote:
>
> > > On Jun 30, 10:46 pm, Ali Servet Dönmez <[EMAIL PROTECTED]> wrote:
>
> > > > I don't want to be so mean h
Tim Cook wrote:
On Thu, 2008-07-03 at 14:20 -0500, Larry Bates wrote:
I suspect there is some "misunderstanding" here. Why exactly do you think you
need to have your instances named with [] characters in them?
I often misunderstand. :-)
But, I am implementing specifications in Python tha
On Jul 3, 7:42 pm, Fuzzyman <[EMAIL PROTECTED]> wrote:
> On Jun 30, 11:25 pm, Ali Servet Dönmez <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Jul 1, 12:15 am, Fuzzyman <[EMAIL PROTECTED]> wrote:
>
> > > On Jun 30, 10:46 pm, Ali Servet Dönmez <[EMAIL PROTECTED]> wrote:
>
> > > > I don't want to be so mean
On Jul 2, 10:39 pm, Ivan Ven Osdel <[EMAIL PROTECTED]> wrote:
> Not really, I have just worked with them more.
>
> - Original Message -
> From: "Ali Servet Dönmez" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Sent: Wednesday, July 2, 2008 1:15:04 PM GMT -06:00 US/Canada Central
> Subject:
>From: "Fuzzyman" <[EMAIL PROTECTED]>
>To: python-list@python.org
>Sent: Thursday, July 3, 2008 12:41:11 PM GMT -06:00 US/Canada Central
>Subject: Re: Freesoftware for auto/intelligent code completing in Python
>
>On Jul 2, 9:33 am, Ali Servet Dönmez <[EMAIL PROTECTED]> wrote:
> On Jul 1, 12:15 am
Hi!
Which OS? On Vista, you MUST reconfig the "aperçu images et
télécopies" (in french ; sorry, I don't know the english translation).
@-salutations
Michel Claveau
--
http://mail.python.org/mailman/listinfo/python-list
On Jul 3, 10:20 pm, "Méta-MCI \(MVP\)"
<[EMAIL PROTECTED]> wrote:
> Hi!
>
> Which OS?  On Vista, you MUST reconfig the "aperçu images et
> télécopies" (in french ; sorry, I don't know the english translation).
>
> @-salutations
>
> Michel Claveau
VISTA.
i will try google translate :)
--
h
On Jul 3, 10:20 pm, "Méta-MCI \(MVP\)"
<[EMAIL PROTECTED]> wrote:
> Hi!
>
> Which OS?  On Vista, you MUST reconfig the "aperçu images et
> télécopies" (in french ; sorry, I don't know the english translation).
>
> @-salutations
>
> Michel Claveau
thumbnail images and faxes? and how do i
Stefan Behnel wrote:
> Interesting. Is the "+" actually required? Are there other operators
> that make sense here? I do not see what "~" or "-" could mean.
> Or is it just a technical constraint?
> I'm asking because I consider adding such a syntax to lxml as
> a separate module. And I'd prefer co
Hi,
Is there a way to perform a recursive file search using wildcards in python
3.0b1?
For example, if I have:
C:\foo\abc*xyz.*
I want all files in C:\foo and all subfolders (recursively) of C:\foo that
match the wildcard abc*xyz.* to be matched. In the end, I want a list of
files that matched
On Thu, Jul 3, 2008 at 4:16 PM, varun chadha <[EMAIL PROTECTED]> wrote:
> i am developing an application using Tkinter where 'next' button
> takes to another window and removes the first one from screen and
> 'back' button bring me back to previous window and so on.
> though i am able to move from
Okay this is a simple question I just don't know how. If I have a list, say:
funList = []
and after a while something possible should have been appended to it, but
wasn't. How can I test if that list is empty.
--
View this message in context:
http://www.nabble.com/Testing-for-an-empty-list-tp1
I'm writing a little HTTP server and need to parse request content that
is mime-encoded. All the MIME routines in the Python standard library
seem to have been subsumed into the email package, which makes this
operation a little awkward. It seems I have to do the following:
1. Extract the co
Alexnb wrote:
Okay this is a simple question I just don't know how. If I have a list, say:
funList = []
and after a while something possible should have been appended to it, but
wasn't. How can I test if that list is empty.
if not funList:
do_something()
-Matt
--
http://mail.python.o
Stefan Behnel wrote:
Hi,
Walter Dörwald wrote:
XIST has been using with blocks since version 3.0.
Take a look at:
http://www.livinglogic.de/Python/xist/Examples.html
from __future__ import with_statement
from ll.xist import xsc
from ll.xist.ns import html, xml, meta
with xsc.Frag() as node
Jonas Galvez wrote:
Walter Dörwald wrote:
XIST has been using with blocks since version 3.0.
[...]
with xsc.Frag() as node:
+xml.XML()
+html.DocTypeXHTML10transitional()
with html.html():
[...]
Sweet! I don't like having to use the unary operator tho, I wanted
something as simple as poss
On Jul 3, 2:52 pm, Terry Reedy <[EMAIL PROTECTED]> wrote:
> Mensanator wrote:
> > On Jul 3, 2:13�am, Bruno Desthuilliers > [EMAIL PROTECTED]> wrote:
> >> Terry Reedy a �crit :
> >>> This has been added to itertools at least for 2.6/3.0
> >> Great !
>
> > Well, it will be great at some point in the
I am trying to move from python 2.4 to python 2.5.2. After compiling the
python 2.5.2, I found it is throwing "ImportError: No module named _md5".
I found this topic on the mailing list, but no solution to fix it.
Can someone help me out. It will be highly appreciated.
Regards
Alok
--
http://mai
If you guys can get your head out of IDE land, you'll find iPython
does a fantastic job at introspection and Auto-completion, you can
launch shell commands and editors and when done saving be back in the
iPython shell, save memory/variable space to disk so you can come back
the next day and continu
Hi everyone
I have developed the singleton implementation. However I have found a
strange behaviour when using from different files. The code is
attached.
Executing main
new MySet object
No singleton instance
New singleton:
<__main__.Singleton instance at 0x2b98be474a70>
new MySet object
There is
Urizev wrote:
Hi everyone
I have developed the singleton implementation. However I have found a
strange behaviour when using from different files. The code is
attached.
Executing main
new MySet object
No singleton instance
New singleton:
<__main__.Singleton instance at 0x2b98be474a70>
new MySet
Nah, it's got to be something more than that. A bunch of them are
screwed up. It's showing America/Saskatchewan as UTC-06:59.
I think there's something wrong with my code. I've put it up at a
pastebin so that it's easier to read.
http://pastebin.ca/1061776
On Jul 2, 11:22 am, Mensanator <[EMA
On Jul 3, 5:49 pm, Mensanator <[EMAIL PROTECTED]> wrote:
> On Jul 3, 2:52 pm, Terry Reedy <[EMAIL PROTECTED]> wrote:
>
> > Worthless to you, worthwhile to me.
>
> The OP's opinion is the only one that matters.
I bet the OP doesn't know (or care) what gmpy is.
> What do you suppose
> is the per
On Jul 3, 6:24 pm, George Sakkis <[EMAIL PROTECTED]> wrote:
> On Jul 3, 5:49 pm, Mensanator <[EMAIL PROTECTED]> wrote:
>
> > On Jul 3, 2:52 pm, Terry Reedy <[EMAIL PROTECTED]> wrote:
>
> > > Worthless to you, worthwhile to me.
>
> > The OP's opinion is the only one that matters.
>
> I bet the OP
I know I saw the answer recently, as in since February '08, but I can't
re-find it. :( I tried the mail archives and such and my own
collections but the piece I saw still eludes me.
Problem: (sos=same old s...) Microsoft insists the world work it's way
even when the Microsoft way was p
Hi,
I made a small recommendation engine for our company using python,
django, and mySQL. My supervisor and the senior management are worried
about the copyright and licensing issues. They want to find out the
details on how to go about start using it, like quoting python/django/
mySQL specificall
norseman wrote:
I know I saw the answer recently, as in since February '08, but I can't
re-find it. :( I tried the mail archives and such and my own
collections but the piece I saw still eludes me.
Problem: (sos=same old s...) Microsoft insists the world work it's way
even when the Mi
On Jul 3, 6:54 am, Mensanator <[EMAIL PROTECTED]> wrote:
>
> Well, it will be great at some point in the future
> when Python 2.6/3.0 have actually been released and
> third party extensions such as gmpy have caught up.
>
> Until then, such solutions are worthless, i.e., of
> no value.
gmpy is sup
On Jul 3, 6:58 pm, Urizev <[EMAIL PROTECTED]> wrote:
> Hi everyone
>
> I have developed the singleton implementation. However I have found a
> strange behaviour when using from different files. The code is
> attached.
>
> Executing main
> new MySet object
> No singleton instance
> New singleton:
>
I found a solution:
http://groups.google.com/group/comp.lang.python/browse_thread/thread/aea64448eaca4778/250e908652e2646d
If I use datetime.now(tz=tz) instead of datetime(Y,M,D,h,m,s,
tzinfo=tz), it works.
On Jul 3, 4:18 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Nah, it's got to be
On Jul 3, 8:33 pm, Nagu <[EMAIL PROTECTED]> wrote:
> ...
> How do I go about addressing the copyright and licensing issues? (I do
> not know if licensing is the right word here).
>
> Please advice.
>
> Thank you,
> Nagu
I suggest you take the advice of random idiots on a python mailing
list.
--
ht
Nagu <[EMAIL PROTECTED]> writes:
> I made a small recommendation engine for our company using python,
> django, and mySQL. My supervisor and the senior management are
> worried about the copyright and licensing issues.
It's good that they're raising these concerns and making sure.
> They want to
Hi,
I can't seem to get python to run my scripts using the command: python
.py
If I type python the interpreter runs as I sorted out the Path property,
I'm afraid I don't know much about this kind of thing as I'm a science
student who needs some Python not a programmer!
Thanks in a
In article <[EMAIL PROTECTED]>,
Matthew Fitzgibbons <[EMAIL PROTECTED]> wrote:
>Alexnb wrote:
>> Okay this is a simple question I just don't know how. If I have a list, say:
>>
>> funList = []
>>
>> and after a while something possible should have been appended to it, but
>> wasn't. How can I te
On Jul 3, 7:51 pm, Mensanator <[EMAIL PROTECTED]> wrote:
> On Jul 3, 6:24 pm, George Sakkis <[EMAIL PROTECTED]> wrote:
>
> > Taking into account 2.6 too (we're not talking about only 3.0 here),
> > probably not much less than those who even know what is gmpy, let
> > alone dismiss a beta Python re
Hello ,
I have written a code to get the page source of the google search
page .. this is working for other urls. I have this problem with
import re
from urllib2 import urlopen
string='http://www.google.com/search?num=20&hl=en&q=ipod&btnG=Search'
file_source=file("google_source.txt",'w'
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Cameron Laird)
wrote:
> In article <[EMAIL PROTECTED]>,
> Matthew Fitzgibbons <[EMAIL PROTECTED]> wrote:
> >Alexnb wrote:
> >> Okay this is a simple question I just don't know how. If I have a list,
> >> say:
> >>
> >> funList = []
> >>
> >>
1 - 100 of 116 matches
Mail list logo