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 options are, basically
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 this
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
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 called later,
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.reverse()
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 print
-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 computer
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-
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 pointed
-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 you could
-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
opener2 =
-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's
-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 command
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 print
-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
existed, and
-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 Mike Eve
Sent: Sunday, December 05, 2004 6:21 PM
To: [EMAIL PROTECTED]
Subject: [Tutor] Socket events and wxPython events?
Hey Mike,
snipped intro about tying GUI-network code together
I'm
18 matches
Mail list logo