954,541 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

can python do this?

Can I use python to read the contents of a text file on a server and dynamically update text on a web page(based on the text in that file)? This is something that I need to accomplish but I'm not sure if python is capable or if I should be using some other language?

Thanks

action_owl
Newbie Poster
1 post since Apr 2009
Reputation Points: 10
Solved Threads: 0
 

Can python:
- Read text files? Check
- Connect to a server? Check
- Update a html-file? Check
- Serve web-pages? Check
- Anything that any other programming language can do? Check

:)

vidaj
Junior Poster in Training
68 posts since Jul 2007
Reputation Points: 45
Solved Threads: 14
 

Somebody should make a sticky thread titled "Can python do this?" with a single one-word post that reads: "Yes."

scru
Posting Virtuoso
1,629 posts since Feb 2007
Reputation Points: 975
Solved Threads: 140
 
Somebody should make a sticky thread titled "Can python do this?" with a single one-word post that reads: "Yes."

Yeah but a quick no for "Can python make a 3d world that i can walk around in?" or something to the like. That is unless you are really into it and want to experiment with pyOpenGL

Paul Thompson
Veteran Poster
1,119 posts since May 2008
Reputation Points: 264
Solved Threads: 183
 

If people would specify their questions better, it would be easier to answer them. I.e. "I want to do . What can python offer over when I'm doing ? Speed? Smaller codebase? Easier API's? "

That would make it hellofalot easier to answer "Yes! Absolutely use python for this task!" or "No, you're probably better programming your worldofwarcraft clone in C++"

vidaj
Junior Poster in Training
68 posts since Jul 2007
Reputation Points: 45
Solved Threads: 14
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You