Fwd: Pip froze up

2020-01-22 Thread Souvik Dutta
-- Forwarded message - From: Souvik Dutta Date: Thu, Jan 23, 2020, 8:16 AM Subject: Re: Pip froze up To: On Wed, Jan 22, 2020, 6:21 PM Souvik Dutta wrote: > Hello, > I am currently running python 3.7.6 because kivy does not support 3.8 > which was previously insta

PyQt5 help.

2020-01-26 Thread Souvik Dutta
I am making a birthday reminder app. I want to show tha label (" Today is Tom's birthday.") Assuming Tom has a birthday. But I want this label to be visible only when someone has a birthday today. I am using datetime module to check the date. How can I do this?? Any help is appreciated. -- https:/

PyQt5 QLineEditor help!!!

2020-01-29 Thread Souvik Dutta
Hi guys I just started to learn PyQt5 and was wondering if like kivy we can delete the text in a textbox after taking the input. That is I want to make the textbox blank after the text is read. Also can you suggest a way to connect a cancel button with a function so that when the cancel button is c

Help on dictionaries...

2020-01-29 Thread Souvik Dutta
Hey I was thinking how I can save a dictionary in python(obviously) so that the script is rerun it automatically loads the dictionary. -- https://mail.python.org/mailman/listinfo/python-list

Re: Help on dictionaries...

2020-01-29 Thread Souvik Dutta
Thank you all. On Thu, Jan 30, 2020, 7:25 AM DL Neil via Python-list < [email protected]> wrote: > On 30/01/20 2:14 PM, Souvik Dutta wrote: > > Hey I was thinking how I can save a dictionary in python(obviously) so > that > > the script is rerun it automatica

Re: Help on dictionaries...

2020-01-29 Thread Souvik Dutta
How do I connect it with my dictionary On Thu, Jan 30, 2020, 7:03 AM Tim Chase wrote: > On 2020-01-30 06:44, Souvik Dutta wrote: > > Hey I was thinking how I can save a dictionary in python(obviously) > > so that the script is rerun it automatically loads the dictionary. >

Help on PyQt5 !!

2020-01-30 Thread Souvik Dutta
Hey guys. I might be asking the most childish question. I have a window in pyqt5 (a file in python). Let's call it win1. I have another pyqt5 (another file in python). Let's call it win2. Now win2 is called when add button in win1 is clicked. So far no problem. But win2 has another button called sa

QTableWidget help!!

2020-01-30 Thread Souvik Dutta
Hi, I want to add a QTableWidget to an existing window with other labels and button. How can I add the QTableWidget without having to set it as centralwidget and be able to move it and set geometry. Because I am not being able to move the central widget by using self.centralwidget.setGeometry . The

Please answer fast.....

2020-01-31 Thread Souvik Dutta
Hi, This is problem from pyqt5. Actually I want to have about 40 labels added into a window when a button is clicked. The text are not the same so the label is not the same. I cannot just add 40 labels before hand and then change its text to something from a qlineedit. Please say me something that

Pyqt5 help

2020-02-01 Thread Souvik Dutta
I was making a pyqt5 project and I ran into a problem. I want a button in one window to add a label in another window when clicked upon. But that is not happening. Now the no. Of labels depend upon something, so I decided to use a for loop which is not working. Attaching the code below. Can you hel

App made with pyinstaller is not running on another computer.

2020-02-02 Thread Souvik Dutta
Hi, I made an executable file with pyinstaller on my pc which had python 3.7. It ran well in my pc but when I tried to run it on my friend computer having a 32 bit windows 10 os it didn't run it is just saying that "this app cannot be run on your pc". My pc has a 64 bit version of windows 10 and al

PyQt5 help on buttons and grid layout

2020-02-02 Thread Souvik Dutta
Hi, I want to add about 40 buttons based upon a dictionary. I want them to be added to a grid layout. How can I do it easily. Please write the code and thank you for your trouble. -- https://mail.python.org/mailman/listinfo/python-list

