Home > other >  Small white help post!
Small white help post!

Time:10-04

Python beginners, recently passed his turtle drew a picture library, assumes that Amy polumbo y, by performing, can complete to draw graphics, leisure experimenting with some new features, to create a new p. y, through the code to call Amy polumbo y, and able to perform the drawing, can display the results themselves tried to open (), exec () and so on a series of ways, or the name 'null' is not defined. Or is the result it shows Amy polumbo y all the code, but does not perform; Otherwise is not an error, but also have no reaction, excuse me each bosses, what should I want to achieve the purpose of to perform? Thank you very much! I am using jupyter, python version is 3.7.5

` ` `
1 with the open (' F: \ Python Files \ drawing \ piggy page. Ipynb ', 'r', encoding="utf-8") as F:
2 g=f.r ead ()
3 the exec (g)

1 f=open (' f: \ Python Files \ drawing \ piggy page. Ipynb ', 'r', encoding="utf-8")
2 g=f.r ead ()
3 the exec (g)
` ` `

CodePudding user response:

B inside the import a perform a. drawing

CodePudding user response:

To import a
  • Related