numpy arrays to python compatible arrays Dear all, I'm new to python and have been working with the numpy package. I have some numpy float arrays (obtained from np.fromfile and np.cov functions) and would like to convert them to simple python arrays. I was wondering which is the best way to do that? Is there any function to do that? Best wishes ... 12 Jun 2010 06:05
How do subprocess.Popen("ls | grep foo", shell=True) with shell=False? On Wed, 09 Jun 2010 21:15:48 -0700, Chris Seberino wrote: How do subprocess.Popen("ls | grep foo", shell=True) with shell=False? The same way that the shell does it, e.g.: from subprocess import Popen, PIPE p1 = Popen("ls", stdout=PIPE) p2 = Popen(["grep", "foo"], stdin=p1.stdout, stdout = PIPE) p... 10 Jun 2010 08:51
xml-rpc UnicodeDecodeError Hi all, I'm starting to use xml-rpc module to check and potentially modify a confluence wiki but I'm getting and error on a page containing the pound (�) sign here is the code I'm using server = xmlrpclib.ServerProxy('my_server', verbose=True) token = server.confluence1.login('username','password) page = s... 10 Jun 2010 07:46
gui related On Thu, Jun 10, 2010 at 2:38 AM, madhuri vio <madhuri.vio(a)gmail.com> wrote: in this program i tried..i am getting a name error... from Tkinter import* import Tkinter a = Tk() a.title ("TOOL") entry = Tkinter.Canvas(a)Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â #creating the canvas ... 10 Jun 2010 06:41
Problem with libxml2/libxlst Hi All, I could not find a dedicated libxml2/libxlst group so I thought I would see if anyone here could help. I have a system which captures the stdout from various sources and writes it into a generic xml file. This file then needs to be transformed to get the correct html format for rendering in a webserve... 10 Jun 2010 12:14
regarding the dimensions in gui On 10 June 2010 08:19, Shashwat Anand <anand.shashwat(a)gmail.com> wrote: And please stop using 'sir' for heaven's sake. Not least because list list isn't male only. -- Cheers, Simon B. ... 10 Jun 2010 15:40
grep command On 10 June 2010 07:38, madhuri vio <madhuri.vio(a)gmail.com> wrote: i was wondering bout the usage and syntax of grep command..can u tall me its syntax so that i can use it and proceed...pls That's really not on topic for this list. -- Cheers, Simon B. ... 10 Jun 2010 23:26
How do subprocess.Popen("ls | grep foo", shell=True) with shell=False? How do subprocess.Popen("ls | grep foo", shell=True) with shell=False? Does complex commands with "|" in them mandate shell=True? cs ... 10 Jun 2010 11:06
using reverse in list of tuples hi, I am trying to reverse the order of my list of tuples and its is returning a None to me. Is the reverse() function not allow on list containing tuples? Thanks, James ... 10 Jun 2010 12:14
How to read source code of python? Hi, there, I'm trying to read the source code of python. I read around, and am kind of lost, so where to start? Any comments are welcomed, thanks in advance. ... 11 Jun 2010 04:52 |