Re: Dictionary from a list

2009-08-22 Thread EK
On Aug 20, 2:10 pm, Peter Otten <__pete...@web.de> wrote: > Jan Kaliszewski wrote: > > 20-08-2009 o 02:05:57 Jan Kaliszewski wrote: > > >> Or probably better: > > >>      from itertools import islice, izip > >>      dict(izip(islice(li, 0, None, 2), islice(li, 1, None, 2))) > > > Or similarly, per

PY3.5 and nnumpy and scipy installation problem

2015-09-25 Thread Ek Esawi
Hi All— I am a beginner in Python and new to this list, but I am an experienced programming in a few other languages. Last year I installed numpy and scipy for Python3.3 on my computer with windows 7, 64 bit OS. Today I downloaded Python3.5, but I the installation for numpy 1.9.2 or 1.9.3 nor sc

PY3.5 and nnumpy and scipy installation problem

2015-09-27 Thread Ek Esawi
;", line 1, in import numpy as np ImportError: No module named 'numpy' >>> Thanks again, EK -- https://mail.python.org/mailman/listinfo/python-list

PY3.5 and nnumpy and scipy installation problem

2015-09-29 Thread Ek Esawi
, scipy and others which helped me greatly. For any installation issue here is the link http://www.southampton.ac.uk/~fangohr/blog/installation-of-python-spyder-numpy-sympy-scipy-pytest-matplotlib-via-anaconda.html Thanks again---EK -- https://mail.python.org/mailman/listinfo/python-list

Pandas' loading a CSV file problem

2015-10-22 Thread Ek Esawi
es of massages such as Traceback (most recent call last): File "C:\Users\EK Esawi\Anaconda3\Scripts\file1.py", line 3, in f = pd.read_csv('c:/Users/EK Esawi/My Documents/Temp/GOSATemp.csv') File "C:\Users\EK Esawi\Anaconda3\lib\site-packages\pandas\io\parsers.py&

Pandas' loading a CSV file problem

2015-10-22 Thread Ek Esawi
Here is the whole output. EKE Traceback (most recent call last): File "C:\Users\EK Esawi\Anaconda3\Scripts\MyFile.py", line 3, in f = pd.read_csv('c:/Users/EK Esawi/My Documents/Temp/GOSATemp1.csv') File "C:\Users\EK Esawi\Anaconda3\lib\site-packages\pandas

Pandas' loading a CSV file problem

2015-10-22 Thread Ek Esawi
combination of string and numeric values which will eventually be separated. Thanks again-EK -- https://mail.python.org/mailman/listinfo/python-list

cvxopt install problem

2015-11-03 Thread Ek Esawi
Hi All— I needed to install cvxopt on a 64 bit W7. I found out that cvxopt is incompatible with a 64 bit. It only compatible with a 32 bit which can be installed on a 64 bit computer and it works. I stumbled on this on another discussion group posting. The suggestion was to install python 32 b

Re: Truly platform-independent DB access in Python?

2006-08-28 Thread Boris Dušek
Bruno Desthuilliers wrote: > bobrik wrote: > > Hello, > > > > I am using the Python DB API for access to MySQL. But it is not > > platform-independent > > It is. You don't have to change your Python code according to the OS or > CPU. > What I mean is that wiht platform-independent access, I should

Re: Truly platform-independent DB access in Python?

2006-08-28 Thread Boris Dušek
[EMAIL PROTECTED] wrote: > I don't think you mean "platform-independent". I suspect you mean > "batteries included". Prior to the release of Python 2.5, no modules to > access SQL databases were distributed with core Python. Starting with 2.5, > sqlite access will be available: > > >>> impor

Re: Truly platform-independent DB access in Python?

2006-08-28 Thread Boris Dušek
Bruno Desthuilliers wrote: > > but what if the OS with server accessing the site that is on > > shared area changes? > > And what if Python is not installed on it ?-) > > Seriously, do you think that hosting companies swap OS very often ? No, I don't. But I was trying to find the best solution.

Re: Truly platform-independent DB access in Python?

2006-08-28 Thread Boris Dušek
Dennis Lee Bieber wrote: > On 28 Aug 2006 00:01:06 -0700, "bobrik" <[EMAIL PROTECTED]> > declaimed the following in comp.lang.python: > > > > for that platform. Do you know of any Python solution for MySQL access > > that is 100% platform-independent? > > > Subprocess module invoking the MyS

Re: Truly platform-independent DB access in Python?

2006-08-30 Thread Boris Dušek
[EMAIL PROTECTED] wrote: ... snip ... > So, if what you were really asking was "what SQL databases can I access > without installing any software other than Python?", then the answer is "No > SQL databases were distributed with Python prior to 2.5. Starting with > Python 2.5, access to sqlite

Pandsa to Excel conversion issue

2021-06-01 Thread EK Esawi via Python-list
ke '22.3' via astype or pd.to_numeric is below Unable to parse string "22." at position 0 Thanks in advance EK -- https://mail.python.org/mailman/listinfo/python-list