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,272
» Latest member: DataScientist071
» Forum threads: 38,787
» Forum posts: 175,859

Full Statistics

Online Users
There are currently 28 online users.
» 0 Member(s) | 26 Guest(s)
Bing, Google

Latest Threads
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
8 minutes ago
» Replies: 2
» Views: 124
best way to learn python
Forum: News and Discussions
Last Post: mamta25
2 hours ago
» Replies: 5
» Views: 3,057
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 10:27 PM
» Replies: 3
» Views: 184
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Yesterday, 11:47 AM
» Replies: 4
» Views: 166
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
Yesterday, 08:44 AM
» Replies: 2
» Views: 128
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 177
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 352
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 73
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 371
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 214

 
  Py to Exe problem
Posted by: mariolopes - Mar-21-2018, 04:19 PM - Forum: General Coding Help - Replies (6)

Hi
I have one python file who extracts data from internet and writes it to a excel file. Works fine, but I need to create a exe file from python and ..... More

Print this item

  How refresh package description
Posted by: CBlaha - Mar-21-2018, 03:50 PM - Forum: News and Discussions - Replies (2)

I'm one of the authors of the package https://pypi.python.org/pypi/ibmdbpy

I need to change the contents of the landing page that is displayed for ..... More

Print this item

  Hi all any help with this python code please
Posted by: BooohWhooo2018 - Mar-21-2018, 03:35 PM - Forum: General Coding Help - Replies (3)

Hi all hope every one is very well, its been a very long time since i done any programming over 10
years ago atleast, im looking to make a applicati..... More

Print this item

  execute a SQL stored proc within PYTHON
Posted by: PYTHONDUDE - Mar-21-2018, 03:26 PM - Forum: General Coding Help - Replies (3)

I am trying to execute a stored proc using the following i keep getting a error?
am I using the correct syntax to call the sql stored proc




impor..... More

Print this item

  Display List for User Input
Posted by: anelliaf - Mar-21-2018, 02:00 PM - Forum: General Coding Help - Replies (2)

Hello,

I'm trying to display a list of databases to a user and have them make a selection based on number. Once the selection is made, I'd like to..... More

Print this item

  Launch pdf and close on delete window event
Posted by: ashtona - Mar-21-2018, 12:50 PM - Forum: GUI - Replies (6)

Hello I'm currently working on a GUI tool in python that launches PDF files from an SQL server. Right now I write the binary to a file and then launch..... More

Print this item

  plotting 2 different set of data in a single plot with shared axes.
Posted by: upasana - Mar-21-2018, 12:19 PM - Forum: General Coding Help - Replies (4)

Hi..
I have 2 different sets of data like, x1=[1,2,3,4,5],y1=[some corresponding data] and x2=[6,7,8,9,10],y2=[some corresponding data].
How can i p..... More

Print this item

  API in Python
Posted by: ptre - Mar-21-2018, 11:51 AM - Forum: General Coding Help - Replies (3)

Hello all,

I am starting with Python (previously i coded some in VBA) and I have a question about API. Is there any good book about that?

I need..... More

Print this item

  how to draw simple line in wxPython?
Posted by: Sebastian_Adil - Mar-21-2018, 11:46 AM - Forum: GUI - Replies (6)

Hy
I am new in wxPython and I want a simple example to draw a simple line, and if it is possible by using functional style.

Thanks for your help

Print this item

  Beginners question
Posted by: Youmanity - Mar-21-2018, 11:40 AM - Forum: Game Development - Replies (4)

Hi. I am a guy with a Java background learning Python. I wrote a small text-based game. I created a __main__ class and a class called CharacterCreatio..... More

Print this item

  hash v2 and v3 help
Posted by: Normalitie - Mar-21-2018, 11:37 AM - Forum: General Coding Help - Replies (7)

Hi there - first post from a Python noob.

I'm trying to understand why some code in Python 2.7 works, yet when I try to port it across to Python 3...... More

Print this item

  Output not printing when execute scripts in threads
Posted by: anna - Mar-21-2018, 11:27 AM - Forum: General Coding Help - Replies (1)

