This algorithm written in Python solves at least a subset of the
Hamilton Circuit problem, which is NP complete, in n^3 time.
#!/usr/bin/env python
#
# hamiltoncircuit.python
#
# Copyright 2011 Martin Musatov
#
# This program is free software; you may redistribute it and/or
//\ PROJF
//P\ SLOW VER
// GDRAW PROJF DEMO P
//
// P // XEQ GDRAW
//
//P \ PROJF
//
// \ FAST VER
// @ domain [http://meami.org/fastslow.htm]
--
http://mail.python.org/mai
.
--
Regards,
Martin Leese
E-mail: ple...@see.web.for.e-mail.INVALID
Web: http://members.tripod.com/martin_leese/
--
https://mail.python.org/mailman/listinfo/python-list
Hi
I would like to place a message in an uninstaller window which will
inform the user that some folders haven't been deleted. Is that possible
using
Inno Setup?
--
Thanks in advance
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Using Python / ASP on a IIS server with Mark Hammond's win32 extensions,
i have the following problem.
All occurences of local characters (fx. danish æøå) in comments or in
strings result in a HTTP/1.1 500 Server Error.
Is there a solution to this problem?
/Martin
--
http://mail.pytho
or 500
A solution is to move ALL code from the .asp page to a .py file and
import it on the .asp page.
But there must be another solution?
/Martin
--
http://mail.python.org/mailman/listinfo/python-list
u're
looking for.
Cheers,
Martin
On 13 Jul 2005 14:05:37 -0700, "David Veerasingam"
<[EMAIL PROTECTED]> wrote:
>Hello
>
>It seems the grouping feature isn't behaving correctly.
>
>In [1]: a = 'dfsf.oct.ocfe'
>
>In [2]: b = re.match
it__.'
>>> C()
In C init.
In C __init__.
>>> C()
In C __init__.
>>> D()
In D init.
In D __init__.
>>> D()
In D __init__.
-Martin
--
http://mail.python.org/mailman/listinfo/python-list
I meant to say:
Although the base class __new__ does have to check to see if the
^^^
instance is initialized, ...
not:
> Although the base class __init__ does have to check to see if the
> instance is initialized, ...
--
http://mail.python.org/mailman/listinfo/pytho
Hi! :)
I'm using the asyncio.Protocol interface to build a server which binds
to a unix socket file. I want other system users to connect to the
unix socket, so to communicate with the server.
Where should I set the permissions of the file?
The problem is that the socket file is created when th
I would really like some feedback. Is this a good solution? is it
efficient? robust? what could be improved? any not looking for a
revised solution, hints on what to improve are also very welcome.
Martin
--
http://mail.python.org/mailman/listinfo/python-list
On Jul 3, 12:25 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
> On Tue, 03 Jul 2007 09:58:16 +, Martin wrote:
> > "Write a program that takes as its first argument one of the words
> > 'sum,' 'product,' 'mean,' or
On Jul 3, 1:47 pm, John Machin <[EMAIL PROTECTED]> wrote:
> On Jul 3, 7:58 pm, Martin <[EMAIL PROTECTED]> wrote:
>
>
>
> > I am trying to improve my Python skills through some exercises.
> > Currently I am working on Larry's "15 exerci
codec can't encode character u'\u25cf' in
position 2848: ordinal not in range(128)
Any ideas?
Martin
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 19, 6:54 pm, "Jorgen Bodde" <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I want to structure my app so that I have two dirs like;
>
> obj/{object files}
>
> gui/{gui files}
>
> Here comes the catch. From the GUI dir, I would like to access the obj
> submodule path. I need to go one dir back.. I
If i create an app using py2exe/py2app is there then a way on windows/
mac to get access to a file dragged and dropped on to the .exe/.app
icon?
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Hmm this works for me,
it's a self compiled version:
~ $ python3
Python 3.0 (r30:67503, Dec 29 2008, 21:35:15)
[GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> print("\u20ac")
€
>>> print ("\N{EURO SIGN}")
€
>>>
2009/1/26 j
gs Lists - while I'm not
a huge fan of them that isn't an argument from your feature list :)
There's tigris.org, savannah (savannah.gnu.org, nongnu.org),
launchpad. All of them are fine to some extent, you might want to read
up on PyMotW about how Doug Hellmann dec
2009/1/31 andrew cooke :
> On Jan 31, 9:59 am, Martin wrote:
>> There's tigris.org, savannah (savannah.gnu.org, nongnu.org),
>> launchpad. All of them are fine to some extent, you might want to read
>> up on PyMotW about how Doug Hellmann decided where to host his st
t is
elixir makes using sqlalchemy even easier.
hth
martin
--
http://soup.alt.delete.co.at
http://www.xing.com/profile/Martin_Marcher
http://www.linkedin.com/in/martinmarcher
You are not free to read this message,
by doing so, you have violated my licence
and are required to urinate publicly
Hi,
2009/2/2 Gilles Ganault :
> Thanks guys. For those interested, here's how to perform the
> conversion from DD/MM/ to -MM-DD:
as suggested, the DBA should seriously think about defining the
correct type of the column here, for intermediate use and getting
stuff to work you could use a
ariable think about
what other facts you know (by examining the content of the variable)
2) Think again hard what you need to output and which parts of the
output need to match the information you already have (by doing point
2)
That shouldn't be too hard
hth
Martin
--
http://soup.alt.delete
so.conf.d/
to include the path you need.
hth
martin
--
http://soup.alt.delete.co.at
http://www.xing.com/profile/Martin_Marcher
http://www.linkedin.com/in/martinmarcher
You are not free to read this message,
by doing so, you have violated my licence
and are required to urinate publicly.
Hi,
2009/2/11 redbaron :
> should accept network
> connection with new tasks without blocking of client and put it on job
> queue.
>
> What is "task" ? Executing just ordinary python function will be
> enough. If solution contain some client library which allow easy task
> submit it will be great.
Hi,
2009/2/12 Paul Rubin :
> Fisherking writes:
>> Which are the best way of searching through the list and extract the
>> items that are the same.
hmmm how about using sqlites in memory database and let SQL take care
of finding that for you?
hth
Martin
--
http://soup.alt.de
Hi,
at first I wanted to file this under meta-discussions, but your lost
paragraph got me thinking...
2009/2/12 Christian Heimes :
> Nobody is going to stop you from creating a large bundle of useful
> extensions as long as you follow the licenses. In fact lots of people
> may appreciate a bundle
Oh yeah and ignore my typos also :)
2009/2/12 Martin :
> Hi,
>
> at first I wanted to file this under meta-discussions, but your lost
> paragraph got me thinking...
>
> 2009/2/12 Christian Heimes :
>> Nobody is going to stop you from creating a large bundle of useful
>
s/current/static/catalog-pg-database.html
hth
Martin
--
http://soup.alt.delete.co.at
http://www.xing.com/profile/Martin_Marcher
http://www.linkedin.com/in/martinmarcher
You are not free to read this message,
by doing so, you have violated my licence
and are required to urinate publicly. Thank you
2009/2/12 Christian Heimes :
> Martin wrote:
> [typos igored as requested ;)]
>
>> How does "small and agile" work with "batteries included"?
>
> The Python slogan says "batteries included", not "fusion reactor included".
I'd b
;ve been reading this group for quite a while and I am really
astonished how fast people give valuable answers here. This is a
really great community! Many thanks in advance for all ideas!
Greetz,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
mory Python dictionaries
> for the type of analysis I'm doing.
I'd think he's talking about in memory SQLite Databases, this way you
should be quite fast _and_ could dump all that to a persistent
storage...
regards
martin
--
http://soup.alt.delete.co.at
http://www.xing.c
# now go and write a hundred times "Unicode is not an encoding" :)
> So, my question is, as sys.stdout IS a file object, why it does not
> use its encoding attribute to convert the given unicode? An
> implementation bug? A documenation bug?
hmm I always thought "sys.stdou
of the mail str-instance with the MailAddress
This is just scratched up quickly. Hope it helps
Martin
2008/12/26 Gilles Ganault :
>sql = 'INSERT INTO mytable (name,address,web,mail) VALUES
> ("%s","%s","%s","%s","%s")'
my site, and if it's only for a
password reset link.
/martin
--
http://soup.alt.delete.co.at
http://www.xing.com/profile/Martin_Marcher
http://www.linkedin.com/in/martinmarcher
You are not free to read this message,
by doing so, you have violated my licence
and are required to urina
ilter(even, (1, 2, 3, ))
(2,)
>>> help(filter)
KeyboardInterrupt
>>> map(multby3, filter(even, (1, 2, 3, )))
[6]
>>>
hth
martin
2008/12/27 Scott David Daniels :
> Tim Chase wrote:
>>>
>>> What does *not* work is 3 * [0,1,2]
>>> As you kno
7;d rather like to find some method (hopefully within the standard
lib) that had more peer review than only me :).
thanks
martin
[1] http://www.w3.org/TR/xmlschema-2/#dateTime
--
http://soup.alt.delete.co.at
http://www.xing.com/profile/Martin_Marcher
http://www.linkedin.com/in/martinmarcher
Y
Hi,
2008/12/27 :
> Not in the standard lib, but you might want to check out the dateutil
> package. Its dateutil.parser module does an excellent job parsing a wide
> range of time formats. It's a bit weak in the timezone area though.
is that http://labix.org/python-dateutil, I'll have a look
implement them. Being totally new to this topic I don't quite
now what to search for to get some decent results that let me make a
mental link between game rules and what the best practices are to
implement them in python (or any other programming language)
thanks,
martin
--
http://soup.alt.de
2008/12/27 Stef Mientki :
> Steven D'Aprano wrote:
>> No, that only makes it even more confusing. What does Moore's Law have to
>> do with your willful ignorance about the existence of human languages other
>> than English?
>>
> Nothing.
> I even don't (want to) see what bits / bytes / escape seque
but it didn't exactly like it. I'm after some info
how such rules would defined in python (specifically python althou
logic programming is probably the more appropriate way).
I guess I'm missing quite some basics in the design of such concepts,
I'll head back to google to fi
e it works fine on my local machine running Python 2.5,
my host is only on 2.4.3. They've installed pyglet for me, but it won't
run without ctype, and they don't suport it.
Can anyone suggest an alternative way to achieve this using a module
that will run on a standard 2.4.3 instal
Tim Golden wrote:
Martin wrote:
I need to extract a frame from a wmv file and save it as a jpg. In
fact I need to extract a frame from each one of a collection of
several thousand wmv files, but that's beside the point.
I've actually written a script that does exactly this using
Tim Golden wrote:
Martin wrote:
I've looked at Pymedia but I have to admit I couldn't work it out.
Commandline might be good, but I'm really hoping someone can point me
in the right direction, as this is not my area of expertise.
Nor mine :) Just so people can help you out,
tunately it looks like I have the same problem as I do with pyglet
- it's not support by my host.
It looks like I might have to process the files locally and then upload
them. Painful.
Unless anyone else has any suggestions?
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Tim Golden wrote:
Martin wrote:
Lawrence D'Oliveiro wrote:
In message <[EMAIL PROTECTED]>, Tim
Golden
wrote:
Alternatively, you might be able to commandline control
mencoder or ffmpeg itself to do this. Not sure, but there
must be *something* among those millions of command-l
Hi,
On Mon, Apr 13, 2009 at 10:03 PM, Grant Edwards wrote:
> On 2009-04-13, SpreadTooThin wrote:
>
>> I want to compare two binary files and see if they are the same.
>> I see the filecmp.cmp function but I don't get a warm fuzzy feeling
>> that it is doing a byte by byte comparison of two files
have to plug monitoring features in a product never designed
to have that feature...
regards,
Martin
--
http://soup.alt.delete.co.at
http://www.xing.com/profile/Martin_Marcher
http://www.linkedin.com/in/martinmarcher
You are not free to read this message,
by doing so, you have violated my lic
olution
which takes 5mins to implement wins against a lengthy discussion which
optimizes too early wins hands down.
regards,
martin
--
http://soup.alt.delete.co.at
http://www.xing.com/profile/Martin_Marcher
http://www.linkedin.com/in/martinmarcher
You are not free to read this message,
by doi
, mostly a module) that defines an "emit([object, ...][, sep='
'][, end='\n'][, file=sys.stdout])" -- this corresponds
tohttp://docs.python.org/3.0/library/functions.html#print
I found that to be the handiest solution, however I'm too much of an
i
the difference between such two time variables, to
calculate the 'age' of the file?
:-) Martin
--8<-- Code begin -
import os, time
def buildList(directory):
listing = os.listdir(directory)
for x in listing:
x = os.path.join(directory,
Thanks both
The first answer is quite instuctive, the other one might be the one
I'll use in the code, it's nicely compact and clear.
So 2x thanks.
:-) Martin
--
http://mail.python.org/mailman/listinfo/python-list
On May 30, 4:10 pm, Steven D'Aprano wrote:
> On Sat, 30 May 2009 12:06:55 +0200, jkv wrote:
> > I added a few lines to your script, and now it ought to only print files
> > newer than 3601 seconds (3600 seconds is one hour).
> ...
> > #if file newer than one hour print a line
> > if time_d
On May 30, 11:37 pm, jkv wrote:
> mar...@hvidberg.net wrote:
> > Thanks both
>
> > The first answer is quite instuctive, the other one might be the one
> > I'll use in t
>
> I didn't receive the other answer, could you please forward it to me?> So 2x
> thanks.
>
> You are welcome.
>
> I took anot
>
> http://en.wikipedia.org/wiki/Subtraction
>
Only one problem, wise arse:
TypeError: unsupported operand type(s) for -: 'time.struct_time' and
'time.struct_time'
Like I didn't try that...
--
http://mail.python.org/mailman/listinfo/python-list
I guess you are looking for this:
http://docs.python.org/lib/module-cmd.html
On Wed, Aug 20, 2008 at 9:19 PM, joey boggs <[EMAIL PROTECTED]> wrote:
> I've got a hopefully simple question, maybe I'm just not searching for the
> right information.
>
> I'm working on a project that is using kickstar
On Tue, Aug 26, 2008 at 9:52 AM, cnb <[EMAIL PROTECTED]> wrote:
> On Aug 26, 9:43 am, Martin Marcher <[EMAIL PROTECTED]> wrote:
>> On 2008-08-26 00:32:20, cnb wrote:
>>
>> > Are dictionaries the same as hashtables?
>>
>> Yes, but there is nothing in
g.net/Martin/temp/quat_col.png
http://hvidberg.net/Martin/temp/quat_bw.png
or run the code to see them locally.
Please – what do I do wrong in the PIL part ???
:-? Martin
import numpy as np
from PIL import Image
from PIL import ImageOps
maxcol = 100
maxrow = 100
a = np.zeros((maxcol,maxrow),
On Oct 3, 11:56 pm, Peter Otten <__pete...@web.de> wrote:
> Martin wrote:
> > Dear group
>
> > I'm trying to use PIL to write an array (a NumPy array to be exact) to
> > an image.
> > Peace of cake, but it comes out looking strange.
>
> > I use
On Oct 4, 10:16 pm, "Mart." wrote:
> On Oct 4, 9:47 am, Martin wrote:
>
>
>
> > On Oct 3, 11:56 pm, Peter Otten <__pete...@web.de> wrote:
>
> > > Martin wrote:
> > > > Dear group
>
> > > > I'm trying to use PIL to wr
On Nov 9, 8:45 pm, Robert Kern wrote:
> On 2009-11-09 10:43 AM, Moses wrote:
>
>
>
> > Hi Chris,
>
> > I am using python 2.6 and am using scipy and pylab. See the code below.
>
> You will want to ask matplotlib questions on the matplotlib mailing list:
>
> https://lists.sourceforge.net/lists/listi
ou know for sure that in say 3-5 years from now on your software
isn't released into the wild and then has no security at all?
regards,
Martin
--
http://www.xing.com/profile/Martin_Marcher
http://www.linkedin.com/in/martinmarcher
You are not free to read this message,
by doing so, you h
On Feb 12, 7:57 pm, McColgst wrote:
> On Feb 12, 2:39 pm, Martin wrote:
>
>
>
>
>
> > Hi,
>
> > I am trying to come up with a more generic scheme to match and replace
> > a series of regex, which look something like this...
>
> > 19.01,16.38,0.79,1
On Feb 12, 8:30 pm, MRAB wrote:
> McColgst wrote:
> > On Feb 12, 2:39 pm, Martin wrote:
> >> Hi,
>
> >> I am trying to come up with a more generic scheme to match and replace
> >> a series of regex, which look something like this...
>
> >&
d+.\d+,\d+.\d+,\d+.\d+,\d+.\d+,\d+.\d+ !
canht_ft", CANHT, s)
where CANHT might be
CANHT = '115.01,16.38,0.79,1.26,1.00 ! canht_ft'
But this involves me passing the entire string.
Thanks.
Martin
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 15, 2:03 pm, Jean-Michel Pichavant
wrote:
> Martin wrote:
> > Hi,
>
> > I am trying to come up with a more generic scheme to match and replace
> > a series of regex, which look something like this...
>
> > 19.01,16.38,0.79,1.26,1.00 ! canht_ft(1:
On Feb 15, 2:27 pm, Jean-Michel Pichavant
wrote:
> Martin wrote:
> > On Feb 15, 2:03 pm, Jean-Michel Pichavant
> > wrote:
>
> >> Martin wrote:
>
> >>> Hi,
>
> >>> I am trying to come up with a more generic scheme to match and repla
On Jun 7, 9:57 am, "Alfred Bovin" wrote:
> Hi all.
>
> I'm working on something where I need to read a (binary) file bit by bit and
> do something depending on whether the bit is 0 or 1.
>
> Any help on doing the actual file reading is appreciated.
>
> Thanks in advance
Hi,
Have you looked at th
On Jun 10, 11:13 pm, Anthony Papillion wrote:
> Thank you Emile and Thomas! I appreciate the help. MUCH clearer now.
Also at a guess I think perhaps you wrote the syntax slightly wrong
(square brackets)...you might want to look up "list comprehension"
Martin
--
http://mail.pytho
On Jun 10, 9:02 pm, Philip Semanchuk wrote:
> On Jun 10, 2010, at 9:58 AM, Javier Montoya wrote:
>
> > Dear all,
>
> > I'm new to python and have been working with the numpy package. I have
> > some numpy float arrays (obtained from np.fromfile and np.cov
> > functions) and would like to convert t
On Jun 13, 6:15 pm, Thomas Jollans wrote:
> Hi,
>
> I'm writing some buffer-centric number-crunching routines in C for
> Python code that uses array.array objects for storing/manipulating data.
> I would like to:
>
> 1. allocate a buffer of a certain size
> 2. fill it
> 3. return it as an array.
>
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(in
Does this help:
http://www.mediawiki.org/wiki/MoinMoin
On Mon, Jun 22, 2009 at 6:58 PM, zelegolas wrote:
> Let me know if it's the right place to ask.
>
> I'm looking for wiki writen with python where I can import all
> wikipedia site.
> If you have any links please let me know.
>
> Thanks
> --
>
array_1[i, j] == some_value or array_2[i, j] >= array_1[i,
j] * some_other_value
array_1[i, j] = some_new_value
Many Thanks,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
On Jul 27, 12:42 pm, Peter Otten <__pete...@web.de> wrote:
> Martin wrote:
> > I am new to python and I was wondering if there was a way to speed up
> > the way I index 2D arrays when I need to check two arrays
> > simultaneously? My current implementations is (using nu
On Jul 27, 1:46 pm, Peter Otten <__pete...@web.de> wrote:
> Martin wrote:
> > On Jul 27, 12:42 pm, Peter Otten <__pete...@web.de> wrote:
> >> Martin wrote:
> >> > I am new to python and I was wondering if there was a way to speed up
> >> > the
On Jul 27, 2:17 pm, Peter Otten <__pete...@web.de> wrote:
> Martin wrote:
> > On Jul 27, 1:46 pm, Peter Otten <__pete...@web.de> wrote:
> >> Martin wrote:
> >> > On Jul 27, 12:42 pm, Peter Otten <__pete...@web.de> wrote:
> >> >> Ma
On Jul 27, 4:12 pm, Peter Otten <__pete...@web.de> wrote:
> Martin wrote:
> > The statement works now, but it doesn't give the same results as my
> > original logic, strangely!?
>
> > in my logic:
>
> > data = np.zeros((numrows, numcols), dtype = np.uin
r1 = call_some_function(f)
.
.
.
etc
Really I would like to remove the need for this if loop and I am sure
there is a simple way I am missing?
Many thanks
Martin
--
http://mail.python.org/mailman/listinfo/python-list
On Jul 29, 11:02 pm, "Rhodri James"
wrote:
> On Wed, 29 Jul 2009 19:56:28 +0100, Martin wrote:
> > Hi,
>
> > I am trying to set the return value from a function to a name which I
> > grab from the for loop. I can't work out how I can do this without
>
es were generated according to a particular pattern, you can
> mimic that pattern and generate filenames list using
> list-comprehension, e.g.:
>
> filenames = ['file{nr}.txt'.format(nr=nr) for nr in range(13)]
>
> Chreers,
>
> *j
>
> --
> Jan Kal
\n\n
Something that matched "NORTHBOUNDINGCOORDINATE" and printed the
decimal number before it hit the next string
"NORTHBOUNDINGCOORDINATE". But I am not sure how to do this. any
suggestions would be appreciated.
Many thanks
Martin
--
http://mail.python.org/mailman/listinfo/python-list
On Aug 12, 12:53 pm, Bernard wrote:
> On 12 août, 06:15, Martin wrote:
>
>
>
> > Hi,
>
> > I have a string (see below) and ideally I would like to pull out the
> > decimal number which follows the bounding coordinate information. For
> > example ideal fro
On Aug 12, 1:23 pm, Steven D'Aprano wrote:
> On Wed, 12 Aug 2009 05:12:22 -0700, Martin wrote:
> > I tried
>
> > re.findall((\w+COORDINATE).*\s+VALUE\s+=\s([\d\.\w-]+),s)
>
> You need to put quotes around strings.
>
> In this case, because you're using reg
On Aug 12, 1:42 pm, Martin wrote:
> On Aug 12, 1:23 pm, Steven D'Aprano
>
>
> cybersource.com.au> wrote:
> > On Wed, 12 Aug 2009 05:12:22 -0700, Martin wrote:
> > > I tried
>
> > > re.findall((\w+COORDINATE).*\s+VALUE\s+=\s([\d\.\w-]+),s)
>
&
On Aug 12, 10:29 pm, Mark Lawrence wrote:
> Bernard wrote:
> > On 12 août, 12:43, Martin wrote:
> >> On Aug 12, 1:42 pm, Martin wrote:
>
> >>> On Aug 12, 1:23 pm, Steven D'Aprano >>> cybersource.com.au> wrote:
> >>>>
On Aug 13, 1:55 pm, "catalinf...@gmail.com"
wrote:
> Hello !
> I want use python to change the "note" from .jpeg files .
> What is the functions on PIL how make this ?
> Thank you !
What do u mean by the note?
--
http://mail.python.org/mailman/listinfo/python-list
ut now I don't seem to be able to
transfer that to this problem!
Thanks in advance for the help,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
this list is english only. I won't translate for you as I think you
wouldn't be happy with it - as you can't read the recommendations - if
you don't speak english. In that case you might want to try
python...@python.net)
(die Liste ist eigentlich nur english, ich übersetze das mal nicht, da
d
ss in the past and I have
revisited one of those projects and it still works there.
The older project has a slightly flatter structure as it lacks
a separate code subdirectory:
something.py
test
something_test.py
I have temporarily tried this on the new project but to no avail.
Any leads?
T
On 2013-06-29, Steven D'Aprano wrote:
> On Sat, 29 Jun 2013 19:13:47 +, Martin Schöön wrote:
>
>> $PYTHONPATH points at both the code and the test directories.
>>
>> When I run blablabla_test.py it fails to import blablabla.py
>
> What error message do you
uch as redoing an operation again.
+ When updating from a non-release version (from git), the file
~/.pyspreadrc (in Windows pyspread's registry entry) may have to be
deleted.
Enjoy
Martin
--
http://mail.python.org/mailman/listinfo/python-list
in 679182 20120821 181439 Dennis Lee Bieber wrote:
>On Tue, 21 Aug 2012 08:07:33 +0200, Alex Strickland
>declaimed the following in gmane.comp.python.general:
>
>> On 2012/08/17 12:42 AM, Madison May wrote:
>>
>> > As a lurker, I agree completely with Chris's sentiments.
>>
>> I too, but I'd pref
in 681910 20120927 131113 Devin Jeanpierre wrote:
>On Thu, Sep 27, 2012 at 2:13 AM, Steven D'Aprano
> wrote:
>> On Tue, 25 Sep 2012 09:15:00 +0100, Mark Lawrence wrote:
>> And a response:
>>
>> http://data.geek.nz/python-is-doing-just-fine
>
>Summary of that article:
>
>"Sure, you have all these l
in 682592 20121008 232126 "Prasad, Ramit" wrote:
>Thomas Bach wrote:=0D=0A> Hi there,=0D=0A> =0D=0A> On Sat, Oct 06, 2012 at =
>03:08:38PM +, Steven D'Aprano wrote:=0D=0A> >=0D=0A> > my_tuple =3D my_=
>tuple[:4]=0D=0A> > a,b,c,d =3D my_tuple if len(my_tuple) =3D=3D 4 else (my_=
>tuple + (None,
I read a little about mixins but all the solutions looked very hacky.
Is there an official python way to do this? I don't like having source files
with 100's of lines of code in, let alone 1000's.
Many thanks,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
On 2, Nov, 2012, at 08:38 AM, Paul Rubin wrote:
> Martin Hewitson writes:
>> So, is there a way to put these methods in their own files and have
>> them 'included' in the class somehow? ... Is there an official python
>> way to do this? I don't like hav
On 2, Nov, 2012, at 09:00 AM, Peter Otten <__pete...@web.de> wrote:
> Martin Hewitson wrote:
>
>> Dear list,
>>
>> I'm relatively new to Python and have googled and googled but haven't
>> found a reasonable answer to this question, so I thought
On 2, Nov, 2012, at 09:40 AM, Mark Lawrence wrote:
> On 02/11/2012 08:08, Martin Hewitson wrote:
>>
>> Even if one takes reasonable numbers: 20 methods, each method has 20 lines
>> of documentation, then we immediately have 400 lines in the file before
>> writi
On 2, Nov, 2012, at 11:49 AM, Ulrich Eckhardt
wrote:
> Am 02.11.2012 09:20, schrieb Martin Hewitson:
>> Well, here we disagree. Suppose I have a class which encapsulates
>> time-series data. Below is a list of the absolute minimum methods one
>> would have
away from commercial
software. Python seemed like the right choice simply because of the wonderful
numpy, scipy and matplotlib.
So my project will build on these packages to provide some additional state and
functionality.
Cheers,
Martin
>
> Greetings!
>
> Uli
>
> [1] Actually,
1 - 100 of 2780 matches
Mail list logo