Skip to main content

Grundlegende Begriffe – Kommentare, SheBang und Strukturanalysen

  • Chapter
  • First Online:
Programmierung in Python
  • 38k Accesses

Zusammenfassung

Token strukturieren Quellcode und repräsentieren Sinnzusammenhänge. Damit sie vom Interpreter aber sinnvoll verwendet werden können, müssen der Quellcode vorher zerlegt und die Token auf Korrektheit geprüft werden. Das macht ein Parser. Kommentare hingegen werden vom Interpreter zwar ignoriert, haben aber durchaus Sinn. Sie dokumentieren Dinge und können auch anderen interpretierenden Systemen sinnvolle Informationen liefern. Insbesondere die SheBang -Zeile hat auf verschiedenen Plattformen eine besondere Bedeutung.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Also außer einer Trennung von Token keine „Bedeutung“.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer Fachmedien Wiesbaden GmbH, ein Teil von Springer Nature

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Steyer, R. (2018). Grundlegende Begriffe – Kommentare, SheBang und Strukturanalysen. In: Programmierung in Python . Springer Vieweg, Wiesbaden. https://doi.org/10.1007/978-3-658-20705-2_4

Download citation

Publish with us

Policies and ethics