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,987
» Latest member: asamulswift9609
» Forum threads: 38,736
» Forum posts: 175,577

Full Statistics

Online Users
There are currently 38 online users.
» 1 Member(s) | 32 Guest(s)
Applebot, Google, AOL, Tycho_2025

Latest Threads
Scwarzcohenlaw Site
Forum: General Coding Help
Last Post: asamulswift9609
25 minutes ago
» Replies: 0
» Views: 3
print does not open conso...
Forum: General Coding Help
Last Post: Tycho_2025
2 hours ago
» Replies: 0
» Views: 20
Fred Economic Data API
Forum: Web Scraping & Web Development
Last Post: Trickety
3 hours ago
» Replies: 3
» Views: 2,518
create ocr to detect lice...
Forum: General Coding Help
Last Post: noisefloor
4 hours ago
» Replies: 2
» Views: 67
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: noisefloor
4 hours ago
» Replies: 6
» Views: 179
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Yesterday, 03:05 AM
» Replies: 4
» Views: 2,040
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 455
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Sep-30-2025, 12:21 AM
» Replies: 2
» Views: 1,085
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,153
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 836

 
  Multiple Line Input
Posted by: helenaxoxo - Dec-01-2019, 09:15 PM - Forum: General Coding Help - Replies (4)

Hello, I need a python program that asks the user to enter any number of lines with each line containing 5 natural numbers separated by a space. The z..... More

Print this item

  Defining parent Class in Python 2.7.11
Posted by: sarah - Dec-01-2019, 05:24 PM - Forum: General Coding Help - Replies (2)

Hi everybody,
I am new to programming, I have networking back ground.
These days I am learning OOP.
I noticed following:
I can define parent class..... More

Print this item

  How to build linear regression by implementing Gradient Descent using only linear alg
Posted by: PythonSpeaker - Dec-01-2019, 04:39 PM - Forum: Data Science - Replies (1)

I'm studying this dataset: https://archive.ics.uci.edu/ml/datasets/...ower+Plant
These are the features:
- AT: Ambiant Temperature
-..... More

Print this item

  Error messages when installing Python 3.7
Posted by: pgielen - Dec-01-2019, 01:57 PM - Forum: News and Discussions - Replies (3)

When installing Python 3.7 on Raspbian, during the make phase I get several messages related to string functions, similar to this one:

/home/pi/Py..... More

Print this item

  generate random variables based on a non-standard t-distribution
Posted by: nathalie - Dec-01-2019, 01:47 PM - Forum: General Coding Help - Replies (4)

Hello all,


does anyone know how to generate random variables based on a non-standard t-distribution?
np.random only accepts the standard t dist..... More

Print this item

  Generating numbers
Posted by: darktitan - Dec-01-2019, 09:33 AM - Forum: General Coding Help - Replies (3)

Hi
Im trying to generate number sequence who i want to look like this.

Quote:7-1-1234
8-2
9-3
10-4
11-5
12-6
13-7-1234

But ..... More

Print this item

  problem using exec to save local variables
Posted by: dkarl - Dec-01-2019, 08:52 AM - Forum: General Coding Help - No Replies

Hi everyone.
i'm trying to use the exec() function to be able to save variables defined between two editor lines in such a way:
[python]
###
exec..... More

Print this item

  I am getting an Error, and not sure why? My goal is to print out
Posted by: rahulne22 - Dec-01-2019, 08:44 AM - Forum: General Coding Help - Replies (7)

Hi,

I want to call variable inside request.set_UserName(i)
but it is not happening.

[python]
with open('file6.txt')as inf: --> i have list o..... More

Print this item

  PyQt trigger leaveEvent in parent
Posted by: kainev - Dec-01-2019, 08:15 AM - Forum: GUI - Replies (5)

Hi,

I'm working on a project where I need to change the painting of a widget when the mouse is hovering over it. The issue I'm having is I can't ge..... More

Print this item

  my new adt, what should i name it
Posted by: Skaperen - Dec-01-2019, 06:24 AM - Forum: News and Discussions - Replies (4)

i'm making a new abstract data type. it might exist, already. it is a list that expands as items are stored to it. if the location already exists, ..... More

