Re: Web Frameworks

2017-03-09 Thread David Froger
There is a free ebook on the subject on O'Reilly: http://www.oreilly.com/web-platform/free/python-web-frameworks.csp Hope it helps, David Quoting Patrick McFarling (2017-03-09 10:24:16) > I would like to know what are the pros and cons of the web frameworks made in > python. > The one I tend to

Re: Unable to Debug

2017-01-02 Thread David Froger
Hello Aritra, Your standard output and standard error are mixed (I don't know why), so error message is not immediate to read. It is: > Traceback (most recent call last): > File "C:/Users/Aritra Bhattacharjee/PycharmProjects/PythonWebModules/Web > Scraper.py", line 17, in > print(product_

Re: learning and experimenting python.

2016-12-30 Thread David Froger
Quoting einstein1...@gmail.com (2016-12-30 18:50:19) > Hello everyone, > I am the new comer and learner of python. > I have a doubt that when I type python and press enter it shows a prompt like > >>> > But why it is >>> ? > Is there any special reason? > Why it is not setted as @,& or any other sp

Re: How to create a voting website by Python and Flask?

2014-03-03 Thread David Froger
Quoting Harry Wood (2014-03-03 16:22:22) > How to create a voting website by Python and Flask? I studying Python and > Flask for some months, and > > - Now I have some Python & Flask basic skills. > - I need some advices like following example: > Step 1: You could writing an voting application

Re: Large Two Dimensional Array

2014-01-28 Thread David Froger
Quoting Ayushi Dalmia (2014-01-29 06:25:54) > Hello, > > I am trying to implement IBM Model 1. In that I need to create a matrix of > 5*5 with double values. Currently I am using dict of dict but it is > unable to support such high dimensions and hence gives memory error. Any help > in

Re: word replacing in a paragraph

2014-01-06 Thread David Froger
Quoting Frank Cui (2014-01-06 15:01:25) > Hey guys, > > I'm trying to automate a process by initially creating a standard template and > then replace some text fields with variable values. > > [for example, "DATE" in the paragraph will be replaced by the current date > value. it doesn't have to b

Re: Web framework

2013-11-22 Thread David Froger
Hi, > I'm thinking of porting a Python application that uses numpy for web, > basically would like to upload a user-defined data, perform the > calculations with numpy and plot charts with the general structure of a > site such as a blog for example, I have studied a bit of django and > web2py, bu

Re: writing fortran equivalent binary file using python

2013-11-13 Thread David Froger
Hi Sudheer, Fortan binary format is not portable, and it's hard to work with it with different langages, compilers, architectures... In you're Python code, you also use NetCDF, which solve all these problems. I would suggest to use only NetCDF files in both Python and Fortran code. (So never use

Re: Conditional breakpoints in ceval.c

2013-11-12 Thread David Froger
Quoting Ned Batchelder (2013-11-09 14:24:34) > On Friday, November 8, 2013 9:03:51 PM UTC-5, Demian Brecht wrote: > > Hi all, > > > > I have an .py file with a simple assignment in it: > > foo = 'bar' > > > > Now, I want to set a conditional breakpoint in gdb, breaking on that > > assignment (I'm

shared libraries symbols visibility

2013-10-30 Thread David Froger
Hi list, Python documentation on Extending Python with C or C++ says [1]: When modules are used as shared libraries, however, the symbols defined in one module may not be visible to another module. Suppose I have an extension module that call functions provided by a shared library, for ex