LONDON — Romantic comedy “We’ll Never Have Paris,” the directorial debut of “The Big Bang Theory” star Simon Helberg, co-helmed with Jocelyn Towne, has been selected as the closing night film of the Edinburgh Film Festival. Helberg will attend the screening.

Helberg and Towne said: “We hope the people of Scotland will find our pain and suffering as funny as we do.”

The pic is penned by Helberg, who also plays the lead. Based on Helberg and Towne’s real-life romantic history, the film is a candid tale of a neurotic young man rattled by the sudden declaration of love he receives from an attractive co-worker moments before he is about to propose to his girlfriend. Heartbroken, she flees to Paris, and he must now race across the Atlantic to win her back.

The film also stars Zachary Quinto (“Star Trek”), Alfred Molina (“The Da Vinci Code,” “Spiderman 2”), Melanie Lynskey (“Up in the Air,” “The Perks of Being a Wallflower”), Jason Ritter (“Parenthood,” “Joan of Arcadia”) and Maggie Grace (“Taken,” “The Twilight Saga”).

Chris Fujiwara, the fest’s artistic director, said: “With ‘We’ll Never Have Paris,’ a funny and very personal romantic comedy, we’ll be able to close this year’s festival on a real high note. It’s a film of great charm and considerable intelligence, and Simon Helberg is brilliant in it.”

The film is produced by Robert Ogden Barnum (“All Is Lost,” “Lawless,” “Margin Call”) and Katie Mustard (“The Greatest,” “Night Catches Us”), along with Helberg and Towne. International sales are handled by K5 Intl.

As previously announced, this year will see a Focus on Germany strand at the festival, in partnership with German Films, with additional support from the Goethe-Institut. Highlights include hard-hitting family dramas “Daughters,” by Maria Speth; “Parents,” directed by Robert Thalheim; and Edward Berger’s tale of courage and responsibility, “Jack.”

“Stations of the Cross,” from Dietrich Brueggemann, charts a teenage girl’s struggles with questions of life, death and faith, while “A House in Berlin” directed by Cynthia Beatt, explores a woman’s personal journey of self-discovery as she delves in to the history of 20th century Germany.

The section will also include works such as Edgar Reitz’s historical epic “Home From Home — Chronicle of a Vision”; Thomas Heise’s documentary observing juvenile offenders in Mexico “Staedtebewohner”; Bruce LaBruce’s experimental adaptation of Arnold Schoenberg’s song cycle “Pierrot Lunaire”; and the U.K. premiere of Dominik Graf’s “Beloved Sisters.”

In addition the focus will present “Secret Master: Dominik Graf and the Hidden History of German Cinema,” a celebration of Graf’s work.

The fest runs June 18-29.