Current Events > I can't code worth a damn

Topic List
Page List: 1
Makeveli_lives
02/14/22 4:35:26 PM
#1:


print("Hello World")

It's not working in sublime text fam lol, what do I do?

---
Switch FC: SW-3917-4425-6106
PSN: PiKappaPhi769
... Copied to Clipboard!
BlackOmnimon
02/14/22 4:37:26 PM
#2:


Yeah, me neither.

print("Hello World")

Screen: Fuck You! *printer explodes*

---
.
... Copied to Clipboard!
1337toothbrush
02/14/22 4:37:38 PM
#3:


What language is this? Python?

---
https://imgur.com/a/FU9H8 - https://i.imgur.com/ZkQRDsR.png - https://i.imgur.com/2x2gtgP.jpg
... Copied to Clipboard!
Irony
02/14/22 4:37:39 PM
#4:


heLLo, WOrlD!?

---
I am Mogar, God of Irony and The Devourer of Topics.
... Copied to Clipboard!
Makeveli_lives
02/14/22 4:40:32 PM
#5:


1337toothbrush posted...
What language is this? Python?
Yes, python 3. I set up a new build and saved it as 'python3.sublime-build' using this code

{
"cmd": ["python3", "-u", "$file"],
}

Then Hello World you see above and...it's not working lol

---
Switch FC: SW-3917-4425-6106
PSN: PiKappaPhi769
... Copied to Clipboard!
1337toothbrush
02/14/22 4:40:57 PM
#6:


What's the error?

---
https://imgur.com/a/FU9H8 - https://i.imgur.com/ZkQRDsR.png - https://i.imgur.com/2x2gtgP.jpg
... Copied to Clipboard!
CableZL
02/14/22 4:41:53 PM
#7:


Maybe try saving the file as .py

not sure if that matters

---
https://i.imgtc.com/d9Fc4Qq.gif https://i.imgtc.com/BKHTxYq.gif
https://i.imgtc.com/vYYIuDx.jpg
... Copied to Clipboard!
#8
Post #8 was unavailable or deleted.
Makeveli_lives
02/14/22 4:43:39 PM
#9:


1337toothbrush posted...
What's the error?
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
[Finished in 267ms]

---
Switch FC: SW-3917-4425-6106
PSN: PiKappaPhi769
... Copied to Clipboard!
Heartomaton
02/14/22 4:44:10 PM
#10:


Well I can't damn worth a code.

---
https://www.youtube.com/user/Heartomaton
Heartomaton for President 2028.
... Copied to Clipboard!
Makeveli_lives
02/14/22 4:44:55 PM
#11:


Got through the most basic shit on the mac with no issues aside from a typo, trying to do the same on windows and it just won't run at all.

---
Switch FC: SW-3917-4425-6106
PSN: PiKappaPhi769
... Copied to Clipboard!
1337toothbrush
02/14/22 4:47:13 PM
#12:


Makeveli_lives posted...
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
[Finished in 267ms]
You either need to install Python or, if it's installed, you need to add it to your path so that the terminal knows where to call it.

---
https://imgur.com/a/FU9H8 - https://i.imgur.com/ZkQRDsR.png - https://i.imgur.com/2x2gtgP.jpg
... Copied to Clipboard!
Makeveli_lives
02/14/22 4:51:36 PM
#13:


1337toothbrush posted...
You either need to install Python or, if it's installed, you need to add it to your path so that the terminal knows where to call it.
I have sublime and idle, I was supposed to get more? Is Idle not python? I'm using the search bar to look for it and got a progran called Python 3.10 (64-bit). Tried a bit of code just now and I'm getting this:

Python 3.10.2 (tags/v3.10.2:a58ebcc, Jan 17 2022, 14:12:15) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> print("Hello World")
Hello World
>>> cd Desktop\python_work
File "<stdin>", line 1
cd Desktop\python_work

SyntaxError: unexpected character after line continuation character
>>>

---
Switch FC: SW-3917-4425-6106
PSN: PiKappaPhi769
... Copied to Clipboard!
1337toothbrush
02/14/22 4:53:40 PM
#14:


Follow these instructions to add Python to your path:

https://geek-university.com/python/add-python-to-the-windows-path/

---
https://imgur.com/a/FU9H8 - https://i.imgur.com/ZkQRDsR.png - https://i.imgur.com/2x2gtgP.jpg
... Copied to Clipboard!
Topic List
Page List: 1