Jackpo
Posts: 19
Joined: Wed Aug 22, 2012 10:08 am

Printing a program

Mon Apr 01, 2013 4:56 pm

Hallo.
1 How can i print a .py File?
2 When i read my SD-cart i can't find my .py file.
Any suggestions?
Jack

-rst-
Posts: 1316
Joined: Thu Nov 01, 2012 12:12 pm
Location: Dublin, Ireland

Re: Printing a program

Mon Apr 01, 2013 5:54 pm

Python (.py) files are text - so any text-editor should be able to open and print them ...setting up printing in general is a possibly a longer story.

If you read the card in a Windows PC or in a Mac, you will only see the first (boot) partition - the second (data) partition is in a Linux format and is not visible.
http://raspberrycompote.blogspot.com/ - Low-level graphics and 'Coding Gold Dust'

matrhint
Posts: 12
Joined: Thu Mar 14, 2013 10:09 pm

Re: Printing a program

Thu Apr 04, 2013 2:43 am

I think because I use a thumb drive that is formatted on windows I am not having this issue. I would move the python program to a windows formatted drive and then open it in windows and open it with word-pad or word.

-rst-
Posts: 1316
Joined: Thu Nov 01, 2012 12:12 pm
Location: Dublin, Ireland

Re: Printing a program

Thu Apr 04, 2013 11:06 am

matrhint wrote:I think because I use a thumb drive that is formatted on windows I am not having this issue. ...
Exactly - that is one good way to move data between RPi and Windows.

Of course if both RPI and the Win box are in the same network, one could use SCP (WinSCP on Win box) or install Samba to access Windows shared drives and printers from RPi...
http://raspberrycompote.blogspot.com/ - Low-level graphics and 'Coding Gold Dust'

Return to “Python”

Who is online

Users browsing this forum: Baidu [Spider] and 9 guests