On 09/05/13 05:01, Prasad, Ramit wrote:
What I like about screen is the way sessions stay open when disconnected, but I
find
tabbed terminals easier to scroll for history. If there is a tabbed terminal
that will allow
split screens then all the neat features I know about in screen would
On 05/09/2013 02:47 AM, Alan Gauld wrote:
On 09/05/13 05:01, Prasad, Ramit wrote:
What I like about screen is the way sessions stay open when
disconnected, but I find
tabbed terminals easier to scroll for history. If there is a tabbed
terminal that will allow
split screens then all the neat
Hello,
I was just playing a bit with Python and I wanted to make a mutable string,
that supports item assignment. Is the way below the way to do this?
The part I am not sure about is the class variable. Maybe I should also have
reimplemented __init__, then call super inside this and add an
On 09/05/13 13:10, Albert-Jan Roskam wrote:
class MutableStr(str):
s = None
Why make s a class variable?
I'd expect it to be an instance attribute.
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
___
Tutor maillist
On 05/09/2013 08:10 AM, Albert-Jan Roskam wrote:
Hello,
I was just playing a bit with Python and I wanted to make a mutable string,
that supports item assignment. Is the way below the way to do this?
The part I am not sure about is the class variable. Maybe I should also have
reimplemented
Subject: Re: [Tutor] MutableString/Class variables
On 05/09/2013 08:10 AM, Albert-Jan Roskam wrote:
Hello,
I was just playing a bit with Python and I wanted to make a mutable string,
that supports item assignment. Is the way below the way to do this?
The part I am not sure about is
On 9 May 2013 14:16, Albert-Jan Roskam fo...@yahoo.com wrote:
Subject: Re: [Tutor] MutableString/Class variables
On 05/09/2013 08:10 AM, Albert-Jan Roskam wrote:
Hello,
I was just playing a bit with Python and I wanted to make a mutable string,
that supports item assignment. Is the way
On 05/09/2013 09:16 AM, Albert-Jan Roskam wrote:
Subject: Re: [Tutor] MutableString/Class variables
On 05/09/2013 08:10 AM, Albert-Jan Roskam wrote:
Hello,
I was just playing a bit with Python and I wanted to make a mutable string,
that supports item assignment. Is the way below the
Is there a way of controlling pixels on a graphics screen? I want to be able to
draw lines and curves. Is this possible with with Python?
Stafford
Sent from my iPhone
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription
* Alan Gauld alan.ga...@btinternet.com [2013-05-09 07:47]:
On 09/05/13 05:01, Prasad, Ramit wrote:
What I like about screen is the way sessions stay open when
disconnected, but I find tabbed terminals easier to scroll for
history. If there is a tabbed terminal that will allow split
* Prasad, Ramit ramit.pra...@jpmorgan.com [2013-05-09 04:01]:
Steven D'Aprano wrote:
On the other hand, I work with, and watch, a lot of techies who live
in screen. They swear that they're more efficient, but watching them
hunt for the right virtual terminal doesn't look very efficient to
On Thu, May 9, 2013 at 4:36 PM, Stafford Baines staffordbai...@yahoo.comwrote:
Is there a way of controlling pixels on a graphics screen? I want to be
able to draw lines and curves. Is this possible with with Python?
Stafford
There are various libraries available for drawing. Check these
On 09/05/13 15:42, David Rock wrote:
Or use emacs... :-)
There's always one. You aren't helping the case for console apps with
that one at all. :-)
Not necessarily since you can run emacs in a non GUI mode and create
multiple shell buffers. Each of these can be scrolled/split etc. (In
On 10/05/13 00:36, Stafford Baines wrote:
Is there a way of controlling pixels on a graphics screen? I want to be able to
draw lines and curves. Is this possible with with Python?
There are many powerful libraries for working with graphics in Python, but they
often have a very steep
I once dabbled with wxPython. The code below may not run straight off as
I've cut it out of a bigger routine, but it may give you a flavour of a
basic (very basic) set up.
import wx
import math
def drawCircle (radius, canvas, strCol):
centre = (100,100)
cX = centre[0]
cY = centre[1]
On 09/05/13 15:36, Stafford Baines wrote:
Is there a way of controlling pixels on a graphics screen?
I want to be able to draw lines and curves.
Is this possible with with Python?
Yes, there are lots of options.
Any GUI library will have a canvas object upon which you can draw
primitive
Given that your main() question ;c) has been answered, you might also
want to give Spyder a try before switching.
Thanks - I'll try that if it's not overkill for a basic learning tool,
or has a ton of dependencies I have to install, or isn't up to Py3.3.
PyScripter had an odd bug. Whenever I
I have a simple program, below, to create a specified list of random
integers, which works fine.
I saved it to Lib as makeRandomList.py, then imported it to a
sorter.py program, like so. The import doesn't fail:
import makeRandomList
newRandomList = createRandomList()
But I then get the
18 matches
Mail list logo