Re: How to instlal pyodbc, without pip

2020-02-04 Thread Souvik Dutta
You might use chocolatey if you like. On Tue, 4 Feb, 2020, 11:05 pm , wrote: > Hi, > > Pip won't work on my desktop, because of the firewalls we have set up. > > I have the version from github. Assuming my Python 3.8.1 Home Directory > is C:\Python, How can I install pyodbc pyodbc-master.zip?

How to make a cross platform python app with pyinstaller??

2020-02-04 Thread Souvik Dutta
Hi, I made a python gui with pyqt5 and packed it with pyinstaller. It is running well in my computer but when I gave it to a friend who doesn't have any python version installed and it didn't run. The message was "This app cannot be run on your pc.". How can I solve this??? -- https://mail.python.

Re: Change in behaviour Python 3.7 > 3.8

2020-02-06 Thread Souvik Dutta
You might find this helpful. https://docs.python.org/3/reference/datamodel.html Thank you 😊😙 On Thu, Feb 6, 2020, 6:29 PM Frank Millman wrote: > Hi all > > I have noticed a change in behaviour in Python 3.8 compared with > previous versions of Python going back to at least 2.7. I am pretty sur

Re: python

2020-02-23 Thread Souvik Dutta
Try it yourself first. It is very easy. On Sun, Feb 23, 2020, 1:00 PM luka beria wrote: > hi guys i have another question.how to find the minimum and maximum > numbers in this list without using the min () and max () functions use > while loop > -- > https://mail.python.org/mailman/listinfo/py

How to get a place's longitude and latitude?

2020-02-24 Thread Souvik Dutta
Hi guys I want to make a program that kinda sends an sos message with the measures of longitude and latitude (which is super inconvenient) to someone. How can I do that I mean how can I get the longitude and latitude? Any help would be appreciated. -- https://mail.python.org/mailman/listinfo/pytho

Re: Tkinter layout designer

2020-02-24 Thread Souvik Dutta
There is one called PAGES On Tue, Feb 25, 2020, 12:05 PM Christian Gollwitzer wrote: > Am 24.02.20 um 22:29 schrieb mm0fmf: > > Can anyone recommend a graphic layout designer for Tkinter programs. > > There is no such thing for Tkinter. There is an outdated designer for Tk > called Visual Tcl, b

What is the meaning of Building Wheel for ?

2020-02-29 Thread Souvik Dutta
What is the meaning of the subject I mean what does python internally do when it says this? -- https://mail.python.org/mailman/listinfo/python-list

Re: php to python code converter

2020-03-01 Thread Souvik Dutta
Use this instead (I know the name is misleading) https://pypi.org/project/convert2php/ On Sun, Mar 1, 2020, 11:25 AM wrote: > On Friday, May 8, 2009 at 3:38:25 AM UTC-7, bvidinli wrote: > > if anybody needs: > > http://code.google.com/p/phppython/ > > this link doesn't work > -- > https://mail.p

Re: EuroPython 2020: Call for Proposals opens on March 9th

2020-03-01 Thread Souvik Dutta
I would like to see a bit of modernisation of the tkinter module. Like use of style sheets and opening images in a better way like not relying on bitmaps and thing like that. I would also like pip to check for PGP signature as that would certainly ensure security. And I generally use python for ma

Re: Pip borks the #! line when installing pylint from Python sandbox

2020-03-05 Thread Souvik Dutta
The directory you stated is indeed the default directory as stated here https://unix.stackexchange.com/questions/240037/why-did-pip-install-a-package-into-local-bin What happens when you explicitly state the location where you want to store the package? Have you tried it? On Thu, Mar 5, 2020, 9:4

Re: What is the correct interpreter

2020-03-05 Thread Souvik Dutta
You might try checking windows app management aliases by just tpying app management aliases in the search bar. There you should find two different version of python. One is the python which was available earlier in windows Store and the other one is the one you have installed in your machine. Try s

Re: iterate through an irregular nested list in Python

