Features:
* Based on the powerful and affordable AMD Turion™ 64 X2 Mobile
Technology, the Aspire 4520 is well suited for any home computing
environment. Featuring impressive graphics solutions from NVIDIA®, a
14.1"Acer CrystalBrite™ display, ultra-realistic Dolby® surround
sound, they excel at
Gabriel Genellina schrieb:
En Mon, 28 Apr 2008 18:55:15 -0300, Diez B. Roggisch
<[EMAIL PROTECTED]> escribió:
VernM schrieb:
I am using ctypes to wrap a set of functions in a DLL. It has been
going very well, and I am very impressed with ctypes. I want to call a
c function with a signature of:
Hi,
Im looking for a python module to do simple chemistry things. Things
like, finding the name of elements given the atomic number (and vice
versa); what state the given matter is in depending on certain
parameters; maybe even color of certain elements or even calculating the
result of combin
Hi Everyone,
Just putting out an announcement that I've released a new version of
Vellum numbered 0.16. This version should be ready for people to use
as not much of the internal structure has changed in a great many
commits and it contains all the latest bug fixes.
It also has the beginning of
On 27 Apr, 12:27, Terry <[EMAIL PROTECTED]> wrote:
> Hello!
>
> I'm trying to implement a message queue among threads using Queue. The
> message queue has two operations:
> PutMsg(id, msg) # this is simple, just combine the id and msg as one
> and put it into the Queue.
> WaitMsg(ids, msg) # this
Mark Bryan Yu a écrit :
This set of codes works:
x = range(5)
x.reverse()
x
[4, 3, 2, 1, 0]
But this doesn't:
x = range(5).reverse()
print x
None
This works just as expected - at least for anyone having read the doc.
Please explain this behavior. range(5) returns a list from 0 to 4 and
patch barracks
http://crack.cracksofts.com
--
http://mail.python.org/mailman/listinfo/python-list
cooking up crack
http://crack.cracksofts.com
--
http://mail.python.org/mailman/listinfo/python-list
driver detective crack keygen
http://crack.cracksofts.com
--
http://mail.python.org/mailman/listinfo/python-list
autocad crack
http://crack.cracksofts.com
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] a écrit :
I'm parsing a simple file and given a line's keyword, would like to call
the equivalently named function.
There are 3 ways I can think to do this (other than a long if/elif
construct):
1. eval()
2. Convert my functions to methods and use getattr( myClass, "method"
Hi,
I went through the SWIG tutorial for the example named "simple".
I managed to get to the first step, creating example_wrap.c using
swig, and doing:
"gcc -fpic -c example_wrap.c -IC:\python24\include " to create
example_wrap.o
But when I needed to compile the library file using:
"gcc -shared
sims patch
http://crack.cracksofts.com
--
http://mail.python.org/mailman/listinfo/python-list
George Sakkis <[EMAIL PROTECTED]> wrote:
> On Apr 28, 10:10 pm, [EMAIL PROTECTED] wrote:
>> George,
>>
>> > Is there an elegant way to unget a line when reading from a
>> > file/stream
> iterator/generator?
>>
>> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/502304
>>
>> That's exactly
Hi,
I am one of the two developers working on the xml-to-javascript
converter (qxtransformer) John has mentioned and we are thrilled that
our project has found a use in the PythonCard community.
However, we have a problem getting PythonCard to work on our Macs (Mac
OS 10.5 Leopard). We should pro
my personal translator crack
http://crack.cracksofts.com
--
http://mail.python.org/mailman/listinfo/python-list
Terry <[EMAIL PROTECTED]> wrote:
> On Apr 28, 5:30 pm, Nick Craig-Wood <[EMAIL PROTECTED]> wrote:
> > David <[EMAIL PROTECTED]> wrote:
> > > Another idea would be to have multiple queues, one per thread or per
> > > message type "group". The producer thread pushes into the appropriate
> > > que
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> But as I said in my first post, it's simple when you know the amount
> of data that you're going to receive, or when you'll receive data
> until the remote peer closes the connection. But what about receiving
> a message with undetermined length in
Ok I found out how to do it using:
gcc -Ic:\python24\include -Lc:\python24\libs --shared example_wrap.c
example.c -lpython24 -o _example.pyd
but now I get a "dynamic module does not define init function" error
when I try to import it into python..
Anyone??
Soren
--
http://mail.python.org/mailm
=?ISO-8859-15?Q?=22Martin_v=2E_L=F6wis=22?= <[EMAIL PROTECTED]> wrote:
> (FWIW, in 2.x, x>=4?, it's None < numbers < anything else;
> numbers are ordered by value, everything else is ordered
> by type name, then by address, unless comparison functions
> are implemented).
Quite apart from Jon poin
Hrvoje Niksic <[EMAIL PROTECTED]> wrote:
> Nick Craig-Wood <[EMAIL PROTECTED]> writes:
>
> >> Note that appending to a string is almost never a good idea, since it
> >> can result in quadratic allocation.
> >
> > My aim was clear exposition rather than the ultimate performance!
>
> That would
On Apr 29, 11:31 am, Soren <[EMAIL PROTECTED]> wrote:
> Ok I found out how to do it using:
>
> gcc -Ic:\python24\include -Lc:\python24\libs --shared example_wrap.c
> example.c -lpython24 -o _example.pyd
>
> but now I get a "dynamic module does not define init function" error
> when I try to import
Неопреновый пояс для похудения из высококачественного материала
тонизирует тело и заставляет досадные жировые складки исчезать с
невероятной скоростью.
Принцип воздействия саунта-белта схож с давно известными неопреновыми
поясами для похудения. Но для того, чтобы неопреновый пояс помогал
худеть, в
Hi All,
If you wrote some python code that you want to package or know a cool
python application of which you like to make a deb installer, the
python packaging session is all for you! Do you develop some cross-
platform open source software and you want to give its popularity a
boost by bringing
Instead of manually trying to get all the options to gcc correct you
might want to look at using distutils for compiling your extension.
See the SWIG documentation, section 30.2.2
(http://www.swig.org/Doc1.3/Python.html#Python_nn6)
Paul
Soren wrote:
Hi,
I went through the SWIG tutorial for t
I forgot an important detail...
This session will be hosted Thu 1 May at 21.00 UTC on IRC in #ubuntu-
classroom.
--
http://mail.python.org/mailman/listinfo/python-list
Hello Everyone.
I am relatively new to Zope(using it for a work project) and I was
wondering if someone here could help me out or at least refer me to a
decent documentationg for Zope/DTML/Python (at the detail level of
php.net or Java API reference).
http://www.zope.org/Documentation/Books/Zope
Jens wrote:
I've the checked that i'm referring to the variables correctly, so the
only explanation i can come up with, is that '+' doesn't result in a
string concatenation (with implicit typecast to string of the integer
variable(this is a interpreted language after all)).
No, sorry. You real
Bollywood, Asian, Indie Films And More.
http://besthotmovies.blogspot.com/
--
http://mail.python.org/mailman/listinfo/python-list
Bruno,
Thank you for your detailed analysis. I learned a lot about Python
reading everyone's responses.
For development I'm using #5: "globals().get("func")" because its
seamless to add additional functionality.
But when I release into production I'm going to shift to #3: "Place all
my functions
On Apr 29, 1:59 pm, Marco Mariani <[EMAIL PROTECTED]> wrote:
> Jens wrote:
> > I've the checked that i'm referring to the variables correctly, so the
> > only explanation i can come up with, is that '+' doesn't result in a
> > string concatenation (with implicit typecast to string of the integer
>
Duncan,
> If speed is an issue then it may be better to avoid the test altogether ...
>
Thanks for your suggestion.
Regards,
Malcolm
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 29, 1:59 pm, Marco Mariani <[EMAIL PROTECTED]> wrote:
> Jens wrote:
> > I've the checked that i'm referring to the variables correctly, so the
> > only explanation i can come up with, is that '+' doesn't result in a
> > string concatenation (with implicit typecast to string of the integer
>
If you are familiar with parsing XML, much of the data you need is
stored in the following file:
http://bodr.svn.sourceforge.net/viewvc/*checkout*/bodr/trunk/bodr/elements/elements.xml?revision=34&content-type=text%2Fplain
This file is part of the Blue Obelisk Data Repository, an effort by
several
Jens wrote:
You might have wrong assumptions from previous PHP experiences.
>>> 'x'+4
Traceback (most recent call last):
File "", line 1, in
TypeError: cannot concatenate 'str' and 'int' objects
>
... and the non snobby answer would have been:
...
Sorry. Not trying to be snobbish,
On 29 Apr, 13:10, [EMAIL PROTECTED] wrote:
> Bruno,
>
> Thank you for your detailed analysis. I learned a lot about Python
> reading everyone's responses.
>
> For development I'm using #5: "globals().get("func")" because its
> seamless to add additional functionality.
>
> But when I release into pr
Hi guys. I've put together a website ( http://worldwidemediaproject.com
) that is a database of internet streaming tv/radio stations from
around the world. I have built the site with all users in mind. The
site should be Linux, Unix, Mac, Win, etc friendly as I do not hide
the actual stream link or
On Fri, Apr 25, 2008 at 4:29 PM, Luis Zarrabeitia <[EMAIL PROTECTED]> wrote:
>
> Whats the result of using id.strip()?:
>
> In [1]: " asdfasdf ".strip()
> Out[1]: 'asdfasdf'
>
> It should work, I guess...
It didn´t for some reason. That was the first thing I tried.
>
>
> Btw, you can write yo
[EMAIL PROTECTED] skrev:
Bruno,
But when I release into production I'm going to shift to #3: "Place all
my functions in dictionary and lookup the function to be called". This
technique will allow me to precisely control the dynamic nature of my
application.
Just one tiny note: What you will
On Apr 29, 2:45 pm, Marco Mariani <[EMAIL PROTECTED]> wrote:
> Jens wrote:
> >> You might have wrong assumptions from previous PHP experiences.
>
> >> >>> 'x'+4
> >> Traceback (most recent call last):
> >> File "", line 1, in
> >> TypeError: cannot concatenate 'str' and 'int' objects
>
> > ...
On Apr 29, 2:45 pm, Marco Mariani <[EMAIL PROTECTED]> wrote:
> Jens wrote:
> >> You might have wrong assumptions from previous PHP experiences.
>
> >> >>> 'x'+4
> >> Traceback (most recent call last):
> >> File "", line 1, in
> >> TypeError: cannot concatenate 'str' and 'int' objects
>
> > ...
Hey everyone!
I'm not very good with Tk, and I am using a very simple canvas to
draw some pictures (this relates to that nokia screen emulator I had a
post about a few days ago).
Anyway, all is well, except one thing. When I am not in the program,
and the program receives a draw command (from a
On Apr 29, 2:45 pm, Marco Mariani <[EMAIL PROTECTED]> wrote:
> Jens wrote:
> >> You might have wrong assumptions from previous PHP experiences.
>
> >> >>> 'x'+4
> >> Traceback (most recent call last):
> >> File "", line 1, in
> >> TypeError: cannot concatenate 'str' and 'int' objects
>
> > ...
On Apr 29, 5:32 am, Duncan Booth <[EMAIL PROTECTED]> wrote:
> =?ISO-8859-15?Q?=22Martin_v=2E_L=F6wis=22?= <[EMAIL PROTECTED]> wrote:
> > (FWIW, in 2.x, x>=4?, it's None < numbers < anything else;
> > numbers are ordered by value, everything else is ordered
> > by type name, then by address, unless
Olá KellyK!
I have read your comentary about how to print with python in windows using
win32print.
I have trying to use in my problem : print a figure (.jpg, .png...etc) could
you help me?
Thanks a lot
JRoberto--
http://mail.python.org/mailman/listinfo/python-list
In article <[EMAIL PROTECTED]>,
Bruno Desthuilliers <[EMAIL PROTECTED]> wrote:
> Mark Bryan Yu a écrit :
> > This set of codes works:
> >
> x = range(5)
> x.reverse()
> x
> > [4, 3, 2, 1, 0]
> >
> > But this doesn't:
> >
> x = range(5).reverse()
> print x
> > None
>
>
On Apr 29, 9:32 am, Roy Smith <[EMAIL PROTECTED]> wrote:
> In article <[EMAIL PROTECTED]>,
> Bruno Desthuilliers <[EMAIL PROTECTED]> wrote:
>
>
>
> > Mark Bryan Yu a écrit :
> > > This set of codes works:
>
> > x = range(5)
> > x.reverse()
> > x
> > > [4, 3, 2, 1, 0]
>
> > > But thi
José Roberto wrote:
Olá KellyK!
I have read your comentary about how to print with python in windows using win32print.
I have trying to use in my problem : print a figure (.jpg, .png...etc) could you help me?
Does this help?
http://timgolden.me.uk/python/win32_how_do_i/print.html#rough_and_re
"Martin v. Löwis" wrote:
> e is an exception object, not a Unicode object.
Er, sure, thanks for pointing that out. At first sight he should
substitute "e" with "e.message" then since he tries to convert to
string (for display?).
Regards,
Björn
--
BOFH excuse #366:
ATM cell has no roaming fe
Hi,
I'm fairly new in Python and I haven't used the regular expressions
enough to be able to achieve what I want.
I'd like to select terms in a string, so I can then do a search in my
database.
query = ' " some words" with and "withoutquotes " '
p = re.compile(magic_regular_expression)
Jens wrote:
Hey no worriest. Is this the tutorial you're referring to:
http://docs.python.org/lib/typesmapping.html
Is there anything better?
That's the library reference - the one to keep under the pillow.
It also documents the core -- i.e. builtin objects.
As for the language semantics,
Roy Smith a écrit :
(snip)
The reasoning goes along the lines of, "reverse in place is an expensive
operation, so we don't want to make it too easy for people to do". At
least that's the gist of what I got out of the argument the many times it
has come up.
IIRC, it's more along the line of
I need to do SSL file transfer using python? Is there a library i can
use ?
Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
Jens schrieb:
> Hello Everyone.
>
> I am relatively new to Zope(using it for a work project) and I was
> wondering if someone here could help me out or at least refer me to a
> decent documentationg for Zope/DTML/Python (at the detail level of
> php.net or Java API reference).
> http://www.zope.
On Apr 29, 8:41 am, baoilleach <[EMAIL PROTECTED]> wrote:
> This file is part of the Blue Obelisk Data Repository, an effort by
> several chemistry software developers to share common information
This ref is incredibly cool. Is there a guide or
meta-index for similar open scientific data
On Apr 29, 8:56 am, TkNeo <[EMAIL PROTECTED]> wrote:
> I need to do SSL file transfer using python? Is there a library i can
> use ?
>
> Thanks.
Did you try Google? Here's a few links that look like possibilities:
http://sandbox.rulemaker.net/ngps/m2/
http://pypgsql.sourceforge.net/misc/python-ss
On Apr 29, 1:57 am, Panyasan <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am one of the two developers working on the xml-to-javascript
> converter (qxtransformer) John has mentioned and we are thrilled that
> our project has found a use in the PythonCard community.
>
> However, we have a problem getting
On Apr 29, 8:46 am, Julien <[EMAIL PROTECTED]> wrote:
> I'd like to select terms in a string, so I can then do a search in my
> database.
>
> query = ' " some words" with and "without quotes " '
> p = re.compile(magic_regular_expression) $ <--- the magic happens
> m = p.match(query)
>
>
On Apr 28, 1:12 pm, Mark Bryan Yu <[EMAIL PROTECTED]> wrote:
> This set of codes works:
>
> >>> x = range(5)
> >>> x.reverse()
> >>> x
>
> [4, 3, 2, 1, 0]
>
You can also use list slicing to get a reversed list:
>>> x = range(5)
>>> x
[0, 1, 2, 3, 4]
>>> x[::-1]
[4, 3, 2, 1, 0]
-- Paul
--
http://
Hi;
why doesn't this work?
z = 3
for d in id:
z += 1
if z % 4 == 0:
bg = '#ff'
elif z % 4 == 1:
bg = '#d2d2d2'
elif z % 4 == 2:
bg = '#F6E5DF'
else:
bg = '#EAF8D5'
try:
print '\n' % bg
except:
print '\n'
It never increments z! Yet, if I print z,
On Tue, 29 Apr 2008 15:22:12 +0200, blaine <[EMAIL PROTECTED]> wrote:
Hey everyone!
I'm not very good with Tk, and I am using a very simple canvas to
draw some pictures (this relates to that nokia screen emulator I had a
post about a few days ago).
Anyway, all is well, except one thing. When
On Apr 29, 3:01 pm, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:
> On Sun, 27 Apr 2008 03:27:59 -0700 (PDT), Terry <[EMAIL PROTECTED]>
> declaimed the following in comp.lang.python:
>
> > I'm trying to implement a message queue among threads using Queue. The
> > message queue has two operations:
>
Julien wrote:
Hi,
I'm fairly new in Python and I haven't used the regular expressions
enough to be able to achieve what I want.
I'd like to select terms in a string, so I can then do a search in my
database.
query = ' " some words" with and "withoutquotes " '
p = re.compile(magic_reg
On Apr 29, 4:32 pm, [EMAIL PROTECTED] wrote:
> On 27 Apr, 12:27, Terry <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hello!
>
> > I'm trying to implement a message queue among threads using Queue. The
> > message queue has two operations:
> > PutMsg(id, msg) # this is simple, just combine the id and msg as
| # Double Quote Text
|"# match a double quote
|(# - Two Possiblities:
|\\. # match two backslashes followed by anything
(include newline)
||# OR
|[^"]
Hi Max,
Thank you for pointing out the pattern of my request.
Using your google query
(http://www.google.dk/search?hl=en&q=python+factory+pattern) I found the
following description of what I'm doing.
Command Dispatch Pattern
http://www.suttoncourtenay.org.uk/duncan/accu/pythonpatterns.html#id26
Julien wrote:
Hi,
I'm fairly new in Python and I haven't used the regular expressions
enough to be able to achieve what I want.
I'd like to select terms in a string, so I can then do a search in my
database.
query = ' " some words" with and "withoutquotes " '
p = re.compile(magic_reg
The reasoning goes along the lines of, "reverse in place is an expensive
operation, so we don't want to make it too easy for people to do". At
least that's the gist of what I got out of the argument the many times it
has come up.
It's not about the storage - it is about the in-place-modifi
Julien <[EMAIL PROTECTED]> writes:
> I'm fairly new in Python and I haven't used the regular expressions
> enough to be able to achieve what I want.
> I'd like to select terms in a string, so I can then do a search in my
> database.
>
> query = ' " some words" with and "withoutquotes "
On Apr 29, 2:46 pm, Julien <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm fairly new in Python and I haven't used the regular expressions
> enough to be able to achieve what I want.
> I'd like to select terms in a string, so I can then do a search in my
> database.
>
> query = ' " some words" with an
On Apr 29, 5:30 pm, Nick Craig-Wood <[EMAIL PROTECTED]> wrote:
> Terry <[EMAIL PROTECTED]> wrote:
> > On Apr 28, 5:30 pm, Nick Craig-Wood <[EMAIL PROTECTED]> wrote:
> > > David <[EMAIL PROTECTED]> wrote:
> > > > Another idea would be to have multiple queues, one per thread or per
> > > > message
On Apr 29, 10:36 am, "Eric Brunel" <[EMAIL PROTECTED]> wrote:
> On Tue, 29 Apr 2008 15:22:12 +0200, blaine <[EMAIL PROTECTED]> wrote:
> > Hey everyone!
> > I'm not very good with Tk, and I am using a very simple canvas to
> > draw some pictures (this relates to that nokia screen emulator I had a
blaine <[EMAIL PROTECTED]> wrote:
> On Apr 29, 5:32 am, Duncan Booth <[EMAIL PROTECTED]> wrote:
>> =?ISO-8859-15?Q?=22Martin_v=2E_L=F6wis=22?= <[EMAIL PROTECTED]>
>> wrote:
>> > (FWIW, in 2.x, x>=4?, it's None < numbers < anything else;
>> > numbers are ordered by value, everything else is ordere
On Apr 29, 1:52 pm, [EMAIL PROTECTED] wrote:
> Hi guys. I've put together a website (http://worldwidemediaproject.com
> ) that is a database of internet streaming tv/radio stations from
> around the world. I have built the site with all users in mind. The
> site should be Linux, Unix, Mac, Win, etc
> Christian,
>
> It appears you're missing a file. Where did you placed my program? I
> see that there are two places being mentioned:
>
> > no resource file for /Users/bibliograph/Programme/PythonCard/tools/
> > layoutEditor/multipropertyEditor
>
> and
>
> > File "/Library/Python/2.5/site-packa
Arnaud,
Just when I thought my solution couldn't get any better :)
Thanks for that great tip and for an excellent demonstration of using a
decorator.
Regards,
Malcolm
You could avoid #5 from the start using a decorator:
functions = {}
def register(func):
functions[func.__name__] = func
Hi, I'm using PyExcelerator, and it's great, but I can't figure out a
few things:
(1) I set the cell style to '0.00%' but the style does not work.
(2) I want to place a border around the cells( x1, y1, x2, y2 ) but I
can't find any example of doing that.
Well I do see ONE example, but it erase
On Tuesday 29 April 2008, Jens wrote:
> Hello Everyone.
>
>
>
>
>
>
>
>
>
I think you are going to really regret doing things this way, it is only going
to make your life much harder regardless of if you are using zpt or dtml by
doing stuff like this inside the template. The most corr
On Apr 29, 1:07 am, Kevin K <[EMAIL PROTECTED]> wrote:
> On Apr 29, 12:55 am, Peter Otten <[EMAIL PROTECTED]> wrote:
>
>
>
> > Kevin K wrote:
> > > On Apr 29, 12:38 am, "Eric Wertman" <[EMAIL PROTECTED]> wrote:
> > >> chuck in a jsfile.close(). The buffer isn't flushing with what you
> > >> are do
On Apr 29, 3:16 pm, Christian Heimes <[EMAIL PROTECTED]> wrote:
> Jens schrieb:
>
> > Hello Everyone.
>
> > I am relatively new to Zope(using it for a work project) and I was
> > wondering if someone here could help me out or at least refer me to a
> > decent documentationg for Zope/DTML/Python (at
On Apr 29, 3:16 pm, Christian Heimes <[EMAIL PROTECTED]> wrote:
> Jens schrieb:
>
> > Hello Everyone.
>
> > I am relatively new to Zope(using it for a work project) and I was
> > wondering if someone here could help me out or at least refer me to a
> > decent documentationg for Zope/DTML/Python (at
In article <[EMAIL PROTECTED]>,
Gabriel Genellina <[EMAIL PROTECTED]> wrote:
.
.
.
>Explicit variable declaration for functions:
>
>http://groups.google.com/group/comp.lang.python/browse_thread/thread/6c4a508edd2fbe0
In article <[EMAIL PROTECTED]>,
Bjoern Schliessmann <[EMAIL PROTECTED]>
wrote:
> "Martin v. Löwis" wrote:
>
> > e is an exception object, not a Unicode object.
>
> Er, sure, thanks for pointing that out. At first sight he should
> substitute "e" with "e.message" then since he tries to convert
On Tue, 29 Apr 2008 09:33:32 -0500
"Victor Subervi" <[EMAIL PROTECTED]> wrote:
> why doesn't this work?
First, let me remove some blank lines to reduce scrolling.
> z = 3
>
> for d in (1,2,3,4,5,6):
I changed id to a sequence so that the example actually runs. Please
run your examples first an
Cameron Laird schreef:
In article <[EMAIL PROTECTED]>,
Gabriel Genellina <[EMAIL PROTECTED]> wrote:
.
.
.
Explicit variable declaration for functions:
http://groups.google.com/group/comp.lang.python/browse_thread/t
In article <[EMAIL PROTECTED]>,
Donn Cave <[EMAIL PROTECTED]> wrote:
> In article <[EMAIL PROTECTED]>,
> "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
>
> > >> I have code like this:
> > >> except Exception, e:
> > >>self.setState(self.Failed, str(e))
> > >> which fails if the exception cont
On Apr 29, 8:28 am, Panyasan <[EMAIL PROTECTED]> wrote:
> > Christian,
>
> > It appears you're missing a file. Where did you placed my program? I
> > see that there are two places being mentioned:
>
> > > no resource file for /Users/bibliograph/Programme/PythonCard/tools/
> > > layoutEditor/multi
My python command line seems messed up. I can't seem to be able to use my
backspace key nor my arrow keys.
I only get control characters: ^[[A^[[D^[[D^[[D^[[C^[[C^[[C etc.
I access my Linux box via a SecureCRT console. Only after opening the
python interpreter does this occur. Linux command l
Hallöchen!
Russell E. Owen writes:
> [...]
>
> So...to repeat the original question, is there any simpler
> unicode-safe replacement for str(exception)?
Please show us the tracebacks you get becuae unicode(s) must fail,
too, if there are non-ASCII characters involved.
Tschö,
Torsten.
--
Torst
Hi,
I've noticed strange behaviour where cx_Oracle will fail to load when
using "python" but it will succeed when using "python -v" while throwing
"Unsatisfied code symbol" errors.
This is for Python 2.5, Oracle 9.2 and cx_Oracle 4.3.1 on the platform
HP-UX 11
Output for python:
ImportError
On Apr 29, 6:46 am, Julien <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm fairly new in Python and I haven't used the regular expressions
> enough to be able to achieve what I want.
> I'd like to select terms in a string, so I can then do a search in my
> database.
>
> query = ' " some words" with an
On Apr 29, 9:20 am, Paul McGuire <[EMAIL PROTECTED]> wrote:
> On Apr 29, 8:46 am, Julien <[EMAIL PROTECTED]> wrote:
>
> > I'd like to select terms in a string, so I can then do a search in my
> > database.
>
> > query = ' " some words" with and "without quotes " '
> > p = re.compile(magic
Hi, I have this code (learning from Core Python, Chun's book), module
named chap2.py.
class FooClass(object):
version=0.1
def __init__(self, nm='John Doe'):
self.name=nm
print 'Created a class instance for ', nm
def showname(self):
Russell E. Owen <[EMAIL PROTECTED]> wrote:
>No. e.message is only set if the exeption object receives exactly one
>argument.
And not always then:
>>> e1 = Exception(u"\u00fe")
>>> e1.message
Traceback (most recent call last):
File "", line 1, in ?
AttributeError: Exception instance has no attr
Erik,
> Perhaps I missed something earlier in the thread, but I really don't see the
> need for that registry dict or the register decorator. Python already
maintains a dictionary for each scope:
The advantage of the decorator technique is that you explicitly declare
which functions are eligible
On Apr 29, 9:46 am, Julien <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm fairly new in Python and I haven't used the regular expressions
> enough to be able to achieve what I want.
> I'd like to select terms in a string, so I can then do a search in my
> database.
>
> query = ' " some words" with a
On Apr 29, 1:16 pm, jmDesktop <[EMAIL PROTECTED]> wrote:
> Hi, I have this code (learning from Core Python, Chun's book), module
> named chap2.py.
>
> class FooClass(object):
> version=0.1
>
> def __init__(self, nm='John Doe'):
> self.name=nm
> print
On Apr 29, 12:46 pm, jmDesktop <[EMAIL PROTECTED]> wrote:
> On Apr 29, 1:16 pm, jmDesktop <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi, I have this code (learning from Core Python, Chun's book), module
> > named chap2.py.
>
> > class FooClass(object):
> > version=0.1
>
> > def __init__(s
On Tue, Apr 29, 2008 at 11:11 AM, D'Arcy J.M. Cain <[EMAIL PROTECTED]> wrote:
> On Tue, 29 Apr 2008 09:33:32 -0500
> "Victor Subervi" <[EMAIL PROTECTED]> wrote:
> > why doesn't this work?
>
> First, let me remove some blank lines to reduce scrolling.
>
> > z = 3
> >
> > for d in (1,2,3,4,5,6):
>
>
On Apr 29, 1:54 pm, [EMAIL PROTECTED] wrote:
> On Apr 29, 12:46 pm, jmDesktop <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > On Apr 29, 1:16 pm, jmDesktop <[EMAIL PROTECTED]> wrote:
>
> > > Hi, I have this code (learning from Core Python, Chun's book), module
> > > named chap2.py.
>
> > > class FooClass(
1 - 100 of 189 matches
Mail list logo