Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New Module!
#1
Hey Guys! I have made a module that allows the user to print text one letter at a time as if you were typing it! You can download this module at:

https://drive.google.com/file/d/0B85j-y5...sp=sharing

Installation:

1. Open the .whl file as a ZIP file, using 7-zip, or similar applications.
2. copy the "delay" folder to:
[drivename]:/Python[Version#]/Lib
EX. C:/Python34/Lib
3. Close and reopen Python if it is open

Now the module is installed!

How to use:

1. In a .py file, or IDLE, type:
from delay import delay
2. now, you can type:
delay.write('[words of your choice]')
and it will print one letter at a time, with a delay of 0.08 seconds!
Reply
#2
Please try out my MODULE!
Reply
#3
(Oct-30-2017, 08:23 PM)EgMusic Wrote: Please try out my MODULE!
You are using wheel format wrong,it should install with pip.
C:\Users\Tom\Downloads
λ pip install delay_1.0.whl
delay_1.0.whl is not a valid wheel filename.
Now is this all code.
import time

def write(str):
    for letter in str:
        time.sleep(0.08)
        print(letter, end = '')
No one will use you code if you do it this way.
There is a  standard way to make wheel and and share it,eventually use PyPi to distribute it.
I have a tutorial about this here.
Reply
#4
(Oct-31-2017, 03:27 PM)snippsat Wrote:
(Oct-30-2017, 08:23 PM)EgMusic Wrote: Please try out my MODULE!
You are using wheel format wrong,it should install with pip.
C:\Users\Tom\Downloads
λ pip install delay_1.0.whl
delay_1.0.whl is not a valid wheel filename.
Now is this all code.
import time

def write(str):
    for letter in str:
        time.sleep(0.08)
        print(letter, end = '')
No one will use you code if you do it this way.
There is a  standard way to make wheel and and share it,eventually use PyPi to distribute it.
I have a tutorial about this here.


https://drive.google.com/open?id=0B85j-y...TNzc0F4WXc

There you go! I made a proper wheel file out of it
Reply
#5
Your entire module is 4 lines of actual code. I dont really need to run/install it to know what its doing. I can just look at it.

Quote:
def write(str):
    for letter in str:
        time.sleep(0.08)
        print(letter, end = '')
Recommended Tutorials:
Reply
#6
(Nov-01-2017, 03:46 PM)metulburr Wrote: Your entire module is 4 lines of actual code. I dont really need to run/install it to know what its doing. I can just look at it.

Quote:
def write(str):
    for letter in str:
        time.sleep(0.08)
        print(letter, end = '')

That's not the point of the module. The point of the module is to help beginners.

For example, if someone wanted to make their first game, and didn't know jack squat about python, they would need a module to help them. Or a tutorial.
Reply
#7
Quote:For example, if someone wanted to make their first game, and didn't know jack squat about python, they would need a module to help them. Or a tutorial.
That was my response to...
(Oct-30-2017, 08:23 PM)EgMusic Wrote: Please try out my MODULE!

You never mentioned that this is suppose to be a training exercise. I would instruct people in question about modules to read through tutorials such as...https://python-forum.io/Thread-Basic-Modules-part-1
Recommended Tutorials:
Reply
#8
(Nov-01-2017, 03:55 PM)EgMusic Wrote: For example, if someone wanted to make their first game, and didn't know jack squat about python, they would need a module to help them. Or a tutorial.
That you have manged to make a wheel dos not help  anyone.
The wheel file you have made is also wrong,it don't contain any Python code which is kind of a important point Wink
Reply
#9
(Nov-01-2017, 03:55 PM)EgMusic Wrote: For example, if someone wanted to make their first game, and didn't know jack squat about python, they would need a module to help them.
If they are not able to do something simple as this, they will be long way from making a game or anything else ...
Reply
#10
Untrue!  You could easily make a number guessing game even if this was rather new to you :p
Reply


Forum Jump:

User Panel Messages

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