2020-03-06 Thread Souvik Dutta
A better way would be to just do nestedl = [[2], [], [], [l, b, n]]#nested list for a in nestedl: #taking all the sublist for b in a: #iterating through the sub print(b) Though it is easy the only limitation is that it works only if the elements are lists. Which we

Re: Python question

2020-03-06 Thread Souvik Dutta
This is not a place to quarrel our only task is to discuss and help other learn and learn ourselves. To Mr. Marco what Mr. Lee says is correct. Since he is working on a cryptocurrency project and he might use our original code in his final project I don't think offering money is bad. After all ther

Re: iterate through an irregular nested list in Python

2020-03-06 Thread Souvik Dutta
A better way would be to just do nestedl = [[2], [], [], [l, b, n]]#nested list for a in nestedl: #taking all the sublist for b in a: #iterating through the sub print(b) Though it is easy the only limitation is that it works only if the elements are lists. Which we

Re: Python question

2020-03-06 Thread Souvik Dutta
This is not a place to quarrel our only task is to discuss and help other learn and learn ourselves. To Mr. Marco what Mr. Lee says is correct. Since he is working on a cryptocurrency project and he might use our original code in his final project I don't think offering money is bad. After all t

Re: iterate through an irregular nested list in Python

2020-03-06 Thread Souvik Dutta
A better way would be to just do nestedl = [[2], [], [], [l, b, n]]#nested list for a in nestedl: #taking all the sublist for b in a: #iterating through the sub print(b) Though it is easy the only limitation is that it works only if the elements are lists. Which we

Re: Python question

2020-03-06 Thread Souvik Dutta
This is not a place to quarrel our only task is to discuss and help other learn and learn ourselves. To Mr. Marco what Mr. Lee says is correct. Since he is working on a cryptocurrency project and he might use our original code in his final project I don't think offering money is bad. After all t

Is there something similar to guidechimp in python?

2020-03-06 Thread Souvik Dutta
This is guidechimp -https://github.com/Labs64/GuideChimp Is there anything similar to this in python? -- https://mail.python.org/mailman/listinfo/python-list

Re: iterate through an irregular nested list in Python

2020-03-07 Thread Souvik Dutta
A better way would be to just do nestedl = [[2], [], [], [l, b, n]]#nested list for a in nestedl: #taking all the sublist for b in a: #iterating through the sub print(b) Though it is easy the only limitation is that it works only if the elements are lists. Which we

Re: Python question

2020-03-07 Thread Souvik Dutta
This is not a place to quarrel our only task is to discuss and help other learn and learn ourselves. To Mr. Marco what Mr. Lee says is correct. Since he is working on a cryptocurrency project and he might use our original code in his final project I don't think offering money is bad. After all t

Is there something similar to guidechimp in python?

2020-03-07 Thread Souvik Dutta
This is guidechimp -https://github.com/Labs64/GuideChimp Is there anything similar to this in python? -- https://mail.python.org/mailman/listinfo/python-list

Re: EuroPython 2020: Launching the conference website

2020-03-08 Thread Souvik Dutta
I have a suggestion. It would be better if you could have made a packaging software that could package not only the dependencies but also the python interpreter so that we could just plug and play the application in a computer that does not has a python interpreter pre installed. The installer that

Re: Error while installing a python code

2020-03-09 Thread Souvik Dutta
I dont know if this will work. But still something is better than nothing. https://stackoverflow.com/questions/11094718/error-command-gcc-failed-with-exit-status-1-while-installing-eventlet I am not a "spoofer" in case you get any warning. On Mon, Mar 9, 2020, 7:54 PM Tim Ko wrote: > Hello, > >

Re: Lock acquisition by the same thread - deadlock protection

2020-03-09 Thread Souvik Dutta
This should be what you need. https://python-reference.readthedocs.io/en/latest/docs/functions/super.html On Tue, 10 Mar, 2020, 7:02 am Yonatan Goldschmidt, < [email protected]> wrote: > I recently debugged a program hang, eventually finding out it's a deadlock > of a single thread, > res

