Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #98211
| From | Ben Finney <ben+python@benfinney.id.au> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Python PNG Viewer(Browser Based) |
| Date | 2015-11-04 18:23 +1100 |
| Message-ID | <mailman.4.1446621848.16136.python-list@python.org> (permalink) |
| References | <9c24559b-17a4-41fc-80a2-9258fd84c9f1@googlegroups.com> <mailman.33.1446566504.8789.python-list@python.org> <f20799fe-6c23-4417-b5ae-d2acd75fa3ce@googlegroups.com> |
Arshpreet Singh <arsh840@gmail.com> writes: > On Tuesday, 3 November 2015 21:32:03 UTC+5:30, Chris Warrick wrote: > > Your problem is lack of basic understanding of the Internet. > > Yes That's true at some level. More specifically, your problem is not “how do I do this with Python?” but rather “what is a web page?”. So, the research you need to do is not Python-specific, instead you need to learn about the structure of web pages and web applications. > My present working system shows me list of all files (PNGs, JPGs, txt, > SVGs) in browser, when I click on file it opens it and show contents > of it. You are directing your web browser to visit a folder on your local file system. It is obliging you by presenting a directory of local files. Instead, you need to learn how to author web pages. There are countless resources for learning about generating a web page from scratch. You could learn a lot from the Wikibooks project <URL:https://en.wikibooks.org/wiki/Authoring_Webpages>. You'll also need to appreciate that developing web pages is a *very* extensive topic. You might need nothing more than to create simple static pages; you don't need Python at all for that. You might need a powerful Web programming framework, Python has excellent support for that <URL:https://wiki.python.org/moin/WebFrameworks>. Without you learning the very basics of web sites, though, you won't get much use from Python-specific knowledge about web frameworks. Good hunting! -- \ “Ridicule is the only weapon which can be used against | `\ unintelligible propositions.” —Thomas Jefferson, 1816-07-30 | _o__) | Ben Finney
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Python PNG Viewer(Browser Based) Arshpreet Singh <arsh840@gmail.com> - 2015-11-03 03:54 -0800
Re: Python PNG Viewer(Browser Based) Chris Warrick <kwpolska@gmail.com> - 2015-11-03 17:01 +0100
Re: Python PNG Viewer(Browser Based) Arshpreet Singh <arsh840@gmail.com> - 2015-11-03 22:27 -0800
Re: Python PNG Viewer(Browser Based) Ben Finney <ben+python@benfinney.id.au> - 2015-11-04 18:23 +1100
Re: Python PNG Viewer(Browser Based) marco.nawijn@colosso.nl - 2015-11-03 08:25 -0800
csiph-web