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)

Likes: Programing (python scratch Lua c++ I am bad at c++ a) Aiviation (B787 Queen of the sky F35) Mountain Biking and Messing around with computers (not a gamer at all)
My projects I am most happy with also the few “polished games I have:
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

Likes: Programing (python scratch Lua c++ I am bad at c++ a) Aiviation (B787 Queen of the sky F35) Mountain Biking and Messing around with computers (not a gamer at all)
My projects I am most happy with also the few “polished games I have:
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

Signatures are the only place where assets links still work.
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)


Signatures are the only place where assets links still work.
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

Likes: Programing (python scratch Lua c++ I am bad at c++ a) Aiviation (B787 Queen of the sky F35) Mountain Biking and Messing around with computers (not a gamer at all)
My projects I am most happy with also the few “polished games I have:
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)


♥ SDS Manager
♥ 6 Featured Studios
♥ FPC #517
♥ SWC Reviewer
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.

I make cloud Games! Using Scratchattach by @TimMcCool!
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

cat throwing brick at camera transparent dot gif
https://bigspeed.me
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.

Help improve the Advanced Topics (Really!)
Before you create a topic:
Always search for duplicates or other similar topics before making an umbrella topic, e.g., “The Mac Topic”.
  • Is it about something you are planning on making but haven't made yet? If so, please wait to post until you have created a working prototype. This is a key factor to keeping the ATs as clean as possible.
  • The ATs aren't technical support. It is perfectly valid to ask questions about things related to programming, but not issues with external websites, apps, or devices. Most sites have their own support system; try asking there!
  • Is it related to something you are making in Scratch? (This includes OSes and other Scratch projects) If so, please post in Collaboration, Show and Tell, or another similar forum.
  • Is your topic questionably “advanced”? Try browsing the other forums to see if your topic fits better in one of those.
  • Issues with Scratch itself should be put in Bugs and Glitches.
Before you post: Is what you're posting likely to start an argument or derail the thread (e.g., browsers, operating systems)? If so, please re-think your post!





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.

Help improve the Advanced Topics (Really!)
Before you create a topic:
Always search for duplicates or other similar topics before making an umbrella topic, e.g., “The Mac Topic”.
  • Is it about something you are planning on making but haven't made yet? If so, please wait to post until you have created a working prototype. This is a key factor to keeping the ATs as clean as possible.
  • The ATs aren't technical support. It is perfectly valid to ask questions about things related to programming, but not issues with external websites, apps, or devices. Most sites have their own support system; try asking there!
  • Is it related to something you are making in Scratch? (This includes OSes and other Scratch projects) If so, please post in Collaboration, Show and Tell, or another similar forum.
  • Is your topic questionably “advanced”? Try browsing the other forums to see if your topic fits better in one of those.
  • Issues with Scratch itself should be put in Bugs and Glitches.
Before you post: Is what you're posting likely to start an argument or derail the thread (e.g., browsers, operating systems)? If so, please re-think your post!





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

cat throwing brick at camera transparent dot gif
https://bigspeed.me
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.

Likes: Programing (python scratch Lua c++ I am bad at c++ a) Aiviation (B787 Queen of the sky F35) Mountain Biking and Messing around with computers (not a gamer at all)
My projects I am most happy with also the few “polished games I have:
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

I make cloud Games! Using Scratchattach by @TimMcCool!
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)


Likes: Programing (python scratch Lua c++ I am bad at c++ a) Aiviation (B787 Queen of the sky F35) Mountain Biking and Messing around with computers (not a gamer at all)
My projects I am most happy with also the few “polished games I have:
LoIdesMio
Scratcher
100+ posts

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

I THINK that means its already downloaded.

I make cloud Games! Using Scratchattach by @TimMcCool!

Powered by DjangoBB