Re: Helping Windows first time users

2020-04-16 Thread Mike Dewhirst
On 16/04/2020 2:46 pm, DL Neil via Python-list wrote: On 16/04/20 3:34 PM, Dennis Lee Bieber wrote: On Wed, 15 Apr 2020 19:23:43 +0100, Barry Scott declaimed the following: I post some suggestion to improve the Python installer for Windows to better sign post users on the next steps. https:/

Run code automatically

2020-04-16 Thread hanan lamaazi
Dear All, I just start the self learning of python, and I tried to use it in jupyter notebook. I work on real dataset and I used pandas for that. Now my problem is I developed two separate code but dependent the first one should run to give me samples from my dataset and do the clustering (I use

Re: Run code automatically

2020-04-16 Thread Souvik Dutta
Do you want to run the code many times after just clicking run once? If so then I think grouping the whole program in one for loop would do the task. Souvik python dev On Thu, Apr 16, 2020, 4:57 PM hanan lamaazi wrote: > Dear All, > > I just start the self learning of python, and I tried to use

Re: Threading module and embedded python

2020-04-16 Thread Eko palypse
Barry, sorry for sending you a private message yesterday, was not intended. No, I only have rudimentary knowledge of C++, but it has been developing since I started using Cython. I haven't done any stack analysis yet but hey, there's always a first time. I think my stubbornness could be of help he

Re: What variable type is returned from Open()?

2020-04-16 Thread dcwhatthe
On Wednesday, April 15, 2020 at 9:46:30 PM UTC-4, Michael Torrie wrote: > On 4/15/20 5:47 PM, dcwh wrote: > > So in the case of Python, whenever the type information is available, > > I want to make it explicit rather than inferred. Whether the A.I. is > > running a simulation of the software in a

Re: What variable type is returned from Open()?

2020-04-16 Thread Souvik Dutta
What are you making? Souvik flutter dev On Thu, Apr 16, 2020, 9:10 PM wrote: > On Wednesday, April 15, 2020 at 9:46:30 PM UTC-4, Michael Torrie wrote: > > On 4/15/20 5:47 PM, dcwh wrote: > > > So in the case of Python, whenever the type information is available, > > > I want to make it explicit

Re: What variable type is returned from Open()?

2020-04-16 Thread Richard Damon
On 4/15/20 9:55 AM, dcwhat...@gmail.com wrote: > Hi, > > > As much as possible, I make use of optional type hints. So if I know a > function returns an integer, then I use > > > this_number_i : int = GetThisNumber() > > > But there's no 'file' type, so I'm not sure what to use as the type for the

Re: Helping Windows first time users

2020-04-16 Thread Barry Scott
> On 16 Apr 2020, at 08:45, Mike Dewhirst wrote: > > On 16/04/2020 2:46 pm, DL Neil via Python-list wrote: >> On 16/04/20 3:34 PM, Dennis Lee Bieber wrote: >>> On Wed, 15 Apr 2020 19:23:43 +0100, Barry Scott >>> declaimed the following: >>> I post some suggestion to improve the Python i

Re: What variable type is returned from Open()?

2020-04-16 Thread dcwhatthe
On Thursday, April 16, 2020 at 12:09:44 PM UTC-4, Souvik Dutta wrote: > What are you making? > > Souvik flutter dev > > On Thu, Apr 16, 2020, 9:10 PM wrote: > > > On Wednesday, April 15, 2020 at 9:46:30 PM UTC-4, Michael Torrie wrote: > > > On 4/15/20 5:47 PM, dcwh wrote: > > > > So in the case

Re: What variable type is returned from Open()?

2020-04-16 Thread dcwhatthe
On Thursday, April 16, 2020 at 12:12:23 PM UTC-4, Richard Damon wrote: > On 4/15/20 9:55 AM, dcw wrote: > > Hi, > > > > > > As much as possible, I make use of optional type hints. So if I know a > > function returns an integer, then I use > > > > > > this_number_i : int = GetThisNumber() > > > >

Re: Threading module and embedded python

2020-04-16 Thread Barry Scott
> On 16 Apr 2020, at 14:55, Eko palypse wrote: > > Barry, sorry for sending you a private message yesterday, was not intended. > > No, I only have rudimentary knowledge of C++, > but it has been developing since I started using Cython. > I haven't done any stack analysis yet but hey, there's a

Re: Detect dotted (broken) lines only in an image using OpenCV

2020-04-16 Thread Barry Scott
> On 16 Apr 2020, at 00:36, Edu Py wrote: > > I am trying to learn techniques on image feature detection. Cool. > > I have managed to detect horizontal line(unbroken/continuous), however I am > having trouble detecting all the dotted/broken lines in an image. We can help with the python s

Re: Helping Windows first time users

2020-04-16 Thread Barry Scott
> On 16 Apr 2020, at 04:34, Dennis Lee Bieber wrote: > > On Wed, 15 Apr 2020 19:23:43 +0100, Barry Scott > declaimed the following: > >> I post some suggestion to improve the Python installer for Windows >> to better sign post users on the next steps. >> >> https://mail.python.org/archives/

Re: Helping Windows first time users

2020-04-16 Thread Souvik Dutta
Could do that. But a more easier one might be an extra screen that says about how to start the idle. Souvik flutter dev On Thu, Apr 16, 2020, 10:37 PM Barry Scott wrote: > > > > On 16 Apr 2020, at 04:34, Dennis Lee Bieber > wrote: > > > > On Wed, 15 Apr 2020 19:23:43 +0100, Barry Scott > > de

Re: What variable type is returned from Open()?

2020-04-16 Thread Chris Angelico
On Fri, Apr 17, 2020 at 2:13 AM Richard Damon wrote: > I get the answer: > > So that is the name of the type that is returned, at least for that > call. One key thing to note is that it begins with a _, so that type is > actually an implementation detail, subject to change. This is somewhat true

Re: Helping Windows first time users

2020-04-16 Thread anson freer
a new users point of view to the IEEE Electromagnetic Compatibility Society I do not know how to ask a question when: It isn't saying to type a $, it's saying to type at the system prompt. Similarly, if it says: >>> print("Hello") it's saying to type at the Python prompt. This is a common conventi

Re: What variable type is returned from Open()?

2020-04-16 Thread dcwhatthe
On Thursday, April 16, 2020 at 2:37:42 PM UTC-4, Chris Angelico wrote: > On Fri, Apr 17, 2020 at 2:13 AM Richard Damon wrote: > > I get the answer: > > > > So that is the name of the type that is returned, at least for that > > call. One key thing to note is that it begins with a _, so that type

Re: What variable type is returned from Open()?

2020-04-16 Thread Chris Angelico
On Fri, Apr 17, 2020 at 5:06 AM wrote: > > On Thursday, April 16, 2020 at 2:37:42 PM UTC-4, Chris Angelico wrote: > > On Fri, Apr 17, 2020 at 2:13 AM Richard Damon wrote: > > > I get the answer: > > > > > > So that is the name of the type that is returned, at least for that > > > call. One key t

Re: Threading module and embedded python

2020-04-16 Thread Eko palypse
Thank you for your help. I made a minimum example which just creates the dialog window. This runs, using the standard python37.exe without a problem. But this also runs within the embedded interpreter slightly different then my previous code. In my previous code I used the hwnd from the C++ app

Regarding Python

2020-04-16 Thread Muneer Malla
Dear All hope you all are fine and doing good in these critical conditions While I am need to Python And I a generally using it in running a software QIIME in virtual machine (Linux based). I need to install python 3.7 or above version, however the previously installed version is python2.7 I tri

Re: Regarding Python

2020-04-16 Thread Nick Kelley
I need to install python 3.7 or above version, however the previously installed version is python2.7 I tried many commands sudo apt-get install python3.8 after running the command it fails I removed pthon 2.7 but again when I run the command Python --version it again shows python 2.7 please sugge

Re: What variable type is returned from Open()?

2020-04-16 Thread Souvik Dutta
Then there is no point of type setting. Type setting is a personal preferences and should be respected. Sometimes it saves the day. Sometimes it becomes a headache. Python developers also know and thus have never deprecated type setting. On Fri, 17 Apr, 2020, 12:40 am Chris Angelico, wrote: > On