Steve D'Aprano writes:
> One of the more controversial aspects of the Python ecosystem is the Python
> docs. Some people love them, and some people hate them and describe them as
> horrible.
>
> Here are a couple of suggestions for improving(?) the docs. What do you
> think?
>
> (They're not my id
>
>
>> The first section does not do what I think you want: a list with 7
> options. It makes a list with one option, then overwrites it with a new
> list with one option, and so on. You want something like:
> menu_list = [
> "O - open account"
> "L - load details"
> "D - display det
>
> menu_list = ["O -open account"]
> menu_list =["l - load details"]
> menu_list =["D- display details"]
> menu_list =["A - Make deposit"]
> menu_list =["W- Make withdraw",]
> menu_list =["S - save"]
> menu_list =["Q - quit"]
>
> command = input("command:")
> if command.upper() == "O":
> open_()
>
On Saturday, December 12, 2015 at 2:35:29 PM UTC+5:30, Harbey Leke wrote:
> Create a class called BankAccount
>
> .Create a constructor that takes in an integer and assigns this to a
> `balance` property.
>
> .Create a method called `deposit` that takes in cash deposit amount and
> updates the
On Thursday, May 11, 2017 at 5:01:57 AM UTC-4, Mahmood Naderan wrote:
> Excuse me, I changed
>
> csv.writer(outstream)
>
> to
>
> csv.writer(outstream, delimiter =' ')
>
>
> It puts space between cells and omits "" around some content. However,
> between two lines there is a new empty line.
On Fri, May 12, 2017 at 8:03 PM, Peter Otten <__pete...@web.de> wrote:
> I don't have a Windows system to test, but doesn't that mean that on Windows
>
> with open("tmp.csv", "w") as f:
> csv.writer(f).writerows([["one"], ["two"]])
> with open("tmp.csv", "rb") as f:
> print(f.read())
>
> wo
Pavol Lisy wrote:
> On 5/11/17, Peter Otten <__pete...@web.de> wrote:
>> Mahmood Naderan via Python-list wrote:
>>> between two lines there is a new empty line. In other word, the first
>>> line is the first row of excel file. The second line is empty ("\n") and
>>> the third line is the second r
On Wednesday, May 10, 2017 at 12:48:36 PM UTC-4, RRS1 wrote:
> Hi,
>
>
> I am very new to Python, have only done simple things >>>print("hello
> world") type things. I've really been looking forward to using Python. I
> bought Two books, downloaded Python 3.6.1 (32 & 64) and each time I t
On Sat, May 13, 2017 at 4:05 AM, wrote:
> On Friday, May 12, 2017 at 3:02:58 AM UTC-7, Steve D'Aprano wrote:
>
>> (1) Table of functions/classes at the start of each module doc
>>
>> The docs for builtins starts with a table of built-in functions:
>>
>> https://docs.python.org/3/library/functions
On 5/11/17, Peter Otten <__pete...@web.de> wrote:
> Mahmood Naderan via Python-list wrote:
>
>> Excuse me, I changed
>>
>> csv.writer(outstream)
>>
>> to
>>
>> csv.writer(outstream, delimiter =' ')
>>
>>
>> It puts space between cells and omits "" around some content.
>
> If your data doesn't conta
On 05/12/2017 03:02 AM, Steve D'Aprano wrote:
Here are a couple of suggestions for improving(?) the docs. What do you
think?
(1) Table of functions/classes at the start of each module doc
I like this idea. Even if I don't know the exact thing I am looking for I can
usually get close from
On Friday, May 12, 2017 at 3:02:58 AM UTC-7, Steve D'Aprano wrote:
> (1) Table of functions/classes at the start of each module doc
>
> The docs for builtins starts with a table of built-in functions:
>
> https://docs.python.org/3/library/functions.html
>
>
> Docs for other modules should do s
We are pleased to announce our next keynote speaker for
EuroPython 2017:
* Armin Ronacher *
About Armin Ronacher
Armin Ronacher has founded a number of Python open source projects.
Most notably, he is the creator of Flask,
a popular
On Fri, 12 May 2017 21:14:01 +1000, Chris Angelico wrote:
> On Fri, May 12, 2017 at 8:02 PM, Steve D'Aprano
> wrote:
>> (2) The PHP documentation allows you to search for a term by typing it into
>> the URL after the domain, e.g. to search for "split", go to:
>>
>> http://php.net/split
>>
>>
>> I
On Fri, May 12, 2017 at 8:02 PM, Steve D'Aprano
wrote:
> (2) The PHP documentation allows you to search for a term by typing it into
> the URL after the domain, e.g. to search for "split", go to:
>
> http://php.net/split
>
>
> If you try the same thing with the Python docs:
>
> http://python.org/s
One of the more controversial aspects of the Python ecosystem is the Python
docs. Some people love them, and some people hate them and describe them as
horrible.
Here are a couple of suggestions for improving(?) the docs. What do you
think?
(They're not my ideas, the originated on Reddit.)
(1)
16 matches
Mail list logo