On 2023-10-30 19:19, McDermott Family via Python-list wrote:
Hello, I am trying to create a one file executable with pyinstaller 6.1.0
and auto-py-to-exe 2.41.0 using Python version 3.10.9 in a virtual
environment.
Some points before the output of pinstaller is shown. My resource .py file
is the
Thank you Laura and Oscar.
Abhishek
--
https://mail.python.org/mailman/listinfo/python-list
In a message of Fri, 13 Nov 2015 14:04:01 +, Oscar Benjamin writes:
>On 13 November 2015 at 08:34, Laura Creighton wrote:
>> In a message of Thu, 12 Nov 2015 17:54:28 -0800, Abhishek writes:
>>>I am trying to run some Python code for the last few hours. How can I
>>>achieve the effect of "dot
On 13 November 2015 at 08:34, Laura Creighton wrote:
> In a message of Thu, 12 Nov 2015 17:54:28 -0800, Abhishek writes:
>>I am trying to run some Python code for the last few hours. How can I achieve
>>the effect of "dot divide" from Matlab, in the following code? I am having
>>trouble working
In a message of Thu, 12 Nov 2015 17:54:28 -0800, Abhishek writes:
>I am trying to run some Python code for the last few hours. How can I achieve
>the effect of "dot divide" from Matlab, in the following code? I am having
>trouble working with list comprehension and numpy arrays and getting the
>
I am trying to run some Python code for the last few hours. How can I achieve
the effect of "dot divide" from Matlab, in the following code? I am having
trouble working with list comprehension and numpy arrays and getting the
following error:
Traceback (most recent call last):
File "T
Dear all,
I am trying to calculate correlation coefficients between one time series data
and other time series. However,there are some missing values. So, I
interploated each time series with 1d interpolation in scipy and got
correlation coefficients between them. This code works well for some
Francesco Pietra wrote:
hi:
with script
data = open('134-176_rectified_edited.pdb', 'r')
outp = open('134-176_renumbered.pdb', 'w')
for L in data:
if L[3] == 'M':
L = L[:24] + "%4d" % (int(L[24-28])+133) + L[28:]
outp.write(L)
i wanted to modify lines of the type:
ATOM 1 HH31
On Thu, Apr 23, 2009 at 3:59 PM, Francesco Pietra wrote:
> hi:
> with script
>
> data = open('134-176_rectified_edited.pdb', 'r')
> outp = open('134-176_renumbered.pdb', 'w')
>
> for L in data:
> if L[3] == 'M':
> L = L[:24] + "%4d" % (int(L[24-28])+133) + L[28:]
> outp.write(L)
>
>
> i wa
Francesco Pietra writes:
> $ python renumber.py 134-176_rectified.pdb
> Traceback (most recent call last):
> File "renumber.py", line 6, in
> L = L[:24] + "%4d" % (int(L[24-28])+133) + L[28:]
> ValueError: invalid literal for int() with base 10: ''
For this reason, it's best to break up b
Francesco Pietra wrote:
> hi:
> with script
>
> data = open('134-176_rectified_edited.pdb', 'r')
> outp = open('134-176_renumbered.pdb', 'w')
>
> for L in data:
>if L[3] == 'M':
> L = L[:24] + "%4d" % (int(L[24-28])+133) + L[28:]
>outp.write(L)
>
>
> i wanted to modify lines of the
hi:
with script
data = open('134-176_rectified_edited.pdb', 'r')
outp = open('134-176_renumbered.pdb', 'w')
for L in data:
if L[3] == 'M':
L = L[:24] + "%4d" % (int(L[24-28])+133) + L[28:]
outp.write(L)
i wanted to modify lines of the type:
ATOM 1 HH31 ACE 1 1.573 1.
En Sat, 14 Jun 2008 19:06:16 -0300, <[EMAIL PROTECTED]> escribió:
> I'm using os.walk as follows:
>
> (basedir, pathnames, files) = os.walk("results", topdown=True)
>
> and I'm getting the error:
>
> ValueError: too many values to unpack
>
>> From my googling, that means:
>
> This is the standard
On Jun 14, 7:11 pm, Larry Bates <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > Hi,
>
> > I'm using os.walk as follows:
>
> > (basedir, pathnames, files) = os.walk("results", topdown=True)
>
> > and I'm getting the error:
>
> > ValueError: too many values to unpack
>
> > From my googling,
[EMAIL PROTECTED] wrote:
> Is there any other reason I might get that error?
Yes, you are using it the wrong way. The correct way is
for root, dirs, files in os.walk(path):
do something
os.walk returns an iterator which yields root, dirs and files for each
iteration.
Christian
--
http://ma
[EMAIL PROTECTED] wrote:
Hi,
I'm using os.walk as follows:
(basedir, pathnames, files) = os.walk("results", topdown=True)
and I'm getting the error:
ValueError: too many values to unpack
From my googling, that means:
This is the standard message when Python tries to unpack a tuple
into fewe
Hi,
I'm using os.walk as follows:
(basedir, pathnames, files) = os.walk("results", topdown=True)
and I'm getting the error:
ValueError: too many values to unpack
>From my googling, that means:
This is the standard message when Python tries to unpack a tuple
into fewer variables than are in th
17 matches
Mail list logo