John,
Try the following code .. hope this helps and solves your problem . I have run
in the interactive mode
>>> s=''
>>> a=[s,'12']
>>> print a
['', '12']
regards
Srinivas
--
http://mail.python.org/mailman/listinfo/python-list
hi friends i am new to python programming.
i am using Python 2.5 and IDLE as editor.
i have developed some functions in python those will be calling
frequently in my main method .
now i want to know how to import my functions folder to python in
sucha way that the functions in functions folder shou
Hi Tim,
Use this method it will sort tour problem.
def do_query(insert_query):
import warnings
with warnings.catch_warnings():
warnings.simplefilter('error', MySQLdb.Warning)
try:
cursor.execute(insert_query)
conn.commit()
return 'Success'
except MySQLdb.Error, e
Hi,
You are getting same object because you are overriding the dictionary
update.
Its printing the proper value with the last updated instance of B.
If you want to see the two different instances of class B give print
self.sub inside the sub_add method in class A.
CHEERS
CNA
9986229891
On Mon,
Hi ,
There is a opening for the position of python lead in a company called TEK
systems global services for bangalore location.Interested candidates can
send in their profiles to snara...@teksystems.com.
CHEERS
CNA
9986229891
--
http://mail.python.org/mailman/listinfo/python-list
the extra overhead for threads come from ?
--
Regards
Srinivas Devaki
Junior (3rd yr) student at Indian School of Mines,(IIT Dhanbad)
Computer Science and Engineering Department
ph: +91 9491 383 249
telegram_id: @eightnoteight
--
https://mail.python.org/mailman/listinfo/python-list
is a little bit slower when
compared to defaultdict for this kind of purpose.
Regards
Srinivas Devaki
Senior (final yr) student at Indian Institute of Technology (ISM), Dhanbad
Computer Science and Engineering Department
ph: +91 9491 383 249
telegram_id: @eightnoteight
--
https://mail.python.org/mailman/listinfo/python-list
timeit list(myngrams(range(1000), n=100))
1000 loops, best of 3: 1.46 ms per loop
In [12]:
---
Regards
Srinivas Devaki
Senior (4th year) student at Indian Institute of Technology (ISM), Dhanbad
Computer Science and Engineering Departme
On Thu, Nov 10, 2016 at 12:43 PM, srinivas devaki
wrote:
> complexity wise it's O(N), but space complexity is O(N**2) to execute
> this function,
I'm sorry, that is a mistake.
I just skimmed through the itertoolsmodule.c, and it seems like the
space complexity is just O(N), as
no extra advantage over that as
with n=1 tee just returns a wrapper around the iterable.
Regards
Srinivas Devaki
Senior (4th year) student at Indian Institute of Technology (ISM), Dhanbad
Computer Science and Engineering Department
phone: +91 9491 383 249
telegram: @eightnoteight
--
https://mai
ahh, this is the beginning of a conspiracy to waste my time.
PS: just for laughs. not to offend any one.
Regards
Srinivas Devaki
Junior (3rd yr) student at Indian School of Mines,(IIT Dhanbad)
Computer Science and Engineering Department
ph: +91 9491 383 249
telegram_id: @eightnoteight
On Mar 30
://stackoverflow.com/questions/3407505/writing-binary-data-to-middle-of-a-sparse-file
but it only supports if you are constructing the data in file from scratch
and aria2c can resume the download too i.e not from scratch.
--
Regards
Srinivas Devaki
Junior (3rd yr) student at Indian School of Mines,(IIT
I'm so sorry, forgot to lock my phone.
On May 9, 2016 9:01 AM, "srinivas devaki"
wrote:
> f be gfdnbh be b GB GB BH GB vbjfhjb GB bffbbubbv GB hbu hbu
> fjbjfbbbufhbvh VB have fqbgvfb NB bb GB GB GB GB bbu GB vu GB vu GB GB
> b GB fbufjnb BH GB GB bvvfbubfff
f be gfdnbh be b GB GB BH GB vbjfhjb GB bffbbubbv GB hbu hbu
fjbjfbbbufhbvh VB have fqbgvfb NB bb GB GB GB GB bbu GB vu GB vu GB GB
b GB fbufjnb BH GB GB bvvfbubbjubuv GB b fbufbbby GB bfff GB f GB
bbbu GB GB ffinj GB vh vh fjb GB fj GB h h GB gjfthey're the b GB gjf GBG
GBG q GB fb
On May 9, 2016 5:31 AM, "Tim Chase" wrote:
>
> then that's a bad code-smell (you get quadratic behavior as the
> strings are constantly resized), usually better replaced with
>
I just want to point out that in Python s += str in loop is not giving
quadratic behavior. I don't know why but it runs
Hello,
I am trying to fetch email messages from a gmail inbox. So, there will be 1000s
of messages sent to Inbox and since they are 1000s, the emails are grouped 100
per each email item.
When I tried this method, the program only fetches some but not all and
especially it happens with grouped
On Dec 9, 2015 4:45 PM, "Steven D'Aprano" wrote:
>
> Maildir is also *much* safer too. With mbox, a single error when writing
> email to the mailbox will likely corrupt *all* emails from that point on,
> so potentially every email in the mailbox. With maildir, a single error
> when writing will, a
On Dec 9, 2015 3:07 PM, "Anmol Dalmia" wrote:
>
>
> I wish to use the native LZMA library of Python 3.4 for faster performance
> than any other third- party packages. Is it possible to do so?
>
you can check the source of lzma module main compression and decompression
algorithms were written in c
Hi
I'm coming from this link (
https://groups.google.com/forum/#!topic/python-ideas/cBFvxq1LQHM), which
proposes to use long_to_decimal_string(), int_to_decimal_string() functions
for printing integers in different bases.
Now is there anyway i can use such internal functions from pure python
code,
Thank you Chris,
later I decided that this would be cheating and I have to think about
another algorithmic approach.
most of the competitive programming platforms provide python with a time
limit of 5 times of c/c++ time limit. but in many cases like if the
algorithms are recursive(like segment
let's put an end to this.
from math import log
# simple one to understand. complexity: O(n*log(n))
def countzeros_va(n):
count = 0
for x in xrange(1, n + 1):
while x % 5 == 0:
count += 1
x //= 5
return count
# better approach. complexity: O(log(n))
def
You can create a single heap with primary key as timestamp and
secondary key as priority, i.e by creating a tuple
insert the elements into the heap as
(timestamp, priority)
If there is any underlying meaning for creating 2 heaps. please mention.
On Fri, Jan 8, 2016 at 4:22 AM, Sven R. Kunze wr
suggestion.
>
> On 08.01.2016 14:21, srinivas devaki wrote:
>>
>> You can create a single heap with primary key as timestamp and
>> secondary key as priority, i.e by creating a tuple
>> insert the elements into the heap as
>> (timestamp, priority)
>
> I think I can
On Jan 11, 2016 12:18 AM, "Sven R. Kunze" wrote:
> Indeed. I already do the sweep method as you suggested. ;)
>
> Additionally, you provided me with a reasonable condition when to do the
sweep in order to achieve O(log n). Thanks much for that. I currently used
a time-bases approached (sweep each
On Jan 10, 2016 12:05 AM, "Paul Rubin" wrote:
>
> You could look up "timing wheels" for a simpler practical approach that
> the Linux kernel scheduler used to use (I think it changed a few years
> ago).
this is not related to OP's topic
I googled about "timing wheels" and "Linux kernel scheduler
On Wed, Jan 13, 2016 at 4:50 PM, Cem Karan wrote:
>
> Is that so? I'll be honest, I never tested its asymptotic performance, I
> just assumed that he had a dict coupled with a heap somehow, but I never
> looked into the code.
>
I have just tested the code, the aymptotic performance is O(log(n)
> not intend to rewrite the incredibly fast and well-tested heapq
> implementation. I just re-used it.
>
> I would really be grateful for your feedback as you have first-hand
> experience with heaps.
>
> @srinivas
> You might want to have a look at the removal implementation
On Feb 1, 2016 10:54 PM, "Sven R. Kunze" wrote:
>
> Maybe I didn't express myself well. Would you prefer the sweeping
approach in terms of efficiency over how I implemented xheap currently?
>
complexity wise your approach is the best one of all that I have seen till
now
> Without running some be
is so, is it just to make the code look simple???
Regards
Srinivas Devaki
Junior (3rd yr) student at Indian School of Mines,(IIT Dhanbad)
Computer Science and Engineering Department
ph: +91 9491 383 249
telegram_id: @eightnoteight
--
https://mail.python.org/mailman/listinfo/python-list
On Feb 5, 2016 5:45 AM, "Steven D'Aprano" wrote:
>
> On Fri, 5 Feb 2016 07:50 am, srinivas devaki wrote:
>
> > _siftdown function breaks out of the loop when the current pos has a
valid
> > parent.
> >
> > but _siftup function is not implemented in
On Fri, Feb 5, 2016 at 8:12 PM, Sven R. Kunze wrote:
> On 05.02.2016 02:26, srinivas devaki wrote:
> What do you think about our use-case?
>
Oh, the logic is sound, every element that we have inserted has to be popped,
We are spending some *extra* time in rearranging the elements only t
same.
I'm attaching the files.
do you have any idea why this happened?
On Fri, Feb 5, 2016 at 9:57 PM, Sven R. Kunze wrote:
>
> Can we do better here?
>
I don't know, I have to read TAOP knuth article.
--
Regards
Srinivas Devaki
Junior (3rd yr) student at Indian School of Mine
st level,
the optimization is occurring in that place.
Which makes the reason behind the heapq module's choice of _siftup
code is not at all related to this cause.
PS:
please copy the table to some text editor, for better visualization.
On Fri, Feb 5, 2016 at 11:12 PM, srinivas devaki
wrote:
> wow
ily subclass with just
using self._counts dict in your subclass. but still I think it is good to
introduce it as a feature in the library.
Regards
Srinivas Devaki
Junior (3rd yr) student at Indian School of Mines,(IIT Dhanbad)
Computer Science and Engineering Department
ph: +91 9491 383 249
teleg
On Feb 8, 2016 5:17 PM, "Cem Karan" wrote:
>
> On Feb 7, 2016, at 10:15 PM, srinivas devaki
wrote:
> > On Feb 8, 2016 7:07 AM, "Cem Karan" wrote:
> > > I know that there are methods of handling this from the client-side
(tuples with unique counters come
er you've removed the element.
>
If you can do it with C pointers then you can do it with python's
references/mutable objects. :)
in case of immutable objects, use a light mutable wrapper or better use
list for performance.
Regards
Srinivas Devaki
Junior (3rd yr) student at Indian Scho
)-(\d{2})-(\d{2})-(\d{2})-(\d{2})-(\d{4})',
'myfile-2015-02-09-19-08-45-4223')
In [37]: mat
Out[37]: <_sre.SRE_Match object; span=(0, 31),
match='myfile-2015-02-09-19-08-45-4223'> In [38]: mat.groups()
Out[38]: ('myfile', '2015', '02',
On Feb 10, 2016 7:23 AM, "srinivas devaki"
wrote:
>
>
> On Feb 10, 2016 6:56 AM, "Anthony Papillion"
wrote:
> >
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA512
> >
> > Hello Everyone,
> >
> > I am using datetime.now
ldren, each node can be of two types a file and folder.
if you come to think about it this is most intuitive way to represent the
file structure in your program.
you can extract the directory name from the file object by traversing it's
parents.
I hope this helps.
Regards
Srinivas Devaki
Ju
__getitem__ 6
__setitem__ 6 6
But the output that i expected is
__setitem__ 4 6
__getitem__ 4
__getitem__ 6
__setitem__ 4 6
SO isn't it counter intuitive from all other python operations.
like how we teach on how python performs a swap operation???
I just want to get a better idea around this
es
or names and then put the value of rhs in them.
as `a` is a name, so the rhs reference is copied to the a
`roots[a]` is a reference to an object, so it is initialized with the
reference of rhs.
anyway I got it, and all my further doubts are cleared from that
compiled code. I tried some oth
gt; 'this is terrible'
> print \
> 'but still not incorrect
>
> Still terrible. But not quite as useless as a knee-jerk reaction
> might suggest.
>
> I actually hacked together a binary-diff something like this,
> emitting every hex-formatted b
ap', u' 0.03 ( 3.73x) 0.42 ( 2.55x) 4.34 ( 2.35x)
38.37 ( 2.62x)')
(u'remove', u'RemovalHeap', u' 0.05 ( 1.00
ou can just use the else case which will work for all cases but if your
npArray2 has such a pattern then the above code will perform better.
Regards
Srinivas Devaki
Junior (3rd yr) student at Indian School of Mines,(IIT Dhanbad)
Computer Science and Engineering Department
ph: +91 9491 383 249
telegram
y/) {
> $tn = $1;
> }
> elsif (/release_req/) {
> print "$tn\n";
> }
> }
>
> Look at those numbers:
> 1 minute for python without precompiled REs
> 1/2 minute with precompiled REs
> 5 seconds with perl.
> --
> https://mail.python.org/mailman/listinfo/python-list
--
Regards
Srinivas Devaki
Junior (3rd yr) student at Indian School of Mines,(IIT Dhanbad)
Computer Science and Engineering Department
ph: +91 9491 383 249
telegram_id: @eightnoteight
--
https://mail.python.org/mailman/listinfo/python-list
0]
r
Regards,
Jostna Srinivas | Staples Enterprise Reporting | m. +91.984.017.8090 |
jostna.srini...@staples.com<mailto:jostna.srini...@staples.com>
--
https://mail.python.org/mailman/listinfo/python-list
On Mon, Nov 2, 2015 at 1:22 PM, Steven D'Aprano
wrote:
>
> So how come Python 3 has line buffered stderr? And more importantly, how can
> I turn buffering off?
>
> I don't want to use the -u unbuffered command line switch, because that
> effects stdout as well. I'm happy for stdout to remain buffe
On Fri, Nov 20, 2015 at 6:39 PM, Chris Angelico wrote:
> My crystal ball suggests that defaultdict(list) might be useful here.
>
> ChrisA
I used something similar to this for some problem in hackerrank,
anyway i think this is what you want.
class defaultlist(object):
def __init__(self, facto
On Fri, Nov 20, 2015 at 11:58 PM, srinivas devaki
wrote:
> def __str__(self):
> if len(self.list) == 0:
> return '(' + str(self.data) + ')[...]'
> return ''.join(['(', str(self.data), ')[
Hi,
I have written a script which will spawn more than 200 no of subprocesses. I
have used subprocess.Popen to do that.
OSError: [Error 24] Too many open files.
Could someone help me in fixing this error?
Thanks,
Srini
Add more friends to your messenger and enjoy! Go to
http://messen
Hi,
Does subprocess.Popen() count a new open file for each suprocess? I mean does
it occupy an entry in file descriptor table of parent process?
If so, wat is each file descriptor connected to?
Thanks,
Srini
Add more friends to your messenger and enjoy! Go to
http://messenger.yahoo.com/i
am getting 'Too many open files' error.
Thanks,
Srini
- Original Message
From: Mark Wooding
To: python-list@python.org
Sent: Tuesday, 20 January, 2009 6:16:17 PM
Subject: Re: Doubts related to subprocess.Popen()
srinivasan srinivas writes:
> Does subprocess.Popen() count a
Hi,
Could someone tell me the way to add body content to
'email.mime.multipart.MIMEMultipart' instance?
Thanks,
Srini
Add more friends to your messenger and enjoy! Go to
http://messenger.yahoo.com/invite/
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
Could someone tell me the way to add body to the instance
email.mime.multipart.MIMEMultipart instance which has attachments?
Thanks,
Srini
Bollywood news, movie reviews, film trailers and more! Go to
http://in.movies.yahoo.com/
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
Does anyone know any python module other than 'ConsoleFormat0.1.1' used to
format text on console?
For example, printing bold characters on console.
Thanks,
Srini
Did you know? You can CHAT without downloading messenger. Go to
http://in.webmessenger.yahoo.com/
--
http://mail.python.
PM, srinivasan srinivas
wrote:
Hi,
Does anyone know any python module other than 'ConsoleFormat0.1.1' used to
format text on console?
For example, printing bold characters on console.
Thanks,
Srini
Did you know? You can CHAT without downloading messenger. Go to
http://in.webmes
HI,
I would like to send an email message with body-content 'test' and an
attachment.
The snippet i used is:
outer = email.mime.multipart.MIMEMultipart()
msg1 = email.mime.text.MIMEText(, _subtype = 'text')
msg1.add_header('Content-Disposition', 'attachment')
outer.attach(msg1)
body = email.mime.
Hi,
I have a class which is a subclass of builtin-type list.
#--
class clist(list):
def __new__(cls, values, ctor):
val = []
for item in values:
item = ctor(item)
val.append(item
):
---> 92 return cls.__new__(cls, *args)
93
94 def _slotnames(cls):
: __new__() takes exactly 3 arguments (1 given)
- Original Message
From: Chris Rebert
To: srinivasan srinivas
Cc: python-list@python.org
Sent: Thursday, 8 January, 2009 1:56:27 PM
Subject: Re: How to dee
Hi,
I m planning to do certification in Python??
Is therr any good certification available in Python like Sun certification for
java??
Thanks,
Sirni
Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download
Now! http://messenger.yahoo.com/download.php
--
http://mail.python.or
Hi,
I am getting an error while executing the following snippet. If i comment out
method __repr__ , it works fine.
class fs(frozenset):
def __new__(cls, *data):
data = sorted(data)
self = frozenset.__new__(cls, data)
self.__data = data
return self
def __re
Thanks,
Srini
Add more friends to your messenger and enjoy! Go to
http://messenger.yahoo.com/invite/
--
http://mail.python.org/mailman/listinfo/python-list
hon-list@python.org
Sent: Wednesday, 19 November, 2008 7:14:17 PM
Subject: Re: Getting fractional part from a float without using string
operations
On Wed, Nov 19, 2008 at 8:35 AM, srinivasan srinivas <[EMAIL PROTECTED]> wrote:
Thanks,
Srini
Add more friends to your messenger and en
Yes it works for most of the cases. But it doesn't for the following case:
>>> str(abs(int(1234567.89)-1234567.89))
'0.88999898'
Thanks,
Srini
- Original Message
From: Tino Wildenhain <[EMAIL PROTECTED]>
To: srinivasan srinivas <[EMAIL PROTE
Hi,
I would like to know more about the advantages of 64-bit python.
What appliactions can use 64-bit python and all?
Can someone help me out in this?
Thanks,
Srini
Bring your gang together. Do your thing. Find your favourite Yahoo! group
at http://in.promos.yahoo.com/groups/
--
http://m
Hi,
Could someone help me in understanding what 64-bit python means?
tahnks,
Srini
Add more friends to your messenger and enjoy! Go to
http://messenger.yahoo.com/invite/
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
Is thera any way for a program to choose between 32-bit or 64-bit dynamically?
Thanks,
Srini
Add more friends to your messenger and enjoy! Go to
http://messenger.yahoo.com/invite/
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
Does Sybase Python driver module implement multiple result sets from a single
command?
Could anyone guide e in finding answer for this?
Thanks,
Srini
Add more friends to your messenger and enjoy! Go to
http://messenger.yahoo.com/invite/
--
http://mail.python.org/mailman/listinfo/pyt
- Forwarded Message
From: srinivasan srinivas
To: s...@pobox.com
Sent: Tuesday, 24 March, 2009 7:42:35 PM
Subject: Re: Query regarding Python sybase module
NO. I tried with what u have mentioned in the previous update.
But it gave only one result set.
Thanks,
Srini
For ex: to check list 'A' is empty or not..
if A == []:
if A.count == 0:
if len(A) == 0:
if not A:
Thanks,
Srini
Add more friends to your messenger and enjoy! Go to
http://messenger.yahoo.com/invite/
--
http://mail.python.org/mailman/listinfo/python-list
For ex: to check list 'A' is empty or not..
if A == []:
if A.count == 0:
if len(A) == 0:
if not A:
Connect with friends all over the world. Get Yahoo! India Messenger at
http://in.messenger.yahoo.com/?wm=n/
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I would like to know about the unittest.TestSuite clearly like at what
situations i can use this TestSuite? I am not getting the clear difference
between this and unittest.TestCase.
Thanks,
Srini
Cricket on your mind? Visit the ultimate cricket website. Enter
http://beta.cricket.ya
Hi,
Could you suggest me some modules in Python which can be used to develop GUI
based applications? and tell me which could be the best(in terms of
efficiency) one for a small GUI based application development?
Thanks,
Srini
Bollywood news, movie reviews, film trailers and more! Go to
: What is the best framework or module in Python for a small GUI
based application development?
On Apr 22, 8:11 am, srinivasan srinivas
wrote:
> Hi,
> Could you suggest me some modules in Python which can be used to develop GUI
> based applications? and tell me which could be the best(in
I would like to draw a chart which takes 'dates' in x axes and some values in y
axes.
I would like to draw a simple chart using matplotlib. Can someone tell me which
submodule i could use for this purpose? The module has to support in the way
that i can draw more than one set can be passed to
Could you tell me does Python have any advantages over Java for the development
of GUI applications?
Thanks,
Srini
Now surf faster and smarter ! Check out the new Firefox 3 - Yahoo!
Edition http://downloads.yahoo.com/in/firefox/?fr=om_email_firefox
--
http://mail.python.org/mailman/list
Could you list down those advantages??
- Original Message
From: Bruno Desthuilliers
To: python-list@python.org
Sent: Tuesday, 5 May, 2009 1:07:41 PM
Subject: Re: Which one is best Python or Java for developing GUI applications?
Paul Rubin a écrit :
> srinivasan srinivas wri
Hi,
I am going to do some socket related programming in Python. Before that, I wish
to know the Gotchas of Python Scoket Programming.
Can anyone send me any link that satisfies my needs??
Thanks,
Srini
Explore your hobbies and interests. Go to
http://in.promos.yahoo.com/groups/
--
http://
Hi,
Is there any way(method) to find whether the socket got closed or not??
Thanks,
Srini
Best Jokes, Best Friends, Best Food and more. Go to
http://in.promos.yahoo.com/groups/bestofyahoo/
--
http://mail.python.org/mailman/listinfo/python-list
HI,
I want to know the different kind of exceptions may occur in client-server
socket communication and the way to handle those scenarios.
1. What does the server do when a socket error occurs at any point: accepting a
connection, sending data to a client, receiving data from a client, waiting f
Hi,
My requirement is i have to execute a python script on a remote machine as a
subprocess from a python script and to get the subprocess pid of the process
running the script. Is there anyway to do that??
I have used subprocess.popen() method to do that. I have done as following:
executable = '
This is ok.
Is there any other way to find it out?
Thanks,
Srini
- Original Message
From: Gerhard Häring <[EMAIL PROTECTED]>
To: python-list@python.org
Sent: Friday, 20 June, 2008 10:03:30 PM
Subject: Re: Execute a script on a remote machine
srinivasan srinivas wrote:
>
Hi,
I have written a class which has some attributes. I want to know how do i find
out the size of an instance of this class??
class T(object):
def __init__(self, fn_name, *args, **kwds):
self.fn_name = fn_name
self.args = args
self.kwds = kwds
Thanks,
Srini
Bol
Hi,
I would like to know how to pickle a bound method??
Thanks,
Srini
Meet people who discuss and share your passions. Go to
http://in.promos.yahoo.com/groups/bestofyahoo/
--
http://mail.python.org/mailman/listinfo/python-list
Thanks,
Srini
Best Jokes, Best Friends, Best Food and more. Go to
http://in.promos.yahoo.com/groups/bestofyahoo/
--
http://mail.python.org/mailman/listinfo/python-list
08 12:53:19 PM
Subject: Re: How to pickle bound methods
srinivasan srinivas wrote:
> I would like to know how to pickle a bound method??
$ cat pickle_method.py
import copy_reg
import new
def make_instancemethod(inst, methodname):
return getattr(inst, methodname)
def pickle_instanc
day, 2 July, 2008 5:15:41 PM
Subject: Re: How to pickle bound methods
srinivasan srinivas wrote:
(Please don't top-post)
> It works will for instance and class methods. But it doesn't work for
> static methods. Can you tel me how to pickle static methods as well??
For static meth
Peter,
Could you please explain the code breifly?? I am not getting what it does.
Thanks,
Srini
- Original Message
From: Peter Otten <[EMAIL PROTECTED]>
To: python-list@python.org
Sent: Wednesday, 2 July, 2008 12:53:19 PM
Subject: Re: How to pickle bound methods
srinivasan sr
From: Peter Otten <[EMAIL PROTECTED]>
To: python-list@python.org
Sent: Thursday, 3 July, 2008 12:13:45 PM
Subject: Re: How to pickle bound methods
srinivasan srinivas wrote:
Please don't top-post.
> Could you please explain the code breifly?? I am not getting what it does.
>
Thanks,
Srini
Bollywood, fun, friendship, sports and more. You name it, we have it on
http://in.promos.yahoo.com/groups/bestofyahoo/
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
Could someone suggest me better python modules for developing web programming
related projects like web-pages download and uopload??
Thanks,
Srini
Explore your hobbies and interests. Go to
http://in.promos.yahoo.com/groups/
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
could someone tel me any python modules which can be used to convert PDF files
to HTML files??
Thanks,
Srini
Unlimited freedom, unlimited storage. Get it now, on
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/
--
http://mail.python.org/mailman/listinfo/python-list
Could someone suggest me ways to convert PDF files to HTML files??
Does Python have any modules to do that job??
Thanks,
Srini
Unlimited freedom, unlimited storage. Get it now, on
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/
--
http://mail.python.org/mailman/listin
Hi,
Could you please suggest me a way to find pid of a process started on a remote
machine by the current process?? I should get pid in the current process
environment. The approach should be somewhat generic. It shouldn't expect the
remote process to print its pid.
Thanks,
Srini
Unlimit
ivasan srinivas schrieb:
> Hi,
> Could you please suggest me a way to find pid of a process started on a
> remote machine by the current process?? I should get pid in the current
> process environment. The approach should be somewhat generic. It shouldn't
> expect the remot
a remote process
srinivasan srinivas schrieb:
> HI,
> I am using Solaris and subprocess.Popen to spawn a process on a remote
> machine.
No, you are *not* doing that. You are maybe using subproces to run SSH
to spawn a remote process. Why don't you *show* us how you actually do that?
DIEZ
--
etting pid of a remote process
srinivasan srinivas wrote:
> This is wat i am doing :
>
> args = [ "SSH", , ]
> I am giving this to subprocess.Popen()
> Thanks,
> Srini
Then the answer is simple: how would you figure out the remote process pid
using ssh? Once you found
HI,
Like we run perl small code snippet using perl -e, do we have anything like
that in python??
Thanks,
Srini
Unlimited freedom, unlimited storage. Get it now, on
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
Do we have python one-liner like perl one-liner 'perl -e'??
Thanks,
Srini
Unlimited freedom, unlimited storage. Get it now, on
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/
--
http://mail.python.org/mailman/listinfo/python-list
Can someone tell me is there any module available to create directories??
I tried os, tempfile.
I was facing some issues with os.mkdir(). The mode setting was not proper with
this method.
I created the directory 'stdin' with '0700' mode using os.mkdir() method.
$> ls -alR stdin/
stdin/:
total 12
1 - 100 of 114 matches
Mail list logo