#🔒 How to open file with ( python file ) wth
92 messages · Page 1 of 1 (latest)
@summer wedge
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
I don't know what you mean by this. .py files are just normal text files. You open the same way you would any text file.
i cant open .py thing
The "Python" program it's referencing is the interpreter.
Do you mean you want to run the code, or see the code?
to run the code
Open a terminal, cd to the directory the Python code is in, and run python main.py
Have you ever used a terminal before?
nope
What OS are you using?
windows
10
Open cmd then. You likely don't have Windows Terminal.
You cut the error off
What does it say at the bottom of the error?
ModuleNotFoundError?
idk
lemme do setp
setup
hm
its not working in cmd
i watched some videos abt thing i use rn
it should run
but without terminal
it needs to be open with python file
- python file *
not .py
I don't know what you mean by this.
do you mean running the file?
ye
at the top of your file manager you can see the path
click on that and write cmd in there and press enter
then a terminal opens and you can type py main.py
its not working
do you get an error?
ye
show the error
it need to be opened witrh python file
sec
Microsoft Windows [Version 10.0.19045.4651]
(c) Корпорация Майкрософт (Microsoft Corporation). Все права защищены.
C:\Users\User\Desktop\FUNPAY\FunPayVertex-main>python main.py
Traceback (most recent call last):
File "C:\Users\User\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\compat.py", line 11, in <module>
import chardet
ModuleNotFoundError: No module named 'chardet'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\User\Desktop\FUNPAY\FunPayVertex-main\main.py", line 10, in <module>
from vertex import Vertex
File "C:\Users\User\Desktop\FUNPAY\FunPayVertex-main\vertex.py", line 6, in <module>
from tg_bot import auto_response_cp, config_loader_cp, auto_delivery_cp, templates_cp, file_uploader
File "C:\Users\User\Desktop\FUNPAY\FunPayVertex-main\tg_bot\auto_response_cp.py", line 11, in <module>
from tg_bot import utils, keyboards, CBT, MENU_CFG
File "C:\Users\User\Desktop\FUNPAY\FunPayVertex-main\tg_bot\utils.py", line 10, in <module>
from telebot.types import InlineKeyboardMarkup as K, InlineKeyboardButton as B
File "C:\Users\User\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot_init_.py", line 40, in <module>
from telebot import apihelper, util, types
File "C:\Users\User\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 10, in <module>
import requests
File "C:\Users\User\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests_init_.py", line 45, in <module>
from .exceptions import RequestsDependencyWarning
File "C:\Users\User\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\exceptions.py", line 9, in <module>
from .compat import JSONDecodeError as CompatJSONDecodeError
File "C:\Users\User\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\compat.py", line 13, in <module>
import charset_normalizer as chardet
File "C:\Users\User\AppData\Local\Programs\Python\Python313\Lib\site-packages\charset_normalizer_init_.py", line 24, in <module>
from .api import from_bytes, from_fp, from_path, normalize
File "C:\Users\User\AppData\Local\Programs\Python\Python313\Lib\site-packages\charset_normalizer\api.py", line 7, in <module>
from .cd import (
...<4 lines>...
)
File "C:\Users\User\AppData\Local\Programs\Python\Python313\Lib\site-packages\charset_normalizer\cd.py", line 9, in <module>
from .md import is_suspiciously_successive_range
File "src\charset_normalizer\md.py", line 11, in <module>
ImportError: cannot import name 'is_arabic' from 'charset_normalizer.utils' (C:\Users\User\AppData\Local\Programs\Python\Python313\Lib\site-packages\charset_normalizer\utils.py)
C:\Users\User\Desktop\FUNPAY\FunPayVertex-main>
it working fully without cmd
but in cmd thing not working
i watched a video
about this programm
it looks like chardet is missing
you can install it with this command
py -m pip install chardet
k
Microsoft Windows [Version 10.0.19045.4651]
(c) Корпорация Майкрософт (Microsoft Corporation). Все права защищены.
C:\Users\User\Desktop\FUNPAY\FunPayVertex-main>python main.py
Traceback (most recent call last):
File "C:\Users\User\Desktop\FUNPAY\FunPayVertex-main\main.py", line 10, in <module>
from vertex import Vertex
File "C:\Users\User\Desktop\FUNPAY\FunPayVertex-main\vertex.py", line 6, in <module>
from tg_bot import auto_response_cp, config_loader_cp, auto_delivery_cp, templates_cp, file_uploader
File "C:\Users\User\Desktop\FUNPAY\FunPayVertex-main\tg_bot\auto_response_cp.py", line 11, in <module>
from tg_bot import utils, keyboards, CBT, MENU_CFG
File "C:\Users\User\Desktop\FUNPAY\FunPayVertex-main\tg_bot\utils.py", line 10, in <module>
from telebot.types import InlineKeyboardMarkup as K, InlineKeyboardButton as B
File "C:\Users\User\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot_init_.py", line 40, in <module>
from telebot import apihelper, util, types
File "C:\Users\User\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 10, in <module>
import requests
File "C:\Users\User\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests_init_.py", line 147, in <module>
from . import packages, utils
File "C:\Users\User\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\packages_init_.py", line 3, in <module>
from . import urllib3
File "C:\Users\User\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\packages\urllib3_init_.py", line 10, in <module>
from .connectionpool import (
...<3 lines>...
)
File "C:\Users\User\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\packages\urllib3\connectionpool.py", line 38, in <module>
from .response import HTTPResponse
File "C:\Users\User\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\packages\urllib3\response.py", line 9, in <module>
from .collections import HTTPHeaderDict
File "C:\Users\User\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\packages\urllib3_collections.py", line 1, in <module>
from collections import Mapping, MutableMapping
ImportError: cannot import name 'Mapping' from 'collections' (C:\Users\User\AppData\Local\Programs\Python\Python313\Lib\collections_init.py)
C:\Users\User\Desktop\FUNPAY\FunPayVertex-main>
did the video tell you how to run it?
he just run it
can you send the video
k
ФАЙЛ УЖЕ НАХОДИТСЯ В НАШЕЙ ТЕЛЕГЕ - https://t.me/+lcr2hHVYeLc0YjIy
СТРИМЛЮ ТУТ - https://www.twitch.tv/mansory_free
В этом видео мы с вами разберем бота Vertex, как его настроить и поставить на свой аккаунт Funpay, так же как поставить бота Вертекс, на дедик, ну и товар как для обычной авто-выдачи на Фанпей, либо же выдачи через Вертекс но услу...
in the video he opens setup.py
try opening that file
after that he opened the file start.bat
i opened this
startbat not works
C:\Users\User\Desktop\FUNPAY\FunPayVertex-main>python main.py
Traceback (most recent call last):
File "C:\Users\User\Desktop\FUNPAY\FunPayVertex-main\main.py", line 10, in <module>
from vertex import Vertex
File "C:\Users\User\Desktop\FUNPAY\FunPayVertex-main\vertex.py", line 6, in <module>
from tg_bot import auto_response_cp, config_loader_cp, auto_delivery_cp, templates_cp, file_uploader
File "C:\Users\User\Desktop\FUNPAY\FunPayVertex-main\tg_bot\auto_response_cp.py", line 11, in <module>
from tg_bot import utils, keyboards, CBT, MENU_CFG
File "C:\Users\User\Desktop\FUNPAY\FunPayVertex-main\tg_bot\utils.py", line 10, in <module>
from telebot.types import InlineKeyboardMarkup as K, InlineKeyboardButton as B
File "C:\Users\User\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot_init_.py", line 40, in <module>
from telebot import apihelper, util, types
File "C:\Users\User\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 10, in <module>
import requests
File "C:\Users\User\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests_init_.py", line 147, in <module>
from . import packages, utils
File "C:\Users\User\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\packages_init_.py", line 3, in <module>
from . import urllib3
File "C:\Users\User\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\packages\urllib3_init_.py", line 10, in <module>
from .connectionpool import (
...<3 lines>...
)
File "C:\Users\User\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\packages\urllib3\connectionpool.py", line 38, in <module>
from .response import HTTPResponse
File "C:\Users\User\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\packages\urllib3\response.py", line 9, in <module>
from .collections import HTTPHeaderDict
File "C:\Users\User\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\packages\urllib3_collections.py", line 1, in <module>
from collections import Mapping, MutableMapping
ImportError: cannot import name 'Mapping' from 'collections' (C:\Users\User\AppData\Local\Programs\Python\Python313\Lib\collections_init.py)
C:\Users\User\Desktop\FUNPAY\FunPayVertex-main>timeout 5
Время ожидания 4
Where did you get this code? Did you write it?
downloaded
it
This looks like it's spoofing user agents and automating FunPay
And FunPay itself is a marketplace for selling such things as adobe accounts
!rules tos
5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.
This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.