On 09Aug2015 20:55, Roger Hunter wrote:
I agree that some of Python is simple but the description of subprocess is
certainly not.
It depends, to a degree. Subprocess embodies, in a fairly portable way, the
mechanisms for starting an external command and connecting to it, and has a few
conven
In a message of Mon, 10 Aug 2015 08:55:10 +0530, OmPs writes:
>I have built a contact form which sends me email for every user
>registration My question is more related to parsing some text data into csv
>format.
Your contact form should be able to produce csv files for you, rather
than producing p
Hi All,
Please accept my apologies, if this similar question has been asked
earlier, I tried to search over the stack network and googled but couldn't
find relevant information, partly may be because I may not be able to
search effectively.
I have built a contact form which sends me email for eve
Wowsuch a generous response. Thank you, Laura!
Based upon your feedback, I did some additional investigation and decided
to go with Django. One of the reasons is that it¹s got everything in the
package. For example, I won¹t have to go outside of Django for my database
needs. And, although my webs
On Mon, Aug 10, 2015 at 3:41 AM, Michael Torrie wrote:
> Web development is very a very hard problem, largely because it involves
> quite a few different domain-specific languages that you have to be
> proficient in...
>
> In this area, node.js is getting very popular. I don't care much for
> java
On 09Aug2015 17:44, Clayton Kirkwood wrote:
But there is nothing non-cryptic and orderly that I have found that lists
out various modules and packages. If you know the module, it generally gives
most of the information, but if you don't know the module name or function
capability, you're lost.
> -Original Message-
> From: Python-list [mailto:python-list-
> bounces+crk=godblessthe...@python.org] On Behalf Of Dennis Lee Bieber
> Sent: Sunday, August 09, 2015 1:43 PM
> To: python-list@python.org
> Subject: Re: Pipes
>
> On Sun, 9 Aug 2015 10:55:36 -0700 (PDT), rogerh...@gmail.com
random...@fastmail.us wrote:
> On Sat, Aug 8, 2015, at 13:59, Laurent Pointal wrote:
>> > Level?
>>
>> Graduate (post-Bac in france)
>
> Yours or your students?
My students.
>
>> > 1. Are you
>> > grade school (1=12)?
>>
>> (sorry, I dont know correspondance in france)
>
> Grade 12 refers t
On 08/08/2015 09:08 PM, Dwight GoldWinde wrote:
I am both new to Python and I haven’t even touched Django yet.
I understand I that I need Django or something like it to develop my
website.
From what I have read, Python and Django somewhat go together.
Is that true?
Or is there another devel
On 09Aug2015 10:55, rogerh...@gmail.com wrote:
But WOW! Python is described as an easy to learn language. I don't think so!
The language itself is pretty compact and expressive. You also need to gain
some familarity with the standard library that comes with it. That has lots of
stuff. "subpr
On 09/08/2015 21:43, Dennis Lee Bieber wrote:
On Sun, 9 Aug 2015 10:55:36 -0700 (PDT), rogerh...@gmail.com declaimed the
following:
Nevermind, I found it. Thanks for the pointer. But WOW! Python is described as
an easy to learn language. I don't think so!
It is... The Language Refer
Michael Torrie wrote:
> Web development is very a very hard problem, largely because it involves
> quite a few different domain-specific languages that you have to be
> proficient in.
I, professional Web developer, will not comment on that :)
> It's not just a matter of Python and Django. You mu
On Sun, 09 Aug 2015 10:55:36 -0700, rogerh906 wrote:
> On Sunday, August 9, 2015 at 8:11:18 AM UTC-6, roge...@gmail.com wrote:
>> Just learning Python and have a question.
>>
>> Is it possible for Python to pass information to another program (in
>> Windows), wait for that program to finish and t
On 8/9/2015 10:55 AM, rogerh...@gmail.com wrote:
On Sunday, August 9, 2015 at 8:11:18 AM UTC-6, roge...@gmail.com wrote:
Just learning Python and have a question.
Is it possible for Python to pass information to another program
>>(in Windows), wait for that program to finish and then resume op
On 09/08/2015 18:52, Ian Kelly wrote:
On Sun, Aug 9, 2015 at 11:39 AM, wrote:
Where can I find out about this? It's not mentioned in my "Introduction to
Python" book.
The Python documentation at docs.python.org are an important resource,
and in particular the subprocess module is covered at
On Sunday, August 9, 2015 at 8:11:18 AM UTC-6, roge...@gmail.com wrote:
> Just learning Python and have a question.
>
> Is it possible for Python to pass information to another program (in
> Windows), wait for that program to finish and then resume operating?
>
> It's called a pipe in Unix syste
On Sun, Aug 9, 2015 at 11:39 AM, wrote:
> Where can I find out about this? It's not mentioned in my "Introduction to
> Python" book.
The Python documentation at docs.python.org are an important resource,
and in particular the subprocess module is covered at
https://docs.python.org/3/library/sub
On 08/08/2015 10:08 PM, Dwight GoldWinde wrote:
> I am both new to Python and I haven¹t even touched Django yet.
>
> I understand I that I need Django or something like it to develop my
> website.
>
> From what I have read, Python and Django somewhat go together.
>
> Is that true?
>
> Or is the
On Sunday, August 9, 2015 at 8:11:18 AM UTC-6, roge...@gmail.com wrote:
> Just learning Python and have a question.
>
> Is it possible for Python to pass information to another program (in
> Windows), wait for that program to finish and then resume operating?
>
> It's called a pipe in Unix syste
On Sun, Aug 9, 2015 at 8:10 AM, wrote:
> Just learning Python and have a question.
>
> Is it possible for Python to pass information to another program (in
> Windows), wait for that program to finish and then resume operating?
>
> It's called a pipe in Unix systems.
Yes, pipes can also be used
On Sunday, August 9, 2015 at 2:57:20 AM UTC+5:30, Marko Rauhamaa wrote:
> Marko Rauhamaa :
>
> > Steven D'Aprano :
> >
> >> The contemporary standard approach is from Zermelo-Fraenkel set
> >> theory: define 0 as the empty set, and the successor to n as the
> >> union of n and the set containing n
Just learning Python and have a question.
Is it possible for Python to pass information to another program (in Windows),
wait for that program to finish and then resume operating?
It's called a pipe in Unix systems.
Thanks,
Roger
--
https://mail.python.org/mailman/listinfo/python-list
On 09/08/2015 12:30, Laura Creighton wrote:
Maybe add something about this here?
https://docs.python.org/2/tutorial/classes.html#iterators
Laura
Better still https://docs.python.org/3/tutorial/classes.html#iterators
--
My fellow Pythonistas, ask not what our language can do for you, ask
what
On 09/08/2015 14:11, Chris Angelico wrote:
On Sun, Aug 9, 2015 at 11:09 PM, Tim Chase wrote:
On 2015-08-09 19:24, Chris Angelico wrote:
That's exactly right. The only way for the interpreter to handle
'in' on an iterator is something like this:
def contains(iter, obj):
for val in iter:
On 2015-08-09 19:24, Chris Angelico wrote:
> That's exactly right. The only way for the interpreter to handle
> 'in' on an iterator is something like this:
>
> def contains(iter, obj):
> for val in iter:
> if val == obj: return True
> return False
Which can nicely be written as
On Sun, Aug 9, 2015 at 11:09 PM, Tim Chase wrote:
> On 2015-08-09 19:24, Chris Angelico wrote:
>> That's exactly right. The only way for the interpreter to handle
>> 'in' on an iterator is something like this:
>>
>> def contains(iter, obj):
>> for val in iter:
>> if val == obj: return
Maybe add something about this here?
https://docs.python.org/2/tutorial/classes.html#iterators
Laura
--
https://mail.python.org/mailman/listinfo/python-list
On Sun, Aug 9, 2015 at 9:00 PM, Pierre Quentel wrote:
>> The trap you're seeing here is that iterating over an iterator always
>> consumes it, but mentally, you're expecting this to be iterating over
>> a new instance of the same sequence.
>
> No, I just tried to apply what I read in the docs :
>
> The trap you're seeing here is that iterating over an iterator always
> consumes it, but mentally, you're expecting this to be iterating over
> a new instance of the same sequence.
No, I just tried to apply what I read in the docs :
1. I have y = A(10) which is an instance of a class which doe
On Sun, Aug 9, 2015 at 7:55 PM, Pierre Quentel wrote:
> Thanks for the explanation. I understand that an iterator can't test
> membership any other way, but I'm still worried about how the documentation
> explains it. Reading it, I naively expected that an iterator which produces
> the integer
Le dimanche 9 août 2015 11:25:17 UTC+2, Chris Angelico a écrit :
> On Sun, Aug 9, 2015 at 7:06 PM, Pierre Quentel
> wrote:
> > "For user-defined classes which do not define __contains__() but do define
> > __iter__(), x in y is true if some value z with x == z is produced while
> > iterating over
On Sun, Aug 9, 2015 at 7:06 PM, Pierre Quentel wrote:
> "For user-defined classes which do not define __contains__() but do define
> __iter__(), x in y is true if some value z with x == z is produced while
> iterating over y. If an exception is raised during the iteration, it is as if
> in raised
The documentation at
https://docs.python.org/3.5/reference/expressions.html#not-in says :
"For user-defined classes which do not define __contains__() but do define
__iter__(), x in y is true if some value z with x == z is produced while
iterating over y. If an exception is raised during the it
33 matches
Mail list logo