File: pyexec1.py

package info (click to toggle)
csound-plugins 1.0.2~dfsg1-5
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,960 kB
  • sloc: cpp: 16,586; ansic: 7,522; python: 458; sh: 94; makefile: 25
file content (12 lines) | stat: -rw-r--r-- 191 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
import time, os

print()
print("Welcome to Csound!")

try:
    s = ', %s?' % os.getenv('USER')
except:
    s = '?'

print('What sound do you want to hear today%s' % s)
answer = input('--> ')