Steven D'Aprano writes:
> "But frankly the stuff I'm seeing in this thread makes me sad for
> *literally every programming language in existence except for Erlang
> and maybe one or two others*, which altogether about six people use in
> total..."
Erlang microtasks are more a matter of the runtim
On 02/20/2016 10:38 AM, wrong.addres...@gmail.com wrote:
[snip]
How complicated could this get in Python? Reading the numbers is one thing, and
then placing the values in text boxes of the GUI.
If that is the only object of using these values, there is no conversions necessary. The data
is r
On Sat, 20 Feb 2016 05:44 pm, Paul Rubin wrote:
> But frankly the stuff I'm seeing in this thread makes me sad for Python.
> It's an impossible dream but it would be awesome to have Erlang-like
> communicating microtasks in Python.
"But frankly the stuff I'm seeing in this thread makes me sad for
On Sat, 20 Feb 2016 06:34 pm, Giriprasadh Raghavan wrote:
>
> I can’t install python on my pc because it encounters an error every time
> I try to install it. Please help as soon as possible. Sent from Mail for
> Windows 10
Shall we guess what the error says?
My guess is that you are out of di
On 2/19/2016 8:58 PM, Denis Akhiyarov wrote:
On Wednesday, February 17, 2016 at 1:49:44 PM UTC-6, wrong.a...@gmail.com wrote:
I am mostly getting positive feedback for Python.
It seems Python is used more for web based applications. Is it equally fine for
creating stand-alone *.exe's? Can the
wrong.addres...@gmail.com schreef op 2016-02-19 11:47:
Thanks. The data I will often have to read from text files could read like
2 12.657823 0.1823467E-04 114 0
3 4 5 9 11
"Lower"
278.15
Is it straightforward to read this, or does one have to read one character at a
time and then figure out w
On Sun, Feb 21, 2016 at 4:45 AM, Martin A. Brown wrote:
> Another (non-Python) DNS name lookup library that does practically
> the same thing (along with the shortcomingsn you mentioned, Chris:
> no NSS nor /etc/hosts) is the adns library. Well, it is DNS, after
> all.
>
> http://www.gnu.org/so
On 20 Feb 2016 14:05, "Giriprasadh Raghavan"
wrote:
>
>
> I can’t install python on my pc because it encounters an error every time
I try to install it. Please help as soon as possible.
You need to give more information than that to get clear help. What error
do you see? If there is an error mess
Am 20.02.16 um 19:45 schrieb wrong.addres...@gmail.com:
On Saturday, 20 February 2016 09:54:15 UTC+2, Steven D'Aprano wrote:
To answer your question "Do I need something fancy...?", no, of course not,
reading a line of numbers from a text file is easy.
with open("numbers.txt", "r") as f:
On Saturday, 20 February 2016 06:58:39 UTC+2, Denis Akhiyarov wrote:
> On Wednesday, February 17, 2016 at 1:49:44 PM UTC-6, wrong.a...@gmail.com
> wrote:
> > I am mostly getting positive feedback for Python.
> >
> > It seems Python is used more for web based applications. Is it equally fine
> >
On Saturday, 20 February 2016 09:54:15 UTC+2, Steven D'Aprano wrote:
> On Fri, 19 Feb 2016 10:53 pm, wrong.addres...@gmail.com wrote:
>
> >> See http://nedbatchelder.com/text/python-parsers.html for a list of
> >> parsers that can do all sorts for you. Or the stdlib re module
> >
> > I am an en
On Saturday, 20 February 2016 18:23:26 UTC+2, nholtz wrote:
> On Wednesday, February 17, 2016 at 2:49:44 PM UTC-5, wrong.a...@gmail.com
> wrote:
> > I am mostly getting positive feedback for Python.
> > ...
>
> I'm surprised no one has mentioned jupyter yet, so here goes ...
>
> A browser-based
On Saturday, 20 February 2016 09:49:17 UTC+2, Larry Hudson wrote:
> On 02/19/2016 10:14 AM, wrong.addres...@gmail.com wrote:
> [snip]
> >
> > This is precisely reading one character at a time. If not exactly reading
> > one character, it is effectively looking at each character to assemble the
>
Hello there,
I realize that this discussion of supporting asynchronous name
lookup requests in DNS is merely a detour in this thread on asyncio,
but I couldn't resist mentioning an existing tool.
>> getaddrinfo is a notorious pain but I think it's just a library
>> issue; an async version sho
Op zaterdag 20 februari 2016 09:43:35 UTC+1 schreef Mark Lawrence:
> On 20/02/2016 07:42, jenswaelk...@gmail.com wrote:
> > When I use either of the following commands I get an error for which I
> > don't have a solution, could someone here help me further?
> > These are the commands:
> > import m
Op zaterdag 20 februari 2016 09:50:05 UTC+1 schreef Dave Farrance:
> It occurs to me now that the trackback might misidentify the module in
> use, if say, you'd named a file "numbers.py" then got rid of it later
> leaving a "numbers.pyc" somewhere. If so, see where it is:
>
> import numbers
> prin
On Wednesday, February 17, 2016 at 2:49:44 PM UTC-5, wrong.a...@gmail.com wrote:
> I am mostly getting positive feedback for Python.
> ...
I'm surprised no one has mentioned jupyter yet, so here goes ...
A browser-based notebook, see http://www.jupyter.org
I think this is an unparalleled way to
On 20/02/2016 07:34, Giriprasadh Raghavan wrote:
I can’t install python on my pc because it encounters an error every time I try
to install it. Please help as soon as possible.
Sent from Mail for Windows 10
Asked and answered repeatedly over the last few months, so please search
the archive
I can’t install python on my pc because it encounters an error every time I try
to install it. Please help as soon as possible.
Sent from Mail for Windows 10
--
https://mail.python.org/mailman/listinfo/python-list
> getaddrinfo is a notorious pain but I think it's just a library issue; an
async version should be possible in principle. How does Twisted handle
it? Does it have a version?
I think we're a little outside the scope of OP's question at this point,
but for the sake of answering this:
There are a
On Fri, Feb 19, 2016 at 6:57 PM, Dennis Lee Bieber
wrote:
>
> Problem -- if the OP's PATH had contained the location of the add2path
> script, the OP might not have needed to search for it... (presuming their
> configuration also was set up to treat .py files as executable, entering
> win_
Paul Rubin :
> I've just felt depressed whenever I've looked at any Python async
> stuff. I've written many Python programs with threads and not gotten
> into the trouble that people keep warning about.
Programming-model-wise, asyncio is virtually identical with threads. In
each, I dislike the im
On Sat, Feb 20, 2016 at 1:49 AM, Chris Angelico wrote:
> Actually, that mightn't be a bad thing. Maybe raise that as a tracker
> issue? I just tested, and slapping "from __future__ import
> generator_stop" at the top of Lib/asyncio/futures.py causes your
> example to raise an exception instead of
Dave Farrance wrote:
>It occurs to me now that the trackback might misidentify the module in
>use, if say, you'd named a file "numbers.py" then got rid of it later
>leaving a "numbers.pyc" somewhere. If so, see where it is:
>
>import numbers
>print numbers.__file__
I seem to have "numbers" on th
On Sat, Feb 20, 2016 at 1:49 AM, Chris Angelico wrote:
> Definitely seems like it should be fixed, then; the current behaviour
> is that Future.result() raises RuntimeError if you raise
> StopIteration, so having await do the same would make sense.
Future.result() itself simply raises the StopIte
On Sat, Feb 20, 2016 at 7:59 PM, Marko Rauhamaa wrote:
> Chris Angelico :
>
>> In a (non-Python) program of mine, I got annoyed by synchronous name
>> lookups, so I hacked around it: instead of using the regular library
>> functions, I just do a DNS lookup directly (which can then be
>> event-base
Chris Angelico :
> In a (non-Python) program of mine, I got annoyed by synchronous name
> lookups, so I hacked around it: instead of using the regular library
> functions, I just do a DNS lookup directly (which can then be
> event-based - send a UDP packet, get notified when a UDP packet
> arrives
On Sat, Feb 20, 2016 at 7:37 PM, Paul Rubin wrote:
> getaddrinfo is a notorious pain but I think it's just a library issue;
> an async version should be possible in principle. How does Twisted
> handle it? Does it have a version?
In a (non-Python) program of mine, I got annoyed by synchronous n
It occurs to me now that the trackback might misidentify the module in
use, if say, you'd named a file "numbers.py" then got rid of it later
leaving a "numbers.pyc" somewhere. If so, see where it is:
import numbers
print numbers.__file__
--
https://mail.python.org/mailman/listinfo/python-list
On Sat, Feb 20, 2016 at 7:14 PM, Ian Kelly wrote:
> On Sat, Feb 20, 2016 at 12:57 AM, Chris Angelico wrote:
>> On Sat, Feb 20, 2016 at 6:48 PM, Ian Kelly wrote:
>>> As another point that happens to be fresh in my mind, awaiting a
>>> Future on which an exception gets set is supposed to propagate
On 20/02/2016 07:42, jenswaelk...@gmail.com wrote:
When I use either of the following commands I get an error for which I don't
have a solution, could someone here help me further?
These are the commands:
import matplotlib.pyplot as plt
Are you certain that this is what you typed?
C:\Users\Ma
On 02/19/2016 06:36 PM, Steven D'Aprano wrote:
On Fri, 19 Feb 2016 02:39 pm, Rustom Mody wrote:
[snip]
But you can't do anything interesting with this language, so it is not
satisfying. On the other hand, here's "Hello World" in another language,
one which is Turing complete so it can do anyt
Marko Rauhamaa writes:
> It would appear that disk I/O is considered nonblocking at a very deep
> level:
> * O_NONBLOCK doesn't have an effect
> * a process waiting for the disk to respond cannot receive a signal
> * a process waiting for the disk to respond stays in the "ready" state
You can
jenswaelk...@gmail.com wrote:
> File "/usr/lib/python2.7/decimal.py", line 3744, in
>_numbers.Number.register(Decimal)
>AttributeError: 'module' object has no attribute 'Number'
Your decimal module seems broken. Confirm that in the Python shell:
import numbers
print numbers.Number
I'm gue
On Sat, Feb 20, 2016 at 12:57 AM, Chris Angelico wrote:
> On Sat, Feb 20, 2016 at 6:48 PM, Ian Kelly wrote:
>> As another point that happens to be fresh in my mind, awaiting a
>> Future on which an exception gets set is supposed to propagate the
>> exception. I recently found that this breaks if
Paul Rubin :
> Marko Rauhamaa writes:
>> "Frank Millman" :
>>> I would love to drive the database asynchronously, but of the three
>>> databases I use, only psycopg2 seems to have asyncio support.
>> Yes, asyncio is at its infancy. There needs to be a moratorium on
>> blocking I/O.
>
> Unfortunat
On Thu, 18 Feb 2016 07:40 pm, Terry Reedy wrote:
> 8. 2.x has two subtlely different types of classes. The 2.x docs do not
> document the type of builtin and stdlib classes. I discovered that
> tkinter classes are still old-style in 2.7 when I backported a patch
> from 3.x to 2.7 and it mysteriou
On Sat, Feb 20, 2016 at 6:48 PM, Ian Kelly wrote:
> As another point that happens to be fresh in my mind, awaiting a
> Future on which an exception gets set is supposed to propagate the
> exception. I recently found that this breaks if the exception in
> question happens to be StopIteration (grant
On Fri, 19 Feb 2016 10:53 pm, wrong.addres...@gmail.com wrote:
>> See http://nedbatchelder.com/text/python-parsers.html for a list of
>> parsers that can do all sorts for you. Or the stdlib re module
>
> I am an engineer, and do not understand most of the terminology used
> there.
Google, or t
39 matches
Mail list logo