I'm not a pro in python, I just have a username and password stored statically in my python config file, the app use this credentials to FTP some files. I canno
If I have a Pandas data frame like this: 1 2 3 4 5 6 7 1 NaN 1 1 1 NaN 1 1 2 NaN NaN 1 1 1 1 1 3 NaN NaN NaN 1 NaN
I am getting error "No keyword with name 'addition' found." py file class A: def addition(self,a,b): print(a+b) obj=A() obj.addition(4,5) robot code
In python 2, is there any difference between multiprocessing.dummy.Pool and multiprocessing.pool.ThreadPool? The source code seems to imply they're the same.
I am trying to run a python script from a c# console application. This c# code works fine until I import our custom python module that in turn imports other mod
All attempt of Git push fails probably after MacOS Monterey update 12.3.1 on MacBook with Apple silicon. % git push dyld[56684]: Library not loaded: /System/Lib
I have installed conda using miniforge. Since my mac has a m1 chip, i had to install conda using Miniforge3-MacOSX-arm64.sh, inorder to get tensorflow working.
I have a Value 38142 I need to convert it into date format using python. if use this number in excel and do a right click and format cell at that time the value
I installed OpenCV 3.3.1 with python 2.7 (GPU), but I tried to install OpenCV4.x with Python3. I followed this post here Output find /usr/local/lib/ -type f
Here is my code that isn't working. I do not know how to define it? ('PROCESS_ALL_ACCESS' is not defined) import sys from ctypes import * PAGE_READWRITE =
I am running a huge text file using PyCharm and PySpark. This is what I am trying to do: spark_home = os.environ.get('SPARK_HOME', None) os.environ["SPARK_HOM
I'm trying to use pip to uninstall numpy(I also installed pandas, but I seem to have been able to uninstall that). In the case of `numpy, I get the following ou
I wanted to use tkinter in python 2.7, but it says, it is not found. Neither I can install it using pip install. How to install it ? Python 2.7.5 (default, Nov
So I need to install the python version of lcm, which is downloaded from here , but every time, I end up with this error photo of my terminal.1st attempt is wit
I'm working on some python2.7 widgets for a Digital signage using GTK and webkit and I was wondering How can I enable 2d hardware acceleration? I'm running Rasp
I have data in python with nested lists, a part of which looks like: data = [['214', '205', '0', '14', '710', '1813494849', '0'], ['214', '204
I have time given in the following format. 'August 28, 2017 Mon 03:30 am - 04:00 am' I would like to convert it to the following utc format using arrow.
My Ubuntu 21.04 came with preinstalled with python 3. I installed python 2.7 in parallel since all my programs are in python 2.7. In my modules, import dateutil
I have some data that contains NULLs, floats and the occasional Nan. I'm trying to insert this data into a MySQL database using python and MySqldb. Here's the
s = 0 for s in xrange(0, 100): print "s before", s if s % 10 == 0: s += 10 print "s after", s s = 0 while s < 100: print "s bef