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,970
» Latest member: Seu12Jorge
» Forum threads: 38,731
» Forum posts: 175,552

Full Statistics

Online Users
There are currently 42 online users.
» 0 Member(s) | 34 Guest(s)
Google, Bing, AOL, Facebook, Mojeek

Latest Threads
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
4 hours ago
» Replies: 6
» Views: 329
LOST BITCOIN OR USDT?WE H...
Forum: Networking
Last Post: leewang
4 hours ago
» Replies: 0
» Views: 18
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
7 hours ago
» Replies: 7
» Views: 2,785
looking for help
Forum: Bar
Last Post: PhamMaria
9 hours ago
» Replies: 1
» Views: 1,908
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
Sep-27-2025, 11:58 PM
» Replies: 1
» Views: 651
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,183
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,750
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Sep-27-2025, 03:54 AM
» Replies: 3
» Views: 642
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,137
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,111

 
  Need help on Hands-On - Multithreading in Python using global variable
Posted by: ashishsme14 - May-20-2020, 06:57 AM - Forum: Homework - Replies (5)

We need to perform Hands-On - Multithreading in Python using global variable.

There is a global variable 'rv' which should have the entire message ..... More

Print this item

  Utilize input predictions for Supervised Learning
Posted by: donnertrud - May-20-2020, 06:01 AM - Forum: Data Science - Replies (2)

Hi guys,

Currently I am working on a paper in order to research the usefulness of ML in order to predict Forex Exchange Rates using Supervised Lear..... More

Print this item

  Hotkey to restart code?
Posted by: DannyB - May-20-2020, 12:51 AM - Forum: General Coding Help - Replies (1)

Im looking to add f2 as a hotkey to go to a certain point in the code. This would allow a user to reconfigure the settings.
This is the full code:
..... More

Print this item

  Need info for getting directory content in Windows
Posted by: wlathan - May-20-2020, 12:17 AM - Forum: General Coding Help - Replies (2)

I'm new to Python and am looking at tutorials, etc., to learn the language. What I haven't been able to find is information, either code examples or p..... More

Print this item

  Substation Load Forecasting
Posted by: BadWhite - May-19-2020, 10:50 PM - Forum: Data Science - Replies (1)

[align=justify]Hey Guys,

I have a data set that contains the daily load for year 2019 for one substation, almost of 366 cells in CSV file.
I need..... More

Print this item

  def sum3
Posted by: NoobPythago - May-19-2020, 10:45 PM - Forum: General Coding Help - Replies (2)

Hello to the Python community. I am learning Python slowly but surely and currently going through the Udacity cs class that they offer. This code retu..... More

Print this item

  win32print
Posted by: FritsCornelius - May-19-2020, 09:45 PM - Forum: General Coding Help - Replies (1)

I'm having a hard time understanding what I'm doing wrong in my code.
I'm only a beginner at programming, but so far enjoying it.

I'm planning to ..... More

Print this item

  Embedding Matplotlib in graphical user interfaces
Posted by: bobthebuilder - May-19-2020, 09:22 PM - Forum: GUI - Replies (2)

Hi, I have a question regarding how to make a button open up a new window which will display a graph(matplotlib).
I have made the button and the new ..... More

Print this item

  I can't get information from a radio button
Posted by: aquerci - May-19-2020, 09:16 PM - Forum: GUI - Replies (2)

hi guys,

I wrote a GUI with a main window and other ones. if you want to go ahead with a secondary window, first you have to choose one of them usi..... More


Attached Files

Thumbnail(s)
   
Print this item

  Getting projectiles into pygame.
Posted by: Everett_ - May-19-2020, 09:07 PM - Forum: Game Development - Replies (5)

Hey all,

I'm really new to Python, this is only really my 5th or 6th day using the language (or really any major language). When I was younger I us..... More

Print this item

  Exe file error
Posted by: diabloren - May-19-2020, 08:22 PM - Forum: General Coding Help - Replies (2)

