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,298
» Latest member: Divyakrishnan071
» Forum threads: 38,795
» Forum posts: 175,888

Full Statistics

Online Users
There are currently 43 online users.
» 0 Member(s) | 40 Guest(s)
Bing, Google, AOL

Latest Threads
My regex function is not ...
Forum: General Coding Help
Last Post: bowlofred
2 hours ago
» Replies: 2
» Views: 92
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
3 hours ago
» Replies: 6
» Views: 3,175
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 11:51 AM
» Replies: 1
» Views: 66
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Yesterday, 02:50 AM
» Replies: 6
» Views: 237
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 125
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 89
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,521
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 171
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 80
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,145

 
  Chat (Client-Server)
Posted by: andresdrr - Aug-26-2019, 12:52 AM - Forum: Networking - Replies (3)

Hi guys. I have the following code (in Python 3.7.3):

[python]##############################################################..... More

Print this item

  function vs argument
Posted by: millpond - Aug-26-2019, 12:01 AM - Forum: Homework - Replies (2)

I am trying to wrap my head around a piece of code from a text. Its a prelude to decorators, and apparently crucial to an understanding of them. But t..... More

Print this item

  python command (2 and 3) ignores extra -c arguments
Posted by: Skaperen - Aug-25-2019, 10:35 PM - Forum: News and Discussions - Replies (4)

both the python3 and python2 commands (at least in Ubuntu 18.04) takes (or ignores) an extra -c argument and only executes the first one. it should g..... More

Print this item

  print a list strings is fast but printing the joined strings is slow
Posted by: Skaperen - Aug-25-2019, 10:23 PM - Forum: News and Discussions - Replies (9)

i did the following:

