Re: WebScrapping

2019-02-19 Thread Adrian Ordona
Thanks Piet for the quick response. Yes, i was running it line by line. When i ran >>> len(containers), the output is giving me 37 but when i ran the code as a py file, it was only showing one result. Thanks in advance. Adrian On Feb 19, 2019, at 4:38 AM, Piet van Oostrum wrote:

WebScrapping

2019-02-18 Thread Adrian Ordona
Hi, I’m learning how to code and interested in web scrapping to gather data. I’m running on Mac OS X 10.9.5 and python 3.7 terminal. I’m trying to capture the name of the brand and price but i keep getting an error (see below). Traceback (most recent call last): File "", line 1, in File "/an

Re: Exercize to understand from three numbers which is more high

2019-01-29 Thread Adrian Ordona
ph >> wrote: >> Yes, that works. Assuming it was correctly formatted when you ran it. >> The formatting could not possibly be run in a Python interpreter, I think. >> >> --- Joseph S. >> >> From: Adrian Ordona >> Sent: Tuesday, January 29, 201

Re: Exercize to understand from three numbers which is more high

2019-01-29 Thread Adrian Ordona
i'm also a beginner reading all the replies helps. i was trying the problem myself and came up with the below code with a users input. num1 = int(input("Enter first number: "))num2 = int(input("Enter second number: "))num3 = int(input("Enter third number: "))if num1 > num2 and num1 > num3: print(

Using Python with a website

2018-07-04 Thread Adrian Taylor
line prompt. Can anyone help? Regards, Adrian Taylor InfoHub - ICT - Helpdesk A : 5 Faith Avenue, Plainland , QLD 4341 T : 07 5466 9900 E : atay...@faithlc.qld.edu.au<mailto:atay...@faithlc.qld.edu.au> W : www.faithlc.qld.edu.au<http://www.faithlc.qld.edu.au/> [cid:image005.png@

Missing python36.dll

2018-03-19 Thread Adrian Ordona
file or help me with the issue. thanks, Adrian -- https://mail.python.org/mailman/listinfo/python-list

Re: HTML templating tools

2016-10-20 Thread Adrian Petrescu
On Thu, 20 Oct 2016 11:34:36 +0200, Tony van der Hoff wrote: > Can anyone recommend a suitable replacement (preferably > compatible with htmltmpl)? I don't think anything is going to be compatible with htmltmpl, but Jinja2 is a very widely-used, well-supported and easy-to-learn templating engine

RE: new to python and programming at large

2013-01-09 Thread Adrian Espinosa Moreno
Hello, you have to use the same parameter, not self which is used in classes def squareroot(n): return sqrt(n) -- Adrián Espinosa. Engineering Support, Wholesale Systems. Jazztel.com De: kwakukwat...@gmail.com [mailto:kwakukwat...@gmail.com] Enviado el: miércoles, 09 de enero de 2013 22:06

RE: Creating a Windows installer for Python + a set of dependencies

2012-05-10 Thread Adrian Hunt
Hi there, I've use NSIS for quite a few projects... NSIS will do it with ease. You write a script that gets "compiled" into a install exe and the scripting language is not too hard to learn. You can do it in several different ways: 1. You can include the Python installer as a file compressed i

RE: Open Source: you're doing it wrong - the Pyjamas hijack

2012-05-10 Thread Adrian Hunt
1000 > Subject: Re: Open Source: you're doing it wrong - the Pyjamas hijack > From: ros...@gmail.com > To: python-list@python.org > > On Fri, May 11, 2012 at 9:36 AM, Adrian Hunt wrote: > > All I did was to answer a mail sent to me by Ian Kelly (who I don't konw no

RE: Open Source: you're doing it wrong - the Pyjamas hijack

2012-05-10 Thread Adrian Hunt
Hi there, Yes, it's very messy by what I understand and is why Merlio never had it's judgements enforced. Although, employment contracts that were in place at the time (including mine), were declared null and void... I think it was something like: if a programmer has an idea and uses it with

RE: Open Source: you're doing it wrong - the Pyjamas hijack

