Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,502
» Latest member: abenytone
» Forum threads: 38,584
» Forum posts: 174,836

Full Statistics

Online Users
There are currently 490 online users.
» 2 Member(s) | 483 Guest(s)
Bing, Yandex, Google, Apple, abenytone, snippsat

Latest Threads
Is Python used to make po...
Forum: Game Development
Last Post: RogereK
Today, 04:17 AM
» Replies: 17
» Views: 31,711
Unequal values when added...
Forum: General Coding Help
Last Post: deanhystad
Today, 12:24 AM
» Replies: 1
» Views: 129
Call CLI app with input?
Forum: General Coding Help
Last Post: snippsat
Yesterday, 07:52 PM
» Replies: 5
» Views: 334
backtesting can't optimiz...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 07:46 PM
» Replies: 1
» Views: 119
Looking for ideas
Forum: Bar
Last Post: Larz60+
Yesterday, 10:55 AM
» Replies: 2
» Views: 460
How to put my game loop i...
Forum: Game Development
Last Post: RogereK
Yesterday, 12:35 AM
» Replies: 9
» Views: 2,695
Languages
Forum: General Coding Help
Last Post: Arush
May-22-2025, 06:51 PM
» Replies: 2
» Views: 247
Error on import: SyntaxEr...
Forum: General Coding Help
Last Post: Kiongi
May-21-2025, 07:49 AM
» Replies: 8
» Views: 21,420
Wish to write a code for ...
Forum: General Coding Help
Last Post: DeaD_EyE
May-21-2025, 06:08 AM
» Replies: 3
» Views: 661
How can I write formatted...
Forum: General Coding Help
Last Post: hanmen9527
May-20-2025, 12:26 PM
» Replies: 13
» Views: 29,005

 
  how to make the movement humanized
Posted by: isv - Jul-29-2022, 02:23 PM - Forum: General Coding Help - Replies (4)

this code makes the mouse move using mouse_event for certain angles, but the movement is very robotic, I would like to make the movement humanized, ho..... More

Print this item

  win32gui not transparent a color, just transparent all the wwindow
Posted by: DQT - Jul-29-2022, 01:40 PM - Forum: GUI - No Replies

Hello everyone.
I am trying to make a transparent back ground for a Gamemaker studio window,
I fill the background with color (255,255,128)

This is m..... More

Print this item

  UDP listener - why doesn't it work?
Posted by: Surmi - Jul-29-2022, 09:40 AM - Forum: Networking - Replies (6)

I am a beginner in Python programming.
I wrote a short program that decodes the data received on the UDP port and starts playing the mp3 file on the ..... More

Print this item

  How to automate file-uploading dialog in web automation?
Posted by: seanren - Jul-29-2022, 03:23 AM - Forum: Code sharing - Replies (1)

When generating web automation, you may come across a situation where you need to handle a dialog, such as saving or uploading or printing a file. The..... More

Print this item

  Bokeh help
Posted by: tangetjay - Jul-28-2022, 06:03 PM - Forum: General Coding Help - No Replies

Im trying to figure out how to make a graph with these modifications :

Create the following visualization (i.e. scatterplot) that shows the relations..... More

Print this item

Big Grin My backup is not complete - SSH Paramiko
Posted by: Braulio - Jul-28-2022, 05:12 PM - Forum: General Coding Help - Replies (2)

I have been working with paramiko to automate backups of my Cisco devices (Router & SW). I got SSH to work and I was able to get the configuration wit..... More


Attached Files

Thumbnail(s)
   
Print this item

  Upgrade makes Code Error
Posted by: kucingkembar - Jul-28-2022, 04:51 PM - Forum: General Coding Help - Replies (6)

