Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Calling from many different files
I wonder if in python you can call function from many different files without having to reference it yourself?

for example:
def hit(deck, hand)
	single_card =
adjust_for_ace is from in sublime I can hover it and check where it comes from. Will this works automatically?
No. You need import hand in for that to work.
Craig "Ichabod" O'Brien -
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures


Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Scanning files to rename other files in the same folder. msd1391 6 201 Mar-11-2019, 07:19 PM
Last Post: msd1391
  Calling list() on permutation trevorkavanaugh 2 99 Mar-01-2019, 06:00 AM
Last Post: trevorkavanaugh
  How can I prevent context switching when calling an async function? AlekseyPython 1 124 Feb-20-2019, 10:37 AM
Last Post: AlekseyPython
  Python calling function unexpectedly lucaswinnerton 1 133 Jan-24-2019, 10:40 PM
Last Post: stullis
  calling os functions not in module os Skaperen 2 293 Nov-10-2018, 01:54 AM
Last Post: Skaperen
  improper function calling gbaker555 1 303 Aug-03-2018, 03:20 AM
Last Post: ichabod801
  calling a function in a comprehension Skaperen 1 399 Jul-13-2018, 09:12 PM
Last Post: gontajones
  Calling a Facebook API gpbarsky 0 375 Jun-04-2018, 02:55 PM
Last Post: gpbarsky
  Running a python tool transforming xml files into epub files silfer 7 871 May-10-2018, 03:49 PM
Last Post: snippsat
  Help with calling the function as the code keep firing chris0147 8 638 May-04-2018, 09:00 AM
Last Post: ThiefOfTime

Forum Jump:

Users browsing this thread: 1 Guest(s)