Gerson Kurz wrote:
> Are there any alternatives to using M2Crypto for an XML/RPC server in
> SSL in Python?
tlslite supports SocketServers like SimpleXMLRPCServer:
http://trevp.net/tlslite
Trevor
--
http://mail.python.org/mailman/listinfo/python-list
> Staff Writer
> November 3 2005
> Cell phone giant Nokia has launched a portal to manage its open
> source software projects and promote community involvement.
> Opensource.nokia.com[61] features Nokia open source news and
> links to all of its OSS projects.
>
>Lau
I've just started to test/learn python.
I've got Linux > mandrake9 > python & documentation.
What I'll initially want to be doing needs file I/O, so I
wanted to confirm file I/O early in my tests.
Following the examples :
>>> f=open('/tmp/workfile', 'w')
>>> print f
<-- OK
But:
>>> f.read(siz
In article <[EMAIL PROTECTED]>, Jarek Zgoda <[EMAIL PROTECTED]> wrote:
> Gekitsuu napisal(a):
>
> > use strict;
> > use WWW::Mechanize;
> > use CGI;
> >
> > This seems to be the de facto standard in the Perl community but in
> > python it seems most of the code I look at has import statements
>
I'm getting realy tired of learning new languages.
And especially frustrated at the 'syntax errors' when switching
between them.
There are basically only a few common concepts needed for
all the languages. Hence linux's p2c: Pascal to C translator.
A good IDE could hide the irrelevant details
[EMAIL PROTECTED] wrote:
> Using a script:--
> lynx -dump '' > Fl1
>
> lynx -dump '' > Fln
>
> where the URLs are filled in off line, is a great online-telco-cost
> saver for me here in 3rd world S. Africa.
>
> I want to similarly send a set of pre-written emails via the
> same script
Don't you hate the *.ps/*.pdf texts which are arranged in columns
as if it was a newspaper ? Especially when you want to email
a section after using 'pdftotxt'.
I'm guessing that an algorithm to extract colums could work
like this : [assume 2 column, but 3, 4.. should be similar, remember
that
I am new in using Python
Anyone know how to implement breadth first search using Python? Can Python
create list dynamically, I want to implement a program which will read data
from a file and store each line into a list, is this possible?
Please send mail to me at [EMAIL PROTECTED] or reply this
Hi everyone,
My goal is to pull command switches/options from a file and then assign
the values to select variables which would eventually be included in a
class object.
The data file looks something like this but the switches could be in any
order and not all may be used.
-m quemanager -s serve
bruno at modulix wrote:
> News wrote:
>> Hi everyone,
>>
>> My goal is to pull command switches/options from a file and then assign
>> the values to select variables which would eventually be included in a
>> class object.
>>
>> The data file looks som
bruno at modulix wrote:
> News wrote:
>> bruno at modulix wrote:
>>
>>> News wrote:
>>>
>>>> Hi everyone,
>>>>
>>>> My goal is to pull command switches/options from a file and then assign
>>>> the values to select v
Hi everyone,
Just to be complete, my final solution was:
parser = OptionParser()
parser.add_option("-m","--qmanager", dest="qmanager",
help="\t\tQueue Manager to inquire against"),
parser.add_option("-s","--server", dest="host",
help="\t\tHost
Hi Everyone,
The attached code creates client connections to websphere queue managers
and then processes an inquiry against them.
The program functions when it gets options from the command line.
It also works when pulling the options from a file.
My issue is that it only processes the first l
[EMAIL PROTECTED] wrote:
> Suggest keeping it simple:
>
> def use_file():
> return open(options.filename).readlines()
>
> m
>
Very cool..
Didn't know you could do that.
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
I am trying to use cx_bsdiff
(http://starship.python.net/crew/atuining/cx_bsdiff/index.html) to to
make a diff and patch some files. It appears that I can make the diff,
but when I apply the patch, the result is not the same.
As far as I understand the documentation, I am using this co
A year or so ago, there was a posting - I believe on someone's blog -
which told of a unique experiment. The experimenter tried loading and
searching a large XML document based on three strategies:
1. (I think) elementree directly
2. Store entire XML document in ZODB (or Durus, can't remember)
GO: www.dedTUNIA.com
Betroffen von Alopecia Areata: dedTUNIA hilft auch Ihnen
Affected by Alopecia Areata: dedTUNIA can help you too !
Affecté par l´Alopécie Areata: dedTUNIA peut vous aider !
Website in: Deutsch - English - Francais
GO: www.dedTUNIA.com
--
http://mail.python.org/mailman/lis
What do I do? Can't do without Python!
Any experience, advice, hope is welcome.
Thanks.
Sandipan
--
http://mail.python.org/mailman/listinfo/python-list
Aug 28, 8:20 pm, "Sandipan News" <[EMAIL PROTECTED]> wrote:
> What do I do? Can't do without Python!
> Any experience, advice, hope is welcome.
> Thanks.
> Sandipan
You need to post the error traceback along with some more information
so the community can help.
Mike
--
ht
How do I deactivate UAC and Router?
I did run as Administrator and installed both Python and Pythonwin into
c:\Python25\
This is the error I got ...
Here is the log at the end of the install:
Copied pythoncom25.dll to C:\Outils\Python\pythoncom25.dll
Copied pywintypes25.dll to C:\Outils\Python\
how to.
Thanks.
Sandipan
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Sandipan News
Sent: Wednesday, August 29, 2007 9:41 PM
To: 'Méta-MCI (MVP)'; python-list@python.org
Subject: RE: Pythonwin Install COM exceptions on Windows Vista Ultimate
How do
Tim and Gabriel,
Thank you so much. I was able to find and remove the special character from the
line below and another one after it.
The error has now gone away.
Thanks also for the chdir solution, though I did not need it this time. The fix
above was exactly what it needed to work.
I have my
http://www.youtube.com/watch?v=BdB2r1ss5Wk
http://www.jewwatch.com/ <- excellent source for well researched
news on world events and the big movers of history
--
http://mail.python.org/mailman/listinfo/python-list
On Nov 5, 4:55 pm, Ivar Rosquist <[EMAIL PROTECTED]> wrote:
> On Mon, 05 Nov 2007 21:43:09 +, zionist.news wrote:
> >http://www.youtube.com/watch?v=BdB2r1ss5Wk
>
> >http://www.jewwatch.com/ <- excellent source for well researched
> > news on world eve
Thanks for the useful info ... appreciate your efforts.
On Oct 26, 10:37 am, [EMAIL PROTECTED] wrote:
> http://www.ft.com/cms/s/0/56cb5b92-10a7-11dc-96d3-000b5df10621.html?n...
>
> Harvard legal expert vows to sue lecturers boycotting Israel
>
> By Jon Boone
>
> Published: June 2 2007 03:00
>
> A
The world have been after Bill Gates for no reason. The richest group
was and remains the Zionist jew Rothschilds family who own HALF the
worlds total wealth through numerous frontmen zionists.
Mikhail Khodorkovsky, whom Russian President Vladimir I Putin put in
jail rose from the Rothschilds mone
Rothschilds control half the world's wealth directly and indirectly
using zionist proxies, and loyalty based on the zionist racist cult
History of the Rothschilds part 1
http://www.youtube.com/watch?v=o_u2MaNg-EQ
History of the Rothschilds part 2
http://www.youtube.com/watch?v=o2cw-0N_Unk
FBI, W
911 carried out by evil jews and mossad
http://www.guba.com/watch/2000991770
911 truckload of Explosives on the George Washington Bridge
http://www.youtube.com/watch?v=J520P-MD9a0
Benjamin Freedman's SEMINAL TESTIMONIAL SPEECH
http://video.google.com/videoplay?docid=3552214685532803163
Benjamin
://www.latimes.com/news/local/la-me-lapd9nov09,0,1646403.story?page=2&coll=la-home-center
LAPD to build data on Muslim areas
Anti-terrorism unit wants to identify sites 'at risk' for extremism.
By Richard Winton, Jean-Paul Renaud and Paul Pringle, Los Angeles
Times Staff Writers
November 9, 200
On Nov 10, 2:22 pm, "Frank Arthur" <[EMAIL PROTECTED]> wrote:
> <[EMAIL PROTECTED]> wrote in message
>
> news:[EMAIL PROTECTED]
>
> >A Jew hacker in California admits distributing malware that let him
> > steal usernames and passwords for Paypal ac
On Nov 11, 5:48 am, "GOH, Kheng-Swee" <[EMAIL PROTECTED]>
wrote:
> On Tue, 06 Nov 2007 17:53:01 -, [EMAIL PROTECTED] wrote:
>
> ...
>
> >Using an innovative system of pigeons
> >for communication and encoded letters, ...
>
> I didn't believe you until I read that part. It all makes sense now!
nators and congressmen are the
same ASHKENAZI KHAZAR JEWS.
Tom Lantos and Diane Feinstein are two of the most crooked senators
from CALIFORNIA and both Ashkenazi and khazar.
LAPD to RACIALLY PROFILE MOSLEMS:
http://www.latimes.com/news/local/la-me-lapd9nov09,0,1646403.story?pa...
LAPD to build
On Nov 12, 5:39 pm, ChairmanOfTheBored <[EMAIL PROTECTED]>
wrote:
> On Mon, 12 Nov 2007 22:07:39 -, [EMAIL PROTECTED] wrote:
> >On Nov 12, 11:29 am, "radiosrfun" <[EMAIL PROTECTED]> wrote:
>
> >> It was MUSLIMS who killed close to 3000 people of all races/religions.
>
> >Where is your proof ???
Statestep (which includes Python code generation) might
be something to look at.
It's designed to help the user create simplified rules
to begin with rather than derive them post hoc (it's
really for much bigger problems where enumerating
individual rules like you've done would be impractical)
...
IL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
On Apr 27, 2:37 am, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
On Sat, 26 Apr 2008 20:35:29 -0700, rustom wrote:
> On Apr 27, 12:31 am, [EMAIL PROTECTED] wrote:
>> On Apr 26, 1:14 pm, "Rustom Mody&qu
Hi everyone,
I've been experimenting with the ctypes module and think it's great.
I'm hitting a few snags though with seg faults. I attached two links
that holds the code. The line i'm having problems with is this,
sn=clibsmi.smiGetNextNode(pointer(sno),SMI_NODEKIND_ANY)
It will work one time,
On Dec 11, 12:59 pm, MrJean1 wrote:
> In general, for shared libraries, you need to define those first as
> prototype using ctypes.CFUNCTYPE() and then instantiate each prototype
> once supplying the necessary parameter flags using
> prototype(func_spec, tuple_of_param_flags). See sections 15.16
سكس اسرائيلى موقع سميرة الشرموطة موقع الشرموطة سميرة موقع ميلتا للجنس العربي
موقع مليتا للسكس العربي موقع مليتا موقع 89
سكس منيوكه مرفت جنس منيوكة مصرية منديات عرب لبنان سكس منتديات فلام إغتصاب
منتديات سكسية منتديات سكس منتديات شرموطة منتديات رومنسي السكسية منت
https://mslslat2017.blogspot
سكس اسرائيلى موقع سميرة الشرموطة موقع الشرموطة سميرة موقع ميلتا للجنس العربي
موقع مليتا للسكس العربي موقع مليتا موقع 89
--
https://mail.python.org/mailman/listinfo/python-list
I've struggled with this for quite a while and I'm am just not sure
what is going on. I have the following code
import os
def buildList( directory='/Users/mkonrad' )
dirs = [ ]
listing = os.listdir(directory)
for x in listing:
if os.path.isdir(x):
In comp.lang.c [EMAIL PROTECTED] wrote:
|
| THE MOST IMPORTANT QUESTION OF YOUR LIFE
|
| This is the most important question of your life.
|
| The question is: Are you saved?
^X^S
I am now :-)
--
-
| Phil Howard KA9W
I'm new to Python, but I've been thrown into coding a pretty
complicated regression testing script. I need to email the log of the
daily test to the code owners. I thought I could use SMTPHandler for
this, but our email system requires authentication. I have not been
able to figure out how to lo
Chris Angelico wrote:
> On Fri, Sep 7, 2012 at 10:53 PM, Ramyasri Dodla wrote:
>> I am brand new to python. checking over basic stuff. I came across the
>> problem while doing so. If any body aware of the problem, kindly respond me.
>>
> 5/10
>> 0
> - 5/10
>> -1
>>
>> The second case also
Jordan Bylsma wrote:
> I'm looking into writing a python script that colorizes particular
> hops when using traceroute. Anyone run across something like this? I
> don't think it would be extremely difficult to write but some example
> code would help.
>
Generic Colouriser
http://kassiopeia.juls
unicode is a simple python command line utility that displays
properties for a given unicode character, or searches
unicode database for a given name.
It was written with Linux in mind, but should work almost everywhere
(including MS Windows and MacOSX), UTF-8 console is recommended.
˙pɹɐpu
K. Elo wrote:
> Practically I am looking for something similar than Pascal's
> "keypressed" function
As already mentioned, (n)curses is a good solution.
However, if you need/want to go to lower levels, you can read
/dev/input/event* like this (excerpt from one of my programs):
def opendevs()
Jorge Alberto Diaz Orozco wrote:
> I want to use a reliable UDP connection like you say, a TCP like
> connection but over UDP. thaks for your recomendation, if I get good
> results I promise to share them.
>
utalk (long since disappeared from the surface of the internet) did have
such an implemen
Tomasz Rola wrote:
> If you are on tight budget and depend so much on Python, I'm afraid you
> should either:
>
> a. grow your budget
>
> b. try another language
such as PyMite...
--
---
| Radovan Garabík http://kassiopeia.juls.savba.
t_texas wrote:
> On Jun 6, 7:50 am, loial wrote:
>> I have a requirement to test the creation time of a file with the
>> current time and raise a message if the file is more than 15 minutes
>> old.
>>
>> Platform is Unix.
>>
>> I have looked at using os.path.getctime for the file creation time a
harrismh777 wrote:
these will run on either Python2 or
> Python3... except that if you substitute xrange() for range() for
> Python2 they will throw an exception on Python3... doh.
if 'xrange' not in dir(__builtins__):
xrange = range
at the beginning of your program will fix that.
--
Thomas Jollans wrote:
> It looks like you don't actually care about the encoding: in your first
> example, you use the default system encoding, which you do not control,
> and in your second example, you're using two different encodings on the
> two platforms. So why do you care whether or not t
Gnarlodious wrote:
> My scripting has grown to the point where the Apache server is a
> problem. My Python websites run and quit, which means I need to save
> data and recreate everything next page load. Bulky and slow. What is
> the simplest solution?
Karrigell?
--
unicode is a simple python command line utility that displays
properties for a given unicode character, or searches
unicode database for a given name.
It was written with Linux in mind, but should work almost everywhere
(including MS Windows and MacOSX), UTF-8 console is recommended.
˙pɹɐpuɐʇs ə
This is generic colouriser, version 1.12
grc is a colouriser configured by regular expressions, including
a simple command line wrapper for some commonly used unix commands.
Notable changes in this version:
- add several configuration files
- pass invalid UTF-8 unchanged, if possible
- fix
unicode is a simple python command line utility that displays
properties for a given unicode character, or searches
unicode database for a given name.
It was written with Linux in mind, but should work almost everywhere
(including MS Windows and MacOSX), UTF-8 console is recommended.
˙pɹɐpuɐʇs əp
Terry Reedy wrote:
> On 12/31/2020 9:36 AM, garabik-news-2005...@kassiopeia.juls.savba.sk wrote:
>> unicode is a simple python command line utility that displays
>> properties for a given unicode character, or searches
>> unicode database for a given name.
> ...
>> C
Fredrik Lundh <[EMAIL PROTECTED]> wrote:
>
>> - comparison returns 4 values (i.e. inferior, equal, superior or not
>> comparable), as in Pliant: "compare"
>
cmp("a", "b")
> -1
cmp("a", "a")
> 0
cmp("b", "a")
> 1
cmp("ä", u"ä")
> Traceback (most recent call last):
> File "", l
Erik Max Francis <[EMAIL PROTECTED]> wrote:
> Bruno Desthuilliers wrote:
>
>> Depends on the country's laws and the exact agreement.
>
> Work for hire is part of the Berne convention.
>
According to recent (2003) Slovak copyright law, ONLY the individual
authors own the copyright, and they cann
flupke <[EMAIL PROTECTED]> wrote:
> I need to program and setup serveral webservices.
> If i were still using jsp, i would use Tomcat to make the several
> applications available on a given port.
> How can i accomplish this in Python?
> I was thinking about Twisted but it's not clear to me what par
Michael Rybak <[EMAIL PROTECTED]> wrote:
> Hi, everyone.
> In topic "2-player game, client and server at localhost", I've asked
> about subj, and Peter Hansen suggested to switch to Twisted, Pyro or
> the like.
>
> I've tried using Pyro.
>
> I've written a very very simple test-game, in which you
Michael Rybak <[EMAIL PROTECTED]> wrote:
> gn20kjss> Do not use pyro, use simple UDP protocol.
> gn20kjss> I've written networked tetris in python, communicating via
> gn20kjss> UDP protocol, and used it successfully on very congested lines.
>
> Would you please be so kind to share that with me? T
Hi all,
I am trying to port my (linux) program to MacOSX, and I need to get a
list of mounted filesystems. Under linux, it was easy, I was parsing
/etc/mtab (or /proc/mounts), this works also on some other unices.
But I have no idea how to do it on MacOSX, apart from calling "mount" as
an external
rafi <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
>> Hi all,
>> I am trying to port my (linux) program to MacOSX, and I need to get a
>> list of mounted filesystems. Under linux, it was easy, I was parsing
>> /etc/mtab (or /proc/mounts), this works also on some other unices.
>> But I have
Robert <[EMAIL PROTECTED]> wrote:
> Hi,
> I know general Python pretty well and interested in using Python for a
> web project. It will have the standard display, user input, fields,
> look-ups, reports, database routines, etc. Been looking though the
> Python web docs. and seeing stuff like
[EMAIL PROTECTED] wrote:
> H!
>
> I'm busy with testing python and now i'm trying to check if a url makes
> a forward to a other location with the same content.
>
> So it will be possible to scan unique website's.
> I already made these checks:
>
> the html forward:
>
>
> the header:
> Content
Ken Seehart <[EMAIL PROTECTED]> wrote:
>
> 2. What do I do with ipk files? I surfed around and found that in one
> example, the command is "ipkg install foo.ipk", but ipkg doesn't seem to
> exist on my hardware.
ipk files are basically in two flavours, one of them is a plain tar.gz
file, use t
pydf displays the amount of used and available space on your
filesystems, just like df, but in colours. The output format is
completely customizable.
pydf was written and works on Linux, but should work also on other
modern UNIX systems.
URL:
http://kassiopeia.juls.savba.sk/~garabik/software/pydf
verynice is a nice(1)-like command line utility for unix systems to
throttle long running processes beyond what can be achieved by nice(1),
by repeatedly suspending and resuming the process.
Author:
Radovan Garabík
URL:
http://kassiopeia.juls.savba.sk/~garabik/software/verynice/
License:
GPL (v3
This is generic colouriser, version 1.7.
grc is a colouriser configured by regular expressions, including
a simple command line wrapper for some commonly used unix commands.
Notable changes in this version:
- add the possibility to replace text in addition to colouring
- add several configurat
unicode is a simple python command line utility that displays
properties for a given unicode character, or searches
unicode database for a given name.
It was written with Linux in mind, but should work almost everywhere
(including MS Windows and MacOSX), UTF-8 console is recommended.
˙pɹɐpu
polynice is a nice(1)-like command line utility for unix systems to
throttle long running processes beyond what can be achieved by nice(1),
by repeatedly suspending and resuming the process.
It is written for python3, though there is some python2.7 compatibility.
Author:
Radovan Garabík
URL:
htt
zipher wrote:
> Would it be prudent to rid the long-standing "argument" (pun
> unintended) about self and the ulterior spellings of it, by changing
> it into a symbol rather than a name?
>
> Something like:
>
> class MyClass(object):
>
> def __init__(@):
> @.dummy = None
Believe
polynice is a nice(1)-like command line utility for unix systems to
throttle long running processes beyond what can be achieved by nice(1),
by repeatedly suspending and resuming the process.
It is written for python3, though there is some python2.6 & 2.7 compatibility.
Author:
Radovan Garabík
UR
unicode is a simple python command line utility that displays
properties for a given unicode character, or searches
unicode database for a given name.
It was written with Linux in mind, but should work almost everywhere
(including MS Windows and MacOSX), UTF-8 console is recommended.
˙pɹɐpuɐʇs əp
Jabba Laci wrote:
> Hi,
>
> I'd like to set autoflush on/off in my script. I have a loop that is
> checking something and every 5 second I want to print a '.' (dot). I
> do it with sys.stdout.write and since there is no newline, it is
> buffered and not visible immediately.
My solution is sys.st
Andrew Berg wrote:
> On 2013.04.05 20:07, Roy Smith wrote:
>> I know this is off-topic, but I encourage people to NOT invent their own
>> licenses.
> Perhaps he meant this existing license: http://www.wtfpl.net/about/
I like the Python Powered Logo license by Just van Rossum (Guido's
brother, in
kindness of strangers... :-)
>
> I'm playing around with some very simplistic french to english
> translation. As some text to
> work with, I copied the following from a french news site:
>
> Dans les années 1960, plus d'une voiture sur deux vendues aux
> Etats-Unis
Alex Gittens <[EMAIL PROTECTED]> wrote:
> Is anyone aware of any applications that handle font and graphics
> display--- something like Adobe Reader--- that are written in Python,
> and the code is available for examination? It doesn't matter what GUI
> toolkit is used.
>
Grail comes to my mind im
I was playing with python encodings and noticed this:
[EMAIL PROTECTED]:~$ python2.4
Python 2.4 (#2, Dec 3 2004, 17:59:05)
[GCC 3.3.5 (Debian 1:3.3.5-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> unicode('\x9d', 'iso8859_1')
u'\x9d'
>>>
U+009D is NOT a
Andreas Jung <[EMAIL PROTECTED]> wrote:
> [-- text/plain, encoding quoted-printable, charset: us-ascii, 6 lines --]
>
> Does anyone know of a Python module that is able to sniff the encoding of
> text? Please: I know that there is no reliable way to do this but I need
> something that works for
Diez B. Roggisch <[EMAIL PROTECTED]> wrote:
>> print try_encodings(text, ['ascii', 'utf-8', 'iso8859_1', 'cp1252',
>> 'macroman']
>
> I've fallen into that trap before - it won't work after the iso8859_1.
> The reason is that an eight-bit encoding have all 256 code-points
> assigned (usually, t
[EMAIL PROTECTED] wrote:
> It's important that I can read the contents of the dict without
> flagging it as modified, but I want it to set the flag the moment I add
> a new element or alter an existing one (the values in the dict are
> mutable), this is what makes it difficult. Because the values a
Ksenia Marasanova <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am looking for a library that will give me very simple text
> representation of HTML.
> For example
> TitleThis is a test
>
> will be transformed to:
>
> Title
>
> This is a
> test
>
>
> i want to send plain text alternative of html ema
robin <[EMAIL PROTECTED]> wrote:
> hi,
> i remember seeing this simple python function which would take raw html
> and output the content (body?) of the page as plain text (no <..> tags
> etc)
> i have been looking at htmllib and htmlparser but this all seems to
> complicated for what i'm looking f
This summary is tagged as being in ISO-8859-1 encoding:
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
However, it really is in UTF-8, which results in this mojibake:
>
> Martin v. Löwis and Marc-Andre Lemburg discussed how to include both
--
-
Kamilche <[EMAIL PROTECTED]> wrote:
> Yeah, that's what I'm thinking, as well. Showing all the text on an
> image is one thing... using that image as the basis of a font engine is
> something different.
>
> Luckily, someone has sent me a link to a set of free TrueType fonts -
> http://www.gnome.or
Kenneth Xie <[EMAIL PROTECTED]> wrote:
> I need a simple ftpd example in pure python. Is there already such a
> ftpd available?
> Thank you very much in advance.
self-advertising: http://melkor.dnp.fmph.uniba.sk/~garabik/pyftpd.html
it is a bit dated and I do not develop it anymore, but as a base
rbt <[EMAIL PROTECTED]> wrote:
>
> mf wrote:
>> Hi.
>>
>> My problem:
>> How can I make sure that a Python process does not use more that 30% of
>> the CPU at any time. I only want that the process never uses more, but
>> I don't want the process being killed when it reaches the limit (like
>> it
[EMAIL PROTECTED] wrote:
> I understand, that what I suggest does not solve the problem you want,
> but..
>
> Why do you want to restrict CPU usage to 30%? In Windows I run CPU
there might be three reasons:
1) less power consumed (notebooks, PDA's)
2) less heat from CPU
3) (cross platform) schedu
Sam the Cat <[EMAIL PROTECTED]> wrote:
> Besides calling the external ping utility -- is there a way native to python
> to execute a similar utility ?
>
>
yes
http://www.python.org/~jeremy/python.html
--
---
| Radovan Garabík http://kas
Antal Rutz <[EMAIL PROTECTED]> wrote:
> Hi!
>
> Maybe a very newbie question but:
> I'd like to write a prog which reads one line at a time on its sys.stdin
> and immediately processes it.
> If there are'nt any new lines wait (block on input).
>
what about:
for line in sys.stdin:
process(li
Kenneth McDonald <[EMAIL PROTECTED]> wrote:
>
> Here are some of the features I'd greatly like to have that I haven't
> seen provided by the (relatively few) wiki engines I've looked at.
> Mind you, I don't claim to have looked at even these few
> exhaustively. (No time!) MoinMoin is the one
If I understand correctly, when I import something under Windows, Python
searches the directory that the executing script was loaded from, then other
directories as specified in "sys.path".
I assume there are standard locations inside my installed Python - in my
case inside: C:\Program Files\~P-f
Jeremy Nicoll - news posts <[EMAIL PROTECTED]> wrote:
> If I understand correctly, when I import something under Windows, Python
> searches the directory that the executing script was loaded from, then
> other directories as specified in "sys.path".
Sorry to followup m
Barak, Ron wrote:
>
>
>
> I thought maybe someone has a way to unzip just the end portion of the
> archive (instead of the whole archive), as only the last part is needed
> for reading the last line.
dictzip (python implementation part of my serpento package)
you have to compress the file with
Hans Müller wrote:
> Hello experts,
>
> I'm looking for secure way to pass messages from a python program to a
> c-library in both ways.
>
> This scenario is given:
>
> display client Calculation module in
> COBOL (yes, big, old but it works well)
> (p
Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> "[EMAIL PROTECTED]" wrote:
>
>> Question: what is a good strategy for taking an 8bit
>> string of unknown encoding and recovering the largest
>> amount of reasonable information from it (translated to
>> utf8 if needed)? The string might be in any of the
Michael Sperlle <[EMAIL PROTECTED]> wrote:
> Is it possible? Bestcrypt can supposedly be set up on linux, but it seems
> to need changes to the kernel before it can be installed, and I have no
> intention of going through whatever hell that would cause.
>
> If I could create a large file that coul
blumenkraft wrote:
> Hi,
>
> I want to share dictionary between two distinct processes.
>
...
> I have looked at POSH, but it requires master process that will fork
> childs. I want read-only sharing between completely unrelated
> processes.
> Is it possible?
Depends on your exact needs - dbm o
Chris Rebert wrote:
> On Sun, Sep 27, 2009 at 8:13 PM, edwithad wrote:
>> I am sure you have not read a question this basic in some time, but I am
>> curious. Using Linux I open a terminal window and type: python.
>>
>> Does Bash Shell go away and to become a Python Shell, or is it still a Bash
>
1 - 100 of 132 matches
Mail list logo