creating a table within python code

Peter J. Holzer hjp-python at hjp.at
Thu May 28 17:12:19 EDT 2020


On 2020-05-22 10:22:40 -0400, Buddy Peacock wrote:
> Thank you Souvik, but still having issues.  I have pasted the command line
> interaction this time.  My prior message is what appeared in the browser.
> ================================================================================================================
> c:\Harvard\project1>SET FLASK_APP="create_db.py"
> 
> c:\Harvard\project1>set DATABASE_URL=postgres://
> guaqyugfujbudc:79ae65a6d8966991694906e4b96f20ebcfde5b80fb334e99d79d9300dd6ef95f at ec2-34-200-72-77.compute-1.amazonaws.com:5432/dep18tfh5g2eme
> 
> c:\Harvard\project1>flask run
>  * Serving Flask app ""create_db.py"" (lazy loading)
                       ^^^^^^^^^^^^^^^^
[...]
> ModuleNotFoundError: No module named '"create_db'
                                       ^^^^^^^^^^^^

I don't think those quotes were a good idea.

        hp

-- 
   _  | Peter J. Holzer    | Story must make more sense than reality.
|_|_) |                    |
| |   | hjp at hjp.at         |    -- Charles Stross, "Creative writing
__/   | http://www.hjp.at/ |       challenge!"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20200528/a4b459c4/attachment.sig>


More information about the Python-list mailing list