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,293
» Latest member: LewisByday
» Forum threads: 38,794
» Forum posts: 175,884

Full Statistics

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

Latest Threads
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
3 hours ago
» Replies: 1
» Views: 25
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Today, 02:50 AM
» Replies: 6
» Views: 205
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Yesterday, 02:18 PM
» Replies: 5
» Views: 97
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 72
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,512
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 167
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 78
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,128
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,315
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 441

 
  replacing a run of spaces with a space bounded run of dots
Posted by: Skaperen - Oct-20-2019, 02:25 AM - Forum: General Coding Help - Replies (4)

i would like to replace a run of 3 or more spaces with the same number of characters having a space on each end and a period character between them re..... More

Print this item

  Solving a scope issue
Posted by: profconn1 - Oct-20-2019, 01:22 AM - Forum: General Coding Help - Replies (4)

Hi all,

I'm fairly new to Python and have been able to develop a fair amount of code including some GUI (using wxPython for the GUI but believe t..... More

Print this item

  Creating Pacman Labyrinth
Posted by: alehak - Oct-19-2019, 10:10 PM - Forum: Game Development - Replies (2)

Hello. I am going to make Pacman in pygame. So, what is the best way(algorythm) to realize labyrinth in Pacman. I would like to have it like a graph, ..... More

Print this item

  PY TO EXE CRASH
Posted by: kozaizsvemira - Oct-19-2019, 07:27 PM - Forum: GUI - No Replies

I am having an issue with kivy after converting my script to exe. Exe closes immediately after opening it, running it in cmd prints the following:

..... More

Print this item

  Go around memory error
Posted by: Pytonormen - Oct-19-2019, 02:37 PM - Forum: General Coding Help - Replies (1)

I am coding a program which stores 12 numbers in a number of lists (each list has 12 numbers) in a new list. That list also contains a string. I want ..... More

Print this item

  Variable comments on Visual Studio Code
Posted by: sal - Oct-19-2019, 01:42 PM - Forum: General Coding Help - Replies (2)

Hi,
I'm starting with python and I'm using vscode.

[python]def a():
"""comment a"""
pass

