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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,422
» Latest member: alexfox
» Forum threads: 38,829
» Forum posts: 176,076

Full Statistics

Online Users
There are currently 27 online users.
» 0 Member(s) | 24 Guest(s)
Google, Bing, AOL

Latest Threads
If I open a file write or...
Forum: General Coding Help
Last Post: Pedroski55
2 hours ago
» Replies: 4
» Views: 100
a function to watch files
Forum: News and Discussions
Last Post: Skaperen
Yesterday, 05:21 AM
» Replies: 3
» Views: 744
python re.finditer return...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 02:57 AM
» Replies: 8
» Views: 508
Exponential Number Conver...
Forum: General Coding Help
Last Post: DeaD_EyE
Jan-09-2026, 08:47 PM
» Replies: 4
» Views: 452
Possible bug found, pleas...
Forum: General Coding Help
Last Post: alexajames
Jan-08-2026, 04:31 PM
» Replies: 14
» Views: 800
How to put my game loop i...
Forum: Game Development
Last Post: MarkHenry
Jan-08-2026, 12:47 PM
» Replies: 12
» Views: 7,759
Code failing to ask input...
Forum: Homework
Last Post: perfringo
Jan-08-2026, 06:35 AM
» Replies: 4
» Views: 731
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: OtiliaGen
Jan-07-2026, 07:13 AM
» Replies: 6
» Views: 1,033
Data Science
Forum: Data Science
Last Post: OtiliaGen
Jan-04-2026, 10:20 AM
» Replies: 4
» Views: 3,621
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Jan-02-2026, 12:32 PM
» Replies: 29
» Views: 17,378

 
  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

  how to pass arguments between pythons scripts?
Posted by: electricDesire - Oct-11-2020, 10:21 PM - Forum: General Coding Help - Replies (2)

Hello, everybody,
I'm new in python and i'm trying to pass arguments between different scripts but they only update one way:
i'm calling the first ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  If I open a file write or... 2 hours ago Pedroski55 Pedroski55 General Codin...
  a function to watch files Yesterday, 05:21 Skaperen Skaperen News and Disc...
  python re.finditer return... Yesterday, 02:57 arbiel Pedroski55 General Codin...
  Exponential Number Conver... 01-09, 20:47 Tuurbo46 DeaD_EyE General Codin...
  Possible bug found, pleas... 01-08, 16:31 Hassher alexajames General Codin...
  How to put my game loop i... 01-08, 12:47 temlotresid6 MarkHenry Game Developm...
  Code failing to ask input... 01-08, 06:35 Phoenix_Narukami perfringo Homework
  sorting a lisr of file pa... 01-07, 07:13 Skaperen OtiliaGen News and Disc...
  Data Science 01-04, 10:20 Oshadha OtiliaGen Data Science
  Merge video with subtitle... 01-02, 12:32 Pavel_47 OtiliaGen General Codin...
  Check if running from she... 01-01, 11:52 rjdegraff42 noisefloor General Codin...
Most views
  The best Prog... 580739
  Tutorial Requ... 522265
  Web Scraping ... 442913
  New Users Int... 388141
  Newbie with P... 387135
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12117
buran 8197
snippsat 7399
deanhystad 6921
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
alexfox Yesterday
zalexisshulzeo8879 Yesterday
SUMIATI Yesterday
starboy25 Yesterday
zabenjamitop8877 01-10

User Panel Messages

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