On 5/12/19, Alan Gauld via Tutor wrote:
>
> They are both very powerful ways of constructing output strings with
> data inserted. {} and format() has a few extra tricks once you get
> into advanced uses, but % style does most of the same things (and
> has the advantage of being used in other langu
On 12/05/2019 23:19, boB Stepp wrote:
> I may be mistaken, but I think that a terminal multiplexer like tmux
> (https://github.com/tmux/tmux/wiki) is capable of session management.
> I have no personal use of tmux, but have been intrigued enough about
> others referring to it that eventually I wil
On 12May2019 17:19, boB Stepp wrote:
On Sun, May 12, 2019 at 1:05 PM David L Neil
wrote:
I'm using Gnome Terminal under Fedora (Linux). This allows multiple
terminals in tabs (and thus Ctrl-Tab rapid-switching). However, it
irritates me that whilst I can set "profiles" for particular purposes;
On Sun, May 12, 2019 at 5:19 PM boB Stepp wrote:
>
> On Sun, May 12, 2019 at 1:05 PM David L Neil
> wrote:
>
> > I'm using Gnome Terminal under Fedora (Linux). This allows multiple
> > terminals in tabs (and thus Ctrl-Tab rapid-switching). However, it
> > irritates me that whilst I can set "profi
On Sun, May 12, 2019 at 1:05 PM David L Neil
wrote:
> I'm using Gnome Terminal under Fedora (Linux). This allows multiple
> terminals in tabs (and thus Ctrl-Tab rapid-switching). However, it
> irritates me that whilst I can set "profiles" for particular purposes;
> there does not seem to be a way
On Sun, May 12, 2019 at 8:05 AM Arup Rakshit wrote:
>
> In the following the function, x is reachable outside the scope of foo
> function.
>
> In [1]: x = 10
>
> In [2]: def foo():
>...: return x
>...:
>
> In [3]: print(foo())
> 10
To what the others have said I wish to point out tha
On 12/05/2019 12:31, Matthew Polack wrote:
> result = str(' Cost: ' + '${:.2f}'.format(cost))
>
> But I don't understamd what the curly brace part is actually doing:
> ..curly braces apparenly are for dictionaries...but I don't get how this is
> a dictionary..or what this {:} command is actually
On 12/05/2019 11:27, Dave Hill wrote:
> I found out by accident that the Megger PAT 420 data backup is actually
> an SQLite database, so that is my route for access. Having played with
> Python on Raspberry Pi's, I thought I would explore Python for data
> processing, and now, I have a set of p
Hello!
After a day of various attempts yesterday, I managed to get cython
installed on my windows 10 machine.
Allow me to prefix this by saying, if there is somewhere else I should
put this, II'M SORRY!
So I ran cython on my python project, and it worked fine, there was one
error about an in
On 12/05/2019 10:15, David L Neil wrote:
> Interestingly, I split these into two - my laziness for running/testing
> is 'Save, Alt-Tab, Up-arrow, Enter' which would be 'ruined' by using the
> cmdLN for anything else.
In a bash shell I use Ctr-R (for reverse search) and hit py to
run the last py
We're beginners trying to learn Python and have this sample code:
https://github.com/PySimpleGUI/PySimpleGUI/blob/master/ProgrammingClassExamples/Win10%20versions/2a.%20PSG%20(checkbox%20and%20radiobuttons)%20-%20Copy.py
There is a section of code that has this line::
result = str(' Cost: ' +
Hi David,
Firstly, thank you for your reply.
One condition of my agreeing to undertake PAT was that I got a PAT
machine that stored the data, as I am better at programming than paperwork!
I have a Megger PAT 420 which provides a data backup to a USB stick, and
thence transfer to my laptop, w
On 12/05/19 7:59 PM, Alan Gauld via Tutor wrote:
On 12/05/2019 00:24, David L Neil wrote:
"3 consoles": what is the purpose of each?
(my first reaction stemmed from many editors including a built-in console)
One for vim,
yes - that 'replaces' the window/app running an IDE/GUI-based editor.
Hello Arup,
> In the following the function, x is reachable outside the scope of foo
> function.
> In [1]: x = 10
> In [2]: def foo():
>...: return x
> In [3]: print(foo())
> 10
> But why it is not the case when the look up happens inside a
> instance method of a class?
>
> In [1]: c
On 12/05/2019 14:04, Arup Rakshit wrote:
The first case x is a global variable - which in
Python really means module level.
In the second case you have placed it inside
Foo so you need to specify that that is where
it is located. Classes encapsulate their own
methods and attributes, that is one o
In the following the function, x is reachable outside the scope of foo function.
In [1]: x = 10
In [2]: def foo():
...: return x
...:
In [3]: print(foo())
10
But why it is not the case when the look up happens inside a instance method of
a class?
In [1]: class Foo:
...: x = 1
On 12/05/2019 00:24, David L Neil wrote:
> "3 consoles": what is the purpose of each?
> (my first reaction stemmed from many editors including a built-in console)
One for vim,
One for the Python interpreter
One for an OS shell used for running/testing the app plus any
miscellaneous Unixy type thi
Hi Dave,
I also volunteer to do PAT safety testing during my "20% time".
Clambering around Snowdonia as a boy, I eschewed* the Rheilffordd yr
Wyddfa/SMR in favor of shanks' pony...
* OK, I was made to...! For the good of my soul???
On 9/05/19 8:04 AM, Dave Hill wrote:
I have a csv file whic
On 12/05/19 10:57 AM, Alan Gauld via Tutor wrote:
On 11/05/2019 19:59, Cranky Frankie wrote:
...
1) For the IDE I'm most comfortable with Netbeans/Java,
In that case use Netbeans. I use Netbeans myself when working
with Java and have played with its Python implementation and
its OK. Personall
19 matches
Mail list logo