• macfox2

    @omz I'm using Pythonista 3 so I entered pythonista3:// which opens the program but has the same result. pythonista:// opens my older version of Pythonista.

    posted in Pythonista read more
  • macfox2

    How do I stop a file from loading when I open Pythonista? I imported a large text file into Pythonista and opened it by mistake. Now, when I go to open Pythonista, it automatically tries to load the file and eventually crashes the program.

    posted in Pythonista read more
  • macfox2

    Thank you, @bennr01 -- that did the trick!

    posted in Pythonista read more
  • macfox2

    What is the best way to download and unzip zip files? Can this be done in StaSh? I'm trying to download a CSV file from http://data.worldbank.org/.

    posted in Pythonista read more
  • macfox2

    @JonB once again, thank you very much!

    posted in Pythonista read more
  • macfox2

    What is the easiest way to download a file from GitHub? I entered the following in the command line in StaSh:

    git clone https://github.com/username/username.github.io.git
    

    and also

    git clone https://github.com/username/username.git
    

    but both times received the following error message:

    stash: <type 'exceptions.OSError'>: [Errno 17] File exists: './.git'
    

    What should I enter on the command line to make this work? Or is there a better way to accomplish this?

    posted in Pythonista read more
  • macfox2

    Wow, that worked, @ywangd ! Thank you!

    posted in Pythonista read more
  • macfox2

    Thanks again @JonB -- stash worked great for installing Pygal, but now when I go to import pygal, I receive this error:

    No module named 'pkg_resources'

    Any ideas how to fix this?

    posted in Pythonista read more
  • macfox2

    Thanks to both of you. I'll try stash. I read about pipista on other threads, like this one: https://forum.omz-software.com/topic/708/using-pipista

    posted in Pythonista read more
  • macfox2

    I'm trying to install pygal. To do this, I pasted pipista into an empty script and saved it in site-packages. I created another empty script in site-packages with the following code, but receive an ImportError that there is "no module named pipista":

    import pipista
    
    pipista.pypi_install('pygal')
    

    Pipista appears to be written for Python 2.7, so I set this as my default interpreter, but I'm still having issues. What am I doing wrong? Will my second line of code even install Pygal? Is there anything else I'll need to do?

    I'm very new to this so any help is greatly appreciated. Thanks!

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!