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,275
» Latest member: cruisesfares
» Forum threads: 38,788
» Forum posts: 175,861

Full Statistics

Online Users
There are currently 44 online users.
» 0 Member(s) | 39 Guest(s)
Bing, Twitter, AOL, Facebook

Latest Threads
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
9 hours ago
» Replies: 1
» Views: 83
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Yesterday, 06:47 PM
» Replies: 2
» Views: 152
best way to learn python
Forum: News and Discussions
Last Post: mamta25
Yesterday, 04:13 PM
» Replies: 5
» Views: 3,078
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-17-2025, 10:27 PM
» Replies: 3
» Views: 205
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Nov-17-2025, 11:47 AM
» Replies: 4
» Views: 192
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
Nov-17-2025, 08:44 AM
» Replies: 2
» Views: 144
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 198
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 368
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 82
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 387

 
  Recursive function returns None, when True is expected
Posted by: akar - Sep-07-2020, 07:58 PM - Forum: General Coding Help - No Replies

Hi,
I'm learning Python, I guess this must be absolutely silly but it's been driving me mad for hours.

I've simplified a lot from the original pro..... More

Print this item

  Cannot get to virtual environment in Jupyter IDE
Posted by: ErnestTBass - Sep-07-2020, 06:43 PM - Forum: General Coding Help - Replies (6)

I am trying to use fbprophet in jupyter notebook in a program for making predictions.

To use it requires python=3.61 which means that I must make a..... More


Attached Files

Thumbnail(s)
                   
Print this item

  Click after 10 Mins
Posted by: biprabu - Sep-07-2020, 05:27 PM - Forum: General Coding Help - Replies (1)

Hi All,

I am using pyatuogui module for automation.
i have to hit enter key after 10 mins

pyautogui.press('down')
pyautogui.press('enter')
p..... More

Print this item

  Beginner: I need help understanding few lines of a code.
Posted by: hop_090 - Sep-07-2020, 03:13 PM - Forum: General Coding Help - Replies (1)

