Python 101: enabling a restricted subset of Python
Jan 5, 2022 ... ... programming language in the world. For many years, Python has ... funny even if not very serious examples of transforming code to Python.
Jan 5, 2022 ... ... programming language in the world. For many years, Python has ... funny even if not very serious examples of transforming code to Python.
Hello @alfa, welcome to Python Discourse. Can you please give more detail about your script. What the script trying to do (I assume it’s for flash some hardware), do you already connect your hardware to host PC and use the commandline interface. try this from terminal or cmd.exe
Sep 22, 2024 · Hello 🙂 Could anyone explain me please how to fix it. . I just watching first video by Corey Schafer and do exactly the same but already error… I can’t open saved file. When in python terminal or cmd i type: python/Desktop.intro.py i have invalid syntax… I’m sorry for silly question. Thank you.
Hello, @Annie, and welcome to Python Software Foundation Discourse!One technique for accomplishing this is to place lines (fences) of three back ticks before and after the code, as follows: ``` # This is example code. print("Hello, World!") ```
Feb 12, 2024 · What happened when you ran your hello.py script? Share the output here as preformatted text useing the </> button. Once we can see what happened we can help.
Hello All, I’m trying to learn some coding skills to help out with my job so I’m going through a course. However, when I try to run the simple print(‘Hello World’) scripted through the cmd I get the following error. I h…
Mar 3, 2025 · I am new to Python, so apologies for the basic Q. When I try to execute this file, I get following result, PS C:\pyfund> python words.py C:\Program Files\Python313\python.exe: can’t find ‘main’ module in ‘C:\pyfund\wo…
Hello world! I do this next bit because I don’t want to install a lot of Azure code in my system Python. It makes a virtual environment (a sort of project-specific installation of Python). It is optional, but is good practice when installing dependencies. It changes the prompt to remind you.
May 31, 2022 · General help/discussion forum for the Python programming language. All welcome.
Hello everyone! I’m currently enrolled at Saint Leo University and taking a course on Python. I’m truly excited about this course and can’t wait to learn this language.
Jul 15, 2024 · There’s a ^C in the output, so you probably terminated whatever was running… a simple print command shouldn’t take any noticeable time to execute. Copy and paste the exact text of your program, using the </> button to format it.
Jun 11, 2023 · Hi Python community, I have some experience with Python and don’t consider myself a complete beginner. However, this is my first time to use multiprocessing. I have watched two videos about using multiprocessing in Python. I have written a script to convert all xlsx files from one folder to pdf files and save them to other folder. Conversion process is done with soffice (libreoffice command ...