Terry Hancock wrote:
> On 18 Jan 2006 18:05:18 -0800
> "Obaid R." <[EMAIL PROTECTED]> wrote:
> > I hope it is not counted against me that I am the first
> > one to point out that the logo is shaped like a cross.
> [...]
>
> Hey, looks more like a Yin-Yang symbol to me. ;-)
True. But I hope you ar
Christoph Zwerschke wrote:
> Sometimes I was missing such a feature.
> What I expect as the result is the "cartesian product" of the strings.
I've been thinking of it as well. I'd like it for lists too:
>> range(3)**2
[(0,0), (0,1), (0,2), (1,0), (1,1), (1,2), (2,0), (2,1), (2,2)]
--
Giovanni
� wrote:
> Steve Holden wrote:
>
>>>Tim Golden wrote:
>>>
>>>
[Steve Holden]
| https://svn.python.org/www/trunk/beta.python.org
| but I don't know whether anonymous access is enabled. Maybe you can
let
|me know ...
Doesn't look like it. Asking me for authen
Paul Rubin wrote:
> Tom Anderson <[EMAIL PROTECTED]> writes:
>
>>>listx/dictx/setx would be the display forms as well as the constructor forms.
>>
>>Could these even replace the current forms? If you want the equivalent
>>of list(sometuple), write list(*sometuple).
>
>
> The current list functi
Peter wrote:
>>From http://www.python.org/doc/2.4.2/ go to the Library reference
> http://www.python.org/doc/2.4.2/lib/lib.html from there to the index
> (i) at http://www.python.org/doc/2.4.2/lib/genindex.html. In the index
> select 'p' and click to reach
> http://www.python.org/doc/2.4.2/lib/typ
"J" <[EMAIL PROTECTED]> writes:
> I hope the title of this message indicates my question. I am looking
> for basic
> array functionality in Python and it turns out that there are all these
> packages which
> are somehow related. Some are allegedly discontinued but still seem to
> get updated.
It
Obaid R. wrote:
> Terry Hancock wrote:
>
>>On 18 Jan 2006 18:05:18 -0800
>>"Obaid R." <[EMAIL PROTECTED]> wrote:
>>
>>>I hope it is not counted against me that I am the first
>>>one to point out that the logo is shaped like a cross.
>>
>>[...]
>>
>>Hey, looks more like a Yin-Yang symbol to me. ;-)
Paul Boddie napisał(a):
> There are certain ways to override the autodetection in use within that
> module, and a DESKTOP_LAUNCH environment variable can also be set to
> configure its behaviour further. Unfortunately, attempts to confirm the
> standardisation status of that variable failed to cut
Xavier Morel wrote:
> Well, some people have been crazy enough lately to generate more or less
> imageless bar graphs though, see Eric Meyer's "Bar Graphs with Style"
> (http://meyerweb.com/eric/thoughts/2005/12/20/bar-graphs-with-style/)
> for more informations on the subject
> (http://meyerwe
Paul Rubin wrote:
> signal processing, for example. Perhaps it could be improved by being
> more explicit about what the reader needs to know, and giving
> references to other books where the prerequisites can be found.
There are lots of good explanations, graphs, diagrams and such things
in the
On Sat, 21 Jan 2006, Robert Kern wrote:
> Tom Anderson wrote:
>
>> Pardon my failure to RTFM, but does NumPy pick up the vecLib BLAS on Macs?
>
> Yes.
Excellent, thanks.
tom
--
forget everything from school -- you are programmer
--
http://mail.python.org/mailman/listinfo/python-list
If I create a Tkinter.Entry widget, I can adjust the background and the
text colours, using the background and foreground options. However, if
the state is "disabled", then this has no effect and it just appears as
grey on a light grey background. E.g.,
Tkinter.Entry(root, foreground="black", ba
Martyn Quick wrote:
> If I create a Tkinter.Entry widget, I can adjust the background and the
> text colours, using the background and foreground options. However, if
> the state is "disabled", then this has no effect and it just appears as
> grey on a light grey background. E.g.,
>
> Tkinter.En
> > > If I see this correctly, Fredrik would volonteer to (help) implement
> > > something that imports the current python.org content into a Wiki.
> >
> > Exactly.
>
> I don't really have time for this tonight, and I've spent more time copying
> and pasting stuff than working on the converter, but
Tim Peters wrote:
> [Kay Schluehr]
> > I concur and I wonder why CAS like e.g. Maple that represent floating
> > point numbers using two integers [1] are neither awkward to use nor
> > inefficient.
>
> My guess is that it's because you never timed the difference in Maple
> -- or, perhaps, that you
Robert Kern wrote:
> J wrote:
> > I will just jump in an use NumPy. I hope this one will stick and evolve
> > into the mother of array packages.
> > How stable is it ? For now I really just need basic linear algebra.
> > i.e. matrix multiplication, dot, cross etc
Same concern for me.
I discovere
Hey, I've been searching for something like a PyOpenGL implementation
that allows Python to use OpenGL, found only a few projects and most
are either in beta and dead, or alpha stage.
Anyone knows a package thats currently being worked on and is
functional?
Thanks
--
http://mail.python.org/mailma
NaeRey wrote:
> Hey, I've been searching for something like a PyOpenGL implementation
> that allows Python to use OpenGL, found only a few projects and most
> are either in beta and dead, or alpha stage.
> Anyone knows a package thats currently being worked on and is
> functional?
> Thanks
>
Some
NaeRey wrote:
> Hey, I've been searching for something like a PyOpenGL implementation
> that allows Python to use OpenGL, found only a few projects and most
> are either in beta and dead, or alpha stage.
http://pyopengl.sourceforge.net/
--
http://mail.python.org/mailman/listinfo/python-list
<[EMAIL PROTECTED]> wrote:
...
> thanks. So in this special case, None is being treated as a "flag"
> rather than just an instance(I just read the doc) like any other
> instance and the behaviour is intended. Is there any reason why it is
> designed this way ?
I didn't yet know Python back when
I am running the following code:
import socket
host = '9.9.45.103'
port = 10001
conn = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
conn.connect((host, port))
When conn.connect() is run, there can be two different exceptions:
socket.error: (10061, 'Connection refused')
socket.error: (1006
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tim Parkin wrote:
> [...] Thanks for installing pyramid! Can
> you give me any feedback on what parts of the install process were
> painful..
There was nothing particularly painful.
I tried to avoid having to install everything manually and to use th
Giovanni Bajo wrote:
> Christoph Zwerschke wrote:
>
> > Sometimes I was missing such a feature.
> > What I expect as the result is the "cartesian product" of the strings.
>
> I've been thinking of it as well. I'd like it for lists too:
>
> >> range(3)**2
> [(0,0), (0,1), (0,2), (1,0), (1,1), (1,2)
I am converting TIFF images of patents to PDF files. Each patent comes
in about 20 seperate TIFF images and I want to put them all in the one
PDF file. Is there a way to do this? Using the Image library I think
you can only convert individual TIFF images to PDF?
Maybe there is a way of concatinati
If you notice the project died, being latest release Jan2 2005. Thats
over a year old.
--
http://mail.python.org/mailman/listinfo/python-list
Flushing to stdout doesn't seem to work anyway.
Honestly have no idea how you'd implement it in Javascript so might
have an ask on one of their forums...
--
http://mail.python.org/mailman/listinfo/python-list
"NaeRey" wrote:
> If you notice the project died, being latest release Jan2 2005. Thats
> over a year old.
so? OpenGL itself hasn't had a release since 2004. that's even more dead.
--
http://mail.python.org/mailman/listinfo/python-list
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I've also done some experimentation this weekend, and my solution would
be based on MoinMoin and KID.
Fredrik Lundh wrote:
> [...] and a more
> extensive (but still rough) translation is available here:
>
> http://effbot.org/pydotorg/
>
> the s
Alex Martelli wrote:
> Guido has mused about abolishing "unbound methods" (in 3.0, I guess), so
> there's hope for the future. But a more complete 'partial' is likely to
> be acceptable sooner than any fix to bound/unbound methods: I suspect
> the only ingredient that's missing is a generous help
Kay Schluehr <[EMAIL PROTECTED]> wrote:
...
> > >> range(3)**2
> > [(0,0), (0,1), (0,2), (1,0), (1,1), (1,2), (2,0), (2,1), (2,2)]
...
> But why isn't this interpreted as [0, 1, 4] like it is in Mathematica?
Since range(3)*2 is [0, 1, 2, 0, 1, 2], it would be horribly, painfully
inconsistent
Harlin Seritt <[EMAIL PROTECTED]> wrote:
> except socket.error:
> code goes here...
>
> Of course, though, these are two separate error messages under the same
> error handler though. I've tried:
>
> except socket.error, (10061, 'Connection refused'):
> and
> except (socket.error, 10061, 'Co
Terry Reedy wrote:
>
> "F. GEIGER" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> I'm on .NET/CLR2.0 and would like to use some stuff from w/i Python. The
>> "Python for .NET" file name suggests that CLR1.1 is needed. Is that
>> right? Any known plans to change this?
>
> Most r
Kay Schluehr schrieb:
> But why isn't this interpreted as [0, 1, 4] like it is in Mathematica?
Because we are thinking of a cartesian product. If you have lists of
numbers, then there are mane more ways to define a product: tensor
product, vector product, scalar product, componentwise product...
F. GEIGER wrote:
>
> Sorry, for not being precise about "Python for .NET": I didn't mean
> IronPython, which I'am aware of, I meant
> http://www.zope.org/Members/Brian/PythonNet
>
> Kind regards
> Franz GEIGER
Python for .NET has a separate list, see:
http://mail.python.org/mailman/listinfo/python
Alex Martelli wrote:
> Kay Schluehr <[EMAIL PROTECTED]> wrote:
>> range(3)**2
>> But why isn't this interpreted as [0, 1, 4] like it is in Mathematica?
>
> Since range(3)*2 is [0, 1, 2, 0, 1, 2], it would be horribly, painfully
> inconsistent if **2 was interpreted as "square each item".
Yes. Pyt
Christoph Zwerschke <[EMAIL PROTECTED]> wrote:
...
> given length. You could get a 6/49 lotto tip with something like:
>
> choice(set(range(49)).powerset(6))
And that would be better than the current random.sample(range(49),6) in
WHAT ways, exactly...?
Alex
--
http://mail.python.org/mailman
Thanks Tim, Yeah win32api is working normally.
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] (Alex Martelli) writes:
> > given length. You could get a 6/49 lotto tip with something like:
> > choice(set(range(49)).powerset(6))
>
> And that would be better than the current random.sample(range(49),6) in
> WHAT ways, exactly...?
I think the first one would be incorrect sinc
On Sun, 22 Jan 2006 18:29:45 +0100, Christoph Zwerschke wrote:
> Alex Martelli wrote:
>> Kay Schluehr <[EMAIL PROTECTED]> wrote:
>>> range(3)**2
>>> But why isn't this interpreted as [0, 1, 4] like it is in Mathematica?
>>
>> Since range(3)*2 is [0, 1, 2, 0, 1, 2], it would be horribly, painfully
Alex Martelli schrieb:
> Christoph Zwerschke <[EMAIL PROTECTED]> wrote:
>...
>> given length. You could get a 6/49 lotto tip with something like:
>>
>> choice(set(range(49)).powerset(6))
> And that would be better than the current random.sample(range(49),6) in
> WHAT ways, exactly...?
You're
Steven D'Aprano wrote:
> On Sun, 22 Jan 2006 18:29:45 +0100, Christoph Zwerschke wrote:
>> For doing such things I would use a vector subtype of list.
>
> Not everything needs to be a separate class! Why create a magic class for
> every piece of functionality you want? Just create functions that o
Paul Rubin schrieb:
> [EMAIL PROTECTED] (Alex Martelli) writes:
>>> given length. You could get a 6/49 lotto tip with something like:
>>> choice(set(range(49)).powerset(6))
>> And that would be better than the current random.sample(range(49),6) in
>> WHAT ways, exactly...?
>
> I think the first on
funkyj wrote:
> making the config file XML and using xml.dom is another option,
> although XML is a bit ugly to edit by hand.
> --jfc
>
I am seriously intrigued by ConfigObj. I am currently using an crude
improvisation involving tab-delimited fields to store metadata for
recordings -- not conf
ReportLab maybe?
http://www.reportlab.org/rl_toolkit.html
--
http://mail.python.org/mailman/listinfo/python-list
Thanks v. much.
I'd missed that in the documentation I have access to.
Martyn
--
http://mail.python.org/mailman/listinfo/python-list
Fredrik Lundh wrote:
> (or maybe the entire site should be a run via a web framework with good
> support for caching, such as
>
> http://www.djangoproject.com/documentation/cache/
>
> any django hackers around with some cycles to spare ? )
Yeah, I or other Django folks would be quite happy to
Christoph Zwerschke <[EMAIL PROTECTED]> writes:
> No, the elements of the powerset would be sets with 6 elements each,
> not tuples. So technically, it would be correct. Just horribly
> inefficient.
Oh I see, not the Cartesian product. Yeah, it would be silly in
practice.
--
http://mail.python.o
Fredrik Lundh wrote:
If I see this correctly, Fredrik would volonteer to (help) implement
something that imports the current python.org content into a Wiki.
>>> Exactly.
>> I don't really have time for this tonight, and I've spent more time copying
>> and pasting stuff than working on the
Checking a couple of examples I tried changing the Tkinter mouse cursor
to indicate a busy state while my app is pushing/pulling xmlrpc data.
It doesn't seem to make a difference as I don't notice the cursor
actually change in the span of the 3-5 second transaction. I tried
changing the cursor of t
Steven D'Aprano <[EMAIL PROTECTED]> wrote:
...
> What advantage is there to creating a "list with cartesian product"
> subclass of list?
Essentially, syntax sugar -- for some people, being able to code a*b
rather than product(a,b) takes on a huge significance; Python chooses to
support this syn
Christoph Zwerschke <[EMAIL PROTECTED]> wrote:
> Alex Martelli schrieb:
> > Christoph Zwerschke <[EMAIL PROTECTED]> wrote:
> >...
> >> given length. You could get a 6/49 lotto tip with something like:
> >>
> >> choice(set(range(49)).powerset(6))
>
> > And that would be better than the current
Gerhard Häring wrote:
>
> The other part of my experiment was a stupid build system that
> recursively looks for KID files in a directory tree and renders them to
> HTML.
>
> My idea is that for each KID file there would be a corresponding
> content.xml file that would come from the MoinMoin dump-
Generally, if you could multiply strings in the above fashion, you could
spare one more more sub loops, as in this example:
for f in ('index', 'default')*('.html', '.htm', '.shtml'):
if exists(f):
break
In this case, it would be not really be better than that:
for f in '
Alex Martelli wrote:
> what I've done in such situations is
>
> except socket.error, e:
> if e.errno == 10061:
> ...
> elif e.errno == 10060:
> ...
> else:
> raise
>
> Not sure the code in a socket.error has attributename 'errno', but I
> hope you get the general idea.
If it
On Sun, 22 Jan 2006 10:41:39 -0800, Alex Martelli wrote:
> Steven D'Aprano <[EMAIL PROTECTED]> wrote:
>...
>> What advantage is there to creating a "list with cartesian product"
>> subclass of list?
>
> Essentially, syntax sugar -- for some people, being able to code a*b
> rather than product
Alex Martelli schrieb:
>> s = set(range(49)).powerset(6)
>> for x in range(10):
>> print s.pop()
>
> This is very systematic, not random;-). Still, using random.sample on s
> would indeed produce 12 random different tips!-)
Right, that would be systematic. What I wanted to write was:
s = s
Steven D'Aprano wrote:
> I beg to differ: Python *allows* people to create classes if they're keen
> on the syntax (and I can sympathise with that like), but Python
> *encourages* by example generic tools that operate on as many different
> types as makes sense.
But these generic tools (say the "p
Please disregard. I just issued an update() method call to refresh the
GUI. This in turn displayed the proper mouse cursor that was being set
with the config(cursor=xxx) method.
--
http://mail.python.org/mailman/listinfo/python-list
Tim Parkin wrote:
> It sounds very similar to what we have already built!! What we have also
> parses yaml files, rest files, inline rest content, has special
> renderers for navigation and breadcrumbs and handles cacheing of built
> data to speed generation.
except that it isn't: you're talking
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Alex Martelli) wrote:
> Harlin Seritt <[EMAIL PROTECTED]> wrote:
>
> > except socket.error:
> > code goes here...
> >
> > Of course, though, these are two separate error messages under the same
> > error handler though. I've tried:
> >
> >
On Sun, 22 Jan 2006 19:12:49 +0100, Christoph Zwerschke wrote:
> Steven D'Aprano wrote:
>> On Sun, 22 Jan 2006 18:29:45 +0100, Christoph Zwerschke wrote:
>>> For doing such things I would use a vector subtype of list.
>>
>> Not everything needs to be a separate class! Why create a magic class for
Sébastien Boisgérault wrote:
> By the way, I tried numpy 0.9.4 10 minutes ago and guess
> what ? 'eigenvalue' is broken too ... (hangs forever)
On what platform? Are you linking against an optimized BLAS? We can't fix
anything without details. I'll be happy to work with you on this bug over on th
Bengt Richter wrote:
> On Thu, 19 Jan 2006 23:16:57 -0500, Peter Hansen <[EMAIL PROTECTED]> wrote:
> How about something like
>
> >>> actions = dict(
> ...a=compile('print "A"; state="b"','','exec'),
> ...b=compile('print "B"; state="c"','','exec'),
> ...c=compile('print "C"; stat
Hi!I was wondering is it possible to find out which colour is dominant in an image using PIL? It would be very easy to create interesting mozaic images with that :)Thanks, Sebastjan
--
http://mail.python.org/mailman/listinfo/python-list
Steven D'Aprano wrote:
> If you are happy to always return a list of tuples regardless of what the
> two operands are, generators make it so easy it is shameful. Even if you
> want a special case of two string arguments returning a string, it is
> hardly any more difficult:
>
> def cartprod(A, B):
Thanks all, i've perfectly undestand the way. Thanks again.2006/1/19, Luis Miguel Morillas <[EMAIL PROTECTED]>:
2006/1/19, Sbaush <[EMAIL PROTECTED]>:
Hi all.I've this XML:
127.0.0.1"/> How can i write this in a Python String? I would l
>> But sheesh, if I objected to every picture of the moon I
>> see (or pictures that vaguely resemble a moon), I would be
>> in a very sad state.
>
> But you see Terry, the point is not that it is just a picture. And
> let's not forget that as far as we know the moon has always been a
> natural par
Hello,
just to announce a new version of Multiplication Station available at
http://www.asymptopia.org. Multiplication Station is an OpenSource math
education game. It will teach your child basic maths, guaranteed. It is
multi-user, has a countdown timer and tracks high scores. All
parameters are
> Basically all I need is vectors and 3x3 matrices.
hmm
is numpy really efficient for 3x3 (or 4x4) matrices and vectors?
IMHO an optimized matrix4x4 class can be much faster (i'm just guessing
here)
eg cgtypes is a simple c++ implementation with boost-python wrapper:
http://cgkit.sourceforge.ne
I appologize for suggesting (though very humbly) a syntax extension
(maybe particularly idiotic) but just as a wild fantasy, what would you
think about this:
as a substitute for filter, people often use
[x for x in y if z(x)]
The suggestion is that the same result could be achieved by
[x in y if z(
Thanks for the effort on this last post, Roy. You asked what I was
hoping to do differently on these two very minutely different error
messages. What I have been trying to do for some time is to write a
ping client (for Win32 platform -- Yes, I develop almost exclusively
for Win32 environment, unfo
palo on comp.lang.python said:
> The suggestion is that the same result could be achieved by
> [x in y if z(x)]
It's just a special case... and it saves very few carachters... I don't
think it would justify an update to the parser. What if you want to do
something like:
[str(x) for x in y if z(
Hi everybody,
I need write an application in c#, but i wnat to use some functions
that i have already written in python. Is there an "easy" way to call
my python code from c#? I must use COM or there are other ways? And, if
COM is the only way, where can i find some tutorials or examples? I've
neve
you'd save more characters in
[not_very_convenient_name for not_very_convenient_name in y if z]
(just kidding)
--
http://mail.python.org/mailman/listinfo/python-list
you'd save more in
[not_very_convenient_name for not_very_convenient_name in y if z]
(just kidding)
--
http://mail.python.org/mailman/listinfo/python-list
Fredrik Lundh wrote:
>
> for the curious, I've found a few more spare 15-minute slots, and a more
> extensive (but still rough) translation is available here:
>
> http://effbot.org/pydotorg/
I've also been messing around with different content sources, and the
results can be viewed here:
http
Writing COM Servers is not hard
http://www.python.org/windows/win32com/QuickStartServerCom.html
IronPython is the other way.
Choose COM Server approach if you are using the a lot of standard
library functions (as I recall IronPython is not complete here, yet).
Definitely choose this approach if y
Sorry, I can't get in. Can you please show me, how to use your approach
on the simple push/push ON/OFF button for example please?
PS: seriously it is not a homework :) and I feel it like a shame I am
asking such a simple questions :(
States: ON, OFF
Transition event: "push", "lift"
transition di
Anton Vredegoor wrote:
> Paul Rubin wrote(>>):
[...]
> All of the books writers seem to have not caught up with the idea of
> hyperlinks and continue to dwell in neolithical paper dreams :-)
>
> If they only woke up and let someone like me write some Visual Python
> code to illustrate the algori
"Harlin Seritt" <[EMAIL PROTECTED]> wrote:
> I am finding that with the many quirks (and really bad foundation for
> Win32 APIs) that I am having to write a lot of voodoo code so to speak.
Yeah, tell me about it. My current project at work is porting our IPv6
management package (including ICMP p
In article <[EMAIL PROTECTED]>,
JW <[EMAIL PROTECTED]> wrote:
>
>Agreed. The main page should be like a slick book cover. It should grab
>you and leave you wanting more. I think the beta page does that pretty
>well.
>
> [...]
>
>Of course, I'm a minimalist. I understand techy types want the d
In article <[EMAIL PROTECTED]>,
Fredrik Lundh <[EMAIL PROTECTED]> wrote:
>
>for the curious, I've found a few more spare 15-minute slots, and a more
>extensive (but still rough) translation is available here:
>
>http://effbot.org/pydotorg/
>
>the sample site contains ~600 pages. each page has
Szabolcs Nagy wrote:
>>Basically all I need is vectors and 3x3 matrices.
>
>
> hmm
> is numpy really efficient for 3x3 (or 4x4) matrices and vectors?
>
> IMHO an optimized matrix4x4 class can be much faster (i'm just guessing
> here)
>
> eg cgtypes is a simple c++ implementation with boost-pyth
I use python for .NET in some applications... I've always used it for
using c# code from python (but i had some problems using it with py2exe
and win2000). I'll try using it the other way (c# calling python).
I also thought about trying ironpython, but it's too young for my work
projects...
The CO
On 1 Jan 2006 08:15:42 -0800, LocaWapp <[EMAIL PROTECTED]> wrote:
http://cheeseshop.python.org/packages/source/L/LocaWapp/locawapp-03.tar.gz
Not Found
The requested URL /packages/source/L/LocaWapp/locawapp-03.tar.gz was not found on this server.
-- ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~Runsun
Hello, I am writing a script that will organize all the code in the
given directory. Well, currently I have it make dir's with something
like:
os.mkdir("C")
os.mkdir("Python")
os.mkdir("ASM")
And so on. That is not very practical, and I wish to change it. I was
wondering if there were any other m
Fredrik Lundh wrote:
>Tim Parkin wrote:
>
>
>
>>It sounds very similar to what we have already built!! What we have also
>>parses yaml files, rest files, inline rest content, has special
>>renderers for navigation and breadcrumbs and handles cacheing of built
>>data to speed generation.
>>
>
sophie_newbie wrote:
> I am converting TIFF images of patents to PDF files. Each patent comes
> in about 20 seperate TIFF images and I want to put them all in the one
> PDF file. Is there a way to do this? Using the Image library I think
> you can only convert individual TIFF images to PDF?
>
> Ma
sophie_newbie schrieb:
> Flushing to stdout doesn't seem to work anyway.
>
> Honestly have no idea how you'd implement it in Javascript so might
> have an ask on one of their forums...
>
I think you need HTTP push to update the client page. See
http://wp.netscape.com/assist/net_sites/pushpull.ht
In <[EMAIL PROTECTED]>, sophie_newbie
wrote:
> I am converting TIFF images of patents to PDF files. Each patent comes
> in about 20 seperate TIFF images and I want to put them all in the one
> PDF file. Is there a way to do this? Using the Image library I think
> you can only convert individual TI
yawgmoth7 wrote:
> And so on. That is not very practical, and I wish to change it. I was
> wondering if there were any other methods to which I could do this, I
> was thinking maybe I could put the dir names in a dictionary then have
> something like:
> os.mkdir(thedictname)
Why not use a loop?
d
Steve Holden wrote:
[...snipped a long and very helpful post addressing some
questions I had regarding the nature of an object's value
in python...]
Sorry for the belated reply Steve (I had some access
problems) but did want to let you know I found that post
very informative, and wanted to thank
palo wrote:
> ... what would you think about this:
> as a substitute for filter, people often use
> [x for x in y if z(x)]
> The suggestion is that the same result could be achieved by
> [x in y if z(x)]
In the original syntax, if z(x) is always true,
you can leave the "if z(x)" part away, wh
Reasons why it still won't work:
* Firewall
* Unknown-modes-operating-systems-get-into
Yeah, I dont think these things can be avoided. Nonetheless, if I can
come up with some way (via help from this group--thank God!) to find if
the node is up (barring the two aforementioned reasons), I am doing
yawgmoth7 wrote:
> Hello, I am writing a script that will organize all the code in the
> given directory. Well, currently I have it make dir's with something
> like:
>
> os.mkdir("C")
> os.mkdir("Python")
> os.mkdir("ASM")
>
> And so on. That is not very practical, and I wish to change it. I was
yawgmoth7 wrote:
> Hello, I am writing a script that will organize all the code in the
> given directory. Well, currently I have it make dir's with something
> like:
>
> os.mkdir("C")
> os.mkdir("Python")
> os.mkdir("ASM")
>
> And so on. That is not very practical, and I wish to change it. I was
I'm trying to convert fragments of wiki markup into fragments of html
(specifically using moinmoin markup). I've managed to do this with
MoinMoin but I've had to create a data directory, config file and
underlay. Does anybody know if there a sane way of doing this without
the extra baggage?
Tim Pa
yawgmoth7 wrote:
> os.mkdir("C")
> os.mkdir("Python")
> os.mkdir("ASM")
>
> And so on. That is not very practical, and I wish to change it. I was
> wondering if there were any other methods to which I could do this, I
> was thinking maybe I could put the dir names in a dictionary then have
> somet
Sorry for the typo in my previous posting. Of course it has to be:
simple liftt/push ON/OFF button
--
http://mail.python.org/mailman/listinfo/python-list
Steve Holden wrote:
> [EMAIL PROTECTED] wrote:
[...snip...]
> Well, perhaps if you'd read the intro to the documentation (more
> carefully), or if you were more used to reading programming manuals,
> you'd quickly have recognised
>
> [, path]
>
> as meaning precisely that the path argument is
1 - 100 of 134 matches
Mail list logo