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,247
» Latest member: Kacper
» Forum threads: 38,779
» Forum posts: 175,813

Full Statistics

Online Users
There are currently 47 online users.
» 1 Member(s) | 39 Guest(s)
Google, Bing, Facebook Dev, AOL, mamta25

Latest Threads
New to python and coding
Forum: Homework
Last Post: Larz60+
Yesterday, 10:18 AM
» Replies: 1
» Views: 60
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Yesterday, 09:52 AM
» Replies: 11
» Views: 273
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 09:41 AM
» Replies: 3
» Views: 118
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Yesterday, 05:07 AM
» Replies: 5
» Views: 252
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 97
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,609
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 198
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 179
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 376,002
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,415

 
  GUI Webbrowser
Posted by: zarnav - May-28-2017, 04:37 PM - Forum: GUI - Replies (2)

Hey guys!

Just a quick question here for you.

I am thinking in creating my own "management center" in python, basically an app that would contro..... More

Print this item

  Adding Parameters to an API Request
Posted by: Bass - May-28-2017, 03:36 PM - Forum: General Coding Help - Replies (4)

Hi,

Could someone kindly advise on how to add a parameter to an API request, this maybe using curl, but I am unsure of how to do this.

I am usin..... More

Print this item

  Google Calendar & Python
Posted by: MeeranRizvi - May-28-2017, 09:01 AM - Forum: General Coding Help - Replies (2)

Hello Guys,
In this python script i am going to sync my google calendar events to the script.
I have gone through the setup of the API, I know that ..... More

Print this item

  Using Python to read external files
Posted by: beginnertoday - May-28-2017, 08:22 AM - Forum: General Coding Help - Replies (2)

Hi, I'm a beginner at coding. I had a query regarding how an external text file (like an .txt file or even a .py file saved on the hard drive of my co..... More

Print this item

  Convert py2exe
Posted by: daltorya19 - May-28-2017, 05:26 AM - Forum: General Coding Help - Replies (6)

I need to make this an exe with pyinstaller It's not working for me so what I'm really looking for is for someone to do it for me, I've looked everywh..... More

Print this item

  how to make class and instance method (multiple decorator) ?
Posted by: harun2525 - May-27-2017, 10:32 PM - Forum: General Coding Help - Replies (7)

I want make a method like in the following example

[python]

class foo():
   
   @classmethod
   @instancemethod # problem:NameError: name 'in..... More

Print this item

  Ideas for creating a function
Posted by: Ganjena - May-27-2017, 08:57 PM - Forum: General Coding Help - No Replies

Hi

I would like to make a program where a user can copy and paste various items from a game which would include amounts of these items into my prog..... More

Print this item

  Type consistency cross-application via UDP
Posted by: to_the_sun - May-27-2017, 07:09 PM - Forum: Networking - Replies (6)

When sending data from Max/MSP to Python via UDP all I wind up receiving on the other side is stuff that looks like this:

b'float\x00\x00\x00,f\x00..... More

Print this item

  Python Trading Engine
Posted by: icabero0225 - May-27-2017, 07:00 PM - Forum: General Coding Help - Replies (3)

