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,975
» Latest member: Jacobjoift
» Forum threads: 38,733
» Forum posts: 175,560

Full Statistics

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

Latest Threads
Webscrapping sport bettin...
Forum: Web Scraping & Web Development
Last Post: Jacobjoift
2 minutes ago
» Replies: 5
» Views: 13,813
Посты о цветах
Forum: General Coding Help
Last Post: Jacobjoift
3 minutes ago
» Replies: 0
» Views: 1
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
3 hours ago
» Replies: 2
» Views: 728
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
9 hours ago
» Replies: 6
» Views: 760
Integer Factorization Too...
Forum: Code sharing
Last Post: fosuwxb
10 hours ago
» Replies: 0
» Views: 81
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 12:59 PM
» Replies: 8
» Views: 478
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 2,854
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,255
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,822
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,237

 
  Error 13 permission
Posted by: tpolim008 - Apr-09-2020, 05:49 PM - Forum: General Coding Help - Replies (2)

Hello,
Im slowly getting into the game of python and learning its much strict than other languages. Im running into an issue with my script Im work..... More

Print this item

  How to Remove Non-ASCII Characters But Leave Line Breaks In Place?
Posted by: bmccollum - Apr-09-2020, 05:35 PM - Forum: General Coding Help - Replies (4)

I have a function in a Python script that serves to remove non-ASCII characters from strings before these strings are ultimately saved to an Oracle da..... More

Print this item

  Python 3.9 alpha how to install psutil?
Posted by: lmh1 - Apr-09-2020, 04:36 PM - Forum: General Coding Help - Replies (10)

I tryed python 3.9 alpha but its failed to install psutil?

pip install psutil
Requirement already satisfied: psutil in /usr/local/lib64/python3.8/..... More

Print this item

  struct.decode() and '\0'
Posted by: deanhystad - Apr-09-2020, 03:11 PM - Forum: General Coding Help - Replies (1)

I am writing some socket code and have to convert bytes to a str. The bytes contains a string that is padded with 0x00 to a fixed size. When I decod..... More

Print this item

  ValueError: invalid literal for int() with base 10: '\n'
Posted by: srisrinu - Apr-09-2020, 02:43 PM - Forum: General Coding Help - Replies (9)

I'm getting the error "int() with base 10" can anyone please find the error
[quote]
choclate 35
biscuit 20
Icecream 50

D..... More

Print this item

  what does x reprsent in this code ?
Posted by: astral_travel - Apr-09-2020, 01:57 PM - Forum: General Coding Help - Replies (27)

thisset = {"apple", "banana", "cherry"}

for x in thisset:
  print(x)

Print this item

  fmt_directory_entry = "{counter:>02}. {director:<52} {avg}"
Posted by: ClassicalSoul - Apr-09-2020, 01:44 PM - Forum: General Coding Help - Replies (7)

What exactly is going on with the {counter:>02} parameter in the fmt_directory_entry assignment? In particular, how is it effected that 0 should b..... More

Print this item

  Checking for equality
Posted by: PythonGainz - Apr-09-2020, 01:44 PM - Forum: General Coding Help - Replies (8)

Guys,I know this is so kindergarten, but I just can't find the answer.

So according to my textbook to check for equality in a simple example, all I..... More

Print this item

  Installing sectionproperties
Posted by: SectionProperties - Apr-09-2020, 01:25 PM - Forum: General Coding Help - Replies (7)

Hi, this is my first post.
I've been trying to install the software "sectionproperties", which requires Python, with instructions in the following li..... More

Print this item

  Python version on Linux
Posted by: whois1230 - Apr-09-2020, 01:06 PM - Forum: General Coding Help - Replies (5)

Hello, I'm running Linux Mint Cinnamon 18.3 64-bit and I want to learn Python 3. When I write

python --version
in the Terminal I get ..... More

Print this item

  Help with espeak
Posted by: microphone_head - Apr-09-2020, 10:40 AM - Forum: Game Development - No Replies

Hi all!

