Re: Python For TinyML

2022-10-24 Thread Kisakye Moses
On Sunday, October 23, 2022 at 8:23:26 PM UTC+3, rbowman wrote: > On Sun, 23 Oct 2022 08:46:10 -0700 (PDT), Kisakye Moses wrote: > > > Hello am a (M) and glad that I've joined this group. > > Any help in python for TinyML, i will honored > https://tinynet.autoai.org/en/

Python For TinyML

2022-10-23 Thread Kisakye Moses
Hello am a (M) and glad that I've joined this group. Any help in python for TinyML, i will honored -- https://mail.python.org/mailman/listinfo/python-list

[issue38505] Mock.call_args and Mock.call_args_list not propagated to parent Mock

2019-10-17 Thread Caris Moses
Change by Caris Moses : -- title: Mock.call_args and Mock.call_args_list -> Mock.call_args and Mock.call_args_list not propagated to parent Mock ___ Python tracker <https://bugs.python.org/issu

[issue38505] Mock.call_args and Mock.call_args_list

2019-10-17 Thread Caris Moses
New submission from Caris Moses : When I use some_mock.attach_mock(...) and make calls, the resulting some_mock.call_args is None while the some_mock.mock_calls list is not empty. The code below shows this in Python 3.7.5: from unittest import TestCase from unittest.mock import patch, Mock

[issue21478] mock calls don't propagate to parent (autospec)

2019-10-16 Thread Caris Moses
Caris Moses added the comment: I believe I have found another bug related to this issue. I can start a new issue if necessary. When I use some_mock.attach_mock(...) and make calls, the resulting some_mock.call_args is None while the some_mock.mock_calls list is not empty. The code below

[issue21478] mock calls don't propagate to parent (autospec)

2019-10-15 Thread Caris Moses
Caris Moses added the comment: I see. Thanks for your help! -- ___ Python tracker <https://bugs.python.org/issue21478> ___ ___ Python-bugs-list mailin

[issue21478] mock calls don't propagate to parent (autospec)

2019-10-15 Thread Caris Moses
Caris Moses added the comment: Great, thanks so much. It works with the patch. So will this patch be included in the next released version of Python? -- ___ Python tracker <https://bugs.python.org/issue21

[issue21478] mock calls don't propagate to parent (autospec)

2019-10-15 Thread Caris Moses
Caris Moses added the comment: I am having some trouble figuring out how to use CPython to get the exact PR you tested on since I've never used CPython before. However, when I just install Python 3.7.5RC1 and 3.8.0RC1 from the binaries and run your code I do get the AttributeError. And when

[issue21478] mock calls don't propagate to parent (autospec)

2019-10-11 Thread Caris Moses
Caris Moses added the comment: I tried it with mocked functions instead of methods and got the same result, so I dug into this a little deeper. It seems as though the issue it how the mocked functions are called. If I replace the do_something() line with the following then it works

[issue21478] mock calls don't propagate to parent (autospec)

2019-10-11 Thread Caris Moses
Caris Moses added the comment: Hello, I am still running into this issue. I have tested the following code with Python 3.7.4, 3.7.5rc1 , and 3.8.0rc1. from unittest import TestCase from unittest.mock import patch, Mock, call class MyObject: def __init__(self): self.foo = 0

[PYTHON] threading: Parallel processing

2011-01-16 Thread Moses
() num_threads -= 1 lock.release() return new start_new_thread(heron,(81,)) start_new_thread(heron,(999,)) start_new_thread(heron,(1733,)) while not thread_started: pass while num_threads 0: pass Thanks, Moses. -- http://mail.python.org/mailman/listinfo/python-list

web development in python 2.6 and 3.0

2009-12-21 Thread Simon Moses
and/or postgresql) for web development thanks and regards, Simon Moses. The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/-- http://mail.python.org/mailman/listinfo/python-list

Re: web development in python 2.6 and 3.0

2009-12-21 Thread Simon Moses
to code a web page which connects to a database and displays some rows, what minimum software and libraries i should install? python 2.6, mysql 5.0, apache 2.2 and Django? thats enough? From: Stephen Hansen apt.shan...@gmail.com To: Simon Moses ksmo

Re: web development in python 2.6 and 3.0

2009-12-21 Thread Simon Moses
so python 2.6, mysql 5.0, apache 2.2, mod_wsgi, MySQL-python-1.2.2.win32-py2.6 and Django should be sufficient for my requirement. The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/-- http://mail.python.org/mailman/listinfo/python-list

[PYTHON] How to set the range for x-axis

2009-11-09 Thread Moses
Hi Everyone, I have written a script in python to plot a graph. However, the range for the x-axis starts from 0.5 to 1.0. However, I would like to start from 0 to 1. Any pointer to this shall be appreciated. Thanks, Moses -- http://mail.python.org/mailman/listinfo/python-list

Re: [PYTHON] How to set the range for x-axis

2009-11-09 Thread Moses
...@rebertia.com wrote: On Mon, Nov 9, 2009 at 7:45 AM, Moses jam...@gmail.com wrote: I have written a script in python to plot a graph. However, the range for the x-axis starts from 0.5 to 1.0. However, I would like to start from 0 to 1. Any pointer to this shall be appreciated. Some /very/ basic

Re: [PYTHON] How to set the range for x-axis

2009-11-09 Thread Moses
() Moses On Mon, Nov 9, 2009 at 6:43 PM, Moses jam...@gmail.com wrote: Hi Chris, I am using python 2.6 and am using scipy and pylab. See the code below. Cheers. from scipy import * from pylab import * x1 = [0.5,0.6,0.7,0.8,0.9,1.0] x2 = [0,1,2,3,4,5,6,7,8,9,10] plot(x1,y01,linewidth=5.0

PyODB v0.7 Released

2008-05-21 Thread Neil Moses
Toit for supplying this fix. http://sourceforge.net/project/showfiles.php?group_id=119175 Regards, Neil Moses. -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations.html