Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~49.1K People Reached
Favorite Forums
Favorite Tags

7 Posted Topics

Member Avatar for Reverend Jim

Hello Jim, I am far much of a dinosaur than you ( I bought my PET commodore with 32 kb of memory when i was in my thirties.) so keeping my brain active is a must. I recently had to give up using the Amiga as my main computer, on …

Member Avatar for Reverend Jim
10
12K
Member Avatar for vegaseat
Member Avatar for JDuch

Somebody was so kind as to indicate to me an interactive Python learning program. I started using it, but lost the URL. I cannot find it back in the threads i started. Can this Python forum member remember me of his suggestion? Thanks

Member Avatar for JDuch
0
144
Member Avatar for JDuch

>>> import g4 >>> g4.systs() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'module' object has no attribute 'systs' Why is that ? The code works ok from shell >>> import time >>> def systs(): return str(time.localtime()[5]) >>> systs() '18' g4.py ------- [CODE] import os import …

Member Avatar for JDuch
0
574
Member Avatar for JDuch

After importing the script below as g4.py as >>import g4 followed by >>> pad ="ram:t/list.lha" >>> g4.extract(pad,"path") Traceback (most recent call last): File "<stdin>", line 1, in <module> File "g4.py", line 52, in extract return takeaction.get(itemnw,errhandler)(fromvar) TypeError: errhandler() takes no arguments (1 given) This error does not appear when i …

Member Avatar for JDuch
0
378
Member Avatar for JDuch

I would like to save the output of the python help() function to a file eg the output of >>> help("modules") [CODE] amongst others i used modfile = open("env:.P_ModList","w") mods = help("modules") print >>modfile , mods modfile.close() [/CODE] to no avail. Is there a solution?

Member Avatar for vegaseat
0
2K
Member Avatar for JDuch

""" Hi i intended to list the built-in function using this function. It seems however to give me the results corresponding with a dictionary. Why is that ? """" [CODE] def showbuiltins(): """ saves the list of built in functions to a file you chose """ blist = dir(__builtins__) print …

Member Avatar for JDuch
0
188

The End.