-
المساهمات
123 -
تاريخ الانضمام
-
تاريخ آخر زيارة
المعلومات الشخصية
-
النبذة الشخصية
My journey as a Python developer has evolved over time, fueled by a growing interest in software development and a passion for problem-solving.
- الموقع
آخر الزوار
1899 زيارة للملف الشخصي
إنجازات Mohamed Farahat
عضو نشيط (3/3)
115
السمعة بالموقع
-
مرحبا, I've just completed this project, and I would love to hear your honest opinions and any suggestions for further improvement. Thank you git clone : https://github.com/Hamadabcn/Automated_teller_machine.git Automated_teller_machine.rar I may have changed the PIN during testing, so if the default '1234' doesn't work, try '1981'. I've been switching it to ensure everything functions properly Notice how when you quit and reopen the program, all the transaction history is saved, and you can view it by simply pressing 'Show History'
-
- 1
-
مرحبا, ما رأيكم في اللعبة و كيف يمكن تحسينها؟ you need pygame: pip install pygame and to run the game py main.py my_number_guess.rar
- 1 جواب
-
- 1
-
Hello, did you get to play the game pip install pygame python main.py try it and tell me what do you think If pip install python does not work try: py -m pip install pygame then py main.py
- 7 اجابة
-
- 1
-
git clone https://github.com/Hamadabcn/2048.git Navigate to the project directory: cd 2048 Run the game: py main.py How to Play Use the arrow keys to move the tiles. When two tiles with the same number touch, they merge into one. The goal is to create a tile with the number 2048. git clone https://github.com/Hamadabcn/2048_game Navigate to the project directory: cd 2048 Run the game: py main.py How to Play Use the arrow keys to move the tiles. When two tiles with the same number touch, they merge into one. The goal is to create a tile with the number 2048. download the game pip install pygame then in your terminal write py main.py and the game will start, then use the arrows the join the numbers and if your are lucky you will get 2048 and you will win the game
-
I have added sound effects to the game but I cannot figure out where the problem is in the logic, thank you 2048.rar
-
Mohamed Farahat بدأ بمتابعة عمر قره محمد
-
أصدقائي، ما رأيكم في هذه اللعبة وكيف يمكن تحسينها بشكل أفضل؟ شكرًا لكم 2048.rar
- 7 اجابة
-
- 3
-
Mohamed Farahat بدأ بمتابعة Roger Iraq
-
Mohamed Farahat بدأ بمتابعة سليمان منيف
-
Mohamed Farahat بدأ بمتابعة محمود سعداوي2
-
محمد عبد العزيز3 بدأ بمتابعة Mohamed Farahat
-
Mohamed Farahat بدأ بمتابعة محمد عبد العزيز3
-
مرحبًا فريق أكاديمية حسوب، أود أن أعبر عن خالص شكري وامتناني لكم جميعًا على الدعم الكبير والتفاني الذي أظهرتموه خلال دورة تطوير التطبيقات باستخدام Python. كانت تجربة التعلم رائعة ومثمرة بفضلكم. لقد استفدت كثيرًا من الدورة، وتقدمت بشكل ملحوظ بفضل التوجيهات والنصائح التي كنتم تقدمونها باستمرار. كنتم دائمًا موجودين لمساعدتي وحل المشاكل التي واجهتها، وهذا كان له تأثير كبير على تقدمي وتحقيقي لهذه الشهادة. أشكر كل فرد من فريق أكاديمية حسوب على المجهودات الكبيرة والتفاني في العمل لضمان حصولنا على تجربة تعليمية ممتازة. تعاملكم اللطيف والدعم المستمر كانا محل تقدير كبير لدي. أتطلع لمواصلة التعلم والتطوير، وأرجو لكم جميعًا كل التوفيق والنجاح في مسيرتكم. تحياتي وتقديري، محمد فرحات
-
- 4
-
Mohamed Farahat بدأ بمتابعة عبد اللطيف ايمش2
-
django_store.rar
- 4 اجابة
-
- 1
-
Mohamed Farahat بدأ بمتابعة محمد عاطف17
-
{% extends 'base.html' %} {% load i18n my_filter %} {% block content %} {% include 'common/page_title.html' with title=_('Checkout') %} <div class="container my-5"> <div class="row bd-highlight"> <div class="col-md-12"> <div class="alert alert-success py-3"> <h3 class=" text-center"> {% trans 'Amount to pay' %} </h3> <h3 class=" text-center"> {{ cart_total|currency }} </h3> </div> </div> <div class="col-12"> <h4 class="my-3"> {% trans 'Your information' %} </h4> <div class="card"> <div class="card-body"> <form id="form-user-info"> {% csrf_token %} <div class="row"> <div class="col-md-6"> <div class="mb-3"> <label for="firstNameInput" class="form-label">{% trans 'First Name' %}</label> <input type="text" class="form-control" id="firstNameInput" name="first_name" required> </div> </div> <div class="col-md-6"> <div class="mb-3"> <label for="lastNameInput" class="form-label">{% trans 'Last Name' %}</label> <input type="text" class="form-control" id="lastNameInput" name="last_name" required> </div> </div> </div> <div class="mb-3"> <label for="emailInput" class="form-label">{% trans 'Email' %}</label> <input type="email" class="form-control" id="emailInput" name="email" required> </div> </form> </div> </div> <h4 class="my-3"> {% trans 'Payment Method' %} </h4> <div class="row"> <div class="col-md-6"> <div class="card" role="button" onclick="createPaypalSession()"> <div class="card-body text-center"> <p> {% trans 'Paypal' %} </p> <i class="lni lni-paypal-original fs-1"></i> </div> </div> </div> <div class="col-md-6"> <div class="card" role="button" onclick="createStripeSession()"> <div class="card-body text-center"> <p> {% trans 'Credit Card' %} </p> <i class="lni lni-credit-cards fs-1"></i> </div> </div> </div> <div class="col-md-12"> <div id="payment-form-container"> <div id="stripe-card" class="card my-3 p-3" style="display: none"> <form id="payment-form"> <div id="payment-element"> </div> <button id="stripe-submit" class="btn btn-primary mt-3"> {% trans 'Pay Now' %} </button> </form> </div> </div> <div id="paypal-card" class="card my-3 p-3" style="display: none"> </div> </div> </div> </div> </div> </div> {% endblock %}
- 4 اجابة
-
- 1
-
مرحبا, I have a small problem in my urls can you please help from django.contrib import admin from django.urls import path, include from django.conf import settings from django.conf.urls.static import static from django.conf.urls.i18n import i18n_patterns # Base URL patterns urlpatterns = [ path('i18n/', include('django.conf.urls.i18n')), # Language switching ] # Internationalized patterns with i18n_patterns urlpatterns += i18n_patterns( path('admin/', admin.site.urls), # Admin URLs path('checkout/', include('checkout.urls')), # Checkout URLs path('blog/', include('blog.urls', namespace='blog')), # Blog URLs path('', include('store.urls')), # Store URLs prefix_default_language=True, # Disable prefix for default language ) # Serve media files during development if settings.DEBUG: urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) if this is True prefix_default_language=True then stripe does not accept payments and when its false then it accepts payments but the page loads without a language prefix and it does not load right I need the page to load with http://127.0.0.1:8000/en/ and not http://127.0.0.1:8000/ I have checked everything the settings file and still, thank you
- 4 اجابة
-
- 1
-
Mohamed Farahat بدأ بمتابعة Mustafa Mahmoud7
-
Mohamed Farahat بدأ بمتابعة Kais Hasan
-
Just got it thank you {% load static %} {% load i18n %} <!DOCTYPE html> <html lang="en" class="h-100" dir=""> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>{% trans 'App Name' %}</title> <script defer src="{% static 'js/819.2ec26ef5.js' %}"></script> <script defer src="{% static 'js/app.0c66f515.js' %}"></script> <link href="{% static 'css/819.css' %}" rel="stylesheet"> <link href="{% static 'css/app.css' %}" rel="stylesheet"> <script src="https://js.stripe.com/v3/"></script> <!-- Add style for blog link --> <style> /* Style for the blog link */ header a.blog-link { font-size: 1.5rem; /* Larger font size */ color: #4CAF50; /* Green color */ font-weight: bold; /* Bold text */ text-decoration: none; /* Remove underline */ margin-right: 20px; /* Adjust spacing if needed */ } </style> </head> <body class="d-flex flex-column h-100 bg-light"> <!-- Header --> <header> <a href="{% url 'blog:blog_home' %}" class="blog-link">{% trans 'Blog' %}</a> </header> <main> {% block content %} {% endblock %} </main> <!-- Footer --> {% include 'partials/footer.html' %} <!-- Scripts --> <script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script> <script src="{% static 'js/main.js' %}"></script> <script src="{% static 'js/stripe.js' %}"></script> </body> </html>
-
السلام عليكم how can I add a link to the blog page in the main page thank you django_store.rar
- 3 اجابة
-
- 1
-
Data types such as images and text can be used in machine learning without necessarily relying on deep learning. However, the choice depends on the tasks at hand and the complexity of the data. Deep learning, a subset of machine learning, is often more effective in processing images and text due to its ability to extract complex patterns. Deep Learning: More effective for handling complex images and text but requires significant computational resources. Traditional Machine Learning: Can be used with simpler images and text or when clear features can be manually extracted or processed using conventional data processing techniques.
- 3 اجابة
-
- 1
-
Efficiency and Productivity: Python is designed to be easy to read and write, which increases programmers' productivity and allows them to complete projects faster. This ease allows programmers to focus on solving problems rather than getting bogged down in the intricacies of the language. Libraries and Frameworks: Python provides a vast array of libraries and frameworks that cover a wide range of applications, from machine learning and artificial intelligence to web development and data analysis. Using these libraries can help programmers achieve advanced results more quickly without having to reinvent the wheel. Language Strength: Python is powerful enough to handle large and complex projects. Major companies like Google, Facebook, and Netflix use it for their critical projects. Versatility and Multiple Applications: Python is used in a wide range of fields, including web development, data analysis, machine learning, automation, and more. This versatility gives programmers a lot of flexibility in choosing projects and specializations. Community and Support: Python has a large and active community of programmers, which means there are plenty of resources and support available for programmers, whether they are beginners or professionals. In contrast, languages like C and C++ offer certain advantages such as high performance and complete control over memory, which can be necessary for some applications like embedded systems or game development. However, learning and using these languages require more effort and a deeper understanding of technical details. Ultimately, strength and weakness are not determined solely by the language used but by how it is used. A good programmer is someone who knows how to choose the right tool for the task and uses it efficiently to achieve their goals.
- 6 اجابة
-
- 1