On Nov 16, 1:47 am, SamFeltus <[EMAIL PROTECTED]> wrote:
> I suspect you could make it visually far more interesting if you
> replaced the colored pixels with colorful images, and mapped the
I'm already planning of using images instead of coloured blocks. But
first
i want to try using a gradient f
Hi All,
I've been working on a 'toy' application for the past month or so
called PyInkblot.
Simply mirroring a random plotting of half of a grid onto the second
half, you can create pictures that look 'organic' like Rorschach
Inkblot's.
PyInkblot uses pygene for the Genetic Algorithm backend and
On Jul 11, 10:37 am, "Gabriel Genellina" <[EMAIL PROTECTED]>
wrote:
> En Mon, 09 Jul 2007 22:40:04 -0300, placid <[EMAIL PROTECTED]> escribió:
>
>
>
> > I have these files; which are Merge Request (ClearCase) files that are
> > created by a Perl CGI s
Hi All,
I have these files; which are Merge Request (ClearCase) files that are
created by a Perl CGI script (being re-written in Python, as the HTML/
JavaScript have been mixed with Perl, maintainability is zero)
MergeTypecodefromlabel
BLnameBUILDMODS
OldLname
BaseVersion:
Hi All,
Just wondering if there is any way of sending a JavaScript array to a
Python cgi script? A quick Google search didn't turn up anything
useful.
Any help appreciated.
Cheers
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 25, 12:00 am, Steve Holden <[EMAIL PROTECTED]> wrote:
> Jeff Rush wrote:
> > There is discussion by the Python Software Foundation of offering cash
> > bounties or perhaps periodic awards to the "best of" for magazine articles,
> > video/screencast clips and such.
I would like to see more s
On Apr 25, 4:40 pm, "Tennessee Leeuwenburg"
<[EMAIL PROTECTED]> wrote:
> Firstly, let me put up my hand and say that I would be happy to write
> Python articles for cash.
>
I would be happy to write Python articles for a T-shirt with the
Python logo printed on it. Maybe each article entrant can re
On Apr 24, 4:52 pm, Tim Roberts <[EMAIL PROTECTED]> wrote:
> placid <[EMAIL PROTECTED]> wrote:
> >On Apr 23, 1:01 am, Adrian Smith <[EMAIL PROTECTED]> wrote:
> >> On Apr 22, 10:09 pm, placid <[EMAIL PROTECTED]> wrote:
>
> >> >
On Apr 23, 1:01 am, Adrian Smith <[EMAIL PROTECTED]> wrote:
> On Apr 22, 10:09 pm, placid <[EMAIL PROTECTED]> wrote:
>
> > i just tried it and its working. here it is
>
> >http://yallara.cs.rmit.edu.au/~bevcimen/form.html
>
> > maybe the internal server e
On Apr 22, 4:08 pm, Adrian Smith <[EMAIL PROTECTED]> wrote:
> This may be more a cgi thing than a Python one, but I'm trying to get
> this page:
>
> http://adrian10.phpwebhosting.com/trial.html
>
> consisting basically of this:
>
>
>
>
>
>
> ...to print out the contents of the textarea with thi
On Apr 1, 10:13 pm, "Ulysse" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm trying to extract the data from HTML table. Here is the part of
> the HTML source :
> """
>
>
> type="checkbox">
>
> Sat, 31.03.20
On Feb 22, 12:08 pm, mark <[EMAIL PROTECTED]> wrote:
> On 21 Feb 2007 16:10:51 -0800, placid <[EMAIL PROTECTED]> wrote:
>
> > On Feb 22, 10:20 am, mark <[EMAIL PROTECTED]> wrote:
> > > On 21 Feb 2007 14:47:50 -0800, placid <[EMAIL PROTECTED]> wrot
On Feb 22, 10:20 am, mark <[EMAIL PROTECTED]> wrote:
> On 21 Feb 2007 14:47:50 -0800, placid <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Feb 22, 3:23 am, mark <[EMAIL PROTECTED]> wrote:
> > > On 20 Feb 2007 21:26:18 -0800, placid <[EMAIL PROTECTE
On Feb 22, 3:23 am, mark <[EMAIL PROTECTED]> wrote:
> On 20 Feb 2007 21:26:18 -0800, placid <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Feb 21, 4:21 pm, "placid" <[EMAIL PROTECTED]> wrote:
> > > On Feb 21, 4:12 pm, mark <[EMAIL PROTECTED]>
On Feb 21, 4:21 pm, "placid" <[EMAIL PROTECTED]> wrote:
> On Feb 21, 4:12 pm, mark <[EMAIL PROTECTED]> wrote:
>
>
>
> > On 20 Feb 2007 20:47:57 -0800, placid <[EMAIL PROTECTED]> wrote:
>
> > > On Feb 21, 3:08 pm, mark <[EMAIL PROTECTE
On Feb 21, 4:12 pm, mark <[EMAIL PROTECTED]> wrote:
> On 20 Feb 2007 20:47:57 -0800, placid <[EMAIL PROTECTED]> wrote:
>
> > On Feb 21, 3:08 pm, mark <[EMAIL PROTECTED]> wrote:
> > > Right now I have a thread that sleeps for sometime and check if an
> &
On Feb 21, 3:08 pm, mark <[EMAIL PROTECTED]> wrote:
> Right now I have a thread that sleeps for sometime and check if an
> event has happened and go back to sleep. Now instead I want the thread
> to sleep until the event has occured process the event and go back to
> sleep. How to do this?
> thank
On Feb 19, 4:38 pm, Gary Herron <[EMAIL PROTECTED]> wrote:
> Karlo Lozovina wrote:
> > Let's say I have a class with few string properties and few integers, and
> > a lot of methods defined for that class.
>
> > Now if I have hundreds of thousands (or even more) of instances of that
> > class - is
On Feb 19, 2:17 pm, Karlo Lozovina <[EMAIL PROTECTED]> wrote:
> Let's say I have a class with few string properties and few integers, and
> a lot of methods defined for that class.
>
> Now if I have hundreds of thousands (or even more) of instances of that
> class - is it more efficient to remove t
On Feb 18, 8:59 pm, "Michele Simionato" <[EMAIL PROTECTED]>
wrote:
> On Feb 18, 10:49 am, "placid" <[EMAIL PROTECTED]> wrote:
>
> > On Feb 18, 7:17 pm, "Michele Simionato" <[EMAIL PROTECTED]>
>
> > > Yes, he is talking abo
On Feb 18, 7:17 pm, "Michele Simionato" <[EMAIL PROTECTED]>
wrote:
> On Feb 17, 11:44 pm, Bjoern Schliessmann
>
>
> [EMAIL PROTECTED]> wrote:
> > placid wrote:
> > > if i want to treat every cmdloop prompt entry as a potential
> > >
placid wrote:
> Hi all,
>
> if i want to treat every cmdloop prompt entry as a potential command
> then i need to overwrite the default() method ?
>
> What i want to achieve is to be able to support global variable
> creation for example;
>
> res = sum 1 2
>
>
Hi all,
if i want to treat every cmdloop prompt entry as a potential command
then i need to overwrite the default() method ?
What i want to achieve is to be able to support global variable
creation for example;
res = sum 1 2
this would create a variable res with the result of the method
do_sum(
On Feb 16, 3:37 am, Neil Cerutti <[EMAIL PROTECTED]> wrote:
> On 2007-02-15, Steven D'Aprano <[EMAIL PROTECTED]> wrote:
>
> >> def multiAccept( argOfVariousTypes ):
> >> if isinstance(argOfVariousTypes,int):
> >> # treat like an int
> >> elif isinstance(argOfVariousTypes,float):
> >
On Feb 15, 4:04 pm, Grant Edwards <[EMAIL PROTECTED]> wrote:
> On 2007-02-15, placid <[EMAIL PROTECTED]> wrote:
>
>
>
> > Is it possible to be able to do the following in Python?
>
> > class Test:
> > def __init__(self):
> > pass
&
Hi all,
Is it possible to be able to do the following in Python?
class Test:
def __init__(self):
pass
def puts(self, str):
print str
def puts(self, str,str2):
print str,str2
if __name__ == "__main__":
t = Test()
t.puts("hi")
t.puts("hi","hello")
On Feb 15, 11:08 am, Bruno Desthuilliers
<[EMAIL PROTECTED]> wrote:
> Bernard Lebel a écrit :
>
> > Diez: thanks, I will try that. However isn't sum() returning an
> > integer that here would represent the number of elements?
>
> Nope, it will return the sum of the length of the lines in the list.
Thanks for all the help. I have some projects that i will look into and
see if i can contribute anything
Cheers
Ben Finney wrote:
> "placid" <[EMAIL PROTECTED]> writes:
>
> > I'm looking for anyone who is working on a project at the moment that
> > ne
Hi all,
I'm looking for anyone who is working on a project at the moment that
needs help (volunteer). The last project i worked on personally was
screen-scraping MySpace profiles (read more at the following link)
http://placid.programming.projects.googlepages.com/screen-scrapingmyspaceprofiles
Hi all,
I want be able to work the download rate for downloading HTML pages
using the urllib.urlopen(url). The way i thought i would do this is
start a timer (or log the current time) just before calling this
function and the stopping the timer (logging the current time again and
the working out t
Leon wrote:
> Hi,
>
> I'm creating a python script that can take a string and print it to the
> screen as a simple multi-columned block of mono-spaced, unhyphenated
> text based on a specified character width and line hight for a column.
> For example, if i fed the script an an essay, it would for
John Nagle wrote:
> I've been parsing existing HTML with BeautifulSoup, and occasionally
> hit content which has something like "Design & Advertising", that is,
> an "&" instead of an "&". Is there some way I can get BeautifulSoup
> to clean those up? There are various parsing options related to
many_years_after wrote:
> Carsten Haese wrote:
> > On Sun, 2006-12-24 at 22:55 -0800, many_years_after wrote:
> > > Hi, pythoners:
> > >
> > > There is a problem I couldn't dispose. I start a thread in the my
> > > program. The thread will do something before executing time.sleep().
> > > Wh
Just Another Victim of the Ambient Morality wrote:
> I need a red-black tree in Python and I was wondering if there was one
> built in or if there's a good implementation out there. Something that,
> lets face it, does whatever the C++ std::map<> allows you to do...
> Thank you...
try,
htt
Dennis Lee Bieber wrote:
> On Thu, 14 Dec 2006 11:44:14 +1100, "Aidan Steele" <[EMAIL PROTECTED]>
> declaimed the following in gmane.comp.python.general:
>
> > While what you said is technically correct, I think you misread their
> > original question. They want to send email *from* the Gmail acco
Gabriel Genellina wrote:
> At Wednesday 13/12/2006 21:44, Aidan Steele wrote:
>
> >While what you said is technically correct, I think you misread
> >their original question. They want to send email *from* the Gmail
> >account *to* the work account. I suggested that he use Gmail's SMTP
> >server t
Gabriel Genellina wrote:
> You DON'T need the password for the receiving account just to send him
> an email!
> And you don't even need that special Gmail library, smtplib should be
> fine.
Yes you dont need a password to receive email, but to access Gmail and
send an email you do. Yes you do n
Hi all,
I was going to write this script for a friend that notifies him via
logging onto his Gmail account and sending him an email to his work
email about some events occurring in the execution of the script.
If you enter your password into a script as input how can someone trust
the programmer t
Klaas wrote:
> placid wrote:
> > Hi All,
> >
> > Just wondering when i run the following code;
> >
> > for i in range(100):
> > print i
> >
> > the memory usage of Python spikes and when the range(..) block finishes
> > executi
William Heymann wrote:
> On Tuesday 07 November 2006 22:42, placid wrote:
> > Hi All,
> >
> > Just wondering when i run the following code;
> >
> > for i in range(100):
> > print i
> >
> > the memory usage of Python spikes and when th
Hi All,
Just wondering when i run the following code;
for i in range(100):
print i
the memory usage of Python spikes and when the range(..) block finishes
execution the memory usage does not drop down. Is there a way of
freeing this memory that range(..) allocated?
I found this documen
Marc 'BlackJack' Rintsch wrote:
> In <[EMAIL PROTECTED]>, placid wrote:
>
> > Hi all,
> >
> > Just wondering if anyone knows how to get the text between the tags of
> > the following Tag object?
> >
> > Hello
>
> Are you looking
Hi all,
Just wondering if anyone knows how to get the text between the tags of
the following Tag object?
Hello
Cheers
--
http://mail.python.org/mailman/listinfo/python-list
placid wrote:
> Tim Golden wrote:
> > [placid]
> > | Using Tim Golden's wmi module you can get the service names
> > |
> > | import wmi
> > | c = wmi.WMI ()
> > | stopped_services = c.Win32_Service (StartMode="Auto", State="Stopped&quo
Tim Golden wrote:
> [placid]
> | Using Tim Golden's wmi module you can get the service names
> |
> | import wmi
> | c = wmi.WMI ()
> | stopped_services = c.Win32_Service (StartMode="Auto", State="Stopped")
> | if stopped_services:
> | for s in st
Hi all,
Using Tim Golden's wmi module you can get the service names
import wmi
c = wmi.WMI ()
stopped_services = c.Win32_Service (StartMode="Auto", State="Stopped")
if stopped_services:
for s in stopped_services:
print s.Caption, "service is not running"
else:
print "No auto services stop
stan wrote:
> I am a complete newbe to python and only got here because I am trying to set
> up iTunes in game Second Life. Have followed all instructions but keep
> getting an error reading from my XP Pro OS as follows
>
> File "C:\Python24\2L file for iTunes", line 4, in -toplevel-
> import
Hi All,
I have this BaseHTTPServer.HTTPServer that is located at C:\ (im on
Windows XP), when i run the program (httpserver.pyw) from the Run
Dialog as "C:\httpserver.pyw" the root folder ("\") for http server is
C:\, but when i add an entry to Registry Run so that it runs at boot
time, the root f
Thomas Samson wrote:
> Xiao Jianfeng <[EMAIL PROTECTED]> writes:
>
> > Hi all,
> >
> > I am looking for a genetic algorithms package for Python.
> >
> > I have googled the web before posting and found some links. The link
> > of pygene(http://www.freenet.org.nz/python/pygene) cannot be opened.
>
placid wrote:
> Hi all,
>
> I was just wondering if there is a anti-os.path.normpath function? For
> example if i have the path "C:\Program Files\Games" i want to
> anti-os.path.normpath is so that it becomes "C:\\Program Files\\Games"
> ?
>
> Cheers
Hi all,
I was just wondering if there is a anti-os.path.normpath function? For
example if i have the path "C:\Program Files\Games" i want to
anti-os.path.normpath is so that it becomes "C:\\Program Files\\Games"
?
Cheers
--
http://mail.python.org/mailman/listinfo/python-list
Hi all,
I have an application were i want the user to "configure" some settings
which are variables within different classes.
My question is should i just pickle out these variables to a file in
some particular order then read it back. Or use xml to save the config
values ? Which one scales bette
First version of PyPsp is released. I have done limited testing as i
have limited free time to
devote to this project, but im doing my best. There are a three
external modules that you need
to download see the README file for additional information.
Summary
Playstation Portable(PSP) V
[EMAIL PROTECTED] wrote:
>
> Ey insanlar ve cinler ezeli ve ebedi cennete girmek,ebedi yaşamak,her
> istediğini yapmak ve Allah'ı görmek istemezmisiniz.
> Ey sevgili ruh,bunun için Allah'a şükretmeli ve iman etmeli
> değilmisin.
>
> HULASA :
> Allah,birdir, hiçbirşeye ihtiyacı yoktur,ne birbaşka
Thomas Guettler wrote:
> Am Wed, 09 Aug 2006 22:19:24 -0700 schrieb placid:
>
> > Hi all,
> >
> >
> > Im using the cmd module and i have command that loops and keeps on
> > printing text, what i want to be able to do is loop until the user
> > press
Gabriel Genellina wrote:
> At Thursday 10/8/2006 02:19, placid wrote:
>
> >chr = sys.stdin.read(1)
> >while chr != "q":
> > """ keep printing text """
> > chr = sys.stdin.read(1)
> >
> >but again this b
Hi all,
Im using the cmd module and i have command that loops and keeps on
printing text, what i want to be able to do is loop until the user
presses a particular key, say Q/q ? I tried the following code;
line = raw_input ("press q to abort")
while line[0] != "q":
""" keep printing text ""
Grant Edwards wrote:
> On 2006-08-09, placid <[EMAIL PROTECTED]> wrote:
>
> >> I want to write an avi to flv converter in php but i am a complete
> >> newbie to it.
>
> > via a Google search for "python video convert" i found the following
> &g
Ch3ru5 wrote:
> Hi,
> I want to write an avi to flv converter in php but i am a complete
> newbie to it.
>
> I would like to know the basic flow of entire process of how a
> converter code is written
> (ie. the basic algorithm ) .
>
> Example: "You first create an flv stream , then compress the av
Hi all,
How do i import a module that has an hypen/dash (-) in its name ? I get
a SytaxError exception
Cheers
--
http://mail.python.org/mailman/listinfo/python-list
Philippe Martin wrote:
> Janto Dreijer wrote:
>
> > I'm writing a Linux filemanager using wxPython. I'd like to embed a
> > bash console inside it. I have found the Logilab pyqonsole
> > (http://www.logilab.org/projects/pyqonsole), but it uses PyQT.
> >
> > Does anyone know how to do this from wx?
[EMAIL PROTECTED] wrote:
> placid wrote:
> > Alas, all good arguments.
> >
> > I rest my case.
>
> After you've just been proven wrong?
>
> I wouldn't want you for my lawyer.
Aha, lucky i wont be a lawyer.
--
http://mail.python.org/mailman/listinfo/python-list
Alas, all good arguments.
I rest my case.
:(
Cheers
--
http://mail.python.org/mailman/listinfo/python-list
Hi all,
this site is contains code snippets for various languages and python
does not have many code snippet posters. Just lettting you know
http://programmingishard.com
Cheers
P.S: I have no connection with this site!
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> This is my very first time to use Phyton!
>
> I am getting a problem with win32com.client missing from some existinf
> scripts.
>
> >python
> Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)]
> on win32
> Type "help", "copyright", "credits" or "licens
Kkaa wrote:
> I'm using the os.system command in a python script on Windows to run a
> batch file like this:
>
> os.system('x.exe')
>
> The third-party program x.exe outputs some text to the console that I
> want to prevent from being displayed. Is there a way to prevent the
> output of x.exe fro
Tom Brown wrote:
> When it runs on Windows, could it be:
>
> 1) Just struggling to run inside of VMware?
i have gut feeling that it could be that this is the problem.
--
http://mail.python.org/mailman/listinfo/python-list
John Salerno wrote:
> John Salerno wrote:
> > Hi guys. I tried naming my file with a .pyw extension, but the console
> > still shows up. Why doesn't this work? And is there another, more
> > programmatic way to suppress it?
> >
> > Thanks.
>
> I just noticed that the console that opens isn't the n
Dennis Lee Bieber wrote:
> On 30 Jul 2006 16:22:34 -0700, "placid" <[EMAIL PROTECTED]> declaimed the
> following in comp.lang.python:
>
> >
> > ;) Tsk Tsk
>
> Have you ever seen a Tempest VT-100? Lead shielding on the monitor
> FACE... T
Dennis Lee Bieber wrote:
> On 27 Jul 2006 22:26:25 -0700, "placid" <[EMAIL PROTECTED]> declaimed the
> following in comp.lang.python:
>
> >
> > readline() blocks until the newline character is read, but when i use
> > read(X) where X is a nu
Hi all,
I have been looking into non-blocking read (readline) operations on
PIPES on windows XP and there seems to be no way of doing this. Ive
read that you could use a Thread to read from the pipe, but if you
still use readline() wouldnt the Thread block too?
What i need to do is, create a proc
Hi all,
ive been trying to create a thumbnail using the ffmpeg converter
running the ffmpeg.exe using the subprocess module with the following
code
>>> import subprocess
>>> p = subprocess.Popen(["ffmpeg.exe -i video.mpg", "-f mjpeg -ss 5 -vframes
>>> 1 -s 160x120 -an video.gif"], shell=True, s
Thank you all for the replies, i now have a better solution.
Cheers
--
http://mail.python.org/mailman/listinfo/python-list
Simon Forman wrote:
> placid wrote:
> > Hi all,
> >
> > I have two lists that contain strings in the form string + number for
> > example
> >
> > >>> list1 = [ ' XXX1', 'XXX2', 'XXX3', 'XXX5']
> >
Hi all,
I have two lists that contain strings in the form string + number for
example
>>> list1 = [ ' XXX1', 'XXX2', 'XXX3', 'XXX5']
the second list contains strings that are identical to the first list,
so lets say the second list contains the following
>>> list1 = [ ' XXX1', 'XXX2', 'XXX3', '
[EMAIL PROTECTED] wrote:
> Dear all,
>
> could you give me an help ?
>
> I would to upload a file from web using Python. Is there a simple way to do
> this? I'm using the cgi module and python 2.3. The file to be uploaded is a
> text
> file.
>
is this what your after?
http://aspn.activestate.co
Hi all,
If someone could give me an example of creating a subprocess (on
Windows) using the subprocess module and Popen class and connecting to
its stdout/stdin file handles. I googled for a bit but the only example
i found was here ;
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/438119
Hi all,
Just wondering if there is a better way of generating a 4 digit number
(that gets converted to a string), ive got the following code which
generates strings between -.
for a in range(0,10):
for b in range(0,10):
for c in range(0,10):
for d in range(0,10):
Steve Holden wrote:
> Bruno Desthuilliers wrote:
> > arsl89 wrote:
> >
> >>hy gys i m wanting python programming language.
> >>plz snd me the backup of python
this is one of my aims in life, to bloody understand this 1337 speak!
--Cheers
--
http://mail.python.org/mailman/listinfo/python-list
Edmond Dantes wrote:
> placid wrote:
>
> >
> > alimoe wrote:
> >> > Genetic Programming or Genetic Algorithms?
> >>
> >> whats the difference?
> >
> >
> > Genetic Programming:
> > is an automated methodology inspired by bio
[EMAIL PROTECTED] wrote:
> I need to find out if an object is a class. Using new style classes
> this is very easy:
>
> class Test(object): pass
>
> obj = Test
>or
> obj = Test()
>
> if type(obj) == type:
> # this is a class object..
> else:
> # this not a class object
>
> But this fa
Chen Houwu wrote:
> --sample code begin-
>
> import threading
>
> import wmi
>
> def run(*args):
> c = wmi.WMI ()
> memory=c.Win32_LogicalMemoryConfiguration()[0]
> info='Total Virtual Memory: '\
> +str(int(memory.TotalVirtual
Erik Max Francis wrote:
> alimoe wrote:
>
> >> Genetic Programming or Genetic Algorithms?
> >
> > whats the difference?
>
> Genetic algorithms usually involve the manipulation of bit strings.
Where bit strings is the the "dna" and each bit in the string
represents some value
--
http://mail.pyth
alimoe wrote:
> I will create a "robot" that crawls over terrain that looks like the
> picture here:
>
> http://pygp.sourceforge.net/index.php3?name=runs
is this a real robot or a computer simulation?
--
http://mail.python.org/mailman/listinfo/python-list
alimoe wrote:
> > Genetic Programming or Genetic Algorithms?
>
> whats the difference?
Genetic Programming:
is an automated methodology inspired by biological evolution to find
computer programs that best perform a user-defined task.
http://en.wikipedia.org/wiki/Genetic_Programming
Genetic Alg
alimoe wrote:
> I am interested in coding an app which uses physics and 3d and neural
> nets and genetics. Any pointers?
Open GL Python programming
http://www.google.com/search?hl=en&rls=GGGL,GGGL:2006-22,GGGL:en&sa=X&oi=spell&resnum=0&ct=result&cd=1&q=opengl+python&spell=1
http://pyopengl.sour
[EMAIL PROTECTED] wrote:
> How can I add a method to the int class?
sub class it
>>> class MyInt(int):
>>>def times(self,multiple):
>>> return self * multiple
>>>
>>> a = 2
>>> print a
2
>>> a = MyInt(2)
>>> print a
>>> 2
>>> print a.times(2)
4
--Cheers
--
h
greenflame wrote:
> I want to make a function that does the following. I will call it
> thefunc for short.
>
> >>> s = "Char"
> >>> thefunc(s)
> >>> s
> '||Char>>'
>
> I tried the following
>
> def thefunc(s):
> s = "||" + s + ">>"
>
> The problem is that if I look at the string after I apply
Alex Martelli wrote:
> Istvan Albert <[EMAIL PROTECTED]> wrote:
>
> > Stéphane Ninin wrote:
> >
> > > Is a lock required in such a case ?
> >
> > I believe that assignment is atomic and would not need a lock.
>
> Wrong, alas: each assignment *could* cause the dictionary's internal
> structures to
Stéphane Ninin wrote:
> Hello,
>
> Probably a stupid question, but I am not a multithreading expert...
>
> I want to share a dictionary between several threads.
> Actually, I will wrap the dictionary in a class
> and want to protect the "sensitive accesses" with locks.
>
> The problem is I am not
gel wrote:
> >
> > Do you have any docs that might help me?
the only information i have is from using help(wmi.WMI) and from the
examples on Tim Golden's website
>
>
> What would be the best way to watch for multiple pieces of software at
> the same time, eg. watching for the start up of calc.ex
gel wrote:
> placid wrote:
>
> > gel wrote:
> > > gel wrote:
> > >
> > > > Below is how it is down with vbscript. What is the best way to convert
> > > > this to python?
> > > >
> > > > strComputer = "."
gel wrote:
> gel wrote:
>
> > Below is how it is down with vbscript. What is the best way to convert
> > this to python?
> >
> > strComputer = "."
> > Set objWMIService = GetObject("winmgmts:" _
> > & "{impersonationLevel=impersonate}!\\" & strComputer &
> > "\root\cimv2")
> > Set colMonitore
Maximilian Michel wrote:
> Hi all,
>
> I have an interesting problem:
> I have written code, that reads a logfile and parses it for date string
> (Thu Jun 29 14:01:23 2006).
> Standalone everthing works fine, all is recognized.
>
> But if I let the same code run in a thread, with the same file as
Jim Segrave wrote:
> In article <[EMAIL PROTECTED]>,
> valpa <[EMAIL PROTECTED]> wrote:
> >I'm a net admin for about 20 unix servers, and I need to frequently
> >telnet on to them and configure them.
> >It is a tiring job to open a xterm and telnet, username, password to
> >each server.
>
> Don't
Vlad Dogaru wrote:
> Hello,
>
> I would like to learn web scripting with Python (sure, everyone uses
> PHP, but I don't like the syntax and Python is more general-purpose
> and... well, I guess you people know the advantages better than me).
> Where can I get a thorough introduction to both CGI an
Hi all,
Im having trouble with the following code for handling GET requests
from a client to my HTTP server. What i want to do is restrict access
only to a folder and contents(files) within this folder. But when
trying to
open files (eg text files) i get file not found error from send_head()
metho
Hi all,
Im having trouble with the following code for handling GET requests
from a client to my HTTP server. What i want to do is restrict access
only to a folder and contents(files) within this folder. But when
trying to
open files (eg text files) i get file not found error from send_head()
metho
Bo Yang wrote:
> Hi everyone ,
> I have join this list for about 4 months , and everyday I receive
> hundreds of
> mails . There is no means to read all of them , so I just read something
> interesting
> for me . But if so , there are too much mails pile up in my inbox , I
> want to ask
> how do y
Simon Forman wrote:
> ...
> >
>
> Awesome! Glad to hear it.
>
> ...
> >
> > Thanks for the help. I got it to work now.
> >
>
> You're welcome. I'm glad I could help you. :-D
>
Im having trouble with the following code for handling GET requests
from a client to my HTTP server. What i want to do
1 - 100 of 137 matches
Mail list logo