question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Download as .py yields strange file

See original GitHub issue

Using jupyter 4.3.0 python27 installed with conda. I have updated to the latest version.

Whenever I download any .py file, all I get is a .py file with the following:

talk 1
talk 2
talk 3
talk 4
talk 5

and nothing else. This is consistent across machines running from the same network mounted jupyter directory. Other versions on other machines do not have this issue.

Any ideas?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
takluyvercommented, Aug 4, 2017

That all sounds normal.

I just thought of another possibility on the template: is there a file called python with no extension in that directory?

0reactions
takluyvercommented, Aug 5, 2017

I’ve made a pull request jupyter/nbconvert#639 to make this a bit harder to hit accidentally.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Download large file in python with requests - Stack Overflow
After reading iter_content() sources I've concluded that it cannot ever yield an empty string: there are emptiness checks everywhere. The main logic here: ......
Read more >
Download Multiple Files Concurrently with the ...
In this tutorial, you will discover how to concurrently download multiple files from the internet using threads in Python. After completing this ...
Read more >
4 Methods to Get Python File Size - FavTutor
Learn how to check python file size using 4 different methods along with examples and outputs.
Read more >
How to Optimize Tick History file downloads for Python (and ...
In this article, I investigate how to download the compressed data files, and how to optimize ... which returns a BadRequest status (400)...
Read more >
The Most Pythonic Way to Check if a File Exists in Python
The method os.path.exists('file.txt') returns True if the file 'file.txt' exists, ... Multiple threads may access the same file, which can lead to strange...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found