din=p1.stdout,stdout=PIPE)
p1.stdin.write("hello")
p1.stdin.close()
output = p2.stdout.read()
print output
--
Thanks
Sudheer
--
http://mail.python.org/mailman/listinfo/python-list
Dear members,
I need to print few arrays in a tabular form for example below
array IL has 25 elements, is there an easy way to print this as 5x5 comma
separated table? in python
IL=[]
for i in np.arange(1,bno+1):
IL.append(i)
print(IL)
%
ing like a list
xx=nc,variables[:]
should get me all variable names with out other surrounding stuff??
with best regards.
Sudheer
In [4]: ncf.variables
Out[4]: OrderedDict([(u'LON', ), (u'LAT',
), (u'DEPTH1_1', ), (u'TAX', ), (u'DIF_FD1',
),
Thank you very much it works for me.
with best regards,
Sudheer
On Saturday, June 1, 2013 12:51:01 PM UTC+5:30, Andreas Perstinger wrote:
> On 01.06.2013 05:30, Sudheer Joseph wrote:
>
> > some hing like a list
>
> > xx=nc,variables[:]
>
> > should get me all
Dear Members,
Is there a way to get the time:origin attribute from a netcdf
file as string using the Python netcdf?
with best regards,
Sudheer
--
http://mail.python.org/mailman/listinfo/python-list
Thank you very much Jason
With best regards
Sudheer
On Thursday, June 6, 2013, Jason Swails wrote:
>
>
>
> On Wed, Jun 5, 2013 at 9:07 PM, Sudheer Joseph
>
> > wrote:
>
>> Dear Members,
>> Is there a way to get the time:origin attribute f
C,WDAY)
for i in np.arange(0,NREC):
f.write(U[i,:,:],V[i,:,:])
f.close()
But the issue is that f.write do not allow multiple values( it allows one by
one so throws an error with above code ) on same write statement like in the
fortran code. experts may please advice if there a solution for this?
with best regards,
Sudheer
--
https://mail.python.org/mailman/listinfo/python-list
Thank you,
But it wont allow to write it in unformatted way so
that the fortran code can read
with
open(11,file="input.bin")
read(11) IWI,JWI,XFIN,YFIN,DXIN,DYIN,NREC,WDAY
with best regards,
sudheer
On Thu, Nov 14, 2013 at 7:48 PM, Oscar Benjamin
wrote:
> O
Hi,
I have a masked array like in the attached link, I wanted to find
indices of the bounds where the mask is false ie in this case of depth file
where there is depth less than shore. Is there a pythonic way of finding the
boundary indices? please advice?
https://drive.google.com/file
e.
So what is the standard way to update the function for further tests after an
edit?
with best regards,
Sudheer
*******
Sudheer Joseph
Indian National Centre for Ocean Information Services
Ministry of Earth Sciences, Govt. of India
POST
some solution will be
evolved.
with best regards,
Sudheer
>
> From: dieter
>To: [email protected]
>Sent: Monday, 19 August 2013 11:48 AM
>Subject: Re: refresing the edited python function
>
>
>Sudheer Joseph writes:
>
>&
- Original Message -
> From: Dave Angel
> To: [email protected]
> Cc:
> Sent: Monday, 19 August 2013 4:45 PM
> Subject: Re: refresing the edited python function
>
> Sudheer Joseph wrote:
>
>> Thank you Dieter,
>> I never
Thank you,
But I wish if there was a foolproof reload
with best regards,
Sudheer
- Original Message -
> From: Jean-Michel Pichavant
> To: Sudheer Joseph
> Cc: [email protected]
> Sent: Tuesday, 20 August 2013 10:07 PM
> Subject: Re: refresing th
HI,
I have been trying to compute cross correlation between a time series
at a location f(1) and the timeseries of spatial data f(XYT) and saving the
resulting correlation coefficients and lags in a 3 dimensional array which is
of fairly big size. Though the code I made for this purpose
it's been a long time
>
> since I did correlations. But are you sure you're not just implementing
>
> an O(n**3) algorithm or something, and it's just extremely slow?
>
Correlation do not involve such computation normally, I am not sure if
internally python does
looking at the struct:
print cp -> (call_t*) 0xb0...
print cp.next -> (struct call *) 0xb0...
Is python not intelligent enough to diagnose the next pointer ??
Responses appreciated.
Thanks
Sudheer
--
http://mail.python.org/mailman/listinfo/python-list
s
looking at the struct:
print cp -> (call_t*) 0xb0...
print cp.next -> (struct call *) 0xb0...
Is python not intelligent enough to diagnose the next pointer ??
Responses appreciated.
Thanks
Sudheer
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
Thanks a lot for your responses. It cleared up a lot for me !!
Its a superglue developed and used in house and cannot be revealed ..
sorry for that !!
I am only extending to the existing glue. Have contacted the author
regarding the problem.
Sorry for confusion
-Sudheer
John Machin
Dennis Lee Bieber wrote:
> On Wed, 07 Jun 2006 17:35:58 -0400, Sudheer Gupta <[EMAIL PROTECTED]>
> declaimed the following in comp.lang.python:
>
>
>
>> print cp
>> print cp.next
>>
>>
There is a typo in this. Second statement was suppose to be
Hello
Please unsubscribe to send daily mails to me.
Warm Regards
Sudheer
--
http://mail.python.org/mailman/listinfo/python-list
64
encoded = base64.b64encode('[email protected]')
print base64.b64decode(encoded)
--
With warm regards,
Sudheer. S
Personal home page - http://sudheer.net | Tech Chorus -
http://techchorus.net
Web and IT services - http://binaryvibes.co.in
--
http://mail.python.org/mailman/listinfo/python-list
gaierror: [Errno 11001] getaddrinfo failed
That part of the error indicates, your computer is unable to resolve the
IP address for the hostname
ftp.indexftp.barcap.com
Make sure the hostname is valid.
--
With warm regards,
Sudheer. S
Personal home page - http://sudheer.net | Tech Chorus
or previous forum links.
Thanks
Venu
lxml is a good XML parser. It supports xpath and IIRC, xquery.
I wrote a blog post about it a while ago -
http://techchorus.net/web-scraping-lxml
--
With warm regards,
Sudheer. S
Personal home page - http://sudheer.net | Tech Chorus -
http
Hello,
Apologies for spamming the list.
I didn't realize the publisher sent the email to the list. I thought it
was a private email and replied to it instantly.
--
With warm regards,
Sudheer. S
Personal home page - http://sudheer.net | Tech Chorus -
http://techchorus.net
Web a
b services using Python
6. Building and consuming web services using PHP
Let me know if you're interested in the topics above.
--
Sudheer Satyanarayana
Binary Vibes Information Technologies Pvt. Ltd.
Postal Address: #506, 10th B Main Road, I Block, Jayanagar, Bangalore
e, parse
doc = parse('boolean_width.xml')
my_node_list = doc.getElementsByTagName("n")
my_n_node = my_node_list[0]
my_child = my_n_node.firstChild
my_text = my_child.data
--
With warm regards,
Sudheer. S
Personal home page - http://sudheer.net | Tech Chorus -
http://te
26 matches
Mail list logo