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,954
» Latest member: Perry
» Forum threads: 38,727
» Forum posts: 175,526

Full Statistics

Online Users
There are currently 36 online users.
» 1 Member(s) | 32 Guest(s)
Bing, Google, AOL, snippsat

Latest Threads
extracting data from a us...
Forum: General Coding Help
Last Post: Pedroski55
33 minutes ago
» Replies: 1
» Views: 70
how to export a dictionar...
Forum: GUI
Last Post: Pedroski55
6 hours ago
» Replies: 3
» Views: 145
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
8 hours ago
» Replies: 0
» Views: 338
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 02:48 PM
» Replies: 10
» Views: 29,352
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Sep-23-2025, 12:00 PM
» Replies: 4
» Views: 9,403
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Sep-23-2025, 09:08 AM
» Replies: 0
» Views: 279
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Sep-23-2025, 03:29 AM
» Replies: 2
» Views: 725
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Sep-22-2025, 08:56 PM
» Replies: 9
» Views: 922
403 error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 5,184
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,392

 
  Python Openpyxl is unable to check from Column 6 onwards
Posted by: Skye - Oct-13-2020, 06:11 AM - Forum: General Coding Help - No Replies

Hi,

I want to use Openpyxl to check if cells.value='OK' and the interior color of its corresponding row in another sheet is !='FF9BCCFF'. I used th..... More

Print this item

  Customizing The Title Bar
Posted by: Harshil - Oct-13-2020, 06:08 AM - Forum: GUI - Replies (2)

How to customize the title bar of the pyqt5 window.
Cause I Don't  Wall

Print this item

  Http connection error when using API request (requests library)
Posted by: zazas321 - Oct-13-2020, 05:25 AM - Forum: Networking - Replies (1)

Hello. I am using requests library to make API requests from the internal server. I have noticed that every now and then maybe like (1/20) chance my p..... More

Print this item

  Casting from str to int
Posted by: aztrav - Oct-13-2020, 05:20 AM - Forum: General Coding Help - Replies (4)

Hi all, absolute Python beginner here...

Question: I am getting an "unsupported operand type" error on my code below on line 13 of my code. I think..... More

Print this item

Question report post not working?
Posted by: bowlofred - Oct-13-2020, 05:12 AM - Forum: Board - Replies (1)

Was trying to report a post and I didn't seem to be able to. Clicking the report button draws a box with no interaction/button to complete the report.

Print this item

  hello everyone, I am attempting to extract lldp neighbors from Cisco switches->excel
Posted by: skins996 - Oct-13-2020, 02:07 AM - Forum: Networking - Replies (1)

Good evening everyone
I am attempting to extract the output from multiple cisco switches about 60 of them and put the data into an excel spreadsheet ..... More

Print this item

  Caluculating pi using loops
Posted by: lightningstrikes420 - Oct-13-2020, 01:15 AM - Forum: General Coding Help - Replies (1)

Hi
My homework was to calculate pi using a loop and figure out the time it takes for 10^3,10^5, and 10^7 iterations. Im very stuck as this is what I ..... More

Print this item

  Relative import tool
Posted by: MadisonAster - Oct-13-2020, 12:16 AM - Forum: Code Review - Replies (5)

Would anyone mind reviewing my recent project? I've written this in a procedural style, because my goals for this project were very simple and clear...... More

Print this item

  to do list
Posted by: metulburr - Oct-12-2020, 11:20 PM - Forum: Board - Replies (55)

This is a list of things we are planning to do after the forum update (in which broke the forums as well as adding a new responsive theme). Please po..... More


Attached Files

Thumbnail(s)
               
Print this item

Lightbulb Allocating maximum memory to chunks
Posted by: Robotguy - Oct-12-2020, 11:10 PM - Forum: Data Science - Replies (1)

I read large files (>10 GBs) in chunks; later performing some arithmetic operations on these chunks.

Reading in chunks is needed to avoid memory-is..... More

Print this item

  Extracing unique email address from a folder of emails
Posted by: jehoshua - Oct-12-2020, 10:32 PM - Forum: General Coding Help - Replies (6)

