Paulo da Silva wrote:
> Hi!
>
> Suppose I have a class A whose implementation I don't know about.
> That class A has a method f that returns a A object.
>
> class A:
> ...
> def f(self, <...>):
> ...
>
> Now I want to write B derived from A with method f1. I want f1 to return
> a B object:
>
>
On Monday 09 May 2016 09:10, DFS wrote:
> sSQL = "line 1\n"
> sSQL += "line 2\n"
> sSQL += "line 3"
Pointlessly provocative subject line edited.
Since all three lines are constants know by the programmer at the time the
source code is written, it should be written as:
sSQL = """line 1
line 2
On Sun, 08 May 2016 11:01:58 -0700, Christopher Reimer wrote:
> On 5/8/2016 10:53 AM, alister wrote:
>> On Mon, 09 May 2016 03:12:14 +1000, Steven D'Aprano wrote:
>>
>>> On Sun, 8 May 2016 08:21 pm, Cai Gengyang wrote:
>>>
If one looks at the Forbes List, you will see that there are 4
pr
On Sun, 08 May 2016 21:51:18 -0700, Cai Gengyang wrote:
> I am guessing that the 2 you mentioned are Bill Gates and Larry Ellison
> ? I heard that they have tons of lawsuits against them in their career
> (anti-monopoly, anti-competitive laws filed against them both from the
> government and from
HI!
Deep-links for downloading a specific version from PyPI seemed to work like
this:
$ wget https://pypi.python.org/packages/source/a/ansible/ansible-2.0.1.0.tar.gz
[..]
Saving to: ‘ansible-2.0.1.0.tar.gz’
But this recent version does not work:
$ wget https://pypi.python.org/packages/source/a
On Monday, May 9, 2016 at 3:30:31 PM UTC+5:30, Michael Ströder wrote:
> HI!
>
> Deep-links for downloading a specific version from PyPI seemed to work like
> this:
>
> $ wget
> https://pypi.python.org/packages/source/a/ansible/ansible-2.0.1.0.tar.gz
> [..]
> Saving to: 'ansible-2.0.1.0.tar.gz'
On Monday, May 9, 2016 at 10:50:47 AM UTC+5:30, hariram...@gmail.com wrote:
> is there anyway (IDE/package) that allows me to create graphics/game just
> like that (by instructing..., if i say create hills on the screen, it should
> generate pygame code)Anyway :) :)
Atleast i tried with
On Monday, May 9, 2016 at 10:50:47 AM UTC+5:30, hariram...@gmail.com wrote:
> is there anyway (IDE/package) that allows me to create graphics/game just
> like that (by instructing..., if i say create hills on the screen, it should
> generate pygame code)Anyway :) :)
is there any way to c
Am 08.05.2016 um 12:21 schrieb Cai Gengyang:
> If one looks at the Forbes List, you will see that there are 4
> programmers amongst the top ten richest people in the world (Bill
> Gates, Mark Zuckerberg, Larry Ellison and Jeff Bezos) , a very large
> percentage.
You might elaborate your knowledg
harirammano...@gmail.com wrote:
> On Monday, May 9, 2016 at 3:30:31 PM UTC+5:30, Michael Ströder wrote:
>> HI!
>>
>> Deep-links for downloading a specific version from PyPI seemed to work like
>> this:
>>
>> $ wget
>> https://pypi.python.org/packages/source/a/ansible/ansible-2.0.1.0.tar.gz
>> [..
On Mon, 9 May 2016 08:00 pm, Michael Strc3b6der wrote:
> HI!
>
> Deep-links for downloading a specific version from PyPI seemed to work
> like this:
>
> $ wget
> https://pypi.python.org/packages/source/a/ansible/ansible-2.0.1.0.tar.gz
> [..]
> Saving to: ‘ansible-2.0.1.0.tar.gz’
>
> But this re
Steven D'Aprano wrote:
> On Mon, 9 May 2016 08:00 pm, Michael Strc3b6der wrote:
>
>> HI!
>>
>> Deep-links for downloading a specific version from PyPI seemed to work
>> like this:
>>
>> $ wget
>> https://pypi.python.org/packages/source/a/ansible/ansible-2.0.1.0.tar.gz
>> [..]
>> Saving to: ‘ansibl
On Sunday, May 8, 2016 at 3:52:12 PM UTC+5:30, Cai Gengyang wrote:
> I just "clicked" through the lesson on Conditionals and Control Flows and am
> on the lesson "PygLatin" .
>
> This will hopefully be a more interesting and interactive lesson because I
> will be building a PygLatin Translator .
On 05/08/2016 04:21 AM, Cai Gengyang wrote:
> This is a long
> road ahead, but I believe it is worth it because the power of a new
> technology does eventually translate into money.
If this is your prime motivation, I think you'll be very disappointed.
A good programmer certainly can make a good
On 9 May 2016 at 13:35, Michael Ströder wrote:
> Steven D'Aprano wrote:
>> On Mon, 9 May 2016 08:00 pm, Michael Strc3b6der wrote:
>>
>>> HI!
>>>
>>> Deep-links for downloading a specific version from PyPI seemed to work
>>> like this:
>>>
>>> $ wget
>>> https://pypi.python.org/packages/source/a/an
On Monday, May 9, 2016 at 3:15:45 AM UTC-7, hariram...@gmail.com wrote:
> On Monday, May 9, 2016 at 10:50:47 AM UTC+5:30, hariram...@gmail.com wrote:
> > is there anyway (IDE/package) that allows me to create graphics/game just
> > like that (by instructing..., if i say create hills on the screen,
You're saying that wasn't a coded message?
On Sun, May 8, 2016, 10:44 PM srinivas devaki
wrote:
> I'm so sorry, forgot to lock my phone.
> On May 9, 2016 9:01 AM, "srinivas devaki"
> wrote:
>
> > f be gfdnbh be b GB GB BH GB vbjfhjb GB bffbbubbv GB hbu hbu
> > fjbjfbbbufhbvh VB have fqb
Às 05:20 de 09-05-2016, Paulo da Silva escreveu:
Thank you Yann and Peter.
I really didn't know anything about those "things".
So far I have worked a lot with classes but they are written by me.
Now I needed to derive pandas.Series (for example) and it has some
methods that return pandas.Series o
Hi,
in python3 my variable looks like this:
a = b'{"uuid":"5730e8666ffa02.34177329","error":""}'
str(a) = 'b\'{"uuid":"5730e8666ffa02.34177329","error":""}\''
If I execute the following command I get the error:
>>> json.loads(str(a))
Traceback (most recent call last):
File "C:\Program Files (
zljubi...@gmail.com wrote:
> Hi,
>
> in python3 my variable looks like this:
>
> a = b'{"uuid":"5730e8666ffa02.34177329","error":""}'
> str(a) = 'b\'{"uuid":"5730e8666ffa02.34177329","error":""}\''
>
> If I execute the following command I get the error:
>
json.loads(str(a))
> Traceback (m
On 2016-05-09 20:56, zljubi...@gmail.com wrote:
Hi,
in python3 my variable looks like this:
a = b'{"uuid":"5730e8666ffa02.34177329","error":""}'
str(a) = 'b\'{"uuid":"5730e8666ffa02.34177329","error":""}\''
If I execute the following command I get the error:
json.loads(str(a))
Traceback (mo
zljubi...@gmail.com writes:
> in python3 my variable looks like this:
>
> a = b'{"uuid":"5730e8666ffa02.34177329","error":""}'
> str(a) = 'b\'{"uuid":"5730e8666ffa02.34177329","error":""}\''
>
> If I execute the following command I get the error:
>
json.loads(str(a))
> Traceback (most recent
On 5/9/2016 3:56 PM, zljubi...@gmail.com wrote:
Hi,
in python3 my variable looks like this:
a = b'{"uuid":"5730e8666ffa02.34177329","error":""}'
str(a) = 'b\'{"uuid":"5730e8666ffa02.34177329","error":""}\''
If I execute the following command I get the error:
json.loads(str(a))
Traceback (mo
Consider the following example python package where `a.py` and `b.py`
depend on each other:
/package
__init__.py
a.py
b.py
There are several ways I could import the "a.py" module in "b.py"
import package.a # Absolute import
import package.a as a_mod
On Tue, May 10, 2016 at 9:54 AM, Brendan Abel <007bren...@gmail.com> wrote:
> Consider the following example python package where `a.py` and `b.py`
> depend on each other:
>
> /package
> __init__.py
> a.py
> b.py
>
>
> There are several ways I could import the "a.py" mod
On Mon, May 9, 2016, at 19:54, Brendan Abel wrote:
> Consider the following example python package where `a.py` and `b.py`
> depend on each other:
>
> /package
> __init__.py
> a.py
> b.py
>
>
> There are several ways I could import the "a.py" module in "b.py"
>
>
On Tue, 10 May 2016 09:07 am, Terry Reedy wrote:
> Editorial: Programming classes should teach basic debugging better. I
> have seen numerous newbie Stackoverflow questions where the person
> should have started with adding a print statement before posting a
> question.
+1
--
Steven
--
On Tue, 10 May 2016 07:21 am, Thomas 'PointedEars' Lahn wrote:
> Chris Angelico wrote:
>
>> On Mon, May 9, 2016 at 10:44 AM, Thomas 'PointedEars' Lahn
>> wrote:
>>> With the “%” string operator (deprecated), str.format(), and
>>> str.Template, you can use other values in string values even witho
On Tue, May 10, 2016 at 12:32 PM, Steven D'Aprano wrote:
> Floats are old (they go back to the first release of Python), they have many
> quirks (x + y - x is not necessarily equal to y), and people make many
> errors with floats. Does this mean they are deprecated? Of course not.
Careful there S
On Tuesday, May 10, 2016 at 2:52:13 AM UTC+5:30, Thomas 'PointedEars' Lahn
wrote:
> Chris Angelico wrote:
>
> > On Mon, May 9, 2016 at 10:44 AM, Thomas 'PointedEars' Lahn wrote:
> >> Also, it would be a good idea if you posted under your real name.
> >> Internet is the thing with cables; Usenet
On Tuesday, May 10, 2016 at 7:43:17 AM UTC+5:30, Steven D'Aprano wrote:
> On Tue, 10 May 2016 09:07 am, Terry Reedy wrote:
>
> > Editorial: Programming classes should teach basic debugging better. I
> > have seen numerous newbie Stackoverflow questions where the person
> > should have started with
On Monday, May 9, 2016 at 11:12:47 PM UTC+5:30, sohca...@gmail.com wrote:
> On Monday, May 9, 2016 at 3:15:45 AM UTC-7, hariram...@gmail.com wrote:
> > On Monday, May 9, 2016 at 10:50:47 AM UTC+5:30, hariram...@gmail.com wrote:
> > > is there anyway (IDE/package) that allows me to create graphics/g
On Monday, May 9, 2016 at 11:12:47 PM UTC+5:30, sohca...@gmail.com wrote:
> On Monday, May 9, 2016 at 3:15:45 AM UTC-7, hariram...@gmail.com wrote:
> > On Monday, May 9, 2016 at 10:50:47 AM UTC+5:30, hariram...@gmail.com wrote:
> > > is there anyway (IDE/package) that allows me to create graphics/g
Ok, so after reading YCombinator's RFS, I have decided that I want to work on
this :
---
EDUCATION
If we can fix education, we can eventually do everything else on this list.
The fir
On Tuesday 10 May 2016 13:45, Rustom Mody wrote:
> See:
> http://www.alphr.com/computing/1000378/facebook-rejects-native-american-
names-as-fake-again
Somebody should set up a kick-starter to pay someone to change their legal
name to "Facebook-Are-Arseholes", then open a Facebook account with i
35 matches
Mail list logo