Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #72.7K
Re:
#!/usr/bin/python3 print('Content-type: text/plain') # prints an empty line, to end the headers print('Hello, world!') I'M trying to get the above python cgi output to load in my web browser but the browser is just displaying the code it's self. My apache program is working because I just tried the phpinfo … |
|
I want to print a file using win32api. I have a network printer using this ip: 192.168.1.50 So i used this code: import win32api file_path="test.txt" win32api.ShellExecute(0, "print", file_path, None, ".", 0) How can i print this file on the printer that i don't have the name but the ip? Its … |