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,954
» Latest member: Perry
» Forum threads: 38,727
» Forum posts: 175,523

Full Statistics

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

Latest Threads
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
1 hour ago
» Replies: 0
» Views: 319
extracting data from a us...
Forum: General Coding Help
Last Post: Perry
1 hour ago
» Replies: 0
» Views: 43
how to export a dictionar...
Forum: GUI
Last Post: Pedroski55
3 hours ago
» Replies: 1
» Views: 114
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
11 hours ago
» Replies: 10
» Views: 29,327
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Sep-23-2025, 12:00 PM
» Replies: 4
» Views: 9,398
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Sep-23-2025, 09:08 AM
» Replies: 0
» Views: 269
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Sep-23-2025, 03:29 AM
» Replies: 2
» Views: 715
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Sep-22-2025, 08:56 PM
» Replies: 9
» Views: 907
403 error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 5,169
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,385

 
  How to make my python 3.6 unnesting function correct?
Posted by: PrateekG - Jul-20-2018, 06:04 AM - Forum: Data Science - Replies (6)

Hi All,

I have a csv file containing product details. From which I am extracting required informations.
There is one column in the csv-Options and..... More


Attached Files

.csv   full.csv (Size: 64.63 KB / Downloads: 73)
Print this item

  List with "or" value?
Posted by: WolfWayfarer - Jul-20-2018, 04:13 AM - Forum: Homework - Replies (6)

I'm having trouble with an assignment about leap years. I had a basic (ugly) code that did the job, however when I asked for feedback from the teacher..... More

Print this item

  Need help adding a sql List to a combo box PyQt5
Posted by: jimmyvegas29 - Jul-20-2018, 03:11 AM - Forum: GUI - Replies (1)

So this has been frustrating me for to man hours, and i have no been able to find the answer in the google.

Im trying to query my db to get a dist..... More

Print this item

  How to animate a Turing Machine
Posted by: darter - Jul-20-2018, 03:09 AM - Forum: GUI - Replies (1)

I want to depict a paper tape with ones and zeros scrolling past a read head "eye". I am little stuck on the design for this. I guess my first thought..... More

Print this item

  Scrapper for websites
Posted by: stinger - Jul-20-2018, 02:11 AM - Forum: Web Scraping & Web Development - No Replies

Hello I am having issues with this guide I am following my current version is [b]"3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit ..... More

Print this item

  Error when trying to square a number
Posted by: pistacheoowalnuttanker - Jul-20-2018, 12:24 AM - Forum: General Coding Help - Replies (5)

Hello, I am completely new to Python and I was following a tutorial on Python 3 using Jupyiter notebook when I got the error bellow ***
--------------..... More

Print this item

  module requests, .text extension
Posted by: Truman - Jul-19-2018, 11:39 PM - Forum: General Coding Help - Replies (1)

