Re: Is this AI

2020-08-06 Thread Souvik Dutta
This is probably more ML then AI. On Thu, Aug 6, 2020, 7:57 PM wrote: > I have created a program in Python > > Is my Program Artificial Intelligent ? > > In this I train the program to answer my question > Eg 1: > > Training > 0,0,0,1 > Ans is 0 > 0,0,1,0--> Ans is 1 > 0,1,1,0-->

Re: Updating a variable problem.

2020-08-04 Thread Souvik Dutta
Probably because the MSN variable in the second function is not global. On Tue, Aug 4, 2020, 2:08 PM Steve wrote: > Why should line 6 fail until line 7 is commented out? > Python complains that MSN is "referenced before assignment". > > def ReadTheEQfile(): > global MSN > MSN = ("1

Re: Upgrade from Python 3.6 to 3.8 and cx-freeze is not available more

2020-07-22 Thread Souvik Dutta
Py2exe might help in making .exe files On Tue, Jul 21, 2020, 11:42 PM Christian SCHEIBER / KLS GmbH < c...@kls-system.de> wrote: > > > I’d like to do exe files, so the pythin interpreter has not tob e > installed. > > That’s why I use cx-freeze, but installing Python 3.8 after using Python > 3.6

Re: python software foundation

2020-07-11 Thread Souvik Dutta
No. On Sat, Jul 11, 2020, 4:04 PM Jithesh Thirumaran wrote: > Have you uninstall the site package of the python version 3.7.2 > please reply me immediately > Thank you, > (T.Jithesh) > -- > https://mail.python.org/mailman/listinfo/python-list > --

Re: regarding issues faced while running python in the command prompt

2020-06-22 Thread Souvik Dutta
You cannot attach any screenshots because the list strips them. You will have to provide your errors and your tries as an inline text in the email (copy and paste the error). Souvik flutter dev On Mon, Jun 22, 2020, 12:02 PM Sundram Bajaj wrote: > -- Forwarded message - > From:

Re: uninstallation issue

2020-06-17 Thread Souvik Dutta
Before you uninstall right click on idle and find the location where python is installed. Probably it would be under C:\\Programe files\\python. And then uninstall python. After that you will see that some folders where deleted but others where not. Delete the others and you will have uninstalled

Re: pyinstaller

2020-06-10 Thread Souvik Dutta
I found this... https://stackoverflow.com/questions/43777106/program-made-with-pyinstaller-now-seen-as-a-trojan-horse-by-avg Might be usefull, might be useless. Souvik flutter dev On Wed, Jun 10, 2020, 7:18 PM Robin Becker wrote: > I'm sure this has come up before, but a tiny pyinstaller

Re: pyinstaller

2020-06-10 Thread Souvik Dutta
You might also try py2exe, in that way the user doesn't need to install python in her/his computer. Souvik flutter dev On Wed, Jun 10, 2020, 7:18 PM Robin Becker wrote: > I'm sure this has come up before, but a tiny pyinstaller created exe is > being seen as malware by windows 10. > > Is there

Re: Error in PIP install packages

2020-06-08 Thread Souvik Dutta
Can you paste the complete error message that you got on running pip? Souvik flutter dev On Mon, Jun 8, 2020, 10:10 PM Devendra Dhond wrote: > R/sir, > > > > I am facing too much errors during pip installing. > > Deserialization error > > And much more in red errors. > > Pip upgrading error >

Re: Can't download Pygame and Pgzero

2020-06-06 Thread Souvik Dutta
What? Souvik flutter dev On Sat, Jun 6, 2020, 8:11 PM Tushar Upadhyay wrote: > Stop all the message and mails > > On Sat, 6 Jun 2020, 6:03 pm , wrote: > > > Il giorno venerdì 5 giugno 2020 18:35:10 UTC+2, Lily Sararat ha scritto: > > > To whom it may concern, > > > I have trouble installing

Re: .dll problem

2020-05-29 Thread Souvik Dutta
Do you have DirectX installed. It must solve the problem. On Fri, 29 May, 2020, 9:50 pm Preetha M, wrote: > Hello. Warm regards from india. I am a kid who is currently learning > python. Hope you are doing well. I know that it is not a problem that you > can fix but whenever i try to open the

Re: Issues regarding running of application.

2020-05-27 Thread Souvik Dutta
Do have the latest version of DirectX installed? If not then do that or you can google out the dll file you need (or is missing) and download it and cut - paste it wherever needed. Missing dll files is a very common issue in windows and thus Microsoft made DirectX. On Tue, 26 May, 2020, 11:14 pm

stderr writting before stdout

2020-05-24 Thread Souvik Dutta
Hi, Is there any precedence or priority order by which sys.stderr.write() and sys.stdout.write() works. Because when running the below code... import sys sys.stdout.write("Writting") sys.stderr.write("No errors \n") No errors is written (displayed) first and writting is written later. Why does

Re: stderr writting before stdout

2020-05-24 Thread Souvik Dutta
Thank you I understood. Sorry for top posting...  On Sun, 24 May, 2020, 11:34 am Cameron Simpson, wrote: > Please don't top post; I have rearranged your message so that the > discussion reads from top to bottom. Reponse below. > > On 24May2020 10:04, Souvik Dutta wrote: >

Re: stderr writting before stdout

2020-05-23 Thread Souvik Dutta
Also this code maintains order i.e. writting is displayed before no errors. Why is that? import sys sys.stdout.write("Writting \n") sys.stderr.write("No errors \n") On Sun, 24 May, 2020, 9:57 am Souvik Dutta, wrote: > Hi, > Is there any precedence or priority order

Re: Strings: double versus single quotes

2020-05-23 Thread Souvik Dutta
This seems to be a life long debate... On Sun, 24 May, 2020, 5:25 am Tim Chase, wrote: > On 2020-05-23 14:46, Dennis Lee Bieber wrote: > > On Sat, 23 May 2020 11:03:09 -0500, Tim Chase > > >But when a string contains both, it biases towards single quotes: > > > > > > >>> "You said \"No it

Re: Is there some reason that recent Windows 3.6 releases don't included executable nor msi installers?

2020-05-23 Thread Souvik Dutta
And that there are no files for an installer. Souvik flutter dev On Sat, May 23, 2020, 4:04 PM Souvik Dutta wrote: > If you take a look at this page then you will find out that 3.6.10 was not > intended to be used in windows... > https://www.python.org/downloads/windows/ > > Sou

Re: Is there some reason that recent Windows 3.6 releases don't included executable nor msi installers?

2020-05-23 Thread Souvik Dutta
If you take a look at this page then you will find out that 3.6.10 was not intended to be used in windows... https://www.python.org/downloads/windows/ Souvik flutter dev On Sat, May 23, 2020, 11:55 AM Adam Preble wrote: > I wanted to update from 3.6.8 on Windows without necessarily moving on

Re: creating a table within python code

2020-05-22 Thread Souvik Dutta
quot; 200 - > 127.0.0.1 - - [22/May/2020 10:16:46] " [37mGET > /?__debugger__=yes=resource=console.png HTTP/1.1 [0m" 200 - > 127.0.0.1 - - [22/May/2020 10:16:46] " [37mGET > /?__debugger__=yes=resource=ubuntu.ttf HTTP/1.1 [0m" 200 - > 127.0.0.1 - - [22/May/2020

Re: creating a table within python code

2020-05-22 Thread Souvik Dutta
And also you might have to add after the import statements app= Flask(__name__) and app.run() inside the main function On Fri, 22 May, 2020, 8:31 pm Souvik Dutta, wrote: > You might have to add @app.route("/") before the main method. > > On Fri, 22 May, 2020, 7:53 pm Budd

Re: creating a table within python code

2020-05-22 Thread Souvik Dutta
There will be quotes when doing FLASK_APP="" I think that should solve the problem. On Fri, 22 May, 2020, 5:35 pm Buddy Peacock, wrote: > I'm working on my first python project in CS50W and I am trying to create > 2 tables. > I am getting the following error when trying to run it: I have

Re: exiting a while loop

2020-05-22 Thread Souvik Dutta
No not really. If you use a breakpoint and a debugger you will find out that your code continues till 2 M is met and then stops printing numbers continuously. On Fri, 22 May, 2020, 5:20 pm John Yeadon via Python-list, < python-list@python.org> wrote: > Am I unreasonable in expecting this code to

Re: Installation Error

2020-05-21 Thread Souvik Dutta
Do you have DirectX latest version? It should have solved the problem. If not already installed then you might try to install it. On Thu, 21 May, 2020, 10:29 pm Charles Seagraves, wrote: > Hi, > I have been learning and using Python to create a program to play Mah Jongg > and it was going well

A python meme...

2020-05-20 Thread Souvik Dutta
Hi, If you guys see an attachment, then probably this list now supports attachment. And I am the successful founder of it. If you don't see then okay I am wrong and please ignore it. Note:- I already know that the list does not support attachments. This experiment was funded by a glitch... --

Re: Strings: double versus single quotes

2020-05-19 Thread Souvik Dutta
I love and use only singel quotes. I think that looks clean... Nothing else. Souvik flutter dev On Tue, May 19, 2020, 11:50 PM Manfred Lotz wrote: > Hi there, > I am asking myself if I should preferably use single or double quotes > for strings? > > If I need a single quote in a string I would

Re: Having trouble importing the python turtle on idle

2020-05-16 Thread Souvik Dutta
What is the error? Souvik flutter dev On Sat, May 16, 2020, 8:27 PM KINGHAMED io wrote: > On Sat, 16 May 2020 at 4:38 PM KINGHAMED io > wrote: > > > Hello my name is Hamed > > I have purchased python for kids. > > I have installed idle and Python launcher 3.8.3 with my 11 inch MacBook > > Air

Re: Help with installation please

2020-05-15 Thread Souvik Dutta
gt; On Fri, May 15, 2020, 11:20 PM Souvik Dutta > wrote: > >> Then you will have to use python3 forever in your life (atleast as long >> as you don't change your os... 藍藍). >> >> On Sat, 16 May, 2020, 8:42 am Jhoana Kacheva Melissa Joseph, < >> kachev...@

Re: Help with installation please

2020-05-15 Thread Souvik Dutta
path > > On Fri, May 15, 2020, 11:01 PM Souvik Dutta > wrote: > >> Have you switched off both the pythons? If so then switch on one off them >> and try. If it still doesn't work then switch on the previous one and off >> the other and try again. >> >&

Re: Help with installation please

2020-05-15 Thread Souvik Dutta
Have you switched off both the pythons? If so then switch on one off them and try. If it still doesn't work then switch on the previous one and off the other and try again. On Sat, 16 May, 2020, 8:29 am Souvik Dutta, wrote: > Have you added python into path? > > On Sat, 16 May, 2020

Re: Help with installation please

2020-05-15 Thread Souvik Dutta
Have you added python into path? On Sat, 16 May, 2020, 8:15 am Jhoana Kacheva Melissa Joseph, < kachev...@gmail.com> wrote: > Thanks for the tip! Now that I turned it off. This is what it says. > > Please see attached > > > > On Fri, May 15, 2020, 9:10 PM Souv

Re: Help with installation please

2020-05-15 Thread Souvik Dutta
tore I type app > execution aliases in search bar, hit enter and I see this picture attached. > Am I missing something please ? > > > > On Fri, May 15, 2020, 7:59 PM Souvik Dutta > wrote: > >> Windows has a default python 3. that is not installed but >> registere

Re: Help with installation please

2020-05-15 Thread Souvik Dutta
Windows has a default python 3. that is not installed but registered (which is as wierd as Microsoft). That is why you are redirected everytime to the store. You might want to check app execution aliases in the search bar an scroll down to find the two pythons and then uncheck one of them to avoid

Re: PROBLEM WITH PYTHON IDLE

2020-05-14 Thread Souvik Dutta
What is your os? Where have you downloaded it from? What type of package did you download? Souvik flutter dev On Thu, May 14, 2020, 5:36 PM aduojo samson wrote: > Hello, my name is Samson Haruna and I am from Nigeria.I have a problem with > my python 3.8, any time I click on it to write my

Re: scikit learn problem

2020-05-11 Thread Souvik Dutta
Is that the complete error message? On Mon, 11 May, 2020, 8:25 pm , wrote: > On Monday, 11 May 2020 19:11:59 UTC+4:30, pari...@gmail.com wrote: > > Hello > > I tried to run a pickle and after that i couldn't run any program > containing sklearn > > I uninstall python and install again but i

Re: Pyinstaller resources.DistributionNotFound 'workalendar'

2020-05-08 Thread Souvik Dutta
Have you installed the package listed in the error in a virtual environment? On Fri, 8 May, 2020, 2:10 pm LM FP, wrote: > Hi! > I have imported workalendar package -together with others packages- to my > python script, and It works fine. I compile it with Pyinstaller without > errors, but when

Re: There is some problem in the python software it was not installing in my laptop

2020-05-07 Thread Souvik Dutta
What is the problem? You cannot attach images or any file. You will have to say in words. This list does not support attachments. Souvik flutter dev On Fri, May 8, 2020, 8:51 AM sourav susari wrote: > > > > >Sent from [1]Mail for Windows 10 > > > > References > >Visible links >1.

Re: Not able use installed modules

2020-05-07 Thread Souvik Dutta
What is your os? If you are on windows then check out app execution aliases. There will be two different python versions. Uncheck one and try installing again. If that doesn't work then uncheck the other and try installing again. Have you ever downloaded any other version of python but didn't

Re: Idle not opening

2020-05-06 Thread Souvik Dutta
What exactly are you seeing when you try to open idle? Don't attach any file or photo. Just say verbally. Souvik flutter dev On Wed, May 6, 2020, 7:40 PM Rance Victor wrote: > Hey there, > After successfully installing Python 3.8.2(64 bit) on my system(windows 10 > 64 bit OS), my idle is not

Re: Python Installation Problem

2020-05-05 Thread Souvik Dutta
May 6, 2020 at 9:17 AM Souvik Dutta > wrote: > >> Have you added python to path? If not then you will have to do it. >> >> Souvik flutter dev >> >> On Wed, May 6, 2020, 1:28 AM Adolf Yoshua Marbun < >> adolfbordeau...@gmail.com> wrote: >> >>

Re: Python Installation Problem

2020-05-05 Thread Souvik Dutta
Have you added python to path? If not then you will have to do it. Souvik flutter dev On Wed, May 6, 2020, 1:28 AM Adolf Yoshua Marbun wrote: > Dear Python, > > I am currently learning about Python. First thing first, I need to install > the interpreter Python 3.8.2 before I get to the IDE.

Re: phyton hata

2020-05-04 Thread Souvik Dutta
ne hatası alıyorsun Souvik flutter dev On Tue, May 5, 2020, 1:28 AM HÜSEYİN KOÇ wrote: > Phyton 3.8.2 versiyonu bilgisayarıma indirdim fakat sorunlar ile > karşılaştınız diyerek hata veriyor > > > Windows 10 için Posta ile > gönderildi > > -- >

Re: Error 0x80070570 while installing Python.

2020-05-02 Thread Souvik Dutta
This is a windows error not a python one. Check this article. https://www.lifewire.com/fix-error-0x80070570-4687271 Souvik flutter dev On Sun, May 3, 2020, 10:38 AM Ajisekola Adeyemi wrote: > Good day sir. I tried several times to install the latest version of Python > which I downloaded from

Re: How to test the data type of a variable

2020-04-23 Thread Souvik Dutta
He is talking about this. https://mail.python.org/mailman/listinfo/python-list Scroll down to the bottom of the page and you will find overview of all.. Souvik flutter dev On Fri, Apr 24, 2020, 7:50 AM Deac-33 Lancaster wrote: > On Thursday, April 23, 2020 at 7:14:16 PM UTC-7, DL Neil

Re: Install GDAL

2020-04-22 Thread Souvik Dutta
This might work. https://stackoverflow.com/questions/43587960/gdal-installation-error-using-pip/43600989 Souvik flutter dev On Wed, Apr 22, 2020, 9:52 PM J Conrado wrote: > > > Hi, > > > I'm trying to install GDAL. I used conda and PIP and I didn't have sucess. > > > I used for pip to insatal

Re: python and numpy

2020-04-21 Thread Souvik Dutta
First head over to the official python download page. Then choose the version and type of installer you want. After you download it click on the installer to install it. Don't forget to click on the check boxes that says add python to path and download pip. Then search for idle in the search menu.

Re: "pip" error message

2020-04-20 Thread Souvik Dutta
Have you tried updating pip? There was a bug in pip version 10 Souvik flutter dev On Mon, Apr 20, 2020, 10:10 PM Simone Bravin wrote: > Hello everyone, > > > I just started using Python to learn a bit of coding, so I'm pretty a > > newbie to this, I tried to install few extra packages

Re: Regarding problem faced to run pandas

2020-04-20 Thread Souvik Dutta
Are you that youtuber Amit Jain? And for your kind information you cannot attach any screenshot in python-list. It gets dropped. Souvik flutter dev On Tue, Apr 21, 2020, 4:39 AM Amit Jain wrote: > Dear Sir/Madam, > After successful installation of PIP for PANDAS when I try to run any >

Re: Run code automatically

2020-04-20 Thread Souvik Dutta
uggest me any other solution? or what is wrong with those > expressions? > > Thank you > > > Le jeu. 16 avr. 2020 à 16:57, Souvik Dutta a > écrit : > >> Do you want to run the code many times after just clicking run once? If >> so then I think grouping the whole

Re: Springer released free ebooks (epub and pdf)

2020-04-19 Thread Souvik Dutta
Thanks(for posting) those help. On Sun, 19 Apr, 2020, 4:37 am DL Neil via Python-list, < python-list@python.org> wrote: > Springer (publisher) has released a bunch of eBook versions of Python > text-books, free to download (.PDF and/or .EPUB), in support of COVID-19 > stay-at-homes. > > This

Re: python read line by line and keep indent

2020-04-18 Thread Souvik Dutta
Oh! Sorry I didn't get that earlier.  On Sat, 18 Apr, 2020, 9:10 pm MRAB, wrote: > On 2020-04-18 08:59, Souvik Dutta wrote: > > Okay so I was not able to say properly. You are indeed doing the same > thing > > that you were doing i.e. writting the modified data just, that

Re: Floating point problem

2020-04-18 Thread Souvik Dutta
Hmm understood. Souvik flutter dev On Sat, Apr 18, 2020, 7:36 PM Chris Angelico wrote: > On Sun, Apr 19, 2020 at 12:03 AM Souvik Dutta > wrote: > > > > I literally tried it!!! And it did not stop because I did not get any 1.0 > > rather I got 0.999

Re: Floating point problem

2020-04-18 Thread Souvik Dutta
Hmmm sorry please forgive me. I only did that because the question was relevant. Please forgive me. Sorry again. Souvik flutter dev On Sat, Apr 18, 2020, 7:52 PM DL Neil via Python-list < python-list@python.org> wrote: > On 19/04/20 1:51 AM, Souvik Dutta wrote: > > I

Re: Floating point problem

2020-04-18 Thread Souvik Dutta
Apr, 2020, 7:02 pm DL Neil via Python-list, < python-list@python.org> wrote: > On 19/04/20 1:07 AM, Souvik Dutta wrote: > > I have one question here. On using print(f"{c:.32f}") where c= 2/5 > instead > > of getting 32 zeroes I got so

Re: Floating point problem

2020-04-18 Thread Souvik Dutta
I have one question here. On using print(f"{c:.32f}") where c= 2/5 instead of getting 32 zeroes I got some random numbers. The exact thing is 0.40002220446049250313 Why do I get this and not 32 zeroes? On Fri, 17 Apr, 2020, 6:25 pm ast, wrote: > Le 17/04/2020 à 13:40, Aakash Jana a

Re: python read line by line and keep indent

2020-04-18 Thread Souvik Dutta
, Apr 18, 2020, 1:20 PM Peter Otten <__pete...@web.de> wrote: > Souvik Dutta wrote: > > > You can actually read and write in a file simultaneously. Just replace > "r" > > with "w+" if the file has not been previously made or use "r+"

Re: python read line by line and keep indent

2020-04-17 Thread Souvik Dutta
You can actually read and write in a file simultaneously. Just replace "r" with "w+" if the file has not been previously made or use "r+" is the file has already been made. Souvik flutter dev On Sat, Apr 18, 2020, 4:45 AM wrote: > Hi; > > I am reading a Python file and find an specific line,

Re: Tkinter date entry with boxes

2020-04-17 Thread Souvik Dutta
You can use 12 if statements to check for the correctness of dates. For the year you would only be needed to check the type. To insert "/" you should return your own data type. That is make a class that returns a string of the format "dd/mm/yy" using parameters of date, month and year. As for not

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: >

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 > >

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

2020-04-16 Thread Souvik Dutta
or some reason), or > > a special class hierarchy. > > > > In my opinion, the first line of documentation should be decent > > docstrings that document the parameters and return values for functions. > > I can think of some cases when type hinting would be desired and &g

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

Re: pytube problem

2020-04-15 Thread Souvik Dutta
Or install the setuptools by using pip install setuptools. On Thu, Apr 16, 2020, 7:44 AM Souvik Dutta wrote: > If this is a homework assignment then you cannot do anything about it not > running. You should say that to your teacher. After all you did not make > the module!! > >

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

2020-04-15 Thread Souvik Dutta
As much as I know you will have to have a lot of traning images to make the complete set. Try doing that. Souvik flutter dev On Thu, Apr 16, 2020, 5:10 AM Edu Py wrote: > I am trying to learn techniques on image feature detection. > > I have managed to detect horizontal

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

2020-04-15 Thread Souvik Dutta
You cannot attach any image in this list. Souvik flutter dev On Thu, Apr 16, 2020, 5:10 AM Edu Py wrote: > I am trying to learn techniques on image feature detection. > > I have managed to detect horizontal line(unbroken/continuous), however I > am having trouble detecting all the

Re: pytube problem

2020-04-15 Thread Souvik Dutta
If this is a homework assignment then you cannot do anything about it not running. You should say that to your teacher. After all you did not make the module!! Souvik flutter dev On Wed, Apr 15, 2020, 5:41 PM Abhi Bajpai wrote: > Respected sir or mam.. > I am facing issue related to pytube

Re: Python launcher

2020-04-15 Thread Souvik Dutta
Yes truly this exact question is a headache for beginners. Though it was not for me. On Thu, 16 Apr, 2020, 12:51 am Grant Edwards, wrote: > On 2020-04-15, Pieter van Oostrum wrote: > > Angel V writes: > > > >> Hello, > >> > >> I'm new to Python and recently began to self learn the language. >

Re: Helping Windows first time users

2020-04-15 Thread Souvik Dutta
I think there should be a text an the end of the installation process that should say how to run idle. I think this confusion happens because of how android installs any app. On Thu, 16 Apr, 2020, 12:33 am Barry Scott, wrote: > I post some suggestion to improve the Python installer for Windows

Re: python

2020-04-15 Thread Souvik Dutta
I think uninstalling and reinstalling will help. My thoughts - might not be 100% true. On Wed, 15 Apr, 2020, 5:45 pm mike via Python-list, wrote: > > I need somehelpwith Python 36-32 and 38-32 > I have been using sublime text 3 asmy ide for about 1 year now and > everything was fine -I tried to

Re: ERROR GENERATED AFTER INSTALLING PYTHON 3.5.2 64-BIT

2020-04-15 Thread Souvik Dutta
Glad to hear it! On Wed, 15 Apr, 2020, 6:12 pm ogunleye ayobami, < ogunleyeayobamihezek...@gmail.com> wrote: > Thanks. Indeed helpful and am now good. > > Regards > > On Wed, Apr 15, 2020, 1:39 PM Souvik Dutta > wrote: > >> You have not added python to yo

Re: ERROR GENERATED AFTER INSTALLING PYTHON 3.5.2 64-BIT

2020-04-15 Thread Souvik Dutta
You have not added python to your system's path variable. Follow this. https://superuser.com/questions/143119/how-do-i-add-python-to-the-windows-path On Wed, 15 Apr, 2020, 5:53 pm ogunleye ayobami, < ogunleyeayobamihezek...@gmail.com> wrote: > Dear Python Team, > > After downloading and

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

2020-04-15 Thread Souvik Dutta
Yes that is the type. You can try using a print(type()) to verify that. Souvik flutter dev On Wed, Apr 15, 2020, 9:45 PM wrote: > On Wednesday, April 15, 2020 at 10:10:31 AM UTC-4, Souvik Dutta wrote: > > _io.TextIOWrapper > > > > On Wed, 15 Apr, 2020, 7:30 pm ,

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

2020-04-15 Thread Souvik Dutta
_io.TextIOWrapper On Wed, 15 Apr, 2020, 7:30 pm , 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

Re: SPECIALS CHARACTERS

2020-04-15 Thread Souvik Dutta
I don't think you can do so but if you are using a gui app then consider making a custom font. On Wed, 15 Apr, 2020, 6:26 pm Gonzalo V, wrote: > Good morning! > A tiny question. > Are there a way to create a new character on python? i need to create some > kind of arroba @ but with other

Re: Python launcher

2020-04-15 Thread Souvik Dutta
What is the exact thing you are trying to launch? On Wed, 15 Apr, 2020, 5:41 pm Angel V, wrote: > Hello, > > I'm new to Python and recently began to self learn the language. > Unfortunately, whenever I try to launch it, I'm met with a black pop-up > screen the disappears as soon as it comes up.

Re: problem related to making setup

2020-04-15 Thread Souvik Dutta
What is the error? On Wed, 15 Apr, 2020, 5:57 pm Dhruv Chaturvedi, wrote: > I made a simple bot. I wanted to share my Bot with my friends but when I > convert it into an exe from pyinstaller it started showing an error shown > below and when I use cx_Freeze again it showing an error pls help

Re: difficulty in using the python 3.8

2020-04-15 Thread Souvik Dutta
First of all understand what I said. You are running the installer again, so go and search idle in the start menu. Second thing this list does not support photos so you will always have to say the error through words. On Wed, 15 Apr, 2020, 6:01 pm NWANKWO GLORY, wrote: > Attached to my

Re: difficulty in using the python 3.8

2020-04-15 Thread Souvik Dutta
You are running the installer. Try searching for idle in the start menu... Souvik flutter dev On Wed, Apr 15, 2020, 5:45 PM Gloryebube wrote: >It keeps showing these three options > > 1. Modify > 2. Repair > 3. Uninstall > >Please what seems to be the problem > -- >

Re: help me subcorrect

2020-04-11 Thread Souvik Dutta
Did you send a screenshot? If so then understand that this mailing list does not support photos so you cannot send that. Try giving us a verbal description. And if you write anything other that the sub then sorry that is my Gmail's fault. Souvik flutter dev On Sat, Apr 11, 2020, 8:32 PM khuchee

Re: problem in installing

2020-04-11 Thread Souvik Dutta
You are running the installer instead of the program itself. Try searching idle from the start menu and run it in that way. Souvik flutter dev On Sat, Apr 11, 2020, 8:36 PM shina sameeran wrote: > i tried to install python 3.8.2 in my HP windows 8 laptop(core i3). after > installation when i

Re: RFC: For Loop Invariants

2020-04-10 Thread Souvik Dutta
Ah yes it's an iterable not a condition. Sorry about that.  Souvik flutter dev On Sat, Apr 11, 2020, 6:38 AM Chris Angelico wrote: > On Sat, Apr 11, 2020 at 11:04 AM Souvik Dutta > wrote: > > > > How about completely removing the need for an if statement by allow

Re: RFC: For Loop Invariants

2020-04-10 Thread Souvik Dutta
How about completely removing the need for an if statement by allowing for multiple conditions to be inserted in the for loop?? That would make reading and writing a lot easier. Like the count problem could be rewritten as for (a in chars and ): count+=1 On Sat, 11 Apr, 2020, 6:21 am Chris

Re: Secure Coding in Python

2020-04-10 Thread Souvik Dutta
Is this what you are looking for? https://medium.com/@felsen88/python-secure-coding-guidelines-73c7ce1db86c On Sat, 11 Apr, 2020, 3:54 am Kor son of Rynar, wrote: > Dear list, > > As many of you know, SEI/CERT maintains a set of secure coding standards > for many languages like C/C++, Java and

Re: PyValentina 0.2.0 library documentation update on PyPI

2020-04-10 Thread Souvik Dutta
Might be your wish!!! If that is not the fault of the devs then I think issuing in GitHub wont help. Souvik flutter dev On Fri, Apr 10, 2020, 5:10 PM Sanjay Gupta wrote: > Hi Everyone, > I recently started working on Data Visualization. In one of my > assignments, I want to use PyValentina

Re: python programs to track bitcoins

2020-04-10 Thread Souvik Dutta
This should do your job. https://github.com/rgho/bitcoinTicker.py On Fri, 10 Apr, 2020, 12:35 pm , wrote: > Hello > I`m looking if there any programs out there to track bitcoins and those > programs were made by python > if you know any? > please let me know > it`s kinda urgent > thank you very

Re: NLP Project with Python

2020-04-09 Thread Souvik Dutta
I thought about an app that would be similar to Google's current sound recording that records sounds and turns them into words and characters. I was thinking that you might be able to make an app or atleast a program that takes a picture and saves it in the form of text document which could be

Re: kill a window

2020-04-07 Thread Souvik Dutta
Are you doing it in tkinter? If so then close will be quit. Souvik flutter dev On Wed, Apr 8, 2020, 1:22 AM J Conrado wrote: > > > Hi, > > I have a script that read a netcdf data. I enter with keiboard two > values for latitude initial an final and same for longitude and I plot a > map. I use

Re: Latest python Cheatsheet

2020-04-04 Thread Souvik Dutta
Did you post this on the tutor list? It should be more welcomed there. Souvik flutter dev On Sat, Apr 4, 2020, 9:50 PM wrote: > Python Cheatsheet - learn the basics of Python without any book and course > or brush up the basic concepts > > Cheatsheet link - >

Re: Better use a class decorator or a metaclass?(was: super not behaving as I expected)

2020-04-04 Thread Souvik Dutta
I think this should help https://stackoverflow.com/questions/1779372/python-metaclasses-vs-class-decorators On Sat, 4 Apr, 2020, 6:12 pm Antoon Pardon, wrote: > Op 29/03/20 om 16:49 schreef Peter Otten: > > Antoon Pardon wrote: > > > >> > >> I have the following program > >> > >> class slt: >

Re: A PDF journey to find all python PDF

2020-04-03 Thread Souvik Dutta
Python is not a platform your platform is the os. Choose the newer PDF reader it often comprises more features than older ones (might be a bit unstable though). There are lots of books and free online tutorials to learn python. Check them out first. If you have problem with English you can use

Re: Fwd: Problemas para ejecutar Python en windows 7

2020-04-02 Thread Souvik Dutta
If you can read English. The same problem occurred with me some times ago. The cause of it was that windows thought that my .py files where trojans and I had to delete them permanently which solved the problem. Try this once. Something is better than nothing. Thank you. If you cannot read English.

Re: how to specify trusted hosts in windows config file

2020-04-02 Thread Souvik Dutta
This is the ideal thing a hacker would do. Reports say that codes are a hacker's sweet spot. Because most of the time a random person would visit the code and copy and paste it because he has to get the job done in a limited time. Nothing could actually be 100% trusted in the internet. Because

Re: error in running python

2020-03-31 Thread Souvik Dutta
Do you have direct X installed in your machine? On Tue, Mar 31, 2020, 5:44 PM Santosh Reddy wrote: > i installed python and when i open the app, i get this > > the code execution cannot proceed because python38.dll was not found. > reinstalling the proram may fix this problem. > > please help

Re: mport pytorch fails on my windows 10 PC

2020-03-29 Thread Souvik Dutta
e control panel only shows python 3.7 which is what I am using. > > Am So., 29. März 2020 um 01:36 Uhr schrieb Souvik Dutta < > souvik.vik...@gmail.com>: > >> Yes having two versions of python causes that problem. >> >> On Sat, 28 Mar, 2020, 11:53 pm joseph pareti

Re: mport pytorch fails on my windows 10 PC

2020-03-28 Thread Souvik Dutta
Yes having two versions of python causes that problem. On Sat, 28 Mar, 2020, 11:53 pm joseph pareti, wrote: > apologies for asking here a presumably off-topic question: > > I have installed pytorch using (miniconda3) the following command: > > *conda install pytorch torchvision cpuonly -c

Re: How to uninstall Python3.7 in Windows using cmd ?

2020-03-27 Thread Souvik Dutta
Control panel is still alive. So just using it would be better. Go to control panel. Then click uninstall a program. Then find python in the list and double click on it to uninstall. On Sat, 28 Mar, 2020, 6:07 am boB Stepp, wrote: > On Fri, Mar 27, 2020 at 1:22 PM deepalee khare > wrote: > > >

Re: How to create an Excel app that runs Python?

2020-03-25 Thread Souvik Dutta
16:12:00 UTC, Souvik Dutta wrote: > > You might try pyqt5 if you want to make a custom GUI and also if you have > > tha time to do so. > > > > On Tue, Mar 24, 2020, 4:45 PM wrote: > > > > > I have the following scenario: > > > > > >

Re: How to create an Excel app that runs Python?

2020-03-24 Thread Souvik Dutta
You might try pyqt5 if you want to make a custom GUI and also if you have tha time to do so. On Tue, Mar 24, 2020, 4:45 PM wrote: > I have the following scenario: > > I have created lots of python files that I use to calculate a Cashflow > model, when I run these files I get a beautiful pandas

Re: Why is the program not printing three lines?

2020-03-19 Thread Souvik Dutta
Ooo thanks I understood. On Thu, 19 Mar, 2020, 8:10 pm Pieter van Oostrum, wrote: > Souvik Dutta writes: > > > I should have been more clear > > class first(): > > print("from first") > > def second(): > > print("from sec

Re: Why is the program not printing three lines?

2020-03-19 Thread Souvik Dutta
I should have been more clear class first(): print("from first") def second(): print("from second") first() When I run the above code the output is "from first" (2ND CODE) class first(): print("from first") def second(): print("from second") first.second() When I

Why is the program not printing three lines?

2020-03-18 Thread Souvik Dutta
Hi, I wrote a purposeless code today. class first(): print("From first") def second(): print("From second") first() first.second() Now the output I get is >From first >From second But when I comment the call of first that is the comment the second last line of the code

  1   2   >