9 questions
0
votes
1
answer
82
views
How can I merge multiple Excel files with multiple sheets?
Can anyone please help me to write code if sheet names are matching in several files then data will merge and create one data frame. I want to merge multiple file in one dictionary.
I am getting this ...
0
votes
0
answers
79
views
Invalid client secrets file, and 'utf-8' codec can't decode byte 0xca in position 82: invalid continuation byte
I have a CSV file saved in my google drive; this file has text data (questions) I want to link with openai to get some justifications, if I ask these questions manually in prompt, i can get answered, ...
1
vote
1
answer
109
views
How to display query results in python code in html?
I'm trying to display the results of a python query in html.
I have the following error and I can't find the solution.
I leave code.
Thank you for your support
I expected it to show the name of a ...
0
votes
1
answer
139
views
Got Index out of Bound while trying to get status of VM compute_client.virtual_machines.get(resrc, vm, expand="instanceView")
I am getting below error when trying to get the status of the VM inside while loop:
File "C:\Users\RohitMishra\Documents\cost-controller-engine\services\service.py", line 533, in schedule
...
0
votes
1
answer
109
views
i have an error python OOP. Python magic method __div__() [duplicate]
I have "TypeError: unsupported operand type(s) for /: " for this code
class add_object:
def __init__(self, num) -> None:
self.x = num
def __div__(self, other):
...
0
votes
1
answer
695
views
Problem in performing peak calling with macs2
I am trying to install the WACS algorithm which is an extension of macs2 callpeak (available on software page of Perkinslab). In the process, I created a new conda environment with python 2.7.9 (conda ...
0
votes
0
answers
224
views
`configure` requires python-devel header files
So i am trying to build gnu-solfege for my musical needs but i when i ./configure it show this error
i have installed python-package on my fedora machine.
i think i need to run it thru configure ...
0
votes
1
answer
30
views
django midleware inside function is not recognized it is giving me error 'function' object has no attribute 'get'
error 'function' object has no attribute 'get' .inside dmy_middleware not recognized
here is code
def my_function(get_response):_
print('hi')
def dmy_middleware(request):
response = ...
3
votes
1
answer
2k
views
How can I detect if Python is running in Python Development Mode?
To turn on Python Development Mode, you can use this flag:
python3 -X dev example.py
or use this environment variable:
PYTHONDEVMODE=1 python3 example.py
How can I write code within example.py to ...