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,479
» Latest member: reactnativeexpert
» Forum threads: 38,579
» Forum posts: 174,812

Full Statistics

Online Users
There are currently 775 online users.
» 0 Member(s) | 771 Guest(s)
Bing, Google, Yandex, Baidu

Latest Threads
How to attach images to a...
Forum: Board
Last Post: sethmike9
2 hours ago
» Replies: 6
» Views: 8,856
How To Attach data Files
Forum: Board
Last Post: sethmike9
2 hours ago
» Replies: 3
» Views: 4,122
Text frame
Forum: Homework
Last Post: Pedroski55
11 hours ago
» Replies: 2
» Views: 350
Python automation: Sendin...
Forum: General Coding Help
Last Post: olips784
Yesterday, 06:28 PM
» Replies: 0
» Views: 115
class Blockage not projec...
Forum: General Coding Help
Last Post: deanhystad
May-15-2025, 04:32 PM
» Replies: 1
» Views: 259
Import vs from x import
Forum: General Coding Help
Last Post: snippsat
May-15-2025, 04:09 PM
» Replies: 1
» Views: 200
Trouble with Average Calc...
Forum: General Coding Help
Last Post: Pate
May-15-2025, 07:38 AM
» Replies: 4
» Views: 1,376
tracking version during r...
Forum: News and Discussions
Last Post: Skaperen
May-15-2025, 12:25 AM
» Replies: 0
» Views: 148
Return a string or byte o...
Forum: General Coding Help
Last Post: snippsat
May-14-2025, 05:21 PM
» Replies: 5
» Views: 458
problems with netcdf if I...
Forum: General Coding Help
Last Post: Blaubart
May-14-2025, 04:02 PM
» Replies: 16
» Views: 1,288

 
  scraping code misses listings
Posted by: kolarmi19 - Jan-27-2023, 10:00 AM - Forum: Web Scraping & Web Development - No Replies

Hey everyone
i've got this python scraping code made for me that worked perfect few months but lately it miss some parameters while scraping.
you ca..... More

Print this item

  Do not get how Python iterates over a file
Posted by: tester_V - Jan-27-2023, 06:32 AM - Forum: General Coding Help - Replies (12)

Greetings!
I’m writing Python snippets here and there but I could never understand how Python iterates over a file.
It is kind of a mystery, a black..... More

Print this item

  Error when using FIND
Posted by: WJSwan - Jan-27-2023, 05:36 AM - Forum: General Coding Help - Replies (2)

I am trying to find a string in a text file and get an error on the first find statement.
[python]
xrefstart=irec.find("\x - \xo ")
..... More

Print this item

  Change a numpy array to a dataframe
Posted by: Led_Zeppelin - Jan-26-2023, 06:34 PM - Forum: General Coding Help - Replies (3)

As anyone can see from the attached screenshot after I scaled a dataframe, it is now a numpyndarray. That would make it hard to save. SO how do I conv..... More


Attached Files

Thumbnail(s)
   
Print this item

  SagaSim [ongoing project] - short summary
Posted by: Kamos5 - Jan-26-2023, 01:59 PM - Forum: Code Review - No Replies

Hi all. :)

I'm creating in my free time a simulation that was inspired by multiple sources (thelifeengine, crusader king II/III, dwarf fortress or li..... More


Attached Files

Thumbnail(s)
           
Print this item

  How to read in mulitple files efficiently
Posted by: garynewport - Jan-26-2023, 10:23 AM - Forum: General Coding Help - Replies (3)

I have multiple files, all containing 10s of thousands of lines of data. I cannot alter the way the data is presented and it appears as seen in the at..... More


Attached Files

Thumbnail(s)
   
Print this item

  I'm trying to figure out if this is a bug from a simple quiz at Future Skill
Posted by: fabstr1 - Jan-25-2023, 02:36 PM - Forum: Homework - Replies (3)

I'm working through a simple python tutorial and I don't know why I can't get enough point to finish the quiz.

My quiz is,

"

Comparing float ..... More

Print this item

  Correctly read a malformed CSV file data
Posted by: klllmmm - Jan-25-2023, 02:07 PM - Forum: General Coding Help - Replies (2)

I have a malformed CSV file where I need to create a proper dataframe.
[Image: s!An03iU493hAgnpxZ2rP2oUzB9BJNNw?e=djFMls]

I get a..... More


Attached Files

Thumbnail(s)
       

.csv   test_CSV_file.csv (Size: 415 bytes / Downloads: 231)
Print this item

  Virtual Environments - Organization (VS Code)
Posted by: JaysonWonder - Jan-25-2023, 01:51 PM - Forum: General Coding Help - Replies (11)

