Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Ben Finney Newsgroups: comp.lang.python Subject: Re: Python PNG Viewer(Browser Based) Date: Wed, 04 Nov 2015 18:23:53 +1100 Lines: 43 Message-ID: References: <9c24559b-17a4-41fc-80a2-9258fd84c9f1@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de 1QJiWDL+tg7+UyrJ8JAaQA4YeGOVF2Ea5rGWxwQxbVYA== Cancel-Lock: sha1:jLdInu69AQj5EH/pHHDGNWi9zYs= Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.015 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'static': 0.03; 'subject:Python': 0.05; 'pages.': 0.07; 'frameworks.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.10; 'files.': 0.13; 'framework,': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'weapon': 0.16; 'wrote:': 0.16; '2015': 0.20; 'programming': 0.22; 'header:User-Agent:1': 0.26; 'header:X -Complaints-To:1': 0.26; 'chris': 0.26; 'url:moin': 0.27; 'developing': 0.28; 'that.': 0.30; 'url:wiki': 0.30; 'folder': 0.30; 'though,': 0.32; 'problem': 0.33; 'url:python': 0.33; 'instead,': 0.33; 'structure': 0.34; 'file': 0.34; 'list': 0.34; 'so,': 0.35; 'could': 0.35; 'knowledge': 0.35; 'but': 0.36; 'project': 0.36; 'instead': 0.36; 'there': 0.36; 'url:org': 0.36; 'basic': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; "won't": 0.38; 'files': 0.38; 'url:en': 0.39; 'system.': 0.39; 'rather': 0.39; 'resources': 0.39; 'to:addr:python.org': 0.40; 'some': 0.40; 'your': 0.60; "you'll": 0.61; 'skip:u 10': 0.61; 'show': 0.62; 'yes': 0.62; 'research': 0.62; 'more': 0.63; 'visit': 0.64; 'lack': 0.76; 'click': 0.76; '_o__)': 0.84; 'hunting!': 0.84; 'received:125': 0.84; 'utc+5:30,': 0.84 X-Injected-Via-Gmane: http://gmane.org/ X-Gmane-NNTP-Posting-Host: jigong.madmonks.org X-Public-Key-ID: 0xAC128405 X-Public-Key-Fingerprint: 517C F14B B2F3 98B0 CB35 4855 B8B2 4C06 AC12 8405 X-Public-Key-URL: http://www.benfinney.id.au/contact/bfinney-pubkey.asc X-Post-From: Ben Finney User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:98211 Arshpreet Singh 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 . 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 . 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