MCPcopy Create free account

hub / github.com/ActiveState/code / functions

Functions29,190 in github.com/ActiveState/code

↓ 13 callersFunctionSqlExecute
Executes sqlquery and returns lists with column names and data The connection info is passed as a dictionary with these required keys: se
recipes/Python/578977_Python_SQLSMO_/recipe-578977.py:12
↓ 13 callersMethodWrap
Static method to wrap a dictionary recursively as an XmlDictObject
recipes/Python/573463_Converting_XML_Dictionary/recipe-573463.py:47
↓ 13 callersMethod__getitem__
(self, key)
recipes/Python/498195_Another_Odict/recipe-498195.py:74
↓ 13 callersMethodadd
(self, key)
recipes/Python/579071_OrderedSet/recipe-579071.py:18
↓ 13 callersFunctionassertEquals
assertEquals( exp, got[, message] ) Two objects test as "equal" if: * they are the same object as tested by the 'is' operato
recipes/Python/577482_Easy_property/recipe-577482.py:245
↓ 13 callersFunctionbox
(box,puzzle)
recipes/Python/576505_Sudoku_solvercreator/recipe-576505.py:33
↓ 13 callersMethodcheckLimit
checks for a single limit and prints a message if given value is not valid
recipes/Python/578023_Simple_Python_Checker/recipe-578023.py:476
↓ 13 callersMethodclose
(self)
recipes/Python/365244_Transmitting_exceptions_through/recipe-365244.py:23
↓ 13 callersMethodcommit
this is here for compatibility
recipes/Python/578906_PythDatabase_Interface_MS_SQL_Server__Pyth3/recipe-578906.py:56
↓ 13 callersFunctioncopy
Return a copy of this object, with updates.
recipes/Python/578457_Class_Decorator_that_Adds_copy/recipe-578457.py:42
↓ 13 callersMethodcopy
(self)
recipes/Python/576932_Sets_custom_equalityuniqueness/recipe-576932.py:113
↓ 13 callersMethodcurrent
Take a tree view and return its currently selected node.
recipes/Python/577635_Directory_Pruner_3/recipe-577635.py:656
↓ 13 callersFunctiondest
(f, folder, i)
recipes/Python/577854_Bash_completed_minfo_pages/recipe-577854.py:107
↓ 13 callersMethoddiscard
Remove vertices and/or edges. Parameters can be single vertex or list of vertices. If tail is empty, then vertex deletions are made and any c
recipes/Python/578615_graph/recipe-578615.py:440
↓ 13 callersFunctiondist
(nP, nScale)
recipes/Python/578044_Fractal_painter/recipe-578044.py:157
↓ 13 callersMethodelement_end
(self, name)
recipes/Python/578138_gprof2dotpy/recipe-578138.py:792
↓ 13 callersMethodelement_start
(self, name)
recipes/Python/578138_gprof2dotpy/recipe-578138.py:781
↓ 13 callersMethodget
(self, key, default=None)
recipes/Python/580645_LRU_dictionary/recipe-580645.py:53
↓ 13 callersMethodgetName
Return the name of this ConfigInfo object
recipes/Python/498249_Composite_designpattern_using/recipe-498249.py:120
↓ 13 callersMethodgetroot
(self)
recipes/Python/576403_Arbitrary_order_attribute_writing/recipe-576403.py:554
↓ 13 callersMethodgetsockname
(self)
recipes/Python/577662_ASIO/recipe-577662.py:53
↓ 13 callersMethodinput
(self, name, **kwargs)
recipes/Python/576784_WSGI_optiparsing__type/recipe-576784.py:76
↓ 13 callersMethodinsert
(self, key, value)
recipes/Python/578879_Highly_branched_Trees/recipe-578879.py:50
↓ 13 callersMethodioctl
(self, fd, ioctlno)
recipes/Python/576834_Interrogating_linux_devusbhiddev0/recipe-576834.py:31
↓ 13 callersMethoditems
( self )
recipes/Python/305271_Enumerated_values_name_or/recipe-305271.py:34
↓ 13 callersMethodkeys
(self)
recipes/Python/496761_more_cleimplementatiOrdered/recipe-496761.py:26
↓ 13 callersMethodkill
(self)
recipes/Python/576387_unix_subprocess_wrapper/recipe-576387.py:83
↓ 13 callersFunctionload
(self)
recipes/Python/578011_JSinstead_pickle/recipe-578011.py:11
↓ 13 callersFunctionmainloop
Creates a synthetic main loop so that threads can still run.
recipes/Python/578153_safetkinterpy/recipe-578153.py:25
↓ 13 callersMethodneighbours
(self, v)
recipes/Python/577668_Simple_graph_algorithms_modular/recipe-577668.py:19
↓ 13 callersMethodnext
(self)
recipes/Python/578000_Indexable_Generator/recipe-578000.py:21
↓ 13 callersMethodnext
(self)
recipes/Python/498272_Rich_iterator_wrapper/recipe-498272.py:19
↓ 13 callersMethodout
Prints out the vector.
recipes/Python/52272_vector_list_based_vector_class_supporting/recipe-52272.py:96
↓ 13 callersMethodpop
(self, key)
recipes/Python/577580_weak_reference_map/recipe-577580.py:51
↓ 13 callersMethodpop
Correctly emulates the pop method.
recipes/Python/283455_caselessDict/recipe-283455.py:81
↓ 13 callersMethodpop
Remove and return the rightmost element.
recipes/Python/528878_Ordered_Set/recipe-528878.py:123
↓ 13 callersFunctionprint_
(s, stream=sys.stdout)
recipes/Python/465531_threaded_multipart_FTP_download/recipe-465531.py:215
↓ 13 callersMethodprintf
Formatted print.
recipes/Python/546532_PyChecker_postprocessor/recipe-546532.py:409
↓ 13 callersFunctionput
(line,indent,msg)
recipes/Python/576503_Linux_Terminal_Color_Setter/recipe-576503.py:143
↓ 13 callersMethodput
(self,msg)
recipes/Python/576515_Debugging_running_pythprocess_interrupting/recipe-576515.py:34
↓ 13 callersMethodread
(self,data)
recipes/Python/435876_No_print_error_consoleless/recipe-435876.py:9
↓ 13 callersMethodreadlines
(self, path)
recipes/Python/576777_Simple_FTP_Mirror/recipe-576777.py:108
↓ 13 callersMethodremove
(self, element)
recipes/Python/306864_List_and_dictionary_observer/recipe-306864.py:70
↓ 13 callersMethodrotate
(self, vec)
recipes/Python/578006_vector/recipe-578006.py:435
↓ 13 callersMethodsay
(self, s)
recipes/Python/578623_adventure_game_base/recipe-578623.py:35
↓ 13 callersMethodsend_error
Sends the given HTTP error code to the browser. We also send the error HTML for the given error code as returned by get_error_html. O
recipes/Python/576906_Python_3_WSGI_Server/recipe-576906.py:354
↓ 13 callersFunctionshow_qry
(sql)
recipes/Python/578490_sql_the_SQLPlus_killer/recipe-578490.py:192
↓ 13 callersFunctionshuffle
(cards)
recipes/Python/578466_Shuffle/recipe-578466.py:4
↓ 13 callersMethodshutdown
()
recipes/Python/577864_Fast_elegant_switchcaselike/recipe-577864.py:223
↓ 13 callersFunctiontitle
(string, level)
recipes/Python/498150_Example_For_winreg_1/recipe-498150.py:23
↓ 13 callersFunctionunidades
(x)
recipes/Python/170799_Numbers_Words_Spanish__Numeros_cantidades_en/recipe-170799.py:53
↓ 13 callersMethodupdate
(self, data)
recipes/Python/580794_Simple_multicolumn_listbox/recipe-580794.py:34
↓ 13 callersMethodvalues
(self)
recipes/Python/265879_Rating_class_mapping/recipe-265879.py:128
↓ 13 callersFunctionw
(g, A, y)
recipes/Python/576907_Minimum_Cut_Solver/recipe-576907.py:125
↓ 13 callersMethodwalk
Validate each node in AST and return True if AST is 'safe'.
recipes/Python/496746_Restricted_safe_eval/recipe-496746.py:208
↓ 13 callersMethodwrite
(self, string)
recipes/Python/492214_dal6py/recipe-492214.py:248
↓ 13 callersMethodwritelines
(*args, **kwargs)
recipes/Python/496854_zcgipy/recipe-496854.py:19
↓ 12 callersFunctionEvalBoard
(board, player)
recipes/Python/580698_Reversi_Othello/recipe-580698.py:73
↓ 12 callersFunctionMakeMove
(board, x, y, player)
recipes/Python/580698_Reversi_Othello/recipe-580698.py:38
↓ 12 callersFunctionNamedSequences
NamedSequences( className[, 'name_1'[,...[, name_N = defaultValue_1[, ... ]]]] ) Construct a new class that contains only
recipes/Python/577473_Named_Sequences_environments_containing_large/recipe-577473.py:67
↓ 12 callersMethod__build_buttons
(self)
recipes/Python/577365_MineSweep/recipe-577365.py:23
↓ 12 callersMethod__init__
(self, other,unit=0)
recipes/Python/573457_Converter/recipe-573457.py:8
↓ 12 callersMethod__resolve_path
(self, path)
recipes/Python/492213_dal5py/recipe-492213.py:141
↓ 12 callersMethod__setitem__
Intercept the l[key]=value operations. Also covers slice assignment.
recipes/Python/306864_List_and_dictionary_observer/recipe-306864.py:25
↓ 12 callersMethod_binary_check
(self, other)
recipes/Python/286209_set_class_mutable_objects_unique_hashable_id/recipe-286209.py:130
↓ 12 callersMethodacquire
(self)
recipes/Python/413393_Multiplereaderonewriter_MROW_resource/recipe-413393.py:149
↓ 12 callersMethodadd
Add node to tree. dn --- distinguished name of node.
recipes/Python/576966_DnTree/recipe-576966.py:127
↓ 12 callersMethodattach
Inherit more scopes and add more attributes
recipes/Python/577372_Attributes_local_variables_inside/recipe-577372.py:92
↓ 12 callersMethodclose
Close all registered sockets.
recipes/Python/578504_Server_supporting_IPv4_and_IPv6/recipe-578504.py:256
↓ 12 callersMethodclose
(self)
recipes/Python/521921_tor_socket_monkeypatch/recipe-521921.py:147
↓ 12 callersMethodclose
Close the tail monitor, discarding any remaining input.
recipes/Python/436477_filetailpy/recipe-436477.py:173
↓ 12 callersMethodclose
(self)
recipes/Python/577663_ASIO_Proxy/recipe-577663.py:45
↓ 12 callersMethodcompile
compile(self) -> None Compile self into Python code.
recipes/Python/464766_Trivia_Template/recipe-464766.py:57
↓ 12 callersMethodconsumeOne
(self, skip=False)
recipes/Python/576809_Python_reader_for_SPSS_por_files/recipe-576809.py:8
↓ 12 callersMethodcurrent
Take a tree view and return its currently selected node.
recipes/Python/578154_Directory_Pruner_4/recipe-578154.py:751
↓ 12 callersMethodcurrent
Take a tree view and return its currently selected node.
recipes/Python/577633_Directory_Pruner_2/recipe-577633.py:969
↓ 12 callersMethodcurselection
(self)
recipes/Python/52266_MultiListbox_Tkinter_widget/recipe-52266.py:43
↓ 12 callersMethoddecode
Additional decode steps once converted via struct.unpack
recipes/Python/498149_A_higher_level_struct_module/recipe-498149.py:22
↓ 12 callersMethoddumps
Serialize XML data to a string
recipes/Python/415983_Simple_XML_serlializerdeserializer_using/recipe-415983.py:162
↓ 12 callersFunctionescape
(content)
recipes/Python/577877_Twitter_incremental_backYAML_format__HTML_get/recipe-577877.py:44
↓ 12 callersMethodexecute
(self, direction, quantity, price)
recipes/Python/579024_Simple_FIFO_trading_model/recipe-579024.py:48
↓ 12 callersMethodfind
lists units containing the substring s
recipes/Python/577333_Numerical_type_units/recipe-577333.py:380
↓ 12 callersMethodfocus
(self)
recipes/Python/578886_Automatic_resized_Text_widget/recipe-578886.py:128
↓ 12 callersMethodfromList
Create a matrix by directly passing a list of lists
recipes/Python/578131_A_simple_Matrix_class/recipe-578131.py:224
↓ 12 callersFunctionfun
(n)
recipes/Python/576659_/recipe-576659.py:35
↓ 12 callersMethodget
get item object with defined tag from the queue, assuming only one tag
recipes/Python/576632_Queue_with_tagged_items/recipe-576632.py:121
↓ 12 callersMethodget
Behaves like standard dict.get, but uses value in _default attribute if no default parameter specified. >>> dd = DefDict({'a': 10},
recipes/Python/579113_defdict/recipe-579113.py:198
↓ 12 callersMethodget
Return the named referent (or *dflt* if not found).
recipes/Python/546530_Size_of_Python_objects_revised/recipe-546530.py:1829
↓ 12 callersMethodgetValue
Return the value for an ID3 tag id, or for a convenience label ('title', 'performer', ...), or return None if there is no suc
recipes/Python/576811_Rename_MP3_files_ID3_tags_does_not_require/recipe-576811.py:552
↓ 12 callersMethodindex
Return an HTML page using static().
recipes/Python/576706_Serve_static_web_content_withgzipped_tarball/recipe-576706.py:34
↓ 12 callersMethodindex
Provide an index of first occurence of item in the list. (or raise a ValueError if item not present) If item is not a string, will raise a Typ
recipes/Python/284569_caselessList/recipe-284569.py:95
↓ 12 callersMethodinsert
Insert a new node with text at position in current node.
recipes/Python/578154_Directory_Pruner_4/recipe-578154.py:777
↓ 12 callersMethodinsert
(self, card)
recipes/Python/580811_Uno_TextBased/recipe-580811.py:377
↓ 12 callersMethodinsert
(self,n,u)
recipes/Python/578995_Connect_4_DEMO/recipe-578995.py:101
↓ 12 callersMethoditems
D.items() -> a list of (key, value) pairs sorted by keys (add reverse=True for reverse ordering).
recipes/Python/576998_Sorted_dictionary/recipe-576998.py:108
↓ 12 callersMethodkeys
od.keys() -> list of od's keys
recipes/Python/577826_Yet_Another_Ordered_Dictionary/recipe-577826.py:213
↓ 12 callersMethodload
(self, name, abstract)
recipes/Python/492214_dal6py/recipe-492214.py:28
↓ 12 callersMethodmap
A parallel equivalent of the map() builtin function. It blocks till the result is ready. This method chops the iterable into a number
recipes/Python/576519_Thread_pool_same_API/recipe-576519.py:119
↓ 12 callersMethodmeth_from_sock
(self, sock)
recipes/Python/578889_socketsendfile/recipe-578889.py:467
↓ 12 callersMethodmro
(cls)
recipes/Python/579090_Yet_another_singletpattern_Pythusing_class/recipe-579090.py:20
← previousnext →801–900 of 29,190, ranked by callers