Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: new to python, need some help
Post: RE: new to python, need some help

Like Aspire2Inspire says, you should take a look at the Requests module. The Requests module is used for sending HTTP requests to other computers, or servers. You can use the post request, which send...
spaceraiders General Coding Help 2 1,883 Jan-21-2021, 01:52 PM
    Thread: Close script from another script
Post: RE: Close script from another script

Yes, you can modify variables in other modules during script execution. You just have to import it, index the variable you want to change, and then assign that variable a new value. File testA.py: x ...
spaceraiders General Coding Help 12 4,284 Jan-21-2021, 01:42 PM
    Thread: Function encapsulation
Post: RE: Function encapsulation

What isn't working about it exactly? You need to specify these things when asking a question on here.
spaceraiders General Coding Help 4 2,292 Jan-21-2021, 01:34 PM
    Thread: Close script from another script
Post: RE: Close script from another script

Yes! This is entirely possible. However, like ndc85430 says, it is dependent on your platform. I can show you how to kill them on both Linux, and Windows. This is achieved through using shell commands...
spaceraiders General Coding Help 12 4,284 Jan-20-2021, 04:43 PM
    Thread: Cut and Paste
Post: RE: Cut and Paste

If you're asking on how to get the AppData directory, I showed right here: "C:/Users/<Username>/AppData/my_script" All you must do is replace <Username> with your account's Username. Howe...
spaceraiders General Coding Help 3 2,433 Jan-20-2021, 04:27 PM
    Thread: New Users Introduce Yourself
Post: RE: New Users Introduce Yourself

Hi! I'm spaceraiders, from Canada. I've been programming for about 5 years now, mainly in Lua, and Python, but I'm currently learning C as well. I look forward to helping some people out!
spaceraiders Bar 431 228,810 Jan-19-2021, 11:23 PM
    Thread: Cut and Paste
Post: RE: Cut and Paste

You can use the copytree method from the shutil module. Usage is as such: shutil.copytree("src", "dst") import shutil shutil.copytree("src/folder/path/", "dst/folder/path")In your case, the src path...
spaceraiders General Coding Help 3 2,433 Jan-19-2021, 11:15 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020