On Fri, Aug 25, 2017 at 8:33 PM, Steven D'Aprano wrote:
> On Fri, Aug 25, 2017 at 07:13:12PM -0500, boB Stepp wrote:
>
>> My objective: Determine who the currently logged in user is
>
> py> import os
> py> os.getlogin()
> 'steve'
Sweet! Much better. I did not scan the os
import getpass
getpass.getuser ()
depending on how fussy you want to be...
On August 25, 2017 6:13:12 PM MDT, boB Stepp wrote:
>SunOS 5.10, Python 2.4/2.6
>
>I ask forgiveness in advance as I cannot copy and paste into an email
>what I am doing on this system. So I
On Fri, Aug 25, 2017 at 07:13:12PM -0500, boB Stepp wrote:
> My objective: Determine who the currently logged in user is
py> import os
py> os.getlogin()
'steve'
> and
> determine if that user is in my list of users that I have authorized
> to use my programs.
That's probably best handled at
SunOS 5.10, Python 2.4/2.6
I ask forgiveness in advance as I cannot copy and paste into an email
what I am doing on this system. So I will have to manually type
things, introducing the usual possibility of typos.
My objective: Determine who the currently logged in user is and
determine if that
On 25/08/17 15:19, C W wrote:
> I did not mean to leave out the error message, it was very long.
That just means it has a lot of information in it :-)
> I think the package has been removed.
I don;t think so based on the traceback...
quotes = quotes_historical_yahoo_ochl('APX', start,
I did not mean to leave out the error message, it was very long. I think
the package has been removed.
Anyways, it's here:
>>> quotes = quotes_historical_yahoo_ochl('APX', start, ... )
--
TypeError: quotes_historical_yahoo_ochl() missing 1 required positional
On 24/08/2017 18:46, Alan Gauld via Tutor wrote:
On 24/08/17 14:51, C W wrote:
I have the following code, I get an error at the first line.
So don't make us guess. What is the error(full text please)?
from matplotlib.finance import quotes_historical_yahoo_ochl
And what does a dir() show