> Hi Jeremy, that's the problem I'm having. Where should I type that "
> python setup.py install" ? Once again I'm using Windows system and not
> Unix. Should I move the file to a specific folder under Python 2.5 and
> then type " python setup.py install" in IDLE or Command Line window?
> I get th
So, I wonder what might be the problem now? ^^ :)
On Feb 27, 11:27 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> > Hi Jeremy, that's the problem I'm having. Where should I type that "
> > python setup.py install" ? Once again I'm using Wi
This is my friend's computer, BTW!
--
http://mail.python.org/mailman/listinfo/python-list
On 28 fév, 00:06, "andrew_s" <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I'm looking for any database which I could use without need of instalation.
> I've read some threads here but I couldn't find any complete answer.
> On my ISP's server I can use Py
Hi,
I noticed that when I used SocketServer.ForkingMixIn
(ForkingTCPServer), there were always zombie processes around. I
searched for where waitpid() is called in ForkingMixIn and found it in
SocketServer.py:
def process_request(self, request, client_address):
"""Fork a new subproc
On Feb 28, 11:24 am, Alan Franzoni
<[EMAIL PROTECTED]> wrote:
> Il 27 Feb 2007 16:14:20 -0800, [EMAIL PROTECTED] ha scritto:
>
>
>
> > Those mean different things:
>
> >>>> a=[1]
> >>>> b=a
> >>>> a += [2]
> >>>&g
It seems like this would be easy but I'm drawing a blank.
What I want to do is be able to open any file in binary mode, and read
in one byte (8 bits) at a time and then count the number of 1 bits in
that byte.
I got as far as this but it is giving me strings and I'm not sure how
to accurately get
On 1 mar, 04:46, Daniel Klein <[EMAIL PROTECTED]> wrote:
> On Wed, 28 Feb 2007 22:03:13 +0100, Bruno Desthuilliers
>
>
>
> <[EMAIL PROTECTED]> wrote:
> >Daniel Klein a écrit :
> >> The arguments for TransitionError must be a tuple,
>
> >Err...
&g
On 28 fév, 18:15, "Matthew Franz" <[EMAIL PROTECTED]> wrote:
> I'm probably fundamentally misunderstanding the way the interpreter
> works with regard to scope, but is this the intended behavior...
>
(snip traceback)
> import os,sys
>
> SOMEGLOBAL=1
>
&
On 1 mar, 06:22, Ray Buck <[EMAIL PROTECTED]> wrote:
> I've been trying to install Mailman, which requires a newer version
> of the Python language compiler (p-code generator?)
It's actually the whole thing : (byte-code) compiler, virtual machine,
and stdlib.
> than the
On 1 mar, 14:36, Gigs_ <[EMAIL PROTECTED]> wrote:
> HI folks!
>
> I want to learn to make web pages with django.
> I dont know nothing about HTML.
>
> How much of HTML I need to know to be able to learn django well?
>
Anyway :
1/ you'll obviously need to have a
On Mar 1, 8:53 am, "Bart Ogryczak" <[EMAIL PROTECTED]> wrote:
> On Mar 1, 7:52 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
> > It seems like this would be easy but I'm drawing a blank.
>
> > What I want to do is be able to o
On Mar 1, 12:46 pm, "Bart Ogryczak" <[EMAIL PROTECTED]> wrote:
> > This solution looks nice, but how does it work? I'm guessing
> > struct.unpack will provide me with 8 bit bytes
>
> unpack with 'B' format gives you int value equivalent to unsig
On 2 mar, 05:14, Steven D'Aprano <[EMAIL PROTECTED]>
wrote:
> On Thu, 01 Mar 2007 21:45:55 +0100, Bruno Desthuilliers wrote:
> > As a side note : hungarian notation is usually considered bad form here.
> > Look here for usual naming conventions:
> >http://
hi
i am looking for some info about mapping btw values in an array and
corresponding columns of a matrix
i have an numpy array=[11.0,33.0,22.0,55.0,44.0]
and a numpy matrix object=
matrix(([1.3,2.5,3.2,6.7,3.1],
[9.7,5.6,4.8,2.5,2.2],
hi my friends;
google can searching in phrase but it is imposible. it have a lot of
page in data base and quadrillions sentence it can't search in
fulltxt all of them .it need a super algorithm. ı need the algorithm
now. if you have a idea ,pls share to me
thanks
(sorry for my bad english :(
CW,
thanx for the reply..but i was looking for a mapping BTW each item of
a numpy.ndarray and the corresponding column of a numpy.matrix ,after
some struggle :-) i came up with this
#a function to return a column from a matrix
def getcol(data, colindex):
return data[:,colindex]#returns a m
> > I really just want to get my "up arrow" history working...
>
> Google for "rlwrap".
Thanks for the rlwrap tip - much easier than reinstalling Python (for
the short term). For anyone interested, I installed it and put this in
my .bashrc file:
alias python='rlwrap python'
Now I have my up-arro
Please help!
IDLE color codes only the shell, not the open files! How can I solve
this?
--
http://mail.python.org/mailman/listinfo/python-list
On Nov 5, 9:41 pm, JamesHoward <[EMAIL PROTECTED]> wrote:
> On Nov 5, 12:33 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
> > Please help!
> > IDLE color codes only the shell, not the open files! How can I solve
> > this?
>
> My fi
On Nov 5, 3:10 pm, Erika Skoe <[EMAIL PROTECTED]> wrote:
>
That's funny, I can't see anything.
--
http://mail.python.org/mailman/listinfo/python-list
In Gentoo Linux you can select between installed python version using
python-config script.
--
http://mail.python.org/mailman/listinfo/python-list
Hey, I'm looking for a good Python environment. That is, at least an
editor and a debugger, and it should run on Windows. Does anyone have
any idea?
--
http://mail.python.org/mailman/listinfo/python-list
On Sep 12, 10:35 am, Peter Otten <[EMAIL PROTECTED]> wrote:
> Am Wed, 12 Sep 2007 15:09:02 + schrieb [EMAIL PROTECTED]:
>
> > On Sep 12, 5:17 am, Peter Otten <[EMAIL PROTECTED]> wrote:
>
> >> Your assessment is wrong. You only get the extra lines in the tra
On Nov 7, 3:51 am, Jens <[EMAIL PROTECTED]> wrote:
> Just wrote a mini "review" of three Python code editors on my blog...
>
> http://pyminer.blogspot.com/2007/11/python-code-editors.html
>
> I use PSPad or Notepad++ for quick editing, and Komodo Edit 4.2 for
> l
On Nov 7, 1:15 pm, jwelby <[EMAIL PROTECTED]> wrote:
> On Nov 6, 10:56 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
> > Hey, I'm looking for a good Python environment. That is, at least an
> > editor and a debugger, and it should run
On Nov 7, 11:31 am, [EMAIL PROTECTED] wrote:
> On Nov 7, 7:58 am, [EMAIL PROTECTED] wrote:
>
>
>
> > Hi there,
>
> > I've been banging my head against this for a day, and I can't take it
> > anymore. It's probably a stupid error, but I don't
How similar is Python's re module (regular expressions) compared
to Perl's and grep's regular expression syntaxes?
I really hope regular expression syntax is sufficiently standardized
that
we don't have to learn new dialects everytime we move from one
language or shell command to another.
chris
Has anyone ever tried mucking with pydoc to the point where you can
get it to give you output from a string input? For example I'd like
to give it a whole module to generate documentation for but all within
a string:
#little sample
module_code='''
"""Module docstring"""
def func1():
""" som
On Nov 7, 6:27 am, "Russ P." <[EMAIL PROTECTED]> wrote:
> Is it possible to pass command-line arguments when running a program
> in IDLE? The "Run" menu does not seem to provide that option. Thanks.
Can't you just fake the command line args by setting sys.ar
On Nov 7, 4:47 pm, Laszlo Nagy <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > Has anyone ever tried mucking with pydoc to the point where you can
> > get it to give you output from a string input? For example I'd like
> > to give it a whole module to ge
On Nov 3, 10:49 am, Paul McGuire <[EMAIL PROTECTED]> wrote:
> grammar << ((word + grammar) | (word + Literal(end)))
> which works.
[Clarifies that the common (and similar) solution doesn't work -- this
works only because the literal binds tightly to the word, so yo
I'm trying to get a list of messages from GMAIL using it's new IMAP
access.
So far I've tried running this command but it just hangs. Any ideas?
>>> import imaplib
>>> M=imaplib.IMAP4('imap.gmail.com',993)
I figured that's the first line to run from this example:
http://docs.python.org/lib/imap
On Nov 8, 2:09 pm, "Michael Bacarella" <[EMAIL PROTECTED]> wrote:
> > In our company we are looking for one language to be used as default
> > language. So far Python looks like a good choice (slacking behind
> > Java). A few requirements that the language should
On Nov 8, 2:22 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> On Nov 8, 1:52 pm, Jason <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Nov 8, 11:41 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> > wrote:
>
> > > I'
On Nov 8, 1:52 pm, Jason <[EMAIL PROTECTED]> wrote:
> On Nov 8, 11:41 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
> > I'm trying to get a list of messages from GMAIL using it's new IMAP
> > access.
>
> > So far
On Nov 8, 8:09 am, "Dmitry Teslenko" <[EMAIL PROTECTED]> wrote:
> Hello!
> How to write portable (win32, unix) script that launches another
> program and continues its execution?
>
> I've looked at spawn*() but it doesn't look in PATH dirs on windows so
&g
On Nov 8, 1:52 pm, Jason <[EMAIL PROTECTED]> wrote:
> On Nov 8, 11:41 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
> > I'm trying to get a list of messages from GMAIL using it's new IMAP
> > access.
>
> > So far
Hello! Please feel free to forward this on to your network. All those
interested in this position, please email me at
[EMAIL PROTECTED] Thanks!-Amanda Papp
Python Developer
Job Description: Rackspace is a highly awarded and respected managed
web hosting company. We earned our place by approaching
If I run the following code:
class path(object):
def __init__(self, **subdirs):
for name, path in subdirs.iteritems():
def getpath():
return path
setattr(self, name, getpath)
export = path(
one = 'this is one',
two = 'this is two',
)
pr
On Nov 9, 9:49 am, Paul Hankin <[EMAIL PROTECTED]> wrote:
> It's behaving as defined though, and the usual work-around is to add a
> variable with a default value.
>
> class path(object):
> def __init__(self, **subdirs):
> for name, path in subdirs.i
On Nov 9, 9:54 am, Boris Borcic <[EMAIL PROTECTED]> wrote:
> Yes this is the expected behavior. Both your getpath() functions return the
> current value of the single path variable at the time of invocation. Perhaps
> this would be the slightest bit clearer if subdir.iteritems()
hii my friends;
I want to create picture of security code.can i do it ?
if yes,how , which module will help me?
have you got a example that can create a picture whit my name
pls help me
thansk
oruc
--
http://mail.python.org/mailman/listinfo/python-list
is there anybody here !!!
--
http://mail.python.org/mailman/listinfo/python-list
wha :S
--
http://mail.python.org/mailman/listinfo/python-list
have you got any example?pls :S
--
http://mail.python.org/mailman/listinfo/python-list
On 10 Kas m, 23:57, Wildemar Wildenburger
<[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > I want to create picture of security code.can i do it ?
>
> I don't know what you mean by "security code".
>
> I take it you want to create techni
http://www.anrdoezrs.net/
click-2701385-10313598">
http://www.tqlkg.com/image-2701385-10313598"; width="600"
height="300" alt="Search FastWeb see Green!" border="0"/>
http://www.jdoqocy.com/
click-2701385-10484777">
http://www.tqlkg.com/image-2701385-10484777"; width="160"
height="600" alt="Want
hi
i am trying to create a cache of digitized values of around 100
image files in a folder..In my program i would like to know from time
to time if a new image has been added or removed from the folder..
one scheme suggested was to create a string from the names of sorted
image files and give it
Hi,
I have recently been learning python, and coming from a java
background there are many new ways of doing things that I am only just
getting to grips with.
I wondered if anyone could take a look at a few pieces of code I have
written to see if there are any places where I am still using java-
On Nov 11, 11:03 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> hi
> i am trying to create a cache of digitized values of around 100
> image files in a folder..In my program i would like to know from time
> to time if a new image has been added or removed from
On Nov 12, 1:41 pm, JamesHoward <[EMAIL PROTECTED]> wrote:
> Does anyone know any method to have one program, acting as a server
> transfer a socket connection to another program? I looked into
> transferring the connection via xml rpc to no avail. It seems to be a
> problem of
On Nov 12, 5:12 pm, John Machin <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > I would like to have my data in a format so that I can create a
> > contour plot.
>
> > My data is in a file with a format, where there may be multiple fields
>
> >
On Nov 12, 5:30 pm, "Peter J. Bismuti" <[EMAIL PROTECTED]>
wrote:
> I'm having trouble understanding how namespaces work in modules. I want to
> execute a module within the interpreter and then have values that are
> calculated persist so that other modules that
Hi all, I'm new comer here
--
http://mail.python.org/mailman/listinfo/python-list
selamat malem
--
http://mail.python.org/mailman/listinfo/python-list
from numpy import *
a = zeros((2,40), int)
fields = {}
field = 10
fields[field] = '30A', 5
iy = int(fields[field][1])
ix = int(fields[field][0].rstrip('AB'))
for i in range(2):
for j in range(iy):
#put(a,[39 - j],[1]) #1d
Can someone help me figure out how I would do it for m
On Nov 13, 1:22 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> from numpy import *
>
> a = zeros((2,40), int)
>
> fields = {}
> field = 10
> fields[field] = '30A', 5
>
> iy = int(fields[field][1])
> ix = int(fields[field][0].rs
On Nov 12, 11:27 am, "Martin Marcher" <[EMAIL PROTECTED]> wrote:
> 2007/11/12, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
> > Why not use the file creation/modification timestamps?
>
> because you'd have to
>
> a) create a thread that pulls al
1, in
ImportError: cannot import name math
--Nathan Davis
On Nov 13, 7:25 pm, "Gordon C" <[EMAIL PROTECTED]> wrote:
> OK Steve, But why do we say "from array import array" and NOT "from math
> import math"? Why the difference in syntax?
> Gord
>
>
On Nov 13, 11:55 pm, Dick Moores <[EMAIL PROTECTED]> wrote:
> For 1234 ** 10.9, why the wrong result from mpmath.power()?
>
>
> #!/usr/bin/env python
> #coding=utf-8
> from mpmath import *
>
> mpf.dps = 32
>
> x = mpf(123
hi my friends ;
i keep one's mind; can i read this document ??
http://rapidshare.com/files/69725750/MTU.TRK
pls somebody tell me it
--
http://mail.python.org/mailman/listinfo/python-list
yyyyyyyyyyGyUykypy{yyyy¢y
¥yµyºy½yÂyÔyäyçyêyêyzzz)z,zz»z¾zÃzÆz{
{||g|l|l|l|l|l|r|·|·|Â|Ø|
Û|}ë '· ¢¨ÊÏÔU,,, ,¡,¤
,½,À,Å,Ë, F³¶¶¶ÏÏÔõùü$,,',,l,,g...k...n
On Nov 15, 7:19 am, Nikola Skoric <[EMAIL PROTECTED]> wrote:
> I have been trying to find appropriate way to do get local time in
> "-mm-dd hh:mm:ss" format, but the best I got is this:
> datetime.datetime.fromtimestamp(time.mktime(time.localtime()))
> It seems to m
On Nov 15, 8:29 am, [EMAIL PROTECTED] wrote:
> Hi,
>
> I am looking for a python tool or module that helps me build a script
> that can perceive object moves in a video file captured by a (web)
> camera. My main goal is to be able to count people entering a store
> using the st
I'm not sure if this is as easy a question as I'd like it to be, but
here goes
I'm working on an application that is very memory intensive, so we're
trying to reduce the memory footprint of classes wherever possible. I
have a need for a class which is able to have a type identifier which
can
In learning about design patterns, I've seen discussion about using
inheritance when an object's relationship to another object is 'is-a'
and composition when the relationship is 'has-a'.
Since this is all new and I'm still learning, I was hoping someone can
give me some pointers on best practices
> Yes. Of course there are other ways, establishing the connection later,
> and of course making the Owner know her pets. But your unidirectional,
> ctor-passed implementation is sensible.
I think my main concern while getting my toes wet on this was to not
reference the owner object out of "thin
Hi,
Does anyone know what the state of progress with interfaces for python
(last I can see is http://www.python.org/dev/peps/pep-0245/)
I would argue that interfaces/(similar feature) are necessary in any
modern language because they provide a way of separating the
specification from the implemen
On Nov 15, 10:40�pm, Bruza <[EMAIL PROTECTED]> wrote:
> I need to implement a "random selection" algorithm which takes a list
> of [(obj, prob),...] as input. Each of the (obj, prob) represents how
> likely an object, "obj", should be selected based on its probab
On Nov 15, 7:55 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> I would argue that interfaces/(similar feature) are necessary in any
> modern language because they provide a way of separating the
> specification from the implementation of a module.
>
First of
On Nov 16, 8:14 am, Thorsten Kampe <[EMAIL PROTECTED]> wrote:
> * Cope (Fri, 16 Nov 2007 06:09:31 -0800 (PST))
>
> > please tell me what is python.This group is so crowded.
>
> A Python is dangerous snake[1]. This group here mainly consists of
> misguided snake worshippe
On Nov 16, 11:35 am, Donn Ingle <[EMAIL PROTECTED]> wrote:
> >This may help (on an old Python version):
> >>>> class Sam: pass
> >>>> class Judy:
> > ...def foo(self): pass
> > ...
> >>>> children = [Sam(), Judy(), Sam()]
itting your work you should choose the
Symposium "Image Processing and Analysis".
Important dates:
- 15 Dec 2007: Deadline for abstract submission;
- 20 Dec 2007: End of abstract selection;
- 1 Feb 2008: Deadline for final 6-page paper submission.
Kind regards,
João Manuel R. S. Tavare
On Nov 16, 3:10�pm, Alan <[EMAIL PROTECTED]> wrote:
> On Nov 16, 8:29 pm, [EMAIL PROTECTED] wrote:
>
> > I still don't get it and I've been haunting this group for months...
>
> > Mike
>
> Go on then �...
>
> What ?
>
> The punchline, do the
Hi folks - wondering if anyone has any pointers on troubleshooting
garbage collection. My colleagues and I are running into an
interesting problem:
Intermittently, we get into a situation where the garbage collection
code is running in an infinite loop. The data structures within the
garbage col
On Nov 17, 10:00�am, Neil Cerutti <[EMAIL PROTECTED]> wrote:
> On 2007-11-17, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > On Nov 16, 3:10?pm, Alan <[EMAIL PROTECTED]> wrote:
> >> On Nov 16, 8:29 pm, [EMAIL PROTECTED] wrote:
>
&
On Nov 17, 8:25 am, Donn Ingle <[EMAIL PROTECTED]> wrote:
> I dunno about your dog :) but Python libs are not too demanding. From a
> Gnu/Linux pov with package managers things are quite simple.
>
> My wish is to find a way to make that even easier because the packaged
> modu
ython please stand up.
> Thanks, Dave WB3DWE [EMAIL PROTECTED]
Hi.
The right version is 2.5.
Bye, :-)
--
http://mail.python.org/mailman/listinfo/python-list
Knuth says to pick N distinct records from a collection where the
probability is equal you should:
first fill up N records by chosing the first seen.
if less than N were in the collection, quit.
otherwise, t = (the number of items looked at) or N to start.
while your not at the end of the colle
How do I add a decorator to a class method? Here's what I want to do,
but I guess my syntax isn't right. Any advice?
class A:
def pre(self,fn):
def new_func(*args,**kwargs):
print 'hi'
fn(*args,**kwargs)
return new_func
@self.pre
def func(self,
On Nov 19, 12:50 pm, Jens <[EMAIL PROTECTED]> wrote:
> On 8 Nov., 02:46, Jens <[EMAIL PROTECTED]> wrote:
>
> > I have a project/package for which I want to generate documentation
> > usingpydoc.
>
> > My problem is that when I type "pydoc.py -w MyPack
On Nov 20, 8:48 am, "Jorgen Bodde" <[EMAIL PROTECTED]> wrote:
> Hi Paul,
>
> Like I said, I do not want to limit my end users into installing
> something in Apache or some other solution in order to get my tool
> working. On the end user side (which also are th
On Nov 20, 2:05 am, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
> On Mon, 19 Nov 2007 20:59:51 -0800, [EMAIL PROTECTED] wrote:
> > How do I add a decorator to a class method? Here's what I want to do,
> > but I guess my syntax isn't right. Any ad
On Nov 20, 12:32 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> On Nov 20, 2:05 am, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Mon, 19 Nov 2007 20:59:51 -0800, [EMAIL PROTECTED] wrote:
> > > How do I a
, 1:41 am, Dick Moores <[EMAIL PROTECTED]> wrote:
> I'm writing a demo of the infinite series
>
> x**0/0! + x**1/1! + x**2/2! + x**3/3! + ... = e**x (x is non-negative)
>
> It works OK for many x, but for many the loop doesn't break. Is there
> a way to get i
On Nov 20, 10:20 am, Aaron Watters <[EMAIL PROTECTED]> wrote:
> On Nov 19, 1:41 am, MonkeeSage <[EMAIL PROTECTED]> wrote:
>
> > On the other hand, C# and .NET seems like a lot of baggage to bring to
> > the table. First off, you have to introduce the CLR and how it re
On Nov 20, 11:36 am, sophie_newbie <[EMAIL PROTECTED]> wrote:
> Is there any way to do this directly within python?
>
> If not is there any other good way to achieve it?
>
> Thanks in advance for any help!
Take a look at PIL -- http://www.pythonware.com/products/pil/. A
On Nov 20, 5:01 pm, "Patrick Mullen" <[EMAIL PROTECTED]> wrote:
> (Oops, sent as private, reposting to list)
>
> On Nov 20, 2007 12:36 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
>
> > FWIW it's trivial to run pyflakes on your code
I apologize in advance if this is not the correct forum to ask this
and if someone knows a better place, please let me know. But, I am
trying to create a Contextmenu (a right-click popup menu) from within
a QTreeWidget. I tried setting the contextMenuPolicy to
CustomContextMenu and then handling
On 22 Nov, 12:09, Neil Webster <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm sure I'm doing something wrong but after lots of searching and
> reading I can't work it out and was wondering if anybody can help?
>
> I've got the following blo
i want to capture run time errors so that the execution of program doesnt
stop. like i want an error handler function ( that will email me or
something like that ) on error and not stop the execution of program.
how do i do this? i can not use try except for this...
thanks
--
http://mail.python.or
.plot([1, 2, 3])
pylab.show()
On Nov 22, 9:48 pm, Caren Balea <[EMAIL PROTECTED]> wrote:
>
> Thank you. I've tried both suggestions.
> But they both don't work :(
>
> Here are the outputs:
>
> >>> import math
> >>> import scipy
> >&
On Nov 22, 11:36 pm, "Nathan McSween" <[EMAIL PROTECTED]> wrote:
> Hi I would like to learn python I have background in php, pawn, bash. I was
> wondering if anyone would like to show me the ropes or even just throw me
> some code that needs work and seeing what I com
quot;Readability counts."
My opinion is that "self" is a minor issue in python that we can all
live with.
On Nov 21, 9:51 pm, braver <[EMAIL PROTECTED]> wrote:
> Is there any trick to get rid of having to type the annoying,
> character-eating "self." prefix every
On Nov 22, 1:17 pm, braver <[EMAIL PROTECTED]> wrote:
> Ruby has iterators and generators too, but it also has my good ol'
> f.eof(). I challenge the assumption here of some majectically Python-
Ruby doesn't have the good ol' eof. Good old eof tests a single f
On Nov 24, 2:24 am, MonkeeSage <[EMAIL PROTECTED]> wrote:
>
> Actually, to be a bit more technical, IO#eof acts like standard C eof
> for File objects, it only blocks / requires a previous read() on
> character devices and pipes and such. For files, it's the same as
On Nov 23, 2:30 am, Sorin Schwimmer <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> We all know that a function can launch the execution
> of another function. How can a function stop the
> execution of another function?
>
> For instance, lenghty_function() executes, when an
On Nov 21, 5:34 pm, Steven D'Aprano <[EMAIL PROTECTED]
cybersource.com.au> wrote:
> On Wed, 21 Nov 2007 12:00:52 -0500, Joe Riopel wrote:
> > On Nov 21, 2007 10:15 AM, Gilles Ganault <[EMAIL PROTECTED]> wrote:
> >> I know about socket.gethostbyname, but this
i want to capture run time errors so that the execution of program doesnt
stop. i want an error handler function ( that will email me or something
like that ) on error and not stop the execution of program.
how do i do this? i can not use try except for this...
thanks
--
http://mail.python.org/ma
3601 - 3700 of 4914 matches
Mail list logo