Skip to content
Sign UpLog In
Profile icon

Carl Liljencrantz

@CarlLiljencrant
Repls
Community
CarlLiljencrant
CarlLiljencrant
shared a Post
4 years ago
Using .txt files in python
I've run in to a problem with my code. I'm trying to create a game for me and my friends just to have some fun togheter and challenge my self. The pro
OathOfCode
OathOfCode
You could use a = append and add w = write and replace. file = open("Whatever you want.txt", "a") file.write(whatever) file.close() I wasn't assigning variables!4 years ago
a5rocks
a5rocks
You can get free MongoDB hosting (MongoDB Atlas), or you can use jsonstore (someone made a post on repl talk about jsonstore before) Also, see if becoming an explorer can help. It may corrupt things, but I'm pretty sure they are testing out programmatic writing rn.4 years ago
CarlLiljencrant
CarlLiljencrant
shared a Post
4 years ago
My question is simple: How do i create an app in django on repl.it?
shuh
shuh
Hi, I’m starting out on a similar journey but finding trouble even installing the Django package.. Have you had any success with this project?3 years ago
IshanPatel8
IshanPatel8
go to the shell at the bottom of the page. check your command directory. type cd and press tab 2 or 3 times. You will get a list of files in your directory and check if you have manage.py on that list. If you don't, then type cd . Then type python manage.py startapp . If this does not work, just run your project and quit and try again.3 years ago
vasylpiasetskyi
vasylpiasetskyi
Hello, Press F1 and start shell, after that type next script: python ./manage.py startapp3 years ago