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,948
» Latest member: victorcrown
» Forum threads: 38,727
» Forum posts: 175,525

Full Statistics

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

Latest Threads
PROFESSIONAL SOLUTIONS FO...
Forum: General Coding Help
Last Post: victorcrown
25 minutes ago
» Replies: 0
» Views: 16
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
9 hours ago
» Replies: 5
» Views: 9,170
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
11 hours ago
» Replies: 0
» Views: 73
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Today, 03:29 AM
» Replies: 2
» Views: 476
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
Today, 02:36 AM
» Replies: 0
» Views: 113
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 08:56 PM
» Replies: 9
» Views: 628
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,851
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,153
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,507
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 3,082

 
  Kivy 2.0.0 released
Posted by: buran - Dec-10-2020, 01:13 PM - Forum: News and Discussions - Replies (1)

https://github.com/kivy/kivy/releases/tag/2.0.0

[quote]The Kivy team is happy to announce the release of Kivy 2.0.0.

Kivy is a full-featured fra..... More

Print this item

  Problem with very easy code.
Posted by: janekk9002 - Dec-10-2020, 12:45 PM - Forum: General Coding Help - Replies (1)

Hi! So today I started coding with Python, and I wanted to create this easy code, where you need to answer with: yes or no. It's not working, everytim..... More

Print this item

  Synchronize local mdb whit woocommerce
Posted by: nio74maz - Dec-10-2020, 12:13 PM - Forum: Networking - No Replies