[python]#!/usr/bin/python
import threading
import sys
import os
import unidecode
import telnetlib
import time
import re
import datetime
from ..... More

Print this item

  general coding error
Posted by: karai - Mar-21-2018, 06:18 AM - Forum: General Coding Help - Replies (1)

I'm beginner of Python and has tried finance analytic with the book 'python for Finance'.
The following codes from the book output a syntax error:inv..... More

Print this item

  embedding Python script in shell scripts
Posted by: Skaperen - Mar-21-2018, 06:14 AM - Forum: News and Discussions - Replies (5)

i'm starting to think through how to embed a Python script inside a shell script. the first issue that comes to mind is keep the data input and code ..... More

Print this item

  Helpful exercises
Posted by: NikonNorm - Mar-21-2018, 05:21 AM - Forum: General Coding Help - Replies (4)

I'm curious if anyone knows of any site or book or whatever that gives you "exercises", ideas of problems that can be solved with a computer program w..... More

Print this item

  Escaping whitespace and parenthesis in filenames
Posted by: jehoshua - Mar-21-2018, 04:58 AM - Forum: General Coding Help - Replies (2)

I need to write a small script that creates 'ffmpeg' code and therefore need to escape whitespaces and parenthesis in the filenames.

Have looked at..... More

Print this item

  Trypng to use pygame mixer
Posted by: Larz60+ - Mar-21-2018, 02:58 AM - Forum: General Coding Help - Replies (4)

