Como faço para rodar outro arquivo?
posted to Ask by AsgardianoBR

eu acho que já é tarde demais, mas aqui está: Crie um arquivo chamado ".replit", e nele coloque 'language = "python"', e embaixo 'run = "python Aula4.py"'.Aqui está um exemplo (que não funciona por causa do "All" xD)

Hangman ONE LINER **WORKING** (1 line series)[no3]
posted to Share by rafrafraf

THIS IS AMAZING!

Wanna help spam some scammers?
posted to Share by rafrafraf

Congratulations

How to run files that are not named main.py?
posted to Ask by KarthikeyanM2

On the repl.it

make a file with name ".replit", and type:

language="python"
run="python filename.py"

Importing the file

you can do things like:

#example.py

def main():
 print('xD')
 return 123
from example import main #You can import the file and use he functions

main() #write 'xD' in the terminal
x = main() 
print(x) #write 123 in the terminal
Online Minecraft!
posted to Share by bluewolfgh

C o o l

Como faço para rodar outro arquivo?
posted to Ask by AsgardianoBR

@PabloJuan Ah! De preferencia: você pode dar "import Aula4" e chamar uma função que tem nele.

how to use pillow in repl.it python
posted to Ask by thinkboom

try to use the BASH, the bash language emulates a Ubuntu system, and you can use Images,Videos in he.

What is a good language to learn?
posted to Ask by Kookiez

@Kookiez
C++ is more easy, C# is C++, but a little bit more different.

If you want go easy, C++, he can make amazing things with the #include <>, look the windows.h for example.

If you want do programs more usefuls, with a beautiful language, use C#

Here, a Hello world with C++:

#include <iostream>

int main() {
    std::cout << "Hello World!";
    return 0;
}

readable

Now, a Hello World with C#:

using System;

namespace HelloWorld
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");
        }
    }
}

from here

It is not Java!

how to display image
posted to Ask by thinkboom

use Bash language and make you python file, write in the main.sh file "python pythonfilename.py", the bash emulates a Ubuntu computer(!).

What is a good language to learn?
posted to Ask by Kookiez

C++ and Python, you can do Amazing things with Python, but with the C++ you can do the Universe.

Not Running Secure Connection
posted to Ask by computerluca

this solve you problem?

"In express.js (since version 3) you should use that syntax:

var fs = require('fs');
var http = require('http');
var https = require('https');
var privateKey  = fs.readFileSync('sslcert/server.key', 'utf8');
var certificate = fs.readFileSync('sslcert/server.crt', 'utf8');

var credentials = {key: privateKey, cert: certificate};
var express = require('express');
var app = express();

// your express configuration here

var httpServer = http.createServer(app);
var httpsServer = https.createServer(credentials, app);

httpServer.listen(8080);
httpsServer.listen(8443);

In that way you provide express middleware to the native http/https server

If you want your app running on ports below 1024, you will need to use sudo command (not recommended) or use a reverse proxy (e.g. nginx, haproxy)."

sonic
posted to Ask by hanbot

With the Unity, here

For a open source game,in the C language, here

A C++ Allegro tutorial (portuguese, sorry), here

:D

can someone tell me python def
posted to Ask by Flyingcrabs

@Flyingcrabs
the function is a addtion function, he needs 2 arguments (the x and the y), the returns takes the "value to return" and put in a "var" (in my case, the x + y)

can someone tell me python def
posted to Ask by Flyingcrabs

Hi! You can use the def to create functions, look:

def add(x,y):
 return x + y

with this function you can do:

var = add(1,3)
How to use a custom domain
posted to Tutorials by dotcomboom

nice

OBLIVION
posted to Share by Bookie0

Why i'm are here xD?

OS Template
posted to Share by Scpreviewreview

AaAaAAaA!
Its look like my Dog OS

edit: i gonna learn about OS and the Minix system.

i made a animation
posted to Share by ArivMukati

WOW

OS Template
posted to Share by Scpreviewreview

@Scpreviewreview

Change the name to "OE Template" now xD

Trabalho 2 algoritmos
posted to Share by EmillyMeireles

Olá Emilly! Bem-vinda ao repl.it! Ao digitar uma string, retorna um erro, para evitar coisas como essa você pode usar Except, que no contexto, seria algo como:

x = input('Digite um número:\n')
while(true):
 try: 
  float(x)
  break
 except ValueError:
  x = input('Digite um NÚMERO:\n')

EDIT: bruh, se estou lembrado, você pode usar int(x) para converter uma string para número, tipo:

 x = "123"
 int(x) #Retornaria literalmente 123
OS Template
posted to Share by Scpreviewreview

You need learn Assembly and C/C++ to make a OS.
For you happy, here is some links to help you:
http://www.linuxfromscratch.org/,
https://www.fergonez.net/files/tut_sistoper.pdf,
http://menuetos.net/docs.htm,
https://rufus.ie/

mom we need a dog
posted to Share by bluemonkeymoo

xD
You can use the random dog website to get some dog photos,
And the 1998 website... Dog of the day.

Doubt
posted to Ask by AsgardianoBR

Novamente, estou respondendo algo "antigo", mas oque quer dizer com isso?

Binary
posted to Ask by JustineHoresh

@finleyparr
bin(int(x)).split('0b')[1]

Help me!
posted to Ask by PabloJuan

@Highwayman What would the code look like? (I am a beginner)