Greetings Danielle,
Welcome to programming! Thanks for the additional clarification as to what
your project is. Starting from scratch isn't easy, but with a little bit of
guidance, you'll soon be able to "drive on your own!"
In the course you're taking, can you share a bit about what resources yo
Hey everyone,
I really appreciate all of the help you given me.
I am making progress, however I have reached a problem I'm not sure how
best to tackle and would like someone with more experience with excel and
python to lend their knowledge/opinion before I dive in further.
I have two questions:
This is the assignment:
Write a Python script as follows:
Use 3 variables named:
operand1
operand2
result
Set operand1 = 2 and operand2 = 7.
Evaluate the following expressions and produce the output as shown:
result = operand1 + operand2
result = operand2 – operand1
On Mon, Jul 14, 2014 at 12:13:33PM -0400, uga...@talktalk.net wrote:
[...]
> To draw a default rectangle using the nodebox 1, IDE you would simply
> write: rect(0, 0, 100, 100) to a .py file. When run in nodebox 1, IDE
> it does what you might expect. It renders a 100 x 100 (px) rectangle
> sh
uga...@talktalk.net Wrote in message:
> I am running nodebox 1 on OSX v10.6.8, which is an open source OSX
> Python, 2D data visualiser, and although not legacy, the software it
> isn't well supported. (see http://nodebox.net/code/index.php/Home for
> further info). I believe nodebox 1, runs wi
On 14/07/2014 19:18, Alan Gauld wrote:
On 14/07/14 17:13, uga...@talktalk.net wrote:
I am running nodebox 1 on OSX v10.6.8, which is an open source OSX
Python, 2D data visualiser,
I can't help with the actual query, sorry.
But are you tied to nodebox for a reason? There are other 2D packages
a
OK, so I mocked up an example now...
import time
import threading
g_threadStop = threading.Event()
def threadWorker(_arg1, _arg2):
print("Starting worker thread with args: %s, %s" % (_arg1, _arg2))
while(not g_threadStop.is_set()):
print("Thread running.")
time.sleep(1)
On 14/07/14 17:13, uga...@talktalk.net wrote:
I am running nodebox 1 on OSX v10.6.8, which is an open source OSX
Python, 2D data visualiser,
I can't help with the actual query, sorry.
But are you tied to nodebox for a reason? There are other 2D packages
around, maybe a different package (with
Multi-threading takes practice!
Are you using an event object to signal the thread should exit? I'm
guessing you're just using a bool which is why it does not work.
See: https://docs.python.org/3.4/library/threading.html#event-objects
I'm very short on time and the moment and therefore can't moc
I am running nodebox 1 on OSX v10.6.8, which is an open source OSX
Python, 2D data visualiser, and although not legacy, the software it
isn't well supported. (see http://nodebox.net/code/index.php/Home for
further info). I believe nodebox 1, runs with Python 2.5
This may be too specialised
10 matches
Mail list logo