I'm trying to use PyGame mixer to play mp3 files, because it can be used without an api
to an online player, or without making a system call, (let me..... More

Print this item

  cli arguments parser
Posted by: Skaperen - Mar-21-2018, 01:41 AM - Forum: News and Discussions - No Replies

there already exits a cli arguments parser. but it looks like a copy of the Posix one, which is a rendition of the old Unix one. worthless for me. ..... More

Print this item

  GUI for youtube-dl (PyQt5)
Posted by: Axel_Erfurt - Mar-20-2018, 11:07 PM - Forum: Code sharing - Replies (4)

PyQt5

[Image: 37687008-2e107b86-2c9a-11e8-86a7-bc255857c989.png]

[python]
#!/usr/bin/python..... More

Print this item

  Function for clicking a button within a browser
Posted by: NikonNorm - Mar-20-2018, 08:33 PM - Forum: General Coding Help - Replies (6)

I'm wondering if anyone show me how one would write a function that clicks a button within a flash game that's in a browser.

Thanks for any tips yo..... More

Print this item

  Search for string values in
Posted by: begood321 - Mar-20-2018, 07:46 PM - Forum: General Coding Help - Replies (7)

	
arr2 = [x for x in arr if re.search('MINS', str(x), flags=0)]
for item in arr2:
		print(item)

Print this item

  delete line from a text file
Posted by: thesisonews - Mar-20-2018, 06:59 PM - Forum: General Coding Help - Replies (2)

i been trying for hours, no luck

the function ask the user what name he want to delete from the text file

[python]def Delete_con():
with..... More

Print this item

  error with python and atom editor
Posted by: josebogota - Mar-20-2018, 06:39 PM - Forum: General Coding Help - Replies (1)

hi all, friends for you this code should work in 3.6.4? with the atom editor
name = input ('please give your name')
print ('welcome', name)

it ha..... More

Print this item

  error: INCLUDE environment variable is empty
Posted by: xwchen - Mar-20-2018, 04:08 PM - Forum: Data Science - Replies (4)

Hi,
I am new to Python.
I used python2.7 to install biom-format package. The scripts and results are shown below. It is very grateful if you have an..... More

Print this item

  Class/object
Posted by: liewchaochein - Mar-20-2018, 03:17 PM - Forum: General Coding Help - Replies (2)

[python]
class Engine(object):
def __init__(self, scene_map):
print "Inside Engine.scene_map"
print "scene_map: %r" %scene_map
self.scene_..... More

Print this item

  Whois not working
Posted by: mariolopes - Mar-20-2018, 03:09 PM - Forum: General Coding Help - Replies (3)

Hi
I want to get various informations about one web site (how old he is etc...). I'm using PyCharm and the following code:
[python]
import whois
d..... More

Print this item

  SyntaxError: invalid syntax
Posted by: Truman - Mar-20-2018, 01:45 PM - Forum: General Coding Help - Replies (7)

I'm practising developing classes and wrote this code.

[python]
class Employee:

raise_amt = 1.04

def __init__(self, first, last, pay)..... More

Print this item

  how to parse multipart/form-data for xls or jpeg stream into python code and store
Posted by: v71017 - Mar-20-2018, 01:09 PM - Forum: General Coding Help - No Replies

Hi All,
I am facing an issue. I have an AWS API gateway and I am post some raw data and MS XLS file using postman to a AWS Lambda function. AWS API..... More

Print this item

  Fetching html files from local directories
Posted by: shiva - Mar-20-2018, 12:48 PM - Forum: General Coding Help - Replies (3)

[python]import os
import urllib.request

# the path where the html is located
path = r"C:\Users\The Capricorn\Documents\Html"


for filename..... More

Print this item

  Trying to append List/array based on condition
Posted by: Mr_Keystrokes - Mar-20-2018, 12:18 PM - Forum: General Coding Help - Replies (1)

I'm having problems appending array based on an if statement.

[python]
all_staff = ["Judith", "Harry", "Jonathan", "Reuben"]
new_staff = []


..... More

Print this item

  first paramiko ssh script getting getting stuck.. while run through crontab
Posted by: anna - Mar-20-2018, 11:55 AM - Forum: General Coding Help - Replies (2)

Hi All,

My first ssh script to collect output, output file is almost 100000 lines, its runing ok through prompt however
while runing through cron..... More

Print this item

  Print("") vs Print(end="\n")
Posted by: 3go - Mar-20-2018, 07:54 AM - Forum: General Coding Help - Replies (1)

While I tested, who fast some functions are, I tested the "print" function.
So I found out that print(end="\n") is faster.
Is there any reason then ..... More

Print this item

  Pythonosc- turn on server for 10 minutes and close in a loop
Posted by: SwethaSharma - Mar-20-2018, 05:45 AM - Forum: Networking - No Replies

Hi Everyone,


I am using python osc for connecting to a sensor, I want to connect to the sensor for 10 minutes receive the messages and close ..... More

Print this item

  millions rows and 40 columns
Posted by: garikhgh0 - Mar-20-2018, 05:24 AM - Forum: News and Discussions - Replies (4)

hello. I want to ask a question.
I use python in analitycs, but sometimes I must hundle datas with millions rows and 40 columns. When uploading data,..... More

Print this item

  getting a full path string from a pathlib.PurePath object
Posted by: Skaperen - Mar-20-2018, 05:15 AM - Forum: General Coding Help - Replies (14)

is the proper way to get the plain string path of a pathlib.PurePath object or pathlib.Path object to pass it to str() and use what that returns? tha..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  PyQt6 QWidgets and system... 8 minutes ago stevecoh1 Axel_Erfurt GUI
  best way to learn python 2 hours ago dutch mamta25 News and Disc...
  Graph Interpolate Difficu... Yesterday, 22:27 Tuurbo46 deanhystad General Codin...
  [SOLVED] Access keys and ... Yesterday, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... Yesterday, 08:44 Tuurbo46 Tuurbo46 GUI
  How to make ball stay wit... 11-15, 16:07 nathanael deanhystad General Codin...
  sorting a lisr of file pa... 11-15, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... 11-14, 15:33 pbkurd Larz60+ General Codin...
  New to python and coding 11-13, 19:58 lary_p jefsummers Homework
Most views
  The best Prog... 579116
  Tutorial Requ... 511352
  Web Scraping ... 442074
  Newbie with P... 386141
  New Users Int... 378510
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+ 12108
buran 8196
snippsat 7389
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
DataScientist071 Today
aminrony1999 Yesterday
fobby888 Yesterday
digitalboy346 Yesterday
ben9090o Yesterday

User Panel Messages

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