commands.
1/ posix - (Linux in your case) will use ifconfig
2/ nt - (windows in your ase) will use ipconfig.
HTH.
--
Regards
Ishwor Gurung
Key id:0xa98db35e
Key fingerprint:FBEF 0D69 6DE1 C72B A5A8 35FE 5A9B F3BB 4E5E 17B5
--
http://mail.python.org/mailman/listinfo/python-list
Hello all,
I am just starting out on learning Python and joined this list. I
have grabbed the Learning Perl book by Mark & David. This book really
seems good so far.. the concepts are explained pretty nicely. :) I
have a background a bit in Java but Python seems so cooler. The
concept of Dynamica
hi kosina although i am new to this list as well, please CC to the
python list as well. That way not only 'we' but everyone benefits. :)
On Fri, 03 Dec 2004 11:30:06 +0100, gen2n <[EMAIL PROTECTED]> wrote:
> Thanks a lot. Could you help me once more with beginners question?
> In IDLE, when saving
lease).
$ mkdir $HOME/my2.4build/
$ ./configure --prefix=$HOME/my2.4build && make && make install;
To run-
$ cd $HOME/my2.4build/bin
$ ./python
I am assuming you've got the C/C++ libraries installed.
--
Regards,
Ishwor Gurung
--
http://mail.python.org/mailman/listinfo/python-list
ubject: Re: Multiple python installations on opensuse?
To: Ishwor Gurung
Thanks guys,
I installed it as root without the --prefix option using "make
altinstall" instead of "make install".
It worked and I can now execute python2.4.6 with "python2.4 while
python2.6 is still executed
/lib, how can I do this?
As root, tell linker to look for libraries in /usr/lib64:
$ echo /usr/lib64 >> /etc/ld.so.conf
$ ldconfig
$ ./configure
Please send email to the mailing list. I am subscribed to it :>
[...]
--
Regards,
Ishwor Gurung
--
http://mail.python.org/mailman/listinfo/python-list
apter(logging.getLogger('foo'), ExtraLog())
> --
Yep. Just subclass LoggerAdapter and override process(..)
Read this:
http://docs.python.org/library/logging.html#adding-contextual-information-to-your-logging-output
--
Regards
Ishwor Gurung
Key id:0xa98db35e
Key fingerprint:FBEF
multiprocessing module[1]
(my platform does not have sem_open() syscall). Others suggestions are
as good as it can be but yeah you could get a lot of work done using
multiprocessing module(all the relevant bits are explained in the
module doc).
[1] http://docs.python.org/library/multiprocessing.h
>> How can I use Python to schedule these commands?
> If I were as lucky as you, I would have used multiprocessing module[1]
> (my platform does not have sem_open() syscall). Others suggestions are
s/have/implement/g
--
Regards,
Ishwor Gurung
--
http://mail.python.org/mailman/lis
cessing module(all the relevant bits are explained in the
> module doc).
My bad, I assumed Win32. Make sure _your_ platform also supports
sem_open syscall before you used the core feature of multiprocessing
module. >.<
--
Regards,
Ishwor Gurung
--
http://mail.python.org/mailman/listinfo/python-list
coding-in-Python/0,264084,339280649,00.htm
[...]
--
Regards,
Ishwor Gurung
--
http://mail.python.org/mailman/listinfo/python-list
y chance of getting your NDK team to look into
getting some small subset of STL, Boost into Android? :-P That'd be
awesome thing you know.
--
Regards,
Ishwor Gurung
--
http://mail.python.org/mailman/listinfo/python-list
2009/10/16 Ishwor Gurung :
> 2009/10/16 Paul Rubin <http://phr...@nospam.invalid>:
> [...]
>> You might also like:
>>
>> from itertools import groupby
>> c = '001110'
>> print list(list(xs) for k,xs in groupby(c))
> Too bad groupb
I think I am getting old :-( Should have Googled already.
> My what who where? You are confusing me with someone else.
Andy Rubin- http://en.wikipedia.org/wiki/Andy_Rubin
Sorry to bother you.
--
Regards,
Ishwor Gurung
--
http://mail.python.org/mailman/listinfo/python-list
l that will 'knock' the file out of
> file cache? Can madvise or fadvise do this?
Does this help http://www.westnet.com/~gsmith/content/linux-pdflush.htm ?
(Getting hold of procfs and doing it in Python?)
Also, are you looking for sync(2) http://linux.die.net/man/2/sync?
[...]
of dirty
pages and their frequency of writebacks.
So if you want the shortest path, you can choose to go the /proc path.
[...]
--
Regards,
Ishwor Gurung
--
http://mail.python.org/mailman/listinfo/python-list
for j in range(3):
q.put(i*30+j);
while not q.empty():
p = Process(target=_process_worker, args=(q,));
p.start();
p.join();
if __name__ == "__main__":
_make_some_processes();
'''
Removed 0 from the queue
Remo
replace(']', ' ')
>>
>> which dumps them like
>>
>> a1,a2,a3,a4,a5
>> b1.b2.b3.b4.b5
>> c1,c2,c3,c4,c5
>
>>>> xVec=[a1,a2,a3,a4,a5]
>>>> yVec=[b1,b2,b3,b4,b5]
>>>> zVec=[c1,c2,c3,c4,c5]
>>>> import sys, csv
>>>> from itertools import izip
>>>> csv.writer(sys.stdout).writerows(izip(xVec, yVec, zVec))
> a1,b1,c1
> a2,b2,c2
> a3,b3,c3
> a4,b4,c4
> a5,b5,c5
Or, http://docs.scipy.org/doc/numpy/reference/generated/numpy.transpose.html :-)
--
Regards,
Ishwor Gurung
--
http://mail.python.org/mailman/listinfo/python-list
), I can still have it in Python via the Rpy/Rpy2 bridge.
On the other hand with pytseries Python library, I'd be limited to
only run time-series analysis wouldn't I? In the end though, it all
depends on your project requirements, resources and so forth..
--
Regards,
Ishwor Gurung
--
http://mail.python.org/mailman/listinfo/python-list
t showed the same
> error. What should i do to install wxwidgets? Plz. reply as soon as
> possible.. Coz. i've to finish my proj. quickly.. Thanks and regards...
See above.
--
Regards,
Ishwor Gurung
--
http://mail.python.org/mailman/listinfo/python-list
core implementation.
Perhaps I see a light, perhaps I see nothing.. but I feel the day is
coming nearer when Python would run as fast as Java/C. Only time can
tell - I hope the time is right about this.
--
Regards
Ishwor Gurung
Key id:0xa98db35e
Key fingerprint:FBEF 0D69 6DE1 C72B A
#x27;i',
'matlab_files', 'os', 'root', 'x', 'y', 'z']
>>> x
'b.m'
>>> y
[1, 2, 3]
>>> z
[3, 2, 1]
$ cat foo.m
y=[1,2,3]
$ cat bar.m
z=[3,2,1]
These sort of task are pretty trivial to do. You should take some time
to read through the documentation.. and oh don't be such a wanderer
loosing sight of such good resource such as http://docs.python.org :-)
--
Regards,
Ishwor Gurung
--
http://mail.python.org/mailman/listinfo/python-list
when I hurriedly used to look up materials through
it finding novel and cool ways of doing things (I still do find it
very helpful) :-)
Thanks for such a wonderful resource.
--
Regards,
Ishwor Gurung
--
http://mail.python.org/mailman/listinfo/python-list
27;d want to do purely
in Python. Aren't you curious? :-) It's late and TGIF! Need sleep.
Goodluck.
--
Regards,
Ishwor Gurung
--
http://mail.python.org/mailman/listinfo/python-list
24 matches
Mail list logo