Jump to content
View in the app

A better way to browse. Learn more.

Tinkerunity

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Geschrieben

Recently published instructions in a PC mag. pointed to http://tinyurl.com/mxw8omx. This download was to employ a completed script, to run the TF weatherstation i.e download and dump data to Drop Box. Sounded very useful indeed. Problem is the script will not run successfully in Gene the recommended compiler for this exercise.

Situation is: RPi "B" Raspibien, Gene running, file (downloaded unzipped as described above) First few lines of script read:

 

#!/usr/bin/env python

 

import pygame, csv,os

from pygame.locals import *

from datetime import datetime

import pytz

import upload

from Today import *

 

Result: Traceback (blah blah blah) Import error: No module named pytz.

program exited blah blah.

 

As one would have reasonable confidence that this script was tested before publication, one is somewhat startled by this result???

 

Any ideas?

 

 

Geschrieben

Ah, this script is from a PC magazine. This information was missing in your German post.

 

As stated in the other thread, you're just missing the pytz module. On Debian/Ubuntu you can install it like this:

 

sudo apt-get install python-tz

Geschrieben
  • Autor

Thank you photron. This was indeed the solution. I also received a reply from Raspibian who suggested: "easy_install --upgrade pytz"

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Gast
Reply to this topic...

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.