Re: request

2015-10-13 Thread Mathew Carrick
Hi Uday, Pip should support using the pip{version} command to install version-specific packages. Try using pip2.7 to install 2.7 packages. Best, Mathew Carrick On Tue, Oct 13, 2015 at 2:45 AM, Uday Pethakamsetty < uday.pethakamse...@infor.com> wrote: > Hi > > > > I am work

Re: Python not working on my system

2015-10-13 Thread Mathew Carrick
Hi Cinto, Python 3.5 does not work on Windows XP. Can you use Python 3.4 instead? Best, Mathew Carrick On Tue, Oct 13, 2015 at 12:10 AM, Cinto Llach wrote: > I’m sending you this email, as I’m having problems trying to install and > use Python. > > > > I’ve been tryng to ins

REG: Interactive Python (ipython notebook) Tutorial for Beginners

2013-11-08 Thread Anoop Thomas Mathew
Hi All, Lately, I've been working on a ipython notebook tutorial for beginners. The idea is that, those who have basic idea about computers should be able to pick up python very easily. https://bitbucket.org/atmb4u/python-live/ I have completed 25 chapters. Would love some reviews, suggestions a

Merging xls into a common one

2013-10-16 Thread John Mathew
This code works fine when there are xls in which Row has One column, but not when Row has more column. The expectation is to merge the different xls into a common one. Can somebody please help. import xlwt import xlrd import sys #Create workbook and worksheet wbk = xlwt.Workbook() dest_sheet = w

Re: simple client data base

2012-09-03 Thread Anoop Thomas Mathew
Hi, You can make use of sqlite database also. And for the structure, you can create a single table and different columns for the fields like name, number etc. You can get more details over here. http://docs.python.org/library/sqlite3.html Thanks, Anoop Thomas Mathew atm ___ Life is short, Live

Re: pylagiarism -- Need help now! Please provide code...

2012-08-14 Thread Anoop Thomas Mathew
On 14 August 2012 12:04, Simon Cropper wrote: > Hi Everyone, > > I just had a great idea for a new python module. I haven't bothered > googling it or doing any research. > > I need help putting together some code; today preferably, my boss is on my > back. Can someone please contribute a functioni

Re: Demise of Mr. Kenneth Gonsalves

2012-08-03 Thread Anoop Thomas Mathew
Chronic Asthma. He was hospitalized yesterday, and passed away today. On 3 August 2012 20:45, Marcin Tustin wrote: > What happened to him? He was posting on this list in the last week? > > On Fri, Aug 3, 2012 at 11:12 AM, Anoop Thomas Mathew wrote: > >> With my heartfelt co

Demise of Mr. Kenneth Gonsalves

2012-08-03 Thread Anoop Thomas Mathew
d the PyCon India, done a lot of workshops on Python and was an active member in the Django user group. Anoop Thomas Mathew -- http://mail.python.org/mailman/listinfo/python-list

Re: string to list

