John Salerno enlightened us with:
> That sounds like just what I want, except do I have to write my code
> in Jython? Can't I just use regular Python?
I wouldn't know, never used Python ;-)
Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stu
nummertolv enlightened us with:
> myString = "bar\foo\12foobar"
Are the interpretations of the escape characters on purpose?
> How do I print this string so that the output is as below?
>
> bar\foo\12foobar
Why do you want to?
> typing 'print myString' prints the following:
>
> baroo
> foobar
[EMAIL PROTECTED] enlightened us with:
> i am new to learning jython...
And to python, obviously
> i just tried compiling a small piece of code that is given below:
>
> def fac(x)
> if x<=1:return 1
> return x*fac(x-1)
You need to write 'def fac(x):'.
Sybren
--
The problem with the world is
Lad enlightened us with:
> Can anyone give an example how to send email with non-ascii
> characters( both in subject and body). I would like to use
> windows-1250 code page
I'd use Latin-1 or UTF-8, since they are both cross-platform instead
of windows-specific...
Sybren
--
The problem with the
Lad enlightened us with:
> and can give me an example of Python code that can send such
> email??
Not really, but I'm sure this will help you. In fact, my last name has
an umlaut on the 'u'. This is the From header in my emails, encoded in
Latin-1:
From: Sybren =?iso-8859-1?Q?St=FCvel?= <[EMAIL
Lad enlightened us with:
> Body='Rídících Márinka a kolák Kája
> Marík'.decode('utf8').encode('windows-1250')# I use the text written
> in my editor with utf-8 coding, so first I decode and then encode to
> windows-1250
Why would you do that? What's the advantage of windows-1250?
Sybren
--
The
SamFeltus enlightened us with:
> PS. Here is an example...
>
> http://sonomasunshine.com/sonomasunshine/FrontPage.html
The HTML version of that site is crap, by the way. Check out
http://sonomasunshine.com/cgi-bin/old_school.py?pagename=FrontPage
The HTML is sent as text/plain, and if interpret
Xah Lee enlightened us with:
> is there a module that lets me parse validated html files and store
> it as a tree?
http://docs.python.org/lib/module-xml.dom.html
Assuming you're using XHTML.
Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for s
SamFeltus enlightened us with:
> By the way Sybren, if you don't mind, what kinda computer and
> browser were you using, trying to figure out which browsers get
> redirected to html and which get the Flash Site.
Mozilla Firefox 1.5, on Ubuntu Linux Breezy.
> If you have Flash plugin, what version
Hi there,
I'm experimenting with PIL to create a PostScript file. The end result
should be an EPS file with a couple of bar graphs.
At this moment, I have a very simple piece of code:
ps = PIL.PSDraw.PSDraw(file('demo.ps', 'w'))
ps.begin_document()
ps.rectangle((0, 0, 650, 150))
Kjell Magne Fauske enlightened us with:
> PIL is, as far as i know,primarily a tool for creating and
> manipulating raster graphics.
I was afraid of that.
> If you want to create eps vector graphics with Python I recommend
> PyX:
That looks exactly what I was looking for. Thanks a lot!
Sybren
-
John Salerno enlightened us with:
> To me, the space makes it nicer and more readable, but I was
> surprised to read in Guido's blog that he thinks 1+2 should be the
> normal way to write it. What does everyone else think?
I usually write 1 + 2 and func(a, b). Sometimes I even use more spaces
to a
John Salerno enlightened us with:
> Guido listed a few rules that he'd like to see implemented in 2.5,
> and one of them was no more than one consecutive white space. I
> don't know how realistic some of those suggestions are, but they
> seem to be getting a little to restrictive.
I just read the
Scott David Daniels enlightened us with:
> One reason is such code changes too much on code edits, which makes
> code differences hard to read.
Good point. I'll keep it in mind :)
Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, bu
rtilley enlightened us with:
> I took it literally when I first read it b/c it made sense to me and
> I did not notice the date. I don't think it will ever be _required_
> of all Python hackers, but I may be wrong.
Well, part of it is a serious PEP. It being _required_ was the joke.
Sybren
--
Th
Laszlo Zsolt Nagy enlightened us with:
> How can I convert a dictionary into a HTTP POST string? I have an
> example below, but this is not working correctly for special
> characters. (" ' and others).
URL-quote it.
> In other words, if I use "Bessy's cat" instead of "Bessy" then the
> http serv
Joel Hedlund enlightened us with:
> regexp = re.compile(r"<(tag1)>(.*)")
I'd go for
regexp = re.compile(r"<(tag1)>(.*?)")
Otherwise this:
line = "sometextothertext"
match = regexp.search(line)
will result in 'sometextothertext'
Sybren
--
The problem with the world is stupidity. Not saying t
Iain King enlightened us with:
> i = 0
> for object in list:
> objectIndex = i
> print objectIndex
> i += 1
Why not:
for index, object in enumerate(list):
print index
Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity
Laszlo Zsolt Nagy enlightened us with:
> The values of some inputs are encoded using html entities. How can
> I decode a string like "Bessy's cat" in "Bessy's cat"?
This should help:
http://docs.python.org/lib/module-htmlentitydefs.html
Sybren
--
The problem with the world is stupidity. Not sa
Magnus Lycka enlightened us with:
> Think particularly about using version management systems and
> applying patches coming from different sources etc.
I was :)
> Finally, if you end up with something like...
>
> a= 1
> b
Torsten Bronger enlightened us with:
> I already know how to do that in principle. My only concern is
> distributing the thing, especially for the Windows platform.
Check out distutils and py2exe.
Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment
[EMAIL PROTECTED] enlightened us with:
> i have a result tuple from a MySQLdb call that would like to change in
> place..
>
> i would like to copy it to a list, so i can modify it in place, but i
> cannot figure out how to do it.
dataResults = (1, 2, 12)
dataList = list(dataResults)
Sybren
--
Th
[EMAIL PROTECTED] enlightened us with:
> I see that Python is missing "interfaces".
No it isn't. It just hasn't got them.
> The concept of an interface is a key to good programming design in
> Java, but I've read that they aren't really necessary in Python.
> In Java I would accomplish this by
[EMAIL PROTECTED] enlightened us with:
> I am using Linux env.I set the PYTHONPATH using
>
> import sys
> sys.path.append()
>
> But we i close python and start again i is not showing my new entry in
> PYTHONPATH.
> Can anyone help me to make my path persistant?
Add the following to /etc/prof
John Salerno enlightened us with:
> Interesting. I tried the *2 method twice, but I kept getting weird
> results, I guess because I was using append and not extend. I
> thought extend added lists to lists, but obviously that's not the
> case here.
[100].extend([90]) -> [100, 90]
[100].append([90])
[EMAIL PROTECTED] enlightened us with:
> ?z?n?A
> ?O?o?A?e???b???s "Mining Google Web Services
>: Building Applications with
> the Google API"[EMAIL PROTECTED] 6??"Using SQL Server as a
> Database"??
> ?M?B?A???q???w?g?w??SQL Server 2000
> sp4?A?b?d???{?A.net?X
[EMAIL PROTECTED] enlightened us with:
> Some people like and use them often (like those ones coming from
> Pascal-like languages, etc), some other people (like those coming
> from C-like languages like Java) use them rarely and like classes
> more. Python can choose to have just one way to solve
Paul Sijben enlightened us with:
> Googling on this I have found win32 implementations and Twisted
> implementations yet I am looking for a way to do it on Linux WITHOUT
> Twisted.
Twisted is Open Source, so you could browse the source and see how
they do it.
Sybren
--
The problem with the world
Pramod TK enlightened us with:
> 1. Does python support IPv6? [128 bit IP addresses?]
Yes.
> 2. Does it support setting of QoS flags?
No idea.
> 3. Does it support tunneling of IPv6 on a IPv4 network?
IIRC that's the OS's job, not Python's.
> 4. If an IPv4 address is given, does it support th
Paul Sijben enlightened us with:
> You are right of course but I was hoping to avoid that. Twisted is
> very large and has all kinds of internal dependencies.
Yeah, but I wouldn't know any other way, sorry... :-/
Sybren
--
The problem with the world is stupidity. Not saying there should be a
cap
Micah enlightened us with:
> I'm looking for a simple tree implementation: 0-n children, 1 root.
> All the nice methods would be appreciated (getLeaves, isLeaf,
> isRoot, depthfirst, breadthfirst,...) That's really all I need. I
> could code one up, but it would take time to debug, and i'm really
Micah enlightened us with:
> I'm looking for a simple abstract-data-type tree. I would have thought
> there would be a built-in type, but I can't find one. I just need to
> be able to start from a root node and attach children from there. I
> could jury-rig one using a dict or some tuples, but I
[EMAIL PROTECTED] enlightened us with:
> thanks..and sorry, i am using the web version of google groups and
> didn't find an option i can edit my post
It's usenet, you can't edit posts.
> so i just removed it..
Which doesn't work at all. Stupid thing they allow you to try and
delete something o
[EMAIL PROTECTED] enlightened us with:
> I'm creating a small application in Python that uses lists and
> dictionaries to create a rudimentary database. I'd like to create
> some "fill-in-the-blanks" reports from this data, ideally by taking
> an RTF or plaintext file as a template and replacing pl
Florian Lindner enlightened us with:
> how can I get all subdirectories of a given directories?
> os.listdir() gives me all entries and I've found no way to tell if
> an object is a file or a directory.
Why, doesn't your os.path.isdir() function work?
Sybren
--
The problem with the world is stup
John J. Lee enlightened us with:
> Of course, remembering that the first thing to ask in response to
> "is it secure?" is "against what?", for lots of purposes it just
> doesn't matter that it ignores certificates.
I'm curious. Can you give me an example? AFAIK you need to know who
you're talking
Edward Elliott enlightened us with:
> Encryption has multiple meanings. In the general sense, it
> encompasses all of cryptography and the information security
> properties crypto provides.
And if you already know who'll get the message, it's secure. I get it
:)
Thanks for the nice read ;-)
>
[EMAIL PROTECTED] enlightened us with:
> However, I wonder why L.sort() don't return the reference L, the
> performance of return L and None may be the same.
It's probably because it would become confusing. Many people don't
read the documentation. If L.sort() returns a sorted version of L,
they w
BartlebyScrivener enlightened us with:
> Using Python on Windows XP, I am able to get almost all file and
> path info using os.path or stat, but I don't see a way to retrieve
> the file type? E.g. Microsoft Word file, HTML file, etc, the
> equivalent of what is listed in the "Type" column in the Wi
Leo Breebaart enlightened us with:
> I think the main reason why I am not using it by default is because,
> when all is said and done, it still comes easier to me to resort to
> guarded print statements then to set up and use the logging
> machinery.
The logging "machinery" isn't that huge nor is
Leo Breebaart enlightened us with:
> Okay, you say, that's still easy. It's just:
>
> logging.basicConfig(level=logging.DEBUG,
> format='%(message)s')
I always use a separate logger, as per my example. That would then
just require an additional line:
log.setLeveL(logging.DEBUG
Iain King enlightened us with:
> http://compoundthinking.com/blog/index.php/2006/03/10/framework-comparison-video/
>
> Thought this might be interesting to y'all. (I can't watch it 'cos
> I'm at work, so any comments about it would be appreciated :)
It's a nice video, I really enjoyed it. Even th
Sybren Stuvel enlightened us with:
> Perhaps I'll look into Plone for my site in the future ;-)
I take that back. The Plone webserver is hosted by XS4ALL, the best
ISP in The Netherlands, which resides in Amsterdam. I happen to live
in Amsterdam too, so you'd expect the site to be f
Petr Jakes enlightened us with:
> I would like to do "some action" once a minute. My code (below)
> works, I just wonder if there is some more pythonic approach or some
> "trick" how to do it differently.
I'd use the Threading module, and the Timer object from that module to
be more precise. There
[EMAIL PROTECTED] enlightened us with:
> I have a python code which is running on a huge data set. After
> starting the program the computer becomes unstable and gets very
> diffucult to even open konsole to kill that process. What I am
> assuming is that I am running out of memory.
Before acting
Kaz Kylheku enlightened us with:
> I've been reading the recent cross-posted flamewar, and read Guido's
> article where he posits that embedding multi-line lambdas in
> expressions is an unsolvable puzzle.
> [...]
> a = lambda(x, y), lambda(s, t), lambda(u, w): u + w
> statement1
> statem
[EMAIL PROTECTED] enlightened us with:
> My program is a simulation program with four classes and it mimics
> bittorrent file sharing systems on 2000 nodes.
Wouldn't it be better to use an existing simulator? That way, you
won't have to do the stuff you don't want to think about, and focus on
the
Kaz Kylheku enlightened us with:
> In the case of if/elif/else, they have to be placed behind the
> closest suite that follows the expression in the syntax of the
> statement:
>
> if lambda(x)(4) < 0:
> print "a"
> lambda:
> return x + 1
> elif y = 4:
> print "b"
> else:
>
[EMAIL PROTECTED] enlightened us with:
> multi-line lambdas, had it been added to python a long time ago,
> would had reduced a lot of complexity in the language. for example
> - with multi-line lambdas - decorators are unneccesary.
I love decorators.
> just give the multi-line lambda as an argu
[EMAIL PROTECTED] enlightened us with:
> Sure, are there any available simulators...since i am modifying some
> stuff i thought of creating one of my own. But if you know some
> exisiting simlators , those can be of great help to me.
Don't know any by name, but I'm sure you can find some on Google
[EMAIL PROTECTED] enlightened us with:
> this is how I think it should be done with multi-line lambdas:
>
> def arg_range(inf, sup, f):
> return lambda(arg):
> if inf <= arg <= sup:
> return f(arg)
> else:
> raise ValueError
This is going to be fun to debug if anything goes w
AndyL enlightened us with:
> Can I redirect print output, so it is send to a file, not stdout.
Change sys.stdout to a file object.
> I have a large program and would like to avoid touching hundreds of
> print's.
I can suggest using the logging module instead of print. It's much
more flexible tha
AndyL enlightened us with:
> And what if I want to still send the output to stdout and just a log
> it in the file as well?
$ python some_program.py | tee output.log
Or write a class that has a write() function and outputs to a file and
to the original value of sys.stdout (IIRC that's in sys.__st
Kaz Kylheku enlightened us with:
> Which proposed lambda syntax is closest in this sense?
I was talking about different ways (your multi-line lambda vs. the
currently implemented one) of doing function decorators.
> Is it unusual to have a tougher time explaining X than Y to people
> who are lear
Lad enlightened us with:
> I use Python 2.3.
> I have heard about decorators in Python 2.4.
> What is the decorator useful for?
A whole lot of stuff. I've used them for:
- Logging all calls to a function, including its arguments.
- Ensuring there is a database connection before the functio
placid enlightened us with:
>> Did you read the documentation for Queue methods?
>
> there is no need to be patronizing about this dude, im just learning
> Python in my spare time, as im a Intern Software Engineer
There is nothing patronizing about the question, it's merely an
enquiry to a po
placid enlightened us with:
> its always said that (in programming) that the easiest solution to a
> problem is hard to find
Yeah, that's true allright!
Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take th
Martin Blume enlightened us with:
> Another question: Isn't decorating / wrapping usually done at
> runtime, so that the @deco notation is pretty useless (because you'd
> have to change the original code)?
Please explain why that would make the @deco notation pretty useless.
Sybren
--
The proble
Ognjen Bezanov enlightened us with:
> Hi all, I am trying to convert a hexdecimal value to a char using this code:
>
> print ' %c ' % int(0x62)
This is an integer
> this works fine, but if I want to do this:
>
> number = "62"
> print ' %c ' % int("0x" + number)
This is a string ^^^
Jacky enlightened us with:
> I just started learning Python and would like to starting writing
> some web-based applications with Python.
You could check out my web framework, the UnrealTower Engine. It uses
Cheetah as template engine, it's fast and small - it doesn't get in
your way.
http://www.
Duncan Booth enlightened us with:
> That is true so far as it goes, but equally if your editor inserts a
> tab character when you press the tab key it is as broken as though
> it inserted a backspace character when you press the backspace key.
> In both of these cases you have an operation (move to
Duncan Booth enlightened us with:
> It could be, and for some keys (q, w, e, r, t, y, etc. spring to
> mind) that is quite a reasonable implementation. For others 'tab',
> 'backspace', 'enter', 'delete', etc. it is less reasonable, but it
> is a quality of implementation issue. If I had an editor w
Duncan Booth enlightened us with:
> In particular a common convention is to have indentations at 4
> spaces and tabs expanding to 8 spaces.
Aaaw that is SO ugly! Sure, it displays correctly on systems that have
tab stops every 8 spaces given a monospaced font, but that is about
all that is positiv
Duncan Booth enlightened us with:
> It is strange. You use many of the same words as me, but they don't make
> any sense.
You forgot to add "to me" to the end of that sentence. Personally,
Achates' words made perfect sense to me.
> The point is about separating the presentation of the source fil
achates enlightened us with:
> True! but normally if I'm editing someone else's code then I'm only
> making small changes and so can't be bothered to temporarily cripple my
> editor. If I'm merging my code with someone else's space-indented code
> then piping through sed 's/TAB/SPACES' does the tri
Andy Sy enlightened us with:
> Now... if you say you SHOULDN'T mix tabs and spaces (indeed this is
> generally regarded as a BAD idea esp. in Python code)
I indeed say so.
> then WHAT THE HECK do you need to use tab characters in the source
> code for anyway (besides saving a measly few bytes) ??
Andy Sy enlightened us with:
> Like I said, you'll *NEVER* get that fancy shmancy 'semantic
> indentation' idea to work properly in the most basic utilities which
> have the 8-space tabs assumption hardcoded in them.
Fair enough. How much code is viewed with less and cat, and how much
is viewed us
Alex Pavluck enlightened us with:
> Q: As an exercise, write a single string that:
> Procuces
>this
>output.
>
>
> A?
> print "produces",'\n',"\t","this","\n","\t","output."
Just nitpicking, since you already got your answer, but that's not a
s
Dave Hansen enlightened us with:
> Assume the code was written by someone using 4-space tabs. To them,
> the code is:
>
>def sqlcall():
>--->cursor.execute('select id, item, amount, field4,
>--->--->--->--->...'from table1 where amount>100')
>
> (where ---> represents an 4-space t
Heiko Wundram enlightened us with:
> And: the web is a platform to offer _information_. Not to offer
> shiny graphics/sound [...]
Many would disagree...
Not me, but I know a lot of people that would.
Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishm
SamFeltus enlightened us with:
> I am trying to figure out why so little web development in Python
> uses Flash as a display technology.
There are a couple of reasons:
- Flash is bad for websites that are 100% done inside the Flash
movie. In such a case the back-button doesn't work anym
SamFeltus enlightened us with:
> I guess there isn't much to understand. If you are satisfied with a
> text based, static image web, that is light on artistic
> possabilities, all that HTML stuff is acceptable.
You don't need Flash to be artistic.
> Perhaps the HTML/JS group will even get off th
Alex Pavluck enlightened us with:
> SPE is amazing with the intellisense but maybe there is a better
> choice out there.
Check VIM. The newly released VIM 7.0 has smart completion too
(intellisense is a trademark of Microsoft)
Sybren
--
The problem with the world is stupidity. Not saying there s
Duncan Booth enlightened us with:
> Can you point at any significant body of publically visible Python
> code which uses tabs exclusively?
Everything Python at http://www.stuvel.eu/software
> Also, in the open source universe you are quite likely to pull in
> bits of code from other projects, and
Ben Finney enlightened us with:
> Please don't spam here to ask for discussion on another forum, on a
> tangentially related topic.
Hey, it's at least better than asking for a discussion on a
tangentially related topic _here_ ;-)
Sybren
--
The problem with the world is stupidity. Not saying ther
Brian Blazer enlightened us with:
> def getCurrentClasses():
> classes = []
> print 'Please enter the class name. When finished enter D.'
> while (c != "D"):
No need for the parentheses, and 'c' doesn't have a value yet. If you
add 'c=""' before the while-loop, it should
Harlin Seritt enlightened us with:
> I have some code here:
>
> groups = {'IRISH' : 'green', 'AMERICAN' : 'blue'}
>
> I want to add another key: 'ITALIAN' : 'orange'
>
> How do I append this to 'groups'?
groups['ITALIAN'] = 'orange'
Sybren
--
The problem with the world is stupidity. Not saying t
Brian Blazer enlightened us with:
> I'm still not sure why it was grabbing the prompt string though.
Me neither. Try it in a standalone script instead of an interactive
session.
Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but
Florian Diesch enlightened us with:
>> - Flash is a proprietary technology requiring a proprietary plugin.
>
> There seem to be at least two free implementations:
But the website of OP together with the websites of many other people
are incompatible with those, since they require the latest and
gr
Dave Kuhlman enlightened us with:
> For those who are beginners to using Python to process XML, I've
> recently updated my Python XML FAQ (PyXMLFaq). It has a number of
> code samples that may help you get started.
You might want to include a list of things you assume the reader
already knows, in
[EMAIL PROTECTED] enlightened us with:
> None of you seem to know what you are talking about.
That's not a way to make friends. I very well know what I'm talking
about. None of the issues I've raised are negated by what you say, so
every single one still stands.
> Flash also behaves consistently
Dale Strickland-Clark enlightened us with:
> So it encodes the entity reference to ⬠(Euro sign).  I need it to
> remain as € so that the resulting HTML can render properly in
> a browser.
If you want proper display, why not use UTF-8?
Sybren
--
The problem with the world is stupidity. Not sa
SamFeltus enlightened us with:
> I do find it interesting that Flash folks readily will acknowledge
> that Flash has shortcomings yet anti-Flash folks seem to have great
> difficulty acknowledging Flash's positive features over HTML.
I must say I've never seen a pro-Flash person acknowledging that
SamFeltus enlightened us with:
> 1. Loss of back button
> Isn't this really a myth?
No, it isn't a myth. Pressing the back button is the action second
most performed in a browser, clicking a link being the first. People
want to go back from where they came.
> A page with a time dimension, be it F
k.i.n.g. enlightened us with:
> Now I have to write a script to generate random password in the
> password field for each user. A simple algorithm is sufficient for
> passwords
Check out the source of pwsafe, it has a great password generator. It
can generate with different lengths, based on amoun
Dr. Pastor enlightened us with:
> When I select Run Module in the Edit window, I got only
> two >>> after the RESTART line.
> I expected to see the output of several commands!
You never gave it any commands that print output.
I suggest reading the Python tutorial.
Sybren
--
The problem with the
VJ enlightened us with:
> Basically i want to write into a file .If the permissions are not
> there then print a error message. How do i achive this ???
f = file('somefile', 'w')
then catch the exception that's thrown when it can't be done.
Sybren
--
The problem with the world is stupidity. No
Sebastjan Trepca enlightened us with:
> Those constants are in stat module so add "import stat" before the
> program.
Yeah, but just opening the file is more Pythonic than first checking
if it can be opened in the first place.
Sybren
--
The problem with the world is stupidity. Not saying there s
[EMAIL PROTECTED] enlightened us with:
> i came to this conclusion a long time ago: YOU DON'T NEED CONFIG
> FILES FOR PYTHON. why re-invent stuff and parse text by yourself,
> why the interpreter can do it for you?
Because you generally don't want to give the configuration file writer
full control
Thomas Guettler enlightened us with:
> The licence for QT is GPL, this means you cannot use it in
> commercial application. That is why I never looked at it.
Ehmm... from their website:
The Qt Commercial License is the correct license to use for the
construction of proprietary, commercial softwar
[EMAIL PROTECTED] enlightened us with:
> if I put 'THE' = float(0.965) it returns 0.9655549 or something
> similar.
That's for the same reasons as you can't write 1/3rd in decimal
notation. Computers can't write 1/10th in binary notation.
Sybren
--
The problem with the world is stupidity. No
[EMAIL PROTECTED] enlightened us with:
> i dont know about your experience with config files, but there
> thousands of formats.
All the config files I needed were either very easy to learn, or well
documented in comments.
> on the python side -- just in this conversation, we mentioned
> ConfigObj
richard enlightened us with:
> Rejoice! No more confusing conversations with PyPy developers!
Thanks for sharing that. I always wondered where the name came from :)
Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we
gangesmaster enlightened us with:
> YES THATS THE POINT. PYTHON CAN BE USED JUST LIKE A CONFIG FILE.
AND CAN ALSO BE MISUSED AND HARDER TO USE THAN A SIMPLE CONFIG FILE.
Get it into your thick head that you're plain wrong here.
Sybren
--
The problem with the world is stupidity. Not saying there
mwt enlightened us with:
> I'm reworking a little app I wrote, in order to separate the data
> from the UI.
Good idea.
> As a start, I wanted to create a iron-clad data recepticle that will
> hold all the important values, and stand up to being queried by
> various sources, perhaps concurrently.
A.M. Kuchling enlightened us with:
> Given the endless whiny complaints about the name, though, I think
> we should just give up and go back to PyPI (pronounced 'Pippy').
I love The Python Cheese Shop. It's original and distinctive. Besides
that, it gives you more information that PyPI since Pytho
Frank Millman enlightened us with:
> while 1:
> conn,addr = s.accept()
> c = TLSConnection(conn)
> c.handshakeServer(certChain=certChain,privateKey=privateKey)
> data = c.recv(1024)
It's nice that you set up a TLS connection, but you never check the
certificate of the o
Michael enlightened us with:
>> Microsoft is the largest software company on the planet, but no way
>> that you can guess that from the name.
>
> MICRO computer SOFTware. Seems pretty obvious to me
Where is the size of the company in that story? The fact that they
make software is rather obvious i
Frank Millman enlightened us with:
> The point of the exercise for me is encryption. I am not too worried
> about authentication.
Encryption can't function fully without authenication.
> The next step in my app is for the client to enter a user id and
> password, and the server will not proceed w
Skipper enlightened us with:
> I can not believe that there isn't a GUI programing tool that will
> allow me to build GUI apps
There are plenty of them.
> just like I use Dreamweaver to build a web page
Which produces horrible HTML.
Sybren
--
The problem with the world is stupidity. Not saying
301 - 400 of 446 matches
Mail list logo