2012-05-10 Thread Adrian Hunt
my message (and this one) may not be worded in the best way but that is no reason to start on me! Date: Wed, 9 May 2012 22:56:43 -0300 From: ricar...@gmail.com To: cybor...@hotmail.com Subject: Re: Open Source: you're doing it wrong - the Pyjamas hijack On 09/05/12

RE: Open Source: you're doing it wrong - the Pyjamas hijack

2012-05-09 Thread Adrian Hunt
e: Open Source: you're doing it wrong - the Pyjamas hijack > Date: Wed, 9 May 2012 23:44:01 +0100 > > On 09/05/2012 23:30, Adrian Hunt wrote: > > > > In the UK at least, a developers IP cannot be hijacked by a company > > contract. If you write some code while working fo

RE: Open Source: you're doing it wrong - the Pyjamas hijack

2012-05-09 Thread Adrian Hunt
as hijack > To: cybor...@hotmail.com > > On Wed, May 9, 2012 at 4:30 PM, Adrian Hunt wrote: > > > > Hi ya, > > > > Not to be confrontative but just because a project is open-source, it > > doesn't mean IP is open too!! The original idea is still property

RE: Open Source: you're doing it wrong - the Pyjamas hijack

2012-05-09 Thread Adrian Hunt
Hi ya, Not to be confrontative but just because a project is open-source, it doesn't mean IP is open too!! The original idea is still property of the originator... It just has the global community adding their own IP and fixes. This is a core of corporate contracts ensuring that a developers

RE: Open Source: you're doing it wrong - the Pyjamas hijack

2012-05-09 Thread Adrian Hunt
Hi, I'm not big Python user but like to keep a eye on this mailing list as there are a few subjects that can be applied to other languages and just for general interest (Yes, I'm a geek!!! lol) This message thread has really shocked me: I've been a programmer for some thirty years and yes in

Re: [pyxl] Re: xlrd 0.7.4 released!

2012-04-03 Thread Adrian Klaver
buted? Interesting the below seemed to have got lost on way to Google Groups: From Chris: " As pointed out, I stuffed up the release by not including a new file in the MANIFEST. My bad. I've just release a 0.7.5 that fixes this. cheers, Chris " Josh English Confused Data

RE: string interpolation for python

2012-03-31 Thread Adrian Hunt
in characters but if they're printable and used in a controlled environment those characters can dramatically increase the security of a username and password. Adrian -- http://mail.python.org/mailman/listinfo/python-list

Re: [pyxl] xlrd 0.7.2 released!

2012-02-22 Thread Adrian Klaver
xlrd1 - library for extracting data from Microsoft Excel spreadsheet files > > I believe that will give you everything you need, please explain if it > doesn't. > > cheers, > > Chris -- Adrian Klaver adrian.kla...@gmail.com -- http://mail.python.org/mailman/listinfo/python-list

Re: platform issues?

2011-12-01 Thread Adrian Powell
veal the issue. Thank you for your help, this had been bugging us for days! Adrian. -Original Message- From: "Redcat" [red...@catfolks.net] Date: 12/01/2011 02:05 PM To: python-list@python.org Subject: Re: platform issues? On Thu, 01 Dec 2011 13:43:38 -0500, Adrian Powell wrot

Re: platform issues?

2011-12-01 Thread Adrian Powell
twitter. Since google and twitter are so huge and so distributed, I'd bet neither are good tests for this, but they look approximately right. Are there better ways to test if our network setup is good? At least that would be a relatively easy thing to fix. Adrian. -Original Message-

platform issues?

