Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #60858 > unrolled thread

using ffmpeg command line with python's subprocess module

Started byiMath <redstone-cold@163.com>
First post2013-12-02 03:34 -0800
Last post2013-12-03 08:25 +1100
Articles 20 on this page of 31 — 11 participants

Back to article view | Back to comp.lang.python


Contents

  using ffmpeg command line with python's subprocess module iMath <redstone-cold@163.com> - 2013-12-02 03:34 -0800
    Re: using ffmpeg command line with python's subprocess module Chris Angelico <rosuav@gmail.com> - 2013-12-02 22:40 +1100
    Re: using ffmpeg command line with python's subprocess module Ben Finney <ben+python@benfinney.id.au> - 2013-12-03 08:19 +1100
      Re: using ffmpeg command line with python's subprocess module iMath <redstone-cold@163.com> - 2013-12-02 17:15 -0800
        Re: using ffmpeg command line with python's subprocess module rusi <rustompmody@gmail.com> - 2013-12-02 17:42 -0800
          Re: using ffmpeg command line with python's subprocess module iMath <redstone-cold@163.com> - 2013-12-03 17:42 -0800
          Re: using ffmpeg command line with python's subprocess module iMath <redstone-cold@163.com> - 2013-12-03 17:42 -0800
            Re: using ffmpeg command line with python's subprocess module Andreas Perstinger <andipersti@gmail.com> - 2013-12-04 10:38 +0100
              Re: using ffmpeg command line with python's subprocess module iMath <redstone-cold@163.com> - 2013-12-05 22:23 -0800
                Re: using ffmpeg command line with python's subprocess module Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-06 09:23 +0000
                  Re: using ffmpeg command line with python's subprocess module iMath <redstone-cold@163.com> - 2013-12-06 06:52 -0800
                    Re: using ffmpeg command line with python's subprocess module Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-06 15:12 +0000
                      Re: using ffmpeg command line with python's subprocess module rusi <rustompmody@gmail.com> - 2013-12-06 07:15 -0800
                    Re: using ffmpeg command line with python's subprocess module rusi <rustompmody@gmail.com> - 2013-12-06 07:13 -0800
                    Re: using ffmpeg command line with python's subprocess module Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-12-06 15:34 +0000
                      Re: using ffmpeg command line with python's subprocess module Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-06 15:53 +0000
                        Re: using ffmpeg command line with python's subprocess module rusi <rustompmody@gmail.com> - 2013-12-06 08:19 -0800
                          Re: using ffmpeg command line with python's subprocess module Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-06 16:25 +0000
                            Re: using ffmpeg command line with python's subprocess module rusi <rustompmody@gmail.com> - 2013-12-06 08:45 -0800
                      Re: using ffmpeg command line with python's subprocess module MRAB <python@mrabarnett.plus.com> - 2013-12-06 16:41 +0000
                        Re: using ffmpeg command line with python's subprocess module rusi <rustompmody@gmail.com> - 2013-12-06 08:53 -0800
                          Re: using ffmpeg command line with python's subprocess module Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2013-12-07 13:01 +1300
                Re: using ffmpeg command line with python's subprocess module Ned Batchelder <ned@nedbatchelder.com> - 2013-12-06 06:31 -0500
            Re: using ffmpeg command line with python's subprocess module Chris Angelico <rosuav@gmail.com> - 2013-12-04 21:51 +1100
              Re: using ffmpeg command line with python's subprocess module iMath <redstone-cold@163.com> - 2013-12-06 06:54 -0800
                Re: using ffmpeg command line with python's subprocess module Chris Angelico <rosuav@gmail.com> - 2013-12-07 01:59 +1100
                  Re: using ffmpeg command line with python's subprocess module iMath <redstone-cold@163.com> - 2013-12-09 01:04 -0800
                    Re: using ffmpeg command line with python's subprocess module Andreas Perstinger <andipersti@gmail.com> - 2013-12-10 13:59 +0100
      Re: using ffmpeg command line with python's subprocess module Alain Ketterlin <alain@dpt-info.u-strasbg.fr> - 2013-12-03 10:33 +0100
        Re: using ffmpeg command line with python's subprocess module iMath <redstone-cold@163.com> - 2013-12-03 05:59 -0800
    Re: using ffmpeg command line with python's subprocess module Chris Angelico <rosuav@gmail.com> - 2013-12-03 08:25 +1100

