+ 13
For All of My Friends in SoloLearn This Is An Open Source Server Code that I Made for You !
You Can Copy It But Don't Forget To Like :) By The Way Read The Notes In The Code : https://code.sololearn.com/cg716g31M39y/?ref=app
10 Answers
+ 10
Nice code!
+ 10
@Vitalij this server is a program that can executed (Run) in background you can use it for any console but you should edit the code but how ?
here is how first you have to set the platform after you set it up you can edit the code by setting up extra feature for it ( you should code the future yourself : / ) this server sends a message to an android device by the way for more supporting you should make your message contain something like the os module that calls the operating system to do something or for android platforms we use the "sl4a.Android()" module this module is used to call the android operating system to do something but because you are a basic level programmer I won't teach about the "lambda platforms" it's a little bit complicated so just stay with what I told about this server but let me tell you now about the structure of this server :
socket module ( python module that is used for networking )
sl4a module ( you should write it with the function Android() like this "sl4a.Android()" to call android operating system to do something )
the re module ( a module that is used for common things like the matching of two string for example "re.search(" hello", "hello")" that means it search's for a match between these strings Warning : this module is used for strings only (text) )
file that should be in the directory of the program so when the server connects to the client these files will be read by the server to check them
object-oriented code ( an object (class) that will read the files of the client to check it it will automatically check it
tests ( tests that will be done with loops )
Note : this is an open source so you can edit messages and make it send files or whatever you want to do with it
+ 8
Looks good!
+ 8
Tip : for those who want to make it a localhost don't forget the localhost shebang :)
+ 8
@Vitalij don't thank me that's my job
+ 7
I Will Try To Make It Send Files In Next Updates This Is V1.0 Of This Server
+ 7
@Vitalij i'm a programmer and sometimes I make gaming videos or tutorials on YouTube :P
+ 2
Thx! But pls explaine what your server do. This code is hard for my basic level:)
"""
THIS SERVER REQUIRES MAKING FILES FOR CHECK SO IF YOU WANT TO COPY IT'S OK BECAUSE I MADE IT AS AN OPEN SOURCE CODE WHEN YOU COPY BECARFUL SOME CODE GROUNDS/EDITORS DOESN'T SUPPORT COPYING SPACES LIKE THE IMPORTS IN THE FIRST 3 LINES IT DOESN'T SUPPORT COPYING THE SPACES BETWEEN THEM MAYBE THIS WILL NEED A LITTLE BIT OF EDIT IT'S AN ANDROID SERVER DON'T FORGET TO LIKE :)
"""
+ 2
@warlord what is your job?
why u have a nickname "warlord"?
Bcs wars aren't happy for ppl :(