Hello everyone, do you think I can do such a thing?
I have to synchronise a local database made with access .mdb (which is used for a management sys..... More

Print this item

  Automation in calculations
Posted by: interdisciplinary - Dec-10-2020, 11:14 AM - Forum: General Coding Help - Replies (5)

Dear members,

Kindly I would like to inform you that I am working on a little project to automate a calculation process. The idea is that the progr..... More

Print this item

  Autocompletion for Python in Visual Studio
Posted by: user3481 - Dec-10-2020, 11:12 AM - Forum: Bar - Replies (1)

I try Visual Studio (not Visual Studio Code) to program in Python.
But autocompletion doesn't work for some cases.
How to set it up?
Here is a simp..... More

Print this item

  how to automate sending bulk emails from an excel file or a calc-file
Posted by: apollo - Dec-10-2020, 10:57 AM - Forum: General Coding Help - No Replies

hello dear pythonists - dear friends, Smile

I want to automatically send custom/personalized emails to a list of recipients - we can take exc..... More

Print this item

  List of error codes to find (and count) in all files in a directory
Posted by: tester_V - Dec-10-2020, 04:25 AM - Forum: General Coding Help - Replies (8)

Greetings!
I have a list of error codes and I'm trying to find/count each error in each file and print them like this
"error - 1002x01 - 11"
"erro..... More

Print this item

  Complicated
Posted by: ComputerAstronaut - Dec-10-2020, 03:08 AM - Forum: General Coding Help - Replies (1)

What's the most complicated thing about Python that you ever had to learn? Is there a point where you know it all?

Print this item

  What is the best environment to use?
Posted by: ComputerAstronaut - Dec-10-2020, 01:50 AM - Forum: General Coding Help - Replies (4)

What's the best environment to use for Python? I'm using the default IDLE and I'm not a huge fan, I'm seeing alot of different ones that look way bet..... More

Print this item

  listing file that pip installs upgrades
Posted by: Skaperen - Dec-10-2020, 01:32 AM - Forum: News and Discussions - Replies (1)

when i install or upgrade a package using pip, i want to have it extract a list of all the files is there an option to get that during the install o..... More

Print this item

  How to get continuous movement whilst using State Machine
Posted by: cjoe1993 - Dec-09-2020, 11:10 PM - Forum: General Coding Help - Replies (2)

I am having an issue getting continuous movement whilst using metulburr's state machine code.
As of now, holding down a key will not cause continuous..... More

Print this item

  Would you prefer two 'if' statements or an 'if' and an 'else' statement?
Posted by: AnunnakiKungFu - Dec-09-2020, 10:46 PM - Forum: General Coding Help - Replies (6)

[python]
from tkinter import *
import tkinter.messagebox

root = Tk()

tkinter.messagebox.showinfo("This is the window title!","This is some imp..... More

Print this item

  python3.9 installation missing files kali@win10
Posted by: shajimv - Dec-09-2020, 07:40 PM - Forum: Networking - Replies (1)

I am getting below error while trying to install p3.9 on kali linux installed on windows10. Has any one encountered these errors. The errors says abou..... More

Print this item

  How to merge all the files in a directory in to one file
Posted by: sutra - Dec-09-2020, 07:03 PM - Forum: General Coding Help - Replies (3)

I have a bunch of .log in the directory /home/vs/vs_work2/Chi_DEPB/
I want to merge them into a single file.

output_file.txt..... More

Print this item

  Rocket will only move in two directions
Posted by: djwilson0495 - Dec-09-2020, 05:52 PM - Forum: Game Development - Replies (7)

I'm trying to make a simple game where a rocket can move in 4 directions. however currently it only moves left and right even when pressing the up or ..... More

Print this item

  Merging all file_name.log's files from directory to one and search “PerformanceINFO"
Posted by: sutra - Dec-09-2020, 05:09 PM - Forum: General Coding Help - No Replies

My question is: Following question, I want to achieve it in python although I have done this in bash(i have added my code at the end) but I wan..... More

Print this item

  Basic client server code question
Posted by: swisscheese - Dec-09-2020, 04:24 PM - Forum: Networking - Replies (4)

# This is a simple python web server which displays a button and “Hello”.
# How can I modify the code so that when I click the button the webpage sh..... More

Print this item

  Best distro for old 8' windows tablet?
Posted by: masonjones26 - Dec-09-2020, 03:59 PM - Forum: Bar - No Replies

Hi

I'm looking for Linux with the best chance to work with touch controls straight out of the box.

I bought Z3735F/2048MB/32GB tablet that doesn..... More

Print this item

  problem on creating a small game
Posted by: nayo43 - Dec-09-2020, 02:20 PM - Forum: Homework - Replies (5)

hello, i am making a little card game like hearstone more or less.
but i encounter a difficulty when i try to fight the cards.
I do not understand a..... More

Print this item

  Save/load cargame
Posted by: bilalkh12345 - Dec-09-2020, 01:26 PM - Forum: Game Development - Replies (3)

Hello guys I am creating a simple 2d car game with pygame in which you have to dodge the other cars in front by turning right or left with different l..... More

Print this item

  extract particular strings into a variable
Posted by: lokesh - Dec-09-2020, 10:38 AM - Forum: General Coding Help - Replies (3)

Hi,

I have a requirement to get the string data like below.

str = "dsrc, combo, dsrc_hist, mapping, combo_hist"

If a particular value cont..... More

Print this item

  freeOpcUa - get value of subscription
Posted by: Johna - Dec-09-2020, 08:35 AM - Forum: General Coding Help - No Replies

Hi,

first of all I'm new in this forum and also new to python.

I've set up an OPC UA client in Pyhon by using the freeOpcUa library.

https:..... More

Print this item

  Using Metulburr's state machine, having a lag issue with events
Posted by: cjoe1993 - Dec-09-2020, 04:13 AM - Forum: General Coding Help - Replies (4)

Hi, I am using Metulburr's state machine for a project. I have an event that is lagging when NOT coded directly into the ..... More

Print this item

  Can you please explain what the part after import sys is doing?
Posted by: Pedroski55 - Dec-09-2020, 03:32 AM - Forum: General Coding Help - Replies (3)

Actually, I'm only trying to use the Python wc module to count words in a text file.

wc('/proc/cpuinfo') works nicely in Idle!

But I found this..... More

Print this item

  nbconvert and toc threshold
Posted by: milliewoo - Dec-09-2020, 02:05 AM - Forum: News and Discussions - Replies (3)

Hello Everyone!

I would like to convert my jupyter notebook (with toc) to a single html (images embeded) with the following command:

jupyter nbconve..... More

Print this item

  Latest file with a pattern produces an error
Posted by: tester_V - Dec-09-2020, 01:05 AM - Forum: General Coding Help - Replies (4)

Hi,
I'm trying to find the latest file in a directory but only if a file has a digit in its name.
I globbed the files that have "digit/digits" in th..... More

Print this item

Question dict value, how to change type from int to list?
Posted by: swissjoker - Dec-08-2020, 11:37 PM - Forum: General Coding Help - Replies (3)

I have a dictionary, and one of the keys currently has 1 as value, so the value side is an int. I'm trying to make the value side a list so it can hav..... More

Print this item

  how to return False in ternary condition
Posted by: KEYS - Dec-08-2020, 10:21 PM - Forum: General Coding Help - Replies (7)

The code below is running inside a while True loop

if play=='y':
    print('ok')
else:
    return False
I would like to write ..... More

Print this item

  Generating random business cards
Posted by: Inkanus - Dec-08-2020, 09:23 PM - Forum: General Coding Help - Replies (2)

Hello everyone. I can't write a function that generates random business cards in a python's faker. The function is to assume two parameters: the type ..... More

Print this item

  Stop import from executing function, but allow the function to execute from tk btn.
Posted by: MrBitPythoner - Dec-08-2020, 08:58 PM - Forum: GUI - Replies (4)

Hi,

I have python project I am building. It includes a main.py and several other .py files. When I import these other files into main.py, the impor..... More

Print this item

  Sound Approach for Running a Shell Command?
Posted by: matt_the_hall - Dec-08-2020, 08:31 PM - Forum: General Coding Help - Replies (8)

Hello,

I'm trying to use a python script to set an At job in the shell, and I am wanting to make sure my approach is sound. My understanding is tha..... More

Print this item

  Help with my code due 11:59 pm, can you tell me where I went wrong and help fix it?
Posted by: shirleylam852 - Dec-08-2020, 07:23 PM - Forum: Homework - Replies (1)

[python]
url = 'http://nancymcohen.com/csci133/cpiai.txt'
file = urllib.request.urlopen(url)
lines = file.readlines()
file.close()

cpi = {}
fo..... More

Print this item

  PyGame
Posted by: kat_gamer - Dec-08-2020, 07:12 PM - Forum: Game Development - Replies (8)

Hi, so I'm having a bit of trouble exiting the Pygame window I created.
I'm pretty new to python so I assumed this would be an issue Here's the code..... More

Print this item

  Error on Python Version?
Posted by: ErnestTBass - Dec-08-2020, 07:05 PM - Forum: General Coding Help - Replies (6)

[code]
#per SGD classifier i dati devono essere numerically encoded, not dict
from sklearn.linear_model import SGDClassifier
clf = SGDClassifier()..... More

Print this item

  how to change the range of read CSV file every time python file runs
Posted by: greenpine - Dec-08-2020, 05:52 PM - Forum: General Coding Help - Replies (6)

Hello;

I have a function that uses data from CSV file row by row, until the range has been used.

[Edited]
however I want to use the rest of rows of ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  PROFESSIONAL SOLUTIONS FO... 25 minutes ago victorcrown victorcrown General Codin...
  Creating a Mindmap progra... 9 hours ago J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... 11 hours ago compuman145 compuman145 General Codin...
  A coding beginner needs h... Today, 03:29 Littlefish Littlefish General Codin...
  Is the interpreter that c... Today, 02:36 helendamdam helendamdam General Codin...
  Using a For Loop to subtr... Yesterday, 20:56 Anunderling deanhystad General Codin...
  403 Error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
Most views
  The best Prog... 576725
  Tutorial Requ... 498959
  Web Scraping ... 440536
  Newbie with P... 384504
  New Users Int... 368282
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+ 12088
buran 8176
snippsat 7368
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
victorcrown Today
Markbel386 Today
trntgl Today
susan Today
jatinkumar12 Today

User Panel Messages

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