I have tested the code at https://gist.github.com/dideler/5219706#...om_text-py , and it works okay. Also to remove duplicates I ha..... More

Print this item

  GPIO high if network IP has good ping
Posted by: duckredbeard - Oct-12-2020, 09:39 PM - Forum: General Coding Help - Replies (3)

I would like to ping an android phone on my network every 30 minutes and light one of two LEDs according to the ping result.  Can a python program do ..... More

Print this item

  Binary File Error
Posted by: SalsaBeanDip - Oct-12-2020, 08:59 PM - Forum: General Coding Help - Replies (1)

I am trying to create a binary file and save data to it but I get the following error message :

File was loaded in the wrong encoding: 'UTF-8'

I..... More

Print this item

  Towers of Hanoi - print 3 Towers
Posted by: PythonMarlem - Oct-12-2020, 08:42 PM - Forum: Game Development - Replies (3)

Hello,

I'm developing Towers of Hanoi as a console application.
It doesn't matter whether the 3 towers are stored in 3 stacks or 3 arrays.
I'm lo..... More

Print this item

  Import output from python script to another
Posted by: varietyjones - Oct-12-2020, 08:31 PM - Forum: General Coding Help - Replies (1)

Hello
I want to find a solution which make me do the whole idea below:
I want to import an output of my python script in another python script file..... More

Print this item

  rain theme glitch?
Posted by: metulburr - Oct-12-2020, 07:33 PM - Forum: Board - Replies (2)

@[rain]

sometimes when i look at the thread listing i get the toplinks moving along but far below the normal X axis. See pictures below

Notice t..... More


Attached Files

Thumbnail(s)
       
Print this item

  Account vanished
Posted by: Atekka - Oct-12-2020, 07:11 PM - Forum: Board - Replies (3)

I recently made an account under the name WXstudio and it seems it has just vanished, or been deleted. The only thing I did on that account in the sho..... More

Print this item

  Cannot find module 'torch'
Posted by: ErnestTBass - Oct-12-2020, 04:45 PM - Forum: General Coding Help - Replies (6)

I am getting the error message in my python program.
[code]
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-5-2940563e030c> in..... More

Print this item

  ADT related stacks
Posted by: prasanthbab1234 - Oct-12-2020, 04:33 PM - Forum: Homework - Replies (8)

Hi Team,

