• craftmojo

    Thanks for the answer.
    Is there any workaround, so I can use 1.5 lib for my code ?
    How about upgrade other modules like numpy, or install new module like sklearn.
    Is it possible ?

    posted in Pythonista read more
  • craftmojo

    Do I need extract the downloaded file (tar.gz) and then place it inside site-packages ?

    posted in Pythonista read more
  • craftmojo

    I manage to download the latest matplotlib 1.5.1 using pipista. However, I dont know how to replace current matplotlib (1.3) and using it in my code.

    I couldnt run below code using current matplotlib:
    import numpy as np
    import matplotlib.pyplot as plt
    from matplotlib import style
    style.use("ggplot")

    x = [1, 5, 1.5, 8, 1, 9]
    y = [2, 8, 1.8, 8, 0.6, 11]

    plt.scatter(x,y)
    plt.show()

    Any help would be appreciated.

    Many Thanks.

    posted in Pythonista read more
  • craftmojo

    Thanks for fast responses. Now, it worked :)

    posted in Pythonista read more
  • craftmojo

    I see. Now, it worked perfectly.
    So, in pythonista, this word already taken.

    Many thanks!

    posted in Pythonista read more
  • craftmojo

    This is my code:

    import string
    str = 'map.html'
    i = 'abcdefghijklmnopqrstuvwxyz'
    o = 'cdefghijklmnopqrstuvwxyzab'
    table = string.maketrans(i, o)
    print (str.translate(table))

    posted in Pythonista read more
  • craftmojo

    Please fix string.maketrans() method. It not working at all. Thanks.

    posted in Pythonista read more
  • craftmojo

    Today, I tried to code in pythonista for ios, everything seems okay. But, when I use maketrans method , it not working at all. What happened? I tried the code in pycharm, it worked perfectly.

    Please help.

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!