On 31Oct2019 22:03, Jach Fong wrote:
Cameron Simpson於 2019年11月1日星期五 UTC+8下午12時13分45秒寫道:
On 31Oct2019 20:44, Jach Fong wrote:
>The script test.py is something like this:
>---test.py
>from pyeds import fsm
>...
>class Rule_Parse:
>def __init__(self):
>...
>self.current_ch
Cameron Simpson於 2019年11月1日星期五 UTC+8下午5時28分42秒寫道:
> On 31Oct2019 22:03, Jach Fong wrote:
> >Cameron Simpson於 2019年11月1日星期五 UTC+8下午12時13分45秒寫道:
> >> On 31Oct2019 20:44, Jach Fong wrote:
> >> >The script test.py is something like this:
> >> >---test.py
> >> >from pyeds import fsm
> >> >...
> >>
On 31/10/2019 20:14, MRAB wrote:
On 2019-10-31 18:46, ferzan saglam wrote:
The code below which I have written should print the result of 43.6
with the given values I have included at the end of this question, but
for some odd reason I get the result of 44.44.
bill = (input("Enter the total
-- Forwarded message -
From: Tanay Dandekar
Date: Thu, Oct 31, 2019 at 10:30 PM
Subject: python startup failure problem
To:
Dear Sir,
Please find attached photo of Python failure detail.
please solve this problem as soon as possible.
thanking you,
Regard
tanay
--
https://ma
After a work intense RFP over two months with more than 40 venues
competing, 18 first round entries, and two rounds of refinements, we
are now happy to announce the winner:
EuroPython 2020 will be held at the CCD in
Dublin, Ireland, from July 20 - 26 2020
We will now
-- Forwarded message -
From: Shubham Tomar
Date: Fri, 1 Nov 2019 at 13:58
Subject: jupyter not install sucessfully
To:
Dear sir,
i have installed python and then pip , after that i installed jupyter using
pip in command prompt. But jupyter can't start and give " external and
int
On Fri, Nov 1, 2019 at 8:59 AM Tanay Dandekar
wrote:
>
> -- Forwarded message -
> From: Tanay Dandekar
> Date: Thu, Oct 31, 2019 at 10:30 PM
> Subject: python startup failure problem
> To:
>
>
> Dear Sir,
>
> Please find attached photo of Python failure detail.
>
> please solve t
On Thu, 31 Oct 2019 at 22:08, Martin Schöön wrote:
> Den 2019-10-16 skrev Piet van Oostrum :
>> Why should that not work?
> pip install --user pip broke pip. I have not been able to repair pip
I guess that's just the local pip shadowing the system one when you
let the command "pip" to be resolve
On 2019-11-01 12:36, Rhodri James wrote:
On 31/10/2019 20:14, MRAB wrote:
On 2019-10-31 18:46, ferzan saglam wrote:
The code below which I have written should print the result of 43.6
with the given values I have included at the end of this question, but
for some odd reason I get the result of
On 01/11/2019 17:07, MRAB wrote:
On 2019-11-01 12:36, Rhodri James wrote:
On 31/10/2019 20:14, MRAB wrote:
On 2019-10-31 18:46, ferzan saglam wrote:
The code below which I have written should print the result of 43.6
with the given values I have included at the end of this question,
but for s
I'm trying to understand pdb.post_mortem(), and why the backtrace
available in the debugger session seems limited.
I posted a similar question on stackoverflow[1], but figured I'd try
here as well.
Here's a simple program
import pdb
def inner():
raise Exception("bad stuff")
Hello,
I'm wondering if set'ing an asyncio.Event guarantees to notify all tasks that
are waiting for the event ?
Thus even if I `set()` the event and directly `clear()` the event, considering
that both thus instructions are no co-routines and thus will not return control
to the event-loop, wil
Hello all,
I've created a class from which I can iterate all its instanciated objects
(using an "instances" list).The problem is that I now cannot seem to
delete an object anymore, AFAIK as a copy of its "self" is still inside the
"instances" list.
Object in question:
- - - - - - - - - - -
On 01/11/2019 19:15, R.Wieser wrote:
Hello all,
I've created a class from which I can iterate all its instanciated objects
(using an "instances" list).The problem is that I now cannot seem to
delete an object anymore, AFAIK as a copy of its "self" is still inside the
"instances" list.
Objec
On Sat, Nov 2, 2019 at 6:21 AM R.Wieser wrote:
>
> Hello all,
>
> I've created a class from which I can iterate all its instanciated objects
> (using an "instances" list).The problem is that I now cannot seem to
> delete an object anymore, AFAIK as a copy of its "self" is still inside the
> "i
TLDR; declare if homework; doing someone's homework doesn't really help;
Python is not ALGOL/Pascal/C/C++ by any other name; Python assignments
should promote learning semantics as well as syntax; sometimes
re-stating the problem leads to an alternate/better solution.
On 31/10/19 12:55 AM, fe
On behalf of the Python development community, I'm slightly chagrined to
announce the availability of Python 3.5.9. There were no new changes in
version 3.5.9; 3.5.9 was released only because of a CDN caching problem,
which resulted in some users downloading a prerelease version of the
3.5.8
On Friday, November 1, 2019 at 1:05:35 AM UTC-4, MRAB wrote:
> On 2019-11-01 03:47, originallmo...@gmail.com wrote:
> > It's been years since I've done anything with Python, and it wasn't a
> > language I was terribly familiar with even then. I'm using Python 3.8 on my
> > Windows 7 laptop. Pytho
I tried what you suggested at the command prompt and (Despite being able to
open Python from my start menu), it tells me Python isn't installed.
I'm curious, and, I probably should have mentioned it earlier: I have Python on
my D drive (Because it has more space). Is THAT why it says Python isn
On 2019-11-02 01:55, originallmo...@gmail.com wrote:
On Friday, November 1, 2019 at 1:05:35 AM UTC-4, MRAB wrote:
On 2019-11-01 03:47, originallmo...@gmail.com wrote:
> It's been years since I've done anything with Python, and it wasn't a
language I was terribly familiar with even then. I'm usi
On 2019-11-02 02:28, originallmo...@gmail.com wrote:
I tried what you suggested at the command prompt and (Despite being able to
open Python from my start menu), it tells me Python isn't installed.
I'm curious, and, I probably should have mentioned it earlier: I have Python on
my D drive (Beca
On Fri, Nov 1, 2019 at 12:42 AM DL Neil via Python-list
wrote:
>
> Is the practice of TDD fundamentally, if not philosophically, somewhat
> contrary to Python's EAFP approach?
>
[...]
>
> In encouraging my mind to think about testing the code, I find myself
> searching for edge-cases, and attemp
On Sun, Oct 27, 2019, at 03:24, Steve White wrote:
> Yes, there are several options, but they all involve an extra layer
> that detracts between the interface I am building and my user's code.
> In this situation, the objects being used as keys are conceptually the
> unique entities that the user d
Chris,
> Have a method to explicitly purge the instance.
I was thinking of that too but decided against it, as it would mean that my
objects would need to be handled specially - which is not quite what I'm
looking for.
To be honest, I was thinking of/hoping that there would be a method which
Dennis,
> In __init__() you are adding "self" to a classwide list. So in
> your __del__() you need to remove the instance from the
> same list. Something
:-) Thats the problem: __del__ only gets called when the object is
destroyed - which will never happen when the "instances" list still contain
Rhodri,
> Use weak references. A WeakSet
> (https://docs.python.org/3/library/weakref.html#weakref.WeakSet) is
> probably what you want.
Most likely!As a fresh freshling in regard to python I was not even
aware that a "copy object, but do not increment the reference count"
existed.Th
26 matches
Mail list logo