I've been using espeak for one of my projects. I noticed a while back that sometimes it sounded like the synth voice would stutter or soun..... More

Print this item

  Attribute error - Sympy
Posted by: VictorG8 - Apr-09-2020, 09:43 AM - Forum: Data Science - Replies (1)

I want to use subs after using solve on a function, but the following error occurs. I have tried sympify and str but nothing changes. Any idea why?

[..... More

Print this item

  Install module without "pip"
Posted by: hjk6734 - Apr-09-2020, 08:53 AM - Forum: General Coding Help - Replies (2)

I need to use "openpyxl" module but I can't install it with "pip" (not available on the system). So far I downloaded and placed "openpyxl" in the same..... More

Print this item

  help mising 1 required posisitional rgument
Posted by: kobencry - Apr-09-2020, 08:28 AM - Forum: General Coding Help - Replies (11)

[python]def Koben(ben, *args, **kwargs):

try:
return ben(*args, **kwargs)

except Exception as err:
print(t..... More

Print this item

  python
Posted by: ankitnew - Apr-09-2020, 08:20 AM - Forum: Homework - Replies (3)

Select the correct statements about interfacing with other languages from python?
a) Boost python provides almost same features of swig
b) swig is u..... More

Print this item

  if min is not
Posted by: tplace - Apr-09-2020, 08:06 AM - Forum: General Coding Help - Replies (1)

Hello,
I start in python and I don't understand the line (if min is not en_cours :) in this sorting by insertion program:

