Python Forum
define methods in another file
Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
define methods in another file
#7
(Feb-22-2018, 06:31 PM)Python_n00b_06 Wrote: If Python does not require the use of a header file, as in C++, then how would it work? Does each portion of the complete code have to be segregated by brackets, or can it just be written and the IDE or Python understand what you want and does it?
Should've checked grammar:
If Python does not require the use of a header file, "unlike in C++", then how would it work? Does each portion of the complete code have to be segregated by brackets, or can it just be written and the IDE or Python understand what you want and does it?

I am asking how would the code look without a header file in Python? Could someone link me a good example?
Reply


Messages In This Thread
define methods in another file - by bb8 - Jan-21-2018, 06:34 PM
RE: define methods in another file - by ODIS - Jan-22-2018, 02:14 PM
RE: define methods in another file - by buran - Jan-22-2018, 03:04 PM
RE: define methods in another file - by Gribouillis - Jan-22-2018, 03:25 PM
RE: define methods in another file - by Larz60+ - Feb-22-2018, 07:13 PM
RE: define methods in another file - by Python_n00b_06 - Feb-22-2018, 07:43 PM
RE: define methods in another file - by Larz60+ - Feb-22-2018, 10:12 PM
RE: define methods in another file - by snippsat - Feb-22-2018, 11:37 PM
RE: define methods in another file - by Larz60+ - Feb-23-2018, 11:40 PM
RE: define methods in another file - by snippsat - Feb-23-2018, 11:55 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Helps with reading csv file - 3 methods hhchenfx 4 3,357 May-13-2021, 04:15 AM
Last Post: buran
  Attibute Error: Two methods in a class, one I can reach, the other not (phantom file? GaryKuipers 4 3,205 Aug-28-2018, 02:32 PM
Last Post: GaryKuipers
  How to define a global file? dullboy 11 16,350 Oct-05-2016, 02:08 PM
Last Post: dullboy

Forum Jump:

User Panel Messages

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