Skip to content

Conversation

@menkar3
Copy link
Contributor

No description provided.

importlib.output
importlib.banner

CUR_DIR="{}".format(os.getcwd())
Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One variable, or ten more function calls.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean it's not much different, but I see where you're coming from

make the directory if it does not exist
"""
ifnotos.path.exists(dir):
os.mkdir(dir)
Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think, two small lines will be better than one-time call of locally defined function (in case of optimization too).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay I see what you did, change the variable to path so it doesn't overwrite the built in dir var

globalstop_animation
i=0
whilenotstop_animation:
"""
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You realize that in order to stop the animation, I have to print a new line character otherwise it does an endless cycle

Copy link
Contributor

@EkultekEkultek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change variable to path so it doesn't overwrite built in dir line 133

@NullArray
Copy link
Owner

I'll merge this into dev-beta, and then add it to master as a quick hotfix.

@NullArrayNullArray merged commit 9c96a19 into NullArray:dev-betaMar 1, 2018
@menkar3menkar3 deleted the simple branch March 3, 2018 01:34
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@menkar3@NullArray@Ekultek