Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
- wvzack
- Scratcher
500+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
its not python (by python) its vscode(excuse me if i am wrong)You should try downloading python I am using vscode and got this error/problem with vscode? This is itfrom the official website instead of from the Microsoft store.
- MagicCrayon9342
- Scratcher
1000+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
According to the output it's trying to do something with Python.its not python (by python) its vscode(excuse me if i am wrong)You should try downloading python I am using vscode and got this error/problem with vscode? This is itfrom the official website instead of from the Microsoft store.
- wvzack
- Scratcher
500+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
well vscode uses pythonAccording to the output it's trying to do something with Python.its not python (by python) its vscode(excuse me if i am wrong)You should try downloading python I am using vscode and got this error/problem with vscode? This is itfrom the official website instead of from the Microsoft store.
- The_Challenge_Vault
- New Scratcher
100+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
s = "0@11101@101101@110101@11010101001@110101010@110101001@11010101010@110101010@1101010100@110101001@110101@1100101@1110101@11101101@" s_removed = s.translate( { ord("@"): None } ) s_decoded = int(s_removed, 2)
- mybearworld
- Scratcher
1000+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
(#823)No, it doesn'twell vscode uses pythonAccording to the output it's trying to do something with Python.its not python (by python) its vscode(excuse me if i am wrong)You should try downloading python I am using vscode and got this error/problem with vscode? This is itfrom the official website instead of from the Microsoft store.
- mybearworld
- Scratcher
1000+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
(#824)Help mes = "0@11101@101101@110101@11010101001@110101010@110101001@11010101010@110101010@1101010100@110101001@110101@1100101@1110101@11101101@" s_removed = s.translate( { ord("@"): None } ) s_decoded = int(s_removed, 2)
- You can just use:
s_removed = s.replace("@", "")
- What's your problem? This seems to work.
Last edited by mybearworld (May 7, 2023 16:18:16)
- wvzack
- Scratcher
500+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
oh okay i did download python off of python.com though(#823)No, it doesn'twell vscode uses pythonAccording to the output it's trying to do something with Python.its not python (by python) its vscode(excuse me if i am wrong)You should try downloading python I am using vscode and got this error/problem with vscode? This is itfrom the official website instead of from the Microsoft store.
- MagicCrayon9342
- Scratcher
1000+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
How are you running the script?
- -RabbitWorld-
- Scratcher
1000+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
I just started learning Python and I'm doing the 100 days challenge on Replit. Any tips would be great!
Last edited by -RabbitWorld- (May 22, 2023 20:46:10)
- LoIdesMio
- Scratcher
100+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
w3schools i find that better. But I've not totally finished the 100 days so yeah. I just started learning Python and I'm doing the 100 days challenge on Replit. Any tips would be great!
- bigspeedfpv
- Scratcher
500+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
set up a local development environment at some point if you can. learn how python and local development work, your life will be a million times easier later I just started learning Python and I'm doing the 100 days challenge on Replit. Any tips would be great!
- ajskateboarder
- Scratcher
1000+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
Refer to official documention for built-in libraries whenever you can, and use StackOverflow for finding specific questions I just started learning Python and I'm doing the 100 days challenge on Replit. Any tips would be great!
Rely on nothing else And look toward other resources if neither of the above apply, like blog posts or articles
Oh, and learn how to use the terminal after the 100 days
Last edited by ajskateboarder (May 22, 2023 22:54:54)
- NFlex23
- Scratcher
1000+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
I don't know where that came from, but I wouldn't encourage it. Use whatever resources you can: don't be limited to just SO and the official documentation. Books can be a great help as well; there are probably an abundance of Python books at your library–I know there are a lot at mine. If you make sure anything you use is reasonably up to date, you should be fine. Rely on nothing else
- NFlex23
- Scratcher
1000+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
Try building projects of your own when you have enough confidence. They don't have to be especially fancy or even useful, just do it for fun and the learning experience. I have made some pretty pointless projects in the past, but they all have helped me to become a better programmer. I just started learning Python and I'm doing the 100 days challenge on Replit. Any tips would be great!
- ajskateboarder
- Scratcher
1000+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
I was referring to online resources, and in the context of learning the basics of Python, those resources should be enough. StackOverflow also contains good questions about core Python features (generators, concurrency, etc), not just specific issuesI don't know where that came from, but I wouldn't encourage it. Use whatever resources you can: don't be limited to just SO and the official documentation. Books can be a great help as well; there are probably an abundance of Python books at your library–I know there are a lot at mine. If you make sure anything you use is reasonably up to date, you should be fine. Rely on nothing else
Books are good, although you should probably use online versions, like ones from O'Reilly or something
- bigspeedfpv
- Scratcher
500+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
I definitely think that online resources other than well vetted tutorials/creators, official docs, and SO answers from the last 2-3 years do more harm than good. I can't tell you how many completely useless Medium articles I've read lol I was referring to online resources, and in the context of learning the basics of Python, those resources should be enough.
- wvzack
- Scratcher
500+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
I am making a plane tracker (with some extra features) and i am using pandas in vscode. Everything was working until it Sayed that the pandas module cannot be found. I know i have it because when I run it says i already have it. I did everything I could find on stackoverflow but it still doesn't work.
pip3 install pandas
- LoIdesMio
- Scratcher
100+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
I dont know if this is important might not be at all lol try pip install pandas instead of pip3 I am making a plane tracker (with some extra features) and i am using pandas in vscode. Everything was working until it Sayed that the pandas module cannot be found. I know i have it because when I runit says i already have it. I did everything I could find on stackoverflow but it still doesn't work.pip3 install pandas
- wvzack
- Scratcher
500+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
Okay i will try.I dont know if this is important might not be at all lol try pip install pandas instead of pip3 I am making a plane tracker (with some extra features) and i am using pandas in vscode. Everything was working until it Sayed that the pandas module cannot be found. I know i have it because when I runit says i already have it. I did everything I could find on stackoverflow but it still doesn't work.pip3 install pandas
Edit: i just get
Requirement already satisfied: pandas in c:\users\####appdata\local\packages\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\localcache\local-packages\python311\site-packages (2.0.2)
Requirement already satisfied: python-dateutil>=2.8.2 in c:\users\####\appdata\local\packages\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\localcache\local-packages\python311\site-packages (from pandas) (2.8.2)
Requirement already satisfied: pytz>=2020.1 in c:\users\####\appdata\local\packages\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\localcache\local-packages\python311\site-packages (from pandas) (2023.3)
Requirement already satisfied: tzdata>=2022.1 in c:\users\####\appdata\local\packages\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\localcache\local-packages\python311\site-packages (from pandas) (2023.3)
Requirement already satisfied: numpy>=1.21.0 in c:\users\####\appdata\local\packages\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\localcache\local-packages\python311\site-packages (from pandas) (1.24.3)
Requirement already satisfied: six>=1.5 in c:\users\####\appdata\local\packages\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\localcache\local-packages\python311\site-packages (from python-dateutil>=2.8.2->pandas) (1.16.0)
Last edited by wvzack (June 16, 2023 20:30:28)
- LoIdesMio
- Scratcher
100+ posts
PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |
I THINK that means its already downloaded.