I have following query but littlie confusion to fix it.
[quote]
##Basic input#####
def push(stack, new_item):
    stack.append(new_ite..... More

Print this item

  How to run script from batch file?
Posted by: jmair - Oct-12-2020, 04:05 PM - Forum: General Coding Help - Replies (1)

I have Anaconda on a Windows Server. I would like to run a script at ever start up from Task Scheduler. I've only ever been running my code from Spyde..... More

Print this item

  Check password from sqlite db
Posted by: Maryan - Oct-12-2020, 02:36 PM - Forum: General Coding Help - No Replies

Any help is appreciated, I'm a beginner, and I'm trying to find where is my error. I can set up a new password and insert it into the DB, but I'm not ..... More

Print this item

  Call local variable of previous function from another function with Python3 & tkinter
Posted by: Hannibal - Oct-12-2020, 02:06 PM - Forum: GUI - Replies (5)

Hi Smile

I am building password generator with python and tkinter as GUI. The function copy should copy paStr variable which re..... More

Print this item

  API design question: use methods or properties?
Posted by: johsmi96 - Oct-12-2020, 01:52 PM - Forum: General Coding Help - Replies (1)

This is something that is really bugging me, but I cannot come up with a good strategy for how to decide:
should I use ordinary methods or properties..... More

Print this item

  My first Python project - Snake game
Posted by: bear - Oct-12-2020, 12:50 PM - Forum: Code Review - Replies (3)

Hi guys,

after being a PHP and JS developer for many years, I decided to give Python a shot. I love it so far.

Here's my first little project - ..... More

Print this item

  MERGE SQL in oracle executemany
Posted by: kaladin - Oct-12-2020, 11:48 AM - Forum: General Coding Help - No Replies

Hi there,

I'm looking to insert values into an oracle table (my_table) using the query below. The insert query works when the PROJECT is not NULL/e..... More

Print this item

  Writing to existing excel sheet
Posted by: jksvend - Oct-12-2020, 11:19 AM - Forum: General Coding Help - No Replies

Hi all,

Trying to insert a value into an existing spreadsheet.

I get an error in this line (worksheet = writer.sheets['Sheet1'])

Hope some ..... More

Print this item

  alerts in new theme
Posted by: metulburr - Oct-12-2020, 10:58 AM - Forum: Board - Replies (4)

I have noticed i have a hard time determining the alerts in the new theme compared to the default mybb theme. In default, the color changes to red as ..... More

Print this item

  Make the answer of input int and str
Posted by: enderfran2006 - Oct-12-2020, 09:21 AM - Forum: General Coding Help - Replies (2)

Hello! I am trying to figure out how to make the answer of an input be both a string and an integer.
Here is my code:
[python]event = int(input("Whe..... More

Print this item

  Linear search issue
Posted by: oli_action - Oct-12-2020, 07:36 AM - Forum: Homework - Replies (5)

Hi everyone,

I wrote this code for a linear search. I would like the loop to keep running until all the positions of the number entered are found, ..... More

Print this item

  poplib - parsing message body, could somebody please help explain this code
Posted by: t4keheart - Oct-12-2020, 07:23 AM - Forum: General Coding Help - Replies (2)

Hi all, 
We have a python program that works with the ibm watson transcriber to transcribe voicemail and send to appropriate staff. 
It stopped work..... More

Print this item

Question Save list with nested list into CSV
Posted by: SpongeB0B - Oct-12-2020, 07:13 AM - Forum: General Coding Help - Replies (1)

Hi everyone,

I would like to save a list (with nested list inside) to a CSV

the problem is that the nested list are quoted with " sign in the cs..... More

Print this item

  print a line break in writelines() method
Posted by: leodavinci1990 - Oct-12-2020, 06:07 AM - Forum: General Coding Help - Replies (1)

lines=["Line 1","Line 2"]
f=open(r"C:\Users\....\Documents\somefile.txt","w")
f.writelines(lines)
f.close()


How to print a line breaker betwee..... More

Print this item

  Opening file and outputting its text content example
Posted by: leodavinci1990 - Oct-12-2020, 05:27 AM - Forum: General Coding Help - Replies (1)

If the Python file below is run on a text file containing the following:

[i]Hello! Welcome to demofile.txt
This file is for testing purposes.
Goo..... More

Print this item

  Active Directory add an attribute.
Posted by: SpongeB0B - Oct-12-2020, 04:35 AM - Forum: General Coding Help - Replies (2)

Hi everyone,

I'm exploring pyad to manipulate active directory.

I already use :

update_attribute()
But I don't see anywhere..... More

Print this item

  my discussionss
Posted by: Skaperen - Oct-12-2020, 12:45 AM - Forum: Board - Replies (9)

there used to be a text link "My Discussions"  that listed thread i had started or posted in.  where did this button go?

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  extracting data from a us... 33 minutes ago Perry Pedroski55 General Codin...
  [Tkinter] how to export a... 6 hours ago RonR Pedroski55 GUI
  Is the interpreter that c... 8 hours ago helendamdam helendamdam General Codin...
  pip install requests does... Yesterday, 14:48 misodca DeaD_EyE General Codin...
  Creating a Mindmap progra... 09-23, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... 09-23, 09:08 compuman145 compuman145 General Codin...
  A coding beginner needs h... 09-23, 03:29 Littlefish Littlefish General Codin...
  Using a For Loop to subtr... 09-22, 20:56 Anunderling deanhystad General Codin...
  403 error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
Most views
  The best Prog... 576844
  Tutorial Requ... 499339
  Web Scraping ... 440625
  Newbie with P... 384600
  New Users Int... 368534
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+ 12088
buran 8176
snippsat 7367
deanhystad 6895
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Perry Today
bianchiluca116 Yesterday
Jorgecog Yesterday
adamsmith12 Yesterday
Ronny Yesterday

User Panel Messages

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