Discuss Scratch

wvzack
Scratcher
500+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

MagicCrayon9342 wrote:

wvzack wrote:

I am using vscode and got this error/problem with vscode? This is it
You should try downloading python from the official website instead of from the Microsoft store.
its not python (by python) its vscode(excuse me if i am wrong)
MagicCrayon9342
Scratcher
1000+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

wvzack wrote:

MagicCrayon9342 wrote:

wvzack wrote:

I am using vscode and got this error/problem with vscode? This is it
You should try downloading python from the official website instead of from the Microsoft store.
its not python (by python) its vscode(excuse me if i am wrong)
According to the output it's trying to do something with Python.
wvzack
Scratcher
500+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

MagicCrayon9342 wrote:

wvzack wrote:

MagicCrayon9342 wrote:

wvzack wrote:

I am using vscode and got this error/problem with vscode? This is it
You should try downloading python from the official website instead of from the Microsoft store.
its not python (by python) its vscode(excuse me if i am wrong)
According to the output it's trying to do something with Python.
well vscode uses python
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)
Help me
mybearworld
Scratcher
1000+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

wvzack wrote:

(#823)

MagicCrayon9342 wrote:

wvzack wrote:

MagicCrayon9342 wrote:

wvzack wrote:

I am using vscode and got this error/problem with vscode? This is it
You should try downloading python from the official website instead of from the Microsoft store.
its not python (by python) its vscode(excuse me if i am wrong)
According to the output it's trying to do something with Python.
well vscode uses python
No, it doesn't
mybearworld
Scratcher
1000+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

The_Challenge_Vault wrote:

(#824)
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)
Help me
  1. You can just use:
    s_removed = s.replace("@", "")
    
  2. 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! |

mybearworld wrote:

wvzack wrote:

(#823)

MagicCrayon9342 wrote:

wvzack wrote:

MagicCrayon9342 wrote:

wvzack wrote:

I am using vscode and got this error/problem with vscode? This is it
You should try downloading python from the official website instead of from the Microsoft store.
its not python (by python) its vscode(excuse me if i am wrong)
According to the output it's trying to do something with Python.
well vscode uses python
No, it doesn't
oh okay i did download python off of python.com though
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! |

-RabbitWorld- wrote:

I just started learning Python and I'm doing the 100 days challenge on Replit. Any tips would be great!
w3schools i find that better. But I've not totally finished the 100 days so yeah.
bigspeedfpv
Scratcher
500+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

-RabbitWorld- wrote:

I just started learning Python and I'm doing the 100 days challenge on Replit. Any tips would be great!
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
ajskateboarder
Scratcher
1000+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

-RabbitWorld- wrote:

I just started learning Python and I'm doing the 100 days challenge on Replit. Any tips would be great!
Refer to official documention for built-in libraries whenever you can, and use StackOverflow for finding specific questions

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! |

ajskateboarder wrote:

Rely on nothing else
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.
NFlex23
Scratcher
1000+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

-RabbitWorld- wrote:

I just started learning Python and I'm doing the 100 days challenge on Replit. Any tips would be great!
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.
ajskateboarder
Scratcher
1000+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

NFlex23 wrote:

ajskateboarder wrote:

Rely on nothing else
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.
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 issues

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! |

ajskateboarder wrote:

I was referring to online resources, and in the context of learning the basics of Python, those resources should be enough.
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
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
pip3 install pandas
it says i already have it. I did everything I could find on stackoverflow but it still doesn't work.
LoIdesMio
Scratcher
100+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

wvzack wrote:

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
pip3 install pandas
it says i already have it. I did everything I could find on stackoverflow but it still doesn't work.
I dont know if this is important might not be at all lol try pip install pandas instead of pip3
wvzack
Scratcher
500+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

LoIdesMio wrote:

wvzack wrote:

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
pip3 install pandas
it says i already have it. I did everything I could find on stackoverflow but it still doesn't work.
I dont know if this is important might not be at all lol try pip install pandas instead of pip3
Okay i will try.
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.

Powered by DjangoBB