2012-06-14 Thread Anoop Thomas Mathew
@group: Sorry for the mistake. @Hemanth: Thank You for pointing out. I just realized that, we should not copy paste from the console. :) atm ___ Life is short, Live it hard. On 14 June 2012 13:09, Hemanth H.M wrote: > @Annop Nice one, but you seem to have missed a parenthesis. > > >>> list(l

Re: string to list

2012-06-14 Thread Anoop Thomas Mathew
Hi, You can use literal_eval from ast package. >>> from ast import literal_eval >>> list(literal_eval("'aa','bb','cc'") this will return ['aa', 'bb', 'cc'] Thanks, Anoop Thomas Mathew atm ___ Life is short

Re: Python Script Works Locally But Not Remotely with SSH

2012-04-02 Thread Anoop Thomas Mathew
Hi, You can try using ssh -X xxx.xxx.xxx.xxx for GUI ssh connection. Thanks, Anoop Thomas Mathew atm ___ Life is short, Live it hard. On 28 March 2012 06:21, goldtech wrote: > Hi, > > I have a WinXP PC running an SSH server and I have a Linux PC with an > SSH client and log

Looking for python/pyramid developers for a project

2011-08-23 Thread Mathew
Hello, My company an ISP is looking to build an administrative webapp dashboard for our underlying systems. We are looking to hire a developer(s) immediately. We would prefer the application be built on python with a popular framework such as pyramid. This position is a contract position paid hour

Re: making my extensions work together

2011-08-04 Thread Mathew
okay. It worked to make my 3'rd party library dynamic. Hopefully this will help someone else in the future. "Mathew" wrote in message news:j1cs2t$j2f$1...@news.jpl.nasa.gov... > This isn't exactly a Python question but maybe someone here has run into > this. > &

Re: making my extensions work together

2011-08-04 Thread Mathew
; On Thu, Aug 4, 2011 at 2:19 AM, Mathew wrote: >> I have 2 extensions and they both access a function in a (static) >> library. >> The function maintains state information using a static variable. > > If your extensions are DLLs and they're both linking to the same >

making my extensions work together

2011-08-03 Thread Mathew
able value, the other extension does not see the change. Would it work if I made my library dynamic? This is on Windows XP compiling with MSVC 2008. -Mathew -- http://mail.python.org/mailman/listinfo/python-list

Windows Registry Keys

2011-05-19 Thread Mathew
Hi I have installed a new version of Python27 in a new directory. I want to get this info into the registry so, when I install Numpy, it will use my new Python TIA -Mathew -- http://mail.python.org/mailman/listinfo/python-list

setup.py rebuilds EVERYTHING on windows?

2011-05-02 Thread Mathew
Hi I'm trying to build an extension (spice-0.12) on windows. Whenever I change a single file, everything gets rebuilt. ?? Python2.7.1 Windows XP Visual Studio 9 setuptools 0.6c11 -Mathew -- http://mail.python.org/mailman/listinfo/python-list

Problem with Python GUI checklist, Tkinter

2011-03-07 Thread Mathew Coyle
bind somewhere, like the Python Tk buttons, to limit the selection to the mouse button click only, but I cannot find it anywhere in the documentation. I am using Python 2.6.5, Tk 8.5 and I've attached the code as it stands now. Any assistance would be appreciated, thanks. Mathew Coyle G

RE: Copying a ZipExtFile

2009-10-29 Thread Moore, Mathew L
> On October 28, 2009 8:33 PM, "ryles" wrote: > > > with io.BytesIO() as memio: > > shutil.copyfileobj(f, memio) > > zip = zipfile.ZipFile(file=memio) > > # Can't use zip.extract(), because I want to ignore paths > > # within archive. > > src = zip.open(

RE: Copying a ZipExtFile

2009-10-26 Thread Moore, Mathew L
> En Fri, 23 Oct 2009 14:15:33 -0300, Moore, Mathew L > > escribió: > > > with io.BytesIO() as memio: > > shutil.copyfileobj(f, memio) > > zip = zipfile.ZipFile(file=memio) > > # Can't use zip.extract(), because I want to

Copying a ZipExtFile

2009-10-23 Thread Moore, Mathew L
Hello all, A newbie here. I was wondering why the following fails on Python 2.6.2 (r262:71605) on win32. Am I doing something inappropriate? Interestingly, it works in 3.1, but would like to also get it working in 2.6. Thanks in advance, --Matt import io import shutil import tempfile import

pexpect and unicode strings

2009-09-04 Thread Mathew Oakes
Is there anything that can be done to make pexpect spawns send unicode lines? In this example they are just middot characters, but this process needs to be able to handle languages in other character sets. >>> spokentext = u'Nation . Search the FOX Nation . czars \xb7 Health care >>> \xb7 t

[no subject]

2008-11-16 Thread anish mathew
pls help me        html page conecting to database sql or .mdb files     pls sent qury Check out the all-new face of Yahoo! India. Go to http://in.yahoo.com/-- http://mail.python.org/mailman/listinfo/python-list

Python26 compilation problem

2008-10-23 Thread Mathew
I am getting Modules/config.c:39: error: expected declaration specifiers or '...' before numeric constant because of extern void initsocket(2)(void); in config.c What is this? How do I fix it? Mathew -- http://mail.python.org/mailman/listinfo/python-list

Good python equivalent to C goto

2008-08-16 Thread Kurien Mathew
Hello, Any suggestions on a good python equivalent for the following C code: while (loopCondition) { if (condition1) goto next; if (condition2) goto next; if (condition3) goto next; stmt1; stmt2; next:

Concise way to format list/array to custom(hex) string

2008-08-02 Thread Kurien Mathew
Hello, What will be a concise & efficient way to convert a list/array.array of n elements into a hex string? For e.g. given the bytes [116, 111, 110, 103, 107, 97] I would like the formatted string 0x74 0x6f 0x6e 0x67 0x6b 0x61 Is there an approach better than below: hex = '' for b in bytes:

Re: placing a Python com object into Excel

2008-03-17 Thread Mathew
Thanks for the tip. But, instead of an AddIn, what if I want to be able to insert an object? I see that the demo adds items to the windows registry under \Excel\AddIns. Is there a similar location for the "Insert Object" command? yikes. More Excel programming than I'd like t

placing a Python com object into Excel

2008-03-17 Thread Mathew
ideas? Mathew -- http://mail.python.org/mailman/listinfo/python-list

HTTP or alternative upload for large files

2006-12-18 Thread Jacob Mathew
Hay Robin.. I am Jacob Mathew.. Doing some research in large file uploads for my project. I got your matured skills and ability to do programs for upload huge files. In fact I am a kid in programming, I cannot think to write such a god program. Will you able to share your uploading script with