[python]import requests
res = requests.get('https://automatetheboringstuff.com/files/rj.txt')
print(type(res))
print(res.status_code == requests.codes..... More

Print this item

  Attempting to update from python3.5 to python 3.7
Posted by: Vysero - Jul-19-2018, 07:53 PM - Forum: News and Discussions - Replies (3)

My original reason for updating may be wrong. Originally, I wanted to update because I tried converting a GUI i built in PyQt4 to PyQt5 and I got a st..... More

Print this item

  Counting only letters in a string
Posted by: PraiseYAH - Jul-19-2018, 07:18 PM - Forum: Homework - Replies (2)

I'm reading from a file with the following text:

Do you like green eggs and ham?
I like them, Sam I am!
Do you like green eggs and ham, Sam?
Do ..... More

Print this item

  3 easy questions for python programmers but 3 pain in the ass for me
Posted by: grjmmr - Jul-19-2018, 06:58 PM - Forum: General Coding Help - Replies (6)

So quick run down; I am attempting to learn python so I can write simple programs to run my led matrix. I took Java 20+ years ago and when looking at ..... More

Print this item

  Have function reject bad argument when argument is called by another function?
Posted by: jobroinc - Jul-19-2018, 06:42 PM - Forum: General Coding Help - Replies (5)

I am creating a functions that calls upon two other functions: hal(a) and acc(b).
[python]
x = {"F": "Fluorine", "Cl": "Chlorine"}
y = {"O": "Oxyg..... More

Print this item

  [split] print twice?????
Posted by: rafafiqui - Jul-19-2018, 06:05 PM - Forum: General Coding Help - Replies (3)

it's supuse have to work but not for me, i am using python 3, any idea why???


[python]>>> print_twice("spam")
Traceback (most recent call last):..... More

Print this item

  Trying to add logs to webscraping module
Posted by: tjnichols - Jul-19-2018, 04:29 PM - Forum: Web Scraping & Web Development - No Replies

Hello all - It's been a while!

I am trying to download the raster and LAS logs from the WOGCC site. Previously, I wanted to download reports - whic..... More

Print this item

  How to intercept and modify form POST values
Posted by: gilberto - Jul-19-2018, 02:06 PM - Forum: Networking - Replies (4)

I have a simple form on a remote webserver:

[code]
<form action="post.php" method="post">
<input type="text" name="p" value="abc">
<inpu..... More

Print this item

  Python version change
Posted by: saisankalpj - Jul-19-2018, 12:53 PM - Forum: General Coding Help - Replies (4)

I have written Python code in Python 2.7.14 version and now i am asked to change to 3.6 version.
My queries:

1.will I be able to run the same code..... More

Print this item

  Problem between list and tuple
Posted by: PierreSoulier - Jul-19-2018, 12:13 PM - Forum: General Coding Help - Replies (2)

Hello here is my code:

[python]n=int(x[4])
chiffres = []
while n > 0:
chiffres.append(n % 10)
n = n // 10
..... More

Print this item

  Transforming data with a partial transpose
Posted by: DivyaDS - Jul-19-2018, 11:16 AM - Forum: General Coding Help - Replies (2)

Hello,

I have a requirement of transposing my data partially

Here is the sample Input & output I am looking for..

Pid Mkdn Date Clr Sls$ Mkdn..... More

Print this item

  Executable [tkinter, cx_oracle] for another pc
Posted by: dimvord - Jul-19-2018, 10:49 AM - Forum: GUI - Replies (1)

Hi,
I completed a GUI in Pyrhon 3.6.5 that uses many sql queries from a database (Oracle 11g).
I made an executable file (with pyinstaller) that wor..... More

Print this item

  Issue in my multiprocessing Python code?
Posted by: PrateekG - Jul-19-2018, 10:00 AM - Forum: General Coding Help - Replies (7)

Hi all,

I am written a Python 3.6 ETL process where I am searching and then translating the 42000 products from a csv file.

The whole ETL process is..... More

Print this item

  Improve segmentation : Create sphere brush to edit voxels values in scanners image wi
Posted by: LauraLaura - Jul-19-2018, 09:49 AM - Forum: Data Science - Replies (1)

Good morning,

I would need some help to finish my project as an intern working on segmentation of an organ on 3D Slicer.
I have a segmented organ ..... More

Print this item

  Change distance and title postion in subplots
Posted by: Mark3232 - Jul-19-2018, 09:36 AM - Forum: General Coding Help - Replies (2)

Hi Forum

Problem: side by side plots too close, second plot title overlapping first plot
Does anybody know a way to fix this?

[url=[img]http..... More

Print this item

  python 3 TextIOWrapper.tell() is significantly slower than in python 2
Posted by: tfox - Jul-19-2018, 09:32 AM - Forum: News and Discussions - Replies (1)

Hi, I'm having a function ported from python 2 to python 3 and found that the TextIOWrapper.tell() is the cause that notably slows down the perfomance..... More

Print this item

  bluetooth
Posted by: Epilepsy - Jul-19-2018, 06:05 AM - Forum: Networking - Replies (1)

I there, wich is the easy way to connect to slave bluetooth device?
I Know the name and the password of this, so i hope you can help me.
Thanks

Print this item

  create folders named from list array
Posted by: HaKDMoDz - Jul-19-2018, 05:35 AM - Forum: General Coding Help - Replies (1)

Hi,

how can i create a bunch of folders in my specified location and create these folders based on a list of folder names to be created

example ..... More

Print this item

  function defined in a function
Posted by: Skaperen - Jul-19-2018, 03:59 AM - Forum: News and Discussions - Replies (9)

if a function is used only by another function, do you ever define it inside the function that uses it (before it is used)?

Print this item

  Finding prime numbers
Posted by: creslin_black - Jul-19-2018, 03:51 AM - Forum: General Coding Help - Replies (7)

Hi all,

So, this is a small thing that I know the answer to, but I'm just curious why the answer is what it is. I'm going through Codeacademy's py..... More

Print this item

  Help on Creating Program to find the Median and Mode by hand
Posted by: EvanCahill - Jul-19-2018, 02:20 AM - Forum: Homework - Replies (3)

My assignment is to create a program that reads a text file with numbers and outputs all the statistics found here. Similar to the output below. There..... More

Print this item

  Another infinite loop
Posted by: wlsa - Jul-19-2018, 12:41 AM - Forum: Homework - Replies (7)

The given problem: use bisectional search to find the minimum monthly payment to pay off debt after 12 payments (slight.
Assume that the interest is c..... More

Print this item

  Calling functions from other programs
Posted by: kgchin - Jul-18-2018, 11:43 PM - Forum: GUI - Replies (1)

Hi,

I am trying to run a Python script that calls the optimization program Hypermesh. This program uses scripts and functions in tcl that we are u..... More

Print this item

  Running multiple files
Posted by: Totalnoobwithhelp - Jul-18-2018, 09:02 PM - Forum: General Coding Help - Replies (3)

So I've cobbled together a python script that, in essence, runs through a txt file and pulls out words or phrases that match a set of words/phrases th..... More

Print this item

  Updating Python version from command prompt and Conversion from PyQt4 to PyQt5
Posted by: Vysero - Jul-18-2018, 08:55 PM - Forum: GUI - Replies (4)

Running: Ubuntu 16.04 and Python 3.5.2

So I ran a script which I found here: https://github.com/rferrazz/pyqt4topyqt5
in order to convert one of m..... More

Print this item

  raise exception instead of return None
Posted by: Skaperen - Jul-18-2018, 08:51 PM - Forum: General Coding Help - Replies (4)

i have a function that in a certain tested case returns None because calculations just didn't work out. instead, i'd rather have it raise an exceptio..... More

Print this item

  I don't understand the error
Posted by: MasterGame - Jul-18-2018, 07:32 PM - Forum: General Coding Help - Replies (1)

I'm a Python 2 user and made a code to filter out the vowels in a phrase. This is the code:[python]

filtered_phrase=open("vowel_filter.txt", "w")
fil..... More

Print this item

  Problems converting pyqt4 script to pyqt5 using pyqt4topyqt5.py
Posted by: Vysero - Jul-18-2018, 06:11 PM - Forum: General Coding Help - Replies (1)

I am attempting to us a script I found on GitHub called pyqt4topyqt5.py: https://github.com/rferrazz/pyqt4topyqt5

The README says:

pyqt4topyqt5..... More

Print this item

  edX "List_o_matic" Program Help
Posted by: sarah_mb_sues - Jul-18-2018, 03:42 PM - Forum: General Coding Help - Replies (2)

Hello,

I have been setting up my code for the "list_o_matic" program for the Module 2 Required Coding assignment, but for some reason I can't the c..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Is the interpreter that c... 1 hour ago helendamdam helendamdam General Codin...
  extracting data from a us... 1 hour ago Perry Perry General Codin...
  [Tkinter] how to export a... 3 hours ago RonR Pedroski55 GUI
  pip install requests does... 11 hours ago misodca DeaD_EyE General Codin...
  Creating a Mindmap progra... 09-23, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... 09-23, 09:08 compuman145 compuman145 General Codin...
  A coding beginner needs h... 09-23, 03:29 Littlefish Littlefish General Codin...
  Using a For Loop to subtr... 09-22, 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...
Most views
  The best Prog... 576840
  Tutorial Requ... 499280
  Web Scraping ... 440624
  Newbie with P... 384598
  New Users Int... 368509
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 7367
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Perry Today
bianchiluca116 Yesterday
Jorgecog Yesterday
adamsmith12 Yesterday
Ronny Yesterday

User Panel Messages

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