Jeremy Sanders wrote:
> Is it possible to implement some sort of "lazy" creation of objects only
> when the object is used, but behaving in the same way as the object?
>
> For instance:
>
> class Foo:
> def __init__(self, val):
> """This is really slow."""
> self.num = val
>
> # this d
chris wrote:
> I'm looking for a completely in-memory sql db. I have seen gadfly, but
> its startup method seems to require a directory for the on-disk file
> storage. I have a script and I want to create a database/tables in the
> script, insert some data (not much), and execute some queries, al
[EMAIL PROTECTED] wrote:
>>I found LGT http://lgt.berlios.de/ but it didn't seem as if the
>>NanoThreads module had the same capabilites as stackless.
>
> What specific capabilities of Stackless are you looking for, that are
> missing from NanoThreads?
While I can't speak for the OP, isn't it the
Gopal wrote:
> Hello,
>
> I'm Gopal. I'm looking for a solution to the following problem:
>
> I need to create a text file config.txt having some parameters. I'm
> thinking of going with this format by having "Param Name - value". Note
> that the value is a string/number; something like this:
>
Adriano Monteiro wrote:
> I'm making a little research project about programming languages e
> their respective IDEs. The goal is to trace each language silhouettes,
> where it fits better, their goods/bads and the costs of developing in
> this language.
You say this as though each language ha
Collin Winter wrote:
> On 9/23/05, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
>>__builtins__ is a CPython implementation detail. why not just let it
>>be an implementation detail, and refrain from using it? it's not that
>>hard, really.
> Given, but I fail to see why it can't be a consistent imple
Collin Winter wrote:
> The difference between __builtins__ and the other __*__ names is that
> while the others shouldn't be used without understanding their
> purpose, the consensus on __builtins__ seems to be that it shouldn't
> be used at all.
>
> ... at the very
> least, users should be expli
Charles wrote:
> I'm doing some investigations on the Python language.
> I'd like to know if it is possible to compile Python code made for the
> web (an online database for instance), and to run it using mod_python.
> How is it possible? I think it would be very fast to execute the code
> if
Paul Rubin wrote:
> Peter Hansen <[EMAIL PROTECTED]> writes:
>>If you focus on IDEs, your research will have pre-selected only
>>certain kinds of programmers and teams, and will not necessarily
>>include the best ones.
>
> It wouldn't have occurred to m
Kalle Anke wrote:
> On Fri, 23 Sep 2005 23:01:18 +0200, Larry Bates wrote:
>
>>but I'm not sure it is "better". I guess it depends
>>on what you want to do with them after parsing.
>
> Sorry, I should have been clearer. I want to parse the date and create a
> 'date object' that is a part of lar
Kalle Anke wrote:
> Better (in this case) =
>
> + Being "pythonic"
>
> + Avoiding going through a second representation (the tuple)
> if there is some way to create a date object directly.
I think the plainest and simplest approach would be to create a
well-named function which does the
Tor Erik Sønvisen wrote:
> How can I determine the type of a socket (TCP or UDP) object?
In what context? Do you have some code that gets passed a socket object
but it could have been created with either SOCK_STREAM or SOCK_DGRAM?
And you want a way of determining by looking just at the object
Reinhold Birkenfeld wrote:
> Peter Hansen wrote:
>>Tor Erik Sønvisen wrote:
>>>How can I determine the type of a socket (TCP or UDP) object?
>>Let's see... what looks good here?
>>
>> >>> u._sock
>>
>> >>> t._sock
>>
&
Tuvas wrote:
> What exactly does the ^ operator do? I've seen, for example, that
> 3^4=7, 3^5=8. but 3^3=0. Is it just adding them together if they are
> not equal, and if they are equal, outputs 0, or what? Thanks!
It performs an "exclusive-OR" (XOR) operation on the binary data
corresponding to
Neal Becker wrote:
> How can I write code to take advantage of new decorator syntax, while
> allowing backward compatibility?
>
> I almost want a preprocessor.
>
> #if PYTHON_VERSION >= 2.4
> @staticmethod
> ...
>
> Since python < 2.4 will just choke on @staticmethod, how can I do this?
It seem
Berthold Höllmann wrote:
> As I understand it, ctypes is not really a solution. The code is about
> data handling and FE analysis. It has not GUI component. I'm not sure
> how well ctypes works with Numeric arrays, but I'm sure ctypes does
> not work on Linux and Solaris, but my code has to.
Neith
Fredrik Lundh wrote:
> (for python, the "private" memory use is usually ~1.5 megabytes for a "empty"
> 2.4
> process, and some of that will only occupy space in the paging file... for
> firefox with
> a simple page loaded into a single tab, the private space is ~10 megabytes)
I believe a relati
Stéphane Ninin wrote:
> Traceback (most recent call last):
> File "main.py", line 8, in ?
> main()
> File "main.py", line 5, in main
> handler = HandlerFactory().makeHandler(command)
> File "c:\ROOT\Handlers\HandlerFactory.py", line 6, in HandlerFactory
> import Handlers.Default.H
Russell Warren wrote:
> Does anyone know how long it takes for time.clock() to roll over under
> win32?
>
> I'm aware that it uses QueryPerformanceCounter under win32... when I've
> used this in the past (other languages) it is a great high-res 64-bit
> performance counter that doesn't roll-over f
Peter Corbett wrote:
> I've written a program to illustrate a few... syntactic issues with
> Python. It's 158 <80 character lines long.
>
> About how short should a program be to be postable to this newsgroup -
> in other words, at what length should you stick it on a web page and
> post a link?
Jeff Schwab wrote:
> ChiTownBob wrote:
>
>> Perl just sucks, as all good Python hackers know!
>
>
> I disagree. Perl has saved my butt more times than I care to count.
> Python certainly has its advantages, but I won't be giving up Perl any
> time soon.
Are the two necessarily in conflict?
Fredrik Lundh wrote:
> Peter Hansen wrote:
>>Does it really have to be 158 lines to demonstrate these few issues? I
>>for one almost never take the time to dig through 158 lines of someone
>>else's code, partly on the assumption that almost any interesting issue
>
Dave Benjamin wrote:
> Tor Erik Sønvisen wrote:
>> I need to browse the socket-module source-code. I believe it's
>> contained in the file socketmodule.c, but I can't locate this file...
>> Where should I look?
>
> You can browse the Python CVS tree here:
> http://cvs.sourceforge.net/viewcvs.py/
Ivan Shevanski wrote:
> Here's a noob question for everyone (I'm not sure if my first message
> got through, is had a "suspicious header" so sorry for double post is
> so), is there a way to turn off syntax warnings or just make them not
> visible?
Not sure... what's a "syntax warning"?
Python
Robert Kern wrote:
> Peter Hansen wrote:
>>Not sure... what's a "syntax warning"?
>
> In [1]: SyntaxWarning?
> Type: classobj
> String Form:exceptions.SyntaxWarning
> Namespace: Python builtin
> Docstring:
> Base class for
Martin v. Löwis wrote:
> Trent Mick wrote:
>
>>It is possible that the python.org installer didn't overwrite the
>>"python24.dll" in the system directory (C:\WINDOWS\system32). Try doing
>>this:
>
>
> Even though this is apparently what happened, I'm puzzled as to why it
> happened: shouldn't th
Gerrit Holl wrote:
> True. However, most mail to this mailinglist has less than 0.001 spam
> probability. As you can see, this one had 0.048 - a vast score, almost
> enough to put it in my unsure box. It seems to be just not hammy enough.
> It's interesting to see that no none of the foul language
Kay Schluehr wrote:
> By the way I noticed also a few reasonable non-troll postings of Xah
> without any response in the forum. Not even Xahs posting strategy is
> coherent.
Really? Every one I've noticed has actually had a response, and a
reasonably civil one at that. Usually from Steve Holden
Alex wrote:
> Thanks for the replies. It seems that I have three options
> 1. app=MyApp()
> 2. app=MyApp(0)
> 3. app=MyApp('myfile.txt')
I just want to emphasize the part of vincent's reply in which he points
out that using the keyword arguments makes this more readable.
If more examples and act
27;t equate that with being dumb - just dumb luck :-)
>
> Message-ID: <[EMAIL PROTECTED]>
>
> After all Peter Hansen suggested the search terms "python socketmodule.c"
> rather than just "socketmodule.c"
>
> Message-ID: <[EMAIL PROTECTED]>
>
Peter wrote:
> Although the wxPyWiki seems to be pronounced wix-pee-wi-kee (as it says
> on the front page) so maybe it is pronounced wix-Python... you never
> know...
That's _definitely_ how it's pronounced.
Here.
Where I am.
When I'm speaking.
If, however, we're near Mike Fletcher and he's
Harald Armin Massa wrote:
> """
> What is Python?
>
> Python is an interpreted, interactive, object-oriented programming
> language. It is often compared to Tcl, Perl, Scheme or Java.
> """
> taken from
> http://www.python.org/doc/Summary.html
>
> maybe someone could update that???
Maybe we shou
Ville Voipio wrote:
> I am not building a redundant system with independent
> instruments voting. At this point I am trying to minimize
> the false alarms. This is why I want to know if Python
> is reliable enough to be used in this application.
>
> By the postings I have seen in this thread it se
dcrespo wrote:
> Two copies of the password: one on the client, the other on the server.
[snip]
> I think it is a very good solution, Isn't it?
Ignoring all the other issues, any solution which actually requires the
password to be stored on the server is a bad solution. Administrators
should no
Tuvas wrote:
> How exactly do you do that? Just to get some kind of an idea, perhaps
> you could share bits of code? Thanks!
Did you check out the ctypes web site before asking? See
http://starship.python.net/crew/theller/ctypes/ and at least read
through the helpful tutorial before asking ques
Mike Meyer wrote:
> Out of random curiosity, is there a PEP/thread/? that explains why
> Python symbols are restricted to 7-bit ascii?
And of equally random curiosity :-), what alternative(s) can you suggest
would have been appropriate? (I note that Unicode, for example, dates
from around the t
Sebastian Bassi wrote:
> I don't understand why there is a new expression, if this could be
> accomplished with:
>
> if C:
> X
> else:
> Y
>
> What is the advantage with the new expression?
It actually is an expression, whereas your example shows a statement (so
"this" could _not_ be accompli
Steve Holden wrote:
> And we definitely need "agile" in there. Bugger, I'll go out and come in
> again ...
Used in the same breath as the word "bugger", I'm not sure the phrase
"go out and come in again" is entirely appropriate for a family forum. ;-)
But I'm also not sure I ought to post that
Laszlo Zsolt Nagy wrote:
> Peter Hansen wrote:
>> Ignoring all the other issues, any solution which actually requires
>> the password to be stored on the server is a bad solution.
>> Administrators should not have access to user passwords, and in
>> addition use
Peter Hansen wrote:
> But I'm also not sure I ought to post that to the group, so I'll spare
> them and just inflict the thought on you!
Or, maybe I'll just fail to trim the newsgroup line and accidentally
post to the group anyway. Yes, that's just what I'l
Dave Hansen wrote:
> So lose the "if."
>
>R = C then A else B
It would be nice (in my opinion) if this were the way it was going to
be. Having one of the two results come first makes that result seem
somehow of primary importance, while the conditional (which in my mind
is far more import
John Waycott wrote:
> I wrote a simple Python program that acts as a buffer between a
> transaction network and a database server, writing the transaction logs
> to a file that the database reads the next day for billing. The simple
> design decoupled the database from network so it wasn't stres
dcrespo wrote:
> then, what you proppose?
I'll assume that question was for me, in response to my comment that one
should never store passwords in the clear.
Do you know how any other system manages to do this? Linux, for example
(assuming a properly configured system)? The passwords aren't s
tin gherdanarra wrote:
> what is a "slot" in python?
Google for "site:docs.python.org slots":
http://www.google.ca/search?q=site%3Adocs.python.org+slots
First hit...
-Peter
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
\> I'm able to create a new zipfile with the module's ZipFile class and
> add files to it. After closing the file, I'm able to view the contents
> of it with WinZip. I can also confirm that it is a python zip file by
> using the is_zipfile() method. All good so far. How
Ben wrote:
> Could anyone suggest an open source project that has particularly well
> written Python? I am especially looking for code that people would
> describe as "very Python-ic". (Not trying to start any kind of war -
> just wanted some good examples of a well written Python app to read.)
Erik Max Francis wrote:
> The negative integers are being descriminated against! I demand justice!
>
> def integers():
> yield 0
> x = 1
> while True:
> yield x
> yield -x
> x += 1
>
> ... which is also not a bad demonstration of ho
Christian Stapfer wrote:
> 0.0. ... and add an item to your SendTo folder that allows
> you to have Windows Explorer open a terminal window with its
> current directory set to the currently displayed folder
> (= "Open terminal here").
Or install the "Command Prompt Here" gadget that MS produces, w
[EMAIL PROTECTED] wrote:
> When I use Pyparallel to access the parallel port in WinXP with Python
> I get an error saying that this is a priviledged instruction
>
> Any clue ?
Here's a clue: please always cut and paste the *entire actual* traceback
when you report a Python error.
If it's not a
dcrespo wrote:
> How can I get a raised exception from other thread that is in an
> imported module?
Define what "get" means for your purposes. It appears that you mean you
want to catch the exception, but in the thread which launched the other
thread in the first place. If that's true, please
[EMAIL PROTECTED] wrote:
> I also need an answer to this problem.
What _is_ the problem? We're still waiting for a clear description from
the OP as to what the problem really is. How would you describe what
_your_ problem is?
> I'm using windows. Throwing an
> exception in thread B from t
[EMAIL PROTECTED] wrote:
> Nevermind. I found a better solution. I used shared memory to create
> a keep-alive flag. I then use the select function with a specified
> timeout, and recheck the keep-alive flag after each timeout.
As Dennis points out, your original attempt was destined to fail be
dcrespo wrote:
>>Define what "get" means for your purposes. It appears that you mean you
>>want to catch the exception, but in the thread which launched the other
>>thread in the first place. If that's true, please show where you would
>>expect to catch this exception, given that when you start t
Helge Stenstroem wrote:
> Say I have a function
>
> def f(filename):
> result = openFileAndProcessContents(filename)
> return result
>
> Can that function be unit tested without having a real file as input?
> Something along the lines of
>
> import unittest
> class tests(unittest.TestCas
Robert Hicks wrote:
> No, I have to format fields and everything sad to say. Another poster
> up the chain of this posting gave me the nudge in the direction I
> needed.
Doesn't Excel also support (in addition to binary .xls and simple text
.csv files) an XML format, which allows full access to f
Xah Lee wrote:
> If you think i have a point, ...
You have neither that, nor a clue.
(Newsgroups line trimmed to reduce the effects of cross-posting trolls.)
-Peter
--
http://mail.python.org/mailman/listinfo/python-list
dcrespo wrote:
>>Before, after, or during the .start() call, or somewhere else?
> I'd like to catch *just after* the .start() call.
Excellent. That makes it pretty easy then, since even though you are
spawning a thread to do the work, your main thread isn't expected to
continue processing in pa
dcrespo wrote:
> Ok, sorry about the above question. I solved it adding this to the main
> thread:
>
> try:
> SrvrTCP = module.ThreadedTCPServer(ip,port)
> SrvrTCP.start()
> except Exception, description:
> MsgBox(self,"TCPServer
> Error:\n\n"+str(description),title="TCPServer",style=w
Madhusudan Singh wrote:
> I just tried
>
> n=str(x)
> print struct.unpack("b",n)
>
> I get (51,)
>
> What is the deal with the parenthesis
> and the comma ?
If you really don't know what the parentheses and comma mean in the
above output, I would suggest that you need to go back a step and wa
Bryan wrote:
> Dave Cook wrote:
>> Cale? You mean Python has more ruffage?
>
> i think you mean "kale" not "cale". nothing like a hot bowl of tofu
> kale soup while reading the recipes in the "python cookbook".
Well, if he's going to talk about "ruffage" instead of "roughage",
perhaps he real
Jonathan Ellis wrote:
> I'm working on an application that makes heavy use of Queue objects in
> a multithreaded environment.
>
> By "heavy" I mean "millions of calls to put and get, constituting ~20%
> of the app's run time." The profiler thinks that a significant amount
> of time is spent in th
Mathias Dahl wrote:
> I have created a small Python program that is running on my desktop.
>
> How can I make it listen for a certain keypress (say, Windows-key +
> space) in a controlled fashion even when it is not the program having
> focus?
>
> I need to do this running under GNOME in Mandrake
Mathias Dahl wrote:
> Peter Hansen <[EMAIL PROTECTED]> writes:
>>>How can I make it listen for a certain keypress (say, Windows-key +
>>>space) in a controlled fashion even when it is not the program having
>>>focus?
>>>
>>>I need to do this ru
Jason Lai wrote:
> As far as Queues go, the adding/popping is apparently done with deque
> which are implemented in C. The Queue class pretty much just provides
> blocking operations and is otherwise a very thin layer around deque. As
> far as primitives go, only threading.Lock is written in C and
[EMAIL PROTECTED] wrote:
> i get the following error message when i use py2exe on my application:
>
> The following modules appear to be missing
> ['_ssl', 'ext.IsDOMString', 'ext.SplitQName']
>
> I've installed PyXML-0.8.4.win32-py2.4.exe. My version of python is 2.4
> I've checked in the pyxml
Stuart McGraw wrote:
> I have a wxPython app, conventionally structured
> with a Application class derived from wx.App.
> My problem is that the app accepts a command
> line argument that must be acted upon within the
> OnInit() method of the Application class. How do
> I pass it cleanly from main
Gonnasi wrote:
> With
>>glob.glob("*")
> or
>>os.listdir(cwd)
>
> I can get a combined file list with directory list, but I just wanna a
> bare file list, no directory list. How to get it?
Using Jason Orendorff's path module, it's just this:
>>> from path import path
>>> path('.').files() # r
leasun wrote:
> Anybody knows which version bsddb is released with py2.3 and py2.4?
Is this what you wanted?
Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)] on
win32
>>> import bsddb
>>> bsddb.__version__
'4.3.0'
I'll leave it up to you to do the work to find out what it is
Stuart McGraw wrote:
> I simplied the my code for posting. In my real program, the
> thing being passed is not a command line argument per se,
> but the result of signifigant processing dependent on the
> command line argument. I do not want to repeat that
> processing in the wx.App method.
> W
[EMAIL PROTECTED] wrote:
> Is there standard library modules handling this ? currently I need to
> turn it into a long integer and do the shift and compare.
A little Googling turned up this:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/440560
-Peter
--
http://mail.python.org/mailman/
[EMAIL PROTECTED] wrote:
> thanks, that is basically what I am doing and since it is a recipe, I
> would assume there is no standard library module for it.
Well, since a Google search for "site:docs.python.org subnet" turns up
nothing, one would assume not, but it would be hard to prove it withou
Mike Meyer wrote:
> darren kirby <[EMAIL PROTECTED]> writes:
>
>>If all you want is filenames this will work:
>>
>import glob
>files = ["%s" % f for f in glob.glob("*")]
>
>
> What's the point of doing "%s" % f? How is this different from just
> file = [f for f in glob.glob("*")]?
Answe
beza1e1 wrote:
> well, list comprehension is Python 2.4 and 2.3 is the standard in many
> OSes, so it is possibly not the most portable solution
You're probably remembering "generator expressions", which were added in
Python 2.4 and aren't available in earlier versions. They fit in a
similar pl
Philippe C. Martin wrote:
> The following code outputs the actual HTML text to the browser, not the
> interpreted text.
>
> html_ok = """
> Content-Type: text/html\n
> "http://www.w3.org/TR/html4/loose.dtd";>\n
HTTP header lines must end with \r\n, not just with \n. Not sure this
is the soluti
Tim Roberts wrote:
> "PyPK" <[EMAIL PROTECTED]> wrote:
>>What possible tricky areas/questions could be asked in Python based
>>Technical Interviews?
>
> What's the point of asking "tricky" questions? Aren't you really more
> interested in what applications they have worked on and whether they wer
Joerg Schuster wrote:
> I just want to use more than 100 capturing groups. If someone told me
> that it is very unlikely for Python to get rid of the said limitation,
> I would recode part of my program in C++ using pcre.
It is very unlikely for Python to get rid of the said limitation.
-Peter
-
[EMAIL PROTECTED] wrote:
> unfortunately the result from py2exe won't run eventhough the original
> script runs without problems. The trouble is I'm at a loss as to where
> to start looking!
Is there no exception traceback printed? Or some other error when you
run the .exe? It would be very unu
Ernesto wrote:
> So i generated the .exe file "myFile.exe"
>
> This is a Windows - text based application. Right now, when I run:
>
> import subprocess
> subprocess.call("myFile")
>
> the application starts in its own console window. Is there a way for
> it to run inside the python interface?
Joerg Schuster wrote:
> So what?
Search in http://docs.python.org/lib/re-syntax.html for "99" and read
the following sentence carefully.
-Peter
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> Hi,
>
> yes of course the traceback could be helpfull so here it is...
>
> Traceback (most recent call last):
> File "App1.py", line 6, in ?
> File "Frame1.pyc", line 16, in ?
> File "brain.pyc", line 4, in ?
> File "xml\dom\ext\reader\__init__.pyc", line 20, in
David wrote:
> I'm wondering if python is capable of fairly precise timing and also sending
> data out the parallel port.
>
> For example ; making a 7.5 KHz square wave come out of one of the data pins
> on the printer port.
>
> I've tried to help myself with this one but searching in the "Python
David Poundall wrote:
> Just sorted (its always the way when you post isn't it)
>
> But the count isn't doint what I expected. I was after a increment
> after every time the class was used ireespective of instance.
I have no idea what that last sentence above means...
> Instead
> I get a coun
[EMAIL PROTECTED] wrote:
> if name not in expected_form1_kwargs:
> raise ValueError, "Unrecognized keyword" + name
> elif name in expected_form1_kwargs not in kwargs.keys():
> kwargs.update(name=None)
Do you mean this instead?
elif name in expected_fo
Martin wrote:
>I would like to place a message in an uninstaller window which will
> inform the user that some folders haven't been deleted. Is that possible
> using
> Inno Setup?
Probably, but this newsgroup is for discussion of Python. Unless you
have some kind of Python angle to your que
Mike Meyer wrote:
> Xah Leh is incompetent, but
> apparently well-intentioned.
In your view is that ("well-intentioned") an established fact at this
point? I was still waiting for conclusive evidence. So far the
evidence appears rather strongly in favour of a verdict of true
trollism, which
Karlo Lozovina wrote:
> [EMAIL PROTECTED] (=?utf-8?Q?Bj=C3=B6rn_Lindstr=C3=B6m?=) wrote in
> news:[EMAIL PROTECTED]:
>
>>If you need it to be SQL-like, SQLite seems to be the right thing.
>
> Tried that one, but had some problems setting things up. On the other
> hand, BerkeleyDB + Pybsddb work
David Wahler wrote:
> Also, I can't find any references for this "QImage Camera". Could you
> post some additional information?
Trying "Qimaging" instead.
--
http://mail.python.org/mailman/listinfo/python-list
Walter Brunswick wrote:
> What is the best way to import all modules in a directory
> (and possibly a subdirectory/subdirectories), possibly including
> conditionals, such as regexes?
The "best" was, as always, depends on what your use case is. Why do you
want to do this? What will you do wi
Walter Brunswick wrote:
> The purpose is rather irrelevant.
The purpose of something is not only relevant but essential when someone
asks for the "best" way to do it.
For example, without knowing anything of your purpose, I could simply
say that writing a module with a series of import stateme
Thomas W wrote:
> I've produced a "binary" version of a python-script using Py2Exe and
> when run on WinXP it shows a terminal window for a brief moment then
> the window disappears. How can I avoid this? I want the script to run
> without being visible at all.
You probably used the "console" opti
Steve Holden wrote:
> My experience on Cygwin was that I had to install sqlite before pySqlite
> worked.
So although the Windows install of Pysqlite bundles a .pyd that includes
the statically linked sqlite library, other platforms do not? I agree
that would represent a potentially annoying
Levi Campbell wrote:
> Hi, I'm working on a random number generator using the internet as a
> way to gather entropy, I have two questions.
>
> 1. is there a way to capture the internet stream?
What specifically do you mean by the term "internet stream" here?
Generally speaking, the internet is n
DaBeef wrote:
> I have been coding for 5 years. This is a proprietary protocol, so it
> is difficult converting. I did this in java but was just able to
> convert a stream.
What exactly did you do in Java to get the results you want?
Python's library is certainly *not* "limited" in this area,
ice wrote:
> I am a fresh here , and I have no idea of it.
> Do you have any comments?
Why do you want to write your own system? There are already lots of
blog programs written in Python which you could just use, or customize.
-Peter
--
http://mail.python.org/mailman/listinfo/python-list
Steven D'Aprano wrote:
> On Thu, 03 Nov 2005 15:51:30 +, Grant Edwards wrote:
>>
>>I've never heard of anybody using the data as source of
>>entropy.
>
> Me neither, but the original poster did ask how to read every nth byte
> of "the Internet stream", so I assumed he had something like that
[EMAIL PROTECTED] wrote:
> i m trying to reverse the order in which the
> strings are stored in list
>
> then pop it into another list
>
> what m i doin worng??
>
> here's the code:
>
> list1 = []
> list2 = []
> list1.extend('123456789')
How about this instead (Python 2.4 or later):
list2 = l
Steven D'Aprano wrote:
> On Thu, 03 Nov 2005 16:40:43 -0500, Peter Hansen wrote:
>>Steven D'Aprano wrote:
>>
>>>On Thu, 03 Nov 2005 15:51:30 +, Grant Edwards wrote:
>>>
>>>>I've never heard of anybody using the data as source of
>&
yaipa wrote:
> I've been asked by my boss to put an Icon in WinXP's "My Computer" for
> a utility we use around the shop. My tool of choice is of course
> Python and therefore what I am using to attempt my given task. I have
> no trouble putting Icons in the WinXP Toolbar using Python, but have
>
BLElliott wrote:
> I think this is a very basic question, so feel free to direct me to a
> FAQ or other resource to go and get myself educated, if that's the best
> answer.
>
> Can I perform web browser functions from a script, for example, doing
> file downloads, if I can construct the file UR
Jeffrey Schwab wrote:
> Xah Lee wrote:
>
>> i've read the official Python tutorial 8 months ago, have spent 30
>> minutes with Python 3 times a week since, have 14 years of computing
>> experience, 8 years in mathematical computing and 4 years in unix admin
>> and perl
>
> I can wiggle my ears.
1 - 100 of 1557 matches
Mail list logo