+ 1
How do you link to other program files in thr sanbox?
so typically in building a program you need to link to other codes in external files. to do so you would simply reference the folder path. what is the folder path for the sandbox? for instance programming an html page with javascripting(obviously already integrated, good thinking thanks) to call a python program. if both my html pagrs and my python program are on the sandbox, and or published publicly(i intend to keep all of my codes public. open source is true freedom of information to me) what would be my folder reference for the python program?
15 ответов
+ 1
You can reference other program files but you need an external storage. Sololearn is not Github but it is to test your coding ideas. So what's the problem to put additional files on a dropbox account (or each other you want)?
+ 1
oh theres no problem. im new to the community and trying to get a feel for how everything works. how do you reference other files in external sources then? ive got plenty of cloud storage at my disposal. total i think google give me like 565 gigs combined between my 2 accounts
+ 1
whats the reference for the sololearn sandbox lol
+ 1
oh snap. is that what shows up when you click the + and insert code?
+ 1
so to answer my own question now that we have breached the communications barrier: to find the link reference to link to other programs within the sololearn cloud click the share button on your code. chose your method sharing/saving(i chose text message) and copy that link in as the url. in html for instance the <a href>.
0
You need a server were you can put f.e. pictures, sound files and so on. That's the only way to use external files.
0
so i cant reference other program files in the digital sandbox here in sololearn?
0
It depends on the programming language and what type of file you want to use. Here is an example for javascript:
<script src='https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js'>
</script>
I suggest to look on public codes from other users. Besides you should start to code your own project. If problems will rise make your code public and ask the community regarding the special problem.
0
im working on my own project already. 3 actually, currently i do everything offline using ide platforms and such like netbeans, ive also been known to use google drive for on the go access, but i like the community here and wanted to share my codes on the sandbox. but the codes requires either the full folder to be uploaded for proper referencing to maintain, or me to just upload the seperate files and make the code changes for referencing where the program is at. i dont see how your script would work to reference to any file. what im meaning by reference is like <a href> where is the location i put? normally its just /blahfolder/blahfile.html or whatever
0
For me it seems that you already know that absolute references are necessary (f.e. <a/href="http://www.blahserver/blahfolder/blahfile.com>) to use external files on sololearn. So I don't understand what's actually your question?
0
for instance: i have RTIC on my codes. how do i reference its file in another program? whats the href? is it /sololearn/rtic.html? whats the folder path?
0
That's it but every file has it's own special key.
0
awesome lol