mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 11:49:12 +00:00 
			
		
		
		
	
							parent
							
								
									644cabed4b
								
							
						
					
					
						commit
						e7bade568e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -333,7 +333,7 @@ the current directory. ::
 | 
				
			||||||
   httpd.serve_forever()
 | 
					   httpd.serve_forever()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
:mod:`http.server` can also be invoked directly using the :option:`-m`
 | 
					:mod:`http.server` can also be invoked directly using the :option:`-m`
 | 
				
			||||||
switch of the interpreter a with ``port number`` argument.  Similar to
 | 
					switch of the interpreter with a ``port number`` argument.  Similar to
 | 
				
			||||||
the previous example, this serves files relative to the current directory. ::
 | 
					the previous example, this serves files relative to the current directory. ::
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        python -m http.server 8000
 | 
					        python -m http.server 8000
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue