On 12/8/21 11:18, Larry Warner wrote:
I am new at Python. I have installed Python 3.10.1 and the latest Pycharm.
When I attempt to execute anything via Pycharm or the command line, I
receive a message it can not find Python.
I do not know where Python was loaded or where to find and to update PA
In a message of Sat, 10 Oct 2015 20:39:29 +0100, Mark Lawrence writes:
>On 10/10/2015 07:15, Sébastien Pinsonneault wrote:
>> Hi,
>>
>> I've downloaded Python 3.5.0 64 bits, but I can't open it. It ask me
>> each time if I want to modify, repair or uninstall, but doesn't open.
>>
>> I have Windows
On 10/10/2015 07:15, Sébastien Pinsonneault wrote:
Hi,
I've downloaded Python 3.5.0 64 bits, but I can't open it. It ask me
each time if I want to modify, repair or uninstall, but doesn't open.
I have Windows 10 64 bits.
Thx
Check out the issue tracker as there are known problems. If you'r
On Sat, Oct 10, 2015 at 5:15 PM, Sébastien Pinsonneault
wrote:
> I've downloaded Python 3.5.0 64 bits, but I can't open it. It ask me each
> time if I want to modify, repair or uninstall, but doesn't open.
>
> I have Windows 10 64 bits.
"doesn't open"? Do you mean that it's refusing to install, o
Loop_variable= 1
Pi=1.0
term=0
T=1.0
While (loop_variable> 0):
Loop_variable=Loop_variable+1
T=T+2.0
If (loop_variable%2 ==0):
Term=0;
Else:
term=1;
If term ==0:
Pi=Pi- float(1/T);
Else:
Pi=Pi+ float(1/T);
--
http://mail.python.org/mai
On Tue, 19 Feb 2013 19:01:53 -0800, ach360 wrote:
> I'm so lost. Given the formula pi=4-4/3+4/5-4/7+4/9-4/11+.. How do I
> print a table showing approximate value of pi by computing one term4-4/3
> then two terms4-4/3+4/5, and so on.Then how many terms of the series
> before I get 3.14, 3.141,
Dear all,
This is the solution that I came up with to deal with handling the file of
scores.
Thank you all for your feedback!
John
# define calc average function
def calcAve(mylist):
total = 0
count = 0
for i in range (0, len(mylist)):
# count scores for even number items in in
Ethan,
Thanks for pointing that out. I commented that code out and then ran it.
It created the list of names. Now, I just need to figure out how to get the
scores into the list called scores.
It would appear that this is done with a nested for loop.
Thanks,
John
On 3/28/11 12:02 PM, "Etha
On Mon, 28 Mar 2011 22:38:29 +0100, John Parker wrote:
infile = open("scores.txt", "r")
lines = infile.readlines()
infile.close()
tokens = lines.split(",")
names = []
scores = []
[snippety snip]
error:
Traceback (most recent call last):
File "Score_8.py", line 38, in
tokens = lines.s
On Mon, 28 Mar 2011 11:38:29 -1000, John Parker wrote:
[snip]
> I have written the following code so far but get an error.
>
> infile = open("scores.txt", "r")
> lines = infile.readlines()
> infile.close()
> tokens = lines.split(",")
[snip]
> error:
> Traceback (most recent call last):
> File
John Parker wrote:
I have written the following code so far but get an error.
infile = open("scores.txt", "r")
lines = infile.readlines()
infile.close()
tokens = lines.split(",")
[snip]
error:
Traceback (most recent call last):
File "Score_8.py", line 38, in
tokens = lines.split(",")
On Mon, Mar 28, 2011 at 3:38 PM, John Parker wrote:
> error:
> Traceback (most recent call last):
> File "Score_8.py", line 38, in
> tokens = lines.split(",")
> AttributeError: 'list' object has no attribute 'split'
>
> So, what am I doing wrong?
'lines' is a list of strings.
'split' is a st
Marc,
Thank you.
I followed the instructions in given at pyenchant.sourceforge.net and
got the application to work.
((;-))
Meir
PS: My challenge now is to port the application to Redhat.
I already know that Redhat is missing the pyenchant package - I hope
the same installation process will so
On Wed, 12 Sep 2007 09:09:02 +0200, A.T.Hofkamp wrote:
> On 2007-09-11, Wiseman <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> OK - it works in WindowsXP.
>> I installed "enchant" on my SuSE 10.0 (using YAST).
>> The enchant Suse package looks like a general Linux package, not a
>> Python specific.
On 2007-09-11, Wiseman <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> OK - it works in WindowsXP.
> I installed "enchant" on my SuSE 10.0 (using YAST).
> The enchant Suse package looks like a general Linux package, not a
> Python specific.
You'd seem to be right judging by this web-page:
http://www.nove
Hi,
OK - it works in WindowsXP.
I installed "enchant" on my SuSE 10.0 (using YAST).
The enchant Suse package looks like a general Linux package, not a
Python specific.
Running the program in Python I am getting the same error message from
the line: "import enchant".
ImportError: No module nam
Carsten.
I want to thank you for your help. I could not check this until this
morning. Now that I checked your answer - THANK YOU.
I do have 2 installations of Python on my machine. Once I called
Python with a full path - my program orked as expected.
Meir
--
http://mail.python.org/mailman/l
On Fri, 2007-09-07 at 21:58 -0400, Wiseman wrote:
> Hi,
>
> The line:
>
> import enchant
>
> works perfectly OK when I call a Python progrma (sp.py) from IDLE
> (WInXP). When I try to run it ftom the command line (python sp.py) the
> response is:
>
> Traceback (most recent call last):
>File
18 matches
Mail list logo