Hi there,
I have an array x=[1,2,3]
Is there an operator which I can use to get the result
[1,1,1,2,2,2,3,3,3] ?
I tried x*3, which resulted in [1,2,3,1,2,3,1,2,3]
I also tried [[b,b,b] for b in x] which led to [[1,2,3],[1,2,3],
[1,2,3]], but this isn't what I want either.
Cheers, Seba
On Jan 11, 4:21 pm, Sebastian wrote:
> I also tried [[b,b,b] for b in x] which led to [[1,2,3],[1,2,3],
> [1,2,3]]
Sorry, I have to correct myself. The quoted line above resulted in
[[1,1,1],[2,2,2],[3,3,3]] of course!
Cheers, Sebastian
--
http://mail.python.org/mailman/listinfo/python-list
Thank you for your answers! I actually implemented it using for loops
before I posted here, but I was curious if there is a more elegant
solution (judging from the post, Alf will probably say, that for loops
are already elegant).
Sebastian
--
http://mail.python.org/mailman/listinfo/python-list
I have a question from the pyar list that may have been discussed on this
list, but i didn't catch it.
Have some common objects been somewhat hardcoded into python, like some
integers as shown in the examples below? What other object have been
hardcoded (strings ,etc) and what was the criteria use
Hi all,
I'm working on Python bindings for the Amazon Product Advertising API
(http://pypi.python.org/pypi/python-amazon-product-api/) which
supports the different localised versions - among them a Japanese one
(for http://www.amazon.co.jp).
All locales return error messages in English. Only the
e with more knowledge of Japanese
than me can have a look at my expressions. Maybe the Japanese messages
are completely different...
I have a collection of sample messages here (all files *-jp-*.xml):
http://bitbucket.org/basti/python-amazon-product-api/src/tip/tests/2009-11-01/
Any help is app
> > My regular expressions turn the Amazon error messages into Python
> > exceptions.
>
> > This works fine as long as they are in English: "??? is not a valid
> > value for BrowseNodeId. Please change this value and retry your
> > request.", for instance, will raise an InvalidParameterValue
> > ex
> > This works fine as long as they are in English:
> > "??? is not a valid value for BrowseNodeId.
>
> > Please change this value and retry your request.",
> > for instance, will raise an InvalidParameterValue
>
> > exception. However, the Japanese version returns the error message "???
> > は、
That is, p1 and p2 are the same, but p3 and p4 which they are passed to, are
different.
Is there a way to pass p1 and p2 to p3 AND p4 simultaneously, so as to not
need to
run p1 and p2 twice, as above?
What arguments would I need to achieve this?
NOTE: "georgi_ddr7_allmag_kcor_in_test.dat" is a very large file (~1E6
records)
regards,
- Sebastian
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
Is there a simpler way to yield all elements of a sequence than this?
for x in xs:
yield x
I tried googling but fond only the other direction (turning a generator
into a list with "list(my_generator())".
Sebastian
--
http://mail.python.org/mailman/listinfo/python-list
2.6/site.py", line 76, in makepath
dir = os.path.abspath(os.path.join(*paths))
RuntimeError: maximum recursion depth exceeded
What is going wrong with my python install? What do I have to change?
Thanks,
Sebastian
--
http://mail.python.org/mailman/listinfo/python-list
2.6/site.py", line 76, in makepath
dir = os.path.abspath(os.path.join(*paths))
RuntimeError: maximum recursion depth exceeded
What is going wrong with my python install? What do I have to change?
Thanks,
Sebastian
--
http://mail.python.org/mailman/listinfo/python-list
the appropriate issue trackers.
- Sebastian
--
https://mail.python.org/mailman/listinfo/python-list
Hello,
I am searching for a mechanism for sharing data across Examples sections
in docstrings within a class. For instance:
class Foo:
def foo(self):
"""Method foo title
The example generating data below may be much more laborious.
Examples
On Wed, 12 Jan 2022 09:28:16 +1100,
Cameron Simpson wrote:
[...]
> Personally I'd be inclined to put long identical examples in the class
> docstring instead of the method, but that may not be appropriate.
Good point, and perhaps it's best to put a comprehensive example in the
class docstring,
Hi!
Over the last few weeks I've build a hacker news clone for the Python community:
https://news.python.sc
The source is at github.com/sebst/pythonic-news
I thought that might be of interest to you and I'd be more than happy
to hear your thoughts on this.
Best,
--Sebastian
On 9/30/05, Reinhold Birkenfeld <[EMAIL PROTECTED]> wrote:
> after Guido's pronouncement yesterday, in one of the next versions of Python
> there will be a conditional expression with the following syntax:
> X if C else Y
I don't understand why there is a new expression, if this could be
accomplis
Hello,
I am using HTMLgen. It is very nice. But I can't make it to generate
an arbitrary command.
For example I want to output this:
Each time I put "<" it gets escaped from HTML, instead of being inserted inside.
--
http://www.spreadfirefox.com/?q=affiliates&id=24672&t=1";>La
web sin popups
Thanks, you are right!
On 6/20/05, Konstantin Veretennicov <[EMAIL PROTECTED]> wrote:
> > > type="image/svg+xml" name="wmap" wmode="transparent">
>
> Works for me...
--
http://www.spreadfirefox.com/?q=affiliates&id=24672&t=1";>La
web sin popups ni spyware: Usa Firefox en lugar de Internet
Ex
On 16 Jul 2005 09:51:55 -0700, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> i want to get a small certificate or diploma in python.
> it should be online cuz i live in pakistan and wont have teast centers
> near me.
> it should be low cost as i am not rich.
> and hopefully it would be something l
Hello,
I have to parse a text file (was excel, but I translated to CSV) like
the one below, and I am not sure how to store it (to manipulate it
later).
Here is an extract of the data:
Name,Allele,RHA280,RHA801,RHA373,RHA377,HA383
TDF1,181,
,188,
,190,
,193,*,*,,,
,None,,,*,*,*
,,
On 20 Jul 2005 10:47:50 -0700, Graham Fawcett <[EMAIL PROTECTED]> wrote:
> This looks a lot like 2D data (row/column), not 3D. What's the third
> axis? It looks, too, that you're not really interested in storage, but
> in analysis...
I think it as 3D like this:
1st axis: [MARKER]Name, like TDF1,
On 20 Jul 2005 10:47:50 -0700, Graham Fawcett <[EMAIL PROTECTED]> wrote:
> # zip is your friend here. It lets you iterate
> # across your line names and corresponding values
> # in parallel.
This zip function is new to me, the only zip I knew was pkzip :). So
will read about it.
--
On 20 Jul 2005 11:51:56 -0700, Graham Fawcett <[EMAIL PROTECTED]> wrote:
> You get the idea: model the data in the way that makes it most useable
> to you, and/or most efficient (if this is a large data set).
I don't think this could be called a large dataset (about 40Kb all the file).
It would b
On 7/20/05, Cyril Bazin <[EMAIL PROTECTED]> wrote:
> The question of the type of the data sutructure depends of your use of the
> data.
> You could avoid some confusion without naming your columns "lines"...
Yes, that is because they are "plant lines", that is why is called "lines" :)
> Anyway
On 19 Sep 2005 12:25:16 -0700, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> >>> rs='AUGCUAGACGUGGAGUAG'
> >>> rs[12:15]='GAG'
> Traceback (most recent call last):
> File "", line 1, in ?
> rs[12:15]='GAG'
> TypeError: object doesn't support slice assignment
You should try Biopython (www.bi
On Sat, 01 Aug 2015 15:30:34 +1000,
Ben Finney wrote:
> Seb writes:
>> With lots of debugging to do, the last thing I'd want is to worry
>> about the search path.
> Short answer: you need ‘python3 ./setup.py develop’.
> Medium-length answer: you need to add some infrastructure to get your
> pr
can't find one (just one) python book shorter than 500 pages that
is worth its weight in salt.
Anyone know of any, any at all?
All suggestions welcomed!
-- Sebastian
--
http://mail.python.org/mailman/listinfo/python-list
eady. I'll check out the
first link, also. Thanks!
-- Sebastian
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> ... I would like to remove two lines from a file.
> ...
I am quite new myself -- but wouldn't grep -v do that easier (and
perhaps faster)?
Greetings,
Sebastian.
--
http://mail.python.org/mailman/listinfo/python-list
Steve Holden wrote:
> Sebastian Busch wrote:
>> [EMAIL PROTECTED] wrote:
>>> ... I would like to remove two lines from a file. ...
>> ... grep -v ...
> ... show ...
grep -v "`grep -v "commentsymbol" yourfile | head -2`" yourfile
i frankly admit
Chetan wrote:
> Sebastian Busch <[EMAIL PROTECTED]> writes:
>
>> Steve Holden wrote:
>>> Sebastian Busch wrote:
>>>> [EMAIL PROTECTED] wrote:
>>>>> ... I would like to remove two lines from a file. ...
>>>> ... grep -v ...
>&g
Hello all,
I am working on a Python book, since it could be completed in about a
year (writing time + edition + publishing) or more, I would like to
know what version to target since I don't want to release a book that
will be outdated just after is printed.
I use 2.4 for everyday work but most we
On 1 Sep 2006 00:57:04 -0700, crystalattice <[EMAIL PROTECTED]> wrote:
> I'd write for 2.4, even though 2.5 should be coming out "shortly".
> There aren't many significant changes to the whole language between 2.4
> and 2.5. Probably the best thing is write for 2.4 and have a sidenote
> stating wh
ple
leave (and thus must be replaced), it's a Real Cost(tm) to train new people
new windev tricks. Is your boss willing to take the risk that new people
will need 1-2 months to get fluent with windev (as he may well forget about
hiring trained windev developer in a reasonable amount of t
I am writing a paper where I refer to Python. Is there a paper that I
can refer the reader to? Or just use the Python web page as a
reference?
--
http://mail.python.org/mailman/listinfo/python-list
available as usual for GNU/Linux and MS Windows als well as Debian
packages
MacOSX packages didn't make it yet due to unexplained problems with the Mac
port. In general it looks like the code is getting much more stable and
easier to fix and extent.
Bug reports are appreciated.
--
Seba
Frank Potter wrote:
> ... where is the executable python file? ...
does
whereis python
tell you what you want to know?
sebastian.
--
http://mail.python.org/mailman/listinfo/python-list
Hola,
Aca con una pregunta basica:
A veces veo que hay programas que tienen varias instrucciones en la
misma linea, cuando lo que aprendi de Python era que se usaba el
espaciado para mantener la estructura (indent).
Por ejemplo:
if name != 'comic': return
Hay un return despues de los dos puntos, n
Hello,
How do I detect non-ascii letters in a string?
I want to detect the condition that a string have a letter that is not
here: string.ascii_letters
Best regards,
SB.
--
Bioinformatics news: http://www.bioinformatica.info
Lriser: http://www.linspire.com/lraiser_success.php?serial=318
--
http
On 2/23/06, Diez B. Roggisch <[EMAIL PROTECTED]> wrote:
> "äöü".decode("ascii")
> should do the trick -- you get an UnicodeError when there is anything ascii
> can't encode.
Thank you. This is good enought for me.
Best regards,
SB.
--
Bioinformatics news: http://www.bioinformatica.info
Lriser: ht
[ Jackie <[EMAIL PROTECTED]> ]
> 1.The code above assume that each Prof has a tilte. If any one of them
> does not, the name and title will be mismatched. How to program to
> allow that title can be empty?
>
> 2.Is there any easier way to get the data I want other than using
> list?
Use BeautifulS
[ Carsten Haese <[EMAIL PROTECTED]> ]
> On Sun, 2007-06-17 at 07:43 -0700, 7stud wrote:
> > Please report the whole docs as a bug.
>
> Calling the entire docs a bug is not helpful.
... unless he also comes up with the "bugfix". ;)
--
Freedom is always the freedom of dissenters.
[ Ed Jensen <[EMAIL PROTECTED]> ]
> try:
> f = file('test.txt', 'r')
> except IOError:
> print 'except'
> else:
> print 'else'
> finally:
> print 'finally'
>
>
> And the results are:
>
> File "./test.py", line 9
> finally:
> ^
> SyntaxError: invalid syntax
A finally
[ "Diez B. Roggisch" <[EMAIL PROTECTED]> ]
> And as it has been said in this thread already, Qt has an excellent free
> GUI-builder.
Free as long as you develop free software. Development of proprietary,
non-gpl software with Qt requires a commercial licence from Trolltech.
--
Freedom is always
[ Ross Hetherington <[EMAIL PROTECTED]> ]
> #!/usr/bin/env python
>
> import random
> import sys
> import linecache
>
> rnd = random.randint(1,3)
> line = linecache.getline('testfile', rnd)
>
> print line
Try print repr(line) ...
>
> gss = raw_input('Enter line: ',)
and print repr(gss) ;)
> if gss
[ "Diez B. Roggisch" <[EMAIL PROTECTED]> ]
> > I'd like to build a Python GUI app. Neither Tkinter nor Wxpython nor
> > PyQT are actually what I want (because the lack of GUI builders and
> > they don't really look good on Windows and Linux).
>
> The latter statement is bogus. Qt is THE native look
[ Benjamin <[EMAIL PROTECTED]> ]
> On Jul 2, 9:47 pm, Justin Ezequiel <[EMAIL PROTECTED]>
>
> wrote:
> > On Jul 3, 9:40 am, Benjamin <[EMAIL PROTECTED]> wrote:
> > > How does one get the path to the file currently executing (not the
> > > cwd). Thank you
> >
> > os.path.dirname(sys.argv[0])
>
> The
Hi,
In my CSV file, the first line has the name of the variables. So the
data I want to parse resides from line 2 up to the end. Here is what I
do:
import csv
lines=csv.reader(open("MYFILE"))
lines.next() #this is just to avoid the first line
for line in lines:
DATA PARSING
This works fine.
On 7/13/07, Simon Hibbs <[EMAIL PROTECTED]> wrote:
> place. At the end of it you'll have a good idea how OOP works, and how
> Python works. Learning OOp this way is easy and painless, and what you
...
But this tutorial states "I assume you know how object-oriented
programming works"
--
Sebastián
On 7/15/07, John Machin <[EMAIL PROTECTED]> wrote:
> So you imagine that there is an undocumented feature?
No, I just think that is documented but I am not able to understand
it. Reading the list I've learned several things that are not directly
inferred from documentation (that is not the same as
On 26 Apr 2007 14:48:29 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> In order to work around this problem, I started printing empty strings
> (i.e. print "") so that the browser does not timeout.
How do you print something while doing the query and waiting for the results?
I saw some page
On 26 Apr 2007 14:48:29 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Is there a better solution to avoid browser timeouts?
Raising timeout in Apache, by default is 300 seconds.
Limiting jobs size (both in the html form and from script size since
you should not trust on client validations)
Bob Phillips wrote:
> You bottom posters really are a bunch of supercilious, self-righteous
> bigots.
Whatever. When reading answers to some statements normal people like first
to see the statement then the response, not the other way around. Just
because you're using broken tool (Outlook Expre
On 2 May 2007 07:14:04 -0700, redcic <[EMAIL PROTECTED]> wrote:
> And i get an out.txt file looking like:
> 1,2,3
> 10,20,30
> Whereas what I'd like to get is:
> 1,2,3,
> 10, 20, 30
> which is more readable.
The idea behind csv module is to produce and read csv files that are
"machine r
On 5/4/07, Leo Jay <[EMAIL PROTECTED]> wrote:
> i want to compile a python by myself, but after configure and make, it
> seems that md5 is not built by default.
>
> what should i do to compile md5 as an module?
md5 module was deprecated, now it functions are in hashlib.
(see http://docs.python.org
I would like to remove the namespace information from my elements and
have just the tag without this information. This
"{http://uniprot.org/uniprot}"; is preapended into all my output.
I understand that the solution is related with "_namespace_map" but I
don't know much more.
>>> for x in eleroot
I have this code:
import xml.parsers.expat
def start_element(name, attrs):
print 'Start element:', name, attrs
def end_element(name):
print 'End element:', name
def char_data(data):
print 'Character data:', repr(data)
p = xml.parsers.expat.ParserCreate()
p.StartElementHandler = start_e
I have 2 (or more) groups of elements, and I want to get all possible
unique combinations from all of them. Is there a build-in method to do
it?
ADictionary={"one":["A","B","C","D"],"two":["H","I"]}
I want to have all possible combinations from "one" and "two", that is:
AH
BI
CH
DI
AI
BH
CI
DH
On 8/15/07, Wildemar Wildenburger <[EMAIL PROTECTED]> wrote:
> Oh but it is:
> >>> ADictionary={"one":["A","B","C","D"],"two":["H","I"]}
> >>> result = set()
> >>> for one in ADictionary["one"]:
> ... for two in ADictionary["two"]:
> ... result.add(one + two)
That was easy :)
What abou
On 8/15/07, Mikael Olofsson <[EMAIL PROTECTED]> wrote:
> What is unclear here is in what order the keys should be visited. The
> following assumes that the keys should be considered in alphanumeric order.
Yes, my fault. The orden should be given by a string, like:
DCDBA
Using this dictionay.
A={'
On 8/19/07, W. Watson <[EMAIL PROTECTED]> wrote:
> Google? What's that? Thanks. I like to get a insider's view when I know
> experts are out there. So now I ask a deeper question. Are there matrix
> computation libraries or even statistical (regression, factor analysis)
> libraries?
If you are so
On 8/27/07, J. Cliff Dyer <[EMAIL PROTECTED]> wrote:
> Play with your log to get the range you want
Here you can get "true" random numbers (not pseudorandom, they claim
to use a quatum generaton (?)) by fetching them from:
http://random.irb.hr/
They give you a python class t insert into your code
Hello,
What are people using these days to generate HTML? I still use
HTMLgen, but I want to know if there are new options. I don't
want/need a web-framework a la Zope, just want to produce valid HTML
from Python.
Best,
SB.
--
Sebastián Bassi (セバスティアン). Diplomado en Ciencia y Tecnología.
Curso B
Hello,
Is there a graphic package for Python that provides support for box plots? (see
http://en.wikipedia.org/wiki/Box_plot and
http://en.wikipedia.org/wiki/Image:R-speed_of_light_boxplot.png for
information on box plots).
I have N sets of data, each with X "points".
Example:
Set 1:
Point 1: 0.
On 3/15/07, Rob Clewley <[EMAIL PROTECTED]> wrote:
> Matplotlib supports boxplots in a very straightforward fashion and is
> reasonably documented (just google it!) I actually just submitted a
> patch for extra boxplot features in matplotlib, which you can find on
> the sourceforge patch tracker.
On 17 Mar 2007 17:28:56 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I use os.system() to execute a system command in python.
> Can you please tell me how can I parse (in python) the output of the
> os.system() ?
Maybe you mean to parse the output of the program you run using
os.system.
On 3/18/07, bruce peng <[EMAIL PROTECTED]> wrote:
> how to redirect the putput of the
> program to a file?
like this:
program_name -parameters > outfile.txt
--
http://mail.python.org/mailman/listinfo/python-list
On 21 Mar 2007 12:18:50 -0700, Paddy <[EMAIL PROTECTED]> wrote:
> I just had a link to Tim peters first post on doctest:
> http://groups.google.com/group/comp.lang.python/msg/1c57cfb7b3772763
AFAIK, Google doesn't offer a permalink to usenet/group post (since a
mayor "upgrade" they made some
dmitrey wrote:
> if you want
> result = func1(func2(arg))
> you should use
> result = func1 (func2 arg)
This is in conflict with current meanig, Ergo it breaks old code
rgds
\SK
--
http://mail.python.org/mailman/listinfo/python-list
I was trying to install Python 2.5 compiling from sources. I used:
./compile
It run OK.
Then:
make altintall
After a lot of output, got this:
Listing /usr/local/lib/python2.5/xml/sax ...
Compiling /usr/local/lib/python2.5/xml/sax/__init__.py ...
Compiling /usr/local/lib/python2.5/xml/sax/_exception
On 4/3/07, Jaroslaw Zabiello <[EMAIL PROTECTED]> wrote:
> After executing
>./configure
> you have to edito
>Modules/Setup
> file and uncomment the following line:
> #zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz
> Then continue with normal make; make install.
Thank you. I
On 4/13/07, Jack <[EMAIL PROTECTED]> wrote:
> I wonder what everybody uses for Python editor/IDE on Linux?
> I use PyScripter on Windows, which is very good. Not sure if
> there's something handy like that on Linux. I need to do some
> development work on Linux and the distro I am using is Xubuntu.
I have a two column list like:
2,131
6,335
7,6
8,9
10,131
131,99
5,10
And I want to store it in a tree-like structure.
So if I request 131, it should return all the child of 131, like 2, 10
and 5 (since 5 is child of 10).
If I request 335, it should return: 6 and 7.
If I request 9, it should retu
On 14 Apr 2007 09:32:07 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> def tree_path(key,tree,indent):
> print '\t'*indent,key
> if tree.has_key(key):
> for m in tree[key]:
> tree_path(m,tree,indent+1)
> return
Thank you. It worked!.
I changed it a bit to re
On 4/15/07, Peter Otten <[EMAIL PROTECTED]> wrote:
> Depending on your input data you may need to add some cycle detection.
> For example, try it with
> tree_path(1, {1:[2], 2:[1]}, [])
I guess this should make the program enter into a endless loop. But
the data won't have such a redundancy, becau
On 15 Apr 2007 15:44:47 -0700, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> But errors and bugs do happen, inside data too; so often it's better
> to be on safe side if the safe code is fast enough.
Yes, I agree since I've seen lot of errors in data. But this data
comes from a taxonomy tree made
On 13 Apr 2007 21:14:36 -0700, Jia Lu <[EMAIL PROTECTED]> wrote:
> I donot want to use a real DB like MySQL ... But I need something to
> save about more than 1000 articles.
> Is there any good ways?
SQLite is a good option, as you were told. But what about put them in
a dictionary and then cPic
On 9/16/07, Stodge <[EMAIL PROTECTED]> wrote:
> python app1.py --location=c:\test1
> What I want to do is save the location parameter, so I can then do (in
> the same window):
> python app2.py
> And have app2.py automatically have access to the value of "location".
Do app1.py to save a pickle of t
On 9/17/07, Stodge <[EMAIL PROTECTED]> wrote:
> Good idea, but I can't guarantee that the two scripts will be run from
> the same directory - so where to store the pickle?
It doesn't matter if is the same directory or not, as long as both
programs has access to the pickle file (one program should
On 10/18/07, Adam Atlas <[EMAIL PROTECTED]> wrote:
>
> Use the builtin function "eval".
What is the difference with os.system()?
--
Sebastián Bassi (セバスティアン). Diplomado en Ciencia y Tecnología.
Curso Biologia molecular para programadores: http://tinyurl.com/2vv8w6
GPG Fingerprint: 9470 0980 620D
Hello,
I found http://www2.sfk.nl/svg as a Python module for writing SVG.
Last update was in 2004 and I am not sure if there is something
better.
Any recommendation for generating SVG graphics?
Best,
SB.
--
http://mail.python.org/mailman/listinfo/python-list
I'm happy to report the release of a PLOS paper: "A Primer on Python
for Life Science Researchers".
It is a six page education paper introducing Python. If you have a
friend that is a researchers in a biological area and you think that
he may need to know Python, please send him this e-mail:
URL:
hi all,
Is there any script or module in python where we can find the centre of mass
of protein?
--
http://mail.python.org/mailman/listinfo/python-list
Jeff Schwab wrote:
>> You like managing your own memory, be my guest. But please don't
>> imply that you're putting forth less effort because of it. You're
>> just putting forth different effort.
>
> I disagree with you completely. Your points don't make any sense to me
> at all. I believe I a
Hello,
I know there is one site with wikimedia software installed, that is
made for comparing the syntax of several computer languages (Python
included). But don't remember the URL. Anyone knows this site?
--
Sebastián Bassi (セバスティアン). Diplomado en Ciencia y Tecnología.
Curso Biologia molecular
On 2/26/08, Andreas Tawn <[EMAIL PROTECTED]> wrote:
> Maybe http://www.rosettacode.org ? That's a wiki.
YES!!!. Thank you!!
--
Sebastián Bassi (セバスティアン). Diplomado en Ciencia y Tecnología.
Curso Biologia molecular para programadores: http://tinyurl.com/2vv8w6
GPG Fingerprint: 9470 0980 620D ABFC
I don't understand what is wrong when I try to install ReportLab. This
is under Ubuntu and all build packages are installed.
Here is what I get when trying to install it: (I could install it with
apt-get, but I am testing virtualenv and easy_install).
(testbio149)vi...@maricurie:~/Public/testbio14
On Sun, Feb 22, 2009 at 10:07 AM, Garrett Cooper wrote:
>It's not building lib_renderPM_libart properly, or it's a typo
> that supposed to be librenderPM_libart, or bad LDFLAGS...
>More details need to be provided like an ls of your site-packages
> directory and a partial ls of your local
Michael_D_G wrote:
how do I refute
the notion that Python
is a "marginal" language because according to TOBIE it only less than
a 6% market share.
According to the same TIOBE, C++ has less than 11%. So it must be niche
then as well :)
--
"Never underestimate the power of human stupidity" --
On Thu, Jan 1, 2009 at 2:19 PM, Barak, Ron wrote:
> I have a very big text file: I need to find the place where the last line
> begins (namely, the offset of the one-before-the-last '\n' + 1).
> Could you suggest a way to do that without getting all the file into memory
> (as I said, it's a big fi
On Wed, Jan 7, 2009 at 6:42 PM, Oltmans wrote:
> I'm writing a program in which I will ask users to enter user name and
> password once only. It's a console based program that will run on
In general you don't store the password, but a "hash" of it. Then when
the user logs-in, you hash it and comp
At Thu, 16 Oct 2008 18:21:38 +0200 wrote Bruno Desthuilliers
<[EMAIL PROTECTED]>:
>> It doesn't look like there's
>> any way to browse the subversion any more, though.
>
> Doh :(
>
> Is there any way to get this version then ???
svn co https://python-mode.svn.sourceforge.net/svnroot/python-mode/
On Tue, Oct 21, 2008 at 2:50 PM, Paulo J. Matos <[EMAIL PROTECTED]> wrote:
> I was just wondering, if you wish to commercialize an application
> developed in Python, what's the way to go?
You choose the conditions. Nothing in Python license prevents you of
selling your work.
> I guess the only wa
If I put IDLE in the search box at python.org, the first hit is:
http://www.python.org/idle/
But this page is a directory without any index file:
Index of /idle
Icon NameLast modified Size
Description[DIR] Parent Directory -
[ ] Makefile
On Wed, Oct 22, 2008 at 3:49 AM, Terry Reedy <[EMAIL PROTECTED]> wrote:
> Depending on the answer you get here, you might send the same observation
> and question to [EMAIL PROTECTED]
OK, I've just sent it. Thank you.
--
http://mail.python.org/mailman/listinfo/python-list
t work.
I'd like to keep a consistent doctest documentation here and not spawn
my project with additional test modules or similar.
Any idea on how I can make it work like as if it would be called from
the interactive interpreter? The documentation and Google were not too
helpful.
ps. Sys: Linux, P
On Mon, Mar 23, 2009 at 9:15 PM, Muddy Coder wrote:
> I wonder that does Python have certificate? You see, java, .NET, PHP,
> and so on, they have certificates for developers to get. Python is
> quite popular nowadays, I wonder is there such a thing? If so, I
> certainly want to get one. I searche
> I have a subclass of int where I want all the standard arithmetic
> operators to return my subclass, but with no other differences:
>
> class MyInt(int):
> def __add__(self, other):
> return self.__class__(super(MyInt, self).__add__(other))
> # and so on for __mul__, __sub__, e
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
[...]
> I've been trying
>
> while(len(orders)> i):
> ui.tb1_tblOrders.setCurrentCell(i,0,orders[i][1])
> i+=1
>
> which to me, says go add in the first column row with the first order,
> and it makes sense to me
Rea
1 - 100 of 255 matches
Mail list logo