Python Forum
class needs to refer a different class
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
class needs to refer a different class
#9
so you want to see code. this is big, so i am not going to post it here. instead, you get a link:
http://ipal.net/python/zopen.py [502 lines. 23122 bytes]
this code is not finished but it is working. here is a script that uses it:
http://ipal.net/python/zhash.py [131 lines, 5532 bytes]
and here is a generator that zhash uses.
http://ipal.net/python/ftrgen.py [59 lines, 2074 bytes]
sha256 is:
Output:
lt2a/forums /home/forums 19> zhash sha256 {ftrgen,zhash,zopen}.py 55f48a8f19d3d84daf54f90b3764ca13a7c2b24abfd8e6c63f5fe8f198719d2c *ftrgen.py 2d00f29d37a11f86c4d84b515cfe07f7e44df44d0833e81cb8ddf13544eb7662 *zhash.py b24200d214f211b2357aadbb6cf15c5564ea2b0ef70ac649e0b5e498c1fd1f18 *zopen.py lt2a/forums /home/forums 20>
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
RE: class needs to refer a different class - by Skaperen - Jul-18-2021, 01:57 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  is ValueError a class? Skaperen 11 2,634 Mar-29-2023, 02:25 AM
Last Post: Skaperen
  extracting a function/class/method from code Skaperen 5 2,299 Mar-30-2022, 12:13 AM
Last Post: Skaperen
  first class objects Skaperen 0 962 Jan-22-2022, 02:53 AM
Last Post: Skaperen
  returning a different class Skaperen 4 2,142 Oct-20-2021, 12:51 AM
Last Post: Skaperen
  getting my head arounnd __enter__() for my new class Skaperen 5 2,551 Nov-30-2020, 09:46 AM
Last Post: Gribouillis
  find the class for indexed counting Skaperen 4 2,033 Sep-29-2020, 03:26 AM
Last Post: Skaperen
  namespaces when defining a class Skaperen 3 2,146 Jul-03-2020, 06:34 PM
Last Post: Gribouillis
  a file-like class implementation Skaperen 2 2,085 Apr-22-2020, 02:59 AM
Last Post: Skaperen
  making a generator class? Skaperen 2 2,102 Apr-01-2020, 12:34 AM
Last Post: Skaperen
  single-instance class Skaperen 3 2,566 Mar-05-2020, 12:47 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

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