python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
problem with addressing the working folder from within another software python shell
I have a python file that must be called from within a software (which use python 2.7). This python file use np.loadtxt() to read some data. The software have its own working directory, so when I want...
maryam sh
Votes: 0
Answers: 0
Python2 to Python3 upgrades
PYTHON 3 EXAMPLE
>>> import six
>>> six.PY3
True
>>> import mock
>>> x = mock.MagicMock()
>>> y = min(x,2)
Traceback (most recent call last):
File "...
user257254
Votes: 0
Answers: 1
ImportError Python cannot import name
I am trying to reproduce a code from a scientific publication which uses Python 2:
https://github.com/TeamErlich/dna-fountain
The code is based on Python 2 so I had to change my environment to Python ...
alexcc
Votes: 0
Answers: 0
How do I add an if statement without breaking my code?
I am working with python zope printing html code and the traceback isn't very helpful. I want to add an if statement to check if "test(highlight_today == 'yes' and DateTime(container.util.getToda...
JThao
Votes: 0
Answers: 0