[python]
num=int(input('Enter the looping number: '))
for i in range(num):
for j in range(i):
print(i, end=' ')
print(" ")
[/pyt..... More

Print this item

  print either int or float - How?
Posted by: Denial - Sep-07-2020, 02:51 PM - Forum: General Coding Help - Replies (1)

Hello

I want to print number as whole if there is no decimal point and if there is decimal point, then print with decimal point.

For example,
..... More

Print this item

  how to encode and decode same value
Posted by: absolut - Sep-07-2020, 01:50 PM - Forum: General Coding Help - Replies (2)

Hi.
I obtain these data:
ADhlamtsOXdreXE2eAA0VFpWTGJBWDdSZW83d3AwYnJnNlVnSEpRcTlvR0wwMTlldUhSelJ6bXRtTTRnbmUxU
I'm tring to decode and then encode ..... More

Print this item

  setupUi To QuiLoad convert
Posted by: Harshil - Sep-07-2020, 01:39 PM - Forum: GUI - No Replies

Hey! Friends I Have Made A Code A That Looks Nice But Problem Is I Want to Make It setupUi To QuiLoad()
Note: I AM Using PYSIDE2
[python]impo..... More

Print this item

  [split] Помощь по приватным ключам/Private key help
Posted by: sairam17519 - Sep-07-2020, 12:55 PM - Forum: General Coding Help - No Replies

When I run the above program I am getting following error. Please help me.
[error]
Traceback (most recent call last):
File "C:\Users\SAIRAM\Deskt..... More

Print this item

  Can anyone help me there? I have this due tomorrow and I'm stuck with no one to talk
Posted by: rarefaction - Sep-07-2020, 12:42 PM - Forum: Homework - Replies (1)

[python]
import random
import dice
import array

print(
'''
Petals Around the Rose
----------------------

The name of the game is 'Petals A..... More

Print this item

  Three scripts to one
Posted by: sa7bnb - Sep-07-2020, 11:03 AM - Forum: General Coding Help - No Replies

[font=Arial, Helvetica, sans-serif]Hello,
Would need help combining three python scripts into one.

The function I am looking for is the following,..... More

Print this item

  Python Requests
Posted by: Aussie - Sep-07-2020, 10:46 AM - Forum: General Coding Help - Replies (2)

Hi,
I have started looking at requests in Python.
It must be possible to add both an ssl and authentication right?
If correct, how.

Also, you ca..... More

Print this item

  My first code
Posted by: Dule74 - Sep-07-2020, 09:21 AM - Forum: Code sharing - Replies (3)

I recently started trying to learn Python and yesterday I wrote this.
[python]
name = input("What is your name? ")
print(name + " is such a beautif..... More

Print this item

  Printing string at specific position on terminal - not showing
Posted by: __Mathieu__ - Sep-07-2020, 09:16 AM - Forum: General Coding Help - Replies (1)

Hello,

I am studying Python and currently working on matrix.
I want to print an empty matrix and pointing the position of each matrix element by a..... More

Print this item

  Uploading files to NAS from Raspberry PI using python
Posted by: zazas321 - Sep-07-2020, 09:00 AM - Forum: General Coding Help - No Replies

Hello. We have NAS drive connected to our network.IT administrator allocated me 4GB of space for testing and I have been given ID,password, and the IP..... More

Print this item

  Activate Winodw/ Set focus
Posted by: biprabu - Sep-07-2020, 04:05 AM - Forum: General Coding Help - No Replies

Hi ALL,


Please help me to activate the window so that i will move the mouse to particular are and click

my Code
[python]
Import subprocess
..... More

Print this item

  Pass by object reference when does it behave like pass by value or reference?
Posted by: mczarnek - Sep-06-2020, 07:49 PM - Forum: General Coding Help - Replies (2)

I've read a lot and sort of get it, though it hasn't clicked yet.. could you explain pass by object reference like this:
In what situations does Pyt..... More

Print this item

  Help accessing elements of list of dictionaries
Posted by: Milfredo - Sep-06-2020, 07:41 PM - Forum: General Coding Help - Replies (6)

I have filled a list with dictionaries in the following code. I have watched at least 5 videos looking for the answer. How can I access elements of in..... More

Print this item

  Merging Excel Files
Posted by: JezMim - Sep-06-2020, 07:14 PM - Forum: General Coding Help - Replies (1)

We are new to Python script and need to merge 50+ excel files into one workbook. Have searched for suitable code and have edited to suit our data & f..... More

Print this item

  My while loop won't loop
Posted by: JHem - Sep-06-2020, 05:53 PM - Forum: Homework - Replies (6)

Hello! I'm new to python and I'm trying to solve a homework exercise that covers while-loops but the problem is that my while loop won't loop... **hu..... More

Print this item

  Importing Program Wide
Posted by: JarredAwesome - Sep-06-2020, 05:41 PM - Forum: General Coding Help - Replies (4)

Hey everyone,


I’m new to python for, but I have done a lot of php programming.

One feature I liked in php was include. I know Python has impor..... More

Print this item

  New User online Guide
Posted by: NAP1947 - Sep-06-2020, 03:41 PM - Forum: General Coding Help - Replies (1)

I am very new and just downloaded Python on Windows 10 and would like to follow the Beginners guide included in the site.
Can this be downloaded as a..... More

Print this item

  Changing Download Path for ChromeOptions
Posted by: Zelatrix - Sep-06-2020, 03:13 PM - Forum: Web Scraping & Web Development - No Replies

I am attempting to write a Python script which logs into a site using Selenium, and thendownloads the images from a set of links passed into the scrip..... More

Print this item

  Open for Python project(s)
Posted by: Python_User - Sep-06-2020, 03:02 PM - Forum: General Coding Help - Replies (8)

Dear all,

Hopefully this is the right place to discuss this topic.

I started learning Python at the end of July and feel nowadays step by step m..... More

Print this item

  Python to Oracle Conn Issue
Posted by: chvsnarayana - Sep-06-2020, 01:43 PM - Forum: General Coding Help - Replies (2)

Hi All,

In my Windows 10 64 Bit OS, installed Oracle 10g database of 32 Bit and Python 3.7.9 version of 64 Bit.

When I am trying to connect Orac..... More

Print this item

  Count & Sort occurrences of text in a file
Posted by: oradba4u - Sep-06-2020, 01:03 PM - Forum: General Coding Help - Replies (7)

ALL:
I have an ASCII text file that contains First and Last names of a phone list.
Each full name is on a newline.
I need a new list generated that..... More

Print this item

  [split] ModuleNotFoundError
Posted by: franckgztl - Sep-06-2020, 12:00 PM - Forum: General Coding Help - Replies (1)

Hello,
I own a Rapberry pi.
I installed Visual Studio: Code - OSS (headelted).
My version of Python is 3.7.3 (32 bits).

I have the following er..... More

Print this item

  [split] Creating a variable as a function
Posted by: DPaul - Sep-06-2020, 06:55 AM - Forum: General Coding Help - Replies (23)

Hi,

I knew dict could be used to replace "select... case"... statements, the single biggest thing i missed in Python.
So with the info of post #5,..... More

Print this item

  Tracy the turtle code shortening
Posted by: invaneri - Sep-06-2020, 02:18 AM - Forum: Homework - Replies (1)

Hey guys,
Im new to the python 3 coding
Im taking a course and I'm trying to go ahead and go forward. I went ahead of a few chapters, but now the assi..... More

Print this item

  NONE
Posted by: Danielesteban - Sep-06-2020, 12:30 AM - Forum: General Coding Help - Replies (1)

[python]
def entrada(e):
if e == 1:
aviso(e)
else:
return print(False)

def aviso(e):
return print(True)
..... More

Print this item

  Working on an Auction Site - had questions
Posted by: card51shor - Sep-05-2020, 10:37 PM - Forum: Homework - Replies (24)

Hey guys I'm working on building an auction site for an assignment and I'm having issues with a few things.

The class "User" was set up for me. W..... More

Print this item

  from global space to local space
Posted by: Skaperen - Sep-05-2020, 10:26 PM - Forum: General Coding Help - Replies (4)

in a function i am doing a return of the locals() dictionary. one of the values i want to include in that dictionary is in the global space (let's ca..... More

Print this item

  Creating a variable as a function
Posted by: JarredAwesome - Sep-05-2020, 09:21 PM - Forum: General Coding Help - Replies (4)

In JavaScript there is an ability to make a variable a function.

Does that exists in python?

For example, could I do something like this?

[co..... More

Print this item

  Variables will not plot in subplot
Posted by: emp2341 - Sep-05-2020, 05:21 PM - Forum: Homework - No Replies

The assignment requires us to make two subplots of the same graph with one having a certain x-axis index and the other having a smaller index. I have ..... More

Print this item

  MNE Sample Data
Posted by: Chriso99 - Sep-05-2020, 02:07 PM - Forum: Data Science - Replies (3)

Hey. New to Python. Just installed MNE. Any reason sample data has not downloaded successfully also as part of the library / package? Thanks

Print this item

  get original code after being encoded to UTF-8
Posted by: ashok - Sep-05-2020, 01:44 PM - Forum: General Coding Help - Replies (18)

hello every one,
i have problem, i can't get access to my python code.
when i reopen the editor i found it encode it to UTF-8.
any suggestions ?

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  link variable to exc bloc... 9 hours ago Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... Yesterday, 18:47 stevecoh1 Axel_Erfurt GUI
  best way to learn python Yesterday, 16:13 dutch mamta25 News and Disc...
  Graph Interpolate Difficu... 11-17, 22:27 Tuurbo46 deanhystad General Codin...
  [SOLVED] Access keys and ... 11-17, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... 11-17, 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...
Most views
  The best Prog... 579150
  Tutorial Requ... 511535
  Web Scraping ... 442093
  Newbie with P... 386185
  New Users Int... 378750
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
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
cruisesfares Today
SavingSquirrel199835 Yesterday
Astrobert Yesterday
DataScientist071 Yesterday
aminrony1999 11-17

User Panel Messages

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