I have recently switched from programming heavily in MATLAB to programming in
Python. Hence I am having some issues running the Python code that I have
written. I am using IPython with Anaconda2 on Windows 7 and using numPy and
SciPy to integrate a system of ordinary differential equations. I ha
I have code that runs perfectly well in MATLAB (using ode15s or ode23s) but
falters with Scipy odeint. The MATLAB code is for a specific case of the
generalized Python code. Here I have tried to reproduce the specific case in
Python. The logic in the code is airtight and the algorithm is sound.
I am trying to run some Python code for the last few hours. How can I achieve
the effect of "dot divide" from Matlab, in the following code? I am having
trouble working with list comprehension and numpy arrays and getting the
following error:
Traceback (most recent call last):
File "T
;x",str(eval(x
10
but this becomes unwieldy if I have
>>> w="y*b"
and so on, because the replacements have to be done in exactly the
right order. Is there a better way?
Thanks,
Abhishek
--
http://mail.python.org/mailman/listinfo/python-list
't know the sequence in which to perform the first 3 evaluations. I
was wondering if there was a simple way to 'pattern-match' so that the
required substitutions like z->x+y->x+x*a->(a+b)+(a+b)*a could be done
automatically.
I apologise if this is still not quite clear.
Abhishek
--
http://mail.python.org/mailman/listinfo/python-list
variables
and keeps concatenating them with 'and' and 'or' until all unique
functions have been found. Sometimes it is good to use substitutions
(though not required) to make the patterns apparent. Anyway, the
listing is here,
http://www.ocf.berkeley.edu/~abhishek/twonot3.py
Hi everyone, I am trying to generate a PDF printable format file from
an html page. Is there a way to do this using python. If yes then
which library and functions are required and if no then reasons why it
cant be done.
Thank you All
--
http://mail.python.org/mailman/listinfo/python-list
On Dec 16, 10:21 pm, Zentrader <[EMAIL PROTECTED]> wrote:
> I'm sure it can be done but there is no reason to reinvent the wheel
> unless it's for a programming exercise. You can use pdftohtml and run
> it from a Python program if you want.http://pdftohtml.sourceforge.net/
Hi Zentrader, thanks fo
Hi everyone , i am not able to untar python 2.5 source code using "
tar -xvzf " . Is it a problem with my system settings or python 2.5
itself.
When i tried to do it it resulted in following errors --
tar: Skipping to next header
Python-2.5/Mac/Resources/app/Resources/English.lproj/Documentation/
On Dec 17, 8:42 pm, Grant Edwards <[EMAIL PROTECTED]> wrote:
> On 2007-12-16, abhishek <[EMAIL PROTECTED]> wrote:
>
> > Hi everyone, I am trying to generate a PDF printable format file from
> > an html page. Is there a way to do this using python. If yes then
>
On Dec 19, 12:16 pm, [EMAIL PROTECTED] wrote:
> Hello,
>
> It is not possible to give sharp hints without more relevant
> information like:
> - What is your platform?
> - Which version of python?
> - What is the version of: $tar--version (GNUtar, other proprietarytar,
> according to my personal ex
Hello group,
I have been able to successfully compile python 2.5.1 using MSVC 8
compiler .
Now i want to build an msi installer out of this. What's procedure
that I should follow for this ??
Thank You
--
http://mail.python.org/mailman/listinfo/python-list
On Dec 31, 1:20 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> Is there a string function to trim all non-ascii characters out of a
> string?
> Let say I have a string in python (which is utf8 encoded), is there a
> python function which I can convert that to a string which composed o
you
Abhishek
--
http://mail.python.org/mailman/listinfo/python-list
uot;.
The description says " An application attempted to load a c runtime
library without using manifest"
What should i do to resolve this problem.
Looking forward to your suggestions.
Thank You
Abhishek
--
http://mail.python.org/mailman/listinfo/python-list
Hello group i need to make a web service to work between python and
c# . Where python would server as backend (server) preferebly cherrypy
(turbogears) and client would be on a c# appln.
I have developed a webservice using TGWebServices package which runs
on top of turbogears.
but have no idea on
Hi group i have created a simple .pyd using which i m able call C
function from python code. There are around 6 such functions. 4 of
them work great. But when i try to run other two python's exe breaks
giving memory dump.
Any pros or cons on what led to such a situation.. Is it a problem in
my c c
Hi group any idea on HOW TO HANDLE POINTERS FROM NON-LOCAL HEAPS??
Thank you
--
http://mail.python.org/mailman/listinfo/python-list
Hi group i have created an installer for python 2.5 compiled
under .NET 2005.
Any one looking for help on doing this feel free to contact me at
[EMAIL PROTECTED] or [EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
while now is when i am
trying to access a few functions in c++ through python by
building .pyd extension, python.exe crashes saying an application
error has occured
any clues why this happened as everythiing was working well
in .net2003 and python2.4
thanks abhishek
--
http://mail.python.org
Hello group,
I am having problem parsing following data set from XML. Please
provide hints on how to rectify this problem.
I am using python2.4 version
this is te test data that i am using --
"""
1!!!11
2@@@22
3###33
4$$$44
5%%%5
hello group,
i want to represent and store a string u'\x00\x07\xa7' as
'\x00\x07\xa7'. any ideas on how to achieve this.
--
http://mail.python.org/mailman/listinfo/python-list
cryptographic method suits me best
for this purpose.
Help/Suggestions are urgently required
Thank you ,
Abhishek
--
http://mail.python.org/mailman/listinfo/python-list
hey guys...me nu 2 python yo...help me...by da way...jus joined
inthanks
--
http://mail.python.org/mailman/listinfo/python-list
Hello group,
i am running a web server on cherrypy 2.2.0 using python2.5 and
turbogears1.0. I have a client application in C#.NET which uploads
the
data on to web server over HTTP.
Very frequently i encounter error logs on my client application which
says -- "Unable to read data from trans
ading using python
To: tu...@python.org
Abhishek Pratap wrote:
>
> Hi Guys
>
>
> I want to utilize the power of cores on my server and read big files
> (> 50Gb) simultaneously by seeking to N locations.
Yes, you have many cores on the server. But how many hard drives is
each fil
(from IBM). I realize this can be
more suited to HDFS but wanted to know if people have implemented
something similar on a normal linux based NFS
-Abhi
On Mon, Mar 26, 2012 at 6:44 PM, Steve Howell wrote:
> On Mar 26, 3:56 pm, Abhishek Pratap wrote:
>> Hi Guys
>>
>> I am fwd
Hey Guys
I am wondering if I can execute/run python functions through
multiprocessing package on a grid/cluster rather than on the same local
machine. It will help me create 100's of jobs on which same function has to
be used and farm them out to our local cluster through DRMAA. I am not sure
if t
How to check equality of two nos. in python
--
http://mail.python.org/mailman/listinfo/python-list
Hello all,
I wrote a python program to find the 1000th prime no. The program isn't
working as it should be.
Please tell what the error is:
## this is to find the 1000th prime number
number = 3
while number < 1:
###initialize stuff
counter = 1
###initializing list to check primari
I need to monitor applications like apache, mysql etc there live
status, errors etc on my LAN is there any tool or lib for this any
help will be appreciated thanks in advance
--
http://mail.python.org/mailman/listinfo/python-list
remote: [20:44:36+] Collecting tensorflow==2.1.0
remote: [20:44:36+] Downloading
tensorflow-2.1.0-cp37-cp37m-manylinux2010_x86_64.whl (421.8 MB)
remote: ...
remote: ...
remote:
26668 26M 3896 S 0.3 0.8
46:45 1 python2
10351 root 15 0 26684 26M 3896 S 4.5 0.8
46:45 1 python2
10351 root 15 0 26688 26M 3896 S 2.1 0.8
46:45 1 python2
let me know how to approch this.
gc.collect - does not collect anything.
Thanks,
Abhishek
he last is growing slowly..
I am not maintaing any dict with such indices and
value.
Any clue?
Please let me know what else to check and how!
At the time i am ending this.. module size..
'__main__': 7926830,
Thanks,
Abhishek
Note: forwarded message attached.
___
I was able to resolve the issue.
since you said that there is nothing wrong with python as such... and its a
networking issue.
I deleted the network adapter of my vm and then re-created it.
now suddenly it began to work. funny!
--
https://mail.python.org/mailman/listinfo/python-list
what should i do after learning python to get more comfortable with python?
--
https://mail.python.org/mailman/listinfo/python-list
On Saturday, September 14, 2013 12:45:56 AM UTC+5:30, Ben Finney wrote:
> Abhishek Pawar writes:
>
>
>
> > what should i do after learning python to get more comfortable with
>
> > python?
>
>
>
> Welcome! Congratulations on finding Python.
> tha
On Saturday, September 14, 2013 12:45:56 AM UTC+5:30, Ben Finney wrote:
> Abhishek Pawar writes:
>
>
>
> > what should i do after learning python to get more comfortable with
>
> > python?
>
>
>
> Welcome! Congratulations on finding Python.
&g
Thank you Laura and Oscar.
Abhishek
--
https://mail.python.org/mailman/listinfo/python-list
Hi Guys
My experience with python is 2 days and I am looking for a slick way
to use multi-threading to process a file. Here is what I would like to
do which is somewhat similar to MapReduce in concept.
# test case
1. My input file is 10 GB.
2. I want to open 10 file handles each handling 1 GB of
11 at 6:19 AM, Roy Smith wrote:
> In article
> ,
> aspineux wrote:
>
>> On Sep 9, 12:49 am, Abhishek Pratap wrote:
>> > 1. My input file is 10 GB.
>> > 2. I want to open 10 file handles each handling 1 GB of the file
>> > 3. Each file handle is p
Hey Guys
I shud mention I am relative new to the language. Could you please let me
know based on your experience which module could help me with farm out jobs
to our existing clusters(we use SGE here) using python.
Ideally I would like to do the following.
1. Submit #N jobs to cluster
2. monitor
Hey Guys
Pushing this one again just in case it was missed last night.
Best,
-Abhi
On Mon, Oct 31, 2011 at 10:31 PM, Abhishek Pratap wrote:
> Hey Guys
>
> I shud mention I am relative new to the language. Could you please let me
> know based on your experience which module could
I am trying to compile Python 3.2 to a PPC platform running a lesser
known OS called OSE (by ENEA).
The problem is that there is no shell which can be used to run the
configure script which means that I need to manually port the
pyconfig.h and the makefile for the given platform.
Any suggestions
sir,
i am new to python. plz tell me how to cause delay in sending data through tcp connection. If can be implemented in python then plz let me know.
waiting for reply from anyone
thanx a lot..
its abhishek
Discover Yahoo!
Get on-the-go sports scores, stock quotes, news & more. C
with every iteration your previous values are overwritten ('md' is a
dictionary) so thats why your are observing this ouput..
check if the following patch solves your problem
for entity in temp:
md['module']= entity.addr.get('module')
md['id']=entity.addr.get('id')
how would MAXBUFFERSIZE be taken care in python;
--abhi
On 7/7/07, Steven D'Aprano <[EMAIL PROTECTED]> wrote:
On Fri, 06 Jul 2007 17:31:50 +, DeveloperX wrote:
> Python Attempt: Please note that since I can't type TABs online
> easily, I am using the @ character to represent TABs in the f
txt
Python Keywords: http://www.python.org/doc/2.5.2/ref/keywords.html
Regards,
Abhishek Mishra
--
http://mail.python.org/mailman/listinfo/python-list
On Oct 19, 12:11 pm, Tino Wildenhain <[EMAIL PROTECTED]> wrote:
> Abhishek Mishra wrote:
> > Hello Everyone,
>
> > I have the habit of using domain names (of either the application or
> > company) in reverse in package names.
>
> > for e.g. com.spam.app1
>
nt to import modules from both vendors -- how?
>
> Ciao,
> Marc 'BlackJack' Rintsch
Ah, you have opened my eyes.
I should have asked myself before why I did not face such a clash.
(because no-one uses this convention!)
I guess the way to go is not use the tld, but just
Hi..
I'm trying to make a Software USB based on AVR309 application note available
at www.atmel.com/dyn/resources/prod_documents/doc2556.pdf
So what basically i'm doing is programming a ATTINY-44 to do functions of a
USB-driver and when connected to USB port, should be automatically detected
by the
Hi..!!
I was thinking to perform bluetooth Communication with Python.
So can any1 guide me from where to start...i mean any particular module or
library for that, any documentations for that..etc etc...
--
http://mail.python.org/mailman/listinfo/python-list
Hi all ,
I have large set of data computation and I want to break it into small batches
and assign it to different threads .I am implementing it in python only. Kindly
help what all libraries should I refer to implement the multithreading in
python.
Thanks ,
Abhishek
CAUTION
When I write binary files in windows:
file = open(r'D:\Data.bin','wb')
file.write('Random text')
file.close()
and then open the file it just shows up as normal text. There is nothing
binary about it. Why is that?
Sorry if this is too much of a noobie question. I tried googling around but
couldn
Perhaps you forgot a return, thats fundamental to recursion right - funciton
returning itself to itself :)
Here's a bit modification needed -
def recur_trace(x,y):
print x,y
if not x:
return y
return recur_trace(x[1:], y + x[:1])
print ( recur_trace([],[1,2,3]) )
print
print ( recur_tr
thanks for the excercise just figured out this -
#!/usr/bin/env python
import sys
sys.setrecursionlimit(2000)
def flatten(l):
flattened = []
for i in l:
if type(i) == type([]):
flattened += flatten(i)
else:
flattened.append(i)
return flattened
if __name__=='__main__'
Could you also demonstrate with an example as to what kind of effect you're
expecting from whatever you've been desiring to do?
On Sun, May 9, 2010 at 1:49 PM, gopi krishna wrote:
> Hi
>can I change the variable in a function using the function
> suppose
> >>>def a():
> x=20
> can we change t
Hi,
I have a very basic question about GUI programming as i am beginner into Python.
You are providing many enviroment for GUI programming in python. But could you
guide me
which is better or frequently used
Abhishek Goswami
Chennai
Phone No -0996227099
Explore and discover exciting
language
Abhishek Goswami
Chennai
Phone No -0996227099
ICC World Twenty20 England '09 exclusively on YAHOO! CRICKET
http://cricket.yahoo.com--
http://mail.python.org/mailman/listinfo/python-list
Oops, missed out that... thanks
On Sun, Aug 30, 2009 at 2:25 PM, Jan Kaliszewski wrote:
> 30-08-2009 o 06:10:46 Abhishek Mishra wrote:
>
>> The single quote \' is the culprit.
>> When you say words = ["Hi", "Whats up", "Bye"] and try prin
legally inhibit redistribution by users under my own license.
Also if you know anyone who holds knowledge in this field then please do let me
know..
Your response will be really helpful.
Regards,
Abhishek Kumar
ᐧ
--
https://mail.python.org/mailman/listinfo/python-list
On Wednesday, 12 April 2017 02:23:53 UTC+5:30, Chris Angelico wrote:
> On Wed, Apr 12, 2017 at 6:35 AM, Abhishek Kumar
> wrote:
> > I tried finding the answer but even the lawyers in my town have no idea
> > about it and searching the web leaved me puzzled.
> > I am pla
On Wednesday, 12 April 2017 07:12:27 UTC+5:30, Steve D'Aprano wrote:
> On Wed, 12 Apr 2017 06:35 am, Abhishek Kumar wrote:
>
> > Hello,
> >
> > I tried finding the answer but even the lawyers in my town have no idea
>
> Where is your town?
>
>
>
o/python-list
>
>
Perhaps that directory is not listed in "sys.path" ??
--
With Regards
Abhishek Amberkar
--
http://mail.python.org/mailman/listinfo/python-list
64 matches
Mail list logo