Page 1 of 2  [1] 2  Next page →


#60858 — using ffmpeg command line with python's subprocess module

FromiMath <redstone-cold@163.com>
Date2013-12-02 03:34 -0800
Subjectusing ffmpeg command line with python's subprocess module
Message-ID<d344154e-1de9-4016-b1fc-d1e9d989529d@googlegroups.com>
I have few wav files that I can use either of the following command line mentioned here
https://trac.ffmpeg.org/wiki/How%20to%20concatenate%20%28join,%20merge%29%20media%20files
 to concatenate


ffmpeg -f concat -i <(for f in ./*.wav; do echo "file '$f'"; done) -c copy output.wav
ffmpeg -f concat -i <(printf "file '%s'\n" ./*.wav) -c copy output.wav
ffmpeg -f concat -i <(find . -name '*.wav' -printf "file '%p'\n") -c copy output.wav


anyone know how to convert either of them to work with python's subprocess module, it would be better if your solution is platform independent .

[toc] | [next] | [standalone]


#60860

FromChris Angelico <rosuav@gmail.com>
Date2013-12-02 22:40 +1100
Message-ID<mailman.3457.1385984456.18130.python-list@python.org>
In reply to#60858
On Mon, Dec 2, 2013 at 10:34 PM, iMath <redstone-cold@163.com> wrote:
> I have few wav files that I can use either of the following command line mentioned here
> https://trac.ffmpeg.org/wiki/How%20to%20concatenate%20%28join,%20merge%29%20media%20files
>  to concatenate
>
>
> ffmpeg -f concat -i <(for f in ./*.wav; do echo "file '$f'"; done) -c copy output.wav
> ffmpeg -f concat -i <(printf "file '%s'\n" ./*.wav) -c copy output.wav
> ffmpeg -f concat -i <(find . -name '*.wav' -printf "file '%p'\n") -c copy output.wav

In bash, the <(...) notation is like piping: it executes the command
inside the parentheses and uses that as standard input to ffmpeg. So
if you work out what the commands are doing (it looks like they emit a
line saying "file '...'" for each .wav file in the current directory,
possibly including subdirectories) and replicate that in Python, you
should be able to make it cross-platform.

ChrisA

[toc] | [prev] | [next] | [standalone]


#60885

FromBen Finney <ben+python@benfinney.id.au>
Date2013-12-03 08:19 +1100
Message-ID<mailman.3478.1386019175.18130.python-list@python.org>
In reply to#60858
Chris Angelico <rosuav@gmail.com> writes:

> On Mon, Dec 2, 2013 at 10:34 PM, iMath <redstone-cold@163.com> wrote:
> > ffmpeg -f concat -i <(for f in ./*.wav; do echo "file '$f'"; done) -c copy output.wav
> > ffmpeg -f concat -i <(printf "file '%s'\n" ./*.wav) -c copy output.wav
> > ffmpeg -f concat -i <(find . -name '*.wav' -printf "file '%p'\n") -c copy output.wav
>
> In bash, the <(...) notation is like piping: it executes the command
> inside the parentheses and uses that as standard input to ffmpeg.

Not standard input, no. What it does is create a temporary file to
contain the result, and inserts that file name on the command line. This
is good for programs that require an actual file, not standard input.

So the above usage seems right to me: the ‘ffmpeg -i FOO’ option is
provided with a filename dynamically created by Bash, referring to a
temporary file that contains the output of the subshell.

-- 
 \     “Welchen Teil von ‘Gestalt’ verstehen Sie nicht?  [What part of |
  `\                ‘gestalt’ don't you understand?]” —Karsten M. Self |
_o__)                                                                  |
Ben Finney

[toc] | [prev] | [next] | [standalone]


#60903

FromiMath <redstone-cold@163.com>
Date2013-12-02 17:15 -0800
Message-ID<3104d38f-3fca-43b0-b6a4-b600684f765e@googlegroups.com>
In reply to#60885
在 2013年12月3日星期二UTC+8上午5时19分21秒,Ben Finney写道:
> Chris Angelico <rosuav@gmail.com> writes:
> 
> 
> 
> > On Mon, Dec 2, 2013 at 10:34 PM, iMath <redstone-cold@163.com> wrote:
> 
> > > ffmpeg -f concat -i <(for f in ./*.wav; do echo "file '$f'"; done) -c copy output.wav
> 
> > > ffmpeg -f concat -i <(printf "file '%s'\n" ./*.wav) -c copy output.wav
> 
> > > ffmpeg -f concat -i <(find . -name '*.wav' -printf "file '%p'\n") -c copy output.wav
> 
> >
> 
> > In bash, the <(...) notation is like piping: it executes the command
> 
> > inside the parentheses and uses that as standard input to ffmpeg.
> 
> 
> 
> Not standard input, no. What it does is create a temporary file to
> 
> contain the result, and inserts that file name on the command line. This
> 
> is good for programs that require an actual file, not standard input.
> 
> 
> 
> So the above usage seems right to me: the ‘ffmpeg -i FOO’ option is
> 
> provided with a filename dynamically created by Bash, referring to a
> 
> temporary file that contains the output of the subshell.
> 
> 
> 
> -- 
> 
>  \     “Welchen Teil von ‘Gestalt’ verstehen Sie nicht?  [What part of |
> 
>   `\                ‘gestalt’ don't you understand?]” —Karsten M. Self |
> 
> _o__)                                                                  |
> 
> Ben Finney

so is there any way to create a temporary file by Python here ?

[toc] | [prev] | [next] | [standalone]


#60907

Fromrusi <rustompmody@gmail.com>
Date2013-12-02 17:42 -0800
Message-ID<6fb2b162-cf9b-4c1c-bf5f-f14baf5baac4@googlegroups.com>
In reply to#60903
On Tuesday, December 3, 2013 6:45:42 AM UTC+5:30, iMath wrote:
> so is there any way to create a temporary file by Python here ?

http://docs.python.org/2/library/tempfile.html

[toc] | [prev] | [next] | [standalone]


#60985

FromiMath <redstone-cold@163.com>
Date2013-12-03 17:42 -0800
Message-ID<0ac025f1-242e-492a-a77b-621a7f585182@googlegroups.com>
In reply to#60907
在 2013年12月3日星期二UTC+8上午9时42分11秒,rusi写道:
> On Tuesday, December 3, 2013 6:45:42 AM UTC+5:30, iMath wrote:
> 
> > so is there any way to create a temporary file by Python here ?
> 
> 
> 
> http://docs.python.org/2/library/tempfile.html
I use the following code to do the test ,but error occurred ,it prompts system cannot find specified files ,but the files are indeed exists there ,any help ?

with tempfile.TemporaryFile() as fp:
    fp.write(("file '"+'a1.mp3'+"'\n").encode('utf-8'))
    fp.write(("file '"+'a2.mp3'+"'\n").encode('utf-8'))

    subprocess.call(['ffmpeg/ffmpeg', '-f', 'concat','-i',fp, '-c',  'copy', 'a3.mp3'])

[toc] | [prev] | [next] | [standalone]


#60986

FromiMath <redstone-cold@163.com>
Date2013-12-03 17:42 -0800
Message-ID<35c86484-d0dd-4954-adee-cde3a2fd7ac1@googlegroups.com>
In reply to#60907
在 2013年12月3日星期二UTC+8上午9时42分11秒,rusi写道:
> On Tuesday, December 3, 2013 6:45:42 AM UTC+5:30, iMath wrote:
> 
> > so is there any way to create a temporary file by Python here ?
> 
> 
> 
> http://docs.python.org/2/library/tempfile.html
I use the following code to do the test ,but error occurred ,it prompts system cannot find specified files ,but the files are indeed exists there ,any help ?

with tempfile.TemporaryFile() as fp:
    fp.write(("file '"+'a1.mp3'+"'\n").encode('utf-8'))
    fp.write(("file '"+'a2.mp3'+"'\n").encode('utf-8'))

    subprocess.call(['ffmpeg/ffmpeg', '-f', 'concat','-i',fp, '-c',  'copy', 'a3.mp3'])

[toc] | [prev] | [next] | [standalone]


#61001

FromAndreas Perstinger <andipersti@gmail.com>
Date2013-12-04 10:38 +0100
Message-ID<mailman.3549.1386150418.18130.python-list@python.org>
In reply to#60986
iMath <redstone-cold@163.com> wrote:
>I use the following code to do the test ,but error occurred ,it
>prompts system cannot find specified files ,but the files are indeed
>exists there ,any help ?
>
>with tempfile.TemporaryFile() as fp:
>    fp.write(("file '"+'a1.mp3'+"'\n").encode('utf-8'))
>    fp.write(("file '"+'a2.mp3'+"'\n").encode('utf-8'))
>
>    subprocess.call(['ffmpeg/ffmpeg', '-f', 'concat','-i',fp, '-c',
> 'copy', 'a3.mp3'])

Basic rule: Always copy'n'paste the exact traceback you get.

I don't think you are running the code you have posted because your
subprocess call doesn't work:

>>> import tempfile, subprocess
>>> with tempfile.TemporaryFile() as fp:
...   subprocess.call(["foo", "bar", fp, "baz"])
... 
Traceback (most recent call last):
  File "<stdin>", line 2, in <module>
  File "/usr/lib/python3.3/subprocess.py", line 520, in call
    with Popen(*popenargs, **kwargs) as p:
  File "/usr/lib/python3.3/subprocess.py", line 820, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.3/subprocess.py", line 1380, in _execute_child
    restore_signals, start_new_session, preexec_fn)
TypeError: Can't convert '_io.BufferedRandom' object to str implicitly

"fp" is a file object, but subprocess expects a list of strings as
its first argument.

Bye, Andreas

[toc] | [prev] | [next] | [standalone]


#61114

FromiMath <redstone-cold@163.com>
Date2013-12-05 22:23 -0800
Message-ID<b3596d0c-6a4d-4490-8648-338c77f62b58@googlegroups.com>
In reply to#61001
在 2013年12月4日星期三UTC+8下午5时38分27秒,Andreas Perstinger写道:
> iMath <redstone-cold@163.com> wrote:
> 
> >I use the following code to do the test ,but error occurred ,it
> 
> >prompts system cannot find specified files ,but the files are indeed
> 
> >exists there ,any help ?
> 
> >
> 
> >with tempfile.TemporaryFile() as fp:
> 
> >    fp.write(("file '"+'a1.mp3'+"'\n").encode('utf-8'))
> 
> >    fp.write(("file '"+'a2.mp3'+"'\n").encode('utf-8'))
> 
> >
> 
> >    subprocess.call(['ffmpeg/ffmpeg', '-f', 'concat','-i',fp, '-c',
> 
> > 'copy', 'a3.mp3'])
> 
> 
> 
> Basic rule: Always copy'n'paste the exact traceback you get.
> 
> 
> 
> I don't think you are running the code you have posted because your
> 
> subprocess call doesn't work:
> 
> 
> 
> >>> import tempfile, subprocess
> 
> >>> with tempfile.TemporaryFile() as fp:
> 
> ...   subprocess.call(["foo", "bar", fp, "baz"])
> 
> ... 
> 
> Traceback (most recent call last):
> 
>   File "<stdin>", line 2, in <module>
> 
>   File "/usr/lib/python3.3/subprocess.py", line 520, in call
> 
>     with Popen(*popenargs, **kwargs) as p:
> 
>   File "/usr/lib/python3.3/subprocess.py", line 820, in __init__
> 
>     restore_signals, start_new_session)
> 
>   File "/usr/lib/python3.3/subprocess.py", line 1380, in _execute_child
> 
>     restore_signals, start_new_session, preexec_fn)
> 
> TypeError: Can't convert '_io.BufferedRandom' object to str implicitly
> 
> 
> 
> "fp" is a file object, but subprocess expects a list of strings as
> 
> its first argument.
> 
> 
> 
> Bye, Andreas
sorry for my fuss.
it prompts 
StdErr: -c: No such file or directory

[toc] | [prev] | [next] | [standalone]


#61128

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2013-12-06 09:23 +0000
Message-ID<mailman.3631.1386321845.18130.python-list@python.org>
In reply to#61114
On 06/12/2013 06:23, iMath wrote:

Dearest iMath, wouldst thou be kind enough to partake of obtaining some 
type of email client that dost not sendeth double spaced data into this 
most illustrious of mailing lists/newsgroups.  Thanking thee for thine 
participation in my most humble of requests.  I do remain your most 
obedient servant.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

[toc] | [prev] | [next] | [standalone]


#61153

FromiMath <redstone-cold@163.com>
Date2013-12-06 06:52 -0800
Message-ID<a12fe465-683e-4643-8d78-0cd5ae8eb48e@googlegroups.com>
In reply to#61128
在 2013年12月6日星期五UTC+8下午5时23分59秒,Mark Lawrence写道:
> On 06/12/2013 06:23, iMath wrote:
> 
> 
> 
> Dearest iMath, wouldst thou be kind enough to partake of obtaining some 
> 
> type of email client that dost not sendeth double spaced data into this 
> 
> most illustrious of mailing lists/newsgroups.  Thanking thee for thine 
> 
> participation in my most humble of requests.  I do remain your most 
> 
> obedient servant.
> 
> 
> 
> -- 
> 
> My fellow Pythonistas, ask not what our language can do for you, ask 
> 
> what you can do for our language.
> 
> 
> 
> Mark Lawrence

yes ,I am a native Chinese speaker.I always post question by Google Group not through  email ,is there something wrong with it ?
your english is a little strange to me .

[toc] | [prev] | [next] | [standalone]


#61156

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2013-12-06 15:12 +0000
Message-ID<mailman.3653.1386342746.18130.python-list@python.org>
In reply to#61153
On 06/12/2013 14:52, iMath wrote:
> 在 2013年12月6日星期五UTC+8下午5时23分59秒,Mark Lawrence写道:
>> On 06/12/2013 06:23, iMath wrote:
>>
>>
>>
>> Dearest iMath, wouldst thou be kind enough to partake of obtaining some
>>
>> type of email client that dost not sendeth double spaced data into this
>>
>> most illustrious of mailing lists/newsgroups.  Thanking thee for thine
>>
>> participation in my most humble of requests.  I do remain your most
>>
>> obedient servant.
>>
>>
>>
>> --
>>
>> My fellow Pythonistas, ask not what our language can do for you, ask
>>
>> what you can do for our language.
>>
>>
>>
>> Mark Lawrence
>
> yes ,I am a native Chinese speaker.I always post question by Google Group not through  email ,is there something wrong with it ?
> your english is a little strange to me .
>

You can see the extra lines inserted by google groups above.  It's not 
too bad in one and only one message, but when a message has been 
backwards and forwards several times it's extremely irritating, or worse 
still effectively unreadable.  Work arounds have been posted on this 
list, but I'd recommend using any decent email client.

The English I used was archaic, please ignore it :)

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

[toc] | [prev] | [next] | [standalone]


#61158

Fromrusi <rustompmody@gmail.com>
Date2013-12-06 07:15 -0800
Message-ID<62811266-35c5-4401-851a-91c3ce622ad0@googlegroups.com>
In reply to#61156
On Friday, December 6, 2013 8:42:02 PM UTC+5:30, Mark Lawrence wrote:
> The English I used was archaic, please ignore it :)

"Archaic" is almost archaic
"Old" is ever-young

:D

[toc] | [prev] | [next] | [standalone]


#61157

Fromrusi <rustompmody@gmail.com>
Date2013-12-06 07:13 -0800
Message-ID<474cfa20-3618-4426-9635-903b9255dc07@googlegroups.com>
In reply to#61153
On Friday, December 6, 2013 8:22:48 PM UTC+5:30, iMath wrote:
> 在 2013年12月6日星期五UTC+8下午5时23分59秒,Mark Lawrence写道:
> > On 06/12/2013 06:23, iMath wrote:
> > Dearest iMath, wouldst thou be kind enough to partake of obtaining some 
> > type of email client that dost not sendeth double spaced data into this 
> > most illustrious of mailing lists/newsgroups.  Thanking thee for thine 
> > participation in my most humble of requests.  I do remain your most 
> > obedient servant.

> yes ,I am a native Chinese speaker.I always post question by Google Group not through  email ,is there something wrong with it ?

Yes but its easily correctable

I recently answered this question to another poster here

https://groups.google.com/forum/#!searchin/comp.lang.python/rusi$20google$20groups|sort:date/comp.lang.python/C51hEvi-KbY/KSeaMFoHtcIJ

[toc] | [prev] | [next] | [standalone]


#61159

FromSteven D'Aprano <steve+comp.lang.python@pearwood.info>
Date2013-12-06 15:34 +0000
Message-ID<52a1ee73$0$30003$c3e8da3$5496439d@news.astraweb.com>
In reply to#61153
On Fri, 06 Dec 2013 06:52:48 -0800, iMath wrote:

> yes ,I am a native Chinese speaker.I always post question by Google
> Group not through  email ,is there something wrong with it ? your
> english is a little strange to me .

Mark is writing in fake old-English style, the way people think English 
was spoken a thousand years ago. I don't know why he did that. Perhaps he 
thought it was amusing.

There are many problems with Google Groups. If you pay attention to this 
forum, you will see dozens of posts about "Managing Google Groups 
headaches" and other complaints:

- Google Groups double-spaces replies, so text which should appear like:

    line one
    line two
    line three
    line four

  turns into:

    line one
    blank line
    line two
    blank line
    line three
    blank line
    line four

- Google Groups often starts sending HTML code instead of plain text

- it often mangles indentation, which is terrible for Python code

- sometimes it automatically sets the reply address for posts to go
  to Google Groups, instead of the mailing list it should go to

- almost all of the spam on his forum comes from Google Groups, so many 
  people automatically filter everything from Google Groups straight to
  the trash.

There are alternatives to Google Groups:

- the mailing list, python-list@python.org

- Usenet, comp.lang.python

- the Gmane mirror:

  http://gmane.org/find.php?list=python-list%40python.org


and possibly others. You will maximise the number of people reading your 
posts if you avoid Google Groups. If for some reason you cannot use any 
of the alternatives, please take the time to fix some of the problems 
with Google Groups. If you search the archives, you should find some 
posts by Rusi defending Google Groups and explaining what he does to make 
it more presentable, and (if I remember correctly) I think Mark also 
sometimes posts a link to managing Google Groups.



-- 
Steven

[toc] | [prev] | [next] | [standalone]


#61161

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2013-12-06 15:53 +0000
Message-ID<mailman.3654.1386345246.18130.python-list@python.org>
In reply to#61159
On 06/12/2013 15:34, Steven D'Aprano wrote:
(if I remember correctly) I think Mark also
> sometimes posts a link to managing Google Groups.
>

You do, and here it is https://wiki.python.org/moin/GoogleGroupsPython

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

[toc] | [prev] | [next] | [standalone]


#61162

Fromrusi <rustompmody@gmail.com>
Date2013-12-06 08:19 -0800
Message-ID<e2eaf360-bc2b-4e8d-816d-f7ea07f3f470@googlegroups.com>
In reply to#61161
On Friday, December 6, 2013 9:23:47 PM UTC+5:30, Mark Lawrence wrote:
> On 06/12/2013 15:34, Steven D'Aprano wrote:
> 
> (if I remember correctly) I think Mark also
> 
> > sometimes posts a link to managing Google Groups.
> 
> >
> 
> You do, and here it is https://wiki.python.org/moin/GoogleGroupsPython

That link needs updating.

Even if my almost-automatic correction methods are not considered
kosher for some reason or other, the thing that needs to go in there
is that GG has TWO problems

1. Blank lines
2. Long lines

That link only describes 1.

Roy's yesterday's post in "Packaging a proprietary python library"
says:

> I, and Rusi, know enough, and take the effort, to overcome its
> shortcomings doesn't change that.

But in fact his post takes care of 1 not 2.

In all fairness I did not know that 2 is a problem until rurpy pointed
it out recently and was not correcting it. In fact, I'd take the
trouble to make the lines long assuming that clients were intelligent
enough to fit it properly into whatever was the current window!!!

So someone please update that page!

[toc] | [prev] | [next] | [standalone]


#61163

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2013-12-06 16:25 +0000
Message-ID<mailman.3655.1386347178.18130.python-list@python.org>
In reply to#61162
On 06/12/2013 16:19, rusi wrote:
> On Friday, December 6, 2013 9:23:47 PM UTC+5:30, Mark Lawrence wrote:
>> On 06/12/2013 15:34, Steven D'Aprano wrote:
>>
>> (if I remember correctly) I think Mark also
>>
>>> sometimes posts a link to managing Google Groups.
>>
>>>
>>
>> You do, and here it is https://wiki.python.org/moin/GoogleGroupsPython
>
> That link needs updating.
>
> Even if my almost-automatic correction methods are not considered
> kosher for some reason or other, the thing that needs to go in there
> is that GG has TWO problems
>
> 1. Blank lines
> 2. Long lines
>
> That link only describes 1.
>
> Roy's yesterday's post in "Packaging a proprietary python library"
> says:
>
>> I, and Rusi, know enough, and take the effort, to overcome its
>> shortcomings doesn't change that.
>
> But in fact his post takes care of 1 not 2.
>
> In all fairness I did not know that 2 is a problem until rurpy pointed
> it out recently and was not correcting it. In fact, I'd take the
> trouble to make the lines long assuming that clients were intelligent
> enough to fit it properly into whatever was the current window!!!
>
> So someone please update that page!
>

This is a community so why don't you?

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

[toc] | [prev] | [next] | [standalone]


#61168

Fromrusi <rustompmody@gmail.com>
Date2013-12-06 08:45 -0800
Message-ID<f8bd3d70-2ed3-497c-8f9d-409bda778e3d@googlegroups.com>
In reply to#61163
On Friday, December 6, 2013 9:55:54 PM UTC+5:30, Mark Lawrence wrote:
> On 06/12/2013 16:19, rusi wrote:

> > So someone please update that page!

> This is a community so why don't you?

Ok done (at least a first draft)
I was under the impression that anyone could not edit

[toc] | [prev] | [next] | [standalone]


#61166

FromMRAB <python@mrabarnett.plus.com>
Date2013-12-06 16:41 +0000
Message-ID<mailman.3657.1386348063.18130.python-list@python.org>
In reply to#61159
On 06/12/2013 15:34, Steven D'Aprano wrote:
> On Fri, 06 Dec 2013 06:52:48 -0800, iMath wrote:
>
>> yes ,I am a native Chinese speaker.I always post question by Google
>> Group not through  email ,is there something wrong with it ? your
>> english is a little strange to me .
>
> Mark is writing in fake old-English style, the way people think English
> was spoken a thousand years ago. I don't know why he did that. Perhaps he
> thought it was amusing.
>
[snip]
You're exaggerating. It's more like 500 years ago. :-)

[toc] | [prev] | [next] | [standalone]


Page 1 of 2  [1] 2  Next page →

Back to top | Article view | comp.lang.python


csiph-web