So I am trying to code a python script to assist me with my stock trading. here's my code so far.
[python]def buy():
   datr = float(input("Daily AT..... More

Print this item

  Can't make the turtle walk..
Posted by: Turry - May-27-2017, 06:16 PM - Forum: Game Development - Replies (3)

I made this game that there is a turtle and you can make walls using mouse1, delete them using mouse2 and "command" the turtle to walk with scroll cli..... More

Print this item

  mysql.connector - incorrect integer value
Posted by: Milo - May-27-2017, 09:22 AM - Forum: General Coding Help - Replies (3)

Hi all,

I've been playing around with mysql.connector and trying to insert data into a mysql database. When using the %s or %d syntax I receive a "..... More

Print this item

  columnize.py
Posted by: Skaperen - May-27-2017, 08:00 AM - Forum: Code sharing - Replies (1)

here is a "first working" case of my class to tightly columnize output.  as a command/program it will columnize STDIN to STDOUT.  this is just a first..... More

Print this item

  Dazed and confused...
Posted by: RodNintendeaux - May-27-2017, 04:57 AM - Forum: General Coding Help - Replies (10)

Hello everyone! Rod here with a new account saying "Hi!" and looking to fix a little problem I am having as I setup to learn this new programming thin..... More

Print this item

  Modules in Python
Posted by: Ewkos - May-26-2017, 05:24 PM - Forum: General Coding Help - Replies (15)

Hello everyone,

i have the following problem with modules and my folder structure:

thats my folder and file structur:

main-folder
-python module 1
..... More

Print this item

  Pyplot line color and spacing/padding
Posted by: metalray - May-26-2017, 08:39 AM - Forum: Homework - No Replies

Dear Python Experts,

I have prepared a chart and just some visual upgrades in mind
I wonder why the chart goes beyond the maximum values given and..... More


Attached Files

Thumbnail(s)
   
Print this item

  str vs repr
Posted by: Skaperen - May-26-2017, 05:22 AM - Forum: General Coding Help - Replies (9)

besides the difference in how they handle strings, is there anything in which str() will handle differently than repr()?  i have the ide..... More

Print this item

  Exception while intalling jupyter notebook
Posted by: bmohanraj91 - May-26-2017, 05:00 AM - Forum: General Coding Help - Replies (3)

my question here

I am trying to install jupyter notebook systems in my linux machine, I checked their website which states

pip3 install jupyter..... More

Print this item

  format String in SQL statement.
Posted by: Steven - May-26-2017, 03:44 AM - Forum: Homework - Replies (9)

Hello everyone. I am having a problem formatting a string. That's what it boils down to. I am using a sglite3 database and looking for a date format i..... More

Print this item

  Trouble with general code flow
Posted by: JCN - May-26-2017, 03:31 AM - Forum: General Coding Help - Replies (1)

As you can see by my crude coding I am a newbie.  I've gotten this far and know my objectives could be achieved by much better coding (last file asked..... More

Print this item

  Pausing a loop with spacebar, resume again with spacebard
Posted by: bigmit37 - May-25-2017, 09:12 PM - Forum: General Coding Help - Replies (10)

I have a loop that opens and closes images.



[python]from PIL import Image
import time
import subprocess
for i in bio:
   p = subprocess.Pop..... More

Print this item

  Basic DC Electronics- Resistors
Posted by: sparkz_alot - May-25-2017, 07:52 PM - Forum: Tutorials - Replies (2)

Seeing an increase recently in Raspberry Pi and Arduino questions, I thought I would dust off the cobwebs and write a simple script in Python about so..... More

Print this item

Bug Priority problem with PyQt5 QMenu() and QSystemTrayIcon()
Posted by: Alfalfa - May-25-2017, 07:38 PM - Forum: GUI - Replies (1)

I made a very simplistic GUI which rely mainly on the status of the system tray icon. Overall it works fine, but there seems to be a problem with the ..... More

Print this item

  How to embed mp3 file with Pyinstaller
Posted by: panoss - May-25-2017, 05:22 PM - Forum: General Coding Help - Replies (2)

I 'm tryin to use an mp3 in my app.
This is how:
[python]
def _response_to_alert(self):
if getattr(sys, 'frozen', False):
# we are running ..... More

Print this item

  Nested Loop to Generate Triangle
Posted by: Babbare - May-25-2017, 04:13 PM - Forum: Homework - Replies (12)

I need the triangle to be in reverse. The assignment requires a nested loop to generate a triangle with the user input of how many lines.

Currently..... More

Print this item

  Graphic of total different connection opened by one ip (per seconds) by time
Posted by: FoxModem56k - May-25-2017, 03:27 PM - Forum: General Coding Help - No Replies

Graphic of total different connection opened by one ip (per seconds) by time (slowloris attack)

I have a network dump (PCAP file) from a "conversat..... More

Print this item

  How can I get Colors of current GTK theme?
Posted by: ondoho - May-25-2017, 02:40 PM - Forum: GUI - Replies (2)

Hello,
On ArchLinux, I'm trying to get the Colors of the current GTK3 theme, but without opening a gtk window.
All I want the script to do is g..... More

Print this item

  How to find the cosine of an angle
Posted by: sylas - May-25-2017, 01:23 PM - Forum: General Coding Help - Replies (6)

my question here:Hi all. I have not received my book yet, so I am unable to go on.

[python]#file2.py
#module
# Import built-in module math
impor..... More

Print this item

  Jython for music
Posted by: RoseRodent - May-25-2017, 08:57 AM - Forum: General Coding Help - No Replies

Background My apologies if this isn't even python! I have been trying to look up what the differences and similarities are and people tell me t..... More

Print this item

  National Flood Hazard Layer (NFHL) files extraction
Posted by: sirgeo - May-25-2017, 04:53 AM - Forum: Homework - Replies (2)

Noob looking for some guidance with the following task.

Use Python to extract flood hazard info from ..... More

Print this item

  Mini-Web Framework
Posted by: nilamo - May-25-2017, 03:34 AM - Forum: Code sharing - Replies (12)

So I've had an idea running around my head for a while, and I decided to finally do something about it and try it out.  The basics of the mini framewo..... More

Print this item

  splitting or parsing control characters
Posted by: Skaperen - May-25-2017, 02:57 AM - Forum: General Coding Help - Replies (19)

i would like to do a split on a string (including bytes) such that it splits control characters as classes.  for example if a string is [inline]'foo\n..... More

Print this item

  Underscores And You, A Guide To Turning Magic Into Science
Posted by: nilamo - May-24-2017, 08:00 PM - Forum: Tutorials - Replies (2)

Source: https://medium.com/embrace-technology/th...63c86b8c0d

Print this item

  Change color of a row of a QTableView?
Posted by: panoss - May-24-2017, 05:21 PM - Forum: GUI - Replies (7)

How can I change the color of a row of QTableView which has as model a QStandardItemModel?

I tried this with no success:
[python]index = self.game..... More

Print this item

  Cancel update of text of QPlainTextEdit if terms not satisfied
Posted by: panoss - May-24-2017, 05:11 PM - Forum: GUI - No Replies

I have a QPlainTextEdit 's textChanged event connected to _criterion_txt_textChanged function.
I want the user not to able to enter a value grater th..... More

Print this item

  Help? I can't figure this out.
Posted by: hentera - May-24-2017, 05:04 PM - Forum: General Coding Help - Replies (4)

If a line in my program contains the word murder, how can I get my program to replace the word murder with "-------")?
[python]import sys


file =..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding Yesterday, 10:18 lary_p Larz60+ Homework
  [Tkinter] I’m building a ... Yesterday, 09:52 tsgiannis tsgiannis GUI
  Help with Serial.write in... Yesterday, 09:41 racingsubby Larz60+ General Codin...
  Backward compatibility qu... Yesterday, 05:07 yutaozhou Gribouillis News and Disc...
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
Most views
  The best Prog... 578814
  Tutorial Requ... 509814
  Web Scraping ... 441914
  Newbie with P... 385908
  New Users Int... 376002
Most reputation
buran 581
snippsat 510
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+ 12105
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Kacper Yesterday
isla123456 Yesterday
vibrometro Yesterday
thebigback 11-10
dimitriwati 11-10

User Panel Messages

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