Print this item

  copying parts of mutable sequences
Posted by: Skaperen - Dec-01-2019, 04:37 AM - Forum: General Coding Help - Replies (1)

i would like to copy items from one sequence to another (to mutable), of like type, from and to specific positions until a point to stop such as a spe..... More

Print this item

  function/method keyword argument alias
Posted by: Skaperen - Dec-01-2019, 02:52 AM - Forum: News and Discussions - Replies (1)

is there a way to handle function/method keyword aliasing other than using **kwargs and coding the logic to handle it? for example i..... More

Print this item

  Employee task manager and progress pipeline
Posted by: KM_Hypnos - Nov-30-2019, 08:47 PM - Forum: Homework - Replies (2)

Hello Community.

I've just ended with the basics of coding and OOP for Python. I would like to create a very basic web app that has an interface fo..... More

Print this item

  Loops maybe
Posted by: gray1306 - Nov-30-2019, 08:41 PM - Forum: Homework - Replies (4)

I'm a beginner and I'm struggling with the following task:

Write a program that will add up the cost of several items. The program should as..... More

Print this item

  No email notifications
Posted by: tonycstech - Nov-30-2019, 08:00 PM - Forum: Board - Replies (8)

I am not getting any notifications from here when someone replies to a topic i post.
I was checking the box with receiving emails but all i get is pr..... More

Print this item

  'Get closest value array in array of arrays.' follow up help.
Posted by: DreamingInsanity - Nov-30-2019, 07:59 PM - Forum: General Coding Help - Replies (10)

I created a post a little while back where I needed a function [..... More

Print this item

  Substring in a string
Posted by: Propoganda - Nov-30-2019, 07:05 PM - Forum: Homework - Replies (1)

I need to create a function that counts all the occurrences of a substring in a string and then sort
a dictionary that includes these three features ..... More

Print this item

  SCIKIT learn failure in mac
Posted by: Perja11 - Nov-30-2019, 05:58 PM - Forum: General Coding Help - Replies (1)

Hello

While installing SCIKIT-LEARN on MAC it failed

Could someone please help on what i need to be looking.

Jags-MacBook-Air:~ jag$ pip3 ins..... More

Print this item

  python3 decoding problem but python2 OK
Posted by: mesbah - Nov-30-2019, 04:42 PM - Forum: General Coding Help - No Replies

Hello,
I am facing a problem while decoding unicode urlencoded data in python3 but in python 2 working fine.My Python2 and
Python3 code with output ..... More

Print this item

  Crawler Telegram
Posted by: sysx90 - Nov-30-2019, 04:32 PM - Forum: Web Scraping & Web Development - No Replies

Hi,

I'm new to python and need help ..

I need to assign a value to each channel
Example:

?Xᴘʟᴏɪᴛ-Wɪᴢᴇʀ? 0
?Xᴘʟᴏɪᴛ-Wɪᴢᴇʀ_Group? 10
ÐᗩᖇḰᘉᕮƬ..... More

Print this item

  what does code mean (python)
Posted by: sveto4ka - Nov-30-2019, 02:05 PM - Forum: General Coding Help - No Replies

Can you tell me, what does part of code mean?[python]def forward(self, x):
batch_size,C,H,W = x.shape

x = self.encode[0](x) ; e0=..... More

Print this item

  Unable fetch fucntion data in class in tkinter
Posted by: jenkins43 - Nov-30-2019, 01:33 PM - Forum: GUI - Replies (2)

I am trying to fetch the data from text variable and image data in a function name loopCap and display it in __init__ function where I h..... More

Print this item

  Need help in understanding this particular Traceback TypeError
Posted by: d8nnii - Nov-30-2019, 11:45 AM - Forum: General Coding Help - Replies (2)

Hi guys, this is my first post and my apologies in advance if I missed out something.

I'm learning about Python and doing web scraping with regex t..... More

Print this item

  MySql - Loop - CHeck File
Posted by: gcclinux - Nov-30-2019, 11:42 AM - Forum: General Coding Help - Replies (1)

I am new to python and find it frustrating as python does not seem to conform to any low-level language :-)

