> > >>> "Chad Crabtree" <[EMAIL PROTECTED]> 5/8/2006 6:29 PM >>>
> > While everything that Alan Guald said is true, there are a
> couple of
> > options for you. Provided you know HTML (you must), you
> could generate
> > html pragmatically but, knowledge of html is still mandatory.
> > Your op
Danny Yoo wrote:
> There are examples of programs that people have written to
> automate some Windows administration tasks. For example:
>
> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/347812
>
> is code to get the MAC address of one's ethernet card
You can also use WMI for thi
Some others have already mentioned TurboGears, but since it sounds like
you want more control perhaps, I would recommend going with CherryPy
(http://www.cherrypy.org). You basically write python code and then
expose it to the web (or intranet or whatever).
# simple example
import cherrypy
import
Orri said:
> Or you could just do the following:
>
> >>> print "\n\nWelcome to the Backwards Message Display."
> >>> print
> >>> message = raw_input("\nPlease Enter a Message.")
> >>> print message[::-1]
Interesting. I forgot about the 'step' option when slicing.
> This is the equivalent of pr
Fred said:
>
[snip]
> I've got another question I think you may have come across before.
> I'm planning on purchasing a license to use some stock icons in an
> application I'm developing. The problem is the license requires this:
>
> "Where an application is to be distributed, the graphical me
Liam said:
>
> How about -
> print "\n\nWelcome to the Backwards Message Display."
> print
> message = raw_input("\nPlease Enter a Message.")
> msgAsList = [ char for char in message]
You could also do:
msgAsList = list(message)
list() takes any iterable and returns a list object.
> msgAsList.
Fred said:
> >> Obviously, the lambda is using "value" at the end of the loop (4),
> >>rather than what I want, "value" during the loop (0,1,2,3).
Christian said:
> > Right. I think the issue is that your lambda calls another funtion.
> > However, the function isn't called until the lambda is c
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Fred Lionetti
> Sent: Wednesday, November 16, 2005 2:32 PM
> To: tutor@python.org
> Subject: [Tutor] lambda in a loop
>
> Hi everyone,
Hello,
> If I have this code:
>
> ---
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Danny Yoo
>
> On Tue, 15 Nov 2005, sivapriya pasupathi wrote:
>
> > I am planning to start my career in computer programming.But i don't
> > have specific resource(websire/book) to improve my basic c
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Oliver Maunder
> Sent: Wednesday, October 05, 2005 1:13 PM
> To: tutor@python.org
> Subject: [Tutor] Console output
>
> Does anyone know how I can update a line of console output
> without creating a
Signal strength is not stored in an IP packet. It is more of a
radio-level statistic that would need to be gathered from the wireless
device somehow.
Christian
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of sunny sunny
> Sent: Tuesday, July 19,
> -Original Message-
>
> Christian,
>
> > Try subclassing urllib.FancyURLopener and overriding the
> > prompt_user_passwd() method. That should get you what you need :-)
>
> Well, I used urllib.FancyURLopener, and can open and look at
> the url, like this:
>
> import urllib
> open
> -Original Message-
>
> Consider a class with a lt of properties. I would like a member
> function which generates a dictionary where the keys are the property
> names and the values are the property values?
>
> Is this clear?
I think so :-)
> How might I go about this?
I think yo
> -Original Message-
>
> Hello, everyone!
Hi,
> My problem is, when I plug this url into my sample code above, I get
> an error ("HTTP Error 401: Authorization Required"), because normally
> when you go to this url it makes you enter in a username and a
> password. Does anyone know
> -Original Message-
>
> Hey there,
Hi,
> i have used the cgi module and dig it.
> heres the deal,
> my employer wants me to build a dynamic website that will
> access a
> database and display customer
> information on web. ok, easy enough.
Looks like some others have
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Terry Carroll
> Sent: Monday, June 06, 2005 8:20 PM
> To: tutor@python.org
> Subject: [Tutor] Trying Ruby...
>
> This message is not as off-topic as it at first appears.
>
> I'm a user of Activestate'
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Danny Yoo
>
>
> Yes, there is a system called 'PyPI':
>
> http://www.python.org/pypi
>
Also see EasyInstall
(http://peak.telecommunity.com/DevCenter/EasyInstall). Installs
packages from the co
Hey Jeff,
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Peery
>
> Hello, does anyone know if there is a list of widows icons
> available? I'm creating an application for windows and I'd
> like to use standard icons for things like a "prin
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
>
> Quoting "Jacob S." <[EMAIL PROTECTED]>:
>
> > Cool! Does anybody know of... I guess a rather *thorough*
> tutorial of
> > win32? for the very reason that I don't know that this
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of jeff
>
> Hi,
Hey Jeff,
> I'm trying to print out all the attributes of a user account in active
> directory. I got a script from:
> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/303348
> /
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Jacob S.
> Sent: Friday, December 17, 2004 3:54 PM
> To: Kent Johnson
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Tutor] "TypeError: 'int' object is not callable"??
>
> Hey, could you give an example?
> Th
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Mike Eve
> Sent: Sunday, December 05, 2004 6:21 PM
> To: [EMAIL PROTECTED]
> Subject: [Tutor] Socket events and wxPython events?
Hey Mike,
> I'm thinking about 3 approaches, but rather than beat m
22 matches
Mail list logo