one = "one" #try comment var one
"""try com..... More

Print this item

  Pygame to exe error
Posted by: Clunk_Head - Oct-19-2019, 01:34 PM - Forum: Game Development - No Replies

I'm trying to compile a game that I've written to a windows executable.
I running python 3.7.4, pygame 1.9.6, and py2exe 0.9.2.2.
When I run the van..... More

Print this item

  arrays sum list unsupported operand type(s) for +=: 'int' and 'list'
Posted by: DariusCG - Oct-19-2019, 01:28 PM - Forum: Homework - Replies (7)

Hello.
I want to make more "def" in my program, but I'am getting an error like this when want to sum numbers in the list. "this unsupported operand..... More

Print this item

  VScode vs VScodium on Debian - which one to use :: goal: work with Python
Posted by: apollo - Oct-19-2019, 10:34 AM - Forum: News and Discussions - Replies (1)

hello dear experts good day dear Python-experts,


the question today is: VScode vs VScodium on Debian - which one to use!?

i want to work with..... More

Print this item

  Want to scrape a table data and export it into CSV format
Posted by: tahir1990 - Oct-19-2019, 10:28 AM - Forum: Web Scraping & Web Development - Replies (9)

Hello
I am trying to scrape a table data using the code below .I am trying to scrape the names of all states of USA .I ve managed to extract all 'a't..... More

Print this item

  Scrape script when deployed on heroku not giving expected outcomes
Posted by: alok001 - Oct-19-2019, 10:17 AM - Forum: Web Scraping & Web Development - Replies (1)

Hello All

I built a python selenium script to scrape flights from a website. The code is working fine when executed from local machine. I deployed ..... More

Print this item

  Design inter-process communication using shared memory
Posted by: shang12 - Oct-19-2019, 08:34 AM - Forum: News and Discussions - Replies (4)

I'm developing a video processing application using Python.
Capture (Producer) --> Processing (Consumer)
My design:

Print this item

  Trouble creating loops
Posted by: Den - Oct-19-2019, 07:36 AM - Forum: General Coding Help - Replies (3)

I am trying to figure out what's wrong with the code. It's supposed to be a function that counts how many times the sum of some string's elements are ..... More

Print this item

  Scraping Websites to post on Telegram
Posted by: kobryan - Oct-19-2019, 05:15 AM - Forum: Web Scraping & Web Development - Replies (1)

I am newer to Python, but understand the basics. I am trying to create a script that will scrape from a list of websites to news articles or RSS feeds..... More

Print this item

  Software(Python) Installation. Navigate Refactor Run Tools VCS tab
Posted by: rgbrolly - Oct-19-2019, 04:31 AM - Forum: News and Discussions - Replies (3)

Where are the Navigate, Code, refactor, run, and VCS tabs. How I come I don't have them, I'm running Windows 7.[img]https://drive.google.com/file/d/11..... More

Print this item

  A script I made to run with a cron
Posted by: menator01 - Oct-19-2019, 03:19 AM - Forum: Code sharing - Replies (3)

I play around with python every now and again. Any input on the script is welcome.

[python]
#! /usr/bin/python3
import pymysql
from collections ..... More

Print this item

  Checking button click in Tkinter
Posted by: GalaxyCoyote - Oct-19-2019, 02:41 AM - Forum: GUI - Replies (3)

Good evening everyone, I am trying to make a menu for one of my games. The idea is,

you see the start menu
you hit the start button
then it goe..... More

Print this item

  Syntax Error: Invalid Syntax in a while loop
Posted by: sydney - Oct-19-2019, 01:04 AM - Forum: Homework - Replies (1)

I'm fairly new to this stuff and keep getting an error message on line 19:

(while user_input.lower() != "quit":
^
SyntaxError: invalid sy..... More

Print this item

  Trouble with While loops
Posted by: jj432 - Oct-18-2019, 11:49 PM - Forum: General Coding Help - Replies (1)

Hello, I am trying to get the total, max, min, and average of data entries. Trying to use a while loop but not sure how to get total of entires. This ..... More

Print this item

  Converting python to c#
Posted by: benahmadi - Oct-18-2019, 11:21 PM - Forum: General Coding Help - Replies (1)

Hello,
I am new to python and having a hard time to understand parts of the code from dateutil.relativedelta. Can someone please help me to translat..... More

Print this item

  Module installs.. but it doesn't - need help updating module
Posted by: farroar - Oct-18-2019, 10:36 PM - Forum: General Coding Help - No Replies

I am working with the Azure SDK. Running Python 3.7.4 on macos. Haven't had any issues with using the Azure modules. Noticed that a new feature was re..... More

Print this item

  accessing files inside a compressed tar file
Posted by: Skaperen - Oct-18-2019, 08:19 PM - Forum: News and Discussions - Replies (5)

it looks like the tarfile module is intended to always handle individual files in the archive by only reading them in from the file system or (when cr..... More

Print this item

  New to python
Posted by: Yoakz - Oct-18-2019, 06:44 PM - Forum: News and Discussions - Replies (11)

Hey I am new to python and are really eager to learn. I don't know much about python and this is all that I have learned through Youtube videos; how t..... More

Print this item

  Help with initial conditions
Posted by: Dantooine - Oct-18-2019, 06:31 PM - Forum: General Coding Help - Replies (1)

Hello, I am very new to this and need help with a pycharm program I am working on. I am making a freefall program using solve_ivp that is working grea..... More

Print this item

  Matplotlib Hovering Event displaying (x, y) data
Posted by: RawlinsCross - Oct-18-2019, 06:13 PM - Forum: General Coding Help - No Replies

Hey, I'm an Unladed Swallow - how bout that!. Anyhooo….I have an excel graph that has x data in column A starting in row 7 and several columns of y d..... More

Print this item

  help parsing file
Posted by: aslezak - Oct-18-2019, 05:54 PM - Forum: General Coding Help - Replies (2)

I'm looking for general guidance/suggestions on how to extract grid data points from a text file. Lines beginning with "GRID*" have node numbers and x..... More

Print this item

  Using .dll
Posted by: epif18 - Oct-18-2019, 05:06 PM - Forum: General Coding Help - Replies (3)

I'm trying to interface with an FPGA development board using python instead of C#. There is a .dll file that contains much of the interface to the bo..... More

Print this item

  Python Rest API Public/Secret Keys Authentication Nonce
Posted by: dn237 - Oct-18-2019, 04:54 PM - Forum: Web Scraping & Web Development - Replies (1)

I'm trying to figure out how to write a request to tell my program to say for example buy Bitcoin, on a crypto exchange called Bittrex.

This is the..... More

Print this item

  Does PrettyTable store outside of program?
Posted by: Mark17 - Oct-18-2019, 04:53 PM - Forum: General Coding Help - Replies (5)

I'm using PrettyTable to make a graph and I'm getting some strange Tracebacks.

Does this library (?) store data outside the program such that when ..... More

Print this item

  SARIMA
Posted by: kdiba - Oct-18-2019, 02:30 PM - Forum: General Coding Help - No Replies

Hello,
I'm trying to get the predictions for 6 months instead for 12 months, can you help me to change it ?
Please find below the sarima code for pr..... More

Print this item

  Does python guarantees that file.write() works without file.close() ?
Posted by: kryptomatrix - Oct-18-2019, 01:20 PM - Forum: General Coding Help - Replies (7)

Long story short: Is it guaranteed, that "out.txt" will contain "abc" after executing the following program:
[python]f = open("out.txt", "w")
f.writ..... More

Print this item

  client-server pictures
Posted by: mcgrim - Oct-18-2019, 01:15 PM - Forum: General Coding Help - Replies (4)

I have codes for both client and server.
It runs smoothly and it looks like that the picture is sent to the client
like expected, however, I am not su..... More

Print this item

  ModuleNotFoundError: No module named 'pygame'
Posted by: Cath - Oct-18-2019, 11:05 AM - Forum: General Coding Help - Replies (3)

(i'm on ubuntu)
i went to the terminal and typed pip install pygame. Then when I tried to import it on pycharm, it didn't work. I did things like chec..... More

Print this item

  namedtuple help
Posted by: anna - Oct-18-2019, 10:19 AM - Forum: General Coding Help - Replies (5)

Hi All,

something is going wrong and not able to understand. below code is polling lag interface details. I am not able to print using namedtuple...... More

Print this item

  How to print variable name?
Posted by: mayadob - Oct-18-2019, 10:11 AM - Forum: General Coding Help - Replies (11)

I want to calculate the lenght of a segment and then to print "The lenght of AB is 27 cm" for example.
In wich the name AB are the names of two varia..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  silent deployment Python ... 3 hours ago Bummibaer Larz60+ News and Disc...
  data fetching for indian ... Today, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... Yesterday, 14:18 Ninja2112 deanhystad GUI
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... 11-19, 05:03 Astrobert Gribouillis General Codin...
Most views
  The best Prog... 579321
  Tutorial Requ... 512226
  Web Scraping ... 442208
  Newbie with P... 386315
  New Users Int... 379991
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+ 12110
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
LewisByday Today
Bummibaer Today
Elevyn Today
kienvtm Today
irukson Today

User Panel Messages

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