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,541
» Latest member: winstoncarol7
» Forum threads: 38,665
» Forum posts: 175,206

Full Statistics

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

Latest Threads
gpiozero buttons stop wor...
Forum: General Coding Help
Last Post: duckredbeard
5 hours ago
» Replies: 2
» Views: 63
How to package code for d...
Forum: General Coding Help
Last Post: noisefloor
9 hours ago
» Replies: 1
» Views: 58
pip3 install certifi fail...
Forum: General Coding Help
Last Post: Pedroski55
Today, 08:52 AM
» Replies: 1
» Views: 58
My first python game : Ti...
Forum: Game Development
Last Post: walterliz
Today, 07:45 AM
» Replies: 8
» Views: 55,245
A penny doubled every day...
Forum: Homework
Last Post: walterliz
Today, 07:35 AM
» Replies: 6
» Views: 689
Exercise on reading a chu...
Forum: Homework
Last Post: walterliz
Today, 07:31 AM
» Replies: 3
» Views: 1,193
While loop is terminating...
Forum: Homework
Last Post: walterliz
Today, 07:29 AM
» Replies: 3
» Views: 425
Custom Sorting List of Di...
Forum: Homework
Last Post: walterliz
Today, 07:28 AM
» Replies: 3
» Views: 197
Unable to define function...
Forum: Homework
Last Post: walterliz
Today, 07:26 AM
» Replies: 2
» Views: 65
RemoTe server operation w...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 10:14 AM
» Replies: 6
» Views: 681

 
  Issues with Anaconda installation...
Posted by: bytecrunch - Jan-27-2023, 11:29 PM - Forum: Data Science - Replies (2)

Hello,

I have downloaded Anaconda on a new Windows 10 machine. The installer did everything without errors BUT I still don’t see Anaconda in the St..... More


Attached Files

Thumbnail(s)
   
Print this item

  splitting a Dataframe Column in two parts
Posted by: nafshar - Jan-27-2023, 07:17 PM - Forum: General Coding Help - Replies (2)

I have a dataframe column for emal addresses and I am trying to find the count of the top domains.
I am sppliting the email using the '@" as the sep..... More

Print this item

  How to predict Total Hours needed with List as Input?
Posted by: caninan - Jan-27-2023, 04:20 PM - Forum: Data Science - No Replies

I am struggling with the problem I am facing: I have a dataset of different products (Cars) that have certain Work Orders open at a given time. I know..... More


Attached Files

Thumbnail(s)
   
Print this item

  [SOLVED] Epoch timestamp without milliseconds?
Posted by: Winfried - Jan-27-2023, 03:36 PM - Forum: General Coding Help - Replies (5)

Hello,

What's a good way to get an Epoch timestamp without the milliseconds?

[python]for row in cur.execute("SELECT id,created,title FROM conten..... More

Print this item

  How to auto align x-axis label
Posted by: SamLiu - Jan-27-2023, 02:15 PM - Forum: General Coding Help - Replies (2)

Hi all,

A matplotlib plt.bar demo create a chart as snapshots, how to set up x-axis label no shadow,thanks!!

[python]
import matplotlib.pyplot ..... More

Print this item

  Global variables or local accessible
Posted by: caslor - Jan-27-2023, 11:58 AM - Forum: General Coding Help - Replies (4)

Hi to all, allow me a small intro : i am self taught in programing , first learn to program in "c" (arduino) and later playing with a raspberry pi boa..... More

Print this item

  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: 247)
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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  gpiozero buttons stop wor... 5 hours ago duckredbeard duckredbeard General Codin...
  How to package code for d... 9 hours ago mayukun noisefloor General Codin...
  pip3 install certifi fail... Today, 08:52 rb9594 Pedroski55 General Codin...
  My first python game : Ti... Today, 07:45 ForsakenDusk walterliz Game Developm...
  A penny doubled every day... Today, 07:35 esoyboy walterliz Homework
  Exercise on reading a chu... Today, 07:31 Nit_Picker walterliz Homework
  While loop is terminating... Today, 07:29 jumpsworthnow walterliz Homework
  Custom Sorting List of Di... Today, 07:28 aryasinner walterliz Homework
  Unable to define function... Today, 07:26 gmonroe walterliz Homework
  RemoTe server operation w... Yesterday, 10:14 mario17 snippsat General Codin...
  Qt Event Filtering Yesterday, 09:36 deanhystad deanhystad GUI
Most views
  The best Prog... 572691
  Tutorial Requ... 485734
  Web Scraping ... 437150
  Newbie with P... 380102
  Thread remain... 351375
Most reputation
buran 581
snippsat 507
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+ 12073
buran 8174
snippsat 7352
deanhystad 6858
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
winstoncarol7 Today
melissareed Today
Rolas Today
mayukun Today
richardkrt Today

User Panel Messages

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