Python Forum
os.path.join() 'NoneType' confusion
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
os.path.join() 'NoneType' confusion
#6
(Sep-22-2023, 03:39 PM)gowb0w Wrote: How can i find that ?
Try
print(audio_file)
or
print(type(audio_file))
for example.

A function can do something and return None. This is very common. For example the print() function
Reply


Messages In This Thread
os.path.join() 'NoneType' confusion - by gowb0w - Sep-22-2023, 10:15 AM
RE: os.path.join() 'NoneType' confusion - by gowb0w - Sep-22-2023, 11:11 AM
RE: os.path.join() 'NoneType' confusion - by gowb0w - Sep-22-2023, 03:39 PM
RE: os.path.join() 'NoneType' confusion - by Gribouillis - Sep-22-2023, 04:11 PM
RE: os.path.join() 'NoneType' confusion - by gowb0w - Sep-22-2023, 04:30 PM
RE: os.path.join() 'NoneType' confusion - by gowb0w - Sep-22-2023, 04:33 PM
RE: os.path.join() 'NoneType' confusion - by gowb0w - Sep-22-2023, 07:13 PM
RE: os.path.join() 'NoneType' confusion - by gowb0w - Sep-22-2023, 07:43 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  WebDriverException: Message: 'PATH TO CHROME DRIVER' executable needs to be in PATH Led_Zeppelin 1 2,259 Sep-09-2021, 01:25 PM
Last Post: Yoriz
  os.path.join - errors out tester_V 4 2,774 Nov-29-2020, 08:57 AM
Last Post: DeaD_EyE
  The difference between os.path.join( and os.sep.join( Pedroski55 2 9,609 Nov-17-2020, 08:38 AM
Last Post: Pedroski55
  os.path.join qmfoam 2 2,419 Nov-08-2020, 04:03 PM
Last Post: qmfoam
  SQL select join operation in python(Select.. join) pradeepkumarbe 1 2,277 Feb-14-2019, 08:34 PM
Last Post: woooee
  .pth file does not show up in sys.path when configuring path. arjunsingh2908 2 5,837 Jul-03-2018, 11:16 AM
Last Post: arjunsingh2908

Forum Jump:

User Panel Messages

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