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,304
» Latest member: IFDA123
» Forum threads: 38,798
» Forum posts: 175,905

Full Statistics

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

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: noisefloor
1 hour ago
» Replies: 3
» Views: 57
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
1 hour ago
» Replies: 4
» Views: 129
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
7 hours ago
» Replies: 8
» Views: 654
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Yesterday, 04:48 AM
» Replies: 6
» Views: 7,808
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 134
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 116
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 202
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 04:40 AM
» Replies: 6
» Views: 3,213
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 313
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 192

 
  sqlite: INSERT using a variable for table name
Posted by: DT2000 - Feb-19-2019, 03:03 AM - Forum: General Coding Help - Replies (3)

I am trying to figure out how to use a variable instead of the actual table name in the database statement when using INSERT.
I am using a MenuOption..... More

Print this item

  Nested Data structure question
Posted by: arjunfen - Feb-19-2019, 01:41 AM - Forum: General Coding Help - Replies (7)

Hello Everyone,

Newbie to this forum - so, please excuse me if this question has been answered earlier - please redirect me to the right place, if ..... More

Print this item

  coding burn out?
Posted by: metulburr - Feb-19-2019, 12:14 AM - Forum: Bar - Replies (3)

I am wondering from those that program 10+ years about burning out on coding?

After about 10 years of being glued to the computer i find myself wa..... More

Print this item

  converting decimal to binary
Posted by: missus_brown - Feb-18-2019, 11:50 PM - Forum: Homework - Replies (1)

