BartlebyScrivener wrote:
> The installer can put python.exe in his PATH but if he's storing his
> scripts in some oddball place then he has to tell Windows where to find
> them.
I think you're misunderstanding what I was after. python.exe is already
in my PATH. What I was trying to do was execute
Bengt Richter wrote:
>>>And there is a PATHEXT environment variable,
>>
>>Aha. You'bve provided a significant clue.
>>
>>What you need to do is include the following line in autoexec.bat:
>>set .py=c:\python24\python.exe
>>
>>This will achieve the desired result. I'm suprised more people don't us
rzed wrote:
> I should have asked which Windows version you had.
XP Pro
My bad. On Win2k
> or XP, adding .py (for instance) to the PATHEXT variable means that
> you can execute "myNeatProgram.py" with this command-line:
> prompt>myNeatProgram
Oh, now I see! It's beginning to make sense to me
Here's a variant of André's brilliant idea that's
119 characters long, and fully printable:
j=''.join;seven_seg=lambda z:j(j(' _ | |_ _|_|'
[ord('^r|=Zm.:v\r'[int(a)])%u*2:][:3]for a in z)
+"\n"for u in(3,7,8))
Mark
--
http://mail.python.org/mailman/listinfo/python-list
e search box in Google, your AOL or Jabber buddy
> list: all case-insensitive.
Not all URLs. Compare, for example:
http://www.python.org/doc/Summary.html
http://www.python.org/doc/summary.html
--
Mark Jackson - http://www.alumni.caltech.edu/~mjackson
Those who can make you believe a
urned tuple.
--
(for email use this address please - you can figure it out)
Mark Sapiro msapiro -at- value netAny clod can have the facts;
San Francisco Bay Area, Californiahaving opinions is an art. -
C. McCabe, The Fearless Spectator
--
http://mail.python.org/mailman/listinfo/python-list
Does anyone have a recommendation on the best AJAX python module?
Thanks,
Mark
--
http://mail.python.org/mailman/listinfo/python-list
why is this so, when I have 2.3.4. Is this RPM only compatible with 2.3,
not 2.3.-4? Little confused. Cheers.
Mark Sargent.
--
http://mail.python.org/mailman/listinfo/python-list
at is going on.
I'm using httplib.HTTP instead of httplib.HTTPConnection because
I don't find that HTTPConnection has readline().
Mark Rainess
=
class mjpeg_get(threading.Thread):
def run(self):
while 1:
w
[EMAIL PROTECTED] wrote:
> Mark rainess wrote:
> [...]
>> It runs perfectly for about 4 hours, then freezes.
>> I'm stuck. How do I debug this?
> [...]
>> Can anyone suggest techniques to help me learn what is going on.
>
> By inspection: "errco
Hello all:
I have set the PATH for Python as follows:
My Computer->Properties->Advanced->Environment Variables->System
Variables->Path
...; C:\Program Files\Python24;
Then I try to run python under command line
C:\>python
C:\>python.exe
I got nothing:)
It works iff I run as follows:
C:\>"P
Hello Dennis:
> A second suggestion would be: don't install Python in "Program
> Files", but put it at the top level of the partition (ie; C:\Python24\)
>
I guess your comment is right.
However, I would like to install Python under directory
"C:\Program Files\Python24"
Also, I list some scr
u, is Python there?
>
> Cheers
> Ray
>
> Daniel Mark wrote:
> > Hello all:
> >
> > I have set the PATH for Python as follows:
> >
> > My Computer->Properties->Advanced->Environment Variables->System
> > Variables->Path
> >
>
Hello John:
I did try, however, it doesn't work on my machine.
Thank you
-Daniel
John Salerno wrote:
> Daniel Mark wrote:
>
> > Maybe there is not solution to this problem:)?
>
> Did you not try Sybren's suggestion? Remove the space between the
> semicolon and
Dear John:
> Have a look in each of those folders (including the root!!) and see
> what you find there. [If I were forced to bet, I'd put my money on
> cygwin].
You are a genius!!!
My machine was intalled python in cygwin:)
I didn't expect that I could get so much helps from this forum.
My hear
do this. Thanks
how about:
>>> import string
>>> text1 = "foo bar 12 spam joe876"
>>> table = string.maketrans("0123456789","uydnwkdfpx")
>>> text1.translate(table)
'foo bar yd spam joepfd'
Mark Peters
--
http://mail.python.org/mailman/listinfo/python-list
So I'm investigating doing some SOAP work... Any concensus on
what the best python libraries are for doing this?
Too bad, xmlrpc is choking on our long longs. :-(
Many TIA,
Mark
--
Mark Harrison
Pixar Animation Studios
--
http://mail.python.org/mailman/listinfo/python-list
Gabriel Genellina <[EMAIL PROTECTED]> wrote:
> At Thursday 10/8/2006 03:38, Mark Harrison wrote:
>
> >So I'm investigating doing some SOAP work... Any concensus on
> >what the best python libraries are for doing this?
> >
> >Too bad, xmlrpc is choking on o
Can someone point me to some documentation as to why pdb breakpoints are
not working on 'pass' statements (at least on 2.4.1)?
I was used to that working in the 2.2.3 build I was using up to this
last year. I just cant seem to find anything on it.
Thanks!
--
http://mail.python.org/mailman/list
Shuaib wrote:
> Hey!
>
> I am getting this exception.
>
> xml.parsers.expat.ExpatError
>
> But I am not able to catch it with "except
> xml.parsers.expat.ExpatError:" It says "NameError: global name 'xml' is
> not defined".
>
> I am also not able to catch it with "except ExpatError:" Gives
> "N
have implemented __init__ functions for all of the classes, but all
they do is initialize some data that I haven't shown here.
I think I'm trying to use a C++ way of doing this (without the new
operator) so if anyone would be so kind as to help with the Python way
of doing this sort of thing I will be eternally grateful.
Cheers,
Mark Shewfelt
--
http://mail.python.org/mailman/listinfo/python-list
Thanks a lot Tim!
My __init__ functions didn't set the dictionaries like you did below
(e.g. self.equipment = {} ).
Newbie mistake - won't make that one again.
Thanks again,
Mark
Tim wrote:
> Mark Shewfelt wrote:
> > Hello,
> >
> > I have implemented a s
Hello all:
I want to draw some shapes, such as lines, circles on an image.
The input to the program is an image and the output from the program is
a superimposed image.
what kind of document or functions I should take a look for searching
this question?
The program doesn't show the image, but
Hello all:
I have following code that works well under command line, but it
doesn't work after I convert it
as exe application.
### file: testPath.py
import getopt, math, sys, os, Image, ImageDraw, aggdraw
def processline():
try:
imgDir = 'c:/'
lumenImageName = '0
* Kent Johnson wrote (on 10/4/2006 10:04 AM):
> Mark Elston wrote:
>> ...
>> Without this prior planning, any expansion (not to mention bug fixing)
>> becomes more difficult and makes the resulting code more brittle. While
>> not all planning for the future requires OO,
hrase "preemptive
> OOP" ;)
Oops. I couldn't resist. See my previous post.
Mark
--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cle
-list/2003-September/183367.html
http://mathieu.fenniak.net/plotting-in-excel-through-pythoncom/
There are lots of others.
Mark
* John Machin wrote (on 10/10/2006 2:59 PM):
> [EMAIL PROTECTED] wrote:
>> All
>>
>> I'm a Python newbie, and I'm just getting to the
BTW, is there a version of pexpect that works with Windows? This
package requires pty and termios which isn't supported on Windows.
Mark
--
http://mail.python.org/mailman/listinfo/python-list
* SpreadTooThin wrote (on 10/19/2006 8:47 AM):
> Why is it that (On MAC OS X) in Komodo 3.5 Professional, if I try to
> find something in my script,
> I am unable to change the text it is searching for?
>
Perhaps Emacs might work better ... :)
Mark
--
http://mail.python.org/mail
>
>
Well, there's your problem. You need to C-x C-f a new mate. :)
Mark
(Emacs rules)
--
http://mail.python.org/mailman/listinfo/python-list
s targeted at C/C++ developers in the first degree
and the python wrappers are just an add-on, there is no chance to
migrate it away from automake to someting else (like distutils, etc.).
Did someone solve a similar problem?
Thanks in advance,
Mark
P.S.: I'll post a similar message to the au
> The string below is the encoding of the norwegian word "fødselsdag".
>
> >>> s = 'f\xc3\x83\xc2\xb8dselsdag'
I'm not sure which encoding method you used to get the string above.
Here's the result of my playing with the string in IDLE:
>>> u1 = u'fødselsdag'
>>> u1
u'f\xf8dselsdag'
>>> s1 = u1.e
7;t want to start a
Python/Ruby flame war. That's not the question. The question is "is one
preferred over the other when contributing software and is this just a
particular distros preference"?
cheers,
--
Mark
--
http://mail.python.org/mailman/listinfo/python-list
Note: this is untested (since I don't like screwing around
in the registry...)
Have you tried using REG_DWORD?
Mark
* Samantha wrote (on 11/16/2006 3:48 PM):
> I am working with this recipes:
> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/66011
>
> The problem I am
getfile()
while 1:
data=f.readline()
if data[0:15]=='Content-length:':
count=int(data[16:])
n=f.readline() # skip over Content-type: image/jpeg\n'
n=f.readline() # skip over \n'
s = f.read(count)
p=file(tempfile,'wb')
p.wr
PEP 314 introduces metadata that explains what packages are required
by a particular package. Is there any way to express what version of
Python itself is required?
Cheers,
--
Mark Nottingham http://www.mnot.net/
--
http://mail.python.org/mailman/listinfo/python-list
Yep, I'm doing that (thanks!).
I was looking for some normal (hopefully, machine-readable) way to
indicate it so that people can figure out the version of Python
required before they download the package.
On 2006/06/23, at 11:04 AM, Serge Orlov wrote:
> On 6/23/06, Mark Nottingham
I was thinking more about things where people can search for packages
that need different versions of python, etc.; not so much for
automation.
On 2006/06/23, at 6:05 PM, Serge Orlov wrote:
> On 6/23/06, Mark Nottingham <[EMAIL PROTECTED]> wrote:
>> I was looking for some no
{
read(0, &c, 1);
printf("%c", c);
fflush(stdout);
}
}
}
the child sends a 'start' message and then echoes the parent.
any thoughts about why this runs extr
interestingly, leaving out the fcntl stuff makes it work much faster.
it seems to block only sometimes now, for just a moment, but on the
whole the performance is acceptable now.
On 6/29/06, Mark Dufour <[EMAIL PROTECTED]> wrote:
> hello all,
>
> I am trying to fire up a chil
s/2005-January/017660.html>
and points to a description of an algorithm at
<http://www.jwz.org/doc/threading.html>.
--
Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
http://mail.python.org/mailman/listinfo/python-list
10053, 10054, 10055, 10056, 10057,
10058, 10059, 10060, 10061, 10062, 10063, 10064, 10065, 10066, 10067,
10068, 10069, 10070, 10071, 10091, 10092, 10093, 10101]
>>> print errno.errorcode[10]
ECHILD
or
>>> import os
>>> print os.strerror(10)
No child processes
Hope this helps,
Mark Peters
--
http://mail.python.org/mailman/listinfo/python-list
Gregory Piñero wrote:
> Thanks Mark, that does help, but what is this errno module? I mean,
> does it apply to OSError or to IOError or both?
My guess is that the IOError will return the underlying operating
system error, but that's just a guess (and no time to dig for the
answe
A quick test:
>>> try:
f = open("foo","r")
except IOError, error:
print errno.errorcode[error.errno]
ENOENT
It looks to me like your if statement should be as simple as:
if error.errno == errno.ENOENT:
print os.strerror(error.errno)
Mark
--
h
Hello all:
I am using getopt package in Python and found a problem that I can not
figure out an easy to do .
// Correct input
D:\>python AddArrowOnImage.py --imageDir=c:/
// Incorrect input
D:\>python AddArrowOnImage.py --imageDi
Traceback (most recent call last):
File "AddArrowOnImage.py", li
> Which of course does not work. I cannot express the fact: sentence
> have 0 or 1 whitespace, separation of group have two or more
> whitespaces.
>
> Any suggestion ? Thanks a bunch !
How about this:
>>> import re
>>> s = 'hello world how are you'
>>> re.split(r"\s{2,}",s)
[''
.
Mark Lutz's Python Training Services is pleased to announce
that our Fall 2006 public Colorado seminar is now open.
This 5-day Python training event will be held November 6
through November 10.
This year, our Fall seminar will be held at Historic Crag's
Lodge, a
Hello all:
I am using PIL to draw some graphics and I need to draw some texts
in vertical direction rather than the default left-to-right horizontal
direction.
Is there anyway I could do that?
Thank you
-Daniel
--
http://mail.python.org/mailman/listinfo/python-list
Hello all:
I am using PIL to draw a rectangle filled with color blue.
Is there anyway I could set the fill pattern so that the drawn
rectangle could be filled with
gradient blue?
Thank you
-Daniel
--
http://mail.python.org/mailman/listinfo/python-list
Hello all:
I have a list AAA = [1, 2, 3] and would like to subtract one from list
AAA
so AAA' = [0, 1, 2]
What should I do?
Thank you
-Daniel
--
http://mail.python.org/mailman/listinfo/python-list
Hello all:
I am looking the sample code posted on PIL website
http://www.pythonware.com/library/pil/handbook/imagedraw.htm
<>
import Image, ImageDraw
im = Image.open("lena.pgm")
draw = ImageDraw.Draw(im)
draw.line((0, 0) + im.size, fill=128)
dra
Hello all:
I have a python program and would like to find out the maximum memory
used
by this program.
Does Python provide such module so I could check it easily?
Thank you
-Daniel
--
http://mail.python.org/mailman/listinfo/python-list
Hello all:
I installed IPython on my XP machine today and find that my sys.path
has been changed
as follows:
>> import sys
>> print sys.path
['',
'C:\\Program Files\\Python24\\scripts',
'C:\\WINDOWS\\system32\\python24.zip',
'C:\\Documents and Settings\\Daniel\\Desktop',
'C:\\Program Files\
Hello all:
I have found a useful module in IPython, named 'from IPython.ipstruct
import Struct".
So I can use it as follows:
from IPython.ipstruct import Struct
mystruct = Struct(echo = 1,
verb = 'Verbose',
filedir
Hello all:
I follow the following tutorial
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/108598
Description:
script for making executables with py2exe
##
from distutils.core import setup
import sys, os, py2exe
name = sys.argv[1]
sys.argv[1] = 'py2exe'
sys.path.append(os.pat
> I'm relatively new to python but I already noticed that many lines of
> python code can be simplified to a oneliner by some clever coder. As
> the topics says, I'm trying to split lines like this :
>
> 'foo bar- blah/hm.lala' -> [foo, bar, blah, hm, lala]
>
> 'foobbbar.. xyz' -> [foo, bbbar,
hello all:
I am using Image module from PIL to save created image as JPG format.
Is there any option I could set for function Image.save so that the
stored image will have the highest quality.
Thank you
-Daniel
--
http://mail.python.org/mailman/listinfo/python-list
Hello all:
I have the following snippet:
In [1]: fileName = 'Perfect Setup.txt\n'
In [2]: fileName = fileName[0:len(fileName)-1)] # remove the '\n'
character
In [3]: fileName
Out[3]: 'Perfect Setup.txt'
Question one:
Does python provide any function that can remove the last character of
a stri
Python author and trainer Mark Lutz will be interviewed
on the radio show Tech Talk this Sunday, October 1st,
at 6PM Eastern time. He'll be answering questions about
Python, his books, and his Python training services.
For more details about the show, see Tech Talk's websi
Fuzzyman wrote:
> Mark Lutz wrote:
> > Python author and trainer Mark Lutz will be interviewed
> > on the radio show Tech Talk this Sunday, October 1st,
> > at 6PM Eastern time. He'll be answering questions about
> > Python, his books, and his Python training
e. If the use of OO makes a simple solution *more*
complex then it is being used inappropriately.
It is not only necessary to have the correct tools for the job but,
also, to be skilled in their use. Part of the skill of a SW developer
is in picking the correct tool for the job - and then using it
correctly.
Mark
--
http://mail.python.org/mailman/listinfo/python-list
HiI wonder if you can help me. I am using pexpect with python to access remote machines and run commands on them. I pass commands into code like so:def cmd(self, cmd): pp=[ "|", "]", "[", "(", ")", "$", "?", "*", ".", ":"]
expcmd=cmd for element in pp: expcmd=expcmd
quot;Re: Contents of Python-list digest..."Today's Topics: 1. Re: Problems wth os.stat().st_mtime on Mac (Michael Glassford)
2. Re: Help with ConfigParser (TonyHa) 3. regular expressions in the pexpect module for python (Mark Devine) 4. commands.getstatusoutput result is not com
> Hi, Im looking for a way to display some python code
> in html: with correct indentation, possibly syntax hiliting, dealing
> correctly with multi-line comment, and... generating valid html code if
> the python code itself deals with html (hence manipulates tag litterals.
> Thanks for your help!
[EMAIL PROTECTED] wrote:
> dict = {}
As a general rule you should avoid variable names which shadow built in
types (list, dict, etc.). This can cause unexpected behavior later on.
Also, variable names should be more descriptive of their contents.
Try word_dict or some such variant
--
htt
Anyone know how to access feed history (items not contained in the
current .xml file), so that an RSS Reader could display historical
postings? Google Reader is able to do this. I'm interested in
implementing kind of feature in Python. I've done quite a bit of
searching to no avail. Any ideas?
patch for 64 bit int values.
I'd like to get these into wider circulation if possible...
what's the best way to do this?
Many TIA!
Mark
--
Mark Harrison
Pixar Animation Studios
--
http://mail.python.org/mailman/listinfo/python-list
I've built a python with --enable-shared in order to support mod_python,
but now I have to set LD_LIBRARY_PATH to $prefix/lib.
Worse, it seems mod_python will die on some import statements,
I'm suspecting ones that need to pull in .so's.
Any clues appreciated...
Mark.
--
Mark
> The totalizator system allows us to merge or group these four bets as
> follows:
>
> 5 + 7 / 3 / 11 / 7 + 14 / 1 / 9 - $50 ($200 total)
I'm still trying to get my head around what you're trying to do, but
here's some code:
---snip-
data = ["5 / 3 / 11 / 7 / 1 / 9 -
may I, as a former Englishman, say how proud we always were to be
exploited by our betters
many thanks guv
Mark
Jonathan Smith wrote:
> gavino wrote:
> > wtf
>
> Java is a coffee, and coffee comes from exploited Ethiopians (they do
> have some damn fine coffee, though). Mo
I doubt that anyone would dispute that even as boosted by Numpy/Scipy,
Python will almost certainly be notably slower than moderately
well-written code in a compiled language. The reason Numpy exists,
however, is not to deliver the best possible speed, but to deliver
enough speed to make it possib
Hans >Langtangen<, rather.
Mark Morss wrote:
> I doubt that anyone would dispute that even as boosted by Numpy/Scipy,
> Python will almost certainly be notably slower than moderately
> well-written code in a compiled language. The reason Numpy exists,
> however, is not t
Carl,
I agree with practically everything you say about the choice between
Python and functional languages, but apropos of Ocaml, not these
remarks:
>
> In the same way that a screwdriver can't prevent you from driving a
> nail. Give me a break, we all know these guys (Haskell especially) are
>
How do you compare Python to Lisp? What specific advantages do you
think that one has over the other?
Note I'm not a Python person and I have no axes to grind here. This is
just a question for my general education.
Mark
--
http://mail.python.org/mailman/listinfo/python-list
Paul Rubin wrote:
> "Mark Tarver" <[EMAIL PROTECTED]> writes:
> > How do you compare Python to Lisp? What specific advantages do you
> > think that one has over the other?
>
><http://google.com/search?q=python+lisp&btnI=I'm+feeling+lucky>
Bill Atkins wrote:
> "Mark Tarver" <[EMAIL PROTECTED]> writes:
>
> > How do you compare Python to Lisp? What specific advantages do you
> > think that one has over the other?
> >
> > Note I'm not a Python person and I have no axes to grin
Kaz Kylheku wrote:
> Mark Tarver wrote:
> > I don't mind controversy - as long as there is intelligent argument.
> > And since it involves Python and Lisp, well it should be posted to both
> > groups. The Lispers will tend to say that Lisp is better for sure -
> >
happy with minimized
pieces of code that fail to compile or should produce a (better) error
or warning message.
http://mark.dufour.googlepages.com
Mark.
--
"One of my most productive days was throwing away 1000 lines of code"
- Ken Thompson
--
http://mail.python.org/mailman/listinfo/python-list
> The [F#] source is avaliable, but it's under Microsoft's Shared Source
> license, which isn't quite an open source license. There are some
> restrictions on commercial usage.
>
You can call me a bigot, but it will be engraved upon my tombstone that
I never used a proprietary Microsoft language.
Python author and trainer Mark Lutz will be teaching another
3-day Python class at a conference center in Longmont, Colorado,
on January 23-25, 2007.
This is a public training session open to individual enrollments,
and covers the same topics as the 3-day onsite sessions that Mark
teaches, with
option to ss.py (disables checking for
negative indices)
-several minor bug-fixes reported by users of 0.0.15
Thanks,
Mark.
On 12/9/06, Mark Dufour <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> After getting bogged down with work for a few months, I'm finally back
> to Shed Skin d
h relative ease
> with SGMLlib.
>
> Anyway, if you (Vertigo) want to use regular expressions to do this,
> you can try and use some regular expression testing programs. I'm not
> quite sure of the name but there is one that comes with KDE.
>
> - Jonathan Curran
You have
> # Begin going through the loop
> Townshp = Townshps.next()
> while Townshps !="":
> #Set the output name to be the same as input
> outName = outputPath + "/" + Townshp + "land" + ".img"
> Output_table = outputPath + "/" + Townshp + "table" + ".dbf"
> #For each extract by Mask
>
the
select loop wrong somehow, or what else might be wrong. Thanks!!
Jonathan Mark
---
import os, popen2, select
def execCommand(cmd, mergeErrors = False):
popen3 = popen2.Popen3(cmd, capturestderr = True)
popen3.tochild.close()
strOutput = ''
strErrors = '
rror comes from 'template' which is yet to be assigned - but
in that case RemoveDocTemplate should not be called as the NameError happens
before. I don't recall (and grep doesn't show) that pythonwin ever raises
this exception.
Mark
--
http://mail.python.org/mailman/listinfo/python-list
I've been out on vacation, and just
getting back to email.
Thanks!
Mark Schoonover
IS Manager
American Geotechnical
V: 858-450-4040 - F: 714-685-3909 - C: 858-472-3816
"Stop the Earth!! I want off!!"
--
http://mail.python.org/mailman/listinfo/python-list
Shed Skin: 0.30 s
Thanks,
Mark Dufour.
-- Shed Skin author, http://mark.dufour.googlepages.com
--
http://mail.python.org/mailman/listinfo/python-list
* Paddy wrote (on 1/4/2007 10:20 PM):
> belinda thom wrote:
>
>> On Jan 4, 2007, at 9:28 PM, Carl Banks wrote:
>>
>>> jeremito wrote:
I am writing a class that is intended to be subclassed. What is the
proper way to indicate that a sub class must override a method?
>>> You can't (easily
u have a Python installation you should be able to find the
"Whats New" section of the docs. List comprehensions are described
pretty well in the "What's new in Python 2.0?" section. This gives
some simple examples as well as the rationale behind them.
Mark
--
http://mail.python.org/mailman/listinfo/python-list
> is there any way i would be successful then, in using raw string inside
> my makeRE() function?
Why do you think you even need a raw string?
Just build and return the string 'a|b|c' (NOTE: DON'T add the quotes to
the string)
--
http://mail.python.org/mailman/listinfo/python-list
> yes, i suppose you are right. i can't think of a reason i would NEED a
> raw string in this situation.
It looks from your code that you are trying to remove all occurances of
one string from the other. a simple regex way would be to use re.sub()
>>> import re
>>> a = "abc"
>>> b = "debcabbde"
InnoDB which activates transactions, so now the autocommit has to be
turned on in mysqldb or explicit commit's have to be placed into the
code.
--Mark
--
http://mail.python.org/mailman/listinfo/python-list
that it is possible to use Fitnesse and Java Fit and involve
Jython testcases with this configuration but I do not know how. Perhaps
someone from this group has done this before and wants to share some
tipps with me.
Cheers,
Mark Fink
http://www.mark-fink.de
--
http://mail.python.org/mailman
ere please point me to
this direction. I was not able to find it.
Best Regards,
Mark
--
http://mail.python.org/mailman/listinfo/python-list
for such tasks available?
In general: how do I find such information by myself?
Best Regards,
Mark
--
http://mail.python.org/mailman/listinfo/python-list
for such tasks available?
In general: how do I find such information by myself?
Best Regards,
Mark
--
http://mail.python.org/mailman/listinfo/python-list
sorry for the double post!
It is the r_eval() functionality of the rexec module I am looking
forward to replace
--
http://mail.python.org/mailman/listinfo/python-list
this is really funny...
I tried to use eval(String) as an replacement. It works now but the
calculation results from my tests are not as expected: 2 + 3 = 23 !!! 2
- 3 = 2-3...
I have the feeling that there is a really easy solution for this.
Unfortunately I have no enough experience
--
http://ma
This is the original code section of the library including the
comments:
class AutoAdapter(TypeAdapter):
"""
This adapter returns a type based on the format of the table cell
contents, following python's rules for literals (plus a few
others).
We could fall back on this when we don'
:-))) it works!
I replaced it to "return eval(s)" and the results look extremely well
guess I should get one of this crystal balls myself.
one minor issue is still left:
correct me if I am wrong: result of 2/-3 is 0 (at least this is how it
is defined in the testcase)
In Jython 2.1.3:
>>> 2/-3
-1
3901 - 4000 of 5832 matches
Mail list logo