2011-12-01 Thread Adrian Powell
I'm new to python and I'm trying to get a twitter client running on a new machine but it keeps on failing. I tracked the problem down to an issue opening URLs and wrote this little test case: import urllib2 url = 'http://www.google.com/' opener = urllib2.build_opener() url_data = opener.open(url

pexpect: TIMEOUT no longer clears child.before

2011-05-19 Thread Adrian Casey
ld.before continues to hold the output from previous commands. It is important to be able to clear the contents of child.before between each command. What is the correct way to do this in version 2.3? Adrian. -- http://mail.python.org/mailman/listinfo/python-list

Re: QCoreApplication will not quit

2011-04-02 Thread Adrian Casey
Dennis Lee Bieber wrote: > On Sat, 02 Apr 2011 14:12:38 +0930, Adrian Casey > declaimed the following in gmane.comp.python.general: > >> Can someone please explain why this simple PyQt4 application never exits? >> >> #!/usr/bin/env python >> from PyQt4 import

QCoreApplication will not quit

2011-04-01 Thread Adrian Casey
to make it quit. Thanks. Adrian. -- http://mail.python.org/mailman/listinfo/python-list

logging and PyQt4

2011-03-14 Thread Adrian Casey
eciated. Thank you. Adrian Casey. -- http://mail.python.org/mailman/listinfo/python-list

pyqt4: multi-threaded database access

2010-11-24 Thread Adrian Casey
e that the query results are sent back to the originating thread? Ideas, examples anyone? Thanks. Adrian. -- http://mail.python.org/mailman/listinfo/python-list

Re: Language mavens: Is there a programming with "if then else ENDIF" syntax?

2009-11-16 Thread Adrian Cherry
has similar if syntax - please correct me if I'm wrong. From http://www.mathworks.com/access/helpdesk/help/techdoc/ref/if.html "The if function can be used alone or with the else and elseif functions. When using elseif and/or else within an if statement, the general form of the statement is" if expression1 statements1 elseif expression2 statements2 else statements3 end Adrian -- http://mail.python.org/mailman/listinfo/python-list

Re: Python code for testing well parenthesized expression

2009-07-14 Thread Adrian Dziubek
> Don't you want to just test that the number of "("s equals the number of > ")"s or am I missing the point? I had this idea too, but there is additional requirement that any beginning must have greater or equal number of '(' than ')'. -- Adrian

Re: Python code for testing well parenthesized expression

2009-07-14 Thread Adrian Dziubek
Strings are immutable, so your method of slicing one letter at time will be building lots of them. That shouldn't hurt you here, but it will when you hit a bigger problem. In the i() there should be "return op == 0" on the end. def well(expr): mapping = {'(':1, ')':-1} count = 0 for s in exp

Re: older pythons

2009-07-09 Thread Adrian Dziubek
installed. -- Adrian -- http://mail.python.org/mailman/listinfo/python-list

scoping problem with list comprehension // learning Python

2009-05-20 Thread Adrian Dragulescu
1-03'] formatIndex = '%Y-%m-%d' print([datetime.strptime(i, formatIndex) for i in index]) Any suggestions much appreciated. I'm sure it's something trivial. I'm using Python30. Adrian -- http://mail.python.org/mailman/listinfo/python-list

using Winpdb in an embedded python interpreter

2009-05-16 Thread Adrian Genaid
encoding: idna Does someone have an idea why this error occurs? Funny thing is that module "socketserver" is taken from "C:\Program Files\Python30\lib\xmlrpc\server.py", although the module search path does not contain "C:\Program Files\Python30\lib". Maybe this has something to do with the problem... Thanks, Adrian -- http://mail.python.org/mailman/listinfo/python-list

Re: [Python-Dev] PEP 383: Non-decodable Bytes in System Character Interfaces

2009-04-26 Thread Adrian
How about another str-like type, a sequence of char-or-bytes? Could be called strbytes or stringwithinvalidcharacters. It would support whatever subset of str functionality makes sense / is easy to implement plus a to_escaped_str() method (that does the escaping the PEP talks about) for people who

Re: modifying a list element from a function

2009-03-27 Thread Adrian Dziubek
Could you explain your high level goal for this? It looks like a very wicked way of doing things. Have You tried to read the list methods' documentation? Maybe there you find something you need (like list.index)? -- Adrian -- http://mail.python.org/mailman/listinfo/python-list

Re: Python/Django forum-building software Snap/SCT, any reviews?

2009-03-13 Thread Adrian Cherry
l. The answer appears to be not yet but no reason why it couldn't. Probably going to be an itch I have to scratch myself. Adrian -- http://mail.python.org/mailman/listinfo/python-list

Re: Python's popularity

2008-12-23 Thread Adrian Cherry
youngsters" will take the helm. And be serious, do you > really think this group is read by "hundreds-of- thousands > of news readers? I wish it were, but I highly doubt it. > Thus spake the artilleryman from Horsell Common! Adrian Cherry -- http://mail.python.org/mailman/listinfo/python-list

Re: smart quotes

2008-08-26 Thread Adrian Smith
On Aug 26, 4:13 pm, Peter Otten <[EMAIL PROTECTED]> wrote: > Adrian Smith wrote: > > Can anyone tell me how to get rid of smart quotes in html using > > Python? I've tried variations on > > stuff = string.replace(stuff, "\“", "\""), but

smart quotes

2008-08-25 Thread Adrian Smith
Can anyone tell me how to get rid of smart quotes in html using Python? I've tried variations on stuff = string.replace(stuff, "\“", "\""), but to no avail, presumably because they're not standard ASCII. -- http://mail.python.org/mailman/listinfo/python-list

Re: HTML Tables

2008-08-18 Thread Adrian Smith
On Aug 19, 6:49 am, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > Adrian Smith wrote: > >> Just want to know how to create html tables using a for loop. > >> I need to display 34 html tables, so I figured a for loop will do. > >> Please show me an example of how

Re: HTML Tables

2008-08-18 Thread Adrian Smith
On Aug 18, 7:16 pm, Amie <[EMAIL PROTECTED]> wrote: > Afternoon all. > > Just want to know how to create html tables using a for loop. > I need to display 34 html tables, so I figured a for loop will do. > Please show me an example of how to do that. for i in range(33): print "" for j in r

Re: extended setattr()

2008-07-08 Thread Andre Adrian
Diez B. Roggisch nospam.web.de> writes: > > def ext_setattr(obj, attr, val): > > for subattr in attr.split("."): > > obj = getattr(obj, subattr) > > obj = val > > > import test > a = A() > > Traceback (most recent call last): > > File "", line 1, in > > NameError: na

Re: Randall Munroe loves Python

2008-04-11 Thread Adrian Cherry
Paul McGuire <[EMAIL PROTECTED]> wrote in news:869c25d9-e4d3- [EMAIL PROTECTED]: > Another xkcd plug for Python: http://xkcd.com/409/ > So Python is on a collision course with Calvin and Hobbes! Adrian -- http://mail.python.org/mailman/listinfo/python-list

Fwd: Python-list Digest, Vol 52, Issue 128

2008-01-10 Thread Adrian Wood
Fredrik Lundh wrote: > > Adrian Wood wrote: > > > > I can call man.state() and then woman.state() or Person.state(man) and > > Person.state(woman) to print the status of each. This takes time and > > space however, and becomes unmanageable if we start talking about

Newbie question on Classes

2008-01-10 Thread Adrian Wood
it all work. I'd appreciate anyone who could help, especially if they could include a short sample. My apologies if I'm not following the etiquette of the group in some way my making this request. Thank you, Adrian -- http://mail.python.org/mailman/listinfo/python-list

Re: "Python" is not a good name, should rename to "Athon"

2007-12-06 Thread Adrian Cherry
Piet van Oostrum <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: >>>>>> "Adrian Cherry" <[EMAIL PROTECTED]> (AC) wrote: > >>AC> For that matter C# is no better, I thought that # was >>pronounced AC> hash, I still refer to C# as C

Re: "Python" is not a good name, should rename to "Athon"

2007-12-05 Thread Adrian Cherry
ng. > For that matter C# is no better, I thought that # was pronounced hash, I still refer to C# as C-hash. Adrian -- http://mail.python.org/mailman/listinfo/python-list

Re: Why did no one tell me about import antigravity?

2007-12-05 Thread Adrian Cherry
: "I wrote 20 short programs in Python yesterday. It was wonderful. Perl, I'm leaving you." Regards Adrian -- http://mail.python.org/mailman/listinfo/python-list

Re: Simple HTML template engine?

2007-10-17 Thread Adrian Cherry
Bruno Desthuilliers <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > > Did you read the OP's question ?-) Yup, as much as anyone else has. Why? Adrian -- http://mail.python.org/mailman/listinfo/python-list

Re: Simple HTML template engine?

2007-10-15 Thread Adrian Cherry
> Speed is not a major issue. > > I just need looping and conditionals. Template inheritance > would be a bonus. > > I've seen Genshi and Cheetah, but they seem way too complex. > > Any ideas? > Did you try Cheetah? I've just started using it for a simple job

Re: Python Magazine: Issue 1 Free!

2007-10-05 Thread Adrian Cherry
Paul McGuire <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > I thought Steve Holden's Random Hits column was the "back > page commentry". after re-reading it then yes I can see your point, I suppose I was just hoping for some pythonesque humour to close

Re: Python Magazine: Issue 1 Free!

2007-10-05 Thread Adrian Cherry
ems to stop abruptly. No back page commentry, cartoon or teaser for the next issue. Regards Adrian -- http://mail.python.org/mailman/listinfo/python-list

Re: File access

2007-08-02 Thread Adrian Petrescu
On Aug 2, 12:41 pm, JD <[EMAIL PROTECTED]> wrote: > Hi, > > What I am trying to do is to run a subprocess on another machine using > subprocess.Popen, this subprocess contuinue writing something into a > file when it is runing. > > After submit this subprocess, I tried to open the file and readline

Re: Interpreting os.lstat()

2007-07-19 Thread Adrian Petrescu
On Jul 19, 4:27 am, Hrvoje Niksic <[EMAIL PROTECTED]> wrote: > Adrian Petrescu <[EMAIL PROTECTED]> writes: > > I checked the online Python documentation > > athttp://python.org/doc/1.5.2/lib/module-stat.html > > but it just says to "consult the documentation

Re: Posted messages not appearing in this group

2007-07-19 Thread Adrian Petrescu
On Jul 18, 3:05 am, Sanjay <[EMAIL PROTECTED]> wrote: > Hi All, > > I tried posting in this group twice since last week, but the messages > did not appear in the forum. Don't know why. Trying this message > again... > > Sanjay I think I'm having the exact same problem. I posted a new thread last n

Interpreting os.lstat()

2007-07-18 Thread Adrian Petrescu
I'm playing with FUSE's python bindings, and I'm expected to return a list that matches the structure of a python os.lstat() call. So, for example: >>> import os >>> os.lstat("/home/adrian/fuse_test") (16877, 1036L, 2050L, 4, 1000, 1000, 4096L, 11848

Re: Client-side cookies on Python in Mac OSX

2007-07-12 Thread Adrian Petrescu
leton <[EMAIL PROTECTED]> wrote: > On Jul 13, 12:14 pm, Adrian Petrescu <[EMAIL PROTECTED]> wrote: > > > > > Hi, all. I'm writing an app for OS X; therefore I'd prefer to use only > > the default python install that comes with Tiger. For the moment, >

Client-side cookies on Python in Mac OSX

2007-07-12 Thread Adrian Petrescu
other library they'd prefer you to use? I'm sure SOMEONE in the world has used cookies on Macs so I'm hoping there is a solution for this... Thanks in advance! -- Adrian Petrescu -- http://mail.python.org/mailman/listinfo/python-list

Re: mysteries of urllib/urllib2

2007-07-03 Thread Adrian Smith
On Jul 4, 12:42 am, Ben Cartwright <[EMAIL PROTECTED]> wrote: > On Jul 3, 11:14 am, Adrian Smith <[EMAIL PROTECTED]> wrote: > > > > > The following (pinched > > > > from Dive Into Python) seems to work perfectly in Idle, but > > > > falls at th

Re: mysteries of urllib/urllib2

2007-07-03 Thread Adrian Smith
On Jul 3, 11:25 pm, Ben Cartwright <[EMAIL PROTECTED]> wrote: > On Jul 3, 9:43 am, Adrian Smith <[EMAIL PROTECTED]> wrote: > > > The following (pinched > > from Dive Into Python) seems to work perfectly in Idle, but > > falls at the final hurdle when run as a

mysteries of urllib/urllib2

2007-07-03 Thread Adrian Smith
I'm trying to use urllib2 to download a page (I'd rather use urllib, but I need to change the User-Agent header to look like a browser or G**gle won't send it to me, the big meanies). The following (pinched from Dive Into Python) seems to work perfectly in Idle, but falls at the final hurdle when r

Re: CGI python use "under a curse"

2007-05-06 Thread Adrian Smith
On May 7, 2:30 pm, Steven D'Aprano <[EMAIL PROTECTED]> wrote: > On Sun, 06 May 2007 21:30:16 -0700, Adrian Smith wrote: > It is NOT the same error. There are NO syntax errors in the script, there > is a runtime error. The so-called administrator is wrong: you can't use &g

CGI python use "under a curse"

2007-05-06 Thread Adrian Smith
While waiting for my paid-for web-hosting company to get back to me about my difficulties running python scripts on their servers... http://groups.google.com/group/comp.lang.python/browse_frm/thread/39b52bcf0dffec4c/4ff805bf283acc15?lnk=gst&q=adrian+smith&rnum=1&hl=en#4ff805bf283acc

Re: python cgi problem with textarea

2007-04-24 Thread Adrian Smith
On Apr 24, 8:00 pm, placid <[EMAIL PROTECTED]> wrote: > oops...i did read the problem description, but i when i tried the code > it worked for me and when i put spaces into the TextArea it wasn't > reflected correctly back. So i thought this was the problem. > >

Re: python cgi problem with textarea

2007-04-22 Thread Adrian Smith
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 error is because mod_python isn't installed > assuming your using Apache as your web server Yeah, but it wouldn'

Re: python cgi problem with textarea

2007-04-22 Thread Adrian Smith
On Apr 22, 11:40 pm, Jim <[EMAIL PROTECTED]> wrote: > On Apr 22, 2:08 am, Adrian Smith <[EMAIL PROTECTED]> wrote:> ...and I > > get an internal server error if I have any spaces in the textarea, > > And what error appears in the server error log? I've just asked

python cgi problem with textarea

2007-04-21 Thread Adrian Smith
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 this cgi script: #!/usr/bin/python import cgi print "Content-type: text/html\n" form

Re: Islam, the Religion of Ease

2007-03-30 Thread adrian . villanustre
www.prophetmuhammed.orghttp://www.islamtoday.net/english/http://www.islamunveiled.orghttp://www.islamic-knowledge.com > > We willingly recive any inquries at the e-mail : > > [EMAIL PROTECTED] Respectofully: 1.- Use the right place for your propaganda. 2.- Stop with religions, and milit

Re: Using signal.alarm to terminate a thread

2006-11-15 Thread Adrian Casey
Nick Craig-Wood wrote: > Adrian Casey <[EMAIL PROTECTED]> wrote: >> > Adrian Casey <[EMAIL PROTECTED]> wrote: >> > import os, pexpect, threading >> > >> > def runyes(): >> > print "Running yes command..." >> &g

Re: Using signal.alarm to terminate a thread

2006-11-14 Thread Adrian Casey
Nick Craig-Wood wrote: > Adrian Casey <[EMAIL PROTECTED]> wrote: >> I have a multi-threaded python application which uses pexpect to connect >> to >> multiple systems concurrently. Each thread within my application is a >> connection to a remote system. The

Using signal.alarm to terminate a thread

2006-11-13 Thread Adrian Casey
y .bashrc and loops forever? Just one thread locking up like this holds up all the others. Any ideas or suggestions on how to handle such situations in a multi-threaded way would be appreciated. Cheers. Adrian Casey. Alice Springs Linux User Goup. http://www.aslug.org.au -- http://mail.python.org/mailman/listinfo/python-list

How to measure memory footprint of Python objects?

2006-09-20 Thread Neagu, Adrian
mption. But, if that is too tricky, I would be happy to just get the maximum. Any suggestion welcome, Adrian. -- http://mail.python.org/mailman/listinfo/python-list

ANN: Python interface to Microsoft Outlook Web Access

2006-02-10 Thread Adrian Holovaty
at yesterday's Chicago Python Users Group meeting and was surprised to see that, even in a group of only 30 people, 5 or 6 people used Outlook Web Access through their company. I hope somebody finds this useful. http://www.holovaty.com/code/weboutlook/ Please send comments and improvements

Re: New Python.org website ?

2006-01-22 Thread Adrian Holovaty
be quite happy to set that up. Just let me know! Adrian -- Adrian Holovaty holovaty.com | chicagocrime.org | djangoproject.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Being unjust

2006-01-18 Thread Adrian Holovaty
dd some WSGI code to the standard library -- for instance, code that runs a development server for a WSGI-compliant framework, etc. Perhaps wsgiref: http://svn.eby-sarna.com/wsgiref/ Just my two cents, Adrian -- Adrian Holovaty holovaty.com | chicagocrime.org | djangoproject.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Help me in this please--is Python the answer?

2006-01-13 Thread Adrian Holovaty
eas TurboGears is a collection of unrelated parts glued together. For more on this topic, see here: http://www.oreillynet.com/pub/wlg/8986 Adrian -- http://mail.python.org/mailman/listinfo/python-list

Re: Help me in this please--is Python the answer?

2006-01-12 Thread Adrian Holovaty
go 1.0. I would never use TurboGears or Ruby on Rails over Django for any performance-intensive Web app. In my opinion, both frameworks make some poor design decisions regarding the importance of performance. Adrian -- Adrian Holovaty holovaty.com | chicagocrime.org | djangoproject.com -- http://mail.python.org/mailman/listinfo/python-list

ANN: Django 0.91 released

2006-01-11 Thread Adrian Holovaty
dmin interface -- for free. * Full internationalization (i18n) support. * A super-cool community! * An RSS/Atom-producing framework. * Tons of other niceties, such as generic views (which abstract common Web-development patterns), based on several years' worth of solving Real Problems in the Real Wo

Re: RoR like (was : SPE 0.8.1.b Python IDE...)

2005-12-16 Thread Adrian Holovaty
bruno at modulix wrote: > Adrian, what you describe here is *exactly* what I call "no Ajax > support": you have to handle the whole thing manually, the framework > doesn't provide anything by itself. Would you say the CGI module offers > support for templating, data p

Re: RoR like (was : SPE 0.8.1.b Python IDE...)

2005-12-15 Thread Adrian Holovaty
can use Ajax with Django, just as you can use it with *any* Web framework. That's because Ajax is a browser-side technology (JavaScript), not a server-side technology (Python). Django is just as capable of producing JavaScript as it is of producing (X)HTML or whatever else. Hope that clears t

Re: Ruby on Rails Job Site -- Is there a Python equivalent?

2005-12-01 Thread Adrian Holovaty
itely advertise this page more, as it's a bit hidden at the moment on the Django wiki. There are three Django jobs on that page now, and I know of at least two others. See http://www.djangoproject.com/weblog/2005/nov/27/weekinreview/ . Hope this helps! Adrian -- Adrian Holova

ANN: Django 0.90

2005-11-16 Thread Adrian Holovaty
http://www.djangoproject.com/ http://www.djangoproject.com/download/ Enjoy! Adrian -- Adrian Holovaty holovaty.com | djangoproject.com | chicagocrime.org -- http://mail.python.org/mailman/listinfo/python-list

ANN: Django 0.90

2005-11-16 Thread Adrian Holovaty
http://www.djangoproject.com/ http://www.djangoproject.com/download/ Enjoy! Adrian -- Adrian Holovaty holovaty.com | djangoproject.com | chicagocrime.org -- http://mail.python.org/mailman/listinfo/python-list

ANN: Internationalization in Django

2005-11-06 Thread Adrian Holovaty
* pt-br (Brazilian) * ru (Russian) * sr (Serbian) * zh-cn (Simplified Chinese) * sk (Slovak) See the full documentation here: http://www.djangoproject.com/documentation/i18n/ Adrian -- Adrian Holovaty holovaty.com | djangoproject.com | chicagocrime.org -- http://mail.python.o

infinite loop

2005-09-06 Thread LOPEZ GARCIA DE LOMANA, ADRIAN
Hi all, I have a question with some code I'm writting: def main(): if option == 1: function_a() elif option == 2: function_b() else: raise 'option has to be either 1 or 2' if iteration == True: main() def function_a(): print 'hello

How to start a DTS Package on MS-SQL-Server?

2005-08-25 Thread Adrian Pettitt
I found this subject line in a post to this list on Jan 30, 2004.  Does anybody know if this is possible?   Thanks. -- http://mail.python.org/mailman/listinfo/python-list

Re: python certification

2005-07-20 Thread Adrian Flanagan
[EMAIL PROTECTED] wrote: > i want to get a small certificate or diploma in python. I can recommend brainbench.com (http://www.brainbench.com, of course) for certifications that are both respected and reasonably priced. Only drawback: their Python certification is for version 1.5! They have got

pexpect: TIMEOUT exception never raised

2005-05-12 Thread Adrian Casey
e, the child.expect statement will hang forever. I thought about using signal.signal to set an alarm that fires a few seconds after timeout and explicitly closes the session. However, my application is multi-threaded (i.e. each thread respresents a connection to a remote host) and signals can not be u

ANN: Greasemonkey compiler

2005-04-26 Thread Adrian Holovaty
letitblog.com/code/python/greasemonkey.py.txt Web interface: http://www.letitblog.com/greasemonkey-compiler/ Feel free to e-mail comments, bug fixes, etc. Adrian Holovaty [EMAIL PROTECTED] http://www.holovaty.com/ -- http://mail.python.org/mailman/listinfo/python-list

AttributeError: 'module' object has no attribute 'setdefaulttimeout'

2005-03-31 Thread adrian
I get those errors when I run: /usr/local/bin/SquidClamAV_Redirector.py -c /etc/squid/SquidClamAV_Redirector.conf ## Traceback (most recent call last): File "/usr/local/bin/SquidClamAV_Redirector.py", line 573, in ? redirector = SquidClamAV_Redirector(config) File "/usr/lo

Python 2.4 & PostgreSQL 8 segfault

2005-03-03 Thread Adrian Immler
hello, i have compiled and installed postgres8 --with-prefix=/usr/local/postgres8 (& several other options) and have no other version of postgres on my system. python is compiled and make'd --with-prefix=/usr. i have added the libpath of postgres to /etc/ld.so.conf and a ldconfig -v also told me

Re: Kill GIL

2005-02-15 Thread Adrian Casey
Aahz wrote: > In article <[EMAIL PROTECTED]>, > Frans Englich <[EMAIL PROTECTED]> wrote: >> >>Personally I need a solution which touches this discussion. I need to run >>multiple processes, which I communicate with via stdin/out, >>simultaneously, and my plan was to do this with threads. Any favo

Re: short programming projects for kids

2005-01-24 Thread Adrian Casey
n anyway). After times tables, I plan to work on a simple number guessing game where the computer picks a random number between 1 and 100 and asks the user to take a guess. This will help demonstrate many basic programming concepts. Not sure how to introduce graphics though as so much is relatively abstract. Adrian. -- http://mail.python.org/mailman/listinfo/python-list

Re: Command line and GUI tools : need a single threading solution

2005-01-12 Thread Adrian Casey
Adrian Casey wrote: > Diez B. Roggisch wrote: > >>> I'm thinking it may be possible to modify the command line tools to use >>> qt >>> threads instead of native python threads. Is this the way to go? Are >>> there other options? >> >&

Re: Command line and GUI tools : need a single threading solution

2005-01-11 Thread Adrian Casey
eue. I have a customEvent method in my application which grabs the data from the customEvent and processes it accrodingly (writing output to a QTable). The gui locks up after an arbitrary number of rows have been inserted in the QTable. It is not consistent. Sometimes it does not lock at all. I have a non-threaded set of the command line tools which run perfectly with the gui. Adrian. -- http://mail.python.org/mailman/listinfo/python-list

Re: Command line and GUI tools : need a single threading solution

2005-01-11 Thread Adrian Casey
Diez B. Roggisch wrote: >> I'm thinking it may be possible to modify the command line tools to use >> qt >> threads instead of native python threads. Is this the way to go? Are >> there other options? > > Why don't you use python threads in qt - I do so and so far it didn't make > any troubles

Command line and GUI tools : need a single threading solution

2005-01-10 Thread Adrian Casey
g it may be possible to modify the command line tools to use qt threads instead of native python threads. Is this the way to go? Are there other options? Adrian. -- http://mail.python.org/mailman/listinfo/python-list