On Sunday, December 10, 2017 at 11:15:15 AM UTC+5:30, Frank Millman wrote:
> "Rustom Mody" wrote in message
>
>
>
> I was sending some files to some students.
> Since it was more than one, the natural choice was a tarball.
> [I believe that since it was a very tiny total space I did not compre
Chris Angelico wrote:
> On Sun, Dec 10, 2017 at 12:56 PM, Steve D'Aprano
> wrote:
> > Remember the context here: we're replying to a thread discussing somebody
> > who
> > is running Ubuntu with a GUI desktop environment. Of course there are *some*
> > Linux systems which don't run a GUI at all,
On Sun, 10 Dec 2017 04:52 am, MRAB wrote:
> Try updating __dict__:
>
> Opts.__dict__.update(json.load(open("mybuffer")))
__dict__ is implementation, vars() is the public interface:
vars(Opts).update(json.load(open("mybuffer")))
Looks nicer too :-)
--
Steve
“Cheer up,” they said, “th
On 10/12/17 07:01, Chris Angelico wrote:
> On Sun, Dec 10, 2017 at 4:52 PM, Steve D'Aprano
> wrote:
>> On Sun, 10 Dec 2017 02:01 pm, Chris Angelico wrote:
>>
>>> On Sun, Dec 10, 2017 at 12:56 PM, Steve D'Aprano
>>> wrote:
Remember the context here: we're replying to a thread discussing someb
Hi,
I have trouble installing pylint on Windows 10, Python 3.6. There's a
problem during the installation of wrapt, which is a dependency of pylint.
Here are the contents of the commandline:
C:\WINDOWS\system32>python -m pip install pylint
Collecting pylint
Using cached pylint-1.7.4-py2.py
Rustom Mody wrote:
[...]
> Whether there was nothing wrong in what I did, the "wrong-
> right" was de facto, or de jure… I will leave to more wise
> persons than myself
A file with no extension (regardless of the OS or desktop
enviroment that it was created on), is like a sealed box with
no
Hello all! I've been trying to create a game in Python Processing where a
spaceship moves horizontally in order to miss a collision with an asteroid. I'm
having difficulty making it so that the game quits when an asteroid hits the
spaceship, could anybody help? Here is my code. As you can see, I
Yes, all cool. But,
json.dump(Opts.__dict__, open("mybuffer", "w"))
still doesn't work with python3. Returns "is not JSON serializable"
On Sun, Dec 10, 2017 at 4:00 AM, Steve D'Aprano
wrote:
> On Sun, 10 Dec 2017 04:52 am, MRAB wrote:
>
> > Try updating __dict__:
> >
> > Opts.__dict__.
On Mon, Dec 11, 2017 at 10:10 AM, Rick Johnson
wrote:
> Rustom Mody wrote:
>
> [...]
>
>> Whether there was nothing wrong in what I did, the "wrong-
>> right" was de facto, or de jure… I will leave to more wise
>> persons than myself
>
> A file with no extension (regardless of the OS or desktop
>
On Mon, 11 Dec 2017 11:29 am, Chris Angelico wrote:
> On Mon, Dec 11, 2017 at 10:10 AM, Rick Johnson
> wrote:
>> And it's not like we can just pick file up and shake
>> it, in a crude attempt to intuit the contents.
>
> No, but fortunately we have magic. And magic can tell us a lot about
> what
On Mon, Dec 11, 2017 at 2:35 PM, Steve D'Aprano
wrote:
> On Mon, 11 Dec 2017 11:29 am, Chris Angelico wrote:
>
>> On Mon, Dec 11, 2017 at 10:10 AM, Rick Johnson
>> wrote:
>
>>> And it's not like we can just pick file up and shake
>>> it, in a crude attempt to intuit the contents.
>>
>> No, but fo
Lauren Porter wrote:
Hello all! I've been trying to create a game in Python Processing where a
spaceship moves horizontally in order to miss a collision with an asteroid. I'm
having difficulty making it so that the game quits when an asteroid hits the
spaceship, could anybody help? Here is my
Cutter writes:
> ...
> I have trouble installing pylint on Windows 10, Python 3.6. There's a
> problem during the installation of wrapt, which is a dependency of
> pylint.
>
> Here are the contents of the commandline:
>
>> C:\WINDOWS\system32>python -m pip install pylint
>> ...
>> Collecting wrapt
13 matches
Mail list logo