Output:
>>> a=['01'[len(repr(chr(x)))==3] for x in range(1114112)] >>> b=''.join(a)
then i did [inline]print(a)[/inli..... More

Print this item

  Calculate using Python
Posted by: HoustonM11 - Aug-25-2019, 08:27 PM - Forum: Homework - Replies (2)

Hey guys, I just started my first python course and I'm having a bit of trouble figuring out this calculation. I assume its pretty simple but we didn'..... More

Print this item

  What shall I do with python
Posted by: Vqlk - Aug-25-2019, 06:41 PM - Forum: General Coding Help - Replies (1)

Alright, so I have just hit my teens and love python. I love coding. I have done basic text apps using pycharm editor and just using text. I now all t..... More

Print this item

  Python 3 crash course
Posted by: james_newbie - Aug-25-2019, 05:40 PM - Forum: General Coding Help - Replies (6)

i have made this code

[python]first_name = "ada"
last_name = "lovelace"
full_name = f"{first_name} {last_name}"
print(f"Hello, {full_name.title..... More

Print this item

  Spyder/Anaconda can't import objects from Vpython module
Posted by: AntonRuscov - Aug-25-2019, 05:20 PM - Forum: Data Science - No Replies

Does anyone know how to deal with not being able to call VPython objects from the module?
I am trying to learn how to use VPython to produce 3D grpah..... More

Print this item

  Humble Bundle 14 Python ebooks for 15$
Posted by: ThomasL - Aug-25-2019, 05:17 PM - Forum: News and Discussions - No Replies

Please have a look here https://www.humblebundle.com/books/python-programmi[url=https://python-forum.io/thread-20685.html]..... More

Print this item

  How to change working directory in Jupyter Notebook?
Posted by: rajeev1729 - Aug-25-2019, 05:11 PM - Forum: Data Science - Replies (2)

How to change working directory in Jupyter Notebook?
tried these all but not work.

Open cmd prompt (or Anaconda Prompt), then type 'jupyter no..... More

Print this item

  Is it possible to have an index (e.g., for a list) start at 1 instead of 0?
Posted by: Exsul - Aug-25-2019, 04:36 PM - Forum: News and Discussions - Replies (4)

Is it possible to have an index (e.g., for a list) start at 1 instead of 0?

Print this item

  Random Python Feature
Posted by: ichabod801 - Aug-25-2019, 02:50 PM - Forum: News and Discussions - Replies (1)

I'm working on an interface where the user selects functions. But some of those functions are meta-functions that create the function you want. But th..... More

Print this item

  Formula works for one row does not for two
Posted by: Prometheus - Aug-25-2019, 02:37 PM - Forum: Data Science - Replies (4)

Hi

Trying to extract the core of the problem, I have found that a formula works for one row only, if another row is added, an error shows:
cannot con..... More

Print this item

  Code scrape more than one time information
Posted by: Clnprof - Aug-25-2019, 12:57 PM - Forum: General Coding Help - Replies (5)

I'm beginner in python and webscraping. My objectif was to scrape 30 reviews from a tripadvisor restaurant. But when I open the file I have 301 review..... More

Print this item

  String + Number from List
Posted by: BollerwagenIng - Aug-25-2019, 10:38 AM - Forum: General Coding Help - Replies (5)

I have a string and a list with numbers.

myString = ("go ")

myList = [1, 2, 3, 4]
And I want that output:
[output]
go 1
..... More

Print this item

  Recognize text from number plate
Posted by: Sheheryar - Aug-25-2019, 10:00 AM - Forum: Data Science - Replies (4)

Hello, I am beginner in python development and data sciences and i am doing project of recognize number plate i have been trained own tensorflow model..... More

Print this item

  Checking number in a list to see if they are beside each other
Posted by: Allaye - Aug-25-2019, 09:33 AM - Forum: General Coding Help - Replies (5)

[python]List1 =[2,3,4,9,9,5,1]
def checkList(List1):
for i in range(len(List1 - 1)):

if List1[i] == 9 and List1[i+1] == 9:
..... More

Print this item

  Problem with arguments in route function.
Posted by: darktitan - Aug-25-2019, 09:00 AM - Forum: Web Scraping & Web Development - Replies (2)

I need to have two arguments in my search_results2 function but it keeps saying missing 1 required positional argument. I have no idea what to do with..... More

Print this item

  Problem using input in Dictionary.. Help
Posted by: roseojha - Aug-25-2019, 08:15 AM - Forum: General Coding Help - Replies (1)

Hey.. I am trying to calculate protein weight using dictionary where weight is given for each amino acid
As and input I am giving = AALI which should..... More

Print this item

Sad [Learning] 3 hours for one simple exercise
Posted by: KoFu - Aug-25-2019, 02:01 AM - Forum: Homework - Replies (7)

Hi there, I'm currently working as an Analysts of a System of a bank, so I don't program there but I know a little bit (barely to get in).
I started ..... More

Print this item

  Basic Time Complexity Help
Posted by: Adakip - Aug-25-2019, 12:28 AM - Forum: General Coding Help - Replies (1)

Hello Everyone,

This is my first post so if do manage to do something incorrectly please let me know. The question i have is regarding time complex..... More

Print this item

  how do i get y to be recognized in this comprehension?
Posted by: Skaperen - Aug-24-2019, 11:15 PM - Forum: General Coding Help - Replies (5)

how do i get y to be recognized in this comprehension?

[output]Python 3.6.8 (default, Jan 14 2019, 11:02:34)
[GCC 8.0.1 20180414 (experimental) [..... More

Print this item

  parenthesis around a tuple of literals in a for
Posted by: Skaperen - Aug-24-2019, 11:02 PM - Forum: General Coding Help - Replies (2)

is parenthesis required around a tuple of literals in a for?

i'm running into this:

[output]>>> for x in 1,2,3:
... print(x)
...
1
2
3
..... More

Print this item

  t_games v0.47.0a1
Posted by: ichabod801 - Aug-24-2019, 10:52 PM - Forum: Code sharing - No Replies

I made a new release for my t_games project (..... More

Print this item

  Importing/loading a library file (.so)
Posted by: tomasby - Aug-24-2019, 08:11 PM - Forum: General Coding Help - No Replies

I have a Python extension library, written in C (name.so with PyInit_name entry point).

How do I load this file in Python? Preferably from the curren..... More

Print this item

  i need a module for more involved command line parsing
Posted by: Skaperen - Aug-24-2019, 07:16 PM - Forum: News and Discussions - Replies (21)

i am wanting to rewrite this C program into Python3. any suggestions for a module that can handle this kind of command line argument parsing?
[outpu..... More

Print this item

  Importing Custom Modules in Python 3
Posted by: Flexico - Aug-24-2019, 06:12 PM - Forum: General Coding Help - Replies (1)

I'm working on updating my scripts from Python 2 to 3, and I'm running into trouble with importing my custom modules. My __init__.py works fine when I..... More

Print this item

  effective means to flip boolean values?
Posted by: Exsul - Aug-24-2019, 05:24 PM - Forum: General Coding Help - Replies (3)

Is there a method or something to easily flip a Boolean value from False to True or vice versa?

Print this item

  [Turtle]How to make smooth moving and add gravity?
Posted by: ZakHacks - Aug-24-2019, 01:25 PM - Forum: Game Development - Replies (2)

[font=Arial, Helvetica, sans-serif]Hello, I am new to python coding and I figured this would be a good place to start. I am currently making a Python ..... More

Print this item

  How can i simplify this code
Posted by: Jezani_VIII - Aug-24-2019, 01:18 PM - Forum: General Coding Help - Replies (4)

[python]shoplist = [" blueberries", " rasberries"," apples", " soda", " diet coke", " coffee beans"]
indicator = int(input(" Which of the shopping li..... More

Print this item

  Can't Get Random Module! Pls Help!
Posted by: VictorVictus - Aug-24-2019, 09:52 AM - Forum: General Coding Help - Replies (1)

Hello, everyone, i'm stuck with a problem. For one of my Discord bots, I need to use the random module for a command (pretty simple stuff).
Thing is,..... More

Print this item

  Help Making A Toggle GUI
Posted by: TheBabaYaga202 - Aug-24-2019, 06:53 AM - Forum: GUI - Replies (7)

How would I make a Gui when a button is pressed it displays a message 'On' with a green background and when pressed again displays a message 'Off' wit..... More

Print this item

  got some problem with flask signup form.
Posted by: darktitan - Aug-24-2019, 04:25 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi
I just made a login och signup forms for my webapp its nothing advanced. I got the login to work and connect to the database but i cant get the sig..... More

Print this item

  Part of code is adding extra new line when saving to text file.
Posted by: lovepeace - Aug-23-2019, 11:43 PM - Forum: GUI - Replies (9)

new to python 3 so bare with me lol
I can't for the life of me figure out whats going wrong.
the problem is when i use "set goal" it adds a blank line..... More

Print this item

  Fast get pixel and oparate.
Posted by: storzo - Aug-23-2019, 09:05 PM - Forum: General Coding Help - Replies (7)

Hi!
I make some program to recognize pixel i few position. I try pyguiauto & PIL.
Programing with pyautogui was problematic when after 3/4min slowdow..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My regex function is not ... 2 hours ago Moltar1997 bowlofred General Codin...
  best way to learn python 3 hours ago dutch ichsanputr News and Disc...
  silent deployment Python ... Yesterday, 11:51 Bummibaer Larz60+ News and Disc...
  data fetching for indian ... Yesterday, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
Most views
  The best Prog... 579354
  Tutorial Requ... 512302
  Web Scraping ... 442275
  Newbie with P... 386329
  New Users Int... 380145
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+ 12110
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Divyakrishnan071 Today
ichsanputr Today
nicos18 Yesterday
Moltar1997 Yesterday
arthurlouiss Yesterday

User Panel Messages

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