Hello .
when compiling a python file in exe using pyinstaller. this file does not open on other computers. despite the fact that on mine this file w..... More

Print this item

  PySide2 Hotkey works only once in Maya
Posted by: LalaGhost - May-19-2020, 05:05 PM - Forum: General Coding Help - No Replies

I want to open a window that is defined in this script by my custom hotkey, in this case CTRL + TAB. I have this script in Maya(2020):

[python]
fr..... More

Print this item

  Accessing subclass with a variable
Posted by: David_S - May-19-2020, 04:12 PM - Forum: General Coding Help - Replies (2)

Hi All,

I'm new on this forum and pretty new in python. So maybe, my question will be quickly answered Big Grin

I'm currently trying to acc..... More

Print this item

  Real time MIDI with python
Posted by: eythoralex - May-19-2020, 03:41 PM - Forum: General Coding Help - Replies (1)

Hey, so I had this idea for a program that requires a real time midi library for python. To explain further, I need to be able to see and alter a midi..... More

Print this item

  Neural Network mensagem error
Posted by: Dalpi - May-19-2020, 03:30 PM - Forum: Data Science - Replies (2)

Dear Sir, I'm trying do to a program that predict the emission of polluting gases from a Thermal Coal Plant. I would like help to solve the following ..... More

Print this item

  Help! zip() function
Posted by: bwdu - May-19-2020, 03:03 PM - Forum: General Coding Help - Replies (2)

Hello everyone!
I couldn't understand why it didn't write y. How can i fix this ---> <zip object at 0x0139F608> ?
Here is my code:
[python]
rbooks..... More

Print this item

  TypeError: a bytes-like object is required, not 'str' - Help Please.
Posted by: IanJ - May-19-2020, 02:49 PM - Forum: General Coding Help - Replies (3)

Hi,

I have inherited a number of python scripts for AWS Lambda that need upgrading from python 2.7 to v3. The following script has been through the..... More

Print this item

  key = getkey() opens platforms.py
Posted by: Toolman - May-19-2020, 02:38 PM - Forum: General Coding Help - Replies (1)

I'm attempting to use getkey. The little program debugs up to where the value for 'key' is set. At that..... More

Print this item

  Error message box and quit app
Posted by: Kumarkv - May-19-2020, 02:33 PM - Forum: GUI - Replies (1)

Hi,

I am doing a callback on OptionMenu. as per the below code when the condition if source == destination then i would like to generate an ..... More

Print this item

  Binary to decimal script
Posted by: ThorOdinson12521 - May-19-2020, 02:31 PM - Forum: General Coding Help - Replies (1)

Hey,
I missed a coding class today and I didn't understand at all the script we have been given for homework. We are supposed to write and input and ..... More

Print this item

  [split] NameError: name 'formats' is not defined
Posted by: shobhu123 - May-19-2020, 02:28 PM - Forum: General Coding Help - Replies (1)

soup = BeautifulSoup(response.content,formats[crawl_len])
Error:
NameError: name 'formats' is not defined
why should i ge..... More

Print this item

  Code starts slowing down? MemoryError
Posted by: AshkanDev - May-19-2020, 02:19 PM - Forum: General Coding Help - Replies (1)

(Information before reading: I am a native German speaker and i learned English in school, so i am sorry if something sounds incomprehensible)

Hell..... More

Print this item

  3D array manipulation
Posted by: ibmr19 - May-19-2020, 01:17 PM - Forum: Homework - Replies (3)

Dear all,

So for a homework assignment, I have trouble manipulating a 3D array (26,26,500). From the 300th element in the last row, all values shou..... More

Print this item

  Problems with modules
Posted by: mectos - May-19-2020, 12:51 PM - Forum: General Coding Help - No Replies

[align=left]

Hello :),

I'm a newbie, started messing around with python a few days ago.
I find myself sitting hours about this shit actually.
..... More

Print this item

  Multiple items of a matrix has been updated.
Posted by: Yoki91 - May-19-2020, 12:16 PM - Forum: General Coding Help - Replies (4)

