Hi All
i am trying to build up a set of subprocess.Ponen calls to
replicate the effect of a horribly long shell command. I'm not clear
how I can do one part of this and wonder if anyone can advise. I'm on
Linux, fairly obviously.
I have a command which (simplified) is a tar -c command piped th
Hi Hans
thanks a lot for your reply:
> That's what 'xargs' will do for you. All you need to do, is invoke
> xargs with arguments containing '{}'. I.e., something like:
>
> cmd1 = ['tar', '-czvf', 'myfile.tgz', '-c', mydir, 'mysubdir']
> first_process = subprocess.Popen(cmd1, stdout=subproces
slight followup ...
I have made some progress; for now I'm using subprocess.communicate to
read the output from the first subprocess, then writing it into the
secodn subprocess. This way I at least get to see what is
happening ...
The reason 'we' weren't seeing any output from the second call (th
On Nov 12, 4:58 pm, Rebelo wrote:
> Dana četvrtak, 8. studenoga 2012. 19:05:12 UTC+1, korisnik jkn napisao je:
>
> > Hi All
>
> > i am trying to build up a set of subprocess.Ponen calls to
>
> > replicate the effect of a horribly long shell command. I'm no
Hi Hans
On Nov 12, 4:36 pm, Hans Mulder wrote:
> On 12/11/12 16:36:58, jkn wrote:
>
>
>
>
>
>
>
>
>
> > slight followup ...
>
> > I have made some progress; for now I'm using subprocess.communicate to
> > read the output from the first su
Hi Hans
[...]
>
> > xargsproc.append("test -f %s/{} && md5sum %s/{}" % (mydir,
> > mydir))
>
> This will break if there are spaces in the file name, or other
> characters meaningful to the shell. If you change if to
>
> xargsproc.append("test -f '%s/{}' && md5sum '%s/{}'"
>
Hi Hans
[...]
>
>
> However, once he does that, it's simpler to cut out xargs and invoke
>
> "sh" directly. Or even cut out "sh" and "test" and instead use
>
> os.path.isfile and then call md5sum directly. And once he does that,
>
> he no longer needs to worry about single quotes.
>
Yes i
Hi Pierre
this looks very interesting, thanks. But I wonder ... do you know of pyjs
(pyjamas as-was)? http://pyjs.org/
I would be interested in a comparison between (the aims of) Brython and pyjs.
Either way, thanks for the info.
Regards
Jon N
--
http://mail.python.org/mailman/list
Hi all
I have to write python code which must run on an old version of
python (v2.4) as well as a newer (v2.7). I am using pylint and would
like to check if is possible to check with pylint the use of operators
etc. which are not present in 2.4; the ternary operator springs to
mind.
I haven't
Hi Dave
On 11 Jan, 15:06, Dave Angel wrote:
>
> Not sure what you mean by beforehand. Don't you run all your unit tests
> before putting each revision of your code into production? So run those
> tests twice, once on 2.7, and once on 2.4. A unit test that's testing
> code with a ternary operat
Hello there
is it possible to have multiple namespaces within a single python
module?
I have a small app which is in three or four .py files. For various
reasons I would like to (perhaps optionally) combine these into one
file. I was hoping that there might be a simple mechanism that would
le
Hi Peter
On Feb 9, 7:33 pm, Peter Otten <__pete...@web.de> wrote:
> jkn wrote:
> > is it possible to have multiple namespaces within a single python
> > module?
>
> Unless you are abusing classes I don't think so.
>
> > I have a small app which i
Hi Peter
On Feb 10, 11:10 am, Peter Otten <__pete...@web.de> wrote:
[...]
> > Hmm ... thanks for mentioning this feature, I didn't know of it
> > before. Sounds great, except that I gather it needs Python >2.5? I'm
> > stuck with v2.4 at the moment unfortunately...
>
> You can import and run exp
Also unrelated to the OP, but a far superior Commnad line interface to
Windows is the (unhelpfully-named) 'console' program:
http://sourceforge.net/projects/console/
This has tabbed windows, preset directory navigation, good copy/paste
facilities, the ability to configure different shells, et
Hi All
I'm clearly not understanding the 'can't pickle instancemethod
objects' error; can someone help me to understand, & maybe suggest a
workaround, (apart from the obvious if ... elif...).
I'm running Python 2.6 on an embedded system.
== testpickle.py ==
import pickle
class Test(object):
Hi Peter
On Apr 3, 8:54 am, Peter Otten <__pete...@web.de> wrote:
> jkn wrote:
> > I'm clearly not understanding the 'can't pickle instancemethod
> > objects' error; can someone help me to understand,
>
> I think classes implemented in C need som
On May 22, 10:30 am, Python Recruiter wrote:
> If any one can recommend, I will pay a £100 recom fee for any
> successful placements.
aHaHaHaHaHa...
And what percentage will you be charging your client? 15 percent? 25
percent?
Even if you were to offer 15% of your (say) 15% commission you shou
On Apr 1, 4:38 pm, Brad wrote:
> Hi All,
>
> I've heard of Java CPUs.
And Forth CPUs as well, I suspect ;-)
> Has anyone implemented a Python CPU in VHDL
> or Verilog?
>
I don't think so - certainly not in recent memory. If you look at the
documentation for the python byte code, for example:
Without fully answering your question ... I suggest you have a look at
Leo
http://webpages.charter.net/edreamleo/front.html
and ask your question at the (google) groups page devoted to that
editor.
http://groups.google.com/group/leo-editor
HTH
J^n
--
http://mail.python.org/m
Hi Edward
Seen after a recent pull:
D:\winapps\leo-editor>python launchLeo.py
can not import leo.plugins.importers.wikimarkup
can not import leo.plugins.importers.wikimarkup
reading settings in D:\winapps\leo-editor\leo\config\leoSettings.leo
reading settings in C:\Users\jnicoll\.leo\myLeoSettin
On Monday, January 22, 2018 at 10:22:36 AM UTC, jkn wrote:
[...]
oops, wrong group, sorry!
--
https://mail.python.org/mailman/listinfo/python-list
On Tuesday, June 21, 2022 at 2:09:27 PM UTC+1, Grant Edwards wrote:
> On 2022-06-21, Chris Angelico wrote:
>
> > Not sure why it's strange. The point is to distinguish "CPython" from
> > "Jython" or "Brython" or "PyPy" or any of the other implementations.
> > Yes, CPython has a special place b
On Thursday, July 21, 2022 at 8:19:34 PM UTC+1, rambius wrote:
> Hello,
>
> Do you know of a library that resolves schedules like every Wednesday
> at 3:00pm to absolute time, that is return the datetime of the next
> occurrence?
>
> Regards
> rambius
>
> P.S.
>
> --
> Tangra Mega Rock:
On Tuesday, September 6, 2022 at 4:36:38 PM UTC+1, Meredith Montgomery wrote:
> Paul Rubin writes:
>
> > Meredith Montgomery writes:
> >> So that's my request --- any author you find very good has written a
> >> book on Python?
> >
> > The ones by David Beazley are great. Same with his non-
On Tuesday, September 6, 2022 at 9:06:31 PM UTC+1, Thomas Passin wrote:
> Mark Pilgram's "Dive Into Python" was good. Now he's updated it for
> Python 3:
like, about ten years ago? (I think Mark Pilgrim dropped off the 'net
many years ago...)
> https://diveintopython3.net
> On 9/6/2022 11:36 A
On Wednesday, October 12, 2022 at 6:12:23 AM UTC+1, jak wrote:
> Il 12/10/2022 06:00, Paulo da Silva ha scritto:
> > Hi!
> >
> > The simple question: How do I find the full path of a shell command
> > (linux), i.e. how do I obtain the corresponding of, for example,
> > "type rm" in command lin
On Wednesday, October 12, 2022 at 12:07:36 PM UTC+1, jak wrote:
> Il 12/10/2022 09:40, jkn ha scritto:
> > On Wednesday, October 12, 2022 at 6:12:23 AM UTC+1, jak wrote:
> >> Il 12/10/2022 06:00, Paulo da Silva ha scritto:
> >>> Hi!
> >>>
> >>
On Friday, November 4, 2022 at 6:21:55 PM UTC, Hartmut Goebel wrote:
> I'm pleased to announce pdftools.pdfposter 0.8.1, a tool to scale and
> tile PDF images/pages to print on multiple pages.
>
> :Homepage: https://pdfposter.readthedocs.io/
> :Author:Hartmut Goebel
> :License: GNU Pub
On Friday, March 31, 2023 at 1:09:12 PM UTC+1, Chris Angelico wrote:
> On Fri, 31 Mar 2023 at 23:01, Jim Schwartz wrote:
> >
> > I want a windows installer to install my application that's written in
> > python, but I don't want the end user to have access to my source code.
> >
> >
> >
> >
On Tuesday, April 20, 2021 at 7:11:41 AM UTC+1, Paul Rubin wrote:
> Jon Ribbens writes:
> > Why do you say that? The group seems quite lively to me (and no I'm
> > not counting spam etc).
> No there is a lot happening in the Python world that never gets
> mentioned here. Look at the 3.10 and 3.
On Saturday, December 11, 2021 at 1:37:07 AM UTC, Roel Schroeven wrote:
> Message from Guido van Rossum
> (https://mail.python.org/archives/list/pytho...@python.org/thread/36Q5QBILL3QIFIA3KHNGFBNJQKXKN7SD/):
>
>
> > A former core dev who works at Google just passed the news that
> > Fredrik Lu
On Sunday, December 12, 2021 at 2:01:19 PM UTC, Skip Montanaro wrote:
> Like many others, I'm saddened to hear of Fredrik Lundh's passing. I
> vaguely recall meeting him just once, probably at a Python workshop,
> before they grew big enough to be called conferences. Effbot.org was
> my Tkinter,
On Wednesday, February 9, 2022 at 12:46:49 PM UTC, Christian Gollwitzer wrote:
> Am 09.02.22 um 08:46 schrieb NArshad:
> > When I enter data using Tkinter form in an Excel file when the excel file
> > is closed there is no error but when I enter data using Tkinter form when
> > the excel is alrea
Hi Steve
On Thursday, September 22, 2016 at 12:13:16 PM UTC+1, Steve D'Aprano wrote:
> I have editors which will use syntax highlighting on .rst files, but I'm
> hoping for something a bit smarter.
>
> What I'd like is an editor with a split window, one side showing the rst
> that I can edit, the
On Sunday, June 24, 2018 at 10:02:05 PM UTC+1, Hartmut Goebel wrote:
> I'm pleased to announce pdftools.pdfposter 0.7, a tool to scale and
> tile PDF images/pages to print on multiple pages.
>
> :Homepage: https://pdfposter.readthedocs.io/
> :Author: Hartmut Goebel
> :Licence: GNU Public Licen
On Monday, June 25, 2018 at 12:17:29 PM UTC+1, Paul Moore wrote:
> On 25 June 2018 at 11:53, Steven D'Aprano
> wrote:
>
> > And the specific line you reference is *especially* a joke, one which
> > flies past nearly everyone's head:
> >
> > There should be one-- and preferably only one --obvious
On Monday, June 25, 2018 at 4:23:57 PM UTC+1, Chris Angelico wrote:
> On Mon, Jun 25, 2018 at 11:15 PM, jkn wrote:
> > (as well as pedanticism ;-o).
>
> Pedantry.
>
> ChrisA
> (You know I can't let that one pass.)
I was chanel[l]ing the TimBot, as any fule kno..
To: Hartmut Goebel
From: jkn
On Sunday, June 24, 2018 at 10:02:05 PM UTC+1, Hartmut Goebel wrote:
> I'm pleased to announce pdftools.pdfposter 0.7, a tool to scale and
> tile PDF images/pages to print on multiple pages.
>
> :Homepage: https://pdfposter.readthedocs.io/
>
To: Paul Moore
From: jkn
On Monday, June 25, 2018 at 12:17:29 PM UTC+1, Paul Moore wrote:
> On 25 June 2018 at 11:53, Steven D'Aprano
> wrote:
>
> > And the specific line you reference is *especially* a joke, one which
> > flies past nearly everyone's head:
&g
To: Chris Angelico
From: jkn
On Monday, June 25, 2018 at 4:23:57 PM UTC+1, Chris Angelico wrote:
> On Mon, Jun 25, 2018 at 11:15 PM, jkn wrote:
> > (as well as pedanticism ;-o).
>
> Pedantry.
>
> ChrisA
> (You know I can't let that one pass.)
I was chanel[l]in
Hi All
This is more of a Tkinter question rather than a python one, I think, but
anyway...
I have a Python simulator program with a Model-View_Controller architecture. I
have written the View part using Tkinter in the first instance; later I plan
to use Qt.
However I also want to be able to o
Hi All
thanks for the comments and confirmation that this is not really possible
in a
Tkinter environment.
I had thought of using ncurses but was shying clear of learning about another
set
of widgets etc. just now. The output of the simulator is simple enough that it
could just accept simple
On Monday, October 1, 2018 at 6:57:30 PM UTC+1, Ethan Furman wrote:
> On 09/30/2018 09:30 AM, Steven D'Aprano wrote:
>
> > Notwithstanding Ethan's comment about having posted the suspension notice
> > on the list, I see no sign that he actually did so.
>
> My apologies to you and the list. I did
Hi Irmen
On Wednesday, April 13, 2016 at 12:22:25 AM UTC+1, Irmen de Jong wrote:
> It seems that Python is fast enough [1] to create a real time FM music
> synthesizer
> (think Yamaha DX-7). I made one that you can see here:
> https://github.com/irmen/synthesizer
>
> The synthesizer can create
Hi all
I'm looking at changing a radiator in a bedroom shortly and wondering about
my options re. sizing.
The current radiator is 900mm W x 600mm H, and is single panel, no convector. So
looking at some representative specs, let's say 550W output.
I would be replacing this with a single panel
All very droll, thanks for the replies guys. I spotted my posting error 0.0001
secs after pressing the button...
uk.d-i-y-is-that-way-ly yours
J^n
--
https://mail.python.org/mailman/listinfo/python-list
On Monday, June 17, 2019 at 10:28:44 AM UTC+1, Luciano Ramalho wrote:
> Hello! When I wrote Fluent Python a few years ago I provided my
> readers with hundreds of links to my sources, including several links
> to messages in the python-list archive.
>
> Now as I prepare the 2nd edition I notice al
Hi all
I'm almost embarrassed to ask this as it's "so simple", but thought I'd give
it a go...
I want to be a able to use a simple 'download manager' which I was going to
write
(in Python), but then wondered if there was something suitable already out
there.
I haven't found it, but thought p
On Wednesday, January 29, 2020 at 8:27:03 PM UTC, Chris Angelico wrote:
> On Thu, Jan 30, 2020 at 7:06 AM jkn wrote:
> >
> > Hi all
> > I'm almost embarrassed to ask this as it's "so simple", but thought I'd
> > give
> > it a go..
Err, well, thanks for that discussion gents...
As it happens I do know how to use a database, but I regard it as overkill for
what I am trying to do here. I think a combination of hashing the URL,
and using a suffix to indicate the result of previous downloaded attempts, will
work adequately for m
On Friday, January 31, 2020 at 9:41:32 AM UTC, R.Wieser wrote:
> jkn,
>
> > I think a combination of hashing the URL,
>
> I hope you're not thinking of saving the hash (into the "done" list) instead
> if the URL itself. While hash collisions do not happen
On Friday, January 31, 2020 at 9:41:32 AM UTC, R.Wieser wrote:
> jkn,
>
> > I think a combination of hashing the URL,
>
> I hope you're not thinking of saving the hash (into the "done" list) instead
> if the URL itself. While hash collisions do not happen
Hi Chris
> Could anyone write a small program to log the Signal-to-Noise figures
> for a Netgear DG834 router?
>
many people could, I'm sure, if not quite _anyone_
> I have been getting very variable SNR readings - and I would like to
> collect some evidence to analyse.
I see.
>
> What is need
Novice Experl wrote:
> I'd like to write a simple application that interfaces with the parallel
> port, and changes the data on it according to keyboard input. I hope I can
> get it to run under windows xp and / or windows 2000.
>
> How can I do this? What do I need to know? It doesn't look like
Hi all
this is my first go at pickling and I'm having trouble with
variables of type VT_DATE returned from a COM application.
I don't seem to be successfully pickling/depickling to the the same
value. I think this may be due to a strange return value. The VT_DATE
seems to be a floating point n
On Thursday, November 14, 2013 6:11:08 PM UTC, Roy Smith wrote:
> https://twitter.com/dabeaz/status/400813245532876800/photo/1
>
>
> "Now THIS is a Python book I should get. I'm guessing it's about design
> patterns. Or maybe just the GIL. "
>
Excellent, thanks fro the link. And is that a boo
Hi Stephen
On Sunday, 17 November 2013 05:48:58 UTC, Steven D'Aprano wrote:
> [...]
>
> > It's just a pity they based the syntax on C rather than something more
> > enlightened. (Why do people keep doing that when they design languages?)
>
>
> When the only tool you've used is a hammer, ever
Hi all
a little OS/windows specific, I'm afraid:
In Windows, there exists a part-supported 'outlook protocol' to obtain and use
email references within Outlook as URL. You have to go through various
shenanagins to enable this and to get Outlook to give you access to the URLs -
see for instan
Hi Chris
On Tuesday, January 12, 2016 at 5:11:18 PM UTC, Chris Angelico wrote:
> On Wed, Jan 13, 2016 at 3:51 AM, jkn wrote:
> > I happy to carve some code without using urllib, but I am not clear what I
> > actually need to do to 'open' such a URL using this protoc
Hi all
I haven't heard in mentioned here, but since I saw one of the boards today
thought I'd pass on the news:
The Kickstarter 'MicroPython' project, which has a tiny 'pyboard' (only a
couple of sq.inches in size) with a processor running 'a complete re-write of
the Python (version 3.4) pr
Hi all
This is a little bit OT for this newsgroup, but I intend to use python
for prototyping at least, and I know there are a lot of knowledgeable
people using Python in a Network context here...
I have a use case of a single 'master' machine which will need to
periodically 'push' data to
Hi All
Thanks for the various and interesting responses so far. A bit of
fleshing out in a few areas:
The problems of maintaining the long-term TCP connection is something I'd
like to leave to one side, for now at least. There are some non-technical
project issues here which is why I am con
On Sunday, 22 February 2015 12:45:15 UTC, Dave Farrance wrote:
> As an engineer, I can quickly knock together behavioural models of
> electronic circuits, complete units, and control systems in Python, then
> annoyingly in a few recent cases, have to re-write in C for speed.
>
> I've tried PyPy,
On Sunday, 22 February 2015 14:11:54 UTC, Mark Lawrence wrote:
> On 19/02/2015 16:27, Phillip Fleming wrote:
> > In my opinion, Python will not take off like C/C++ if there is no ANSI
> > standard.
> >
>
> Python has already taken off because it doesn't have a standard as such.
>
Bjarne Stroust
Hi Grant
On Tuesday, 11 March 2014 16:52:18 UTC, Grant Edwards wrote:
[...]
>
> And don't bother with device drivers for the network adapters either.
> Just map their PCI regions in to user-space and twiddle the reigisters
> directly! ;)
>
> [I do that when testing PCI boards with C code, and
On Thursday, 3 October 2013 21:48:35 UTC+1, c-gsc...@neogov.net wrote:
> On Thursday, May 16, 2013 11:15:45 AM UTC-7, vispha...@gmail.com wrote:
>
> > www.prevayler.org in python = pypersist
>
> >
>
> >
>
> >
>
> > medusa = python epoll web server and ftp server eventy and async
>
>
>
>
Hello there
I am experimenting with a simple python script which establishes a TCP
connection, over GPRS, to a server. It then periodically sends a small block of
data (60 bytes or so) to the server.
I then disconnect the GPRS antenna on this client machine (I am actually
investigating the
On Saturday, 14 March 2015 06:43:18 UTC, Paul Rubin wrote:
> http://www.micropython.org/
>
> Has anyone used this? Know anything about it? I don't remember seeing
> any mention of it here. I remember there was a stripped down Python
> some years back that didn't work very well, but I think thi
Hi All
as in the title, this is a little bit OT - but since ideally I'd like a
tool written in Python, and I know readers here have wide experience of
development/collaborative workflows etc ...
A few jobs ago the company I was with used a 'Project Diary' tool which I found
very useful. It was
Hi Rustom
On Tuesday, May 19, 2015 at 5:50:11 PM UTC+1, Rustom Mody wrote:
> On Tuesday, May 19, 2015 at 9:59:16 PM UTC+5:30, jkn wrote:
> > Hi All
> > as in the title, this is a little bit OT - but since ideally I'd like a
> > tool written in Python, and I k
Hi Frank
On Wednesday, 20 May 2015 06:33:33 UTC+1, Frank Millman wrote:
> "jkn" wrote in message
> news:99067d97-cad4-42f8-8fd1-b1884bed7...@googlegroups.com...
> > Hi All
> >as in the title, this is a little bit OT - but since ideally I'd like a
>
On Thursday, 10 September 2015 13:18:39 UTC+1, Steven D'Aprano wrote:
> On Thu, 10 Sep 2015 05:18 am, Chris Angelico wrote:
>
> > On Thu, Sep 10, 2015 at 5:14 AM, Laura Creighton wrote:
> >> In a message of Thu, 10 Sep 2015 05:00:22 +1000, Chris Angelico writes:
> >>>To get started, you need som
On Tuesday, 1 July 2014 16:12:34 UTC+1, Florian Lindner wrote:
> Hello,
>
>
>
> Is there a way I can extract the named groups from a regular expression?
>
> e.g. given "(?P\d)" I want to get something like ["testgrp"].
>
>
>
> OR
>
>
>
> Can I make the match object to return default val
Hi there
the script is 'actually' a python script compressed, with a short header
(see the '#!/usr/bin/python' right at the front? I'm guessing that if you make
it executable, and run it, then it will either create a .py file that you can
edit, or just run the hdlmake function that you want.
might this be of interest (though old)?
https://wiki.python.org/moin/ConfigParserShootout
Cheers
Jon N
--
https://mail.python.org/mailman/listinfo/python-list
FWIW, this looks rather like the 'PAR' construct of Occam to me.
http://en.wikipedia.org/wiki/Occam_%28programming_language%29
J^n
--
http://mail.python.org/mailman/listinfo/python-list
Hi Chris
On Wednesday, 13 February 2013 23:25:09 UTC, Chris Hinsley wrote:
> New to Python, which I really like BTW.
Welcome aboard! But aren't you supposed to be writing Forth? ;-)
Cheers
Jon N
--
http://mail.python.org/mailman/listinfo/python-list
Hi there
I used cheetah (cheetahtemplate) and a makefile for something similar
;-). It worked pretty well for me. I only have a dozen or so pages
though.
I'm currently converting this to Jinja, which is a similar templating
system compatible with Django. I plan to later migrate to dynamic pages
u
Hi Carsten
>
> I'll run the risk of being nitpicky, but the full phrase is "Jack of all
> trades, master of none," which doesn't do Python justice. Python is a
> master of all trades!
>
FYI that's only *one* version of 'the full phrase'. I, for instance, am
a 'Jack of all trades, master of many'. I
Hi all
I'm trying out, and in general finding really useful, the various
TiddlyWiki variants that I guess many people here know about, for
organising my activities in a GTD way. One mild annoyance is in the
speed of the Javascript applications. I fancy having a go at writing
something like this
Hi Bruno
[...]
> >
> > I don't know Javascript (although it looks moderately simple from a
> > brief peruse,
>
> It's not as simple as it may seem at first look. There are some real
> gotchas. But if you want a more pythonic javascript, you should have a
> look at mochikit.
OK, thanks for the poi
Hi Rick
R. P. Dillon wrote:
> I've been doing some work on a didiwiki-like program written in Python.
> Since Python is [_not_] embedded in browsers, the didwiki approach make
> sense:
> write the server in your language of choice (didwiki uses C), and lay
> the necessary (simple) wiki code on
Hi all
I'm considering having a go at replacing the wooden door step to
our back door. The original is loose and rotting.
I'm sure some of this will be clearer when I remove the (metal) door
frame - how is such a step fixed? Vertical frame fixings?
Also, any suggestions for treating/finishing
Have you seen Candygram?
http://candygram.sourceforge.net/
jon N
--
http://mail.python.org/mailman/listinfo/python-list
I used to use Cheetah, but have switched recently to Jinja:
http://jinja.pocoo.org/
Mainly this is because the syntax is similar to Django's templates,
and eventually I plan on migrating to Django.
jon N
--
http://mail.python.org/mailman/listinfo/python-list
Hi Mikael
It is probably worth you finding out more about the specific
Hardware that Velleman use for this kit. Depending on the chip
manufacturer, there may be more or less support already available. For
instance, I have recently been communicating with the FTDI USB chips
under windows. There
IIUC, the original poster is asking about 'cleaning up' in the sense
of removing the swathes of unnecessary and/or redundant 'cruft' that
Word puts in there, rather than making valid HTML out of invalid HTML.
Again, IIUC, HTMLtidy does not do this.
If Beautiful Soup does, then I'm intererested!
If I wanted to mark out stack depth stuff like this in python, I'd do
it
with some form of stylised comment, like this:
# LEVEL 0
pushMatrix():
# LEVEL 1
drawstuff()
pushMatrix()
# LEVEL 2
drawSomeOtherStuff()
popMatrix()
# LEVEL 1
popMat
Have a look for PyUSB - there are (confusingly) two different packages
called pyUSB. one interfaces to FTDI chips connected to a USB port:
http://bleyer.org/pyusb/
The other uses libusb to interface to devices generally under windows:
http://pyusb.berlios.de/
HTH
jon N
--
htt
Hi Thomas
On Feb 12, 6:00 pm, "Thomas Nelson" <[EMAIL PROTECTED]> wrote:
> I realize I'm approaching this backwards from the direction most
> people go, but does anyone know of a good c/c++ introduction for
> python programmers?
>
They are not particularly aimed at Python programmers, but Bruce
E
On Nov 25, 10:36 pm, Ben Finney <[EMAIL PROTECTED]>
wrote:
>
> In addition to the good answers you've had already, I highly recommend
> David Goodger's "Code like a Pythonista" page
> http://python.net/~goodger/projects/pycon/2007/idiomatic/handout.html>,
> which contains a very good "cardboard box
On Feb 28, 8:19 pm, rdmur...@bitdance.com wrote:
[...]
>
> IMO the first thing you ought to do is dig in, really listen, and find
> out what his issue is with module distribution.
>
> Listening well is your most powerful asset. Overcome your own prejudices
> first, and his may follow :)
I agree w
On Mar 14, 7:00 am, Tim Golden wrote:
> Well, this may not solve the OP's problem, but the current
> (2.7a0) .chm file has a much better index for operators and
> keywords. And "in" is in there. If you're interested in
> comparing, there's a copy here:
>
> http://timgolden.me.uk/python/downloads/
On Sep 26, 9:26 am, Steven D'Aprano
<[EMAIL PROTECTED]> wrote:
> On Fri, 26 Sep 2008 19:46:10 +1200, Lawrence D'Oliveiro wrote:
> > In message <[EMAIL PROTECTED]>, Steven D'Aprano
> > wrote:
>
> >> On Wed, 24 Sep 2008 22:18:05 +1200, Lawrence D'Oliveiro wrote:
>
> >>> Just a thought, your minimum s
On Feb 17, 2:04 am, Carl Banks wrote:
> > Hubris connects Ruby to Haskell, will there be such a connection
> > between Python and Haskell?
>
> I would have expected Hubris to link Ada and Common Lisp together.
>
> Carl Banks
;-)
J^n
--
http://mail.python.org/mailman/listinfo/python-list
Hi Pierre
> Oops ! wrong group, sorry. It's for c.l.p.announce
Well, I for one was happy to learn of this release here - thanks
J^n
--
http://mail.python.org/mailman/listinfo/python-list
Hi Greg
Just to say thanks for taking the time to write up your work on
this interesting topic.
Cheers
J^n
--
http://mail.python.org/mailman/listinfo/python-list
Kirbybase is one possibility.
http://pypi.python.org/pypi/KirbyBase/1.9
J^n
--
http://mail.python.org/mailman/listinfo/python-list
Graphviz?
http://www.graphviz.org/
HTH
Jon N
--
http://mail.python.org/mailman/listinfo/python-list
On Jun 8, 9:30 am, Ben Finney wrote:
[...]
>
> As originally defined by Martin Fowler, re-factoring always means the
> external behaviour is unchanged http://refactoring.com/>.
>
> So, there's no such thing as a re-factoring that changes the API.
> Anything that changes an external attribute of t
1 - 100 of 110 matches
Mail list logo