Posts
 
Reputation
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 #4K
~14.6K People Reached
Favorite Forums
Favorite Tags
Member Avatar for mohan.jce

shutil.copyfile which has a default buffer size of 16384 bytes , as u kno copying wil take more time.. Below is the code that increases the buffer size as 10 MB.. u can copy files that are in Gbs.. import os import shutil def copyFile(src, dst, buffer_size=10485760, perserveFileDate=True): # Check …

0
75
Member Avatar for mohan.jce

I know to access tasklist of our machine can be done through os.popen('tasklist').read(). Is there any way to read the tasklist (taskmanager data) of other systems connected in a network using Python? Just reading them will be fine. Purpose: Main objective of this is to write a script which will …

Member Avatar for james.lu.75491856
0
239
Member Avatar for mohan.jce

i have been looking around and its hard to find what i want. I am able to add context menu item to a FOLDER by doing this: [HKEY_CLASSES_ROOT\Directory\shell\Command] @="TestRightClick:" [HKEY_CLASSES_ROOT\Directory\shell\Command\Command] @="myExe.exe %1" I need to have "context menu for all the files in folders of a particular directory". context menu …

Member Avatar for mohan.jce
0
233
Member Avatar for zswinford

num_trades = int(input("Number of trades for today?")) for i in range(1, num_trades + 1): action = input("Trade number", i ,"(buy/sell)?") num_shares = int(input("Number of shares to buy?")) price_per_share = float(input("Price per share?")) I'm getting a TypeError on the line "action = input("Trade number", i ,"(buy/sell)?")" Help Thanks

Member Avatar for sepp2k
0
14K