I have a list like v=[1,1,1] and a dataframe like [[1,1,1],[0,0,1],[0,0,0]]. I want to compare this list to dataframe rows if any row equal to my list print somthing and stop comparing. how can i do this?
Asked
Active
Viewed 38 times
-1
-
you can use pyinstaller this https://www.pyinstaller.org/ – apoorva kamath Aug 18 '21 at 09:39
1 Answers
0
For Windows:
Step 1: Install pyinstaller
pip install pyinstaller
Step 2:
Put all the three python file in a Folder.(same)
Open Command Promt in that folder and write:
pyinstaller.exe 1.py --onefile --noconsole
*noconsole is optional as it is used to run python file without popping command prompt window.
General Syntax:
pyinstaller.exe filename.py --onefile --noconsole
Thanks

capt_levi
- 51
- 7
-
I did but this error:pyinstaller.exe : The term 'pyinstaller.exe' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + pyinstaller.exe erafc.py --onefile --noconsole + ~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (pyinstaller.exe:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException – khayyam didar Aug 18 '21 at 10:14
-
you installed pyinstaller? Right? If you did..Then... locate to: pyinstaller general location: C:/Python27/Scripts/pyinstaller.exe if u manage to locate pyinstaller, then Copy Path. and then write in cmd: C:/Python27/Scripts/pyinstaller.exe 1.py --onefile --noconsole I'm sure it will solve your error. If it's solved. Then Do Upvote The Answer. Thanks. – capt_levi Aug 18 '21 at 11:05