[python]A = [8,6,15,9,2,..... More

Print this item

  start interactive pyhton shell with pre-loaded custom modules
Posted by: Viktor - Apr-09-2020, 07:58 AM - Forum: General Coding Help - Replies (2)

Hi all,
I'm a beginner & giving myself a few simple projects to try to find stuff out. I'm trying to make a sort of desktop calculator in the form of..... More

Print this item

  When Defining a Function with an Equation as a Default Argument, which Value Is Used?
Posted by: OJGeorge4 - Apr-09-2020, 07:13 AM - Forum: General Coding Help - Replies (4)

I have shortened my function and code to make it easier to follow but it reflects an equivalent situation.

I am wondering when you define a functio..... More

Print this item

  Where should I place GPIO.cleanup()
Posted by: shallanq - Apr-09-2020, 05:20 AM - Forum: General Coding Help - Replies (2)

My code is really long with multiple programs running at the same time. Is it really a must to use GPIO.cleanup()? And if it is, where should I use it..... More

Print this item

  append not working as expected
Posted by: teachinggeek - Apr-09-2020, 03:10 AM - Forum: General Coding Help - Replies (2)

So I am trying to create a list (called megalist) of all of the 3 digit combinations from the list of numbers called numbers. I think the logic is s..... More

Print this item

  Split and sort input file
Posted by: aawaleh - Apr-08-2020, 10:19 PM - Forum: General Coding Help - Replies (4)

Hi there, I need help with the following code. I am trying to sort the list but only getting the last sentence of the file sorted. What am I doing wro..... More

Print this item

  Opening CSV file from SFTP server not working
Posted by: cluelessintern - Apr-08-2020, 08:10 PM - Forum: General Coding Help - No Replies

Hello,

So after two days of scavenging the internet I have not found anything to help solve my issue. Any help or recommendations would be apprecia..... More

Print this item

  How can a user send a message via Contact Form in tkinter
Posted by: karolp - Apr-08-2020, 07:57 PM - Forum: GUI - No Replies

I am trying to create a GUI app in Tkinter that allows user to send an email to me with a query. This will be done via the contact form. All my code t..... More

Print this item

  sum(i for i in range(10))
Posted by: ClassicalSoul - Apr-08-2020, 07:32 PM - Forum: General Coding Help - Replies (2)

The documentation for sum() states that it takes as its argument an iterable. How does this make sense of the code sum(i for i in range(10)), beca..... More

Print this item

  Can Python be used for this????
Posted by: Jack_Ritter - Apr-08-2020, 06:30 PM - Forum: General Coding Help - Replies (1)

Can anyone tell me if this can be done in Python before I try to pursue this?

I need to be able to input two partially known factors each at 15 d..... More

Print this item

  Formatting
Posted by: DudleyDiccle - Apr-08-2020, 06:09 PM - Forum: General Coding Help - Replies (3)

Hi, I am trying to get the following columns to be formatted so that they are parallel instead of the numbers being off-centered from one another, and..... More

Print this item

  "Save as" freezing
Posted by: Shiflett3k - Apr-08-2020, 05:52 PM - Forum: News and Discussions - Replies (6)

Just downloaded the latest Python 3.8.2

I just started to learn some basic coding, I was able to save 3 of my assignments that I've completed. But..... More

Print this item

  Need help with code for my WS2812B (Neopixel) Led Strip
Posted by: Phibbl - Apr-08-2020, 03:29 PM - Forum: General Coding Help - Replies (1)

Hello everyone

I just got myself a W2812B Led Strip for a personal project and hooked it up to a Raspberry Pi Zero.
After some hours of fiddeling ..... More

Print this item

  Keyboard Module Python - Suppress input while writing to window
Posted by: ppel123 - Apr-08-2020, 02:51 PM - Forum: General Coding Help - No Replies

Hi,
I am developing an app that monitors and corrects the user input based on some rules.
I am reading the events from keyboard with the keyboard py..... More

Print this item

  Grabbing comma separed values from SQLite and putting them in a list
Posted by: PythonNPC - Apr-08-2020, 02:04 PM - Forum: General Coding Help - Replies (8)

Hello,

I am really confused about this.

Let's say I have a database and one cell contains the following:
[quote]334.0,1698.5,26.17,2323.0[/quo..... More

Print this item

  -> Help: erreur print
Posted by: cherry_cherry - Apr-08-2020, 01:40 PM - Forum: General Coding Help - Replies (4)

Hi everyone,
My project is to enter a json file or txt file. If it exists in my source then read the file entered and evaluate the condition.
This ..... More

Print this item

  local/global variables in functions
Posted by: abccba - Apr-08-2020, 01:40 PM - Forum: General Coding Help - Replies (6)

x = 1


def f1(y):
    y += 1
    return y


x1 = f1(x)
print('x = ', x, '  x1 = ', x1)
answer:
x = 1 x1 = 2

[..... More

Print this item

  datetime object
Posted by: prashantas - Apr-08-2020, 01:29 PM - Forum: General Coding Help - Replies (1)

I am getting a date like '20200402130324.9500+0530' . How can I convert this to python datatime object ?

Print this item

  Hangman game- feedback please
Posted by: NV12 - Apr-08-2020, 01:12 PM - Forum: Code Review - Replies (1)

Hi all,

I was hoping to get some feedback from a hangman game i just created. It runs correctly but being a beginner I'd really like to know what I..... More

Print this item

  Help: List comprehension
Posted by: mart79 - Apr-08-2020, 01:00 PM - Forum: General Coding Help - Replies (4)

I have the following piece of code which I want to simplify/write more clean using list comprehension.
How would I achieve this?

[python]
..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Webscrapping sport bettin... 2 minutes ago KoinKoin Jacobjoift Web Scraping ...
  Посты о цветах 3 minutes ago Jacobjoift Jacobjoift General Codin...
  My goal to be hired worki... 3 hours ago GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 9 hours ago llarkin6 noisefloor General Codin...
  Integer Factorization Too... 10 hours ago fosuwxb fosuwxb Code sharing
  Comparing 2 100GB Drives/... Yesterday, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
Most views
  The best Prog... 577317
  Tutorial Requ... 500585
  Web Scraping ... 440987
  Newbie with P... 385022
  New Users Int... 369487
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+ 12090
buran 8176
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Jacobjoift Today
Williamcaurb Yesterday
sophielane Yesterday
Oscar0057 Yesterday
Cromulent Yesterday

User Panel Messages

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