Update from 3.9 to 3.10.8 and uninstall 3.9

2022-10-23 Thread B N
I am new to python and wish to update 3.9 to3.10.8 which I have downloaded. How 
do I replace 3.9 with the 3.10.8 I downloaded.
Kind regards
JohnGee
-- 
https://mail.python.org/mailman/listinfo/python-list


[no subject]

2016-04-17 Thread B N
Foor ages, I have been trying to summon up courage learn how to program. I 
chose o start with Python. I found that when the “black” screen comes on, I am 
unable to read/see any characters even if I turn up the brightness of the 
screen. So, I give up. I tried version 3.5.1. I shall be grateful for any help. 
Also I have not ben ale to save it on C/programmes/files
Thank you
Ben

Sent from Mail for Windows 10

-- 
https://mail.python.org/mailman/listinfo/python-list


problem with defining a global class instance

2006-11-16 Thread sharath B N
hi,
i am sort of newbie to python. I am trying to do a super Market
simulation with OOP in python. I have problems with using a class
instance as global...
def generate (... ,,...)

" in this function i define the global variables "
global  stock,stockManager, manager etc.


class Manager
...
...
...
def  create_stockManager(..)
""" this is a method in class manager"""
stockManager = StockManager( name)
stockManager.create_Stock(..)


now this gives an attribute error sayin  stockManager has no
attribute create_Stock

if i create the StockManager instance in the generate func
itself...then this problem doesnt comebut i need it this way for
the program to make sense..
can somebody help me
thnks
Sharath
-- 
http://mail.python.org/mailman/listinfo/python-list


Confused about error: invalid Python installation: unable to open ..../python2.4/config/Makefile

2008-07-18 Thread Looney, James B (N-ULA)
I built and installed Python 2.4 on 12/12/2007.  Recently, I tried
installing python-ldap-2.3.4.  The error I received was:
error: invalid Python installation: unable to open
/usr/local/openSource/architectureIndependent:/usr/local/openSource/IRIX
6/lib/python2.4/config/Makefile (No such file or directory)

I figured out what I believe to be the origin of this string.  When I
ran configure to build/install Python, I used the following:
./configure --prefix=/usr/local/openSource/architectureIndependent
--exec-prefix=/usr/local/openSource/IRIX6 --enable-shared --without-gcc
--with-cxx=CC

Somewhere along the lines, the prefix and exec-prefix strings were
joined with a ':'.  I just went searching around, and found that
sys.prefix = '', and
sys.exec_prefix="/usr/local/openSource/architectureIndependent:/usr/loca
l/openSource/IRIX6"

In past posts, I've found people referring to needing to install
python-devel, and I have no idea why installing an additional package
would help the installation of other packages.

Does anyone have any thoughts as to why I'm getting the error?  How
about thoughts on why the prefix and exec-prefix strings were joined?

Thanks,
-James
--
http://mail.python.org/mailman/listinfo/python-list