i upgrade (Clean install) python from 3.9 to 3.10.5
and try this code
[python]import subprocess
subprocess.call("title Test pause & Pause")[/python..... More

Print this item

  Repeat request by else
Posted by: stsxbel - Jul-28-2022, 04:37 PM - Forum: General Coding Help - Replies (2)

Good afternoon, there is a code that removes parameters, the request is made 2 times and if the answers match, the data is written to the database. I ..... More

Print this item

  How to install Facebook Prohpet?
Posted by: SuperNinja3I3 - Jul-28-2022, 02:42 PM - Forum: Data Science - Replies (1)

I have tried everything I can, tried installing pystan, using pip and everything. Searched on Google and YouTube but still no luck... I am using Windo..... More

Print this item

  Api request redirect url
Posted by: pietervp - Jul-28-2022, 01:31 PM - Forum: Web Scraping & Web Development - Replies (1)

Hello,
I need some help with getting data from the website of my internet provider.
First I think I need to do a postrequest with my username and pa..... More

Print this item

  logic python
Posted by: JunkBoy - Jul-28-2022, 07:19 AM - Forum: General Coding Help - Replies (5)

Hey
I have this excel code i try to translate into python. I am getting some wrong answers and i need help to figure it out..
I have a dataset wher..... More

Print this item

  How to change UTC time to local time in Python DataFrame?
Posted by: SamKnight - Jul-28-2022, 05:15 AM - Forum: General Coding Help - Replies (2)

Help convert UTC time to local. Here is a getter function that outputs the time in UTC in columns.

[python]
def getminutedata(symbol, interval, l..... More

Print this item

  multithreading
Posted by: Hanyx - Jul-27-2022, 10:15 PM - Forum: General Coding Help - Replies (4)

multithreading in python

2 files

messages.txt with indefinite number of lines keys.txt with indefinite number of lines

example:

keys.txt h..... More

Print this item

  What am I doing wrong with this FFT?
Posted by: pyhill00 - Jul-27-2022, 09:50 PM - Forum: General Coding Help - Replies (6)

Hi everyone,
I am trying to just FFT four cosines but the results are weird.

This code below gives the following figures:

https://imgur.com/a/..... More

Print this item

  Plotting Feature Importance from ExtraTreesClassifier
Posted by: Led_Zeppelin - Jul-27-2022, 06:24 PM - Forum: General Coding Help - No Replies

The following python code gives all the features importance.

[python]
model = ExtraTreesClassifier()
model.fit(X, y)
print(model.feature_importa..... More


Attached Files

Thumbnail(s)
       
Print this item

  Error in if-then-else python code
Posted by: Led_Zeppelin - Jul-27-2022, 04:33 PM - Forum: General Coding Help - Replies (6)

When I run the program with the following final code, I get the error shown.

[error]
ValueError Traceback (most rec..... More

Print this item

  Multithreaded file transfer from multiple volumes
Posted by: skoobi - Jul-27-2022, 03:59 PM - Forum: General Coding Help - Replies (2)

I've written a script that copies .mp4 files from multiple volumes on the mac, which all works as intended, but am looking at improving the speeds and..... More

Print this item

  Creating a loop with dynamic variables instead of hardcoded values
Posted by: FugaziRocks - Jul-27-2022, 03:43 PM - Forum: General Coding Help - Replies (3)

The first step is creating a dataframe of usernames and their corresponding User IDs. You also need to login to an Instagram account for authenticatio..... More

Print this item

  pyPDF2 PDFMerger close pensding file
Posted by: japo85 - Jul-27-2022, 01:41 PM - Forum: General Coding Help - Replies (2)

Hello to everyone!
I have a problem using pyPDF2: I merge some pdf in a directory and I want to delete it after the job is done, but when I try to do..... More

Print this item

  How to extract specific data from .SRC (note pad file)
Posted by: Shinny_Shin - Jul-27-2022, 09:39 AM - Forum: General Coding Help - Replies (2)

Hi experts, I was tasked to build something to extract specific data from notepad within these 2 days and I am new to python and has never program any..... More

Print this item

  Writing into 2 text files from the same function
Posted by: paul18fr - Jul-27-2022, 09:29 AM - Forum: General Coding Help - Replies (4)

Hi

The following snippet seems to work, but I'm thinking I've been "lucky" and I'm wondering if it's the good way ? indeed neither f1 nor [i..... More

Print this item

Smile How we can prevent screen recording
Posted by: murad_ali - Jul-27-2022, 09:11 AM - Forum: General Coding Help - Replies (3)

After searching for hours, I have no choice left to ask some python gurus. I want to prevent a user to capture my app window.

I'm currently using [..... More

Print this item

  get data from excel and find max/min
Posted by: Timmy94 - Jul-27-2022, 07:14 AM - Forum: General Coding Help - Replies (1)

Hi,

Would it work to build a program were the user could take 30.000 different values (digits) from an excel file and enter it to a program to find..... More

Print this item

  Remove a space between a string and variable in print
Posted by: sie - Jul-27-2022, 05:58 AM - Forum: General Coding Help - Replies (5)

Hello, i was wondering on how can i remove the space between the variable color and a string ", I prefer red"
[python]
color = str.lower(input ("Ple..... More

Print this item

  two different doc strings
Posted by: Skaperen - Jul-27-2022, 01:40 AM - Forum: General Coding Help - Replies (2)

i have a case where two different functions for different purposes were re-factored in a way that they shared exactly identical code. so i am looking..... More

Print this item

  Average values on duplicate records
Posted by: chandramouliarun - Jul-26-2022, 09:52 PM - Forum: General Coding Help - Replies (1)

I have the following input table

| Custid | transactions | price | revenue |
| ------ | ------------ | ----- | ------- |
| 12456 | 2300 ..... More

Print this item

  Finding the price based on industry and number of transactions
Posted by: chandramouliarun - Jul-26-2022, 07:36 PM - Forum: General Coding Help - Replies (1)

1


I am trying to determine the price for my input table which has the specific industry type and the average monthly transactions based on the re..... More

Print this item

  Cant Access D: Drive
Posted by: kucingkembar - Jul-26-2022, 06:15 PM - Forum: General Coding Help - Replies (4)

Sorry for my bad English,
And sorry if I put in the wrong Section
my IDLE python cannot Access D:\ Drive py files,
when I open inside D:\ with rig..... More

Print this item

  Scrap table from webpage
Posted by: Luis_liverpool - Jul-26-2022, 03:54 PM - Forum: General Coding Help - Replies (5)

Hi All,

I wonder if it possible to scrap table from following web-page:

My desired table

I saw fe..... More

Print this item

Question Python Download URL
Posted by: mengelsen - Jul-26-2022, 02:45 PM - Forum: News and Discussions - Replies (1)

I am trying to automate software deployment using our MDM solution. Does Python.org have a download URL that would allow me to consistently pull the l..... More

Print this item

  How to write a part of powershell command as a variable?
Posted by: ilknurg - Jul-26-2022, 11:09 AM - Forum: General Coding Help - Replies (2)

I have a powershell command to run it with winrm.

[python] result = session.run_ps('get-wmiobject -namespace root\SecurityCenter2 -computernam..... More

Print this item

  small code for sampel asn1ate
Posted by: borys - Jul-26-2022, 10:48 AM - Forum: General Coding Help - No Replies

Hi I'm a fresh in python, could someone help me to write a code for asn1 file parser I've already generated class for such ASNdecoder, what I need is ..... More

Print this item

  Transforming Employee Roster into a Headcount Calendar
Posted by: Michaperki - Jul-25-2022, 07:00 PM - Forum: Data Science - No Replies

Hello, I've started a new job recently and one of my first tasks as a BI analyst is to create a regularly updating dashboard showing employee headcoun..... More


Attached Files

.xlsx   Sample_Employee_Headcount_Data.xlsx (Size: 12.06 KB / Downloads: 1)
Print this item

  removing spaces
Posted by: msaiahnl - Jul-25-2022, 02:56 PM - Forum: General Coding Help - Replies (2)

hello I have to calculate the arithmetic mean in the text (the number of letters divided by the number of sentences). The problem is that when countin..... More

Print this item

  what will be the best way to find data in txt file?
Posted by: korenron - Jul-25-2022, 09:46 AM - Forum: General Coding Help - Replies (2)

Hello,
I have created a "config" file for my code with all kind of data inside , for the code to run and use
the config.txt is :
[python]IP = 10.0..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Is Python used to make po... Today, 04:17 ironsheep RogereK Game Developm...
  Unequal values when added... Today, 00:24 Azdaghost deanhystad General Codin...
  Call CLI app with input? Yesterday, 19:52 Winfried snippsat General Codin...
  backtesting can't optimiz... Yesterday, 19:46 Running_Code snippsat General Codin...
  Looking for ideas Yesterday, 10:55 Azdaghost Larz60+ Bar
  How to put my game loop i... Yesterday, 00:35 temlotresid6 RogereK Game Developm...
  Languages 05-22, 18:51 Azdaghost Arush General Codin...
  Error on import: SyntaxEr... 05-21, 07:49 kirkwilliams2049 Kiongi General Codin...
  Wish to write a code for ... 05-21, 06:08 Hasan2025 DeaD_EyE General Codin...
  How can I write formatted... 05-20, 12:26 JohnJSal hanmen9527 General Codin...
  How to attach images to a... 05-19, 04:08 CynthiaMoore sethmike9 Board
Most views
  The best Prog... 567787
  Tutorial Requ... 466655
  Web Scraping ... 432623
  Newbie with P... 371154
  Thread remain... 343190
Most reputation
buran 580
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12053
buran 8171
snippsat 7328
deanhystad 6828
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
abenytone Today
nivajonas Today
Earnestacuts Today
victoricahvsoz9291 Today
hoki1881Odods Today

User Panel Messages

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