Re: Lock acquisition by the same thread - deadlock protection

2020-03-09 Thread Souvik Dutta
Sooyyy it was not meant to you On Tue, 10 Mar, 2020, 8:00 am Souvik Dutta, wrote: > This should be what you need. > https://python-reference.readthedocs.io/en/latest/docs/functions/super.html > > On Tue, 10 Mar, 2020, 7:02 am Yonatan Goldschmidt, < > yon.goldschm...@gmail.

Re: How does the super type present itself and do lookups?

2020-03-09 Thread Souvik Dutta
This should be what you are looking for. https://python-reference.readthedocs.io/en/latest/docs/functions/super.html On Tue, 10 Mar, 2020, 5:50 am Adam Preble, wrote: > On Wednesday, March 4, 2020 at 11:13:20 AM UTC-6, Adam Preble wrote: > > Stuff > > I'm speculating that the stuff I don't see w

Re: Python question

2020-03-10 Thread Souvik Dutta
What about moving on to a social media app completely made in pythoj for python? On Wed, 11 Mar, 2020, 12:36 am DL Neil via Python-list, < [email protected]> wrote: > On 11/03/20 7:34 AM, Michael Torrie wrote: > > On 3/10/20 6:40 AM, Chris Angelico wrote: > >> On Tue, Mar 10, 2020 at 11:22 P

Re: Python question

2020-03-12 Thread Souvik Dutta
Ya at least I thought that. On Thu, Mar 12, 2020, 12:45 PM Mike Dewhirst wrote: > On 12/03/2020 1:47 pm, DL Neil via Python-list wrote: > > On 12/03/20 3:03 AM, Rhodri James wrote: > >> On 11/03/2020 04:06, Michael Torrie wrote: > >>> On 3/10/20 6:49 PM, Souvik

Re: Reduce waiting queue at supermarket from Corona with Python-Webapp

2020-03-16 Thread Souvik Dutta
I think you might get a man build the app in a manner that allows the people at the supermarket to update the foot falls of the customers in a given time period. Like one might count the number on 10 am for a period of fifteen minutes and say that this will be the number of persons in the mall for

Re: Reduce waiting queue at supermarket from Corona with Python-Webapp

2020-03-16 Thread Souvik Dutta
This app might also give real time updates. On Tue, Mar 17, 2020, 10:19 AM Souvik Dutta wrote: > I think you might get a man build the app in a manner that allows the > people at the supermarket to update the foot falls of the customers in a > given time period. Like one might count t

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 (#first()

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

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

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 D

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

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

Re: mport pytorch fails on my windows 10 PC

2020-03-29 Thread Souvik Dutta
t; > The 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 < > [email protected]>: > >> Yes having two versions of python causes that problem. >> >> On Sat, 28 Mar, 2020, 11:53 pm josep

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 me

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 webs

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

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: 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 - > https://cheatsheets.tutorials24x7.

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 t

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 play

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

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 P

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 An

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

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 tr

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

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 complaint

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 m

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

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: 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: 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, < [email protected]> wrote: > Dear Python Team, > > After downloading and installin

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, < [email protected]> 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: 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: 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 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: 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 ther

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 dotted/broken

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 line(unbroken/continuous

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

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 g

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

Re: python read line by line and keep indent

2020-04-18 Thread Souvik Dutta
n Sat, Apr 18, 2020, 1:20 PM Peter Otten <[email protected]> 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: 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: Floating point problem

2020-04-18 Thread Souvik Dutta
Apr, 2020, 7:02 pm DL Neil via Python-list, < [email protected]> 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 some

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 < [email protected]> wrote: > On 19/04/20 1:51 AM, Souvik Dutta wrote: > > I literally

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 But why doe

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,

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, < [email protected]> 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 sub-

Re: Run code automatically

2020-04-20 Thread Souvik Dutta
> Could please suggest 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 thin

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

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 using

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

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 wrote

  1   2   >