What are some good python modules that can be downloaded for any
purpose that is recomended?
-Robin
--
http://mail.python.org/mailman/listinfo/python-list
On Sun, Jun 13, 2010 at 10:36 PM, Ben Finney wrote:
> geremy condra writes:
>
>> You know, I've never been a part of a community in which the URL
>> format was the most contentious part of filing a bug report.
>
> Heck no, the bug report is already filed, and contentions about the bug
> report sh
On Jun 13, 12:45 pm, Terry Reedy wrote:
> On 6/13/2010 12:14 PM, rantingrick wrote:
>
> > I have documented time and again the poor state of IDLE. The only
> > responses i ever get are...
>
> > "Nobody uses IDLE"
> > "Only a dumbass would use IDLE"
> > "I have never used IDLE but i *know* no
On Mon, Jun 14, 2010 at 1:55 AM, Shashwat Anand
wrote:
> Well, AFAIK Nokia N900 supports python fully.
Yup, my code has to run on these before it passes build tests. I
almost never have to
do anything crazy to it.
Geremy Condra
--
http://mail.python.org/mailman/listinfo/python-list
Robin writes:
> What are some good python modules that can be downloaded for any
> purpose that is recomended?
You will want to start at the Python Package Index,
http://pypi.python.org/>.
For more specific advice, you'll need to tell us more about what your
specific purpose is. Recommended for
Please don't top post; post below and trim the content.
Also, please do a reply-to-all to keep the discussion on the list.
Further content is below...
On 14Jun2010 11:44, madhuri vio wrote:
| On Mon, Jun 14, 2010 at 11:39 AM, Cameron Simpson wrote:
| > ODT files are _not_ text files. If I recal
On Mon, 14 Jun 2010 12:24:59 +1000, Ben Finney wrote:
> With ‘reduce’ gone in Python 3 [0]
...
> [0] http://docs.python.org/py3k/library/functions.html>
It's not gone, it's just resting.
http://docs.python.org/py3k/library/functools.html#functools.reduce
--
Steven
--
http://mail.python.org/
On Mon, Jun 14, 2010 at 5:02 PM, Robin wrote:
> What are some good python modules that can be downloaded for any
> purpose that is recomended?
That's a rather vauge question Robin.
There are tonnes of packages on PyPi (1).
cheers
James
1. http://pypi.python.org/
--
-- "Problems are solved by
On Mon, Jun 14, 2010 at 3:07 AM, rantingrick wrote:
> Hopefully i'll get the motivation for that re-write real soon. So far
> i have only corrected a few small but very annoying facets of the UI
> in between my other various up-and-coming projects. However it would
> be nice to get all the "ID
Andrew Philpot wrote:
On 06/11/10 08:48, Elena wrote:
On 10 Giu, 23:33, bolega wrote:
I mean ordinary people, who may want to do things with their computers
for scripting, tasks that python can do...
Lisp is not for ordinary people, Python is.
Python is for ordinary people.
Lisp is for ext
On Jun 14, 2:32 am, geremy condra wrote:
> And now we come to the crux of the matter- you cheerlead and do
> nothing because you need to have people patting you on the back
> to know you're going the right direction.
...yes and if i ever need a swift kick in the grapes well then i know
who to ca
Hello there,
my Mandriva has the 2.6.4 python pre-installed (in /usr/lib64/
python2.6/)
I need to install numpy 1.4 for python 2.4.3 (I installed it
separately from source on/usr/local/lib/python2.4/ )
but still typing "python" I get:
Python 2.6.4 (r264:75706, Jan 8 2010, 18:59:59)
[GCC 4.4.1] o
Nathan Rice wrote:
I've been running into a problem lately where I have an architecture like so:
Main class -> facade/configuration class -> low level logic class.
The main class is what the user interacts with.
The facade/config class is responsible for loading and managing the
lower level cl
You can try a package : python_select
On Mon, Jun 14, 2010 at 2:00 PM, Alexzive wrote:
> Hello there,
>
> my Mandriva has the 2.6.4 python pre-installed (in /usr/lib64/
> python2.6/)
> I need to install numpy 1.4 for python 2.4.3 (I installed it
> separately from source on/usr/local/lib/python2.
On Mon, Jun 14, 2010 at 6:30 PM, Alexzive wrote:
> what to change in order to get "python" calling python 2.4.3 instead
> of 2.6.4 (at least during python setup.py build)?
>
> I suppose I need something like changing the link to /usr/local/bin/
> python..
> but I fear to do something bad by myself
On 06/14/2010 02:30 AM, moerchendiser2k3 wrote:
> PyErr_WarnEx(PyExc_DeprecationWarning, "foo deprecated. use fuzz",
> 1);
>
> But where can I write this? With Py_InitModule4 I can just
> pass a list of functions but no real execution part which
> is executed when a module is imported.
This is Py
On Mon, 14 Jun 2010 01:30:09 -0700, Alexzive wrote:
> what to change in order to get "python" calling python 2.4.3 instead of
> 2.6.4 (at least during python setup.py build)?
That will do bad things to your system, which will be expecting the
system Python to be 2.6 and instead will be 2.4. You
On Jun 12, 1:40 am, random joe wrote:
> Hello all,
>
> Hi this i my first post here. I would like to create a tkinter
> toplevel window with a custom resize action based on a grid. From the
> Tk docs it say you can do this but for the life of me i cannot figure
> out how? In my app i wish for the
thanks guys,
the solution for me was
python2.4 setup.py install --prefix=/usr/local
cheers, AZ
On Jun 14, 11:00 am, Steven D'Aprano wrote:
> On Mon, 14 Jun 2010 01:30:09 -0700, Alexzive wrote:
> > what to change in order to get "python" calling python 2.4.3 instead of
> > 2.6.4 (at least durin
In article ,
bolega wrote:
>I am trying to compare LISP/Scheme/Python for their expressiveness.
>
>For this, I propose a vanilla C interpreter. I have seen a book which
>writes C interpreter in C.
>
>The criteria would be the small size and high readability of the code.
>
>Are there already answe
I want to update the configuration file for python server ,but i am
not able to locate the python configuration file.
Please guide me in this respect.
I am using a python web server
This is the code for it
---
import string,cgi,time
from os impo
(pytyhon 2.x code):
print input('Enter expression: ')
Example uses:
Enter expression: 3+4
7
Enter expression: 1+2+3+4+5
15
Enter expression: 7*18
126
Enter expression: 2**19-1
524287
--
http://mail.python.org/mailman/listinfo/python-list
alex23 wrote:
>
> exar...@twistedmatrix.com wrote:
>> Fore!
>>
>> print(sum(map(int, input('enter two numbers: ').split(
>
> Well, I _was_ trying to stick to Steven's more simple map-less form :)
>
> (Although I have to say, I have little sympathy for Steven's
> hypothetical "new prog
Good morning,
I need to convert some files from .doc to .pdf. I've googled it a
little bit and all the solutions I've found used the OpenOffice API,
but I can't use it.
Anybody knows a library that I can use to do it?
Thanks
--
http://mail.python.org/mailman/listinfo/python-list
On Sun, Jun 13, 2010 at 4:07 PM, bolega wrote:
I am trying to compare LISP/Scheme/Python for their expressiveness.
Scheme is actually a lisp, isn't it ?
For this, I propose a vanilla C interpreter. I have seen a book which
writes C interpreter in C.
The criteria would be the small size a
On Jun 13, 5:46 pm, exar...@twistedmatrix.com wrote:
> On 04:25 pm, wuwe...@gmail.com wrote:
>
>
>
> >Steven D'Aprano wrote:
> >>No, I think your code is very simple. You can save a few lines by
> >>writing
> >>it like this:
>
> >>s = input('enter two numbers: ')
> >>t = s.split()
> >>print(int(t[
Thomas Jollans writes:
> 1. allocate a buffer of a certain size
> 2. fill it
> 3. return it as an array.
The fastest and more robust approach (I'm aware of) is to use the
array.array('typecode', [0]) * size idiom to efficiently preallocate the
array, and then to get hold of the pointer pointing
On 06/14/2010 01:18 PM, Hrvoje Niksic wrote:
> Thomas Jollans writes:
>
>> 1. allocate a buffer of a certain size
>> 2. fill it
>> 3. return it as an array.
>
> The fastest and more robust approach (I'm aware of) is to use the
> array.array('typecode', [0]) * size idiom to efficiently preallocat
On Sun, Jun 13, 2010 at 6:24 PM, Irmen de Jong wrote:
> On 14-6-2010 1:19, Vincent Davis wrote:
>>
>> I just installed 2.6 and 3.1 from current maintenance source on Mac
>> OSx. When I am running as an interactive terminal session the up arrow
>> does not scroll thought the history of the py comma
On 06/14/2010 02:37 PM, Vincent Davis wrote:
> On Sun, Jun 13, 2010 at 6:24 PM, Irmen de Jong
> wrote:
>> On 14-6-2010 1:19, Vincent Davis wrote:
>>>
>>> I just installed 2.6 and 3.1 from current maintenance source on Mac
>>> OSx. When I am running as an interactive terminal session the up arrow
On Jun 13, 4:52 pm, a...@pythoncraft.com (Aahz) wrote:
> In article ,
>
> lkcl wrote:
>
> > i'm recording all of these, and any other web browser manipulation
> >technology that i've ever encountered, here:
>
> >http://wiki.python.org/moin/WebBrowserProgramming
>
> Neat! Why aren't you including
i cudnt run this!!
and this was the error occured
for seq_record in SeqIO.parse("ls_MTbH37Rv.fasta","fasta"):
... print seq_record.id
... print repr(seq_record.seq)
... print len(seq_record)
...
Traceback (most recent call last):
File "", line 1, in
File "/var/lib/python-supp
On Mon, Jun 14, 2010 at 6:49 AM, Thomas Jollans wrote:
> On 06/14/2010 02:37 PM, Vincent Davis wrote:
>> On Sun, Jun 13, 2010 at 6:24 PM, Irmen de Jong
>> wrote:
>>> On 14-6-2010 1:19, Vincent Davis wrote:
I just installed 2.6 and 3.1 from current maintenance source on Mac
OSx. Wh
On 06/14/2010 02:59 PM, madhuri vio wrote:
> i cudnt run this!!
Take a deep breath, and read the error message. It's very informative,
and tells you exactly what the problem is, and how to fix it, if you'd
just try to understand it.
It would be much appreciated if you had a look at
http://www
On Jun 13, 7:07 pm, bolega wrote:
> I am trying to compare LISP/Scheme/Python for their expressiveness.
>
> For this, I propose a vanilla C interpreter. I have seen a book which
> writes C interpreter in C.
>
> The criteria would be the small size and high readability of the code.
>
> Are there al
Hi,
Do we have any facility to append file from Popen()/call(); see below
example...
1 import subprocess
2 f=open('log', 'w')
3 ...# writing some log-into into log file
4 p = subprocess.Popen(cmd, stdout=f, stderr=f) # (Q)
5 ...# do remaining stuff
Q: At line# 4, the output of the 'cmd' will wip
Hi,
Do we have any facility to append file from Popen()/call(); see below
example...
1 import subprocess
2 f=open('log', 'w')
3 ...# writing some log-into into log file
4 p = subprocess.Popen(cmd, stdout=f, stderr=f) # (Q)
5 ...# do remaining stuff
Q: At line# 4, the output of the 'cmd' will wip
On Jun 13, 3:43 pm, Michael Torrie wrote:
> On 06/13/2010 05:29 AM, lkcl wrote:
>
> > really? drat. i could have done with knowing that at the time.
> > hmmm, perhaps i will return to the pyqt4 port after all.
>
> We're now wandering well off-topic here, but then again this thread was
> never r
i have tried this still unable to get an output
from Bio import Seq
from Bio import SeqIO
from Bio import SeqRecord
for seq_record in SeqIO.read("ls_MTbH37Rv.fasta", "fasta"):
print seq_record.id
print repr(seq_record.seq)
print len(seq_record)
python bio.py
Traceback (most recent ca
On 14 jun, 13:19, Thales wrote:
> Good morning,
>
> I need to convert some files from .doc to .pdf. I've googled it a
> little bit and all the solutions I've found used the OpenOffice API,
> but I can't use it.
>
> Anybody knows a library that I can use to do it?
>
> Thanks
What about using the w
On Sun, 13 Jun 2010 14:13:32 -0700
geremy condra wrote:
> On Sun, Jun 13, 2010 at 1:29 PM, astral
> wrote:
> > I am looking for Python OpenSSL library, for Python version 2.5.4 (on
> > Windows)
> > Which does not require to install Cygwin package. Need just to decrypt file,
> > then uninstall lib
On Mon, Jun 14, 2010 at 7:01 PM, hiral wrote:
> Hi,
>
> Do we have any facility to append file from Popen()/call(); see below
> example...
>
> 1 import subprocess
> 2 f=open('log', 'w')
> 3 ...# writing some log-into into log file
> 4 p = subprocess.Popen(cmd, stdout=f, stderr=f) # (Q)
> 5 ...# do
On 14/06/2010 15:02, madhuri vio wrote:
i have tried this still unable to get an output
from Bio import Seq
from Bio import SeqIO
from Bio import SeqRecord
for seq_record in SeqIO.read("ls_MTbH37Rv.fasta", "fasta"):
print seq_record.id
print repr(seq_record.seq)
print len(seq_rec
On Jun 13, 2:34 pm, Stephen Hansen wrote:
> On 6/13/10 4:29 AM, lkcl wrote:
>
> > it's in fact how the entire pyjamas UI widget set is created, by
> > doing nothing more than direct manipulation of bits of DOM and direct
> > manipulation of the style properties. really really simple.
>
> Did you
Hi,
tempfile.mkstemp returns a file name and a file descriptor (as returned
by os.open). Can I somehow convert this descriptor to a file object?
Thanks!
Nathan
--
http://mail.python.org/mailman/listinfo/python-list
On 06/14/2010 04:57 PM, Nathan Huesken wrote:
> Hi,
>
> tempfile.mkstemp returns a file name and a file descriptor (as returned
> by os.open). Can I somehow convert this descriptor to a file object?
the builtin open function should work.
http://docs.python.org/py3k/library/functions.html#open
A
On Mon, Jun 14, 2010 at 6:09 AM, Vincent Davis wrote:
> On Mon, Jun 14, 2010 at 6:49 AM, Thomas Jollans wrote:
>> On 06/14/2010 02:37 PM, Vincent Davis wrote:
>>> On Sun, Jun 13, 2010 at 6:24 PM, Irmen de Jong
>>> wrote:
On 14-6-2010 1:19, Vincent Davis wrote:
>
> I just installed
On 06/14/2010 03:09 PM, Vincent Davis wrote:
> On Mon, Jun 14, 2010 at 6:49 AM, Thomas Jollans wrote:
>> On 06/14/2010 02:37 PM, Vincent Davis wrote:
>>> On Sun, Jun 13, 2010 at 6:24 PM, Irmen de Jong
>>> wrote:
On 14-6-2010 1:19, Vincent Davis wrote:
>
> I just installed 2.6 and 3.
On Mon, Jun 14, 2010 at 3:09 AM, Alexzive wrote:
> thanks guys,
>
> the solution for me was
>
> python2.4 setup.py install --prefix=/usr/local
>
> cheers, AZ
>
Don't do that! Like Steven said, you'll kill your system that way.
Lots of programs in Linux use Python and those programs expect
/usr/bi
>>> Anyway, make sure readline is installed, and then recompile Python.
>>
>> So I should run
>> ./configure
>> make install
>> again?
>> Will this overwrite other py packages I have installed?
>>
>> Vincent
>>
>
> That should be
> ./configure
> make
> make install
>
> You missed a rather importan
What is the easiest way to send a text file to a networked printer
from a python script running on windows?
--
http://mail.python.org/mailman/listinfo/python-list
i am still waiting for some help.
--
madhuri :)
--
http://mail.python.org/mailman/listinfo/python-list
> oh look - there's a common theme, there: "web technology equals
> useless" :)
this is getting sufficiently ridiculous, i thought it best to
summarise the discussions of the past few days, from the perspective
of four-year-olds:
http://pyjs.org/will_and_abe_guide_to_pyjamas.html
l.
--
http://
On 14/06/2010 16:31, loial wrote:
What is the easiest way to send a text file to a networked printer
from a python script running on windows?
http://timgolden.me.uk/python/win32_how_do_i/print.html
TJG
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, Jun 14, 2010 at 8:45 AM, madhuri vio wrote:
>
> i am still waiting for some help.
> --
> madhuri :)
>
You already have your help- the traceback tells you everything you
need to know. If you don't understand what the traceback is saying,
come back here and specifically ask about the p
On 14 jun, 11:01, Marco Nawijn wrote:
> On 14 jun, 13:19, Thales wrote:
>
> > Good morning,
>
> > I need to convert some files from .doc to .pdf. I've googled it a
> > little bit and all the solutions I've found used the OpenOffice API,
> > but I can't use it.
>
> > Anybody knows a library that I
On Jun 14, 3:53 pm, lkcl wrote:
> this is getting sufficiently ridiculous, i thought it best to
> summarise the discussions of the past few days, from the perspective
> of four-year-olds:
not, of course, to imply in _any way_, that anyone but myself on
comp.lang.python is juvenile and/or delinq
On 6/14/10 7:15 AM, lkcl wrote:
> On Jun 13, 2:34 pm, Stephen Hansen wrote:
>> On 6/13/10 4:29 AM, lkcl wrote:
>>
>>> it's in fact how the entire pyjamas UI widget set is created, by
>>> doing nothing more than direct manipulation of bits of DOM and direct
>>> manipulation of the style properties
On 06/14/2010 05:45 PM, madhuri vio wrote:
>
> i am still waiting for some help.
WHAT?! Your behaviour on this list is making me really, really angry. We
are not a tech support company. You are not paying for the privilege of
sending your mail here.
However, Sir, you are acting as if you were
On 14 jun, 17:55, Thales wrote:
> On 14 jun, 11:01, Marco Nawijn wrote:
>
>
>
>
>
> > On 14 jun, 13:19, Thales wrote:
>
> > > Good morning,
>
> > > I need to convert some files from .doc to .pdf. I've googled it a
> > > little bit and all the solutions I've found used the OpenOffice API,
> > > b
On 6/14/10 8:55 AM, Thales wrote:
> Thanks for your help Marco, but it has to work on linux, not on
> windows. Is possible to import this win32com on linux systems? How?
You should include your full requirements when you originally ask :)
That said... I think you're out of luck.
Doc's are a prop
On 06/14/2010 01:19 PM, Thales wrote:
> Good morning,
>
> I need to convert some files from .doc to .pdf. I've googled it a
> little bit and all the solutions I've found used the OpenOffice API,
> but I can't use it.
>
> Anybody knows a library that I can use to do it?
Why can't you use OpenOffi
On 14/06/2010 16:45, madhuri vio wrote:
i am still waiting for some help.
You cheeky git, this is simply *NOT* cricket! Your 1st post was timed
at 13:59 BST, the response from Thomas Jollans at 14:12. Your 2nd post
was at 15:02 and I replied at 15:12. Now you're back again at 16:45, to
Quoting the following post :-
I am looking for expert opinions
http://groups.google.com/group/gnu.emacs.help/browse_thread/thread/54fb97d15b234d31#
> Probably doesn't meet your intent, but this is a really impressive bit
> of (whacky) art:
Lisp runs faster than C. Once you get more time away fr
On Mon, Jun 14, 2010 at 10:08 AM, Antoine Pitrou wrote:
> On Sun, 13 Jun 2010 14:13:32 -0700
> geremy condra wrote:
>> On Sun, Jun 13, 2010 at 1:29 PM, astral
>> wrote:
>> > I am looking for Python OpenSSL library, for Python version 2.5.4 (on
>> > Windows)
>> > Which does not require to install
Sorry, I dont have access to the journal papers ... or I would do
research myself.
On Jun 14, 10:10 am, bolega wrote:
> Quoting the following post :-
>
> I am looking for expert opinions
>
> http://groups.google.com/group/gnu.emacs.help/browse_thread/thread/54...
>
> > Probably doesn't meet your
Le lundi 14 juin 2010 à 13:18 -0400, geremy condra a écrit :
> >>
> >> Evpy[1] is designed to be a very easy-to-use interface to OpenSSL,
> >> although it is by design limited to doing things the right way, so it
> >> may not meet your needs.
> >
> > How about contributing to the standard hashlib a
On 6/14/10 10:17 AM, bolega wrote:
> Sorry, I dont have access to the journal papers ... or I would do
> research myself.
This has what to do with Python?
--
Stephen Hansen
... Also: Ixokai
... Mail: me+list/python (AT) ixokai (DOT) io
... Blog: http://meh.ixokai.io/
signature.as
On 6/13/2010 1:59 PM, Michael Crute wrote:
On Sun, Jun 13, 2010 at 4:29 PM, astral
wrote:
I am looking for Python OpenSSL library, for Python version 2.5.4 (on
Windows)
Which does not require to install Cygwin package. Need just to decrypt file,
then uninstall library.
You might want to take
On Jun 14, 10:17 am, bolega wrote:
> Sorry, I dont have access to the journal papers ... or I would do
> research myself.
>
> On Jun 14, 10:10 am, bolega wrote:
>
> > Quoting the following post :-
>
> > I am looking for expert opinions
>
> >http://groups.google.com/group/gnu.emacs.help/browse_thr
On 14-6-2010 15:09, Vincent Davis wrote:
Anyway, make sure readline is installed, and then recompile Python.
So I should run
./configure
make install
again?
Will this overwrite other py packages I have installed?
Vincent
Often there is no need to run the configure script again if you're just
For crying out loud, the best any compiler can do is make optimal
machine language. Many C compilers can do that over most inputs. So
can many Lisp compilers if you give the right type data. So it's a
moot point.
The only point to discuss would be that Scheme - in the R5 version of
the spec at
On Jun 14, 11:17 am, Stephen Hansen wrote:
> And the recursive flow of the DOM is powerful
This style of speaking reminds me of our former hillbilly president
(no not Clinton, he was the eloquent hillbilly!) No i am referring to
good old "George Dubya". He left us with so many juicy sound bites..
On Jun 14, 8:29 am, t...@sevak.isi.edu (Thomas A. Russ) wrote:
> Pascal Costanza writes:
> > On 12/06/2010 19:36, bolega wrote:
> > > Is there anything in this old
> > > norvig book that makes it worth pursuing as a text ?
>
> > >http://norvig.com/paip.html
>
> > This "old" book by Peter Norvig is
One point that might be interesting, you do include C++ in your post.
Therefore some compare/contrast of C++ class member function
invocation rate versus Lisp object method invocation rate might be
meaningful. I'm sure if you Google back through comp.lang.lisp you
will find plenty on it already.
-
On Mon, Jun 14, 2010 at 10:25 AM, Antoine Pitrou wrote:
> Le lundi 14 juin 2010 à 13:18 -0400, geremy condra a écrit :
>> >>
>> >> Evpy[1] is designed to be a very easy-to-use interface to OpenSSL,
>> >> although it is by design limited to doing things the right way, so it
>> >> may not meet your
On Jun 14, 10:55 am, Tim Golden wrote:
> On 14/06/2010 16:31, loial wrote:
>
> > What is the easiest way to send a text file to a networked printer
> > from a python script running on windows?
>
> http://timgolden.me.uk/python/win32_how_do_i/print.html
Hello Tim,
Thanks for posting this wond
On 14/06/2010 02:57 p.m., rantingrick wrote:
On Jun 14, 11:17 am, Stephen Hansen wrote:
And the recursive flow of the DOM is powerful
This style of speaking reminds me of our former hillbilly president
(no not Clinton, he was the eloquent hillbilly!) No i am referring to
good old "Ge
On Jun 14, 4:17 pm, Stephen Hansen wrote:
> >> Did you just call DOM manipulation simple with a straight face? I don't
> >> think I've ever seen that before.
>
> > *lol* - wait for it: see below. summary: once you start using high-
> > level widgets: yes. without such, yeah you're damn right.
On Mon, 14 Jun 2010 10:43:02 -0700, John Nagle wrote:
> The new SSL module in Python 2.6
There isn't an SSL module in Python 2.6. There is a module named "ssl"
which pretends to implement SSL, but in fact doesn't.
> is convenient, but insecure.
In which case, it isn't actually convenient, i
On Jun 14, 5:57 pm, rantingrick wrote:
> On Jun 14, 11:17 am, Stephen Hansen wrote:
>
> > And the recursive flow of the DOM is powerful
>
> This style of speaking reminds me of our former hillbilly president
> (no not Clinton, he was the eloquent hillbilly!)
the one with an IQ of 185?
> No i a
On Mon, Jun 14, 2010 at 11:47 AM, Nobody wrote:
> On Mon, 14 Jun 2010 10:43:02 -0700, John Nagle wrote:
>
>> The new SSL module in Python 2.6
>
> There isn't an SSL module in Python 2.6. There is a module named "ssl"
> which pretends to implement SSL, but in fact doesn't.
>
>> is convenient, b
"Antti \"Andy\" Ylikoski" writes:
> 12.6.2010 22:54, Pascal J. Bourguignon kirjoitti:
>> bolega writes:
>>>
[PAIP]
>>>
>>> Is there anything in this old norvig book that makes it worth
>>> pursuing as a text ?
>>
>> Yes.
>>
>
> I agree with his criticism that the book is "old", mine stems f
On 6/14/10 9:57 AM, Nathan Huesken wrote:
Hi,
tempfile.mkstemp returns a file name and a file descriptor (as returned
by os.open). Can I somehow convert this descriptor to a file object?
Thomas Jollans' advice is likely best, but to answer your specific question, use
os.fdopen() to make a fil
On 14/06/2010 02:35, alex23 wrote:
Python isn't PHP, its built-ins are nowhere near as exhaustive,
something like 80ish vs 2000+ functions? Not exactly a huge lookup
burden.
The problem is not learning Python, its learning about the standard
libraries that Python gives you access to!
.NET
On Jun 14, 5:57 pm, rantingrick wrote:
> I'll have to very much agree with this assessment Stephan. There
> exists not elegant API for these "web" UI's. The people over at
> SketchUp (my second love after python) have this problem on a daily
> bases with WebDialogs. Even the javascript gurus have
Hello,
Why there is no setprocname function in standard library, or am I
missing something?
--
http://mail.python.org/mailman/listinfo/python-list
On 2010-06-14, Tomasz Pajor wrote:
> Why there is no setprocname function in standard library, or am I
> missing something?
Dunno. Before we start guessing, would you care to explain what you
think "setprocname" ought to do?
--
Grant Edwards grant.b.edwardsYow! If I pul
On 6/14/10 11:47 AM, lkcl wrote:
> On Jun 14, 4:17 pm, Stephen Hansen wrote:
> yes. that's effectively what pyjs applications are about: as much
> HTML/CSS as you can stand, then _absolute_ pure javascript from there-
> on in... only using a compiler (python-to-javascript) so as not to go
> comp
On 06/14/2010 08:41 PM, Tomasz Pajor wrote:
> Hello,
>
> Why there is no setprocname function in standard library, or am I
> missing something?
why should there be one? what should it do?
This sounds like you expect there to be a wrapper of a C system call or
other libc function called "setprocn
On 06/14/2010 09:15 AM, Steven D'Aprano wrote:
> On Mon, 14 Jun 2010 12:24:59 +1000, Ben Finney wrote:
>
>> With ‘reduce’ gone in Python 3 [0]
> ...
>> [0] http://docs.python.org/py3k/library/functions.html>
>
>
> It's not gone, it's just resting.
It's pinin' for the fjords.
(sorry ^^)
>
>
On 6/14/10 12:16 PM, lkcl wrote:
> from thereon in, you DO NOT do *any* HTML page "GETs": it's a one-
> time static HTML/JS load, and THAT's IT.
>
> the only further interaction that we recommend is first and foremost
> JSONRPC (and so, out of the 30 or so pyjamas wiki pages, about 10 of
> them
On 6/14/10 1:53 PM, fortunatus wrote:
> For crying out loud, the best any compiler can do is make optimal
> machine language. Many C compilers can do that over most inputs. So
Is that why I had to use assembly code instead of C for some parts of my
previous projects?
There was even one example
Grant Edwards wrote:
On 2010-06-14, Tomasz Pajor wrote:
Why there is no setprocname function in standard library, or am I
missing something?
Dunno. Before we start guessing, would you care to explain what you
think "setprocname" ought to do?
I think it's to set the name of the OS process.
On Mon, Jun 14, 2010 at 1:25 PM, Antoine Pitrou wrote:
> That was not my question. My question was whether there was a reason to
> rewrite a separate OpenSSL-accessing library rather than contributing to
> improve the "hashlib" and "ssl" modules which are already part of the
> Python stdlib.
The
On 14-Jun-10 10:01 AM, Marco Nawijn wrote:
On 14 jun, 13:19, Thales wrote:
Good morning,
I need to convert some files from .doc to .pdf. I've googled it a
little bit and all the solutions I've found used the OpenOffice API,
but I can't use it.
Anybody knows a library that I can use to do it?
On 14/06/2010 7:29 PM, rantingrick wrote:
On Jun 14, 10:55 am, Tim Golden wrote:
On 14/06/2010 16:31, loial wrote:
What is the easiest way to send a text file to a networked
printer from a python script running on windows?
http://timgolden.me.uk/python/win32_how_do_i/print.html
H
On Jun 14, 7:30 pm, Stephen Hansen wrote:
> On 6/14/10 11:47 AM, lkcl wrote:
>
> > On Jun 14, 4:17 pm, Stephen Hansen wrote:
> > yes. that's effectively what pyjs applications are about: as much
> > HTML/CSS as you can stand, then _absolute_ pure javascript from there-
> > on in... only using a
On 6/14/2010 12:31 PM, Thomas Jollans wrote:
On 06/14/2010 08:41 PM, Tomasz Pajor wrote:
Hello,
Why there is no setprocname function in standard library, or am I
missing something?
why should there be one? what should it do?
This sounds like you expect there to be a wrapper of a C system cal
On 2010-06-14, MRAB wrote:
> Grant Edwards wrote:
>> On 2010-06-14, Tomasz Pajor wrote:
>>
>>> Why there is no setprocname function in standard library, or am I
>>> missing something?
>>
>> Dunno. Before we start guessing, would you care to explain what you
>> think "setprocname" ought to do?
1 - 100 of 178 matches
Mail list logo