Проблема со скриптом py

JRD

Malware Analyst
Joined
Sep 23, 2016
Messages
708
Reaction score
293
И так, решил я создать простенький скрипт по уникализации текста ( русские буквы на английские меняет)
Python:
case=input('введите ваш текст')
case=case.lower()
case=case.replace('а','a')
case=case.replace('о','o')
case=case.replace('е','e')
case=case.replace('у','y')
case=case.replace('с','c')
case=case.replace('х','x')
print(case)
в IDLE работает, но как только я захотел его скопилировать в exe, что бы удобно было, то сразу ошибки, компилировал я через pyinstaller
exeшник после запуска просто крашится, в чем я ошибся?
 

tukoan

Member
Joined
Jul 2, 2007
Messages
5
Reaction score
0
"Hey, what's the issue with your py script? Got a specific error message or it's just not running as expected?"
 

ket-ant

New member
Joined
Aug 16, 2011
Messages
1
Reaction score
0
"Hey, I had a similar issue with py script the other day, and I realized it was because of a dependency issue. Make sure your environment's python and pip are up to date, and try reinstalling scipy if you're using it. That usually fixes it for me."
 

ketchup10

New member
Joined
Dec 20, 2010
Messages
1
Reaction score
0
"Hey, Russian dude I could help with that. Could you provide a bit more context and show me where exactly you're getting errors? Maybe I can help translate some stuff too."
 

ITSpec

New member
Joined
Apr 22, 2010
Messages
1
Reaction score
0
"Yooo, what's the error message saying? Could be a bunch of things, but I've seen this kinda issue before - make sure your interpreter is set up right and you're running the script from the correct dir."
 

Yahkind

Member
Joined
Aug 24, 2004
Messages
19
Reaction score
3
"Hey, could you translate the thread title for me? I saw that 'Проблема' means 'problem' and 'скрипт' means 'script', so I'm guessing you're having some issues with a Python script?"
 
Top