Today, I ran into ellipsis again. This time, it is COMPLETELY different
from before.
Here is a reproducible code:
import numpy as np
import matplotlib.pyplot as plt
...
x = np.linspace(0, 1)
y = np.sin(4 * np.pi * x) * np.exp(-5 * x)
plt.title('Week cycle')
plt.xlabel('Month')
plt.ylabel('Price')
Mats, that first line was the problem.
Alan, I like the Tkinter idea. Had to pull that package for easygui to work. I
will look at transitioning once my son works through the easygui chapter.
Trying to teach him how to learn as much as how to program.
Thank you both! George
Hello.
I am a python developer and I write a lot of python code everyday. I try to do
as much unit testing as possible. But I want to be better at it, I want to
write more test cases, specially that rely on database insertions and reads and
file io. Here are my use-cases for testing.
How to te
On 27Aug2017 14:27, boB Stepp wrote:
On Sun, Aug 27, 2017 at 2:13 AM, Cameron Simpson wrote:
On 26Aug2017 21:27, boB Stepp wrote:
import sys
sys.path.append('..')
[...]
The trouble with this specific approach is that '..' relies on your
_working_ directory being above ScriptMenuSystem i.e.
On Sun, Aug 27, 2017 at 2:13 AM, Cameron Simpson wrote:
> On 26Aug2017 21:27, boB Stepp wrote:
>>
>> I have a project structure where I am developing various programs,
>> some in Pinnacle HotScript language, some in Perl, some in Python,
>> some shell scripts. For the purpose of this question, m
On 08/27/2017 02:14 AM, Alan Gauld via Tutor wrote:
> On 27/08/17 03:07, George Sconyers via Tutor wrote:
>> Hello all. Need some help with easygui which my son is trying to run for a
>> book he is working in.
>
> I'm not sure what the current status of easygui is, I read
> somewhere that it had
On 26Aug2017 21:27, boB Stepp wrote:
I have a project structure where I am developing various programs,
some in Pinnacle HotScript language, some in Perl, some in Python,
some shell scripts. For the purpose of this question, my simplified
development file structure is:
~/_dev_Scripts
/Scrip
On 27/08/17 03:07, George Sconyers via Tutor wrote:
> Hello all. Need some help with easygui which my son is trying to run for a
> book he is working in.
I'm not sure what the current status of easygui is, I read
somewhere that it had been discontinued. But if you are
still finding a download for
Hello all. Need some help with easygui which my son is trying to run for a book
he is working in. Using Python 2.7 we downloaded easygui and put it in an
executable path.
Code is:import easyguieasygui.msgbox("Hello there")
No popup occurs, cusor changes to a cross and no longer process mouse cli