I have the following code that woks:
..... More

Print this item

  upload image with generated code from Postman does not work
Posted by: magic7598 - Nov-30-2019, 10:32 AM - Forum: General Coding Help - No Replies

I'm trying to upload an image and set it to profiles of my teammates in some system. I managed to perform this request and upload the images successfu..... More

Print this item

  Advent of Code 2019
Posted by: ThomasL - Nov-30-2019, 10:24 AM - Forum: News and Discussions - Replies (9)

Hi everybody! In case you did not know about Advent of Code yet:

[quote]Advent of Code is an Advent calendar o..... More

Print this item

  We all need Mentorship. . .
Posted by: Davy_Jones_XIV - Nov-30-2019, 09:44 AM - Forum: News and Discussions - Replies (3)

Hello All,

I am creating this thread to see if there is anyone on the forums that dibble in mentorship for individuals training to learn Python.
..... More

Print this item

  Global Variables - Some Points Needing Clarification.
Posted by: adt - Nov-30-2019, 05:27 AM - Forum: General Coding Help - Replies (4)

[font=Times New Roman, Times, serif]Note: This is in context of a self contained module, having some functions which are not meant to be called by any..... More

Print this item

  text editors with Python
Posted by: Skaperen - Nov-30-2019, 01:54 AM - Forum: News and Discussions - Replies (4)

are there any text editors (especially if written in Python) around that use Python (or something like Python) as a macro programming language?

Print this item

  Why duplicate a variable??
Posted by: Morgaccio - Nov-29-2019, 10:14 PM - Forum: General Coding Help - Replies (2)

Hi, everybody.

Why do I have to duplicate the variable 'k' in the code below?
I tried NOT doing it, but the counter doesn't work properly unless I..... More

Print this item

  .py to exe error "oserror winerror 193"
Posted by: michael1789 - Nov-29-2019, 08:29 PM - Forum: General Coding Help - Replies (3)

My search show that this is a common error when trying pyinstaller.

Error:
oserror winerror 193 1 is not a valid win32 application
S..... More

Print this item

  Django
Posted by: menator01 - Nov-29-2019, 07:52 PM - Forum: Web Scraping & Web Development - Replies (3)

I've been playing around with django a little. I've got everything working up to my progress point but, I've seem to hit a snag.
When landing on the ..... More

Print this item

  Pandas resample problem
Posted by: mcva - Nov-29-2019, 04:21 PM - Forum: Homework - No Replies

Thank you for your help.
I have a time series dataframe with hourly data distributed over a 20 years period (N = 175297):

Data A ..... More

Print this item

  Dictionary and tuples list comprehensions help
Posted by: paul41 - Nov-29-2019, 04:17 PM - Forum: General Coding Help - Replies (2)

Hi I have a dictionary with keys and values and I am wanting to convert these into a list of tuples.

Dictionary = {'(A,B):1,'(C,D)':2}

Note that..... More

Print this item

  cant figure this out
Posted by: louiecooper - Nov-29-2019, 11:56 AM - Forum: General Coding Help - Replies (1)

[python]x = input("do you have an account yes or no?")
if x != ("yes"):
quit()
else:
x = input("what is your username")
y = input("wha..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Scwarzcohenlaw Site 25 minutes ago asamulswift9609 asamulswift9609 General Codin...
  print does not open conso... 2 hours ago Tycho_2025 Tycho_2025 General Codin...
  Fred Economic Data API 3 hours ago warrior42 Trickety Web Scraping ...
  create ocr to detect lice... 4 hours ago bimosora noisefloor General Codin...
  Parse Markdown / get the ... 4 hours ago SpongeB0B noisefloor General Codin...
  Error: cannot mix str wit... Yesterday, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... 09-30, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... 09-30, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 09-29, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... 09-29, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
Most views
  The best Prog... 577464
  Tutorial Requ... 501213
  Web Scraping ... 441087
  Newbie with P... 385158
  New Users Int... 369814
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+ 12092
buran 8178
snippsat 7371
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
asamulswift9609 Today
Tycho_2025 Today
chikkamagalur Today
Costa Today
bimosora Today

User Panel Messages

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