On Mon, Oct 9, 2017 at 5:40 PM, 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
Because when you add a new variable:
my_mousepads = 6
you then have t
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
tk !
Abdur-Rahmaan Janhangeer,
Mauritius
abdurrahmaanjanhangeer.wordpress.com
--
https://mail.python.org/mailman/listinfo/python-list
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 user and then sudo to edit the files.
If it's just a matter of "
On Mon, Oct 9, 2017 at 4:17 PM, Ian Kelly wrote:
> On Sun, Oct 8, 2017 at 10:49 PM, Chris Angelico wrote:
>> On Mon, Oct 9, 2017 at 3:35 PM, Mikhail V wrote:
Have you ever worked on a slow remote session where a GUI is
completely impracticable (or maybe even unavailable), and redrawing
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, whatever that was.
The reason for it was
On Sun, Oct 8, 2017 at 10:49 PM, Chris Angelico wrote:
> On Mon, Oct 9, 2017 at 3:35 PM, 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?
>>
On Mon, Oct 9, 2017 at 3:35 PM, 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 sitti
bartc wrote:
>> But as it happens, I could make computers talk to each when I was working
>> with microprocessors, using home-made interfaces, rs232 or rs423. I
wouldn't
>> know how to do it now because it depends on other people's over-complex
>> tech.
Chris Angelico wrote:
> I don't know if you'
> On Oct 8, 2017, at 8:38 PM, Ryan Holmes wrote:
>
> I maintain a desktop python application that is used by a decent number of
> folks (I would assume 10k+, though it's hard to know since it's based on
> number of downloads rather than number of unique users). I would like to
> integrate som
Did you find out the answer for that?
--
https://mail.python.org/mailman/listinfo/python-list
I maintain a desktop python application that is used by a decent number of
folks (I would assume 10k+, though it's hard to know since it's based on number
of downloads rather than number of unique users). I would like to integrate
some sort of usage tracking that would enable me to determine num
Thomas Jollans wrote:
> On 08/10/17 18:02, Chris Green wrote:
> > I am looking at dataexplore and Pandas, they look as if they may
> > provide useful tools but at the moment I can't quite understand how
> > you get data into them.
> >
> > How do you load a large table into dataexplore?
> >
> > Ult
bartc wrote:
And within an application, it can do what it likes. With regards to
editing, there are some common conventions that I absolutely hate:
In other words, you would like all authors of text editors to
adopt a certain set of conventions for these things. So much
for each program "doing
On 10/8/17 4:46 PM, Xristos Xristoou wrote:
Τη Κυριακή, 8 Οκτωβρίου 2017 - 10:48:38 μ.μ. UTC+3, ο χρήστης Richard Damon
έγραψε:
On 10/8/17 11:58 AM, Xristos Xristoou wrote:
Τη Κυριακή, 8 Οκτωβρίου 2017 - 6:35:28 μ.μ. UTC+3, ο χρήστης MRAB έγραψε:
On 2017-10-08 15:27, Xristos Xristoou wrote:
On 10/08/2017 02:46 PM, Xristos Xristoou wrote:
> Τη Κυριακή, 8 Οκτωβρίου 2017 - 10:48:38 μ.μ. UTC+3, ο χρήστης Richard Damon
> έγραψε:
>> It sounds like the fundamental problem is that you are doing the
>> calculation in the web page handler. This means that the browser will be
>> stuck in the
Τη Κυριακή, 8 Οκτωβρίου 2017 - 10:48:38 μ.μ. UTC+3, ο χρήστης Richard Damon
έγραψε:
> On 10/8/17 11:58 AM, Xristos Xristoou wrote:
> > Τη Κυριακή, 8 Οκτωβρίου 2017 - 6:35:28 μ.μ. UTC+3, ο χρήστης MRAB έγραψε:
> >> On 2017-10-08 15:27, Xristos Xristoou wrote:
> >
> >> Do you mean "long reload"?
>
On 08/10/17 18:02, Chris Green wrote:
> I am looking at dataexplore and Pandas, they look as if they may
> provide useful tools but at the moment I can't quite understand how
> you get data into them.
>
> How do you load a large table into dataexplore?
>
> Ultimetely I want to get data from a datab
On 10/8/17 11:58 AM, Xristos Xristoou wrote:
Τη Κυριακή, 8 Οκτωβρίου 2017 - 6:35:28 μ.μ. UTC+3, ο χρήστης MRAB έγραψε:
On 2017-10-08 15:27, Xristos Xristoou wrote:
Do you mean "long reload"?
user can put some numbers in my html template and i take that numbers and i sue
it in specific math
On 08/10/2017 19:10, Chris Angelico wrote:
On Mon, Oct 9, 2017 at 3:50 AM, bartc wrote:
You assume that since
*you* have never needed to produce one lower-case letter in a block of
upper-case, that "probably no one else has", and then you make it
impossible to do that in your editor.
Only w
Chris Angelico :
> On Mon, Oct 9, 2017 at 3:50 AM, bartc wrote:
>> Yeah, well, some people like to be sheep, others like to be
>> individuals**.
>
> Yeah, well, some people like to be standards-compliant, others like to
> be irrelevant morons.
Even being called a sheep doesn't justify that kind
On Mon, Oct 9, 2017 at 3:50 AM, bartc wrote:
> Yeah, well, some people like to be sheep, others like to be individuals**.
Yeah, well, some people like to be standards-compliant, others like to
be irrelevant morons.
> I start in computing at a time when an application was the only thing
> running
Stefan Ram wrote:
> Chris Green writes:
> >How do you load a large table into dataexplore?
>
> I have not tested the following lines, I have no experience
> with "dataexplore", this is just from what I heard:
>
> from pandastable.app import DataExplore
> app = DataExplore()
> table = app.ge
On Mon, Oct 9, 2017 at 3:37 AM, Stefan Ram wrote:
> Gregory Ewing writes:
>>bartc wrote:
>>>Interactive Python requires quit() or exit(), complete with parentheses.
>>Er, what? Ctrl-D works fine for me to exit Python when not
>>in the midst of entering a block.
>
> Under Microsoft Windows, one
On 10/8/2017 5:24 AM, Joe Wilde wrote:
I am having trouble getting IDLE (Python 3.6 - 64-bit) to open for Windows 10.
When I try and run IDLE, nothing happens. It works fine for Python 2.7, but
won't open for Python 3.6.
Give more information. How did you install Python? Did you select the
On 10/08/2017 12:43 PM, Marko Rauhamaa wrote:
leam hall :
"Linux" means so many things to people.
Yes, but just because someone can spell it doesn't mean they can
redefine it. :)
Closer to home, systemd has taken a central role in the main Linux
distributions. I think it would be more acc
On 08/10/2017 17:13, Chris Angelico wrote:
On Mon, Oct 9, 2017 at 2:01 AM, bartc wrote:
However as graphics became more mainstream then yes I did adopt some
commonly expected styles (menubars for example). As for Alt-F4, if that
generates a WM_CLOSE message for example, then I would be obliged
leam hall :
> Colorized ls is something the distrobution people like and they put it
> in. Others of us don't care for it. But it's not "Linux", is the
> profile. Easy to customize.
Easy and easy...
"Linux" means so many things to people. For example, the recent "Linux
Subsystem on Windows 10" i
On Sun, Oct 8, 2017 at 8:15 AM, Gregory Ewing
wrote:
>
> The thing that *really* annoys me is Linux insisting on colourising
> the output to a tty, since it invariably seems to pick an undreadable
> colour scheme. And the case-insensitive sorting... there's a reason
> Makefile starts with a capit
Hello,
I am having trouble getting IDLE (Python 3.6 - 64-bit) to open for Windows 10.
When I try and run IDLE, nothing happens. It works fine for Python 2.7, but
won't open for Python 3.6.
I have tried repairing the install but to no avail.
I'm fairly new at this kind of thing, so I don't hav
On Sunday, October 8, 2017 at 12:42:19 AM UTC+1, Cai Gengyang wrote:
> Hello,
>
> Does anyone know of a way to find all my old posts about Python ? Thanks a
> lot!
>
> GengYang
Make a site specific search for your name here
https://mail.python.org/pipermail/python-list/
--
Kindest regards.
M
On Mon, Oct 9, 2017 at 2:01 AM, bartc wrote:
> However as graphics became more mainstream then yes I did adopt some
> commonly expected styles (menubars for example). As for Alt-F4, if that
> generates a WM_CLOSE message for example, then I would be obliged to deal
> with it.
Yes, it usually does
I am looking at dataexplore and Pandas, they look as if they may
provide useful tools but at the moment I can't quite understand how
you get data into them.
How do you load a large table into dataexplore?
Ultimetely I want to get data from a database table but any help would
be useful.
--
Chris
Τη Κυριακή, 8 Οκτωβρίου 2017 - 6:35:28 μ.μ. UTC+3, ο χρήστης MRAB έγραψε:
> On 2017-10-08 15:27, Xristos Xristoou wrote:
> Do you mean "long reload"?
user can put some numbers in my html template and i take that numbers and i sue
it in specific mathematical algorithm that algorithm to create res
On Mon, Oct 9, 2017 at 1:31 AM, Peter J. Holzer wrote:
> I just stumbled about this note in
> https://docs.python.org/3/library/array.html:
>
> | 2. The 'q' and 'Q' type codes are available only if the platform C
> | compiler used to build Python supports C long long, or, on Windows,
> | __int64.
On 2017-10-08, eryk sun wrote:
> On Sun, Oct 8, 2017 at 10:12 AM, Steve D'Aprano
> wrote:
>> On Sun, 8 Oct 2017 02:06 am, bartc wrote:
>>
>>> Especially on
>>> Windows where the usual Ctrl C doesn't work, so you resort to Ctrl-Break
>>> will which actually abort it. Ctrl Z is uncommon.
>>
>> Thous
On 2017-10-08 12:53, Gregory Ewing wrote:
> Peter J. Holzer wrote:
>> In any case, that -E writes to stdout and -S to file is an inconsistency
>> which looks more like a historical accident than a planned feature to
>> me.
>
> A possible reason is that with -S there is an obvious choice
> for the
I just stumbled about this note in
https://docs.python.org/3/library/array.html:
| 2. The 'q' and 'Q' type codes are available only if the platform C
| compiler used to build Python supports C long long, or, on Windows,
| __int64.
|
| New in version 3.3.
The long long type was standardized in C99
On 2017-10-07 08:35, Steve D'Aprano wrote:
> Unfortunately ESCAPE is already used. VT100 (the terminal emulation which is
> used in just about all terminals) all control sequences begin with ESC. So
> every time you do something like press an arrow key, the terminal sends ESC
> followed by other s
On 2017-10-07 13:19, Steve D'Aprano wrote:
> On Sat, 7 Oct 2017 11:06 pm, bartc wrote:
>> However it does seem to expose a flaw in the ability of command line
>> tools to work with non-command line tools.
>>
>> So I have to copy 33,000 lines from a document,
>
> Don't be daft. Nobody says that s
On 2017-10-08 15:27, Xristos Xristoou wrote:
You can use the smtplib module to send an email.
ok but how to avoid pong reload on page ?can you help me ?
Do you mean "long reload"?
If you have the user's email address from when they registered, you
could have the user log in to get the
On 08/10/2017 13:05, Chris Angelico wrote:
On Sun, Oct 8, 2017 at 10:46 PM, bartc wrote:
Just look at any interactive page on the web, they all work differently.
People are used to it. And it allows innovation.
Maybe it's just that you're not old enough to have worked with text
editors tha
> You can use the smtplib module to send an email.
ok but how to avoid pong reload on page ?can you help me ?
--
https://mail.python.org/mailman/listinfo/python-list
On Sun, Oct 8, 2017 at 10:12 AM, Steve D'Aprano
wrote:
> On Sun, 8 Oct 2017 02:06 am, bartc wrote:
>
>> Especially on
>> Windows where the usual Ctrl C doesn't work, so you resort to Ctrl-Break
>> will which actually abort it. Ctrl Z is uncommon.
>
> Thousands of Python programmers on Windows succ
On 2017-10-08 11:27, Xristos Xristoou wrote:
You mentioned email, so why not just ask for an email address to which
you will send the result?
i have user email from register i need to do all automate,how to use celery for
this ?
You can use the smtplib module to send an email.
--
https://m
Gregory Ewing writes:
> The thing that *really* annoys me is Linux insisting on colourising
> the output to a tty, since it invariably seems to pick an undreadable
> colour scheme. And the case-insensitive sorting... there's a reason
> Makefile starts with a capital M, dammit!
As most things, th
Chris Angelico wrote:
But personally, I'd have looked for a "print to
PS" of some sort, using a gigantic 'page' size, and then convert the
PS to PNG. I don't know for certain that I can do the latter
conversion,
It would be easy on MacOSX. Anything you can print can be sent
to a PDF file, and P
bartc wrote:
Interactive Python requires quit() or exit(), complete with parentheses.
Er, what? Ctrl-D works fine for me to exit Python when not
in the midst of entering a block.
--
Greg
--
https://mail.python.org/mailman/listinfo/python-list
Peter J. Holzer wrote:
In any case, that -E writes to stdout and -S to file is an inconsistency
which looks more like a historical accident than a planned feature to
me.
A possible reason is that with -S there is an obvious choice
for the output file name, i.e. .s, but there is
no conventional
Chris Angelico wrote:
Hmm, but usually I would expect them still to HAVE those streams,
they're just connected to /dev/null or something. I don't think they
would actually fail to exist, would they?
On unix there's nothing to stop you launching a process
with fds 0, 1 and 2 all closed. It would
On 08/10/2017 12:22, Paul Moore wrote:
When developing scripts, applications, or any form of code, I use good
ideas from anywhere, as I doubt that I have the monopoly on knowing
the perfect way to write code. Some of those good ideas come from
Unix-based systems. That's not "because Linux is so
bartc wrote:
This preprocesses the code and shows the result. Typical programs will
have many thousands of lines of output, but it just dumps it to the
console. You /have/ to use '>' to use it practically (Windows doesn't
really have a working '|' system.)
This may be why you're having troubl
Steve D'Aprano wrote:
You don't think multiple columns in interactive mode is useful?
The issue is not whether single vs. multi column mode is better, but
whether it should automatically switch based on what kind of thing
is connected to stdin.
Personally I find that behavour surprising and wo
bartc wrote:
Then you might have 'sort' for the non-interactive version, and 'isort'
or whatever for the interactive.
It's pretty rare that you'd want to use 'sort' interactively,
which is why your hypothetical 'isort' doesn't exist.
However, it *is* common to use it as part of a pipeline, whi
On Sun, Oct 8, 2017 at 10:46 PM, bartc wrote:
> On 07/10/2017 15:40, Steve D'Aprano wrote:
>>
>> On Sat, 7 Oct 2017 11:54 pm, bartc wrote:
>>
>>> So my programs that use Escape on Windows needed
>>> to use Escape Escape on Linux to get around that.
>>
>>
>>
>> Or you could just follow the expected
On 07/10/2017 15:40, Steve D'Aprano wrote:
On Sat, 7 Oct 2017 11:54 pm, bartc wrote:
So my programs that use Escape on Windows needed
to use Escape Escape on Linux to get around that.
Or you could just follow the expected Unix interface instead of inventing your
own.
Your job is to port an
On Sun, Oct 8, 2017 at 10:22 PM, Paul Moore wrote:
> On 8 October 2017 at 11:36, bartc wrote:
>> Even with things like building applications (eg. trying to build CPython
>> from sources), they are designed from the ground up to be inextricably
>> linked to Linux scripts, utilities, makefiles, ins
On 10/8/17 1:00 AM, Andrew Z wrote:
and how about adding "IF" into the mix ?
as in :
a=0
dict= {10: ['a',1,'c'], 20: ['d',2,'f']}
for i in dict:
p+= 10 if dict[i][1] in [1,2,3,4,5] else 0
can i "squish" "for" and "if" together ? or will it be too perl-ish ?
sum(10 for v in dict.val
On 8 October 2017 at 11:36, bartc wrote:
> Frustrating for whom?
Well, me as well as Steve, if we're counting votes for who finds your
attitude frustrating...
> It seems to me that it's pretty much everyone here who has an overbearing
> sense of superiority in that everything that Unix or Linux
bartc :
> It seems to me that it's pretty much everyone here who has an
> overbearing sense of superiority in that everything that Unix or Linux
> does is a million times better than anything else.
People's opinions don't matter here. Point is, if you are writing
software for Linux, you need to d
On 08/10/2017 10:12, Steve D'Aprano wrote:
On Sun, 8 Oct 2017 02:06 am, bartc wrote:
Thousands of Python programmers on Windows successfully learned to use Ctrl-Z
ENTER back in the days of Python 1.5, before quit/exit were added as a
convenience for beginners, and many of them probably still u
> You mentioned email, so why not just ask for an email address to which
> you will send the result?
i have user email from register i need to do all automate,how to use celery for
this ?
--
https://mail.python.org/mailman/listinfo/python-list
On Sun, 8 Oct 2017 02:06 am, bartc wrote:
>> On 2017-10-07, bartc wrote:
>>
>>> Interactive Python requires quit() or exit(), complete with parentheses.
...^
>> Nonsense. On Unix you can just press ctrl-D (or whatever you have
>> configured as eof)
62 matches
Mail list logo