Python Forum
Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
start to learn Python
#6
thanks
I did this earlier, but something is wrong. May be something is not installed properly?

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell https://aka.ms/pscore6

PS C:\>  & 'C:\Users\Viktor S\AppData\Local\Programs\Python\Python39\python.exe' 'c:\Users\Viktor S\.vscode\extensions\ms-python.python-2020.12.424452561\pythonFiles\lib\python\debugpy\launcher' '55781' '--' 'Untitled-2'
Traceback (most recent call last):
  File "C:\Users\Viktor S\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\Viktor S\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "c:\Users\Viktor S\.vscode\extensions\ms-python.python-2020.12.424452561\pythonFiles\lib\python\debugpy\__main__.py", line 45, in <module>
    cli.main()
  File "c:\Users\Viktor S\.vscode\extensions\ms-python.python-2020.12.424452561\pythonFiles\lib\python\debugpy/..\debugpy\server\cli.py", line 444, in main
    run()
  File "c:\Users\Viktor S\.vscode\extensions\ms-python.python-2020.12.424452561\pythonFiles\lib\python\debugpy/..\debugpy\server\cli.py", line 285, in run_file
    runpy.run_path(target_as_str, run_name=compat.force_str("__main__"))
  File "C:\Users\Viktor S\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 267, in run_path
    code, fname = _get_code_from_file(run_name, path_name)
  File "C:\Users\Viktor S\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 237, in _get_code_from_file
    with io.open_code(decoded_path) as f:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Untitled-2'
PS C:\> 
Reply


Messages In This Thread
start to learn Python - by Berliner - Jan-01-2021, 03:21 PM
RE: start to learan Python - by Larz60+ - Jan-01-2021, 04:06 PM
RE: start to learan Python - by Berliner - Jan-01-2021, 08:29 PM
RE: start to learn Python - by Berliner - Jan-03-2021, 10:36 PM
RE: start to learan Python - by Larz60+ - Jan-03-2021, 10:46 PM
RE: start to learan Python - by Berliner - Jan-03-2021, 10:56 PM
RE: start to learan Python - by snippsat - Jan-03-2021, 11:03 PM
RE: start to learan Python - by Berliner - Jan-03-2021, 11:36 PM
RE: start to learan Python - by Berliner - Jan-04-2021, 12:25 AM
RE: start to learn Python - by snippsat - Jan-04-2021, 09:18 PM
RE: start to learn Python - by Berliner - Apr-23-2022, 05:01 PM
RE: start to learn Python - by Berliner - Apr-26-2022, 06:52 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to learn python to apply it in my work? DavyAnt 1 919 Aug-24-2023, 10:46 PM
Last Post: Larz60+
  How to start to learn and use python Zangolo 6 1,386 Jul-15-2023, 09:37 AM
Last Post: Gribouillis
  Learn Python via Zoom Meetings? davidorlow 1 2,459 Jun-16-2021, 01:01 AM
Last Post: Larz60+
  learn Python Naheed 6 4,191 May-04-2021, 07:23 AM
Last Post: Naheed
  Newbie to Python - Where to start lasek723 4 3,102 Sep-15-2020, 08:11 PM
Last Post: lasek723
  what programming language to learn other than python in real mass-production product? Kai 1 2,171 Apr-12-2020, 04:40 AM
Last Post: Larz60+
  start learning python robbyq 5 3,112 Jan-21-2020, 03:07 AM
Last Post: michael1789
  Learn Python by doing? Coastal 2 2,451 Jan-16-2020, 06:24 PM
Last Post: Karen1
  WHich is a good site/tutorial to learn Python for beginners? deepakdeshp 7 5,110 Oct-11-2019, 06:46 AM
Last Post: wavic
  how to start python programing Sharafuzzaman 1 2,304 Nov-04-2018, 08:58 AM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020