Xristos Xristoou writes:
> I have three functions in the python that each one puts an image (image path)
> as input and makes a simple image processing and creates a new image (image
> path) as output.
In order to make effective use of multiprocessing, you need to split
your complete task into
On 2017-10-09 04:35, Mikhail V wrote:
> Just for people like me who know nothing about networking,
> can you popularly explain the :
>
>> Have you ever worked on a slow remote session where a GUI is
>> completely impracticable (or maybe even unavailable), and redrawing
>> the screen is too expensi
On Mon, 9 Oct 2017 05:56 pm, Stefan Ram wrote:
> Abdur-Rahmaan Janhangeer writes:
>>hi just a quick question, why is
>
> When you post a new question, you should start a new thread.
> Your post already has many other posts in the References header.
>
>>my_pens = 4
>>my_pencils = 5
>>is pref
bartc wrote:
>> Your job is to port an editor that people have been using for 30 years to
>> Linux. The first thing you do is to change all the commands and
shortcuts to
>> match what is typical on Linux? So that no-one who was familiar with it
as
>> it was can actually use it?
Chris Angelico wrot
On 8 October 2017 at 17:43, Marko Rauhamaa wrote:
> It is not at all easy for the Linux user to figure out what
> configuration options there are, and which ones are intended for
> end-user configuration. More and more, such tuning needs to be
> done via systemd unit files (or applicable GUI facil
On 9 October 2017 at 04:25, wrote:
> Did you find out the answer for that?
Nothing much beyond the pointer to PyQt (which basically said "a lot
of the info on the web is out of date" so I should check the latest
docs). I didn't take it much further, though, as it was a hobby
project and the lear
On Mon, Oct 9, 2017 at 7:05 PM, Mikhail V wrote:
> The first thing a developer should provide - the keys and mouse input
> should be
> *customizable* by the user. It is so by most serious application I have
> ever used.
And they most certainly are. Often, in something in the host platform.
For in
On Mon, 09 Oct 2017 08:00:34 +0200, Lele Gaifax wrote:
> Chris Angelico writes:
>
>>> Or you could use a GUI editor that runs locally and has the capability
>>> to edit files remotely over ssh.
>>
>> That's also a possibility, but I have yet to find one that can SSH to a
>> server as a non-root
On Mon, Oct 9, 2017 at 8:15 PM, alister via Python-list
wrote:
> On Mon, 09 Oct 2017 08:00:34 +0200, Lele Gaifax wrote:
>
>> Chris Angelico writes:
>>
Or you could use a GUI editor that runs locally and has the capability
to edit files remotely over ssh.
>>>
>>> That's also a possibilit
alister :
> or if you want the luxury of a GUI editor simply ssh to the remote
> machine & run the editor there (using X forwarding to route the
> display to you local PC)
I could be doing it at this very moment. However X11 networking is so
clunky that I choose to do it in an SSH text terminal.
>>> Have you ever worked on a slow remote session where a GUI is
>>> completely impracticable (or maybe even unavailable), and redrawing
>>> the screen is too expensive to do all the time?
>>
>> So where does the redrawing happen? The machine youre sitting on (let's
>> call it 'A') and send remote
On Mon, Oct 9, 2017 at 8:44 PM, Mikhail V wrote:
>> ... The server may not be able to
>> (it's a server, why would anyone install a GUI on it?)
>
> If I ever work on it (locally) why would I want a GUI on it?
(Presuming you mean "wouldn't" here)
> o_O I'm not sure if I'm getting you.
> You mea
On 09/10/2017 06:15, Gregory Ewing wrote:
Grant Edwards wrote:
Which took it from RSX-11. Or probably more specifically from
FILES-11. I woldn't be surprised if the enineers at DEC got it from
somewhere else before that.
Quite possibly it goes back to the very earliest DEC OS
that had files,
On 09/10/2017 05:49, Chris Angelico wrote:
Generally, my preferred editor is nano, since it lives within those
requirements but still has a decent UI. It's not always available
though, and it's useful to know how to manage without it. But even
though you won't always be doing this sort of thing,
On Mon, Oct 9, 2017 at 11:43 PM, bartc wrote:
> On 09/10/2017 05:49, Chris Angelico wrote:
>
>> Generally, my preferred editor is nano, since it lives within those
>> requirements but still has a decent UI. It's not always available
>> though, and it's useful to know how to manage without it. But
On 2017-10-09, Gregory Ewing wrote:
> Grant Edwards wrote:
>> Which took it from RSX-11. Or probably more specifically from
>> FILES-11. I woldn't be surprised if the enineers at DEC got it from
>> somewhere else before that.
>
> Quite possibly it goes back to the very earliest DEC OS
> that had
On 2017-10-09, alister via Python-list wrote:
> or if you want the luxury of a GUI editor simply ssh to the remote
> machine & run the editor there (using X forwarding to route the display
> to you local PC)
AFAICT, most modern GUI toolkits are no longer usable via X forwarding
at sub-gigabit
Grant Edwards :
> On 2017-10-09, alister via Python-list wrote:
>
>> or if you want the luxury of a GUI editor simply ssh to the remote
>> machine & run the editor there (using X forwarding to route the
>> display to you local PC)
>
> AFAICT, most modern GUI toolkits are no longer usable via X fo
peforth
If the below explanations would be messy please directly refer to README.md @
https://github.com/hcchengithub/peforth
A programmable python debugger. Set one breakpoint to x-ray everything.
You guys know how to bebug already. We all do. But when it comes to Machine
Learning and Tensor
On Mon, 09 Oct 2017 17:27:27 +0300, Marko Rauhamaa wrote:
> Grant Edwards :
>
>> On 2017-10-09, alister via Python-list wrote:
>>
>>> or if you want the luxury of a GUI editor simply ssh to the remote
>>> machine & run the editor there (using X forwarding to route the
>>> display to you local PC
alister :
> I cant see any reason why I would want to run a web browser remotely
I have had that need occasionally. More recently, I wanted to print a
PDF document using evince. It took forever for evince to respond over
the WAN. I had to resort to other means.
> I can see that even this would be
On 2017-10-09, Marko Rauhamaa wrote:
> Grant Edwards :
>
>> On 2017-10-09, alister via Python-list wrote:
>>
>>> or if you want the luxury of a GUI editor simply ssh to the remote
>>> machine & run the editor there (using X forwarding to route the
>>> display to you local PC)
>>
>> AFAICT, most m
On 2017-10-09, Marko Rauhamaa wrote:
> I can't comment on Windows. However, X11's remote access is hardly
> usable.
15 years ago it worked great over 256Kbps DSL links. Even on dialup
links it was usable (if a bit clumsy).
It's the toolkits that are broken when it comes to remote access.
> Th
Grant Edwards :
> On 2017-10-09, Marko Rauhamaa wrote:
>> The problem is it's too low-level ("mechanism, not a policy"). What
>> we'd need is this setup:
>>
>>+-+
>>| client |
>>+-+
>>| toolkit |
>>| RPC |
>>+++
>> |
>> | TCP
>>
I want sep="" to be the default without having to specify it every time I
call print. Is that possible?
John Black
--
https://mail.python.org/mailman/listinfo/python-list
On 10/9/17 12:22 PM, John Black wrote:
I want sep="" to be the default without having to specify it every time I
call print. Is that possible?
There isn't a way to change the default for print(sep="") globally.
Generally when you want better control over the output, you use string
formatti
On 9 October 2017 at 17:22, John Black wrote:
> I want sep="" to be the default without having to specify it every time I
> call print. Is that possible?
def myprint(*args, **kw):
print(*args, sep="", **kw)
If you want, assign print=myprint.
Paul
--
https://mail.python.org/mailman/listinf
hum i see clearly with all my python experience, i have more to learn.
i never aligned the = but i found it neat looking but discouraged by pep8.
glad i did not switch to it and maintained it for sometimes !
thanks for answers !
Abdur-Rahmaan Janhangeer,
Mauritius
abdurrahmaanjanhangeer.wordpres
Le 09/10/2017 à 18:22, John Black a écrit :
I want sep="" to be the default without having to specify it every time I
call print. Is that possible?
>>> oldprint = print
>>> def print(*args,**kwargs):
... oldprint(*args,**kwargs,sep='')
...
>>> print(1,2,3)
123
--
https://mail.python.org/mail
John Black wrote:
> I want sep="" to be the default without having to specify it every time I
> call print. Is that possible?
No, but you can replace the print function with your own:
>>> print = functools.partial(print, sep="")
>>> print("I", "recommend", "you", "choose", "another", "name", "a
On 10/9/2017 12:22 PM, John Black wrote:
I want sep="" to be the default without having to specify it every time I
call print. Is that possible?
John Black
Define a replacement print function that makes this the default.
Something like (untested, a detail may be wrong):
_print = print
def
download the archive in compressed format.
then use notepad++ or sublimetext with option search in files. search for
your name !
Abdur-Rahmaan Janhangeer,
Mauritius
abdurrahmaanjanhangeer.wordpress.com
On 8 Oct 2017 03:45, "Cai Gengyang" wrote:
> Hello,
>
> Does anyone know of a way to find al
Paul Moore said :
> On 9 October 2017 at 04:25, wrote:
>> Did you find out the answer for that?
>
> Nothing much beyond the pointer to PyQt (which basically said "a lot
> of the info on the web is out of date" so I should check the latest
> docs). I didn't take it much further, though, as it w
On Sun, Oct 8, 2017 at 5:36 AM, bartc wrote:
>
> On 08/10/2017 10:12, Steve D'Aprano wrote:
>>
>> On Sun, 8 Oct 2017 02:06 am, bartc wrote:
>>> I'm getting fed up with this thread now.
>>
>>
>> This thread would be a lot less frustrating if you would enter into it with a
>> spirit of open-minded
We are pleased to announce the second batch of cut videos for
EuroPython 2017.
To see the new videos, please head over to our EuroPython YouTube
channel and select the "EuroPython 2017" playlist. The new videos
start at entry 31 in the playlist.
* EuroPython 2017 Videos *
On 09/10/2017 07:40, Abdur-Rahmaan Janhangeer wrote:
hi just a quick question, why is
my_pens = 4
my_pencils = 5
is preffered to
my_pens = 4
my_pencils = 5
*referring to = symbol alignment
I will sometimes line things up, if a block of assignments are related:
red = 1
green
In article ,
__pete...@web.de says...
>
> John Black wrote:
>
> > I want sep="" to be the default without having to specify it every time I
> > call print. Is that possible?
>
> No, but you can replace the print function with your own:
>
> >>> print = functools.partial(print, sep="")
> >>> pr
On Tue, Oct 10, 2017 at 7:40 AM, John Black wrote:
> In article ,
> __pete...@web.de says...
>>
>> John Black wrote:
>>
>> > I want sep="" to be the default without having to specify it every time I
>> > call print. Is that possible?
>>
>> No, but you can replace the print function with your own:
In article , python@example.invalid says...
>
> Le 09/10/2017 à 18:22, John Black a écrit :
> > I want sep="" to be the default without having to specify it every time I
> > call print. Is that possible?
>
> >>> oldprint = print
> >>> def print(*args,**kwargs):
> ... oldprint(*args,**kwargs,
On 2017-10-09, John Black wrote:
> I want to make sure I understand what this line is doing:
>
>> oldprint = print
>
> Experimenting, I find this is not a rename because I can use both
> function names.
Right it's not _changing_ a name. It's _adding_ a name.
> It looks it literally copies th
On Mon, Oct 9, 2017 at 10:04 PM, John Black wrote:
> In article , python@example.invalid says...
>>
>> Le 09/10/2017 à 18:22, John Black a écrit :
>> > I want sep="" to be the default without having to specify it every time I
>> > call print. Is that possible?
>>
>> >>> oldprint = print
>> >>>
On 2017-10-09 09:44, Mikhail V wrote:
Have you ever worked on a slow remote session where a GUI is
completely impracticable (or maybe even unavailable), and redrawing
the screen is too expensive to do all the time?
>>>
>>> So where does the redrawing happen? The machine youre sittin
In article ,
eryk...@gmail.com says...
>
> On Mon, Oct 9, 2017 at 10:04 PM, John Black wrote:
> > In article , python@example.invalid says...
> >>
> >> Le 09/10/2017 à 18:22, John Black a écrit :
> >> > I want sep="" to be the default without having to specify it every time I
> >> > call print.
On Tue, 10 Oct 2017 06:06 am, Stefan Ram wrote:
> In his book about programming, Bjarne Stroustrup writes:
>
> |We try hard to avoid "white lies"; that is, we refrain from
> |oversimplified explanations that are clear and easy to
> |understand, but not true in the context of real languages and
>
44 matches
Mail list logo