C W writes:
> I am an R user learning Python. What is a good editor?
Either of Vim or Emacs – together with a good multi-tabbed terminal
program – make an excellent programmer IDE.
--
\“When I was a baby I kept a diary. Recently I was re-reading |
`\ it, it
Great, thanks!
On Jun 2, 2017 10:26 PM, "Danny Yoo" wrote:
> Steven says:
>
> >> I don't think "what the authors might want" is the only factor here.
> >> Personally, I think these programming challenge sites probably do more
> >> harm than good, discouraging people that
Steven says:
>> I don't think "what the authors might want" is the only factor here.
>> Personally, I think these programming challenge sites probably do more
>> harm than good, discouraging people that they're not good enough to be a
>> programmer because they can't solve the (often exceedingly
Thank you all for your views. I was hesitating for the same reason. Now I'm
clear that I shouldn't go for a blog that gives straightforward solution
for the challenges.
Thanks,
Meena
On Jun 2, 2017 7:30 PM, "Steven D'Aprano" wrote:
> On Fri, Jun 02, 2017 at 05:00:37PM
On Fri, Jun 02, 2017 at 05:00:37PM -0700, Danny Yoo wrote:
> Legality is the lowest of bars. We should aim higher.
>
> I'm pretty sure that the listed sites should strongly prefer *not* to have
> solutions available like this.
>
> The more I think about this, the more I'm tending to say: don't
Legality is the lowest of bars. We should aim higher.
I'm pretty sure that the listed sites should strongly prefer *not* to have
solutions available like this.
The more I think about this, the more I'm tending to say: don't do this.
It may feel like charity, but the authors of the problem sets
I'm not a fan of the idea of publishing solutions of coding challenge
problems because it often violates the honor codes of institutions. Even if
some sites are okay with this, the majority probably are not.
Rather than muddy the water, might be best to skirt the issue.
What is the problem
On 06/02/2017 08:31 AM, Peter Otten wrote:
Terry wrote:
We read the docstring so you don't have to ;)
I have to remember to utilize available help functions... my bad.
from PIL import Image
image = Image.open("sample.jpg") # some random pic I have lying around
help(image.paste)
Help on
On 06/02/2017 11:27 AM, meenu ravi wrote:
> Hello,
>
> I'm planning to create a blog that provides solution with explanation for
> python programming challenges available in websites like Hackerearth,
> codecademy, etc., so that if others also share their solution along with
> explanation in the
Dear Python list,
I am an R user learning Python. What is a good editor?
1) Pycharm
PyCharm evaluates the entire script, I just want to change a few lines in
the script.
For example,
import matplotlib.pyplot as plt
import numpy as np
x = np.arange(0, 1,0.1)
y = np.sin(2 * np.pi * x)
The only legal concern is if you're copying challenges directly from the
sites; someone has some sort of ownership and copyright on the code and
description.
Don't copy / paste anything and you'll be fine. If you do, check the
license first (it may be open source).
On Fri, Jun 2, 2017 at
Hello,
I'm planning to create a blog that provides solution with explanation for
python programming challenges available in websites like Hackerearth,
codecademy, etc., so that if others also share their solution along with
explanation in the same blog, it will be helpful for beginners. I wanted
Terry wrote:
> Slackware 14.2 64-bit
> Python 2.7.13
>
> I am trying to automate some photo processing by pasting a
> sig or watermark. The sig image is a .png with transparency
> but when it pastes it does so with a black background. Is there
> a way to paste with transparency?
>
>
>
> from
On 01/06/17 20:34, Terry wrote:
> Slackware 14.2 64-bit
> Python 2.7.13
>
> I am trying to automate some photo processing by pasting a
> sig or watermark. The sig image is a .png with transparency
> but when it pastes it does so with a black background. Is there
> a way to paste with
This appears to be a duplicate of the message you sent on 31st May.
Please don not send multiple copies of the same message, it fragments
the threads and messes up the archives for searching. One message is
sufficient, if you don't get a response it probably means nobody
knows the answer (or maybe
ihave to look at this tomorrow, thanks for the reply!
On Thu, Jun 1, 2017 at 6:18 PM Alan Gauld via Tutor
wrote:
> On 01/06/17 16:30, Michael C wrote:
> > Oh i get it alright, however in my code I have to push the W button like
> > this:
> >
> > import pyautogui
> > import
Hi All,
I'm facing a really strange behavior with python's wsgi_ref.simple_server
module.
I have the following setup:
- Raspberry Pi 2
- Ubuntu Mate 16.04
- Python3.5
-
I have the following simple source:
#!/usr/bin/env python3
import wsgiref.simple_server
def my_func(env, start_response):
17 matches
Mail list logo