I'm working on an assignment that converts decimal to binary. For each loop it's supposed to print the working number and the remainder (0 for even, ..... More

Print this item

  How to import win32api and win32con
Posted by: SheeppOSU - Feb-18-2019, 11:13 PM - Forum: General Coding Help - Replies (2)

So I'm trying to import win32api and win32con. So I was researching and I found that I needed pywin32 to do this. So I used pip and installed it but p..... More

Print this item

  Not entirely sure what I did wrong here.
Posted by: BalCalistan - Feb-18-2019, 09:25 PM - Forum: General Coding Help - Replies (1)

First of all, I am very new so I apologize if this is a stupid question or if it requires a simple fix.

My goal was to create a function that retur..... More

Print this item

  looks like i need to rename something
Posted by: Skaperen - Feb-18-2019, 08:47 PM - Forum: News and Discussions - No Replies

this is the name of a set of scripts in bash that i started to convert to python. i did o.py (the subject of another post) and i.py. t..... More

Print this item

  newb selfie
Posted by: PatM - Feb-18-2019, 08:18 PM - Forum: General Coding Help - Replies (5)

I'm trying to get a grasp on Python classes and want to clarify something.

If I use a variable name like "count" inside a class and also have a "co..... More

Print this item

  How to format text to modify itself for different console sizes.
Posted by: FWendeburg - Feb-18-2019, 06:43 PM - Forum: General Coding Help - No Replies

Hi, i'm making a program and for what it would be the help command i need to display info about each command. The thing is that the text is too long a..... More

Print this item

  Index Error
Posted by: ErnestTBass - Feb-18-2019, 04:54 PM - Forum: General Coding Help - Replies (5)

I am trying to run a simple Python 3 program. I am getting at the moment an index error The code is as shown.


[code]
import numpy as np
import ..... More

Print this item

  Want to add 'pgzero' library
Posted by: Metgeneer - Feb-18-2019, 04:37 PM - Forum: Game Development - Replies (1)

So I downloaded the latest version of python from www.python.org. When I went into command to add the pygame zero library, I got an error. So I uninst..... More

Print this item

  New to MySQL, can't work out why code doesn't work
Posted by: kintarowonders - Feb-18-2019, 03:39 PM - Forum: General Coding Help - Replies (6)

I'm creating a script called rootrun, it runs things as root that were put in a MySQL database but only if they match regular expressions in the datab..... More

Print this item

  Comms for multiple nodes.
Posted by: MuntyScruntfundle - Feb-18-2019, 02:15 PM - Forum: General Coding Help - Replies (1)

I need a socket server/client app which is a little unusual and I'm struggling to get my head around how it would work.

I have 128 nodes, all mini ..... More

Print this item

  Script optimisation and style help
Posted by: TheFluffyOne - Feb-18-2019, 02:15 PM - Forum: Code sharing - Replies (4)

As a long-time Perl coder, I've picked up loads of optimisations and style tips that make scripts easier to understand, shorter, and more efficient.
..... More

Print this item

  Why do I get "none"
Posted by: el_bueno - Feb-18-2019, 01:50 PM - Forum: General Coding Help - Replies (2)

Hello!

I tried this code

print(print('Hello'))

and here's what I got
Hello
None

Why do I get "..... More

Print this item

  python hmac gave different result than php hash_hmac
Posted by: nadavvin - Feb-18-2019, 01:46 PM - Forum: General Coding Help - Replies (2)

on python:
[python]import hashlib
import hmac

hmac.new(b'abc', b'skey', hashlib.sha256).hexdigest()

return: '24fd94ffa1f3e4c62376205b715a9193b..... More

Print this item

  Qt Designer - Making a Font with a border
Posted by: jimmyvegas29 - Feb-18-2019, 01:31 PM - Forum: GUI - Replies (4)

I would have thought this would have been straight forward, but that has proven to be untrue. Im trying to make a Qlabel with text, and i want the tex..... More

Print this item

  Strange behaviour while splitting string?
Posted by: naknak12 - Feb-18-2019, 01:23 PM - Forum: General Coding Help - Replies (2)

Can somebody explain why this is happening? I'm only getting this while executing this in python2.7.
See code below.

[python]

data = "ëeêfdsf"..... More

Print this item

  Seniors, please answer this
Posted by: nadaa - Feb-18-2019, 11:11 AM - Forum: News and Discussions - Replies (6)

Hi,
I got the following questions in one of the python interviews, I answered them but they told me that they need experienced developers. I wonder h..... More

Print this item

  Looking for an up to date example to query mysql
Posted by: UtiliseIT - Feb-18-2019, 10:42 AM - Forum: General Coding Help - Replies (5)

Hi,

My use case is to query a MySQL database as part of a (AWS) Lambda function that returns results in json format via an api. Queries may be sele..... More

Print this item

  Efficient way of iterating a list of records
Posted by: anguis - Feb-18-2019, 10:26 AM - Forum: General Coding Help - Replies (4)

Hi

First post for me so pls be gentle Smile

There's a lot of pretext here for a fairly simple question but I thought it better to explain t..... More

Print this item

Exclamation Error: There is no current event loop in thread 'MainThread'
Posted by: AlekseyPython - Feb-18-2019, 08:32 AM - Forum: General Coding Help - Replies (5)

Python 3.7.2

In my processing, the main function is wrapped by error interceptors and the interception is performed correctly:
[python]
try:
..... More

Print this item

  strange effect from duplicating a file descriptor
Posted by: Skaperen - Feb-18-2019, 08:23 AM - Forum: General Coding Help - Replies (1)

many of my programs, when run with redirected I/O, and during a special part of running (the last phase) need access to the original standard file des..... More

Print this item

  Help w/ variables and destroying buttons
Posted by: SheeppOSU - Feb-18-2019, 06:48 AM - Forum: Game Development - Replies (5)

Good Day, i'm making a game for python. I have a loading screen and then I have a lobby where you choose the character. When a character is picked it'..... More

Print this item

  Why isn't ImageGrab.save working
Posted by: SheeppOSU - Feb-18-2019, 06:39 AM - Forum: General Coding Help - No Replies

So I just started on a python project. I'm using ImageGrab to save a screenshot of the screen so that it can play a game. Anyways, I can't figure out ..... More

Print this item

  Socket Programming Help
Posted by: Djivan - Feb-18-2019, 06:37 AM - Forum: Homework - Replies (3)

Hello can someone help me with this task, I am currently learning python but can not solve that kind of problem which is given at the lesson as hw.
..... More

Print this item

  deleting item from dictionary
Posted by: Skaperen - Feb-18-2019, 05:50 AM - Forum: General Coding Help - Replies (6)

i have item in a dictionary that needs to be deleted. which way is more pythonic?[python] del mydict['deleteme']
mydict.pop('deleteme')[/pyth..... More

Print this item

  Adding Variable
Posted by: kevinwoo00 - Feb-18-2019, 03:51 AM - Forum: Homework - Replies (4)

Hey I have this homework problem set that I feel like should be very simple but I am stuck:

Write a function add(vals1, vals2) that takes as inputs..... More

Print this item

  Does python 3.7.2 work w/ PIL 5.4.1
Posted by: SheeppOSU - Feb-18-2019, 03:07 AM - Forum: Game Development - Replies (2)

My question was explained in the title but I'll go a bit more in depth. So i downloaded pillow via the cmd using pip by typing "pip install Pillow". B..... More

Print this item

  passing data to messagebox
Posted by: kmusawi - Feb-18-2019, 01:51 AM - Forum: GUI - No Replies

I have 2 python scripts performing messaging over socket connection. It works fine via CLI however I am now trying to display the receiver end data me..... More

Print this item

  Interesting response from GoDaddy After I transfered my domains
Posted by: Larz60+ - Feb-18-2019, 12:38 AM - Forum: Bar - No Replies

After transferring all of my domains, I got this suggestion from GoDaddy:
I had used them at my business for over 10 years, and at home for another 1..... More


Attached Files

Thumbnail(s)
   
Print this item

  6.24 LAB: Vapor Pressure Calculation using the Peng-Robinson Equation of State
Posted by: NathanielH - Feb-17-2019, 11:33 PM - Forum: Homework - Replies (1)

[Image: media%2Fece%2Fecefbf1c-1c77-4b88-82b1-7f...aDlmlh.png]
[img]https://media.cheggcdn.com/media%2F903%..... More

Print this item

  Range Function
Posted by: OceanJeff40 - Feb-17-2019, 09:08 PM - Forum: General Coding Help - Replies (1)

Hello Python World!

I'm not new to programming, I am intermediate to advanced C family programmer (mostly focused on OpenGL at the moment), but I'm..... More

Print this item

  Learning Python. Which is a good text editor for MacOS?
Posted by: birb - Feb-17-2019, 08:54 PM - Forum: News and Discussions - Replies (4)

I just started learning Python and so far am very excited about it.

Which text editor to you recommend for coding Python? (For MacOS)

Print this item

  reading a file int a dictionary specifically
Posted by: sonicx05 - Feb-17-2019, 08:54 PM - Forum: General Coding Help - Replies (3)

Im relatively new to python and I have a file containing words/lines like this:


AA EY2 EY1
AAA T R IH2 P AH0 L EY1
AABERG AA1 B ER0 G
AACHEN AA..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 1 hour ago Lou noisefloor General Codin...
  Python is not working on ... 1 hour ago lary_p noisefloor General Codin...
  Help with Serial.write in... 7 hours ago racingsubby Larz60+ General Codin...
  Can I develop a live vide... Yesterday, 04:48 mtrkhan mamta25 Web Scraping ...
  silent deployment Python ... 11-26, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP 11-26, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... 11-26, 08:47 Moltar1997 perfringo General Codin...
  best way to learn python 11-26, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... 11-25, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
Most views
  The best Prog... 579441
  Tutorial Requ... 512557
  Web Scraping ... 442318
  Newbie with P... 386368
  New Users Int... 380621
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+ 12113
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
IFDA123 Today
TimTom420 Yesterday
cruisesfares Yesterday
SNR Yesterday
Jonathan Yesterday

User Panel Messages

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