Ok, could you mark the post that solved your problem please?
To use python for the online remix the hello-flask project
That is for Flask projects only.
@no_one, I took a look at your index.html and it looks like you are sending POST requests to the wrong PY file. (By the way, I do not know how to use Flask.)
so whatâs the right PY file
Check the spelling of the PY file and you will get it on your own.
No, you cannot run python on a static site. You will get an âUnacceptableâ HTTP error if you try to upload files on static sites!
Just a friendly note, @no_one, you do not need to have space on your computer to use any Python (or any other language or frameworkâs) modules. The module will be installed on Glitchâs servers not your computer.
No, thatâs not what i was saying, RiversideRocks prompted me to install Django
Can you explain why your windows computer has less storage than an sd card?
weâre talking about installing django on glitch not on your local computer
He recommended you to
Django not download.
I have a Raspberry pi 4 Model B which has a shocking 256 gigabytes in it with a lifetime warranty
I have enough space to download NOOBS, then get raspbian and a bunch of other OSes, maybe run chromeOS on there, I donât know⌠windows
and you have zero bytes on the C drive
And @RiversideRocks its microSD
Card for proof: https://www.amazon.com/SanDisk-256GB-microSDXC-Memory-Adapter/dp/B0758NHWS8/ref=sxin_9_ac_d_pm
I reccomend you buy a PI0 or get more storage, because man, you have no storage.
Someone just make a django starter for @no_one if he doesnât want to buy stuff.
I would also have a suspicion it has less than required storage for Windows 10 64 bit
Just put flask in requirements.txt and suck up the five minute limit. Because there is no breaking rules here.
Chromeos is defintnally installable, Iâve done it own a 32gb SD Card.
I donât see how itâs possible to buy a 9.25 drive, and I donât think anyone every partions their drive by quarters either
alright, here it is- in order to use modules like flask (i personally reccomend it) or django you need to have a way of installing them and reinstalling if something goes wrong.
If you use a requirements.txt, your project turns non-static.
Yes, but I recommend keeping it blank or Glitch may reinstall the modules listed in it every time your project is woken up.
Erm⌠Better to keep it out altogether
He could be on a virtual machine for some reason.
i am not.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.