Hello All,

I have a few questions about organizing my virtual environments using VS code. My thought was to create a few venvs that would meet my nee..... More

Print this item

Question Running Python under Termux on Android tablet
Posted by: dfkettle - Jan-25-2023, 11:46 AM - Forum: General Coding Help - Replies (1)

Is anyone here running Python using the Termux app on an Android device? I'm able to compile and run Python scripts, and I've been able to install som..... More

Print this item

  python print all files which contain specific word in it
Posted by: mg24 - Jan-25-2023, 04:30 AM - Forum: General Coding Help - Replies (5)

Hi Team,

how to print all files which contains specific word in files.
how to concat source path and word to search for.


[python]
import glo..... More

Print this item

  NYU PYTHON CERTIFICATE
Posted by: MCL169 - Jan-25-2023, 04:09 AM - Forum: Jobs - No Replies

I am starting a new career in software development late in life and I am looking for the fastest track at least to get my foot in the door. I wanted t..... More

Print this item

  Finding combinations of list of items (30 or so)
Posted by: LynnS - Jan-25-2023, 03:59 AM - Forum: General Coding Help - Replies (1)

Hello, I'm having difficulty getting result running this:

[python]from itertools import combinations

input = ['R1:99','R2:111','R3:71','R4:18','..... More

Print this item

  Allure Report Generation
Posted by: rotemz - Jan-24-2023, 08:30 PM - Forum: General Coding Help - No Replies

Hello,
I installed the package allure-pytest via pip.
I executed a test and also specified the report dir: pytest --alluredir='[reports folder]' tes..... More

Print this item

  player just randomly teleporting to the edge of a platform in pygame
Posted by: BliepMonster - Jan-24-2023, 06:32 PM - Forum: Game Development - Replies (5)

[python]
import pygame

# Initialize pygame
pygame.init()

# Set the screen size and caption
screen = pygame.display.set_mode((800, 600))
pyga..... More

Print this item

  Pygame is treating blob_group as a surface, when I need it to treat it as a Sprite.
Posted by: Swagford - Jan-24-2023, 06:15 PM - Forum: Game Development - Replies (1)

Hey all, I'm following along a pygame tutorial for a platforming game and have been stuck on this for a while now. I made sure to do exactly as the tu..... More

Print this item

  QScrollArea does not work
Posted by: HeinKurz - Jan-24-2023, 05:23 PM - Forum: GUI - Replies (3)

Hi!
What's wrong with my code? QScrollArea is shown but scrolling doesn't work.

[python]
import sys
import datetime
import xml.etree.ElementTre..... More

Print this item

  Import XML file directly into Excel spreadsheet
Posted by: demdej - Jan-24-2023, 02:48 PM - Forum: General Coding Help - No Replies

I'm new to Python and despite how many hours/days I've spent on this, I'm loving my journey. Currently, I'm trying to import an XML file directly into..... More

Print this item

  Using pyobjc-framework-CoreServices
Posted by: Questor24 - Jan-24-2023, 02:42 PM - Forum: General Coding Help - Replies (1)

Trying to write a replacement for SetDefaultMailApp which implies LaunchServices but seems to be part of CoreServices now and I've installed the pytho..... More

Print this item

  Question about ImagePath.Path() in Pillow library
Posted by: dfkettle - Jan-24-2023, 01:35 PM - Forum: General Coding Help - Replies (1)

Hi!

I've been learning how to use the various packages and methods in the Pillow library (v9.4.0 under Python 3.7.9), but I have a question about t..... More

Print this item

  Not getting Info(Title)
Posted by: yrstruly - Jan-24-2023, 12:04 PM - Forum: Web Scraping & Web Development - Replies (1)

Im following a webscraping coure: https://www.linkedin.com/learning/web-sc...true&resum..... More

Print this item

  digest header generating issue
Posted by: alexander_pershin - Jan-24-2023, 10:05 AM - Forum: Web Scraping & Web Development - Replies (1)

Hello,
I'm trying to generate digest header for the request similarly to JavaScript code from example, however python script produces different res..... More

Print this item

  How can I use python for data transformation instead of PowerQuery?
Posted by: KMark27 - Jan-24-2023, 08:43 AM - Forum: Data Science - Replies (1)

Hello Guys

I would like to ask a general theoretical question. We have right now a BI solution which uses excel files from sharepoint and the data ..... More

Print this item

  Finding the median of a column in a huge CSV file
Posted by: markagregory - Jan-24-2023, 06:31 AM - Forum: Data Science - Replies (5)

Copying the column from the CSV to a DataFrame causes RAM to run out -> 100 GB - yes it is a big file

I would appreciate some help to implement a s..... More

Print this item

  Python [nogil]
Posted by: DeaD_EyE - Jan-23-2023, 08:51 PM - Forum: News and Discussions - Replies (3)

Today I found this: https://github.com/colesbury/nogil

[quote]Overview

This is a proof-of-concept implementation of CPython that supports multit..... More

Print this item

  Players not falling from the platform, and some other errors.
Posted by: urmom33 - Jan-23-2023, 06:07 PM - Forum: Game Development - Replies (1)

Hi, I'm kind of new at both python and pygame. I was trying to make a (very) simple platform fight game, and of course I found some errors I can't fix..... More

Print this item

Video Bionic Blue: Free open-source action platformer game
Posted by: KennedyRichard - Jan-23-2023, 01:23 PM - Forum: News and Discussions - No Replies

Hello, everyone,

I'm Kennedy Richard S. Guerra, 32, maintainer of the Indie Python project, a personal project whose goal is to promote fun and lea..... More

Print this item

  first time use plot - I get empty graph
Posted by: korenron - Jan-23-2023, 01:09 PM - Forum: General Coding Help - Replies (6)

Hello,
I want to show variable in a graph , I don't have "x" only the value of y
so I thought to create an int for numbers of time I get the speed ..... More

Print this item

  [split] I want to add a code to the "Save" button to save the data entered
Posted by: LOO - Jan-23-2023, 09:47 AM - Forum: GUI - Replies (1)

I want to add a code to the "Save" button to save the data entered . Also, I want when you click on "Back" button, it go to main menu. At the same ti..... More

Print this item

  What are some of the best resources for learning Python?
Posted by: Vadanane - Jan-23-2023, 09:28 AM - Forum: News and Discussions - Replies (2)

What are some of the best resources for learning Python?

Print this item

  sys.argv method
Posted by: nngokturk - Jan-23-2023, 07:49 AM - Forum: General Coding Help - Replies (3)

Hello,

For my research, I need to run a Python script that can analyze the syntactic complexity of the texts. The script essentially takes an inpu..... More


Attached Files

.py   analyzeText.py (Size: 5.31 KB / Downloads: 269)
Print this item

  How to separate the values in an element to add them
Posted by: monty024 - Jan-23-2023, 12:32 AM - Forum: General Coding Help - Replies (4)

Greetings,

I have a python question.. I have a list with the following four elements.
What I want to do is add the vales in element 1 (17,21,2..... More

Print this item

  obfsproxy running on centos 7
Posted by: SMQS_500 - Jan-22-2023, 07:49 PM - Forum: General Coding Help - No Replies

I am using CentOS 7 os.
I installed python3.6 on this machine.
pip3 is latest version 21.
After that i installed obfsproxy like this : ..... More

Print this item

  Extract file only (without a directory it is in) from ZIPIP
Posted by: tester_V - Jan-22-2023, 12:57 AM - Forum: General Coding Help - Replies (1)

Greetings!
I'd like to extract files only, without the directories they are in, in the ZIP.
I wrote a small script but it extracts files with the di..... More

Print this item

  PySide6 QFontDialog - bug or just me?
Posted by: PatM - Jan-21-2023, 11:22 PM - Forum: GUI - Replies (1)

I have a qfontdialog that works ALMOST perfectly BUT I am having one issue.

When I first start the program I use
[code]
self.font = QFont()
self..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to attach images to a... 2 hours ago CynthiaMoore sethmike9 Board
  How To Attach data Files 2 hours ago Talch sethmike9 Board
  Text frame 11 hours ago dnabtuh Pedroski55 Homework
  Python automation: Sendin... Yesterday, 18:28 olips784 olips784 General Codin...
  class Blockage not projec... 05-15, 16:32 Azdaghost deanhystad General Codin...
  Import vs from x import 05-15, 16:09 Calab snippsat General Codin...
  Trouble with Average Calc... 05-15, 07:38 autodecay Pate General Codin...
  tracking version during r... 05-15, 00:25 Skaperen Skaperen News and Disc...
  Return a string or byte o... 05-14, 17:21 Calab snippsat General Codin...
  problems with netcdf if I... 05-14, 16:02 Blaubart Blaubart General Codin...
  Retired and Learning Pyth... 05-14, 09:04 breacsealgaire BarbaraGonzalez Code sharing
Most views
  The best Prog... 565366
  Tutorial Requ... 456515
  Web Scraping ... 430324
  Newbie with P... 366458
  Thread remain... 338743
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+ 12050
buran 8169
snippsat 7326
deanhystad 6827
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
reactnativeexpert Today
sethmike9 Today
Juh_07 Today
Jolex7 Today
fgvd Today

User Panel Messages

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