Hey everyone, I an new in Python and I want to update an item of a matrix, but 3 items are updated. I am not sure why this happens.
Please check the ..... More

Print this item

  Instagram Phone Emulation
Posted by: kristianpython - May-19-2020, 11:54 AM - Forum: Web Scraping & Web Development - No Replies

Hi,

I am using selenium.webdriver to open my companies instagram.

I am having issues with getting a comment to input

[python]
import autoit..... More

Print this item

  Merging excel worksheets with balnk rows
Posted by: sauravksingh85 - May-19-2020, 11:36 AM - Forum: General Coding Help - Replies (1)

Hi,

There is a task where I have to merge multiple excel spread sheets. The column number do not start from the first column and it can lie & star..... More

Print this item

  How to make Python 3.7.6 accessible to users
Posted by: Doguhan - May-19-2020, 10:37 AM - Forum: General Coding Help - Replies (4)

Hello everyone

In our server, Python 3.7.6 has been installed, along with Anaconda3 and all the pip packages, including Pandas.

However, the..... More

Print this item

  How to get first two characters in a string
Posted by: scratchmyhead - May-19-2020, 10:33 AM - Forum: General Coding Help - Replies (2)

I have a tuple that I converted the first part of the tuple into a string and I want to get the first two characters of that variable. For example

..... More

Print this item

  Grouping algorithm
Posted by: riccardoob - May-19-2020, 09:58 AM - Forum: General Coding Help - Replies (7)

As the title says I'm trying to write a grouping algorithm, although I'm not sure if that is the right term to describe what I need. Here a better exp..... More

Print this item

  using element on a list as condition statement
Posted by: glennford49 - May-19-2020, 09:07 AM - Forum: General Coding Help - Replies (11)

how to implement this code ?
i want any value in the list1 be compared in variable sum
if has , statements will follow
if no , prints a string as ..... More

Print this item

  Classification and Regression tree (CART)
Posted by: kumarants - May-19-2020, 08:37 AM - Forum: Data Science - Replies (2)

[python]
import sklearn
from sklearn.preprocessing import LabelEncoder
import pandas as pd
import numpy as np
data=pd.read_excel('CART.xlsx')
le..... More

Print this item

  Having issue with regular expressions
Posted by: azulu - May-19-2020, 04:42 AM - Forum: Homework - Replies (5)

For this homework assignment I have been tasked with web scraping using regex (I know it isn't best practice). I believe the code I have is correct, a..... More

Print this item

  help with strip function
Posted by: gabejohnsonny21 - May-19-2020, 03:48 AM - Forum: Homework - Replies (2)

I have a text file which is written like this

a


I have a text file which is written like this:
a \t b \t c \t d
d \t c \t d \t a
a \t b \..... More

Print this item

  how to correctly index
Posted by: arman888 - May-19-2020, 02:47 AM - Forum: General Coding Help - Replies (1)

My goal is to print only 1 name out of 3 on the list. however, I end up with the wrong results like

ike
ohnson
ennedy

below is my code in pyt..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Comparing 2 100GB Drives/... 4 hours ago tester_V snippsat General Codin...
  LOST BITCOIN OR USDT?WE H... 4 hours ago leewang leewang Networking
  Select Python comment (#)... 7 hours ago SpongeB0B tester_V General Codin...
  looking for help 9 hours ago Azdaghost PhamMaria Bar
  My goal to be hired worki... 09-27, 23:58 GnomeSweetGnome Larz60+ News and Disc...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  Unable to resolve FileNot... 09-27, 03:54 llarkin6 Pedroski55 General Codin...
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
Most views
  The best Prog... 577279
  Tutorial Requ... 500386
  Web Scraping ... 440961
  Newbie with P... 384987
  New Users Int... 369364
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12089
buran 8176
snippsat 7369
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Seu12Jorge Yesterday
leewang Yesterday
seomelbourneaustralia Yesterday
Jacobjoift Yesterday
PhamMaria Yesterday

User Panel Messages

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