Crayton
Hacker
@Crcoli7307
Hi. Thanks for checking out my profile! I started about 2 years ago scripting ROBLOX Lua then merged into HTML, now I'm learning JavaScript.
Hello Friends!
Im working on a hard drive format tool and I am pulling my hair out because when I run the attached code.
I get this back:
cmd /k "for
ZealousOS
FreeSampleBy_Wix
What's New?
Computer Install Support
Built-In Updater
Packages
Faster Boot
Enhanced Built-in Antivirus
And More!
Our Tea
ZealousOS
Our Team
@Crcoli7307 (Founder)
@BenjaminOBrien (Lead/Head Developer)
Opening
First Off, most credit goes to @BenjaminOBrien for creating t
dicker36 Hi @Crcoli7307,
how are you,
I´m also lerning python, would like us to lern together it´s possible?
I´m form berlin
my discord #36333 years ago
ZealousOS
Feedback Hub
Welcome to ZealousOS Feedback Hub!
This thread is meant for comments and feedback of ZealousOS! I check the comments like ever
Welcome to ZealousOS!
What's New?
We have added many new things to ZealousOS! Here's what's new!
Better Error Handling!
We are trying our best to prev
Codemonkey51 I recommend doing import login Instead of exec(open("login.py").read()) because import executes all code in it doing the same thing but faster + safer3 years ago
So I’ve seen in some scripts when they are loading they will have a loading spinner thing that displays a / then \ then - And I was wondering how the
CodeLongAndPros from halo import Halo
with Halo(text="Loading", spinner='line'):
while 1==1:
x = None
To see all spinners, look at https://github.com/sindresorhus/cli-spinners/blob/dac4fc6571059bb9e9bc204711e9dfe8f72e5c6f/spinners.json3 years ago
DynamicSquid Check out my code :)
spin = [ '|', '/', '-' ]
for a in spin:
print(a)
sleep(0.3)
clear()
I did something like that3 years ago
ZealousOS
What?
Yep. ZealousOS just game out on a website! Now I know what you all are gonna say, "This isn't an OS it's just a Website." Well, guess
CodeLongAndPros Everyone wants to see software with a GUI, not just a command-line.
Yeah, no. Want to move all mp3/4 files in a directory? In one command? Talk to Zsh.3 years ago
So I am new to C so this question is going to be overly simplified.
Let's make a function
int foo() {
Really Important code here
}
Ok Cool.
int b
emilyUsesPascal assuming that foo() is in the same file in bar, your function bar() would look like this
int bar(){
foo();
}
`3 years ago
ChezCoder Im not really good at c but can't you just do
int bar() {
// code...
foo()
// code...
}
yeah, you can:
https://repl.it/@ChezCoder/BiodegradableIntelligentQueryoptimizer#main.c3 years ago
I am trying to include the conio.h library in C but it keeps saying it's not found...
image
chaseban
use #include in place of #include
Screenshot(5)
Screenshot(6)
as said before;
getch() becomes getchar()2 years ago
I am making a program in C and it has multiple scripts. In python, you can just do exec(open("foo.py")). But how would you do that in C? Like how do I
Crcoli7307 Like how can I finish running the code in main.c and start running the code in foo.c?
image
@StudentFires @TheDrone73 years ago
TheDrone7 You can also modify the working of the run button. Learn here how - https://docs.repl.it/repls/dot-replit3 years ago
xxpertHacker C doesn't have "scripts", but are you looking for imports or multi-threading?
#include "./foo.c";
You can't just execute C on the go, it's a compiled language.3 years ago
Python or C?
So I just started learning C, I've learned Python for about 3 weeks and I would like to compare and contrast them a bit and give them bot
Oruma I agree Python is easier to learn compared to C but the interesting part is that C has more advantage to Python.1 year ago
ZXDANIEL C is the better choice. When I started off python I found a lot of things counter-intuitive. Python is a bit like driving with automatic while C is more manual. This is rather important since what differentiates a code monkey from a human is the level of understanding...1 year ago
BenK9 my opinion is python because you can use staff like Cython or Numba to give it c speed and larder community with allot of libs1 year ago
A. I am 12 years old.
B. I just started learning C.
So obviously it isn't much but you basically enter a pin then you enter it again if it's wrong it'
C
emilyUsesPascal I would recommend using strcmp instead of the equal operator when comparing strings
Also, you are using a c++ header in a c project, which you cannot do3 years ago
ZealousOS
Welcome to ZealousOS!
Update v1.1.1
Welcome to ZealousOS! In the last update, we had introduced plugins, however, in this update, you can cr
Python
rediar All public code in a repl is licensed under a mit license dude.
Uploading 13BDE3ED-9679-4986-9394-F5A58E63F42B.jpeg...3 years ago
ZealousOS
Plugin Update!
Tonight is a big stepping stone for ZealousOS! Today I present to you ZealousOS v1.1.0 The Plugins Update.
Expand your Zealo
Python
Welcome to ZealousOS!
The better version of PythonOS.
ZealousOS is an open-source command-line software made with Python.
What's the difference from P
Python
I'm making a full operating system called ZealousOS, But one small problem, I don't know how to code C++. I plan on having the Program made out of C++
Kai_Justice Ok so I've got a life hack for finding someone who can code in C++.
Learn C++
Profit3 years ago
Hey guys! If you've seen some of my other posts you may know that I'm working on a new operating system. However, I only know Python and HTML. So I wa
Baconman321 I know javascript somewhat well, I don't know much of the too complicated parts though. I'd be happy to try, I don't know that much about operating systems, however, and I have limited time. I also get bored easily, but as I said, I'd be happy to try to help.3 years ago
Python OS has finally released! Version v0.1.0 Final has Released! Be sure to check it out and let me know in the comment of anything that I should ad
Python
Welcome to PythonOS, an Operating System made with Python. To make a suggestion, please leave a comment below!
Current Revision v0.0.3.
v0.0.3 Updat
Python
I am making my own Operating System in Python (I guess) and I don't know how to make a savable password so if the script runs again it will ask for th
Python
CodeLongAndPros I would hash the passwords with SHA256. Use this
Then write to a file:
hashed_password = 6a51250c5536ecc116180aa1cf2ac512
with open('file.txt', 'r+') as f:
f.write(hashed_password)
`3 years ago
HunterGraham You can use the write() function. But, this can take only one string and put it into a file. But, if you wanted to write multiple lines at once. You can use the writelines() function to put data in a sequence (like a list or tuple) and into a file.3 years ago
SushiPython I recommend using a database, such as MongoDB, to store your passwords so that you can reference and find them even if the OS restarts.3 years ago